/* ============================================================
   ICONIX AUTO STYLING — Croydon
   Graphite + chrome + Iconix crimson. Dark, machined, exclusive.
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  /* Surfaces — graphite, faintly cool */
  --bg:          oklch(0.145 0.006 256);
  --bg-deep:     oklch(0.112 0.005 256);
  --surface:     oklch(0.185 0.008 256);
  --surface-2:   oklch(0.225 0.010 256);
  --line:        oklch(1 0 0 / 0.10);
  --line-strong: oklch(1 0 0 / 0.20);

  /* Ink */
  --text:    oklch(0.970 0.004 250);
  --muted:   oklch(0.740 0.008 252);
  --faint:   oklch(0.560 0.008 252);
  --platinum: oklch(0.880 0.006 250);

  /* The spark — Iconix crimson, used sparingly (<10% of surface) */
  --ember:        oklch(0.52 0.23 27);
  --ember-bright: oklch(0.60 0.22 29);
  --ember-soft:   oklch(0.52 0.23 27 / 0.16);
  --ember-glow:   oklch(0.52 0.23 27 / 0.40);

  /* Type */
  --font-display: "Archivo", "Arial Narrow", sans-serif;
  --font-body:    "Hanken Grotesk", system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Fluid type scale (~1.27 ratio) */
  --fs-eyebrow: clamp(0.68rem, 0.62rem + 0.3vw, 0.8rem);
  --fs-body:    clamp(1rem, 0.96rem + 0.2vw, 1.12rem);
  --fs-lead:    clamp(1.15rem, 1.02rem + 0.6vw, 1.5rem);
  --fs-h3:      clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  --fs-h2:      clamp(2.2rem, 1.4rem + 3.6vw, 4.6rem);
  --fs-h1:      clamp(2.8rem, 1.6rem + 5.4vw, 6.5rem);
  --fs-mega:    clamp(3.6rem, 0.5rem + 15vw, 15rem);

  /* Space */
  --pad-x: clamp(1.25rem, 4.5vw, 4.5rem);
  --container: 1320px;
  --section-y: clamp(5rem, 11vh, 11rem);

  /* Motion */
  --e-out: cubic-bezier(0.16, 1, 0.3, 1);          /* ease-out-expo-ish */
  --e-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
  --t-fast: 0.28s;
  --t-med:  0.55s;
  --t-slow: 0.9s;

  --radius: 14px;
  --radius-lg: 22px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: dark;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  letter-spacing: -0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; padding: 0; }

/* ── Motion Bookings widget: force transparent iframe ─────────
   color-scheme:dark on html causes browsers to paint a white
   canvas in the iframe. Override it explicitly here. */
iframe[src*="motionbookings.co.uk/widget"] {
  background: transparent !important;
  color-scheme: light;
}
::selection { background: var(--ember); color: oklch(0.14 0.01 40); }

/* Subtle film grain + vignette over the whole page for depth */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background:
    radial-gradient(120% 90% at 50% -10%, transparent 55%, oklch(0 0 0 / 0.45) 100%);
  mix-blend-mode: multiply;
}
body::after {
  content: "";
  position: fixed;
  inset: -50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.section { padding-block: var(--section-y); position: relative; z-index: 2; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
}
.eyebrow::before {
  content: "";
  width: 1.6em;
  height: 1px;
  background: var(--ember);
}
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  line-height: 0.94;
  letter-spacing: -0.01em;
  word-spacing: 0.06em;
  text-transform: uppercase;
}
.sec-title, .statement h2, .book__head h2, .hero__headline { word-spacing: 0.05em; }
.lead {
  font-size: var(--fs-lead);
  line-height: 1.45;
  color: var(--muted);
  max-width: 60ch;
}

/* ---------- Buttons ---------- */
.btn {
  --bd: var(--line-strong);
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  padding: 0.95em 1.6em;
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--bd);
  border-radius: 100px;
  color: var(--text);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out), transform var(--t-fast) var(--e-out);
}
.btn > * { position: relative; z-index: 1; }
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: var(--ember);
  transform: translateY(101%);
  transition: transform 0.5s var(--e-out);
}
.btn:hover { color: oklch(0.16 0.02 40); border-color: var(--ember); }
.btn:hover::before { transform: translateY(0); }
.btn:active { transform: translateY(1px) scale(0.99); }
.btn .arrow { transition: transform var(--t-fast) var(--e-out); }
.btn:hover .arrow { transform: translate(3px, -3px); }

.btn--solid {
  background: var(--ember);
  color: #fff;
  border-color: var(--ember);
  font-weight: 700;
  overflow: hidden;
}
/* Shine sweep — replaces the base fill-slide */
.btn--solid::before {
  background: linear-gradient(
    105deg,
    transparent 25%,
    oklch(1 0 0 / 0.28) 50%,
    transparent 75%
  );
  width: 70%;
  top: 0;
  height: 100%;
  transform: translateX(-180%) skewX(-12deg);
  transition: transform 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.btn--solid:hover {
  color: #fff;
  border-color: var(--ember);
  background: oklch(0.4 0.22 25);
}
.btn--solid:hover::before { transform: translateX(280%) skewX(-12deg); }
.btn--ghost { color: var(--muted); }

/* ============================================================
   INTRO — full-screen entry video, plays once then reveals site
   ============================================================ */
.intro {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--bg-deep) center / cover no-repeat;
  display: grid;
  place-items: center;
  overflow: hidden;
  opacity: 1;
  /* Simple fade — bridge ensures the hero composition is already showing */
  transition: opacity 0.75s ease-in-out;
}
.intro.is-done { opacity: 0; pointer-events: none; }
.intro__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--bg-deep);
}
/* Bridge: hero poster pre-loaded on top of the intro, fades in during the
   last ~0.7s of the clip so the overlay dissolves from hero-frame → hero-frame */
.intro__bridge {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: url("assets/hero-poster.jpg") center 60% / cover no-repeat;
  opacity: 0;
  transition: opacity 0.7s ease-in-out;
}
.intro__bridge.is-visible { opacity: 1; }
.intro__skip {
  position: absolute;
  bottom: clamp(1.4rem, 4vh, 2.6rem);
  right: clamp(1.4rem, 4vw, 2.6rem);
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  background: oklch(0.1 0.005 256 / 0.5);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(6px);
  transition: gap var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.intro__skip:hover { gap: 0.8rem; border-color: var(--ember); color: var(--ember); }
/* hard-hide once finished so it never traps focus or paints */
.intro[hidden] { display: none; }

/* while the intro plays, lock the page behind it */
body.intro-lock { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  .intro { display: none; }
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background var(--t-med) var(--e-out), border-color var(--t-med) var(--e-out), backdrop-filter var(--t-med);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: oklch(0.12 0.005 256 / 0.72);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: clamp(64px, 8vh, 84px);
}
.brand { display: inline-flex; align-items: center; }
.brand__logo {
  display: block;
  height: 44px;
  width: auto;
  object-fit: contain;
}
.brand__logo--lg {
  height: 80px;
}
.nav { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.4rem); }
.nav__links { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2.2rem); }
.nav__link {
  font-size: 0.92rem;
  color: var(--muted);
  position: relative;
  padding-block: 0.4em;
  transition: color var(--t-fast) var(--e-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0.1em;
  width: 100%; height: 1px;
  background: var(--ember);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-med) var(--e-out);
}
.nav__link:hover,
.nav__link.is-active { color: var(--text); }
.nav__link:hover::after,
.nav__link.is-active::after { transform: scaleX(1); }
.nav__phone {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.nav__phone .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px var(--ember-glow); animation: pulse 2.6s var(--e-out) infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.35} }

.nav__toggle { display: none; }

/* Mobile menu */
.menu {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: oklch(0.11 0.005 256 / 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: grid;
  place-content: center;
  gap: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--t-med) var(--e-out), visibility var(--t-med);
}
.menu.is-open { opacity: 1; visibility: visible; }
.menu a {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  text-transform: uppercase;
  font-size: clamp(2rem, 9vw, 3.4rem);
  line-height: 1.05;
  color: var(--muted);
  transition: color var(--t-fast) var(--e-out), transform var(--t-fast) var(--e-out);
}
.menu a:hover { color: var(--text); transform: translateX(8px); }
.menu a:hover .idx { color: var(--ember); }
.menu .idx { font-family: var(--font-mono); font-size: 0.8rem; font-weight: 500; color: var(--faint); margin-right: 0.8em; vertical-align: middle; }
.menu__foot { margin-top: 2rem; font-family: var(--font-mono); font-size: 0.8rem; color: var(--faint); letter-spacing: 0.1em; text-align: center; }

/* ============================================================
   HERO — scroll-scrub GT3 RS build
   ============================================================ */
.hero {
  position: relative;
  height: 420vh;            /* scroll runway for the scrub */
  z-index: 2;
}
.hero__stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  background: var(--bg-deep);
}
.hero__video,
.hero__poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
}
.hero__poster { z-index: 0; }
.hero__video { z-index: 1; opacity: 0; transition: opacity 0.6s var(--e-out); }
.hero__video.is-ready { opacity: 1; }

.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    linear-gradient(180deg, oklch(0.1 0.005 256 / 0.66) 0%, transparent 26%, transparent 52%, oklch(0.1 0.005 256 / 0.55) 82%, oklch(0.09 0.005 256 / 0.92) 100%),
    radial-gradient(130% 80% at 50% 50%, transparent 60%, oklch(0.09 0.005 256 / 0.55) 100%);
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-block: clamp(5.5rem, 12vh, 9rem) clamp(1.6rem, 4vh, 3rem);
}

/* top readout */
.hero__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; flex-wrap: wrap; }
.hero__tag { font-family: var(--font-mono); font-size: var(--fs-eyebrow); letter-spacing: 0.24em; text-transform: uppercase; color: var(--muted); }
.hero__tag b { color: var(--text); font-weight: 500; }
.hero__spec {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: var(--faint);
  text-align: right;
  text-transform: uppercase;
  line-height: 1.8;
}
.hero__spec span { color: var(--platinum); }

/* statement — top right, fades as car fills the frame */
.hero__center { margin-bottom: 0; }
.hero__statement { will-change: opacity; text-align: right; }
.hero__headline {
  font-family: var(--font-display);
  font-weight: 900;
  font-stretch: 125%;
  font-size: clamp(2.4rem, 1rem + 5.5vw, 5rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--text);
}
.hero__sub {
  margin-top: clamp(0.6rem, 1.5vw, 1rem);
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

/* bottom — scroll progress rail (pinned left, full width) */
.hero__rail { display: grid; gap: 0.9rem; align-self: flex-end; width: 100%; }
.hero__track {
  position: relative;
  height: 2px;
  background: var(--line);
  border-radius: 2px;
}
.hero__fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: calc(var(--p, 0) * 100%);
  background: linear-gradient(90deg, var(--ember), var(--ember-bright));
  box-shadow: 0 0 16px var(--ember-glow);
}

.hero__cue {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  justify-self: start;
  transition: opacity var(--t-med) var(--e-out);
}
.hero.is-engaged .hero__cue { opacity: 0; }
.hero__cue .mouse {
  width: 16px; height: 25px; border: 1px solid var(--line-strong); border-radius: 10px;
  position: relative;
}
.hero__cue .mouse::after {
  content: ""; position: absolute; left: 50%; top: 5px; width: 2px; height: 5px; background: var(--ember); border-radius: 2px; transform: translateX(-50%);
  animation: wheel 1.8s var(--e-out) infinite;
}
@keyframes wheel { 0%{opacity:0; transform: translate(-50%, -3px)} 30%{opacity:1} 70%{opacity:1} 100%{opacity:0; transform: translate(-50%, 8px)} }

/* ============================================================
   STATEMENT
   ============================================================ */
.statement { background: var(--bg); border-top: 1px solid var(--line); }
.statement__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.statement__grid > * { min-width: 0; }
.statement h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(2rem, 5vw, 5.2rem);
  white-space: nowrap;
  line-height: 0.98;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.statement h2 em { font-style: normal; color: var(--ember); }
.statement__body { display: grid; gap: 1.4rem; padding-bottom: 0.4rem; }

.specbar {
  margin-top: clamp(3rem, 7vw, 5rem);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface);
}
.specbar__item { padding: clamp(1.4rem, 3vw, 2.2rem); border-right: 1px solid var(--line); }
.specbar__item:last-child { border-right: 0; }
.specbar__n {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 110%;
  font-size: clamp(1.8rem, 1rem + 2.4vw, 3rem);
  line-height: 1;
  color: var(--text);
}
.specbar__n .u { color: var(--ember); }
.specbar__l { margin-top: 0.6rem; font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }

/* ============================================================
   WORK / SHOWCASE
   ============================================================ */
.work { background: var(--bg-deep); border-top: 1px solid var(--line); }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.work__footer { margin-top: clamp(2rem, 4vw, 3rem); display: flex; justify-content: center; }
.work__head h2 { font-size: var(--fs-h2); }
.sec-title { font-family: var(--font-display); font-weight: 800; font-stretch: 115%; line-height: 0.96; letter-spacing: -0.015em; text-transform: uppercase; }

.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(0.8rem, 1.5vw, 1.2rem);
}
.work__grid > * { min-width: 0; }
.shot {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
}
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--e-out); }
.shot:hover img { transform: scale(1.05); }
.shot::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, oklch(0.09 0.005 256 / 0.85));
}
.shot__label {
  position: absolute;
  left: 1.1rem; bottom: 1rem;
  z-index: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text);
  display: flex; align-items: center; gap: 0.6em;
}
.shot__label b { color: var(--ember); font-weight: 500; }
.shot--hero { grid-column: span 8; aspect-ratio: 16 / 10; }
.shot--tall { grid-column: span 4; aspect-ratio: 4 / 5; }
.shot--wide { grid-column: span 6; aspect-ratio: 16 / 9; }

.tagmarquee {
  margin-top: clamp(2rem, 4vw, 3rem);
  border-block: 1px solid var(--line);
  overflow: hidden;
  padding-block: 1.1rem;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tagmarquee__row { display: flex; gap: 3rem; width: max-content; animation: marquee 32s linear infinite; }
.tagmarquee__row span {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 120%;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--faint);
  display: inline-flex; align-items: center; gap: 3rem;
}
.tagmarquee__row span::after { content: "✕"; color: var(--ember); font-size: 0.6em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   BEFORE / AFTER — drag comparison
   ============================================================ */
.transform { background: var(--bg-deep); border-top: 1px solid var(--line); }
.transform__head { max-width: 60ch; margin-bottom: clamp(2rem, 4.5vw, 3.4rem); }
.transform__lead { margin-top: 1.1rem; color: var(--muted); font-size: var(--fs-lead); max-width: 48ch; }

.compare {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 16 / 9;
  background: var(--surface);
  cursor: col-resize;
  user-select: none;
  touch-action: pan-y;
  --split: 50%;
  border: 1px solid var(--line);
}

/* both images fill the stage */
.compare__base,
.compare__layer img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  pointer-events: none;
  -webkit-user-drag: none;
}

/* the "after" layer is clipped: only the portion right of --split is visible */
.compare__layer {
  position: absolute;
  inset: 0;
  clip-path: inset(0 0 0 var(--split));
}

/* vertical handle line + grip button */
.compare__handle {
  position: absolute;
  inset: 0 auto 0 var(--split);
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
  z-index: 10;
}
.compare__line {
  width: 2px;
  flex: 1;
  background: oklch(1 0 0 / 0.85);
  box-shadow: 0 0 12px oklch(0 0 0 / 0.5);
}
.compare__grip {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--ember);
  color: oklch(1 0 0);
  display: grid;
  place-items: center;
  pointer-events: auto;
  cursor: col-resize;
  flex-shrink: 0;
  box-shadow: 0 0 0 3px oklch(1 0 0 / 0.15), 0 6px 24px oklch(0 0 0 / 0.55);
  transition: transform 0.2s var(--e-out), box-shadow 0.2s var(--e-out);
}
.compare.is-dragging .compare__grip,
.compare__grip:hover {
  transform: scale(1.12);
  box-shadow: 0 0 0 5px oklch(1 0 0 / 0.18), 0 8px 32px var(--ember-glow);
}

/* before / after labels */
.compare__tag {
  position: absolute;
  top: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  background: oklch(0.08 0.005 256 / 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 0.38em 0.9em;
  border-radius: 100px;
  color: var(--text);
  border: 1px solid var(--line-strong);
  pointer-events: none;
  z-index: 5;
}
.compare__tag--l { left: 1.2rem; }
.compare__tag--r { right: 1.2rem; }

@media (max-width: 600px) {
  .compare { aspect-ratio: 4 / 3; }
  .compare__tag { font-size: 0.62rem; top: 0.8rem; }
  .compare__tag--l { left: 0.8rem; }
  .compare__tag--r { right: 0.8rem; }
  .compare__grip { width: 40px; height: 40px; }
}

/* ============================================================
   SERVICES — build-sheet index
   ============================================================ */
.services { background: var(--bg); border-top: 1px solid var(--line); }
.services__head { max-width: 70ch; margin-bottom: clamp(2.4rem, 5vw, 4rem); }
.services__head h2 { font-size: var(--fs-h2); margin-block: 0.8rem 1.2rem; }

.svc {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(2rem, 5vw, 5rem);
  border-top: 1px solid var(--line);
}
.svc__col { min-width: 0; }
@media (max-width: 760px){ .svc { grid-template-columns: 1fr; } }

.svc__item {
  position: relative;
  border-bottom: 1px solid var(--line);
}

/* header (clickable) */
.svc__head {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.2rem;
  align-items: center;
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: clamp(1.3rem, 2.6vw, 1.9rem) 0;
  transition: padding-left var(--t-med) var(--e-out);
}
.svc__head::before {
  content: "";
  position: absolute;
  left: -1.2rem; top: 0; bottom: 0;
  width: 2px;
  background: var(--ember);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform var(--t-med) var(--e-out);
}
.svc__item:hover .svc__head,
.svc__head:focus-visible { padding-left: 1.2rem; }
.svc__item:hover .svc__head::before,
.svc__item.is-open .svc__head::before { transform: scaleY(1); }

.svc__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--faint);
  letter-spacing: 0.05em;
  transition: color var(--t-fast) var(--e-out);
}
.svc__item:hover .svc__num,
.svc__item.is-open .svc__num { color: var(--ember); }
.svc__body { display: grid; gap: 0.4rem; min-width: 0; }
.svc__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 112%;
  font-size: var(--fs-h3);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  color: var(--text);
}
.svc__desc { font-size: 0.98rem; color: var(--muted); max-width: 46ch; }

/* plus / minus toggle */
.svc__toggle { position: relative; width: 20px; height: 20px; flex: none; }
.svc__toggle::before,
.svc__toggle::after {
  content: "";
  position: absolute;
  background: var(--faint);
  transition: background var(--t-fast) var(--e-out), transform var(--t-med) var(--e-out), opacity var(--t-med) var(--e-out);
}
.svc__toggle::before { left: 1px; right: 1px; top: 50%; height: 1.5px; transform: translateY(-50%); }
.svc__toggle::after  { top: 1px; bottom: 1px; left: 50%; width: 1.5px; transform: translateX(-50%); }
.svc__item:hover .svc__toggle::before,
.svc__item:hover .svc__toggle::after,
.svc__item.is-open .svc__toggle::before,
.svc__item.is-open .svc__toggle::after { background: var(--ember); }
.svc__item.is-open .svc__toggle::after { transform: translateX(-50%) scaleY(0); opacity: 0; }

/* expanding panel */
.svc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--e-out);
}
.svc__panelInner {
  overflow: hidden;
  min-height: 0;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--e-out), transform 0.4s var(--e-out);
}
.svc__item.is-open .svc__panel { grid-template-rows: 1fr; }
.svc__item.is-open .svc__panelInner { opacity: 1; transform: none; transition-delay: 0.08s; }

.svc__more {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: 54ch;
  padding-bottom: 1rem;
}
.svc__shots { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }
.svc__shots img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 7px;
  border: 1px solid var(--line);
  display: block;
  background: var(--surface);
}
.svc__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 1rem 0 1.7rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ember);
  transition: gap var(--t-fast) var(--e-out);
}
.svc__cta:hover { gap: 0.85rem; }

/* ============================================================
   REVIEWS / SOCIAL PROOF
   ============================================================ */
.reviews { background: var(--bg-deep); border-top: 1px solid var(--line); }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3rem); }
.reviews__head h2 { font-size: var(--fs-h2); }
.rating { display: flex; align-items: center; gap: 0.9rem; }
.rating__stars { color: var(--ember); letter-spacing: 0.15em; font-size: 1.1rem; }
.rating__meta { font-family: var(--font-mono); font-size: 0.78rem; color: var(--muted); letter-spacing: 0.08em; }

.reviews__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1rem, 2vw, 1.4rem);
}
.review {
  display: grid;
  gap: 1.4rem;
  padding: clamp(1.6rem, 3vw, 2.3rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: border-color var(--t-med) var(--e-out), transform var(--t-med) var(--e-out), background var(--t-med);
}
.review:hover { border-color: var(--line-strong); transform: translateY(-4px); background: var(--surface-2); }
.review__stars { color: var(--ember); letter-spacing: 0.18em; font-size: 0.95rem; }
.review__quote { font-size: 1.05rem; line-height: 1.55; color: var(--text); }
.review__by { display: flex; align-items: center; gap: 0.85rem; }
.review__av {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-content: center;
  font-family: var(--font-display); font-weight: 800; font-stretch: 120%;
  background: var(--surface-2); color: var(--platinum);
  border: 1px solid var(--line-strong);
  font-size: 0.95rem;
}
.review__name { font-weight: 600; font-size: 0.95rem; }
.review__car { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.06em; }

/* ============================================================
   BOOKING / CTA
   ============================================================ */
.book { background: var(--bg); border-top: 1px solid var(--line); position: relative; }
.book__head h2 { font-size: var(--fs-h1); margin-block: 0.9rem 1.2rem; }
.book__head h2 em { font-style: normal; color: var(--ember); }
.book__head .lead { max-width: 64ch; }
.book__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
  margin-top: clamp(2.4rem, 4vw, 3.4rem);
}
.book__grid > * { min-width: 0; }

/* booking CTA (replaces form on main page) */
.book__cta {
  display: grid;
  gap: 1.8rem;
  align-content: start;
  padding-top: 0.4rem;
}

/* Primary book button */
.book__primary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 1.3em 1.8em;
  background: var(--ember);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 125%;
  font-size: clamp(1.1rem, 1.5vw + 0.5rem, 1.35rem);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: var(--radius);
  transition: background var(--t-fast) var(--e-out), transform var(--t-fast) var(--e-out);
}
.book__primary:hover { background: #c0201a; transform: translateY(-2px); }
.book__primary-arrow {
  font-size: 1.4em;
  transition: transform var(--t-fast) var(--e-out);
}
.book__primary:hover .book__primary-arrow { transform: translate(3px, -3px); }

/* "or" divider */
.book__or {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.book__or-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.book__or-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--faint);
  white-space: nowrap;
}

/* Secondary contact buttons */
.book__alts { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.book__alt {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1em 1.2em;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out), background var(--t-fast);
}
.book__alt:hover { border-color: var(--ember); color: var(--ember); background: var(--surface); }
.book__alt-ic {
  width: 20px; height: 20px;
  display: grid; place-content: center;
  flex-shrink: 0;
}
.book__alt-ic svg { width: 18px; height: 18px; }
.book__alt span:nth-child(2) { flex: 1; }
.book__alt-arrow {
  font-size: 0.85em;
  color: var(--faint);
  transition: transform var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.book__alt:hover .book__alt-arrow { transform: translate(2px, -2px); color: var(--ember); }

.book__note {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  color: var(--faint);
  text-transform: uppercase;
}

.form { display: grid; gap: 1.1rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
@media (max-width: 540px){ .form__row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--faint);
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 0.95em 1.05em;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 12px;
  color: var(--text);
  font-size: 1rem;
  transition: border-color var(--t-fast) var(--e-out), background var(--t-fast);
  -webkit-appearance: none; appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { cursor: pointer; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23888' stroke-width='1.5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1.1em center; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--ember);
  background: var(--surface-2);
  box-shadow: 0 0 0 3px var(--ember-soft);
}
.form__submit { margin-top: 0.4rem; display: flex; align-items: center; gap: 1.2rem; flex-wrap: wrap; }
.form__note { font-family: var(--font-mono); font-size: 0.7rem; color: var(--faint); letter-spacing: 0.06em; max-width: 32ch; }

/* contact / visit panel */
.visit { display: grid; gap: 1.5rem; }
.visit__card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
}
.visit__mapwrap { position: relative; }
.visit__map {
  aspect-ratio: 16 / 10;
  width: 100%;
  border: 0;
  display: block;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.55) brightness(0.96) contrast(0.92);
}
.visit__directions {
  position: absolute;
  right: 0.9rem; bottom: 0.9rem;
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.6em 1em;
  background: oklch(0.12 0.005 256 / 0.86);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--line-strong);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  transition: border-color var(--t-fast) var(--e-out), color var(--t-fast) var(--e-out);
}
.visit__directions:hover { border-color: var(--ember); color: var(--ember); }
.visit__directions .arrow { transition: transform var(--t-fast) var(--e-out); }
.visit__directions:hover .arrow { transform: translate(2px, -2px); }
.visit__rows { display: grid; }
.visit__row {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1.1rem clamp(1.2rem, 2.5vw, 1.8rem);
  border-top: 1px solid var(--line);
  transition: background var(--t-fast) var(--e-out);
}
.visit__row:hover { background: var(--surface-2); }
.visit__ic {
  width: 38px; height: 38px;
  display: grid; place-content: center;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: var(--ember);
}
.visit__ic svg { width: 18px; height: 18px; }
.visit__k { font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); }
.visit__v { font-size: 1rem; color: var(--text); }
.visit__v a:hover { color: var(--ember); }

.hours {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.2rem, 2.5vw, 1.6rem);
  background: var(--surface);
  display: grid; gap: 0.7rem;
}
.hours__title { font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--faint); }
.hours__row { display: flex; justify-content: space-between; font-size: 0.95rem; }
.hours__row span:last-child { color: var(--muted); font-family: var(--font-mono); font-size: 0.85rem; }
.hours__open { color: var(--ember) !important; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--bg-deep); border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 7vw, 6rem) 2.5rem; position: relative; z-index: 2; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 2.5rem; padding-bottom: clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--line); }
.footer__tag { margin-top: 1.2rem; font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); }
.footer__dream { margin-top: 0.6rem; color: var(--faint); font-size: 0.95rem; max-width: 30ch; }
.footer__col h4 { font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--faint); margin-bottom: 1.1rem; }
.footer__col ul { display: grid; gap: 0.7rem; }
.footer__col a, .footer__col li { color: var(--muted); font-size: 0.95rem; transition: color var(--t-fast) var(--e-out); }
.footer__col a:hover { color: var(--text); }
.socials { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.socials a {
  width: 40px; height: 40px;
  display: grid; place-content: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  transition: color var(--t-fast) var(--e-out), border-color var(--t-fast) var(--e-out), transform var(--t-fast) var(--e-out);
}
.socials a:hover { color: var(--ember); border-color: var(--ember); transform: translateY(-3px); }
.socials svg { width: 18px; height: 18px; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; }
.footer__bottom p { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.06em; }
.footer__legal { display: flex; gap: 1.4rem; }
.footer__legal a { font-family: var(--font-mono); font-size: 0.72rem; color: var(--faint); letter-spacing: 0.06em; transition: color var(--t-fast) var(--e-out); }
.footer__legal a:hover, .footer__legal a[aria-current] { color: var(--ember); }

/* ============================================================
   COOKIE CONSENT BANNER
   ============================================================ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9000;
  background: oklch(0.13 0.006 256 / 0.96);
  backdrop-filter: blur(18px) saturate(1.3);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  border-top: 1px solid var(--line-strong);
  padding-block: 1.1rem;
  transform: translateY(100%);
  transition: transform 0.55s var(--e-out);
  pointer-events: none;
}
.cookie-banner.is-visible {
  transform: translateY(0);
  pointer-events: auto;
}
.cookie-banner__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  flex-wrap: wrap;
}
.cookie-banner__text {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.55;
}
.cookie-banner__link {
  color: var(--ember);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.cookie-banner__link:hover { color: var(--ember-bright); }
.cookie-banner__btns { display: flex; gap: 0.7rem; flex-shrink: 0; }
.cookie-banner__btn { padding: 0.65em 1.4em; font-size: 0.82rem; }

@media (max-width: 580px) {
  .cookie-banner__inner { flex-direction: column; align-items: flex-start; }
  .cookie-banner__btns { width: 100%; }
  .cookie-banner__btn { flex: 1; justify-content: center; }
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.9s var(--e-out), transform 0.9s var(--e-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.08s; }
.reveal[data-d="2"] { transition-delay: 0.16s; }
.reveal[data-d="3"] { transition-delay: 0.24s; }
.reveal[data-d="4"] { transition-delay: 0.32s; }

/* skip link */
.skip { position: absolute; left: -999px; top: 0; z-index: 200; background: var(--ember); color: #111; padding: 0.7em 1.2em; border-radius: 0 0 10px 0; font-family: var(--font-mono); font-size: 0.8rem; }
.skip:focus { left: 0; }

:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 3px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .statement__grid { grid-template-columns: 1fr; gap: 2rem; }
  .book__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav__links, .nav__phone { display: none; }
  .nav__toggle {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: none; border: 0; cursor: pointer;
    font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text);
  }
  .nav__toggle .bars { display: grid; gap: 4px; }
  .nav__toggle .bars i { width: 22px; height: 2px; background: var(--text); display: block; transition: transform var(--t-fast) var(--e-out), opacity var(--t-fast); }
  .nav__toggle.is-open .bars i:nth-child(1){ transform: translateY(6px) rotate(45deg); }
  .nav__toggle.is-open .bars i:nth-child(2){ opacity: 0; }
  .nav__toggle.is-open .bars i:nth-child(3){ transform: translateY(-6px) rotate(-45deg); }
}
@media (max-width: 760px) {
  .specbar { grid-template-columns: 1fr 1fr; }
  .specbar__item:nth-child(2){ border-right: 0; }
  .specbar__item:nth-child(1), .specbar__item:nth-child(2){ border-bottom: 1px solid var(--line); }
  .specbar__item:nth-child(3){ grid-column: 1 / -1; }
  .work__grid > * { grid-column: 1 / -1 !important; }
  .shot--hero { aspect-ratio: 16/10; }
}
.intro__copy { display: none; }
/* Mobile: phones get a PORTRAIT crop of the footage (nose to front wheel), encoded in the exact shape
   it is shown, filling the whole screen under the header (no empty band, no oversized upscaling).
   The headline sits over the dark floor at the bottom, above the scroll cue, and is identical on the
   intro. Phone-only. */
@media (max-width: 767px) {
  .hero { height: 330svh; }
  .hero__stage { height: 100svh; background: var(--bg); }
  .hero__video, .hero__poster, .intro__video, .intro__bridge {
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    object-fit: cover;
    object-position: 85% 50%;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
            mask-image: linear-gradient(to bottom, transparent 0, #000 12%);
  }
  .hero__poster { transform: none !important; }
  .hero__overlay { justify-content: flex-end; }
  .hero__center { margin-bottom: 1.1rem; }
  .hero__headline { font-size: clamp(1.9rem, 8.2vw, 2.5rem); }
  .hero__statement { opacity: 1 !important; }
  .intro { background-image: none !important; background-color: var(--bg); }
  .intro__video { background: transparent; }
  .intro__bridge { background: url("assets/hero-poster-p.webp?v=9") 85% center / cover no-repeat; }
  .intro__copy { display: flex; z-index: 2; pointer-events: none; padding-bottom: calc(clamp(1.6rem, 4vh, 3rem) + 42px); }
}
@media (max-width: 560px) {
  .footer__top { grid-template-columns: 1fr; }
  .hero__spec { display: none; }
  .statement h2 { font-size: clamp(2.1rem, 9vw, 3.2rem); white-space: normal; }
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .hero { height: 100vh; }
  .hero__stage { position: relative; }
  .hero__video { opacity: 0; }
  .hero__poster { transform: none; }
  .reveal { opacity: 1; transform: none; }
  .hero__statement { opacity: 1 !important; }
}

/* ============================================================
   HEADER SOCIALS + WHATSAPP CONSULTATION CTA
   ============================================================ */
.nav__socials { display: flex; align-items: center; gap: 0.3rem; }
.nav__socials a {
  width: 48px; height: 48px;
  display: grid; place-content: center;
  border-radius: 12px;
  color: var(--muted);
  transition: color var(--t-fast) var(--e-out), background var(--t-fast) var(--e-out);
}
.nav__socials a:hover { color: var(--ember); background: var(--surface-2); }
.nav__socials svg { width: 28px; height: 28px; }
.nav__socials a[aria-label="Facebook"] svg,
.nav__socials a[aria-label="TikTok"] svg { transform: scale(1.18); }
@media (max-width: 1279px) {
  .nav__socials { gap: 0.1rem; }
  .nav__socials a { width: 40px; height: 40px; }
  .nav__socials svg { width: 24px; height: 24px; }
}
.nav .btn--solid { padding: 0.8em 1.35em; font-size: 0.76rem; white-space: nowrap; }
.cta__short { display: none; }
/* the number lives in the Visit section and footer; the header keeps the icons and CTA */
.nav__phone { display: none; }
@media (max-width: 860px) { .nav__socials { display: none; } }
@media (max-width: 560px) {
  .cta__long { display: none; }
  .cta__short { display: inline; }
}
.menu .menu__socials { display: flex; justify-content: center; gap: 0.7rem; margin-top: 1.6rem; }
.menu .menu__socials a {
  font-family: var(--font-body); font-weight: 400; font-stretch: 100%;
  font-size: 1rem; line-height: 1; text-transform: none;
  color: var(--muted);
  transform: none;
}
.menu .menu__socials a:hover { color: var(--ember); transform: translateY(-3px); }

/* Phones and small tablets: "transformation." is one unbreakable word, so the two
   headings that contain it are capped to the screen width (they carry inline font sizes). */
@media (max-width: 767px) {
  .sec-title { font-size: min(var(--fs-h2), 8.2vw) !important; }
  .book__head h2 { font-size: min(var(--fs-h1), 8.2vw) !important; }
}

/* ============================================================
   MAP: zoomed in, with the rear-access callout and diagram
   ============================================================ */
.visit__rear {
  position: absolute;
  left: 0.9rem; top: 0.9rem;
  z-index: 2;
  display: inline-flex; align-items: center; gap: 0.6rem;
  max-width: calc(100% - 1.8rem);
  padding: 0.7em 1.05em 0.7em 0.85em;
  background: var(--ember);
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px oklch(0 0 0 / 0.28);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  line-height: 1.3;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.visit__rear svg { width: 22px; height: 22px; flex: none; }
.visit__rear b { font-weight: 700; display: block; }
@media (max-width: 560px) {
  .visit__rear { font-size: 0.66rem; left: 0.6rem; top: 0.6rem; padding: 0.6em 0.8em 0.6em 0.7em; }
  .visit__rear svg { width: 18px; height: 18px; }
}

/* ============================================================
   MAP: static close-up with the entrance marked
   ============================================================ */
.visit__mapimg { position: relative; line-height: 0; }
.visit__map { aspect-ratio: auto; width: 100%; height: auto; display: block; }
.visit__overlay { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.visit__attr {
  position: absolute; left: 0.6rem; top: 0.5rem; z-index: 2;
  font: 500 0.6rem/1 var(--font-mono); letter-spacing: 0.04em;
  color: oklch(0.2 0.01 256 / 0.75);
  background: oklch(1 0 0 / 0.7); padding: 0.3em 0.55em; border-radius: 5px;
}
.ov-zone { fill: oklch(0.52 0.23 27 / 0.16); stroke: oklch(0.52 0.23 27); stroke-width: 5; stroke-dasharray: 18 12; }
.ov-path-bg { fill: none; stroke: #fff; stroke-width: 20; stroke-linecap: round; stroke-linejoin: round; opacity: 0.9; }
.ov-path { fill: none; stroke: #d11a14; stroke-width: 11; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 2 24; }
.ov-arrow { stroke: #d11a14; stroke-width: 16; stroke-linecap: round; }
.ov-head { fill: #d11a14; }
.ov-dot { fill: #d11a14; stroke: #fff; stroke-width: 6; }
.ov-chip { fill: #d11a14; stroke: #fff; stroke-width: 5; }
.ov-chip2 { fill: #fff; stroke: #d11a14; stroke-width: 4; }
.ov-chip3 { fill: #14161c; stroke: #fff; stroke-width: 4; }
.ov-t1 { fill: #fff; font: 800 42px var(--font-display); letter-spacing: 0.03em; }
.ov-t2 { fill: #fff; font: 800 28px var(--font-display); letter-spacing: 0.04em; }
.ov-t3 { fill: #14161c; font: 700 20px var(--font-mono); letter-spacing: 0; }
.ov-t4 { fill: #fff; font: 800 25px var(--font-display); letter-spacing: 0.04em; }
.ov-p { fill: #fff; font: 900 58px var(--font-display); text-anchor: middle; }
.ov-pin { fill: #14161c; stroke: #fff; stroke-width: 5; }
.ov-pin-dot { fill: #d11a14; }
.visit__rear { display: none; }

/* the up-right arrow is an SVG: the text character renders as a coloured emoji on iOS */
.arr-ic { display: block; width: 1em; height: 1em; }
.btn .arrow, .book__primary-arrow, .book__alt-arrow, .visit__directions .arrow { display: inline-grid; place-items: center; }

/* Contact details + opening hours sit under the WhatsApp CTA on desktop */
.book__details { display: grid; gap: 1.5rem; }
.book__details .visit__row:first-child { border-top: 0; }
@media (min-width: 1001px) {
  .book__grid { row-gap: 1rem; align-content: start; }
  .book__grid > .book__cta { grid-column: 1; grid-row: 1; }
  .book__grid > .visit { grid-column: 2; grid-row: 1 / span 2; }
  .book__grid > .book__details { grid-column: 1; grid-row: 2; }
}

/* WhatsApp contact button: brand green */
.book__alt[href*="wa.me"] {
  background: #25D366;
  border-color: #25D366;
  color: #052e16;
  font-weight: 600;
}
.book__alt[href*="wa.me"] .book__alt-arrow { color: #052e16; }
.book__alt[href*="wa.me"]:hover {
  background: #1ebe5b;
  border-color: #1ebe5b;
  color: #052e16;
}
.book__alt[href*="wa.me"]:hover .book__alt-arrow { color: #052e16; }

/* ============================================================
   SHOP / MERCH
   ============================================================ */
.shop { background: var(--surface); border-top: 1px solid var(--line); }
.shop__head { max-width: 62ch; margin-bottom: clamp(2.2rem, 4.5vw, 3.4rem); }
.shop__lead { margin-top: 1.1rem; color: var(--muted); font-size: var(--fs-lead); max-width: 52ch; }
.shop__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(0.9rem, 1.6vw, 1.4rem);
}
.merch__card {
  display: flex; flex-direction: column;
  min-width: 0;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color var(--t-med) var(--e-out), transform var(--t-med) var(--e-out);
}
.merch__card:hover { border-color: var(--line-strong); transform: translateY(-4px); }
.merch__media { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--surface-2); }
.merch__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity 0.5s var(--e-out), transform 0.9s var(--e-out); }
.merch__img--alt { opacity: 0; }
@media (hover: hover) {
  .merch__card:hover .merch__img--alt { opacity: 1; }
  .merch__card:hover .merch__img { transform: scale(1.03); }
}
.merch__body { display: grid; gap: 0.9rem; padding: clamp(0.9rem, 1.6vw, 1.2rem); margin-top: auto; }
.merch__row { display: flex; justify-content: space-between; align-items: baseline; gap: 0.8rem; }
.merch__name { font-family: var(--font-display); font-weight: 700; font-stretch: 108%; font-size: clamp(0.98rem, 0.9rem + 0.35vw, 1.2rem); line-height: 1.12; text-transform: uppercase; letter-spacing: -0.005em; }
.merch__price { font-family: var(--font-mono); font-size: 0.95rem; color: var(--text); white-space: nowrap; }
.merch__btn { justify-content: center; width: 100%; padding: 0.8em 1em; font-size: 0.72rem; }
@media (max-width: 1000px) { .shop__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .shop__grid { gap: 0.7rem; }
  .merch__row { flex-direction: column; gap: 0.3rem; }
  .merch__body { gap: 0.7rem; padding: 0.8rem; }
  .merch__btn { letter-spacing: 0.06em; font-size: 0.64rem; padding: 0.75em 0.5em; }
}

/* header: room for the Shop link on narrow desktops / tablets */
@media (min-width: 861px) and (max-width: 1100px) {
  .nav, .nav__links { gap: 1rem; }
  .nav__link { font-size: 0.86rem; }
  .nav__socials a { width: 36px; height: 36px; }
  .nav__socials svg { width: 21px; height: 21px; }
  .nav .btn--solid { padding: 0.75em 1em; font-size: 0.7rem; }
}
