/* ============================================================
   Winners Group of Companies — shared stylesheet
   One system, themed per company through CSS variables on <body>.
   ============================================================ */

:root {
  --ink: #15181c;
  --steel: #3a4149;
  --slate: #6b7480;
  --line: #d9dde2;
  --concrete: #eef0f2;
  --white: #ffffff;
  --amber: #f0a52c;

  /* Theme defaults (overridden per company below) */
  --accent: #c62f2b;
  --accent-deep: #8e1f1d;
  --accent-2: #f0a52c;   /* secondary / highlight on dark */
  --accent-soft: #fbeaea;

  --display: "Barlow Condensed", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --body: "Barlow", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --max: 1180px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 6px;
}

/* --- Company themes -------------------------------------------- */
body.theme-nges     { --accent: #c8272c; --accent-deep: #8c1a1e; --accent-2: #f2c02e; --accent-soft: #fbeaea; }
body.theme-group    { --accent: #15181c; --accent-deep: #000000; --accent-2: #c9a227; --accent-soft: #e8e9eb; }
body.theme-recon    { --accent: #c62f2b; --accent-deep: #8e1f1d; --accent-2: #f0a52c; --accent-soft: #fbeaea; }
body.theme-tyre     { --accent: #b4262a; --accent-deep: #1a1f24; --accent-2: #cfd5dc; --accent-soft: #f1f2f4; }
body.theme-showroom { --accent: #2c6e73; --accent-deep: #1c4a4e; --accent-2: #d9b382; --accent-soft: #e6f0f0; }
body.theme-property { --accent: #2f5d8a; --accent-deep: #1e3f5f; --accent-2: #8fb339; --accent-soft: #e6edf4; }
body.theme-wood     { --accent: #7a4b2a; --accent-deep: #4f2f19; --accent-2: #d9b382; --accent-soft: #f3ece6; }

/* --- Base --------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--steel); background: var(--concrete); }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--display); color: var(--ink); line-height: 1.02; margin: 0; letter-spacing: 0; }
h1 { font-size: 4.35rem; font-weight: 700; }
h2 { font-size: 2.75rem; font-weight: 700; }
h3 { font-size: 1.45rem; font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--amber); color: var(--ink); padding: 10px 14px; font-weight: 600; z-index: 100; }
.skip:focus { left: 8px; }
[hidden] { display: none !important; }
.muted { color: var(--slate); }
.lead { font-size: 1.12rem; max-width: 60ch; }

/* --- Buttons ------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--display); font-weight: 700; font-size: 1.15rem; letter-spacing: 0;
  padding: 13px 22px; border-radius: var(--radius); text-decoration: none; border: 2px solid transparent;
  cursor: pointer; line-height: 1; white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-accent { background: var(--accent); color: var(--white); border-color: var(--accent); }
.btn-accent:hover { background: var(--accent-deep); border-color: var(--accent-deep); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,0.55); }
.btn-ghost:hover { border-color: var(--white); }
.btn-ink { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-ink:hover { background: #000; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--white); }
.btn-sm { font-size: 1.05rem; padding: 11px 16px; }
body.theme-group .btn-accent { background: var(--accent-2); border-color: var(--accent-2); color: var(--ink); }
body.theme-group .btn-accent:hover { background: #b08d1f; border-color: #b08d1f; }

/* --- Top bar + header -------------------------------------------- */
.topbar { background: var(--ink); color: #c9ced4; font-size: 0.86rem; }
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 26px; align-items: center; min-height: 38px; }
.topbar a { color: #e6e9ec; text-decoration: none; display: inline-flex; align-items: center; gap: 7px; }
.topbar a:hover { color: var(--amber); }
.topbar svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.topbar .hours { margin-left: auto; color: var(--amber); font-weight: 500; }

.header { position: sticky; top: 0; z-index: 50; background: var(--white); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 22px; min-height: 84px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 56px; width: auto; max-width: 150px; border-radius: 6px; object-fit: contain; }
.brand span { font-family: var(--display); font-weight: 700; font-size: 1.45rem; color: var(--ink); line-height: 1; }
.brand small { display: block; font-family: var(--body); font-weight: 500; font-size: 0.74rem; color: var(--slate); margin-top: 4px; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav > a, .group-btn {
  font-family: var(--body); font-weight: 600; font-size: 0.98rem; color: var(--ink); text-decoration: none;
  padding: 10px 12px; border-radius: var(--radius); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
}
.nav > a:hover, .group-btn:hover { background: var(--concrete); }
.nav > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--accent); border-radius: 0; }
.group { position: relative; }
.group-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.4; }
.group-menu {
  position: absolute; right: 0; top: calc(100% + 8px); width: 310px; background: var(--white); border: 1px solid var(--line);
  border-radius: 8px; box-shadow: 0 18px 40px rgba(21,24,28,0.16); padding: 8px; display: none; z-index: 60;
}
.group-menu::before { content: ""; position: absolute; right: 30px; top: -7px; width: 12px; height: 12px; background: var(--white); border-left: 1px solid var(--line); border-top: 1px solid var(--line); transform: rotate(45deg); }
.group.open .group-menu { display: block; }
.group-menu a { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; }
.group-menu a:hover { background: var(--concrete); }
.group-menu strong { display: block; color: var(--ink); font-weight: 600; }
.group-menu span { display: block; font-size: 0.84rem; color: var(--slate); }
.nav .btn { margin-left: 10px; font-size: 1.05rem; padding: 11px 16px; }
.burger { display: none; margin-left: auto; background: none; border: 2px solid var(--ink); border-radius: var(--radius); padding: 8px 10px; cursor: pointer; }
.burger svg { width: 22px; height: 18px; stroke: var(--ink); stroke-width: 2.4; fill: none; stroke-linecap: round; display: block; }

/* --- Hero (full-bleed image) -------------------------------------- */
.hero { position: relative; background: var(--ink); color: var(--white); min-height: 550px; display: flex; align-items: flex-end; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21,24,28,0.94) 0%, rgba(21,24,28,0.78) 42%, rgba(21,24,28,0.18) 100%),
              linear-gradient(0deg, rgba(21,24,28,0.85) 0%, rgba(21,24,28,0) 45%);
}
.hero .wrap { padding: 96px 0 64px; display: grid; grid-template-columns: minmax(0, 640px) 1fr; gap: 40px; align-items: end; }
.hero-kicker { font-weight: 500; color: var(--accent-2); margin: 0 0 14px; font-size: 1rem; }
body.theme-tyre .hero-kicker, body.theme-showroom .hero-kicker, body.theme-property .hero-kicker { color: var(--accent-2); }
.hero h1 { color: var(--white); max-width: 14ch; }
.hero h1, .hero-kicker, .hero-lede, .hero-actions { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; }
.hero h1 { animation-delay: 0.05s; } .hero-lede { animation-delay: 0.15s; } .hero-actions { animation-delay: 0.25s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-lede { font-size: 1.15rem; color: #d5dae0; max-width: 48ch; margin: 22px 0 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; justify-self: end; width: min(100%, 300px); }
.hero-facts li { background: rgba(21,24,28,0.62); backdrop-filter: blur(6px); border-left: 3px solid var(--accent); padding: 12px 16px; }
body.theme-group .hero-facts li { border-left-color: var(--accent-2); }
.hero-facts strong { display: block; font-family: var(--display); font-size: 1.25rem; color: var(--white); font-weight: 700; line-height: 1.1; }
.hero-facts span { font-size: 0.9rem; color: #c9ced4; }

/* Accent bar under hero: hazard stripe for Recon, tread for Tyre, solid for others */
.bar { height: 12px; background: var(--accent); }
body.theme-recon .bar { height: 14px; background: repeating-linear-gradient(135deg, var(--accent) 0 16px, var(--ink) 16px 32px); }
body.theme-tyre .bar { height: 14px; background: repeating-linear-gradient(90deg, var(--ink) 0 22px, var(--accent-2) 22px 26px); }
body.theme-nges .bar { background: linear-gradient(90deg, var(--accent) 0 50%, var(--accent-2) 50% 75%, #1f7a4d 75%); }
body.theme-showroom .bar { background: linear-gradient(90deg, var(--accent) 0 70%, var(--accent-2) 70%); }
body.theme-property .bar { background: linear-gradient(90deg, var(--accent) 0 80%, var(--accent-2) 80%); }
body.theme-group .bar { background: linear-gradient(90deg, var(--ink) 0 88%, var(--accent-2) 88%); }

/* --- Page hero (text-only, for sub-pages) --------------------------- */
.page-hero { background: var(--ink); color: var(--white); padding: 72px 0 56px; }
.page-hero h1 { color: var(--white); max-width: 18ch; font-size: 3.55rem; }
.page-hero .hero-lede { margin-bottom: 26px; }
.crumbs { font-size: 0.9rem; color: #a9b0b8; margin: 0 0 18px; }
.crumbs a { color: #d5dae0; text-decoration: none; }
.crumbs a:hover { color: var(--amber); }
.crumbs span::before { content: "/"; margin: 0 8px; color: #6b7480; }

/* --- Category rail --------------------------------------------------- */
.rail { background: var(--white); border-bottom: 1px solid var(--line); }
.rail .wrap { display: grid; grid-template-columns: repeat(var(--cols, 6), 1fr); }
.rail a {
  display: flex; flex-direction: column; gap: 10px; padding: 26px 18px 24px; text-decoration: none; color: var(--ink);
  border-right: 1px solid var(--line); font-family: var(--display); font-weight: 600; font-size: 1.2rem; line-height: 1.1;
}
.rail a:first-child { border-left: 1px solid var(--line); }
.rail a:hover { background: var(--concrete); }
.rail a small { font-family: var(--body); font-weight: 400; font-size: 0.82rem; color: var(--slate); line-height: 1.35; }
.rail svg { width: 30px; height: 30px; stroke: var(--accent); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
body.theme-group .rail svg { stroke: var(--accent-2); }

/* --- Sections -------------------------------------------------------- */
.section { padding: 72px 0; }
.section-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-dark { background: var(--ink); color: #d5dae0; }
.section-dark h2, .section-dark h3 { color: var(--white); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.section-head p { max-width: 56ch; margin-top: 10px; }

/* Toolbar: filter chips + search */
.toolbar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 22px; }
.section[id="catalogue"] .toolbar,
.section[id="stock"] .toolbar {
  position: sticky; top: 92px; z-index: 35; margin-inline: -10px; padding: 10px;
  background: rgba(238,240,242,0.94); border: 1px solid rgba(217,221,226,0.9); border-radius: 8px;
  backdrop-filter: blur(10px); box-shadow: 0 8px 24px rgba(21,24,28,0.08);
}
.chip { font-family: var(--body); font-weight: 600; font-size: 0.92rem; padding: 8px 14px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); color: var(--steel); cursor: pointer; }
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--white); }
.search { margin-left: auto; display: flex; align-items: center; gap: 8px; background: var(--white); border: 1.5px solid var(--line); border-radius: var(--radius); padding: 0 12px; min-width: 260px; }
.search svg { width: 16px; height: 16px; stroke: var(--slate); fill: none; stroke-width: 2.2; stroke-linecap: round; }
.search input { border: 0; background: none; font: inherit; padding: 10px 0; width: 100%; outline: none; color: var(--ink); }
.search:focus-within { border-color: var(--ink); }
.count { font-size: 0.9rem; color: var(--slate); }

/* Product grid */
.stock { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.stock-3 { grid-template-columns: repeat(3, 1fr); }
.item { background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; content-visibility: auto; contain-intrinsic-size: 430px; transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
.item:hover { border-color: color-mix(in srgb, var(--accent) 52%, var(--line)); box-shadow: 0 14px 32px rgba(21,24,28,0.09); transform: translateY(-2px); }
.item figure { margin: 0; aspect-ratio: 4 / 5; background: #f6f7f8; overflow: hidden; }
.item figure.sq { aspect-ratio: 1 / 1; }
.item figure.wide { aspect-ratio: 16 / 10; }
.item img { width: 100%; height: 100%; object-fit: cover; }
.item .tile { aspect-ratio: 16 / 10; display: flex; align-items: flex-end; padding: 18px; background: var(--ink); color: var(--white); font-family: var(--display); font-weight: 700; font-size: 2rem; line-height: 1; position: relative; overflow: hidden; }
.item .tile::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, transparent 0 18px, rgba(255,255,255,0.055) 18px 19px); }
.item .tile::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: var(--accent); }
.item .tile span { position: relative; }
body.theme-group .item .tile::before { background: var(--accent-2); }
.item-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.tag { font-size: 0.74rem; font-weight: 600; color: var(--accent); letter-spacing: 0.04em; }
body.theme-group .tag { color: #8a6f14; }
.item h3 { font-size: 1.3rem; }
.item h3 small { font-family: var(--body); font-weight: 500; font-size: 0.8rem; color: var(--slate); margin-left: 4px; }
.tag em { font-style: normal; background: var(--ink); color: var(--white); padding: 2px 6px; border-radius: 3px; margin-left: 6px; font-size: 0.68rem; letter-spacing: 0; }
.item.wheel p strong { color: var(--ink); font-weight: 600; }
.item p { font-size: 0.93rem; color: var(--slate); flex: 1; }
.item-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 10px; border-top: 1px solid var(--line); margin-top: 4px; }
.price { font-family: var(--display); font-weight: 600; font-size: 1.05rem; color: var(--ink); }
.enquire { font-family: var(--display); font-weight: 700; font-size: 1.05rem; background: none; border: 2px solid var(--ink); color: var(--ink); border-radius: var(--radius); padding: 7px 14px; cursor: pointer; text-decoration: none; }
.enquire:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.item.feature { grid-column: span 2; grid-row: span 2; background: var(--ink); color: var(--white); border: 0; position: relative; }
.item.feature figure { aspect-ratio: auto; position: absolute; inset: 0; }
.item.feature img { opacity: 0.6; object-position: 85% 50%; }
.item.feature .item-body { position: relative; z-index: 1; justify-content: flex-end; padding: 28px; background: linear-gradient(180deg, rgba(21,24,28,0) 20%, rgba(21,24,28,0.95) 70%); }
.item.feature h3 { color: var(--white); font-size: 2.3rem; max-width: 16ch; }
.item.feature p { color: #d5dae0; flex: 0; font-size: 1rem; max-width: 48ch; }
.item.feature .tag { color: var(--accent-2); }
.item.feature ul { list-style: none; padding: 0; margin: 8px 0 14px; display: flex; flex-wrap: wrap; gap: 6px; }
.item.feature li { font-size: 0.82rem; font-weight: 500; padding: 5px 10px; border: 1px solid rgba(255,255,255,0.3); border-radius: 999px; }
.item.feature .item-foot { border-top-color: rgba(255,255,255,0.18); }
.item.feature .price { color: var(--white); }
.item.feature .enquire { border-color: var(--white); color: var(--white); }
.empty { grid-column: 1 / -1; padding: 40px; text-align: center; background: var(--white); border: 1px dashed var(--line); border-radius: 8px; }
.empty a { color: var(--accent); font-weight: 600; }

/* Steps (sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); counter-reset: step; border: 1px solid var(--line); background: var(--white); }
.steps li { padding: 28px 26px 30px; border-right: 1px solid var(--line); counter-increment: step; }
.steps li:last-child { border-right: 0; }
.steps li::before { content: counter(step); display: inline-block; font-family: var(--display); font-weight: 700; font-size: 1.1rem; background: var(--accent); color: var(--white); width: 34px; height: 34px; line-height: 34px; text-align: center; border-radius: 50%; margin-bottom: 16px; }
body.theme-group .steps li::before { background: var(--accent-2); color: var(--ink); }
.steps h3 { margin-bottom: 8px; }
.steps p { font-size: 0.96rem; color: var(--slate); }

/* Checklist pills */
.checklist { display: flex; flex-wrap: wrap; gap: 8px 14px; margin: 24px 0 0; padding: 0; list-style: none; }
.checklist li { display: inline-flex; align-items: center; gap: 8px; font-size: 0.92rem; font-weight: 500; color: var(--ink); background: var(--concrete); padding: 8px 12px; border-radius: 999px; }
.checklist svg { width: 14px; height: 14px; stroke: var(--accent); stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.section-dark .checklist li { background: rgba(255,255,255,0.08); color: var(--white); }
.section-dark .checklist svg { stroke: var(--accent-2); }

/* Info tiles (services, facts) */
.tiles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tiles-3 { grid-template-columns: repeat(3, 1fr); }
.tiles-2 { grid-template-columns: repeat(2, 1fr); }
.tile-card { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.tile-card .code { font-family: var(--display); font-weight: 700; font-size: 1.05rem; color: var(--accent); }
.tile-card p { font-size: 0.95rem; color: var(--slate); flex: 1; }
.tile-card .price { font-size: 0.95rem; }
.tile-card ul { margin: 0; padding-left: 18px; font-size: 0.95rem; color: var(--steel); display: grid; gap: 4px; }
.tile-card a.link { font-weight: 600; color: var(--accent); text-decoration: none; }
.tile-card a.link:hover { text-decoration: underline; }
a.tile-card { text-decoration: none; color: inherit; }
a.tile-card { transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease; }
a.tile-card:hover { border-color: var(--ink); box-shadow: 0 12px 28px rgba(21,24,28,0.08); transform: translateY(-2px); }
.section-dark .tile-card { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.section-dark .tile-card p { color: #c9ced4; }
.section-dark .tile-card .code { color: var(--accent-2); }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); background: var(--white); }
.facts div { padding: 22px 24px; border-right: 1px solid var(--line); }
.facts div:last-child { border-right: 0; }
.facts strong { display: block; font-family: var(--display); font-size: 1.5rem; color: var(--ink); font-weight: 700; line-height: 1.1; }
.facts span { font-size: 0.92rem; color: var(--slate); }

/* Data table */
.table { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--line); font-size: 0.96rem; }
.table th, .table td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; }
.table th { font-family: var(--display); font-size: 1.05rem; font-weight: 600; color: var(--ink); background: var(--concrete); }
.table tr:last-child td { border-bottom: 0; }
.table .status { font-weight: 600; color: var(--accent); white-space: nowrap; }

/* Split band (image / text) */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.split figure { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; }
.split img { width: 100%; height: 100%; object-fit: cover; }

/* Directory (group hub) */
.directory { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.company { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 22px; text-decoration: none; color: inherit; display: flex; flex-direction: column; gap: 12px; min-height: 250px; }
.company:hover { border-color: var(--ink); }
.company .logo { height: 64px; display: flex; align-items: center; }
.company .logo img { max-height: 64px; width: auto; max-width: 160px; object-fit: contain; }
.company .logo .word { font-family: var(--display); font-weight: 700; font-size: 1.8rem; color: var(--accent); line-height: 1; }
body.theme-group .company .logo .word { color: #8a6f14; }
.company h3 { font-size: 1.35rem; }
.company p { font-size: 0.93rem; color: var(--slate); flex: 1; }
.company strong { font-weight: 600; color: var(--ink); font-size: 0.95rem; }
.company strong::after { content: " ›"; }

/* Contact / detail cards */
.detail { background: var(--white); border: 1px solid var(--line); border-radius: 8px; padding: 24px; }
.detail h3 { margin-bottom: 6px; }
.detail p { font-size: 0.95rem; color: var(--slate); }
.detail ul { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 6px; font-size: 0.95rem; }
.detail li a { color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
.detail li a:hover { border-bottom-color: var(--accent); }

/* Property listings */
.properties { display: grid; grid-template-columns: 1fr; gap: 18px; }
.property { background: var(--white); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; display: grid; grid-template-columns: 1.1fr 1fr; }
.property .gallery { display: grid; grid-template-columns: 2fr 1fr; grid-auto-rows: 170px; gap: 4px; background: var(--concrete); }
.property .gallery img { width: 100%; height: 100%; object-fit: cover; }
.property .gallery img:first-child { grid-row: span 2; }
.property .gallery.single { grid-template-columns: 1fr; grid-auto-rows: 344px; }
.property .gallery.single img:first-child { grid-row: auto; }
.property .info { padding: 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.property dl { margin: 6px 0 12px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.property dt { font-size: 0.78rem; font-weight: 600; color: var(--slate); }
.property dd { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; color: var(--ink); }
.property dd a { text-decoration: none; }
.property .info p { font-size: 0.95rem; color: var(--slate); flex: 1; }
.property .actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* Enquiry section */
.enquiry { padding: 80px 0; }
.enquiry .wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-card { background: var(--ink); color: #d5dae0; border-radius: 10px; padding: 32px; }
.contact-card h2 { color: var(--white); margin-bottom: 10px; }
.contact-card dl { margin: 26px 0 0; display: grid; gap: 18px; }
.contact-card dt { font-size: 0.8rem; color: var(--accent-2); font-weight: 600; margin-bottom: 4px; }
.contact-card dd { margin: 0; font-size: 1.05rem; color: var(--white); }
.contact-card dd a { color: var(--white); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,0.35); }
.contact-card dd a:hover { border-bottom-color: var(--amber); }
.contact-card .btn { margin-top: 28px; }
form.quote { background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 32px; }
form.quote h2 { margin-bottom: 6px; }
form.quote > p { color: var(--slate); margin-bottom: 22px; }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-weight: 600; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.field span em { font-style: normal; font-weight: 400; color: var(--slate); }
.field input, .field textarea, .field select { width: 100%; font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: var(--radius); background: var(--white); color: var(--ink); }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--ink); outline: none; }
.field textarea { resize: vertical; min-height: 110px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.honey { position: absolute; left: -9999px; }
.form-note { margin: 16px 0 0; font-size: 0.95rem; color: var(--accent-deep); font-weight: 500; min-height: 1.4em; }
body.theme-group .form-note { color: #8a6f14; }
.send { display: none; margin-top: 18px; padding: 18px; background: var(--concrete); border-radius: 8px; }
.send.show { display: block; }
.send p { color: var(--ink); font-weight: 500; margin-bottom: 12px; }
.send-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Footer */
.footer { background: var(--ink); color: #a9b0b8; padding: 52px 0 32px; font-size: 0.92rem; position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: var(--accent); }
body.theme-recon .footer::before { background: repeating-linear-gradient(135deg, var(--accent) 0 16px, var(--ink) 16px 32px); }
body.theme-group .footer::before { background: var(--accent-2); }
.footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { color: var(--white); font-size: 1.3rem; margin-bottom: 12px; }
.footer a { color: #d5dae0; text-decoration: none; }
.footer a:hover { color: var(--amber); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer .brand-foot { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer .brand-foot img { height: 44px; width: auto; max-width: 120px; border-radius: 6px; background: var(--white); padding: 4px; }
.footer .brand-foot strong { color: var(--white); font-family: var(--display); font-size: 1.35rem; }
.footer-base { border-top: 1px solid rgba(255,255,255,0.12); margin-top: 40px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.84rem; }
.noscript-note { background: var(--amber); color: var(--ink); padding: 12px var(--gutter); margin: 0; text-align: center; }

/* Long catalogue utility */
.back-to-top {
  position: fixed; right: 18px; bottom: 18px; z-index: 45; width: 46px; height: 46px; display: grid; place-items: center;
  border: 0; border-radius: 50%; background: var(--ink); color: var(--white); font: 700 1.35rem/1 var(--body);
  box-shadow: 0 10px 24px rgba(21,24,28,0.24); cursor: pointer; opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity 160ms ease, visibility 160ms ease, transform 160ms ease, background 160ms ease;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--accent); }

/* Redirect page */
.redirect { min-height: 70vh; display: grid; place-items: center; text-align: center; padding: 60px 0; }
.redirect .box { max-width: 560px; }
.redirect .actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }

/* --- Responsive ------------------------------------------------------ */
@media (max-width: 1080px) {
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--white); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 18px; flex-direction: column; align-items: stretch; gap: 2px; box-shadow: 0 18px 30px rgba(21,24,28,0.12); }
  .nav.open { display: flex; }
  .nav > a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--accent); }
  .nav .btn { margin: 10px 0 0; }
  .group-menu { position: static; width: auto; box-shadow: none; border: 0; padding: 0 0 6px 10px; }
  .group-menu::before { display: none; }
  .burger { display: block; }
}
@media (max-width: 1000px) {
  .stock { grid-template-columns: repeat(3, 1fr); }
  .rail .wrap { grid-template-columns: repeat(3, 1fr); }
  .rail a { border-bottom: 1px solid var(--line); }
  .rail a:nth-child(3n+1) { border-left: 1px solid var(--line); }
  .tiles, .directory { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(2) { border-right: 0; }
  .facts div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .property { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .brand span { font-size: 1.25rem; }
  .brand img { height: 48px; }
  .hero { min-height: 0; }
  .hero .wrap { grid-template-columns: 1fr; padding: 70px 0 48px; }
  .hero-facts { justify-self: start; width: 100%; grid-template-columns: repeat(3, 1fr); }
  .enquiry .wrap { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .steps li { border-right: 0; border-bottom: 1px solid var(--line); }
  .steps li:last-child { border-bottom: 0; }
  .topbar .hours { margin-left: 0; }
  .split { grid-template-columns: 1fr; }
  .tiles-3 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 2.7rem; }
  h2 { font-size: 2.15rem; }
  .page-hero h1 { font-size: 2.55rem; }
  .hero .wrap { padding-top: 56px; }
  .hero-lede { font-size: 1.04rem; }
  .topbar .wrap > a:first-child, .topbar a[href^="mailto:"] { display: none; }
  .section { padding: 56px 0; }
  .section[id="catalogue"] .toolbar,
  .section[id="stock"] .toolbar { top: 76px; margin-inline: -4px; padding: 8px; }
  .stock, .stock-3 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .item.feature { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
  .item-body { padding: 12px 14px 14px; }
  .item h3 { font-size: 1.1rem; }
  .item-foot { flex-wrap: wrap; }
  .price { font-size: 0.92rem; }
  .enquire { padding: 6px 10px; font-size: 0.98rem; }
  .rail .wrap { grid-template-columns: repeat(2, 1fr); }
  .rail a:nth-child(3n+1) { border-left: 0; }
  .rail a:nth-child(2n+1) { border-left: 1px solid var(--line); }
  .hero-facts { grid-template-columns: 1fr; }
  .search { min-width: 0; width: 100%; margin-left: 0; }
  .field-row { grid-template-columns: 1fr; }
  form.quote, .contact-card { padding: 22px; }
  .footer .wrap, .tiles, .tiles-3, .tiles-2, .directory, .facts { grid-template-columns: 1fr; }
  .facts div { border-right: 0; border-bottom: 1px solid var(--line); }
  .facts div:last-child { border-bottom: 0; }
  .topbar .wrap { gap: 4px 16px; padding: 6px 0; }
  .property .gallery { grid-auto-rows: 110px; }
  .property dl { grid-template-columns: 1fr 1fr; }
  .table { font-size: 0.88rem; }
  .table th, .table td { padding: 10px 12px; }
  .back-to-top { right: 12px; bottom: 12px; }
}

/* Breadcrumb navigation: visible hierarchy matching the page's structured data. */
nav.crumbs { max-width: 100%; color: #e3e7ec; }
nav.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px 10px; list-style: none; padding: 0; margin: 0; }
nav.crumbs li { display: inline-flex; align-items: baseline; gap: 10px; min-width: 0; max-width: 100%; }
nav.crumbs a, nav.crumbs [aria-current="page"] { overflow-wrap: anywhere; }
nav.crumbs a { color: #e3e7ec; text-decoration: underline; text-underline-offset: 3px; }
nav.crumbs a:hover { color: #fff; }
nav.crumbs .crumb-separator { color: #a9b0b8; }
nav.crumbs span::before { content: none; }
nav.crumbs [aria-current="page"] { color: #c5ccd4; }

/* Customer questions use native disclosures, including without JavaScript. */
.faq-list { max-width: 900px; }
.faq-list details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; font-weight: 700; color: var(--ink); padding: 6px 0; line-height: 1.5; }
.faq-list summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 5px; }
.faq-answer { padding: 10px 0 2px; max-width: 75ch; }
.faq-answer p { margin: 0; }
.faq-answer a { text-decoration: underline; text-underline-offset: 3px; }

/* Shared photographic banner for product and catalogue pages. */
.hero.catalogue-hero { min-height: 620px; align-items: center; }
.hero.catalogue-hero .wrap { display: block; padding: 56px 0; }
.catalogue-hero-copy { max-width: 680px; }
.hero.catalogue-hero h1 { max-width: 22ch; font-size: 3.55rem; }
.catalogue-hero .hero-lede { max-width: 54ch; margin: 22px 0 26px; }
.catalogue-highlights { background: var(--ink); padding: 22px 0; }
.catalogue-highlights .hero-facts { width: 100%; grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 700px) {
  .hero.catalogue-hero { display: block; min-height: 0; padding-top: 190px; }
  .catalogue-hero .hero-bg { height: 240px; }
  .catalogue-hero .hero-bg::after { background: linear-gradient(0deg, #15181c 0%, rgba(21,24,28,0.25) 55%, rgba(21,24,28,0.08) 100%); }
  .hero.catalogue-hero .wrap { padding: 24px 0 40px; }
  .hero.catalogue-hero h1 { font-size: 2.55rem; }
  .catalogue-hero .hero-kicker { font-size: 0.94rem; }
  .catalogue-highlights .hero-facts { grid-template-columns: 1fr; }
}
