/* ==========================================================================
   SA RV Electrics — design system
   Fluro yellow #EDFF00 on jet black #030202 · Gilroy Extra Bold + Outfit
   ========================================================================== */

/* ---------- Fonts (self-hosted) ---------- */
@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/gilroy-extrabold.woff2") format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy";
  src: url("assets/fonts/gilroy-light.woff2") format("woff2");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Outfit";
  src: url("assets/fonts/outfit-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Gilroy Fallback";
  src: local("Arial Black"), local("Arial");
  size-adjust: 94%;
  ascent-override: 92%;
  descent-override: 24%;
  line-gap-override: 0%;
}

/* ---------- Tokens ---------- */
:root {
  --yellow: #EDFF00;
  --yellow-deep: #C9D900;
  --yellow-alpha: rgba(237, 255, 0, 0.14);
  --black: #030202;
  --black-2: #0C0B0B;
  --black-3: #161515;
  --grey: #808080;
  --grey-2: #5C5C5C;
  --cream: #F5EDE0;
  --cream-2: #EBE2D2;
  --paper: #FBF7F0;

  --ink: #0B0A0A;
  --ink-soft: #3B3938;
  --ink-mute: #5A5751;
  --ink-line: rgba(11, 10, 10, 0.12);

  --on-dark: #F5EDE0;
  --on-dark-soft: rgba(245, 237, 224, 0.72);
  --on-dark-mute: rgba(245, 237, 224, 0.6);
  --on-dark-line: rgba(245, 237, 224, 0.14);

  --font-display: "Gilroy", "Gilroy Fallback", "Arial Black", sans-serif;
  --font-body: "Outfit", "Segoe UI", system-ui, sans-serif;

  --t-hero: clamp(2.5rem, 5vw, 3.5rem);
  --t-display: clamp(2rem, 4vw, 3rem);
  --t-h2: clamp(1.75rem, 3.2vw, 2.25rem);
  --t-h3: 1.25rem;
  --t-lg: 1.0625rem;
  --t-base: 1rem;
  --t-sm: 0.875rem;
  --t-xs: 0.75rem;
  --t-eyebrow: 0.7rem;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 4px 12px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 10px rgba(0,0,0,0.08), 0 16px 40px rgba(0,0,0,0.14), 0 2px 4px rgba(0,0,0,0.05);
  --shadow-lg: 0 10px 20px rgba(0,0,0,0.12), 0 30px 70px rgba(0,0,0,0.28), 0 2px 4px rgba(0,0,0,0.08);
  --shadow-yellow: 0 6px 26px rgba(237,255,0,0.28), 0 1px 4px rgba(0,0,0,0.25);
  --shadow-glow: 0 0 0 1px rgba(237,255,0,0.25), 0 0 48px rgba(237,255,0,0.28);

  --container: 1140px;
  --gutter: 24px;
  --nav-h: 72px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --vh100: 100vh;
}
@supports (height: 100svh) { :root { --vh100: 100svh; } }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--t-base);
  line-height: 1.7;
  color: var(--ink);
  background: var(--black);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0;
}
h1 { font-size: var(--t-hero); letter-spacing: -0.02em; }
h2 { font-size: var(--t-h2); }
h3 { font-size: var(--t-h3); line-height: 1.15; }
p { margin: 0; }
.hl { color: var(--yellow); }
.skip-link { position: absolute; left: -9999px; top: 12px; z-index: 300; background: var(--yellow); color: var(--ink); padding: 10px 16px; border-radius: 999px; font-weight: 700; }
.skip-link:focus { left: 16px; outline: 2px solid var(--ink); outline-offset: 2px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: 88px 0; position: relative; }
.section--tight { padding: 64px 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body);
  font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--yellow-deep);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow, .dark .eyebrow { color: var(--yellow); }
.cream .eyebrow, .cream-2 .eyebrow, .yellow .eyebrow { color: var(--ink); }
.cream .eyebrow::before, .cream-2 .eyebrow::before, .yellow .eyebrow::before { background: var(--yellow-deep); }
.sub { font-size: var(--t-lg); line-height: 1.6; color: var(--ink-soft); max-width: 540px; }
.dark .sub { color: var(--on-dark-soft); }
.section-head { display: grid; gap: 14px; margin-bottom: 44px; }
.section-head--row { grid-template-columns: 1fr auto; align-items: end; gap: 24px; }
.section-head--row .sub { grid-column: 1; }

/* ---------- Surfaces ---------- */
.dark { background: var(--black); color: var(--on-dark); }
.dark h1, .dark h2, .dark h3 { color: var(--on-dark); }
.cream { background: var(--cream); color: var(--ink); }
.cream-2 { background: var(--cream-2); }
.yellow { background: var(--yellow); color: var(--ink); }

.dark-grad {
  background:
    radial-gradient(ellipse 70% 55% at 85% 0%, rgba(237,255,0,0.09) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 0% 100%, rgba(237,255,0,0.05) 0%, transparent 55%),
    linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%);
}
/* Brand hex pattern: on every plain section (not on photo areas or the yellow marquee) */
.has-pattern, .section.dark, .section.cream, .section.cream-2, .split, .statement, .page-hero { position: relative; isolation: isolate; }
.has-pattern::before, .section.dark::before, .section.cream::before, .section.cream-2::before, .split::before, .statement::before, .page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/pattern/pattern-1.webp") center top / 1400px auto repeat;
  opacity: 0.16; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.55) 100%);
  mask-image: linear-gradient(to bottom, #000 0%, rgba(0,0,0,0.55) 100%);
}
.section.cream::before, .section.cream-2::before, .has-pattern--light::before { background-image: url("assets/pattern/pattern-3.webp"); opacity: 0.1; mix-blend-mode: multiply; }
.has-pattern--grey::before { background-image: url("assets/pattern/pattern-2.webp"); opacity: 0.13; }
.section.no-pattern::before, .no-pattern.no-pattern::before { content: none; }
@media (max-width: 768px) { .has-pattern::before, .section.dark::before, .section.cream::before, .section.cream-2::before, .split::before, .statement::before, .page-hero::before, .cta-band::before { background-size: 820px auto; } }

/* ---------- Buttons ---------- */
/* Hex-cut buttons: pointed ends like the hexagon in the logo badge. Outlines and focus rings are drawn by
   ::after as a hex frame (polygon evenodd), because a CSS border or outline would be clipped on the angled ends. */
.btn {
  --cut: 14px; --bw: 0px; --frame: transparent;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 30px;
  border-radius: 0;
  clip-path: polygon(0 50%, var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%);
  font-family: var(--font-body); font-weight: 700; font-size: 0.9375rem; letter-spacing: 0.01em;
  transition: background 0.2s ease, color 0.2s ease, filter 0.2s ease, transform 0.15s ease;
  position: relative; overflow: hidden; white-space: nowrap;
}
.btn::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; background: var(--frame); transition: background 0.2s ease;
  clip-path: polygon(evenodd,
    0 50%, var(--cut) 0, calc(100% - var(--cut)) 0, 100% 50%, calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 50%,
    calc(var(--bw) * 1.16) 50%, calc(var(--cut) + var(--bw) * 0.58) var(--bw), calc(100% - var(--cut) - var(--bw) * 0.58) var(--bw),
    calc(100% - var(--bw) * 1.16) 50%, calc(100% - var(--cut) - var(--bw) * 0.58) calc(100% - var(--bw)), calc(var(--cut) + var(--bw) * 0.58) calc(100% - var(--bw)),
    calc(var(--bw) * 1.16) 50%);
}
.btn svg { width: 18px; height: 18px; flex: none; transition: transform 0.25s var(--ease); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn:focus-visible { outline: none; --bw: 3px; --frame: currentColor; }

.btn-primary { background: var(--yellow); color: var(--ink); }
.btn-primary::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
  transform: translateX(-100%); transition: transform 0.55s ease;
}
.btn-primary:hover { background: #F4FF4D; transform: translateY(-2px); }
.btn-primary:hover::before { transform: translateX(100%); }

.btn-ghost { background: transparent; color: var(--on-dark); --bw: 1.5px; --frame: rgba(245,237,224,0.35); }
.btn-ghost:hover { background: rgba(245,237,224,0.08); --frame: rgba(245,237,224,0.75); transform: translateY(-1px); }

.btn-dark { background: var(--black); color: var(--on-dark); }
.btn-dark:hover { background: var(--black-3); transform: translateY(-2px); }

.btn-outline-dark { background: transparent; color: var(--ink); --bw: 1.5px; --frame: rgba(11,10,10,0.35); }
.btn-outline-dark:hover { background: rgba(11,10,10,0.06); --frame: var(--ink); transform: translateY(-1px); }
.btn-ghost:focus-visible { --bw: 3px; --frame: var(--yellow); }
.btn-dark:focus-visible { --frame: var(--yellow); }
.btn-outline-dark:focus-visible { --bw: 3px; --frame: currentColor; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 700; font-size: var(--t-sm); letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--yellow); position: relative;
  transition: color 0.2s ease;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform 0.25s var(--ease); }
.link-arrow::after { content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1.5px; background: currentColor; transition: width 0.3s var(--ease); }
.link-arrow:hover::after { width: calc(100% - 24px); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px; }
.link-arrow:active { opacity: 0.8; }
.cream .link-arrow, .yellow .link-arrow { color: var(--ink); }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  border-bottom: 1px solid transparent;
}
.nav.scrolled, .nav.solid {
  background: rgba(3,2,2,0.86);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--on-dark-line);
}
.nav-inner { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--gutter); display: flex; align-items: center; gap: 24px; }
.nav-logo { display: flex; align-items: center; flex: none; }
.nav-logo img { height: 46px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; margin-left: 12px; }
.nav-link {
  display: inline-block; padding: 8px 12px; border-radius: 999px;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.02em; color: var(--on-dark-soft);
  transition: color 0.2s ease, background 0.2s ease;
}
.nav-link:hover { color: var(--on-dark); background: rgba(245,237,224,0.08); }
.nav-link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.nav-link:active { background: rgba(245,237,224,0.14); }
body[data-page="index"] .nav-link[href="/"],
body[data-page="services"] .nav-link[href="services.html"],
body[data-page="about"] .nav-link[href="about.html"],
body[data-page="reviews"] .nav-link[href="reviews.html"],
body[data-page="service-area"] .nav-link[href="service-area.html"],
body[data-page="contact"] .nav-link[href="contact.html"],
body[data-page="builds"] .nav-link[href="builds.html"] { color: var(--yellow); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 18px; }
.nav-phone { font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; letter-spacing: 0.02em; color: var(--yellow); white-space: nowrap; transition: color 0.2s ease, transform 0.2s ease; }
.nav-phone:hover { color: #fff; }
.nav-phone:focus-visible { outline: 2px solid var(--yellow); outline-offset: 4px; border-radius: 4px; }
.nav-phone:active { transform: translateY(1px); }
.btn-nav { --cut: 12px; min-height: 42px; padding: 9px 24px; font-size: 0.875rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 10px; margin-right: -10px; border-radius: 8px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--on-dark); border-radius: 2px; transition: transform 0.3s var(--ease), opacity 0.2s ease; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger:focus-visible { outline: 2px solid var(--yellow); }
.hamburger:hover span { background: var(--yellow); }
.hamburger:active { opacity: 0.8; }

/* Mobile menu: sits below the fixed nav (never under it), sized to the screen height so every link fits,
   and scrolls inside itself on very short screens. The page behind is locked (html.menu-open, script.js). */
.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; z-index: 90; background: var(--black);
  display: flex; flex-direction: column; justify-content: flex-start;
  padding: clamp(8px, 2.2vh, 24px) var(--gutter) calc(24px + env(safe-area-inset-bottom, 0px));
  overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0s linear 0.3s;
}
.mobile-menu.open { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0s; }
.mobile-menu a.mm-link { display: block; flex: none; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 4.6vh, 2rem); line-height: 1.15; text-transform: uppercase; color: var(--on-dark); padding: clamp(6px, 1.2vh, 12px) 0; border-bottom: 1px solid var(--on-dark-line); transition: color 0.2s ease, padding-left 0.2s ease; }
body[data-page="index"] .mobile-menu a.mm-link[href="/"],
body[data-page="services"] .mobile-menu a.mm-link[href="services.html"],
body[data-page="builds"] .mobile-menu a.mm-link[href="builds.html"],
body[data-page="about"] .mobile-menu a.mm-link[href="about.html"],
body[data-page="reviews"] .mobile-menu a.mm-link[href="reviews.html"],
body[data-page="service-area"] .mobile-menu a.mm-link[href="service-area.html"],
body[data-page="contact"] .mobile-menu a.mm-link[href="contact.html#quote-form"] { color: var(--yellow); }
html.menu-open, html.menu-open body { overflow: hidden; }
html.menu-open body { position: fixed; left: 0; right: 0; width: 100%; }
html.menu-open .mobile-cta { display: none; }
.mobile-menu a.mm-link:hover { color: var(--yellow); padding-left: 8px; }
.mobile-menu a.mm-link:focus-visible { color: var(--yellow); outline: 2px solid var(--yellow); outline-offset: 4px; }
.mobile-menu a.mm-link:active { color: var(--yellow-deep); }
.mm-actions { display: grid; gap: 10px; margin-top: clamp(14px, 3vh, 28px); flex: none; }
.mm-meta { margin-top: clamp(12px, 2.5vh, 24px); font-size: var(--t-sm); color: var(--on-dark-mute); flex: none; }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; background: var(--yellow); transform-origin: left; transform: scaleX(0); z-index: 110; pointer-events: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; height: var(--vh100); min-height: 600px; max-height: 1100px;
  background: var(--black); color: var(--on-dark);
  display: flex; align-items: flex-end; isolation: isolate;
}
.hero-media { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-media picture, .hero-poster, .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-poster { object-position: 50% 74%; }
/* Power-on: the photo comes up like the lights switching on, then the yellow line flickers on (two flickers, < 1s) */
.hero-media picture { animation: lights-up 1.4s ease-out both; }
@keyframes lights-up { from { filter: brightness(0.35); } to { filter: brightness(1); } }
.hero-h .power-on { animation: power-on 1s linear both; }
@keyframes power-on {
  0%   { opacity: 0.2; }
  10%  { opacity: 1; }
  16%  { opacity: 0.3; }
  30%  { opacity: 1; }
  36%  { opacity: 0.45; }
  50%  { opacity: 1; text-shadow: 0 2px 22px rgba(0,0,0,0.5), 0 0 30px rgba(237,255,0,0.6); }
  100% { opacity: 1; text-shadow: 0 2px 22px rgba(0,0,0,0.5), 0 0 18px rgba(237,255,0,0.28); }
}
@keyframes power-fade { from { opacity: 0.3; } to { opacity: 1; text-shadow: 0 2px 22px rgba(0,0,0,0.5), 0 0 18px rgba(237,255,0,0.28); } }
@media (min-width: 1081px) {
  .hero-media picture {
    left: 32%; top: -7%; bottom: 7%; width: auto; height: auto;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 26%), linear-gradient(to top, transparent 0%, #000 14%);
    -webkit-mask-composite: source-in;
    mask-image: linear-gradient(to right, transparent 0%, #000 26%), linear-gradient(to top, transparent 0%, #000 14%);
    mask-composite: intersect;
  }
  .hero-poster { object-position: 100% 74%; }
}
.hero-video { opacity: 0; transition: opacity 0.9s ease; }
.hero-video.is-playing { opacity: 1; }
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(3,2,2,0.94) 0%, rgba(3,2,2,0.6) 38%, rgba(3,2,2,0.08) 70%),
    linear-gradient(to right, rgba(3,2,2,0.7) 0%, rgba(3,2,2,0.3) 45%, rgba(3,2,2,0) 62%),
    linear-gradient(to bottom, rgba(3,2,2,0.55) 0%, rgba(3,2,2,0) 22%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: 1360px; margin: 0 auto;
  padding: 0 var(--gutter) clamp(28px, 5vh, 52px);
  display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 32px;
}
.hero-copy { display: grid; gap: 18px; max-width: 760px; }
.hero-copy { animation: rise 0.7s var(--ease); }
.hero-copy .eyebrow { color: var(--yellow); }
.hero-h { font-size: var(--t-hero); color: #fff; line-height: 0.98; letter-spacing: -0.03em; }
.hero-h span { display: block; }
.hero-h .eyebrow { display: flex; margin-bottom: 18px; color: var(--yellow); font-size: var(--t-eyebrow); line-height: 1.4; letter-spacing: 0.16em; }
.build-byline { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); margin-bottom: -6px; }
.hero-h .hl { color: var(--yellow); }
.hero-sub { font-size: var(--t-lg); color: rgba(245,237,224,0.88); max-width: 520px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 4px; }
.hero-caption {
  display: flex; align-items: center; gap: 10px; margin-top: 6px;
  font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-mute);
  font-variant-numeric: tabular-nums; min-height: 1.4em;
}
.hero-caption .cap-line { width: 56px; height: 1px; background: var(--on-dark-line); position: relative; overflow: hidden; }
.hero-caption .cap-line i { position: absolute; inset: 0; background: var(--yellow); transform-origin: left; transform: scaleX(0); }
.hero-caption .cap-line.run i { animation: cap-fill 4s linear forwards; }
@keyframes cap-fill { to { transform: scaleX(1); } }
.hero-caption .cap-text { color: var(--on-dark); min-width: 20ch; display: inline-block; transition: opacity 0.3s ease, transform 0.3s ease; }
.hero-caption .cap-text.is-out { opacity: 0; transform: translateY(6px); }
.hero-card {
  display: flex; align-items: center; gap: 14px;
  background: rgba(12,11,11,0.62);
  backdrop-filter: blur(16px) saturate(160%); -webkit-backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid var(--on-dark-line); border-radius: 14px; padding: 12px 14px 12px 12px;
  color: var(--on-dark); box-shadow: 0 10px 30px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  transition: transform 0.25s var(--ease), border-color 0.25s ease, background 0.25s ease;
  animation: rise 0.8s var(--ease);
}
.hero-card:hover { transform: translateY(-3px); border-color: rgba(237,255,0,0.45); background: rgba(12,11,11,0.78); }
.hero-card:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.hero-card:active { transform: translateY(0); }
.hero-card-score { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; color: var(--yellow); line-height: 1; }
.hero-card-meta { display: grid; gap: 2px; font-size: 0.8rem; color: var(--on-dark-soft); line-height: 1.3; }
.hero-card-meta strong { color: #fff; font-weight: 600; font-size: 0.85rem; }
.hero-card-stars { color: var(--yellow); letter-spacing: 1px; font-size: 0.75rem; }
.hero-card-arrow { width: 36px; height: 36px; border-radius: 50%; background: var(--yellow); color: var(--ink); display: grid; place-items: center; flex: none; }
.hero-card-arrow svg { width: 16px; height: 16px; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* ---------- Page hero (interior) ---------- */
.page-hero { position: relative; padding: calc(var(--nav-h) + 72px) 0 56px; background: var(--black); color: var(--on-dark); isolation: isolate; overflow: clip; }
.page-hero::after { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(ellipse 60% 70% at 100% 0%, rgba(237,255,0,0.12) 0%, transparent 60%); }
.page-hero .crumbs, .build-hero .crumbs, .bw .crumbs, .door .crumbs { display: flex; align-items: center; gap: 8px; font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-mute); margin-bottom: 20px; }
.page-hero .crumbs a:hover, .build-hero .crumbs a:hover, .bw .crumbs a:hover, .door .crumbs a:hover { color: var(--yellow); }
.page-hero .crumbs a:focus-visible, .build-hero .crumbs a:focus-visible, .bw .crumbs a:focus-visible, .door .crumbs a:focus-visible { outline: 1px solid var(--yellow); outline-offset: 2px; }
.page-hero .crumbs span, .build-hero .crumbs span, .bw .crumbs span, .door .crumbs span { color: var(--on-dark-soft); }
.page-hero .crumbs a:active, .build-hero .crumbs a:active, .bw .crumbs a:active, .door .crumbs a:active { color: var(--yellow-deep); }
.page-hero h1 { max-width: 16ch; margin-top: 14px; }
/* Torch: a work-light beam lights up the hex pattern under the mouse (script.js adds .torch); sweeps on its own on touch screens */
@property --tx { syntax: '<percentage>'; inherits: true; initial-value: 72%; }
@property --ty { syntax: '<percentage>'; inherits: true; initial-value: 40%; }
.torch { position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/pattern/pattern-1.webp") center top / 1400px auto repeat; mix-blend-mode: screen; opacity: 0.55;
  -webkit-mask-image: radial-gradient(circle 300px at var(--tx) var(--ty), #000 0%, rgba(0,0,0,0.45) 42%, transparent 72%);
  mask-image: radial-gradient(circle 300px at var(--tx) var(--ty), #000 0%, rgba(0,0,0,0.45) 42%, transparent 72%);
  transition: --tx 0.35s var(--ease), --ty 0.35s var(--ease);
  animation: torch-sweep 10s ease-in-out infinite alternate; }
.torch::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle 340px at var(--tx) var(--ty), rgba(237,255,0,0.14) 0%, transparent 70%); }
.torch.is-live { animation: none; }
@keyframes torch-sweep { 0% { --tx: 60%; --ty: 28%; } 50% { --tx: 86%; --ty: 58%; } 100% { --tx: 68%; --ty: 82%; } }
body:not([data-page="privacy"]):not([data-page="terms"]) .page-hero h1 .hl { animation: power-on 1s linear both; }
@media (max-width: 768px) {
  /* phones: the hex pattern is drawn larger, so keep it quieter behind text; torch beam smaller and softer */
  .torch { background-size: 820px auto; opacity: 0.32;
    -webkit-mask-image: radial-gradient(circle 190px at var(--tx) var(--ty), #000 0%, rgba(0,0,0,0.4) 45%, transparent 75%);
    mask-image: radial-gradient(circle 190px at var(--tx) var(--ty), #000 0%, rgba(0,0,0,0.4) 45%, transparent 75%); }
  .has-pattern:not(.has-pattern--light)::before, .section.dark::before, .split::before, .statement::before, .page-hero::before, .nf::before { opacity: 0.09; }
}
@media (prefers-reduced-motion: reduce) {
  .torch { animation: none; }
  body:not([data-page="privacy"]):not([data-page="terms"]) .page-hero h1 .hl { animation: power-fade 0.6s ease-out both; }
}
html.is-static .torch { animation: none; }
.page-hero .sub { margin-top: 18px; color: var(--on-dark-soft); }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: end; }
.page-hero-aside { display: grid; gap: 10px; justify-items: start; }
.page-hero-aside .chip { font-size: var(--t-xs); }

/* ---------- Chips ---------- */
.chip { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--on-dark-line); font-size: var(--t-sm); font-weight: 600; color: var(--on-dark-soft); background: rgba(245,237,224,0.04); }
.chip b { color: var(--yellow); font-weight: 800; }
.cream .chip, .chip--ink { border-color: var(--ink-line); color: var(--ink-soft); background: rgba(11,10,10,0.04); }
.cream .chip b, .chip--ink b { color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips-label { align-self: center; margin-right: 2px; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }

/* ---------- Statement / words ---------- */
.statement { padding: 96px 0; }
.statement .container { display: grid; gap: 28px; }
.words { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 3vw, 2.4rem); line-height: 1.18; letter-spacing: -0.005em; color: var(--on-dark); max-width: 24ch; }
.words .w { opacity: clamp(0.22, calc(((var(--p, 0) * (var(--n, 30) + 2) - var(--i, 0)) / 2) * 0.78 + 0.22), 1); }
.words .w.hl { color: var(--yellow); }
.statement-foot { display: flex; flex-wrap: wrap; gap: 20px 40px; align-items: center; }
/* Compliance plate: the three facts stamped on a riveted metal data plate */
.plate {
  --rivet: radial-gradient(circle at 40% 35%, #9a9a9a 0 1.5px, #4a4a4a 2.5px, #1e1e1e 4px, transparent 4.5px);
  position: relative; padding: 14px 30px 16px; border-radius: 6px; min-width: min(100%, 560px);
  background:
    var(--rivet) 10px 10px / 10px 10px no-repeat, var(--rivet) calc(100% - 10px) 10px / 10px 10px no-repeat,
    var(--rivet) 10px calc(100% - 10px) / 10px 10px no-repeat, var(--rivet) calc(100% - 10px) calc(100% - 10px) / 10px 10px no-repeat,
    repeating-linear-gradient(180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 3px),
    linear-gradient(160deg, #3b3b3b 0%, #262626 45%, #303030 100%);
  border: 1px solid rgba(0,0,0,0.6);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), inset 0 -1px 0 rgba(0,0,0,0.5), 0 10px 26px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.35);
}
.plate-head { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 8px; margin-bottom: 10px; border-bottom: 1px solid rgba(0,0,0,0.55); box-shadow: 0 1px 0 rgba(255,255,255,0.07);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #a8a8a8; text-shadow: 0 -1px 0 rgba(0,0,0,0.7); }
.plate-grid { display: grid; grid-template-columns: repeat(3, auto); justify-content: space-between; gap: 8px 28px; margin: 0; }
.plate-grid > div { display: flex; flex-direction: column-reverse; gap: 4px; }
.plate-grid > div + div { padding-left: 28px; border-left: 1px solid rgba(0,0,0,0.55); box-shadow: inset 1px 0 0 rgba(255,255,255,0.06); }
.plate-grid dd { margin: 0; font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--yellow); text-shadow: 0 -1px 0 rgba(0,0,0,0.6), 0 1px 0 rgba(255,255,255,0.08); }
.plate-grid dt { font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: #c4c4c4; text-shadow: 0 -1px 0 rgba(0,0,0,0.7); }
@media (max-width: 560px) {
  .plate { padding: 14px 22px 16px; }
  .plate-grid { grid-template-columns: 1fr; }
  .plate-grid > div { flex-direction: row-reverse; justify-content: space-between; align-items: baseline; }
  .plate-grid > div + div { padding: 8px 0 0; border-left: 0; box-shadow: none; border-top: 1px solid rgba(0,0,0,0.55); }
  .plate-grid dd { font-size: 1.3rem; }
}

/* ---------- Circle expand ---------- */
.circle { position: relative; height: calc(var(--circle-len, 260) * 1vh); background: var(--black); --fx: 50%; --fy: 50%; --pk: 1; --sc: calc(1.22 - 0.22 * var(--pe, 0)); }
@supports (height: 1svh) { .circle { height: calc(var(--circle-len, 260) * 1svh); } }
.circle-stage { position: sticky; top: 0; height: var(--vh100); overflow: clip; display: grid; place-items: center; isolation: isolate; }
.circle-media {
  position: absolute; inset: 0; z-index: 0;
  --r0: 7.5em; --r1: 72%;
  clip-path: circle(calc(var(--r0) + (var(--r1) - var(--r0)) * var(--pe, 0)) at 50% 50%);
  will-change: clip-path; transform: translateZ(0);
}
.circle-media img, .circle-media video { width: 100%; height: 100%; object-fit: cover; object-position: var(--ox, 50%) var(--oy, 50%); transform-origin: 50% 50%;
  transform: translate3d(calc((50% - var(--fx)) * var(--sc) * var(--pk)), calc((50% - var(--fy)) * var(--sc) * var(--pk)), 0) scale(var(--sc)); }
.circle-media::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse 62% 55% at 50% 52%, rgba(3,2,2,0.5) 0%, rgba(3,2,2,0) 100%), linear-gradient(to top, rgba(3,2,2,0.85) 0%, rgba(3,2,2,0.5) 40%, rgba(3,2,2,0.5) 70%, rgba(3,2,2,0.6) 100%); opacity: calc(0.15 + 0.85 * var(--pe, 0)); }
.circle-ring { position: absolute; z-index: 1; left: 50%; top: 50%; margin: -7.5em 0 0 -7.5em; width: 15em; height: 15em; border-radius: 50%; border: 1px solid rgba(237,255,0,0.45); pointer-events: none; opacity: calc(1 - var(--pe, 0) * 2); transform: scale(calc(1 + var(--pe, 0) * 0.3)); }
.circle-line { position: relative; z-index: 2; grid-area: 1 / 1; text-align: center; pointer-events: none; padding: 0 var(--gutter); }
.circle-line h2 { font-size: var(--t-display); color: #fff; max-width: 16ch; margin: 0 auto; text-shadow: 0 2px 24px rgba(0,0,0,0.65), 0 1px 3px rgba(0,0,0,0.5); }
.circle-line p { text-shadow: 0 1px 12px rgba(0,0,0,0.7); margin: 14px auto 0; font-size: var(--t-lg); color: var(--on-dark-soft); max-width: 46ch; }
.circle-line--a { opacity: calc(1 - var(--la, 0)); transform: scale(calc(1 - 0.1 * var(--la, 0))); margin-top: 24em; }
.circle-line--b { opacity: var(--lb, 0); transform: translateY(calc(26px * (1 - var(--lb, 0)))); }
.circle-line--b h2 .hl { color: var(--yellow); }
.circle-line--b .btn { pointer-events: auto; margin-top: 22px; }
.circle-badge { position: absolute; z-index: 2; left: 50%; bottom: 7vh; transform: translateX(-50%); display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; opacity: var(--lb, 0); }

/* ---------- Horizontal scroll (services) ---------- */
.hscroll { position: relative; height: 420vh; }
.hscroll-stage { position: sticky; top: 0; height: var(--vh100); overflow: clip; display: flex; flex-direction: column; justify-content: flex-start; gap: 28px; padding-top: calc(var(--nav-h) + 28px); }
.hscroll-head { display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.hs-meta { display: grid; gap: 10px; justify-items: end; }
.hs-count { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; font-variant-numeric: tabular-nums; color: var(--ink); }
.hs-count span { color: var(--ink-mute); font-size: 0.9rem; }
.hs-bar { display: block; width: 180px; height: 3px; background: rgba(11,10,10,0.14); border-radius: 3px; overflow: hidden; }
.hs-bar i { display: block; height: 100%; background: var(--ink); transform-origin: left; transform: scaleX(var(--hs-p, 0)); }
.hscroll-track {
  display: flex; gap: 20px; width: max-content;
  padding: 0 max(var(--gutter), calc((100vw - var(--container)) / 2 + var(--gutter)));
  will-change: transform;
  transform: translate3d(calc(var(--hs-x, 0) * -1px), 0, 0);
}
.hs-panel {
  flex: 0 0 clamp(280px, 30vw, 400px); min-height: 0;
  background: #fff; border: 1px solid var(--ink-line); border-radius: var(--radius-lg);
  padding: 24px; display: flex; flex-direction: column; gap: 14px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.3s ease;
}
.hs-panel:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(11,10,10,0.3); }
.hs-panel:focus-within { outline: 2px solid var(--ink); outline-offset: 2px; }
.hs-panel-top { display: flex; align-items: center; justify-content: space-between; }
.hs-panel-top img { width: 56px; height: 64px; }
.hs-panel-top span { font-family: var(--font-display); font-weight: 800; font-size: 0.85rem; color: var(--ink-mute); }
.hs-panel-img { aspect-ratio: 16 / 10; border-radius: var(--radius-md); overflow: hidden; background: var(--black); position: relative; }
.hs-panel-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.hs-panel:hover .hs-panel-img img { transform: scale(1.05); }
.hs-panel h3 { font-size: 1.3rem; }
.hs-panel p { font-size: var(--t-sm); color: var(--ink-soft); line-height: 1.55; }
.hs-panel .brands { font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-mute); }
.hs-panel .link-arrow { margin-top: auto; color: var(--ink); position: static; }
.hs-panel .link-arrow::after { content: ""; position: absolute; inset: 0; width: auto; height: auto; background: none; border-radius: inherit; z-index: 2; }
.hs-panel:hover .link-arrow svg { transform: translateX(4px); }
.hs-panel:active { transform: translateY(-2px); }
.hs-panel--cta .btn { position: relative; z-index: 3; }
.hs-panel--cta { background: var(--black); color: var(--on-dark); border-color: transparent; justify-content: center; }
.hs-panel--cta h3 { color: #fff; font-size: 1.75rem; }
.hs-panel--cta p { color: var(--on-dark-soft); }
@media (min-width: 769px) and (max-height: 800px) {
  .hscroll-stage { gap: 20px; padding-top: calc(var(--nav-h) + 18px); }
  .hs-panel { padding: 20px; gap: 12px; }
  .hs-panel-top { position: absolute; z-index: 1; top: 32px; left: 32px; right: 32px; pointer-events: none; }
  .hs-panel-top img { width: 46px; height: 52px; filter: drop-shadow(0 4px 10px rgba(0,0,0,0.45)) drop-shadow(0 1px 2px rgba(0,0,0,0.3)); }
  .hs-panel-top span { color: #fff; background: rgba(3,2,2,0.6); padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
  .hs-panel--cta .hs-panel-top { position: static; }
}

/* ---------- Sticky split (Why Nigel) ---------- */
.split { padding: 88px 0; }
.split-grid { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(32px, 6vw, 96px); align-items: stretch; }
.split-sticky { position: sticky; top: calc(var(--nav-h) + 40px); display: grid; gap: 18px; }
.split-words { display: grid; margin-top: 8px; }
.split-words li { grid-area: 1 / 1; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 0.95; text-transform: uppercase; color: var(--yellow); opacity: 0; transform: translateY(16px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.split-words li.is-on { opacity: 1; transform: none; }
.split-words li.is-out { opacity: 0; transform: translateY(-16px); }
.split-count { font-family: var(--font-display); font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; color: var(--on-dark-mute); }
.split-count b { color: var(--on-dark); }
.split-right { display: grid; gap: 120px; padding: 48px 0; }
.split-card { display: grid; gap: 16px; }
.split-card-label { font-family: var(--font-display); font-weight: 800; font-size: 1.75rem; text-transform: uppercase; color: var(--yellow); }
.split-card figure { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--black-3); border: 1px solid var(--on-dark-line); position: relative; }
.split-card figure img { width: 100%; height: 100%; object-fit: cover; }
.split-card figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(3,2,2,0.5), transparent 50%); }
.split-card h3 { font-size: 1.3rem; color: #fff; }
.split-card p { color: var(--on-dark-soft); max-width: 52ch; }
/* Phones/tablets (words column hidden): the card at the centre of the screen lights its label and brings its photo to full colour */
@media (max-width: 1080px) {
  .js .split-card-label { color: var(--on-dark-mute); transition: color 0.4s ease; }
  .js .split-card.is-current .split-card-label { color: var(--yellow); animation: node-on 0.45s linear; }
  .js .split-card figure img { filter: grayscale(0.85) brightness(0.65); transform: scale(1.06); transition: filter 0.6s ease, transform 1s var(--ease); }
  .js .split-card.is-current figure img { filter: none; transform: none; }
}
@media (prefers-reduced-motion: reduce) { .js .split-card.is-current .split-card-label { animation: none; } }
html.is-static .split-card figure img { filter: none; transform: none; }
html.is-static .split-card-label { color: var(--yellow); }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 18px 0; border-top: 1px solid rgba(11,10,10,0.1); border-bottom: 1px solid rgba(11,10,10,0.1); }
.marquee-track { display: flex; width: max-content; gap: 48px; animation: marquee 38s linear infinite; }
.marquee:hover .marquee-track, .marquee:focus-within .marquee-track, .marquee:focus-visible .marquee-track { animation-play-state: paused; }
.marquee:focus-visible { outline: 2px solid var(--ink); outline-offset: -4px; }
.marquee-item { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-display); font-weight: 800; font-size: 1.1rem; letter-spacing: 0.06em; text-transform: uppercase; white-space: nowrap; }
.marquee-item::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; opacity: 0.5; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reviews ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review-card { background: #fff; border: 1px solid var(--ink-line); border-radius: var(--radius-lg); padding: 24px; display: flex; flex-direction: column; gap: 14px; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-stars { color: var(--yellow-deep); letter-spacing: 2px; font-size: 0.85rem; }
.cream .review-stars { color: #B8C600; }
.review-text { font-size: var(--t-base); line-height: 1.6; color: var(--ink-soft); }
.review-tags { font-size: var(--t-xs); color: var(--ink-mute); }
.review-foot { margin-top: auto; display: flex; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px solid var(--ink-line); }
.review-avatar { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; font-size: 0.8rem; color: #fff; flex: none; }
.review-foot strong { display: block; font-size: var(--t-sm); font-weight: 700; color: var(--ink); line-height: 1.2; }
.review-foot span.meta { font-size: var(--t-xs); color: var(--ink-mute); }
.review-foot .g { margin-left: auto; width: 20px; height: 20px; }
.rating-block { display: flex; align-items: center; gap: 18px; }
.rating-block .score { font-family: var(--font-display); font-weight: 800; font-size: 3rem; line-height: 1; }
.rating-block .stars { color: #B8C600; letter-spacing: 3px; font-size: 1.1rem; }
.rating-block .count { font-size: var(--t-sm); color: var(--ink-mute); }
.dark .rating-block .stars { color: var(--yellow); }
.dark .rating-block .count, .page-hero .rating-block .count { color: var(--on-dark-mute); }
a.count { text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: color 0.2s ease; }
a.count:hover { color: var(--ink); }
.dark a.count:hover, .page-hero a.count:hover { color: var(--yellow); }
a.count:active { opacity: 0.8; }
a.count:focus-visible { outline: 2px solid currentColor; outline-offset: 2px; }
.rating-pair { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.rating-pair .rating-block + .rating-block { padding-left: 28px; border-left: 1px solid var(--ink-line); }
.dark .rating-pair .rating-block + .rating-block, .page-hero .rating-pair .rating-block + .rating-block { border-left-color: var(--on-dark-line); }
@media (max-width: 560px) { .rating-pair .rating-block + .rating-block { padding-left: 0; border-left: 0; } }
.page-hero .rating-pair { flex-direction: column; align-items: flex-start; gap: 14px; }
.page-hero .rating-pair .rating-block + .rating-block { padding: 14px 0 0; border-left: 0; border-top: 1px solid var(--on-dark-line); }
.avatar-1 { background: #0E7C5B; } .avatar-2 { background: #1565C0; } .avatar-3 { background: #6A1B9A; } .avatar-4 { background: #AD1457; } .avatar-5 { background: #B7410E; }

/* ---------- Home: review marquee (slow right-to-left, all reviews) ---------- */
.review-marquee { position: relative; overflow: hidden; padding: 6px 0 14px;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%); }
.rm-track { display: flex; width: max-content; animation: rm-scroll 175s linear infinite; }
html:not(.js) .rm-track { animation: none; }
.rm-set { display: flex; align-items: stretch; gap: 20px; padding-right: 20px; }
.rm-set > li { flex: 0 0 360px; display: flex; }
.rm-set .review-card { flex: 1; }
/* Home strip: long reviews are trimmed visually (text unchanged; the Reviews page shows them in full) so every card stays a sensible height */
.rm-set .review-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 7; line-clamp: 7; overflow: hidden; }
@media (max-width: 768px) { .rm-set .review-text { -webkit-line-clamp: 6; line-clamp: 6; } }
.review-marquee:has(:focus-visible) .rm-track, .review-marquee.is-paused .rm-track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .review-marquee:hover .rm-track { animation-play-state: paused; } }
@keyframes rm-scroll { to { transform: translateX(-50%); } }
.rm-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; }
.rm-toggle.btn { --cut: 12px; --bw: 1.5px; --frame: var(--ink-line); min-height: 40px; padding: 8px 24px; background: #fff; color: var(--ink); font-size: var(--t-sm); font-weight: 600; }
.rm-toggle.btn:hover { --frame: var(--ink); }
.rm-toggle.btn:active { transform: scale(0.97); }
.rm-toggle.btn:focus-visible { --bw: 3px; --frame: var(--ink); }
.rm-ico { position: relative; width: 10px; height: 12px; }
.rm-ico::before, .rm-ico::after { content: ""; position: absolute; top: 0; width: 3px; height: 12px; border-radius: 1px; background: currentColor; }
.rm-ico::before { left: 0; } .rm-ico::after { right: 0; }
.rm-toggle[aria-pressed="true"] .rm-ico::after { display: none; }
.rm-toggle[aria-pressed="true"] .rm-ico::before { width: 0; height: 0; border-radius: 0; background: none; border-style: solid; border-width: 6px 0 6px 10px; border-color: transparent transparent transparent currentColor; }
html.is-static .rm-track { animation: none; }
html.is-static .rm-set[aria-hidden="true"] { display: none; }
@media (prefers-reduced-motion: reduce) { .rm-track { animation-duration: 226s; } }
@media (max-width: 768px) { .rm-set > li { flex-basis: min(80vw, 320px); } .rm-set { gap: 14px; padding-right: 14px; } .rm-track { animation-duration: 155s; } }

/* ---------- Reviews page: scrolling review columns (vertical, 3 / 2 / 1) ---------- */
.rc-source > li { display: flex; }
.rc-source .review-card { flex: 1; }
.review-columns.is-columns { display: flex; justify-content: center; gap: 20px; max-height: 740px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0, #000 10%, #000 90%, transparent 100%); }
.review-columns.is-columns .rc-source { display: none; }
.rc-col { flex: 1 1 0; min-width: 0; max-width: 360px; padding: 0 2px; }
.rc-track { animation: rc-up var(--rc-dur, 60s) linear infinite; will-change: transform; }
.rc-set { display: flex; flex-direction: column; gap: 20px; padding: 8px 0 12px; }
.rc-col:has(:focus-visible) .rc-track, .review-columns.is-paused .rc-track { animation-play-state: paused; }
@media (hover: hover) and (pointer: fine) { .rc-col:hover .rc-track { animation-play-state: paused; } }
.rc-set .review-card:focus-within { transform: translateY(-4px); box-shadow: var(--shadow-md); }
@keyframes rc-up { to { transform: translateY(-50%); } }
.rc-foot { display: flex; justify-content: center; margin-top: 26px; }
html:not(.js) .rc-foot, html.is-static .rc-foot { display: none; }
@media (prefers-reduced-motion: reduce) { .rc-track { animation-duration: calc(var(--rc-dur, 60s) * 1.3); } }
@media (max-width: 768px) { .review-columns.is-columns { max-height: 620px; gap: 14px; } .rc-set { gap: 14px; padding-bottom: 6px; } }
@media (max-width: 600px) { .rc-col { max-width: 420px; } }

/* ---------- Service area ---------- */
.area-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.area-map { position: sticky; top: calc(var(--nav-h) + 32px); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--on-dark-line); background: var(--black-3); aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.area-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(0.92) contrast(1.05) brightness(0.9); }
.area-map .map-pin { position: absolute; left: 24px; bottom: 24px; display: inline-flex; align-items: center; gap: 10px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: var(--t-sm); box-shadow: var(--shadow-yellow); }
.suburbs { display: flex; flex-wrap: wrap; gap: 10px; }
.suburb { padding: 10px 16px; border-radius: 999px; border: 1px solid var(--on-dark-line); font-weight: 600; font-size: var(--t-sm); color: var(--on-dark); background: rgba(245,237,224,0.04); }
.suburb--home { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
/* Radar ping (home service area): rings pulse out from Angle Vale at the map centre, and the suburb tags
   light up one by one, nearest first (script.js adds .is-pinging / .is-lit) */
.radar { position: absolute; left: 50%; top: 50%; width: 0; height: 0; z-index: 1; pointer-events: none; }
.radar::before { content: ""; position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 0 4px rgba(237,255,0,0.25), 0 0 18px rgba(237,255,0,0.8); }
.radar i { position: absolute; left: -170px; top: -170px; width: 340px; height: 340px; border-radius: 50%; border: 2px solid rgba(237,255,0,0.75);
  box-shadow: 0 0 18px rgba(237,255,0,0.3), inset 0 0 22px rgba(237,255,0,0.18); opacity: 0; transform: scale(0.04); }
.area-map.is-pinging .radar i { animation: radar-ping 3s cubic-bezier(0.2, 0.6, 0.3, 1) infinite; }
.area-map.is-pinging .radar i:nth-child(2) { animation-delay: 1s; }
.area-map.is-pinging .radar i:nth-child(3) { animation-delay: 2s; }
@keyframes radar-ping { 0% { opacity: 0.95; transform: scale(0.04); } 75% { opacity: 0.18; } 100% { opacity: 0; transform: scale(1.35); } }
[data-radar] .suburb { transition: border-color 0.35s ease, color 0.35s ease, background 0.35s ease, box-shadow 0.35s ease; }
[data-radar] .suburb.is-lit:not(.suburb--home) { border-color: var(--yellow); color: var(--yellow); background: rgba(237,255,0,0.07); box-shadow: 0 0 16px rgba(237,255,0,0.22); }
@media (prefers-reduced-motion: reduce) { .area-map.is-pinging .radar i { animation: none; } .area-map.is-pinging .radar i:first-child { opacity: 0.35; transform: scale(0.6); } }
@media (max-width: 1080px) { .area-grid > .area-map { position: relative; top: auto; } }
.area-list { display: grid; gap: 18px; }
.area-item { padding: 24px; border-radius: var(--radius-lg); border: 1px solid var(--on-dark-line); background: rgba(245,237,224,0.03); display: grid; gap: 8px; transition: border-color 0.3s ease, background 0.3s ease; }
.area-item.is-active { border-color: rgba(237,255,0,0.5); background: rgba(237,255,0,0.05); }
.area-item h3 { font-size: 1.4rem; color: #fff; }
.area-item p { color: var(--on-dark-soft); }

/* ---------- Service rows (services page) ---------- */
.service-row { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; padding: 56px 0; border-top: 1px solid var(--ink-line); scroll-margin-top: calc(var(--nav-h) + 16px); }
.service-row:first-of-type { border-top: 0; }
.service-row:nth-of-type(even) .service-media { order: -1; }
.service-copy { display: grid; gap: 16px; }
.service-copy h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }
.service-copy .lead { font-size: var(--t-lg); color: var(--ink); line-height: 1.55; }
.service-copy p { color: var(--ink-soft); }
.service-list { display: grid; gap: 8px; }
.service-list li { display: flex; gap: 10px; align-items: flex-start; font-size: var(--t-sm); color: var(--ink-soft); }
.service-list li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: 5px; border-radius: 50%; background: var(--yellow); box-shadow: inset 0 0 0 4px #fff, 0 0 0 1px var(--ink-line); }
.service-media { position: relative; border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 3; background: var(--black); box-shadow: var(--shadow-lg); }
.service-media img { width: 100%; height: 100%; object-fit: cover; }
.service-media .icon { position: absolute; left: 20px; top: 20px; width: 64px; height: 72px; filter: drop-shadow(0 6px 16px rgba(0,0,0,0.4)); }
.service-nav { display: flex; flex-wrap: wrap; gap: 8px; }
.service-nav a { padding: 8px 14px; border-radius: 999px; border: 1px solid var(--on-dark-line); font-size: var(--t-sm); font-weight: 600; color: var(--on-dark-soft); transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease; }
.service-nav a:hover { color: var(--ink); background: var(--yellow); border-color: var(--yellow); }
.service-nav a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
.service-nav a:active { background: var(--yellow-deep); }

/* ---------- Compliance / trust ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.trust-card { padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--on-dark-line); background: rgba(245,237,224,0.03); display: grid; gap: 12px; align-content: start; transition: border-color 0.3s ease, transform 0.3s var(--ease); }
.trust-card:hover { border-color: rgba(237,255,0,0.4); transform: translateY(-4px); }
.trust-card .ico { width: 44px; height: 44px; border-radius: 12px; background: var(--yellow); color: var(--ink); display: grid; place-items: center; }
.trust-card .ico svg { width: 22px; height: 22px; }
.trust-card h3 { font-size: 1.15rem; color: #fff; }
.trust-card p { font-size: var(--t-sm); color: var(--on-dark-soft); }
/* Switchboard (Services): the cards switch on one after another as they scroll in (script.js adds .is-on);
   the indicator light flickers on, a yellow glow sweeps round the edge and the icon tile lights up. Hover tilts the card. */
[data-switchboard] .trust-card { position: relative; isolation: isolate; transform-style: preserve-3d; transition: border-color 0.5s ease, transform 0.35s var(--ease), background 0.5s ease; }
[data-switchboard] .trust-card::after { content: ""; position: absolute; top: 24px; right: 24px; width: 10px; height: 10px; border-radius: 50%; background: #3b3a3a; box-shadow: inset 0 1px 2px rgba(0,0,0,0.7), 0 0 0 3px rgba(245,237,224,0.05); transition: background 0.3s ease, box-shadow 0.3s ease; }
[data-switchboard] .trust-card::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(90deg, transparent 0%, var(--yellow) 50%, transparent 100%) -60% 0 / 60% 100% no-repeat;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); opacity: 0; }
.js [data-switchboard] .trust-card:not(.is-on) .ico { filter: grayscale(1) brightness(0.45); }
[data-switchboard] .trust-card .ico { transition: filter 0.35s ease; }
[data-switchboard] .trust-card.is-on { border-color: rgba(237,255,0,0.32); background: rgba(237,255,0,0.035); }
[data-switchboard] .trust-card.is-on::after { background: var(--yellow); box-shadow: 0 0 12px rgba(237,255,0,0.9), 0 0 2px #fff, 0 0 0 3px rgba(237,255,0,0.12); animation: node-on 0.45s linear; }
[data-switchboard] .trust-card.is-on::before { animation: edge-sweep 1.1s var(--ease) forwards; }
[data-switchboard] .trust-card.is-on .ico { animation: node-on 0.45s linear 0.1s; }
@keyframes edge-sweep { 0% { opacity: 1; background-position: -60% 0; } 85% { opacity: 1; } 100% { opacity: 0; background-position: 160% 0; } }
@media (prefers-reduced-motion: reduce) { [data-switchboard] .trust-card.is-on::after, [data-switchboard] .trust-card.is-on .ico { animation: none; } }

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
.step { padding: 28px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ink-line); display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s ease; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: var(--font-display); font-weight: 800; font-size: 2.2rem; color: var(--ink); line-height: 1; }
.step h3 { font-size: 1.2rem; }
.step p { font-size: var(--t-sm); color: var(--ink-soft); }

/* Live wire steps: a cable runs between the hex badges and fills with current as you scroll (script.js "wire");
   each badge switches on (black -> yellow) as the current reaches it. The wire sits behind the steps. */
.steps--wire { position: relative; gap: 28px; }
.steps--wire .step { padding: 0; background: none; border: 0; box-shadow: none; gap: 18px; }
.steps--wire .step:hover { transform: none; box-shadow: none; }
.steps--wire .step::before { content: none; }
.step-num { position: relative; z-index: 1; width: 56px; height: 64px; display: grid; place-items: center; isolation: isolate;
  font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--yellow); transition: color 0.3s ease, filter 0.4s ease; }
.step-num::before { content: ""; position: absolute; inset: 0; z-index: -1; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--black); transition: background 0.3s ease; }
.step-card { padding: 26px; border-radius: var(--radius-lg); background: #fff; border: 1px solid var(--ink-line); display: grid; gap: 10px; align-content: start; box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), box-shadow 0.3s ease, border-color 0.4s ease; }
.step-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step.is-live .step-num { color: var(--ink); filter: drop-shadow(0 0 10px rgba(237,255,0,0.75)) drop-shadow(0 0 2px rgba(237,255,0,0.9)); animation: node-on 0.45s linear; }
.step.is-live .step-num::before { background: var(--yellow); }
.step.is-live .step-card { border-color: rgba(11,10,10,0.3); }
@keyframes node-on { 0% { opacity: 0.4; } 30% { opacity: 1; } 45% { opacity: 0.55; } 100% { opacity: 1; } }
.wire { position: absolute; z-index: 0; pointer-events: none; --wp: 0; }
.wire--h { height: 6px; border-radius: 3px; }
.wire--v { width: 6px; border-radius: 3px; }
.wire::before { content: ""; position: absolute; inset: 0; border-radius: inherit; background: #2a2828; box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 1px 2px rgba(0,0,0,0.25); }
.wire-fill { position: absolute; left: 0; top: 0; border-radius: inherit; background: var(--yellow); box-shadow: 0 0 10px rgba(237,255,0,0.75), 0 0 2px rgba(237,255,0,0.9); overflow: hidden; }
.wire--h .wire-fill { height: 100%; width: calc(var(--wp) * 100%); }
.wire--v .wire-fill { width: 100%; height: calc(var(--wp) * 100%); }
.wire-fill::after { content: ""; position: absolute; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, rgba(255,255,255,0) 70%); width: 22px; height: 22px; }
.wire--h .wire-fill::after { top: -8px; left: -22px; animation: spark-h 1.3s linear infinite; }
.wire--v .wire-fill::after { left: -8px; top: -22px; animation: spark-v 1.3s linear infinite; }
@keyframes spark-h { to { left: 100%; } }
@keyframes spark-v { to { top: 100%; } }
@media (max-width: 768px) {
  .steps--wire .step { grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 16px; }
}
@media (prefers-reduced-motion: reduce) { .wire-fill::after { animation: none; display: none; } .step.is-live .step-num { animation: none; } }
html.is-static .wire-fill::after { display: none; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: 10px; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--ink-line); border-radius: var(--radius-md); padding: 0 22px; transition: border-color 0.2s ease; }
.faq details[open] { border-color: rgba(11,10,10,0.35); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-family: var(--font-display); font-weight: 800; font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 1.6rem; line-height: 1; color: var(--ink-mute); transition: transform 0.3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--ink-soft); }
.faq summary:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: 4px; }
.faq .a { padding: 0 0 20px; color: var(--ink-soft); max-width: 68ch; }
.faq .a a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.faq .a a:hover { color: var(--ink-mute); }
.faq .a a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; border-radius: 2px; }

/* FAQ, numbered (Services): full-width spec-sheet list, each question numbered in a black hex tile, slim call bar under it */
.faq--numbered { max-width: none; counter-reset: q; }
.faq--numbered summary { justify-content: flex-start; padding: 14px 0; }
.faq--numbered summary::before { counter-increment: q; content: counter(q, decimal-leading-zero); flex: none; width: 44px; height: 50px; display: grid; place-items: center;
  clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--black); color: var(--yellow); font-family: var(--font-display); font-weight: 800; font-size: 1rem; }
.faq--numbered summary::after { margin-left: auto; }
.faq--numbered .a { padding-left: 60px; }
.faq-callbar { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 18px; padding: 14px 20px 14px 14px; border-radius: var(--radius-md); color: var(--on-dark);
  background: linear-gradient(100deg, var(--black-2) 0%, var(--black) 100%); box-shadow: var(--shadow-md); }
.faq-callbar .ico { flex: none; width: 40px; height: 46px; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); background: var(--yellow); color: var(--ink); }
.faq-callbar .ico svg { width: 20px; height: 20px; }
.faq-callbar p { flex: 1 1 280px; font-size: var(--t-sm); color: var(--on-dark-soft); }
.faq-callbar p strong { color: #fff; }
.faq-callbar .link-arrow { color: var(--yellow); }
@media (max-width: 560px) {
  .faq--numbered summary::before { width: 36px; height: 42px; font-size: 0.85rem; }
  .faq--numbered .a { padding-left: 0; }
}
/* Breaker-switch FAQ: the "+" becomes a breaker switch that flips ON when a question opens; the hex number lights up,
   the answer slides open (script.js animates the height) and only one question stays open at a time. */
.faq--breaker details { transition: border-color 0.3s ease, box-shadow 0.3s ease; }
.faq--breaker details[open] { border-color: var(--ink); box-shadow: var(--shadow-md); }
.faq--breaker summary::before { transition: background 0.3s ease, color 0.3s ease; }
.faq--breaker details[open] summary::before { background: var(--yellow); color: var(--ink); }
.faq--breaker summary::after {
  content: ""; flex: none; width: 44px; height: 24px; border-radius: 5px; border: 2px solid var(--ink); box-sizing: border-box;
  background: linear-gradient(var(--ink), var(--ink)) no-repeat 3px 50% / 16px 14px, #fff;
  transition: background-position 0.25s var(--ease), background-color 0.25s ease; transform: none;
}
.faq--breaker details[open] summary::after { transform: none; background-color: var(--yellow); background-position: calc(100% - 3px) 50%; }
.faq--breaker summary:hover::after { background-color: rgba(237,255,0,0.35); }
.faq--breaker details[open] summary:hover::after { background-color: var(--yellow); }
.faq--breaker details.is-anim { overflow: hidden; }
.faq--breaker details[open] .a { animation: ans-in 0.4s var(--ease) both; }
@keyframes ans-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ---------- Story / about ---------- */
.story-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.story-copy { display: grid; gap: 18px; }
.story-copy p { color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.65; }
.story-copy p.big { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.12; color: var(--ink); }
.story-media { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 16px; }
.story-photo { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4 / 5; background: var(--black); box-shadow: var(--shadow-lg); position: relative; }
.story-photo img { width: 100%; height: 100%; object-fit: cover; }
.story-photo .tag { position: absolute; left: 18px; bottom: 18px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: var(--t-sm); }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.stat { padding: 18px; border-radius: var(--radius-md); background: #fff; border: 1px solid var(--ink-line); display: grid; gap: 2px; }
.stat b { font-family: var(--font-display); font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--ink); }
.stat span { font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-mute); }
.placeholder-block { border: 2px dashed rgba(237,255,0,0.45); border-radius: var(--radius-lg); padding: 28px; background: rgba(237,255,0,0.04); display: grid; gap: 8px; }
.placeholder-block strong { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--yellow); letter-spacing: 0.02em; }
.placeholder-block p { color: var(--on-dark-soft); font-size: var(--t-sm); }
.cream .placeholder-block { border-color: rgba(11,10,10,0.28); background: rgba(11,10,10,0.03); }
.cream .placeholder-block strong { color: var(--ink); }
.cream .placeholder-block p { color: var(--ink-soft); }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.contact-side { display: grid; gap: 22px; position: sticky; top: calc(var(--nav-h) + 32px); }
.contact-way { display: grid; gap: 4px; padding: 20px 0; border-top: 1px solid var(--on-dark-line); }
.contact-way span { font-size: var(--t-xs); letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-mute); }
.contact-way a, .contact-way b { font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; color: #fff; text-transform: none; transition: color 0.2s ease; }
.contact-way a:hover { color: var(--yellow); }
.contact-way a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.contact-way p { font-size: var(--t-sm); color: var(--on-dark-soft); }
.form { display: grid; gap: 16px; background: #fff; color: var(--ink); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow-lg); }
#quote-form { scroll-margin-top: calc(var(--nav-h) + 24px); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: var(--ink); }
.field label small { font-weight: 500; text-transform: none; letter-spacing: 0; color: var(--ink-mute); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 12px 14px; border: 1.5px solid rgba(11,10,10,0.42); border-radius: var(--radius-sm);
  font: inherit; font-size: 0.9375rem; color: var(--ink); background: var(--paper);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.input:hover, .select:hover, .textarea:hover { border-color: rgba(11,10,10,0.6); }
.input:focus, .select:focus, .textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 4px rgba(237,255,0,0.45); transform: translateY(-1px); background: #fff; }
.textarea { min-height: 120px; resize: vertical; }
.select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230B0A0A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 38px; }
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.check { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border: 1.5px solid var(--ink-line); border-radius: var(--radius-sm); font-size: var(--t-sm); font-weight: 500; cursor: pointer; transition: border-color 0.2s ease, background 0.2s ease; background: var(--paper); }
.check:hover { border-color: rgba(11,10,10,0.35); }
.check input { width: 18px; height: 18px; accent-color: var(--ink); margin: 0; }
.check:has(input:checked) { background: var(--yellow); border-color: var(--yellow); }
.check:has(input:focus-visible) { outline: 2px solid var(--ink); outline-offset: 2px; }
.form-consent { font-size: var(--t-xs); color: var(--ink-mute); }
.form-consent a { text-decoration: underline; text-underline-offset: 2px; }
.form-consent a:hover { color: var(--ink); }
.form-status { font-size: var(--t-sm); font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #0E7C5B; }
.form-status.err { color: #B3261E; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

/* ---------- CTA band: dark strip + yellow hex badge (the logo's hexagon) holding the phone number ---------- */
.cta-band { position: relative; overflow: clip; isolation: isolate; color: var(--on-dark); border-top: 4px solid var(--yellow);
  background:
    radial-gradient(ellipse 45% 85% at 82% 50%, rgba(237,255,0,0.13) 0%, transparent 62%),
    linear-gradient(180deg, #1a1919 0%, var(--black-2) 100%); }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("assets/pattern/pattern-1.webp") center / 1400px auto repeat; opacity: 0.07; mix-blend-mode: screen; pointer-events: none; }
.cta-band-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 48px; align-items: center; padding-block: 72px; }
.cta-band h2 { font-size: var(--t-h2); color: #fff; max-width: 16ch; }
.cta-band p { margin-top: 12px; color: var(--on-dark-soft); max-width: 46ch; }
.cta-band .btn { margin-top: 26px; }
.cta-hex { position: relative; isolation: isolate; width: 250px; aspect-ratio: 0.866; display: grid; place-content: center; justify-items: center; gap: 6px; text-align: center; color: var(--ink); margin-inline: 24px;
  transition: transform 0.3s var(--ease); }
.cta-hex::before, .cta-hex::after { content: ""; position: absolute; z-index: -1; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); transition: background 0.2s ease, transform 0.4s var(--ease); }
.cta-hex::before { inset: 0; background: var(--yellow); }
.cta-hex::after { inset: -18px; z-index: -2; background: rgba(237,255,0,0.14); }
.cta-hex-label { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.cta-hex-num { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; letter-spacing: -0.01em; }
.cta-hex-sub { font-size: var(--t-xs); color: rgba(11,10,10,0.7); }
.cta-hex:hover { transform: rotate(-4deg); }
.cta-hex:hover::before { background: #F4FF4D; }
.cta-hex:hover::after { transform: rotate(10deg); }
.cta-hex:focus-visible { outline: 2px solid var(--yellow); outline-offset: 22px; }
.cta-hex:active { transform: rotate(-4deg) scale(0.97); }

/* ---------- Footer ---------- */
.footer { background: var(--black); color: var(--on-dark); border-top: 1px solid var(--on-dark-line); position: relative; overflow: hidden; }
.footer-top { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.6fr); gap: 48px; align-items: end; padding: 64px 0 36px; }
.footer-brand { display: grid; gap: 16px; align-content: start; justify-items: start; }
.footer-rows { display: grid; gap: 22px; justify-items: start; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.footer-nav a { font-family: var(--font-display); font-weight: 800; font-size: 0.95rem; text-transform: uppercase; color: var(--on-dark); transition: color 0.2s ease; }
.footer-nav a:hover { color: var(--yellow); }
.footer-nav a:focus-visible { outline: 1px solid var(--yellow); outline-offset: 3px; }
.footer-nav a:active { color: var(--yellow-deep); }
.footer-contact { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 24px; font-size: var(--t-sm); color: var(--on-dark-soft); }
.footer-contact a { color: var(--on-dark-soft); transition: color 0.2s ease; }
.footer-contact a:hover { color: var(--yellow); }
.footer-contact a:focus-visible { outline: 1px solid var(--yellow); outline-offset: 2px; }
.footer-contact a:active { color: var(--yellow-deep); }
.footer-contact a.big { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--yellow); }
.footer-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; padding: 18px 0 20px; border-top: 1px solid var(--on-dark-line); font-size: var(--t-xs); color: var(--on-dark-mute); }
.footer-meta a { color: var(--on-dark-soft); }
.footer-meta a:hover { color: var(--yellow); }
.footer-meta a:focus-visible { outline: 1px solid var(--yellow); outline-offset: 2px; }
.footer-meta .legal-links { display: flex; gap: 16px; }
/* Giant wordmark across the full width, shown whole (Nigel, 31 Oct 2026: it must not be cut off) */
.footer-mark { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; white-space: nowrap; text-align: center; overflow: hidden;
  font-size: clamp(2.2rem, 11vw, 10.5rem); line-height: 1; letter-spacing: -0.035em; color: var(--yellow); margin: 0; padding: 0.08em 0 0.14em; user-select: none; pointer-events: none; }
.footer-brand img { height: 60px; width: auto; }
.footer-brand p { font-size: var(--t-sm); color: var(--on-dark-soft); max-width: 36ch; }
.footer-brand .slogan { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--yellow); font-size: 0.95rem; letter-spacing: 0.02em; }
.footer-social { display: flex; gap: 10px; margin-top: 2px; }
.footer-social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--on-dark); border: 1px solid var(--on-dark-line); background: rgba(245,237,224,0.04);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease; }
.footer-social a:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: translateY(-2px); }
.footer-social a:active { transform: translateY(0); }
.footer-social a:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.footer-social svg { width: 18px; height: 18px; }
.inline-link { color: #fff; text-decoration: underline; text-decoration-color: var(--yellow); text-decoration-thickness: 2px; text-underline-offset: 4px; transition: color 0.2s ease; }
.inline-link:hover { color: var(--yellow); }
.inline-link:active { opacity: 0.8; }
.inline-link:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

/* ---------- Mobile sticky CTA ---------- */
/* Phone quick-contact bar: big "Get a quote" + smaller "Call". script.js slides it away (.is-tucked) while the hero
   buttons, the CTA band, the footer or the quote form are on screen, so it never repeats or covers them. */
.mobile-cta { display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; grid-template-columns: 1fr auto; gap: 8px;
  padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom, 0px)); background: rgba(3,2,2,0.94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-top: 1px solid var(--on-dark-line);
  box-shadow: 0 -8px 24px rgba(0,0,0,0.3), 0 -1px 0 rgba(0,0,0,0.25);
  transition: transform 0.35s var(--ease), visibility 0s; }
.mobile-cta.is-tucked { transform: translateY(110%); visibility: hidden; transition: transform 0.35s var(--ease), visibility 0s linear 0.35s; }
.mobile-cta a { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 18px;
  font-family: var(--font-display); font-weight: 800; font-size: 1rem; text-transform: uppercase; letter-spacing: 0.02em;
  clip-path: polygon(0 50%, 12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%); transition: background 0.2s ease, transform 0.15s ease; }
.mobile-cta svg { width: 18px; height: 18px; flex: none; }
.mcta-quote { background: var(--yellow); color: var(--ink); }
.mcta-call { background: #2a2828; color: var(--yellow); min-width: 112px; }
.mobile-cta a:active { transform: scale(0.97); }
.mcta-quote:active { background: var(--yellow-deep); }
.mobile-cta a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; clip-path: none; }

/* ---------- Legal pages ---------- */
.legal { max-width: 780px; }
.legal h2 { font-size: 1.35rem; margin: 40px 0 12px; }
.legal h3 { font-size: 1.05rem; margin: 24px 0 8px; }
.legal p, .legal li { color: var(--ink-soft); margin-bottom: 12px; }
.legal ul { list-style: disc; padding-left: 22px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--ink-mute); }
.legal a.btn { color: var(--on-dark); text-decoration: none; }
.legal a.btn:hover { color: var(--on-dark); }
.legal .updated { font-size: var(--t-sm); color: var(--ink-mute); margin-bottom: 24px; }

/* ---------- 404 ---------- */
.nf { min-height: var(--vh100); display: grid; place-items: center; text-align: center; padding: calc(var(--nav-h) + 40px) var(--gutter) 80px; }
.nf h1 { font-size: clamp(4rem, 14vw, 9rem); color: var(--yellow); line-height: 0.9; }
.nf p { color: var(--on-dark-soft); margin: 16px auto 28px; max-width: 40ch; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }
.js .recent-row.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease), background 0.3s ease; }
.d1 { transition-delay: 0.08s; } .d2 { transition-delay: 0.16s; } .d3 { transition-delay: 0.24s; } .d4 { transition-delay: 0.32s; }

/* ---------- Grids ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

/* ---------- Static (screenshot) + reduced motion ---------- */
html.is-static .reveal { opacity: 1; transform: none; transition: none; }
html.is-static .circle { height: auto; }
html.is-static .circle-stage { position: relative; height: auto; min-height: 640px; }
html.is-static .circle-media { clip-path: none; --pe: 1; }
html.is-static .circle-line--a { display: none; }
html.is-static .circle-line--b { opacity: 1; transform: none; padding: 120px var(--gutter); }
html.is-static .circle-ring { display: none; }
html.is-static .hscroll { height: auto !important; }
html.is-static .hscroll-stage { position: static; height: auto; overflow: visible; padding: 88px 0; }
html.is-static .hscroll-track { transform: none; width: auto; flex-wrap: wrap; padding: 0 var(--gutter); max-width: calc(var(--container) + 2 * var(--gutter)); margin: 0 auto; }
html.is-static .words .w { opacity: 1; }
html.is-static .split-words > li:first-child { opacity: 1; transform: none; }
html.is-static .hero-video { display: none; }
html.is-static .marquee-track { animation: none; }
html.is-static .hero-poster { animation: none; transform: none; }
html.is-static * { animation-duration: 0s !important; transition-duration: 0s !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-poster { animation: none; transform: none; }
  .hero-h .power-on { animation: power-fade 0.6s ease-out both; }
  .marquee-track { animation-duration: 70s; }
  .hero-video { display: none; }
}

/* ==========================================================================
   Builds, galleries & extra motion (v2)
   ========================================================================== */

/* ---------- Motion utilities (all gated by .js; ?static flattens) ---------- */
.js .reveal-clip > img:first-child, .js .reveal-clip .g-btn img { clip-path: inset(100% 0 0 0); transition: clip-path 1.1s var(--ease) calc(var(--d, 0) * 70ms), transform 1.4s var(--ease) calc(var(--d, 0) * 70ms); }
.js .reveal-clip[data-motion] > img:first-child { transition: clip-path 1.1s var(--ease); }
.js .reveal-clip:not([data-motion]) > img:first-child, .js .reveal-clip .g-btn img { transform: scale(1.14); }
.js .reveal-clip.visible > img:first-child, .js .reveal-clip.visible .g-btn img { clip-path: inset(0 0 0 0); }
.js .reveal-clip.visible:not([data-motion]) > img:first-child, .js .reveal-clip.visible .g-btn img { transform: none; }
.js .reveal-clip.visible .g-btn:hover img { transform: scale(1.05); transition-delay: 0s; }
.js .reveal-clip.visible .g-btn:active img { transform: scale(1.02); transition-delay: 0s; }
.js .reveal-circle > iframe { clip-path: circle(0% at 12% 88%); transition: clip-path 1.5s var(--ease); }
.js .reveal-circle.visible > iframe { clip-path: circle(150% at 12% 88%); }
.js .stagger > * { opacity: 0; transform: translateY(14px); transition: opacity 0.55s var(--ease), transform 0.55s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.js .stagger.visible > * { opacity: 1; transform: none; }
/* Photo wipe (Nigel's story "A few more of his builds"): each photo wipes up into its frame, staggered across the row */
.js .builds-wipe > * { transition-delay: calc(var(--i, 0) * 160ms); }
.js .builds-wipe .bc-media { clip-path: inset(100% 0 0 0); transition: clip-path 1s var(--ease) calc(var(--i, 0) * 160ms + 120ms); }
.js .builds-wipe.visible .bc-media { clip-path: inset(0 0 0 0); }
html.is-static .builds-wipe .bc-media { clip-path: none; }
.js .split-h .sw { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.js .split-h .sw > span { display: inline-block; transform: translateY(108%); transition: transform 0.85s var(--ease); transition-delay: calc(var(--i, 0) * 38ms); }
.js .split-h.visible .sw > span { transform: none; }
[data-motion="parallax"] { overflow: hidden; }

/* ---------- Cross-page transitions (progressive enhancement) ---------- */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out 0.28s ease both; }
::view-transition-new(root) { animation: vt-in 0.5s var(--ease) both; }
::view-transition-group(*) { animation-duration: 0.55s; animation-timing-function: cubic-bezier(0.16, 1, 0.3, 1); }
@keyframes vt-out { to { opacity: 0; transform: translateY(-10px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(16px); } }
.nav { view-transition-name: site-nav; }

/* ---------- Build cards ---------- */
.builds-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.builds-grid--3 { margin-top: 4px; }
.bc { display: flex; min-width: 0; }
.bc--lg { grid-column: span 2; grid-row: span 2; }
.build-card {
  position: relative; display: flex; flex-direction: column; width: 100%;
  background: #fff; border: 1px solid var(--ink-line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s ease, border-color 0.3s ease;
}
.build-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(11,10,10,0.28); }
.build-card:active { transform: translateY(-2px); }
.build-card:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.bc-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--black); }
.bc--lg .bc-media { aspect-ratio: auto; flex: 1 1 auto; min-height: 340px; }
.bc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.9s var(--ease); }
.build-card:hover .bc-media img { transform: scale(1.06); }
.bc-body { display: grid; gap: 8px; padding: 20px 22px 22px; }
.bc-meta > span:first-child { flex: none; white-space: nowrap; }
.bc-meta > span:last-child:not(:first-child) { text-align: right; }
.bc-meta { display: flex; justify-content: space-between; gap: 12px; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-mute); }
.bc-title {
  font-size: 1.12rem; line-height: 1.15; color: var(--ink); padding-bottom: 4px;
  background: linear-gradient(var(--yellow-deep), var(--yellow-deep)) 0 100% / 0 3px no-repeat;
  transition: background-size 0.5s var(--ease);
}
.bc--lg .bc-title { font-size: clamp(1.3rem, 2.2vw, 1.75rem); }
.build-card:hover .bc-title, .build-card:focus-visible .bc-title { background-size: 100% 3px; }
.bc-specs { font-size: var(--t-sm); color: var(--ink-soft); }
.bc-arrow {
  position: absolute; top: 16px; right: 16px; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; background: var(--yellow); color: var(--ink); box-shadow: var(--shadow-yellow);
  opacity: 0; transform: scale(0.6) rotate(-45deg); transition: opacity 0.25s ease, transform 0.4s var(--ease);
}
.bc-arrow svg { width: 18px; height: 18px; }
.build-card:hover .bc-arrow, .build-card:focus-visible .bc-arrow { opacity: 1; transform: none; }
.dark .build-card { background: var(--black-3); border-color: var(--on-dark-line); }
.dark .build-card:hover { border-color: rgba(237,255,0,0.45); }
.dark .build-card:focus-visible { outline-color: var(--yellow); }
.dark .bc-title { color: #fff; background-image: linear-gradient(var(--yellow), var(--yellow)); }
.dark .bc-meta { color: var(--on-dark-mute); }
.dark .bc-specs { color: var(--on-dark-soft); }

/* ---------- Builds index: filters ---------- */
.page-hero-tag { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; color: var(--yellow); margin-top: 6px; letter-spacing: 0.01em; }
.filter-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 28px; }
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.filter-chip {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 16px; border-radius: 999px;
  border: 1.5px solid var(--ink-line); background: #fff; color: var(--ink-soft); font-weight: 600; font-size: var(--t-sm);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.filter-chip span { font-size: var(--t-xs); font-weight: 800; color: var(--ink-mute); transition: color 0.2s ease; }
.filter-chip:hover { border-color: var(--ink); color: var(--ink); }
.filter-chip:active { transform: scale(0.97); }
.filter-chip:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.filter-chip.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.filter-chip.is-on span { color: var(--yellow); }
.filter-count { font-size: var(--t-sm); color: var(--ink-mute); }
.builds-grid.is-filtered .bc--lg { grid-column: auto; grid-row: auto; }
.builds-grid.is-filtered .bc--lg .bc-media { aspect-ratio: 4 / 3; flex: none; min-height: 0; }
.builds-grid.is-filtered .bc--lg .bc-title { font-size: 1.12rem; }
.bc.is-hidden { display: none; }
.bc.is-leaving { opacity: 0 !important; transform: scale(0.96) !important; transition: opacity 0.18s ease, transform 0.18s ease !important; }

/* ---------- Quick jobs (card + popup) ---------- */
button.build-card { font: inherit; text-align: left; color: inherit; padding: 0; cursor: pointer; }
.bc-quick { display: inline-flex; align-items: center; gap: 6px; justify-self: start; margin-top: 2px; padding: 4px 10px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.04em; }
.builds-note { margin-top: 24px; font-size: var(--t-sm); color: var(--ink-mute); }
.job-modal { width: min(1100px, calc(100vw - 32px)); max-height: calc(100vh - 48px); max-height: calc(100dvh - 48px); margin: auto; padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--paper); color: var(--ink); overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 8px 24px rgba(0,0,0,0.3); }
.job-modal::backdrop { background: rgba(3,2,2,0.82); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.job-modal[open] { animation: jm-in 0.45s var(--ease); }
.job-modal[open]::backdrop { animation: jm-fade 0.3s ease; }
@keyframes jm-in { from { opacity: 0; transform: translateY(24px) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes jm-fade { from { opacity: 0; } }
.jm-inner { position: relative; display: grid; grid-template-columns: 1.15fr 1fr; max-height: inherit; }
.jm-media { background: var(--black); display: grid; grid-template-rows: minmax(0, 1fr) auto; min-height: 0; }
.jm-main { min-height: 0; display: grid; place-items: center; }
.jm-img { width: 100%; height: 100%; max-height: calc(100vh - 160px); object-fit: contain; transition: opacity 0.25s ease; }
.jm-img.is-swapping { opacity: 0; }
.jm-thumbs { display: flex; gap: 8px; padding: 10px; overflow-x: auto; scrollbar-width: none; }
.jm-thumb { flex: 0 0 76px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; padding: 0; opacity: 0.55; outline: 2px solid transparent; outline-offset: 2px; transition: opacity 0.2s ease, outline-color 0.2s ease, transform 0.15s ease; }
.jm-thumb img { width: 100%; height: 100%; object-fit: cover; }
.jm-thumb:hover { opacity: 0.9; }
.jm-thumb:active { transform: scale(0.96); }
.jm-thumb:focus-visible { outline-color: var(--yellow); }
.jm-thumb.is-on { opacity: 1; outline-color: var(--yellow); }
.jm-body { display: grid; gap: 14px; align-content: start; padding: 36px 32px 32px; overflow-y: auto; }
.jm-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); padding-right: 40px; }
.jm-tagline { font-size: var(--t-lg); color: var(--ink); font-weight: 500; }
.job-modal .eyebrow { color: var(--ink); }
.job-modal .eyebrow::before { background: var(--yellow-deep); }
.jm-body > p { color: var(--ink-soft); line-height: 1.65; }
.jm-body .btn { justify-self: start; margin-top: 6px; }
.jm-parts h3 { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.14em; color: var(--ink-mute); margin-bottom: 6px; }
.jm-parts li { position: relative; padding-left: 16px; font-size: var(--t-sm); color: var(--ink-soft); margin-bottom: 4px; }
.jm-parts li::before { content: ""; position: absolute; left: 0; top: 0.6em; width: 6px; height: 6px; background: var(--yellow-deep); transform: rotate(45deg); }
.job-modal .build-specs li { background: var(--black); border-color: transparent; color: var(--on-dark-soft); backdrop-filter: none; -webkit-backdrop-filter: none; }
.job-modal .jm-close { top: 14px; right: 14px; z-index: 2; background: var(--black); border-color: rgba(245,237,224,0.25); color: #fff; box-shadow: 0 4px 14px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.3); }
.job-modal .jm-close:hover { background: var(--yellow); color: var(--ink); }
html.jm-open, html.jm-open body { overflow: hidden; }

/* ---------- Build page: hero ---------- */
.build-hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: flex-end; background: var(--black); color: var(--on-dark); isolation: isolate; overflow: clip; }
.build-hero-media { position: absolute; inset: 0; z-index: -2; }
.build-hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 50%); }
.build-hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(3,2,2,0.95) 0%, rgba(3,2,2,0.82) 30%, rgba(3,2,2,0.5) 55%, rgba(3,2,2,0.12) 80%),
    linear-gradient(to right, rgba(3,2,2,0.7) 0%, rgba(3,2,2,0.35) 45%, rgba(3,2,2,0) 70%),
    linear-gradient(to bottom, rgba(3,2,2,0.6) 0%, rgba(3,2,2,0) 22%);
}
.build-hero-inner { width: 100%; padding-top: calc(var(--nav-h) + 56px); padding-bottom: 52px; display: grid; gap: 14px; justify-items: start; animation: rise 0.8s var(--ease); }
.build-hero .crumbs { margin-bottom: 4px; }
.build-hero .eyebrow { color: var(--yellow); }
.build-hero h1 { font-size: clamp(2rem, 4.2vw, 3.25rem); color: #fff; max-width: 20ch; text-shadow: 0 2px 18px rgba(0,0,0,0.55), 0 1px 2px rgba(0,0,0,0.4); }
.build-hero .crumbs, .build-hero .eyebrow, .build-tagline, .hero-copy .eyebrow, .hero-sub, .hero-caption { text-shadow: 0 1px 10px rgba(0,0,0,0.75), 0 1px 2px rgba(0,0,0,0.6); }
.hero-h { text-shadow: 0 2px 22px rgba(0,0,0,0.5), 0 1px 2px rgba(0,0,0,0.35); }
.build-tagline { font-size: var(--t-lg); color: rgba(245,237,224,0.9); max-width: 58ch; }
.build-specs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.build-specs li {
  display: inline-flex; align-items: baseline; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: rgba(12,11,11,0.55); border: 1px solid var(--on-dark-line); color: var(--on-dark-soft); font-size: var(--t-sm);
  backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%);
}
.build-specs b { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; color: var(--yellow); font-variant-numeric: tabular-nums; }

.gallery-jump {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 4px; padding: 8px 10px 8px 16px; border-radius: 999px;
  background: rgba(12,11,11,0.55); border: 1px solid var(--on-dark-line); color: #fff; font-size: var(--t-sm); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  backdrop-filter: blur(10px) saturate(140%); -webkit-backdrop-filter: blur(10px) saturate(140%);
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}
.gj-arrow { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--yellow); color: var(--ink); }
.gj-arrow svg { width: 15px; height: 15px; animation: gj-nudge 1.8s var(--ease) infinite; }
@keyframes gj-nudge { 0%, 100% { transform: translateY(-1px); } 50% { transform: translateY(3px); } }
.gallery-jump:hover { background: rgba(12,11,11,0.75); border-color: rgba(237,255,0,0.5); color: var(--yellow); }
.gallery-jump:active { transform: translateY(1px); }
.gallery-jump:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
@media (min-width: 769px) { .build-hero-inner { position: relative; } .gallery-jump { position: absolute; right: var(--gutter); bottom: 52px; margin: 0; } }
.build-gallery { scroll-margin-top: var(--nav-h); }

/* ---------- Build page: story + sheet ---------- */
.build-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.9fr); gap: clamp(32px, 5vw, 72px); align-items: start; }
.build-story { display: grid; gap: 18px; }
.build-story h2 { font-size: var(--t-h2); margin-top: 10px; }
.build-story > p { color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.7; }
.build-story > p.build-lead { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.25rem, 2.1vw, 1.65rem); line-height: 1.16; color: var(--ink); }
.build-cta-line { display: flex; flex-wrap: wrap; align-items: center; gap: 22px; margin-top: 10px; }
.build-sheet { position: static; }
.build-sheet.can-stick { position: sticky; top: calc(var(--nav-h) + 24px); }
.build-sheet-inner {
  display: grid; gap: 18px; padding: 28px; border-radius: var(--radius-lg); background: var(--black); color: var(--on-dark);
  border-left: 4px solid var(--yellow);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12), 0 30px 70px rgba(0,0,0,0.28), 0 0 0 1px rgba(237,255,0,0.08);
}
.build-sheet .eyebrow { color: var(--yellow); }
.build-sheet .eyebrow::before { background: var(--yellow); }
.sheet-title { font-size: 1.5rem; color: #fff; margin-top: -8px; }
.sheet-group h3 { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.14em; color: var(--yellow); margin-bottom: 8px; }
.sheet-group ul { display: grid; gap: 7px; }
.sheet-group li { position: relative; padding-left: 18px; font-size: var(--t-sm); line-height: 1.5; color: var(--on-dark-soft); }
.sheet-group li::before { content: ""; position: absolute; left: 1px; top: 0.58em; width: 7px; height: 7px; background: var(--yellow); transform: rotate(45deg); }
.build-sheet .chip { border-color: var(--on-dark-line); color: var(--on-dark-soft); background: rgba(245,237,224,0.05); transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease; }
.build-sheet .chip:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.build-sheet .chip:active { transform: scale(0.97); }
.build-sheet .chip:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }

.pull-quote { margin: 10px 0; padding: 24px 28px; border-left: 4px solid var(--yellow-deep); border-radius: 0 var(--radius-md) var(--radius-md) 0; background: #fff; box-shadow: var(--shadow-sm); }
.pull-quote p { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.15rem, 2vw, 1.45rem); line-height: 1.2; color: var(--ink); }
.pull-quote cite { display: block; margin-top: 10px; font-style: normal; font-size: var(--t-sm); color: var(--ink-mute); }
.pull-quote--dark { margin-top: 40px; background: rgba(245,237,224,0.04); border-left-color: var(--yellow); box-shadow: none; }
.pull-quote--dark p { color: #fff; }
.pull-quote--dark cite { color: var(--on-dark-mute); }

.build-review { display: grid; gap: 14px; padding: 28px; border-radius: var(--radius-lg); background: var(--black); color: var(--on-dark); box-shadow: var(--shadow-md); }
.build-review .eyebrow { color: var(--yellow); }
.build-review .eyebrow::before { background: var(--yellow); }
.build-review-lead { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: 1.15; color: #fff; }
.build-review-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.build-review h3 { font-family: var(--font-body); font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.14em; color: var(--yellow); margin-bottom: 8px; }
.build-review li { position: relative; padding-left: 16px; margin-bottom: 6px; font-size: var(--t-sm); color: var(--on-dark-soft); }
.build-review li::before { content: "+"; position: absolute; left: 0; font-weight: 800; color: var(--yellow); }
.build-review-cols > div:last-child li::before { content: "–"; }
.build-review-score { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; color: var(--yellow); }

/* ---------- Build page: gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: clamp(150px, 17vw, 240px); grid-auto-flow: dense; gap: 14px; }
.g-item { border-radius: var(--radius-md); overflow: hidden; background: var(--black-3); }
.g-port { grid-row: span 2; }
.g-lead { grid-column: span 2; grid-row: span 2; }
.g-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; cursor: zoom-in; border-radius: inherit; overflow: hidden; }
.g-btn img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.8s var(--ease); }
.g-btn::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 0 var(--yellow); transition: box-shadow 0.3s ease; pointer-events: none; }
.g-btn:hover img { transform: scale(1.05); }
.g-btn:hover::after { box-shadow: inset 0 0 0 3px var(--yellow); }
.g-btn:active img { transform: scale(1.02); }
.g-btn:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(3,2,2,0.95); color: var(--on-dark); overflow: hidden; }
.lightbox[open] { display: grid; grid-template-rows: minmax(0, 1fr) auto; }
.lightbox::backdrop { background: transparent; }
.lb-stage { display: grid; place-items: center; min-height: 0; padding: 72px 80px 8px; touch-action: pan-y; }
.lb-img { max-width: calc(100vw - 180px); max-height: calc(100vh - 160px); max-height: calc(100dvh - 160px); width: auto; height: auto; object-fit: contain; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3); transform-origin: center; }
.lb-caption { display: flex; gap: 14px; align-items: baseline; justify-content: center; padding: 14px 24px 26px; font-size: var(--t-sm); color: var(--on-dark-soft); }
.lb-count { font-family: var(--font-display); font-weight: 800; color: var(--yellow); white-space: nowrap; font-variant-numeric: tabular-nums; }
.lb-text { max-width: 70ch; }
.lb-btn {
  position: absolute; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(245,237,224,0.08); border: 1px solid var(--on-dark-line); color: #fff;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}
.lb-btn svg { width: 22px; height: 22px; }
.lb-btn:hover { background: var(--yellow); color: var(--ink); border-color: var(--yellow); }
.lb-btn:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }
.lb-close { top: 16px; right: 16px; }
.lb-close:active { transform: scale(0.94); }
.lb-prev, .lb-next { top: 50%; transform: translateY(-50%); }
.lb-prev { left: 16px; }
.lb-next { right: 16px; }
.lb-prev:active, .lb-next:active { transform: translateY(-50%) scale(0.94); }
html.lb-open, html.lb-open body { overflow: hidden; }

/* ---------- Build page: prev / next ---------- */
.build-nav { display: grid; grid-template-columns: 1fr 1fr; background: var(--black); border-top: 1px solid var(--on-dark-line); }
.build-nav-item { position: relative; display: block; min-height: 260px; overflow: hidden; isolation: isolate; color: #fff; }
.build-nav-prev { border-right: 1px solid var(--on-dark-line); }
.bn-media { position: absolute; inset: 0; z-index: -2; }
.bn-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; transition: transform 1.1s var(--ease), opacity 0.4s ease; }
.build-nav-item::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(3,2,2,0.95) 0%, rgba(3,2,2,0.7) 45%, rgba(3,2,2,0.3) 100%); }
.bn-title { text-shadow: 0 1px 12px rgba(0,0,0,0.7); }
.build-nav-item:hover .bn-media img { transform: scale(1.08); opacity: 0.85; }
.build-nav-item:active .bn-media img { transform: scale(1.04); }
.build-nav-item:focus-visible { outline: 3px solid var(--yellow); outline-offset: -3px; }
.bn-body { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 28px; display: grid; gap: 6px; }
.build-nav-next .bn-body { text-align: right; justify-items: end; }
.bn-dir { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--yellow); }
.bn-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 2vw, 1.45rem); line-height: 1.12; max-width: 24ch; }

/* ---------- Home: recent builds ---------- */
.recent-list { border-top: 1px solid var(--on-dark-line); }
.recent-row {
  position: relative; display: grid; grid-template-columns: 56px minmax(0, 1fr) 210px 230px 42px; align-items: center; gap: 24px;
  padding: 22px 8px; border-bottom: 1px solid var(--on-dark-line); color: var(--on-dark);
  transition: background 0.3s ease;
}
.rr-thumb { display: none; }
.rr-no { font-family: var(--font-display); font-weight: 800; color: var(--on-dark-mute); font-variant-numeric: tabular-nums; transition: color 0.3s ease; }
.rr-title { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.05rem, 1.9vw, 1.45rem); line-height: 1.1; transition: transform 0.5s var(--ease), color 0.3s ease; }
.rr-cat { font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-dark-mute); }
.rr-spec { font-size: var(--t-sm); color: var(--on-dark-soft); }
.rr-arrow { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--on-dark-line); display: grid; place-items: center; transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease, transform 0.4s var(--ease); }
.rr-arrow svg { width: 18px; height: 18px; }
.recent-row:hover { background: rgba(245,237,224,0.03); }
.recent-row:hover .rr-title { transform: translateX(12px); color: var(--yellow); }
.recent-row:hover .rr-no { color: var(--yellow); }
.recent-row:hover .rr-arrow { background: var(--yellow); color: var(--ink); border-color: var(--yellow); transform: rotate(-45deg); }
.recent-row:active .rr-title { transform: translateX(6px); }
.recent-row:focus-visible { outline: 2px solid var(--yellow); outline-offset: 2px; }
/* Hover preview: the hovered row's own cover appears beside the mouse. CSS :hover shows it (so it can't be
   switched off by anything in script.js); script.js only eases it after the cursor via --tx / --ty / --tilt. */
@media (min-width: 769px) {
  .recent-list > li { position: relative; }
  .recent-list > li:hover { z-index: 4; }
  .rr-thumb { display: block; position: absolute; z-index: 5; left: var(--tx, 50%); top: var(--ty, 50%); width: 320px; aspect-ratio: 4 / 3;
    border-radius: 14px; overflow: hidden; pointer-events: none; opacity: 0; transform-origin: 0 50%;
    transform: translate3d(0, -55%, 0) rotate(var(--tilt, 0deg)) scale(0.9); transition: opacity 0.25s ease, transform 0.35s var(--ease);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 6px 14px rgba(0,0,0,0.35), 0 0 0 1px rgba(237,255,0,0.25); }
  .rr-thumb img { width: 100%; height: 100%; object-fit: cover; }
  .recent-row:hover .rr-thumb { opacity: 1; transform: translate3d(0, -55%, 0) rotate(var(--tilt, 0deg)) scale(1); }
}

/* ---------- Services: sticky rail + build links ---------- */
.services-layout { display: grid; grid-template-columns: 196px minmax(0, 1fr); gap: 48px; align-items: start; }
.service-rail { position: sticky; top: calc(var(--nav-h) + 32px); display: grid; gap: 22px; padding-top: 56px; }
.service-rail ol { display: grid; gap: 2px; border-left: 2px solid var(--ink-line); }
.service-rail a { display: flex; gap: 10px; align-items: baseline; margin-left: -2px; padding: 8px 0 8px 16px; border-left: 2px solid transparent; font-size: var(--t-sm); font-weight: 600; color: var(--ink-mute); transition: color 0.2s ease, border-color 0.25s ease; }
.service-rail a span { font-family: var(--font-display); font-weight: 800; font-size: var(--t-xs); color: var(--ink-mute); transition: color 0.2s ease; }
.service-rail a:hover { color: var(--ink); }
.service-rail a:active { color: var(--ink-soft); }
.service-rail a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.service-rail a.is-active { color: var(--ink); border-left-color: var(--ink); }
.service-rail a.is-active span { color: var(--ink); }
.btn-sm { --cut: 12px; min-height: 40px; padding: 8px 24px; font-size: var(--t-sm); }
.see-builds { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: var(--t-sm); }
.see-builds > span { color: var(--ink-mute); font-weight: 600; }
.see-builds a { display: inline-flex; padding: 6px 12px; border-radius: 999px; background: var(--black); color: #fff; font-size: var(--t-xs); font-weight: 600; transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease; }
.see-builds a:hover { background: var(--yellow); color: var(--ink); }
.see-builds a:active { transform: scale(0.97); }
.see-builds a:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

/* ---------- Service area: workshop card ---------- */
.workshop-card { display: grid; grid-template-columns: 1.1fr 1fr; margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; background: var(--black); color: var(--on-dark); box-shadow: var(--shadow-lg); }
.workshop-media { position: relative; min-height: 340px; }
.workshop-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.workshop-copy { display: grid; gap: 14px; align-content: center; padding: 36px; }
.workshop-copy .eyebrow { color: var(--yellow); }
.workshop-copy .eyebrow::before { background: var(--yellow); }
.workshop-copy h3 { font-size: 1.6rem; color: #fff; }
.workshop-copy p { color: var(--on-dark-soft); }
.workshop-copy .link-arrow { color: var(--yellow); }

/* ---------- Contact: sent state ---------- */
.form-status.ok::before { content: "\2713"; display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 8px; border-radius: 50%; background: #0E7C5B; color: #fff; font-size: 12px; font-weight: 800; vertical-align: 1px; animation: pop-in 0.5s var(--ease); }
.btn.is-sent { animation: sent-pulse 0.9s var(--ease); }
@keyframes pop-in { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes sent-pulse { 0% { filter: brightness(1.3); } 100% { filter: none; } }

/* ---------- Static + reduced motion for the new layer ---------- */
html.is-static .reveal-clip img, html.is-static .reveal-circle iframe { clip-path: none !important; }
html.is-static .reveal-clip img, html.is-static .g-btn img { transform: none; }
html.is-static .stagger > * { opacity: 1; transform: none; }
html.is-static .split-h .sw > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root) { animation: vt-fade-out 0.2s ease both; }
  ::view-transition-new(root) { animation: vt-fade-in 0.3s ease both; }
  ::view-transition-group(*) { animation-duration: 0.2s; }
}
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }

/* ---------- Responsive (new components) ---------- */
@media (max-width: 1080px) {
  .hero-scrim { background: linear-gradient(to top, rgba(3,2,2,0.95) 0%, rgba(3,2,2,0.72) 40%, rgba(3,2,2,0.3) 70%, rgba(3,2,2,0.2) 100%), linear-gradient(to right, rgba(3,2,2,0.6) 0%, rgba(3,2,2,0) 70%), linear-gradient(to bottom, rgba(3,2,2,0.55) 0%, rgba(3,2,2,0) 22%); }
  .services-layout { grid-template-columns: 1fr; }
  .service-rail { display: none; }
  .builds-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .build-grid { grid-template-columns: 1fr; }
  .build-sheet { position: static; }
  .recent-row { grid-template-columns: 56px minmax(0, 1fr) 190px 42px; }
  .rr-spec { display: none; }
  .workshop-card { grid-template-columns: 1fr; }
  .workshop-media { min-height: 260px; }
}
@media (max-width: 768px) {
  .rr-thumb { display: block; width: 84px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; }
  .rr-thumb img { width: 100%; height: 100%; object-fit: cover; }
}
@media (max-width: 768px) {
  .builds-grid { grid-template-columns: 1fr; }
  .jm-inner { display: block; overflow-y: auto; max-height: calc(100dvh - 32px); overscroll-behavior: contain; }
  .jm-media { grid-template-rows: auto auto; }
  .jm-main { min-height: auto; }
  .jm-img { height: auto; max-height: 46vh; }
  .jm-body { overflow: visible; padding: 26px 22px 28px; }
  .job-modal { max-height: calc(100dvh - 32px); }
  .bc--lg { grid-column: auto; grid-row: auto; }
  .bc--lg .bc-media { aspect-ratio: 4 / 3; flex: none; min-height: 0; }
  .build-hero { min-height: 78vh; }
  .build-hero-scrim { background: linear-gradient(to top, rgba(3,2,2,0.96) 0%, rgba(3,2,2,0.86) 45%, rgba(3,2,2,0.55) 70%, rgba(3,2,2,0.2) 90%), linear-gradient(to bottom, rgba(3,2,2,0.65) 0%, rgba(3,2,2,0) 20%); }
  .build-hero-media img { object-position: var(--mpos, var(--pos, 50% 50%)); }
  .build-hero-inner { padding-bottom: 36px; }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 42vw; gap: 10px; }
  .g-lead { grid-column: span 2; grid-row: span 1; }
  .build-review-cols { grid-template-columns: 1fr; }
  .build-nav { grid-template-columns: 1fr; }
  .build-nav-prev { border-right: 0; border-bottom: 1px solid var(--on-dark-line); }
  .build-nav-item { min-height: 200px; }
  .lb-stage { padding: 64px 12px 8px; }
  .lb-img { max-width: calc(100vw - 24px); max-height: calc(100vh - 260px); max-height: calc(100dvh - 260px); }
  .lb-prev, .lb-next { top: auto; bottom: 18px; transform: none; }
  .lb-prev:active, .lb-next:active { transform: scale(0.94); }
  .lb-caption { padding-bottom: 80px; }
  .recent-row { grid-template-columns: 84px minmax(0, 1fr) 36px; grid-template-areas: "thumb title arrow" "thumb cat arrow"; row-gap: 4px; column-gap: 14px; padding: 14px 0; }
  .rr-no, .rr-spec { display: none; }
  .rr-thumb { grid-area: thumb; }
  .rr-title { grid-area: title; font-size: 1rem; }
  .rr-cat { grid-area: cat; }
  .rr-arrow { grid-area: arrow; width: 36px; height: 36px; }
  .workshop-copy { padding: 26px; }
  .filter-chip { min-height: 40px; padding: 7px 13px; }
}

@media (max-width: 420px) { .btn { white-space: normal; text-align: center; } }

/* ==========================================================================
   Build page animations: hotspots, power flow, before/after, ticking sheet
   ========================================================================== */

/* ---------- Hero: hotspots on the cover photo ---------- */
.build-hero-media > img { position: relative; z-index: 0; }
.build-hero-media .build-hero-scrim { z-index: 1; }
.build-hero-inner { pointer-events: none; }
.build-hero-inner > * { pointer-events: auto; }
.bh-spots { position: absolute; inset: 0; z-index: 2; pointer-events: none; }
.hs { position: absolute; left: calc(var(--x) * 1%); top: calc(var(--y) * 1%); width: 0; height: 0; }
.hs.is-hidden { display: none; }
.js .hs { opacity: 0; transform: scale(0.4); transition: opacity 0.45s var(--ease), transform 0.55s var(--ease); transition-delay: calc(0.35s + var(--k, 0) * 120ms); }
.js .bh-spots.ready .hs { opacity: 1; transform: none; }
.hs-dot {
  position: absolute; left: 0; top: 0; width: 26px; height: 26px; margin: -13px 0 0 -13px; padding: 0; border-radius: 50%;
  background: var(--yellow); border: 3px solid rgba(3,2,2,0.6); cursor: pointer; pointer-events: auto;
  box-shadow: 0 0 0 1px rgba(237,255,0,0.4), 0 4px 14px rgba(0,0,0,0.55), 0 0 22px rgba(237,255,0,0.45);
  transition: transform 0.2s var(--ease), box-shadow 0.2s ease;
}
.hs-dot::after { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--ink); }
.hs-dot:hover, .hs.is-open .hs-dot { transform: scale(1.15); box-shadow: 0 0 0 4px rgba(237,255,0,0.3), 0 6px 18px rgba(0,0,0,0.55), 0 0 30px rgba(237,255,0,0.6); }
.hs-dot:active { transform: scale(0.95); }
.hs-dot:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.hs-pulse { position: absolute; inset: -3px; border-radius: 50%; border: 2px solid var(--yellow); animation: hs-pulse 2.2s ease-out infinite; pointer-events: none; }
@keyframes hs-pulse { 0% { transform: scale(1); opacity: 0.8; } 100% { transform: scale(2.5); opacity: 0; } }
.hs-label {
  position: absolute; left: 22px; top: -18px; width: max-content; max-width: 250px; padding: 9px 13px; border-radius: 10px;
  background: rgba(3,2,2,0.9); border: 1px solid rgba(237,255,0,0.35); color: var(--on-dark); font-size: 0.82rem; line-height: 1.4; font-weight: 500;
  box-shadow: 0 10px 28px rgba(0,0,0,0.45), 0 2px 6px rgba(0,0,0,0.3);
  opacity: 0; transform: translateY(6px); transition: opacity 0.2s ease, transform 0.25s var(--ease); pointer-events: none; z-index: 3;
}
.hs-dot:hover + .hs-label, .hs-dot:focus-visible + .hs-label, .hs.is-open .hs-label { opacity: 1; transform: none; }
.hs.is-open { z-index: 4; }

/* ---------- Power flow diagram ---------- */
.pf { position: relative; display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 56px; align-items: center; padding: 40px 36px;
  border-radius: var(--radius-lg); border: 1px solid var(--on-dark-line);
  background: radial-gradient(ellipse 60% 70% at 55% 50%, rgba(237,255,0,0.07) 0%, transparent 70%), rgba(3,2,2,0.55);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.04), 0 20px 50px rgba(0,0,0,0.35); }
.pf-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; z-index: 0; }
.pf-wire-base { fill: none; stroke: rgba(237,255,0,0.16); stroke-width: 2.5; }
.pf-wire-flow { fill: none; stroke: var(--yellow); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 3 15; opacity: 0;
  filter: drop-shadow(0 0 4px rgba(237,255,0,0.7)); animation: pf-flow 1.1s linear infinite; transition: opacity 0.6s ease 0.5s; }
.pf.is-on .pf-wire-flow { opacity: 1; }
@keyframes pf-flow { to { stroke-dashoffset: -18; } }
.pf-col { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 14px; min-width: 0; }
.pf-node { display: flex; align-items: center; gap: 12px; padding: 13px 15px; border-radius: 14px; background: rgba(12,11,11,0.92); border: 1px solid var(--on-dark-line);
  box-shadow: 0 8px 22px rgba(0,0,0,0.35), 0 1px 3px rgba(0,0,0,0.3); transition: border-color 0.3s ease, transform 0.3s var(--ease); }
.pf-node:hover { border-color: rgba(237,255,0,0.45); transform: translateY(-2px); }
.js .pf-node { opacity: 0; transform: translateY(14px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease), border-color 0.3s ease; }
.js .pf.is-on .pf-node { opacity: 1; transform: none; }
.js .pf.is-on .pf-chargers .pf-node { transition-delay: 0.12s; }
.js .pf.is-on .pf-core .pf-node { transition-delay: 0.24s; }
.js .pf.is-on .pf-outs .pf-node { transition-delay: 0.36s; }
.pf-ico { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink); }
.pf-ico svg { width: 18px; height: 18px; }
.pf-txt { min-width: 0; }
.pf-txt b { display: block; font-size: var(--t-sm); font-weight: 700; color: #fff; line-height: 1.3; }
.pf-txt small { display: block; margin-top: 2px; font-size: var(--t-xs); color: var(--on-dark-mute); line-height: 1.35; }
.pf-chg { border-color: rgba(237,255,0,0.28); }
.pf-chg .pf-txt b { color: var(--yellow); }
.pf-core { align-items: center; }
.pf-batt { flex-direction: column; gap: 14px; padding: 22px 20px; text-align: center; border-color: rgba(237,255,0,0.4); }
.pf-cell { position: relative; width: 112px; height: 180px; border: 3px solid rgba(245,237,224,0.75); border-radius: 14px; }
.pf-cell::before { content: ""; position: absolute; left: 50%; top: -11px; width: 38px; height: 8px; margin-left: -19px; border-radius: 4px 4px 0 0; background: rgba(245,237,224,0.75); }
.pf-fill { position: absolute; left: 5px; right: 5px; bottom: 5px; height: calc((100% - 10px) * var(--fill, 0)); border-radius: 8px;
  background: linear-gradient(to top, var(--yellow-deep), var(--yellow)); box-shadow: 0 0 24px rgba(237,255,0,0.45), inset 0 1px 0 rgba(255,255,255,0.5); }
.pf-before { position: absolute; left: -8px; right: -8px; bottom: calc(5px + (100% - 10px) * var(--b)); border-top: 2px dashed #fff; }
.pf-before { left: 0; right: 0; z-index: 1; }
.pf-before span { position: absolute; left: 50%; bottom: 4px; transform: translateX(-50%); white-space: nowrap; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.02em; color: #fff; background: rgba(3,2,2,0.85); padding: 2px 7px; border-radius: 999px; }
.pf-batt-txt b { display: block; font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--yellow); font-variant-numeric: tabular-nums; }
.pf-batt-txt small { display: block; margin-top: 4px; font-size: var(--t-xs); color: var(--on-dark-soft); }
.pf-mon { margin-top: 14px; display: inline-flex; align-items: center; gap: 8px; max-width: 100%; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--on-dark-line);
  background: rgba(12,11,11,0.85); font-size: var(--t-xs); color: var(--on-dark-soft); text-align: center; }
.pf.is-charging .pf-fill { animation: pf-charge 0.9s ease-in-out infinite; }
@keyframes pf-charge { 0%, 100% { box-shadow: 0 0 18px rgba(237,255,0,0.35), inset 0 1px 0 rgba(255,255,255,0.5); } 50% { box-shadow: 0 0 34px rgba(237,255,0,0.75), inset 0 1px 0 rgba(255,255,255,0.5); } }
@keyframes dot-pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.pf-mon-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 10px rgba(61,220,132,0.8); animation: dot-pulse 2s ease-in-out infinite; }

/* ---------- Before / after slider ---------- */
.ba { position: relative; max-width: 960px; margin: 0 auto; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--black); user-select: none; -webkit-user-select: none;
  box-shadow: 0 10px 20px rgba(0,0,0,0.12), 0 30px 70px rgba(0,0,0,0.28), 0 2px 4px rgba(0,0,0,0.08); }
.ba-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: var(--yellow); box-shadow: 0 0 14px rgba(237,255,0,0.7), 0 0 2px rgba(0,0,0,0.6); pointer-events: none; }
.ba-knob { position: absolute; left: 50%; top: 50%; width: 54px; height: 54px; margin: -27px 0 0 -27px; border-radius: 50%; display: grid; place-items: center; background: var(--yellow); color: var(--ink);
  box-shadow: 0 6px 20px rgba(0,0,0,0.45), 0 0 0 4px rgba(237,255,0,0.25); transition: transform 0.2s var(--ease); }
.ba-knob svg { width: 24px; height: 24px; }
.ba:hover .ba-knob { transform: scale(1.08); }
.ba:active .ba-knob { transform: scale(0.96); }
.ba-tag { position: absolute; top: 16px; padding: 6px 12px; border-radius: 999px; background: rgba(3,2,2,0.72); color: #fff; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; pointer-events: none; }
.ba-tag--before { left: 16px; }
.ba-tag--after { right: 16px; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; -webkit-appearance: none; appearance: none; background: none; }
.ba-range::-webkit-slider-thumb { -webkit-appearance: none; width: 60px; height: 100%; }
.ba:focus-within { outline: 3px solid var(--ink); outline-offset: 4px; }

/* ---------- Build sheet: each part ticks off ---------- */
.sheet-group li { padding-left: 26px; }
.js .sheet-group li { transition: color 0.4s ease; }
.js .sheet-group li::before { width: 15px; height: 15px; left: 0; top: 0.18em; border: 1.5px solid rgba(237,255,0,0.55); background: transparent; border-radius: 4px; transform: none;
  transition: background 0.3s ease, border-color 0.3s ease; }
.js .sheet-group li::after { content: ""; position: absolute; left: 5px; top: calc(0.18em + 2px); width: 5px; height: 9px; border: solid var(--ink); border-width: 0 2px 2px 0;
  transform: rotate(45deg) scale(0); transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) 0.08s; }
.js .sheet-group li.is-ticked { color: #fff; }
.js .sheet-group li.is-ticked::before, html.is-static .sheet-group li::before { background: var(--yellow); border-color: var(--yellow); animation: tick-pop 0.45s var(--ease); }
.js .sheet-group li.is-ticked::after, html.is-static .sheet-group li::after { transform: rotate(45deg) scale(1); }
@keyframes tick-pop { 0% { transform: scale(1); } 45% { transform: scale(1.25); } 100% { transform: scale(1); } }

/* ---------- Static / reduced / responsive ---------- */
html.is-static .hs { opacity: 1; transform: none; }
html.is-static .pf-node { opacity: 1; transform: none; }
html.is-static .pf-wire-flow { opacity: 1; animation: none; }
@media (prefers-reduced-motion: reduce) {
  .pf-wire-flow { animation-duration: 2.6s; }
  .hs-pulse { animation-duration: 4s; }
}
@media (max-width: 1080px) {
  .pf { gap: 36px; padding: 32px 24px; }
}
@media (max-width: 900px) {
  .pf { grid-template-columns: 1fr; gap: 40px; padding: 26px 18px; }
  .pf-col { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .pf-col .pf-node { flex: 1 1 150px; max-width: 320px; }
  .pf-core { flex-direction: column; }
  .pf-core .pf-batt { flex: none; }
  .pf-cell { width: 92px; height: 144px; }
}
@media (max-width: 768px) {
  .hs-label { max-width: 200px; font-size: 0.78rem; }
  .ba { aspect-ratio: 4 / 3.4; }
  .ba-knob { width: 46px; height: 46px; margin: -23px 0 0 -23px; }
}

/* ==========================================================================
   Builds wheel: the builds page header. A ring of covers that opens into a turning drum
   ========================================================================== */
.bw { --bw-side: clamp(var(--gutter), 5vw, 96px); position: relative; background: var(--black); color: var(--on-dark); }
.bw-stage { position: relative; isolation: isolate; overflow: clip; padding: calc(var(--nav-h) + 72px) var(--gutter) 56px;
  background:
    radial-gradient(ellipse 55% 50% at 50% 52%, rgba(237,255,0,0.08) 0%, transparent 65%),
    radial-gradient(ellipse 50% 45% at 100% 0%, rgba(237,255,0,0.1) 0%, transparent 60%),
    linear-gradient(180deg, var(--black-2) 0%, var(--black) 100%); }
.bw-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("assets/pattern/pattern-1.webp") center top / 1400px auto repeat; opacity: 0.08; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(0,0,0,0.15) 0%, #000 100%); mask-image: radial-gradient(ellipse 70% 65% at 50% 50%, rgba(0,0,0,0.15) 0%, #000 100%); }
.js .bw { height: calc(var(--vh100) * (1.25 + var(--bw-n, 12) * 0.5)); }
.js .bw-stage { position: sticky; top: 0; height: var(--vh100); padding: 0; }
.bw-view, .bw-info, .bw-index { display: none; }
.js .bw-view { display: block; position: absolute; left: 0; right: 0; top: var(--nav-h); bottom: 0; overflow: clip; }
.bw-wheel { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.bw.is-live .bw-card, .bw.is-live .bw-face { will-change: transform; }
.bw-card { position: absolute; left: 0; top: 0; display: block; backface-visibility: hidden; -webkit-backface-visibility: hidden; cursor: pointer; }
.bw-face { position: relative; display: block; width: 100%; height: 100%; border-radius: var(--radius-md); overflow: hidden; background: var(--black-2);
  box-shadow: 0 2px 4px rgba(0,0,0,0.35), 0 18px 40px -12px rgba(0,0,0,0.65), 0 0 0 1px rgba(245,237,224,0.08); transition: box-shadow 0.3s ease; }
.bw-face img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.bw-card.is-front .bw-face { box-shadow: 0 0 0 2px var(--yellow), 0 24px 60px -16px rgba(0,0,0,0.75), 0 0 44px rgba(237,255,0,0.2); }
.bw-card.is-front:hover .bw-face img { transform: scale(1.04); }
.bw-card:active .bw-face img { transform: scale(0.99); }
.bw-pill { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px;
  background: rgba(3,2,2,0.78); color: #fff; font-size: var(--t-xs); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; transform: translateY(4px); transition: opacity 0.2s ease, transform 0.25s var(--ease); pointer-events: none; }
.bw-pill svg { width: 14px; height: 14px; }
.bw-card.is-front:hover .bw-pill { opacity: 1; transform: none; }

.bw-crumbs { margin-bottom: 20px; }
.js .bw-crumbs { position: absolute; z-index: 3; top: calc(var(--nav-h) + 20px); left: var(--bw-side); margin: 0; }
.bw-label { position: relative; z-index: 2; display: grid; gap: 14px; }
.bw-label h1 { max-width: 16ch; }
.js .bw-label { position: absolute; left: 50%; top: calc(var(--bw-top, var(--nav-h)) + var(--bw-cy-ring, 40vh)); transform: translate(-50%, -50%);
  width: var(--bw-in, 80vw); justify-items: center; text-align: center; pointer-events: none; }
.js .bw-label h1 { max-width: none; font-size: var(--bw-fs, var(--t-hero)); }
.bw-tag { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem; color: var(--on-dark-soft); }

.js .bw-info { display: block; position: absolute; z-index: 3; left: var(--bw-side); top: calc(var(--bw-top) + var(--bw-cy)); transform: translateY(-50%);
  width: min(420px, calc(50% - var(--bw-card-w) / 2 - var(--bw-side) - 40px)); opacity: 0; visibility: hidden; }
.bw-info-in { display: grid; gap: 12px; justify-items: start; }
.bw-info .eyebrow { color: var(--yellow); }
.bw-name { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 1.04; letter-spacing: -0.01em; color: #fff;
  font-size: clamp(1.35rem, calc(var(--bw-card-h, 300px) * 0.085), 2.25rem); }
.bw-specs { font-size: var(--t-sm); color: var(--on-dark-soft); line-height: 1.5; }
.bw-go { margin-top: 6px; }

.js .bw-index { display: grid; position: absolute; z-index: 3; right: clamp(var(--gutter), 3vw, 64px); top: calc(var(--bw-top) + var(--bw-cy)); transform: translateY(-50%);
  justify-items: end; gap: 0; max-width: 260px; opacity: 0; visibility: hidden; }
.bw-index button { padding: 3px 0; border: 0; background: none; color: var(--on-dark-mute); text-align: right; cursor: pointer;
  font-size: clamp(0.8rem, calc(var(--bw-card-h, 300px) * 0.044), 0.95rem); line-height: 1.5; transition: color 0.2s ease, transform 0.2s var(--ease); }
.bw-index button:hover { color: #fff; transform: translateX(-3px); }
.bw-index button:active { color: var(--yellow-deep); }
.bw-index button:focus-visible { outline: 1px solid var(--yellow); outline-offset: 3px; border-radius: 2px; }
.bw-index button.is-on { color: var(--yellow); font-weight: 700; }

.js .bw-skip { position: absolute; z-index: 3; top: auto; right: var(--gutter); bottom: 28px; margin: 0; }
#all-builds { scroll-margin-top: var(--nav-h); }
.cream .inline-link { color: var(--ink); }
.cream .inline-link:hover { color: var(--ink-soft); }

html.is-static .bw { height: auto; }
html.is-static .bw-stage { position: relative; }
@media (max-width: 1080px) {
  .js .bw-index { display: none; }
  .js .bw-info { left: 50%; top: calc(var(--bw-top) + var(--bw-cy) + var(--bw-card-h) / 2 + 22px); transform: translateX(-50%);
    width: min(var(--bw-card-w), calc(100% - 2 * var(--gutter))); text-align: center; }
  .bw-info-in { justify-items: center; gap: 10px; }
}
@media (max-width: 768px) {
  .js .bw { height: calc(var(--vh100) * (1.25 + var(--bw-n, 12) * 0.55)); }
  .js .bw-crumbs { top: calc(var(--nav-h) + 16px); left: var(--gutter); }
  .js .bw-skip { top: calc(var(--nav-h) + 8px); bottom: auto; padding: 6px 8px 6px 14px; font-size: var(--t-xs); }
  .bw-skip .gj-arrow { width: 24px; height: 24px; }
  .bw-name { font-size: 1.35rem; }
}

/* ==========================================================================
   Nigel's story: a caravan door (drawn in CSS) opens onto the story;
   chapters then open like doors on alternating sides
   ========================================================================== */
.door { --side: max(var(--gutter), calc((100% - var(--container)) / 2 + var(--gutter))); position: relative; background: var(--black); color: var(--on-dark); }
.door-stage { position: relative; isolation: isolate; overflow: clip;
  --dh: min(66vh, 680px); --dw: calc(var(--dh) * 0.42); --dx: 66%; --dy: 56%; }
@supports (height: 1svh) { .door-stage { --dh: min(66svh, 680px); } }
.door-inside { position: relative; padding: calc(var(--nav-h) + 72px) 0 64px; }
.door-bg { --door-text: 300px; position: absolute; inset: 0; z-index: -2; overflow: hidden; background: radial-gradient(ellipse 60% 55% at 30% 40%, rgba(255,190,90,0.12) 0%, transparent 70%), linear-gradient(180deg, #171310 0%, var(--black) 100%); }
/* Nigel, lit, on the right: no shade over him, just a soft edge into the text side and a warm light from the workshop */
.door-bg img { position: absolute; top: var(--nav-h); bottom: 0; right: 0; width: 54%; height: calc(100% - var(--nav-h)); object-fit: cover; object-position: 62% 50%; transform-origin: 70% 10%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 34%); mask-image: linear-gradient(to right, transparent 0%, #000 34%); }
.door-light { position: absolute; z-index: 1; pointer-events: none; right: 2%; top: calc(var(--nav-h) - 10%); width: 56%; height: 90%;
  background: radial-gradient(ellipse 45% 42% at 60% 28%, rgba(255,205,110,0.22) 0%, rgba(255,175,70,0.08) 45%, transparent 70%); }
.door-name { position: absolute; z-index: 2; right: 6%; bottom: 9%; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px;
  background: rgba(3,2,2,0.78); border: 1px solid rgba(237,255,0,0.45); color: var(--on-dark-soft); font-size: var(--t-xs); letter-spacing: 0.04em; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.door-name b { color: var(--yellow); font-weight: 700; letter-spacing: 0; }
.door-name::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--yellow); box-shadow: 0 0 10px rgba(237,255,0,0.8); }
.door-bg::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(to right, rgba(3,2,2,0.92) 0%, rgba(3,2,2,0.78) 38%, rgba(3,2,2,0.2) 54%, rgba(3,2,2,0) 62%),
    linear-gradient(to top, rgba(3,2,2,0.9) 0%, rgba(3,2,2,0) 20%); }
.door-dim { position: absolute; inset: 0; z-index: -1; background: #060402; opacity: 0; pointer-events: none; }
.door-content { position: relative; z-index: 1; }
.door-content h1 { max-width: 15ch; margin-top: 14px; }
.door-content .sub { margin-top: 18px; color: var(--on-dark-soft); max-width: 56ch; }
.door-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.door-scene { display: none; }

.js .door { height: calc(var(--vh100) * 3); }
.js .door-stage { position: sticky; top: 0; height: var(--vh100); }
.js .door-inside { position: absolute; inset: 0; padding: calc(var(--nav-h) + 16px) 0 28px; display: flex; align-items: center; }
html.is-static .door-name, html.is-static .door-light { display: none; }
.js .door-content { opacity: 0; }
.js .door-scene { display: block; position: absolute; inset: 0; z-index: 2; }
.js .door-content { width: 100%; display: grid; grid-template-columns: minmax(0, 52%); justify-items: start; align-content: center; }
.js .door-content h1 { font-size: clamp(1.75rem, 3.2vw, 3rem); max-width: 14ch; }
.js .door-content .sub { font-size: var(--t-base); }
@media (min-width: 901px) and (max-height: 720px) {
  .js .door-content h1 { font-size: clamp(1.5rem, 2.7vw, 2.3rem); margin-top: 10px; }
  .js .door-content .sub { font-size: var(--t-sm); margin-top: 12px; max-width: 48ch; }
  .door-chips { margin-top: 14px; gap: 8px; }
}
@media (max-width: 900px) {
  /* phones and tablets: Nigel gets the top of the screen to himself, the words sit below him */
  .door-bg { --door-text: 340px; }
  .door-bg img { width: 100%; height: calc(100% - var(--nav-h) - var(--door-text)); object-position: 50% 45%; transform-origin: 50% 0%;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); mask-image: linear-gradient(to bottom, #000 72%, transparent 100%); }
  .door-light { right: -10%; top: 0; width: 70%; height: 55%; background: radial-gradient(ellipse 50% 45% at 55% 35%, rgba(255,205,110,0.2) 0%, rgba(255,175,70,0.07) 45%, transparent 70%); }
  .door-name { right: auto; left: var(--gutter); bottom: auto; top: calc(100% - var(--door-text) - 52px); }
  .door-bg::after { background: linear-gradient(to top, rgba(3,2,2,0.96) 0%, rgba(3,2,2,0.9) var(--door-text), rgba(3,2,2,0) calc(var(--door-text) + 90px)); }
  .js .door-inside { align-items: flex-end; padding-bottom: 72px; }
  .js .door-content { grid-template-columns: minmax(0, 1fr); align-content: end; }
  .js .door-content h1 { font-size: clamp(1.45rem, 6.4vw, 2.1rem); max-width: none; margin-top: 10px; }
  .js .door-content .sub { font-size: var(--t-sm); margin-top: 10px; }
  .door-chips { margin-top: 12px; gap: 8px; }
  .door-chips .chip { white-space: nowrap; font-size: var(--t-xs); padding: 5px 10px; }
}
@media (max-width: 600px) {
  /* phones: the intro line stays, the chips go (their facts are all in the chapters below) */
  .door-bg { --door-text: 300px; }
  .js .door-content .sub { display: block; font-size: 0.85rem; line-height: 1.45; max-width: none; margin-top: 8px; }
  .js .door-content h1 { font-size: clamp(1.3rem, 5.6vw, 1.8rem); }
  .js .door-inside { padding-bottom: 70px; }
  .js .door-chips { display: none; }
}

/* the wall: the doorway's spread shadow paints it round a rounded opening; ribbed panels sit on top */
.door-frame { position: absolute; z-index: 3; left: calc(var(--dx) - var(--dw) / 2); top: calc(var(--dy) - var(--dh) / 2); width: var(--dw); height: var(--dh);
  border-radius: 10px 10px 6px 6px; box-shadow: 0 0 0 5px #2C2D30, 0 0 0 12px #0F0F10; pointer-events: none; }
.door-wall { position: absolute; z-index: 2;
  background: repeating-linear-gradient(180deg, rgba(255,255,255,0.045) 0 1px, rgba(0,0,0,0.2) 1px 3px, transparent 3px 26px), linear-gradient(90deg, #141415, #19191B 50%, #141415); }
.door-wall--l { left: 0; top: 0; bottom: 0; width: calc(var(--dx) - var(--dw) / 2 - 6px); }
.door-wall--r { right: 0; top: 0; bottom: 0; left: calc(var(--dx) + var(--dw) / 2 + 6px); }
.door-wall--t { z-index: 1; left: 0; right: 0; top: 0; height: calc(var(--dy) - var(--dh) / 2 - 6px); }
.door-wall--b { z-index: 1; left: 0; right: 0; bottom: 0; top: calc(var(--dy) + var(--dh) / 2 + 6px); }
.door-wall--l::after, .door-wall--r::after { content: ""; position: absolute; left: 0; right: 0; top: calc(var(--dy) + var(--dh) * 0.12); height: calc(var(--dh) * 0.05);
  background: linear-gradient(to bottom, var(--yellow) 0 66%, transparent 66% 80%, var(--yellow) 80% 100%); box-shadow: 0 0 18px rgba(237,255,0,0.18); }
.door-decal { position: absolute; z-index: 3; left: calc(var(--dx) + var(--dw) / 2 + 48px); top: calc(var(--dy) - var(--dh) * 0.28); width: clamp(110px, 9vw, 150px); height: auto; }
.door-copy { position: absolute; z-index: 3; left: var(--side); bottom: calc(100% - var(--dy) - var(--dh) * 0.12 + 40px);
  width: min(460px, calc(var(--dx) - var(--dw) / 2 - var(--side) - 56px)); display: grid; gap: 16px; justify-items: start; }
.door-copy .eyebrow { color: var(--yellow); }
.door-come { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; line-height: 0.98; letter-spacing: -0.02em; color: #fff; font-size: clamp(2.4rem, 4.6vw, 3.5rem); }
.door-line { color: var(--on-dark-soft); max-width: 34ch; }
.door-glow { position: absolute; z-index: 4; pointer-events: none; opacity: 0;
  left: calc(var(--dx) - var(--dw) * 1.7); top: calc(var(--dy) - var(--dh)); width: calc(var(--dw) * 3.4); height: calc(var(--dh) * 2);
  background: radial-gradient(ellipse 50% 50% at 50% 50%, rgba(255,190,90,0.26) 0%, rgba(255,170,60,0.09) 42%, transparent 70%); }
.door-spill { position: absolute; z-index: 4; pointer-events: none; opacity: 0;
  left: calc(var(--dx) - var(--dw)); top: calc(var(--dy) + var(--dh) / 2 + 12px); width: calc(var(--dw) * 2); height: calc(var(--dh) * 0.4);
  background: radial-gradient(ellipse 50% 70% at 50% 0%, rgba(255,190,90,0.3) 0%, transparent 70%); }

/* the door leaf: hinged on the left, swings out towards you */
.door-leaf { position: absolute; z-index: 5; left: calc(var(--dx) - var(--dw) / 2); top: calc(var(--dy) - var(--dh) / 2); width: var(--dw); height: var(--dh);
  transform-origin: 0 50%; transform-style: preserve-3d; }
.leaf-face { position: absolute; inset: 0; border-radius: 10px 10px 6px 6px; overflow: hidden; backface-visibility: hidden; -webkit-backface-visibility: hidden; }
.leaf-front { background: linear-gradient(90deg, #1E1F22 0%, #2B2D31 45%, #1B1C1F 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.07), inset 0 2px 0 rgba(255,255,255,0.06), inset -8px 0 14px rgba(0,0,0,0.35), 0 2px 6px rgba(0,0,0,0.45); }
.door-leaf.is-past .leaf-front, .door-leaf:not(.is-past) .leaf-back { visibility: hidden; }
.leaf-back { transform: rotateY(180deg); background: linear-gradient(90deg, #C9C2B5, #E4DDD0 50%, #CFC8BB); box-shadow: inset 0 0 0 1px rgba(0,0,0,0.15), inset 0 0 40px rgba(0,0,0,0.22); }
.leaf-window { position: absolute; left: 14%; right: 14%; top: 8%; height: 31%; display: grid; place-items: end center; padding-bottom: 9%; overflow: hidden;
  border-radius: 46% 46% 14% 14% / 30% 30% 10% 10%;
  background: linear-gradient(160deg, rgba(150,170,182,0.38) 0%, rgba(32,38,44,0.88) 45%, rgba(8,10,12,0.96) 100%);
  box-shadow: inset 0 0 0 4px #0B0B0C, inset 0 0 0 6px rgba(255,255,255,0.08), 0 0 0 2px #3A3C40; }
.leaf-window::before { content: ""; position: absolute; top: -20%; left: 16%; width: 22%; height: 140%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.16), transparent); transform: rotate(18deg); }
.leaf-window img { position: relative; width: 46%; height: auto; filter: drop-shadow(0 2px 6px rgba(0,0,0,0.55)); }
.leaf-stripe { position: absolute; left: 0; right: 0; top: 62%; height: 5%; background: linear-gradient(to bottom, var(--yellow) 0 66%, transparent 66% 80%, var(--yellow) 80% 100%); }
.leaf-lock { position: absolute; right: 12%; top: 44.5%; width: 6%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #F2F3F5, #8E9197 60%, #4A4D52); box-shadow: 0 1px 3px rgba(0,0,0,0.5); }
.leaf-handle { position: absolute; right: 8%; top: 50%; width: 17%; height: 2.4%; min-height: 8px; border-radius: 999px; transform-origin: 88% 50%;
  background: linear-gradient(180deg, #ECEDEF, #9A9DA3 55%, #5C5F64); box-shadow: 0 2px 4px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.3); }
.leaf-back .leaf-handle { right: auto; left: 8%; transform-origin: 12% 50%; }
.leaf-hinge { position: absolute; left: 0; width: 5%; height: 7%; border-radius: 0 3px 3px 0; background: linear-gradient(90deg, #6C6F74, #B9BCC1, #6C6F74); }
.leaf-hinge--1 { top: 15%; } .leaf-hinge--2 { top: 77%; }
.leaf-kick { position: absolute; left: 0; right: 0; bottom: 0; height: 13%;
  background: repeating-linear-gradient(45deg, rgba(255,255,255,0.2) 0 2px, transparent 2px 9px), repeating-linear-gradient(-45deg, rgba(255,255,255,0.2) 0 2px, transparent 2px 9px), linear-gradient(180deg, #A2A5AA, #6E7176);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -2px 4px rgba(0,0,0,0.35); }
.door.is-live .door-leaf, .door.is-live .door-wall, .door.is-live .door-copy, .door.is-live .door-decal { will-change: transform; }

html.is-static .door { height: auto; }
html.is-static .door-stage { position: relative; height: var(--vh100); }
html.is-static .door-scene { display: none; }
html.is-static .door-content { opacity: 1; }

/* chapters: each photo opens on its outer hinge while the words slide in from the other side */
.story-chapters .section-head { max-width: 680px; }
.chapters { display: grid; gap: clamp(64px, 9vw, 120px); }
.chapter { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.chapter--r .ch-media-wrap { order: 2; }
.ch-media-wrap { perspective: 1400px; }
.ch-media { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--black); box-shadow: var(--shadow-lg); transform-origin: 0 50%; }
.chapter--r .ch-media { transform-origin: 100% 50%; }
.ch-media img { width: 100%; height: 100%; object-fit: cover; }
.ch-media .tag { position: absolute; left: 18px; bottom: 18px; background: var(--yellow); color: var(--ink); padding: 8px 14px; border-radius: 999px; font-weight: 700; font-size: var(--t-sm); }
.ch-hinge { position: absolute; z-index: 2; top: 0; bottom: 0; left: 0; width: 4px; background: var(--yellow); box-shadow: 0 0 14px rgba(237,255,0,0.55); transform-origin: 50% 0; }
.chapter--r .ch-hinge { left: auto; right: 0; }
.ch-copy { display: grid; gap: 16px; justify-items: start; }
.ch-no { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-display); font-weight: 800; font-size: var(--t-sm); letter-spacing: 0.1em; color: var(--ink-mute); }
.ch-no::after { content: ""; width: 44px; height: 3px; border-radius: 3px; background: var(--yellow-deep); }
.ch-no i { font-style: normal; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); padding-left: 10px; border-left: 1px solid var(--ink-line); }
.ch-copy h3 { font-size: clamp(1.6rem, 2.8vw, 2.25rem); line-height: 1.04; }
.ch-copy p { color: var(--ink-soft); font-size: var(--t-lg); line-height: 1.65; }
.ch-copy p.big { font-family: var(--font-display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.14; color: var(--ink); }
.ch-copy .placeholder-block { width: 100%; }
.ch-copy .pull-quote { width: 100%; margin-top: 4px; }
.ch-cta { margin-top: 4px; }

@media (max-width: 900px) {
  .door-stage { --dh: min(54vh, 540px); --dx: 50%; --dy: 61%; }
  .door-decal { display: none; }
  .door-copy { top: calc(var(--nav-h) + 28px); bottom: auto; left: var(--gutter); right: var(--gutter); width: auto; justify-items: center; text-align: center; gap: 10px; }
  .door-come { font-size: clamp(2rem, 9vw, 2.6rem); }
  .door-line { font-size: var(--t-sm); }
  .chapter { grid-template-columns: 1fr; gap: 24px; }
  .chapter--r .ch-media-wrap { order: 0; }
}
@supports (height: 1svh) { @media (max-width: 900px) { .door-stage { --dh: min(54svh, 540px); } } }
@media (max-width: 900px) and (max-height: 720px) { .door-line { display: none; } }

/* ---------- CTA band eyebrow (the slogan on every page) ---------- */
.cta-eyebrow { color: var(--yellow); display: inline-flex; margin-bottom: 12px; }
.cta-eyebrow::before { background: var(--yellow); }

/* ---------- Service area: where the work gets done ---------- */
.mobile-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 44px; }
.ms-item { position: relative; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; background: var(--black); box-shadow: var(--shadow-md); }
.ms-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.ms-item:hover img { transform: scale(1.04); }
.ms-tag { position: absolute; left: 14px; bottom: 14px; padding: 7px 12px; border-radius: 999px; background: var(--yellow); color: var(--ink); font-weight: 700; font-size: var(--t-xs); letter-spacing: 0.08em; text-transform: uppercase; }
@media (max-width: 900px) { .mobile-strip { grid-template-columns: 1fr; gap: 14px; margin-top: 32px; } }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav-actions .btn-nav { display: none; }
  .hamburger { display: flex; }
  .split-grid { grid-template-columns: 1fr; }
  .split-sticky { position: static; }
  .split-words, .split-count { display: none; }
  .split-right { gap: 40px; padding: 0; }
  .review-grid, .trust-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .page-hero-grid, .story-grid, .contact-grid, .area-grid { grid-template-columns: 1fr; }
  .story-media, .contact-side, .area-map { position: static; }
  .service-row { grid-template-columns: 1fr; padding: 40px 0; }
  .service-row:nth-of-type(even) .service-media { order: 0; }
  .hs-panel { flex-basis: clamp(280px, 40vw, 380px); }
}
@media (min-width: 1081px) {
  .split-card-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
}
@media (max-width: 768px) {
  .hero-poster { object-position: 70% 50%; }
  .hero-scrim { background: linear-gradient(to top, rgba(3,2,2,0.96) 0%, rgba(3,2,2,0.84) 42%, rgba(3,2,2,0.66) 66%, rgba(3,2,2,0.5) 82%, rgba(3,2,2,0.55) 100%); }
  .page-hero .crumbs, .build-hero .crumbs { flex-wrap: nowrap; min-width: 0; max-width: 100%; }
  .page-hero .crumbs > *, .build-hero .crumbs > * { flex: none; }
  .page-hero .crumbs > [aria-current], .build-hero .crumbs > [aria-current] { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  :root { --nav-h: 64px; }
  .section { padding: 64px 0; }
  .statement { padding: 72px 0; }
  .nav-logo img { height: 40px; }
  .nav-phone { display: none; }
  .hero { min-height: 560px; }
  .hero-inner { grid-template-columns: 1fr; gap: 20px; padding-bottom: 76px; }
  .hero-ctas .btn { flex: 1 1 100%; }
  .hero-card { width: 100%; }
  .hero-caption { display: none; }
  .section-head--row { grid-template-columns: 1fr; }
  .circle-line--a { margin-top: 20em; }
  .circle-media { --r0: 6em; }
  .circle-ring { width: 12em; height: 12em; margin: -6em 0 0 -6em; }
  /* Services stays scroll-driven on phones (pinned; scrolling slides the panels across), compacted to fit one screen */
  .hscroll-stage { gap: 14px; padding-top: calc(var(--nav-h) + 14px); }
  .hscroll-head h2 { font-size: clamp(1.3rem, 5.6vw, 1.6rem); }
  .hs-meta { grid-auto-flow: column; justify-content: start; justify-items: start; align-items: center; gap: 14px; }
  .hs-bar { width: 120px; }
  .hscroll-track { gap: 14px; padding: 0 var(--gutter); }
  .hs-panel { flex-basis: 80vw; padding: 16px; gap: 10px; }
  .hs-panel-top img { width: 38px; height: 44px; }
  .hs-panel-img { aspect-ratio: auto; height: clamp(120px, 24svh, 220px); flex: none; }
  .hs-panel h3 { font-size: 1.15rem; }
  .hs-panel--cta h3 { font-size: 1.4rem; }
  .review-grid, .trust-grid, .steps, .check-grid, .form-row, .grid-2 { grid-template-columns: 1fr; }
  .hscroll-head { grid-template-columns: 1fr; gap: 10px; }
  .stat-row { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .stat { padding: 12px; } .stat b { font-size: 1.4rem; }
  .cta-band-inner { grid-template-columns: 1fr; gap: 40px; padding-block: 56px; }
  .cta-hex { width: 220px; justify-self: center; }
  .footer-top { grid-template-columns: 1fr; gap: 28px; padding: 48px 0 28px; }
  .mobile-cta { display: grid; }
  .form { padding: 22px; }
  .marquee-item { font-size: 0.95rem; gap: 28px; }
  .marquee-track { gap: 28px; }
  .area-map { aspect-ratio: 1 / 1; }
  .words { max-width: none; }
}
@media (max-width: 768px) and (min-height: 760px) { .hero-caption { display: flex; } }
/* Phone usability: 16px form text (stops iOS zooming on tap), ~44px tap targets on standalone links
   (negative margins keep the layout identical), and no text under ~12px */
@media (max-width: 768px) {
  .input, .select, .textarea { font-size: 16px; }
  .field label small, .form small { font-size: 0.78rem; }
  .hamburger { min-width: 44px; min-height: 44px; justify-content: center; align-items: center; }
  .link-arrow { padding-block: 10px; margin-block: -10px; }
  .link-arrow::after { bottom: 6px; }
  .footer-nav { gap: 0 22px; }
  .footer-nav a { padding-block: 10px; }
  .footer-contact a, .footer-meta a { display: inline-block; padding-block: 11px; margin-block: -11px; }
  .footer-meta { row-gap: 16px; }
  .footer-meta .legal-links { gap: 22px; }
  .crumbs a { display: inline-block; padding: 12px 4px; margin: -12px -4px; }
  a.count { display: inline-block; padding-block: 10px; margin-block: -10px; }
  .see-builds a { min-height: 40px; align-items: center; padding: 8px 14px; }
  .contact-way a { display: inline-block; padding-block: 6px; }
  .plate-head { font-size: 0.75rem; }
  a.chip { min-height: 44px; }
  .gallery-jump { min-height: 44px; }
  .pull-quote cite .inline-link { display: inline-block; padding-block: 12px; margin-block: -12px; }
}
/* Hotspot dots: bigger invisible hit area for thumbs (the dot itself looks the same) */
.hs-dot::before { content: ""; position: absolute; inset: -12px; border-radius: 50%; }
/* Before/after slider covers the photo: side-to-side drags move it, up/down swipes still scroll the page */
.ba-range { touch-action: pan-y; }
@media (max-width: 420px) {
  .hero-h { font-size: 2.3rem; }
  .hero-card-score { font-size: 1.35rem; }
}

/* ---------- Page-specific ---------- */
body[data-page="contact"] .cta-band { display: none; }
body[data-page="404"] .cta-band { display: none; }

/* ---------- Keyboard + assistive tech (8 Nov 2026) ---------- */
/* anchor jumps and focused fields land clear of the fixed nav, and of the phone call bar */
html { scroll-padding-top: calc(var(--nav-h) + 16px); }
@media (max-width: 768px) { html { scroll-padding-bottom: 96px; } }
/* Windows high-contrast: the hex clip and painted frame are dropped so the system colours draw the button and its focus ring */
@media (forced-colors: active) {
  .btn { clip-path: none; border: 2px solid ButtonText; }
  .btn::after { display: none; }
  .btn:focus-visible { outline: 3px solid Highlight; outline-offset: 2px; }
}
