/* Pinnacle Detailing Manchester — design system
   per Brand Guidelines v2: Classic Gold #D4AF37 · Neutral Soft Black #1C1C1C
   porcelain gallery space · Minion-style serif (EB Garamond) · engineering-annotation motifs */

:root {
  --porcelain: #FFFFFF;
  --cream: #F7F5F0;      /* brand off-white — the page itself */
  --sand: #F1EDE4;       /* warm muted panel */
  --line: rgba(28, 28, 28, 0.12);
  --gold: #D4AF37;       /* Classic Gold — graphic accents */
  --ice: #D8B95C;        /* light gold — for dark surfaces */
  --ice-deep: #8F7420;   /* deep gold — small text on light grounds */
  --red: #A8862B;        /* flat gold — lines & strong accents */
  --espresso: #1C1C1C;   /* Neutral Soft Black */
  --ivory: #1C1C1C;      /* primary text (light theme) */
  --muted: #6E685E;      /* secondary text */
  --taupe: #6E685E;
  --font-display: "Cinzel", "Times New Roman", serif;  /* Trajan-style capitals — matches the logo wordmark */
  --font-serif: "EB Garamond", Georgia, serif;         /* Minion analogue — headings & body serif */
  --font-body: "Geist", "Helvetica Neue", sans-serif;
  --glass: rgba(24, 23, 20, 0.62);
  --glass-border: rgba(212, 175, 55, 0.20);
  --glass-shadow: 0 22px 60px -34px rgba(0, 0, 0, 0.8);
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;
  --pad: clamp(20px, 6vw, 96px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: transparent;
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold); color: #141310; }
/* fixed warm-paper base — the 3D car canvas sits above this, content above that */
body::before {
  content: ""; position: fixed; inset: 0; z-index: -2;
  background: radial-gradient(120% 90% at 50% 0%, #FFFFFF 0%, #F7F5F0 55%, #EFEBE1 100%);
  pointer-events: none;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--espresso); color: var(--porcelain); padding: 10px 18px;
}
.skip-link:focus { left: 12px; top: 12px; }
.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;
}

/* ---------- nav ---------- */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px var(--pad);
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
}
#nav.scrolled {
  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(22px) saturate(1.4);
  -webkit-backdrop-filter: blur(22px) saturate(1.4);
  border-bottom: 1px solid rgba(28, 28, 28, 0.08);
  padding: 12px var(--pad);
}
.nav-brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; }
.brand-ico { height: 46px; width: auto; display: block; }
.brand-word {
  display: flex; flex-direction: column; gap: 4px;
  font-family: var(--font-display); font-weight: 600; font-size: 18px;
  letter-spacing: 0.1em; text-transform: uppercase; line-height: 1;
  color: var(--ivory);
}
.brand-word small {
  font-family: var(--font-body); font-size: 8px; font-weight: 500; letter-spacing: 0.44em;
  color: var(--ice-deep);
}
.nav-links { display: flex; gap: clamp(14px, 2.5vw, 34px); }
.nav-links a {
  position: relative; text-decoration: none; font-size: 14px; font-weight: 600;
  letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted);
  transition: color 0.25s; padding: 10px 2px;
}
.nav-links a::after {
  content: ""; position: absolute; left: 2px; right: 2px; bottom: 4px; height: 1.5px;
  background: var(--red); transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--ivory); }
.nav-links a:hover::after, .nav-links a:focus-visible::after { transform: scaleX(1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-block; padding: 14px 30px;
  font-family: var(--font-body); font-size: 12.5px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none;
  color: var(--espresso); background: transparent;
  border: 1px solid rgba(28, 28, 28, 0.45); border-radius: 0;
  cursor: pointer; transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
}
.btn { will-change: transform; }
.btn:hover, .btn:focus-visible { background: var(--espresso); border-color: var(--espresso); color: #F7F5F0; }
.btn:active { transform: scale(0.97); }
.nav-cta { transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s cubic-bezier(0.22, 1, 0.36, 1); }
.btn-solid { background: var(--espresso); border-color: var(--espresso); color: #F7F5F0; }
.btn-solid:hover, .btn-solid:focus-visible { background: var(--gold); border-color: var(--gold); color: #141310; }

/* ---------- loader — brand moment (full-colour logo on light ground, per guidelines) ---------- */
#loader {
  position: fixed; inset: 0; z-index: 90;
  background: var(--porcelain);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity 0.6s;
}
#loader.done { opacity: 0; pointer-events: none; }
.loader-logo { width: clamp(150px, 22vw, 230px); height: auto; }
.loader-pct { font-family: var(--font-mono); font-size: 13px; color: var(--ice-deep); letter-spacing: 0.2em; }

/* ---------- hero / 3D pin ---------- */
.hero-wrap { height: 380vh; position: relative; }
.hero-pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
/* the car canvas is fixed for the whole page so it can keep driving down behind the content */
#stage3d { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; transition: opacity 0.4s ease; }
#stage3d canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
main { position: relative; z-index: 1; }

/* ground wordmark — crisp DOM text beneath the 3D canvas, the car drives over it */
.floor-words { position: fixed; inset: 0; z-index: -1; pointer-events: none; }
.fw {
  position: absolute; left: 50%; transform: translateX(-50%);
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(44px, 7vw, 118px); line-height: 1;
  letter-spacing: 0.04em; text-transform: uppercase; white-space: nowrap;
}
.fw-top { bottom: calc(50% + 21vmin); color: var(--espresso); }
.fw-bottom { top: calc(50% + 21vmin); color: #B08A2E; }

.wordmark {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: clamp(70px, 12vh, 130px) var(--pad) clamp(56px, 11vh, 120px);
}
.wordmark h1 { display: contents; }
.wm {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(56px, 12.5vw, 190px);
  line-height: 0.92;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  will-change: transform, opacity;
}
.wm-left { align-self: flex-start; }
.wm-right { align-self: flex-end; color: var(--red); }
.wm-sub {
  position: absolute; left: 50%; bottom: clamp(108px, 16vh, 150px); transform: translateX(-50%);
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--taupe); white-space: nowrap;
}

.hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.32em;
  text-transform: uppercase; color: var(--ivory); white-space: nowrap;
  animation: hintPulse 2.2s ease-in-out infinite;
}
.hint-line {
  display: block; width: 2px; height: clamp(36px, 6vh, 54px); border-radius: 2px;
  background: linear-gradient(var(--red), rgba(176, 138, 46, 0));
  transform-origin: 0 0;
  animation: endLineDraw 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes hintPulse { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }

.rail {
  position: absolute; right: clamp(14px, 2.5vw, 36px); top: 50%; transform: translateY(-50%);
  width: 2px; height: 130px; background: rgba(28, 28, 28, 0.14); z-index: 3; border-radius: 2px;
}
.rail span { display: block; width: 100%; height: 0%; background: var(--ice-deep); border-radius: 2px; }

/* chapters (annotations over 3D) */
.chapter {
  position: absolute; z-index: 3; width: min(330px, 78vw);
  opacity: 0; transform: translateY(20px); pointer-events: none;
  color: #F5EFE0;
  background: linear-gradient(148deg, rgba(30,28,22,0.92) 0%, rgba(44,39,26,0.86) 46%, rgba(16,15,11,0.94) 100%);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(212, 175, 55, 0.38);
  border-radius: 4px;
  padding: 18px 22px 20px;
  box-shadow:
    0 26px 64px -30px rgba(10, 9, 5, 0.65),
    0 0 0 1px rgba(212, 175, 55, 0.12),
    0 0 42px -14px rgba(212, 175, 55, 0.35),
    inset 0 1px 0 rgba(240, 214, 140, 0.22);
  overflow: hidden; isolation: isolate;
  will-change: transform, opacity;
}
/* drifting gold-foil sheen — soft, rotating, no hard repeating band */
.chapter::before {
  content: ""; position: absolute; inset: -55%; z-index: 0; pointer-events: none;
  background: conic-gradient(from 0deg,
    rgba(255,255,255,0) 0deg,
    rgba(240,214,140,0.32) 42deg,
    rgba(255,255,255,0) 96deg,
    rgba(212,175,55,0.22) 150deg,
    rgba(255,255,255,0) 210deg,
    rgba(248,226,160,0.36) 262deg,
    rgba(255,255,255,0) 320deg,
    rgba(240,214,140,0.32) 360deg);
  filter: blur(20px);
  mix-blend-mode: screen;
  transform-origin: 50% 50%;
  animation: chSheen 16s linear infinite;
}
@keyframes chSheen { to { transform: rotate(1turn); } }
/* curved-metal specular: light top edge, shaded base */
.chapter::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; border-radius: 4px;
  background: linear-gradient(180deg,
    rgba(244,226,168,0.14) 0%, transparent 26%,
    transparent 72%, rgba(0,0,0,0.36) 100%);
}
.chapter > * { position: relative; z-index: 2; }
.chapter h2, .chapter .kicker, .chapter .ch-copy { text-shadow: 0 1px 12px rgba(8, 7, 3, 0.45); }
/* spec rows — brand icon replaces the pill */
.specs { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; align-items: flex-start; }
.spec { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; color: #EFE3C2; text-shadow: 0 1px 10px rgba(8, 7, 3, 0.45); }
.spec-ico { width: 15px; height: 15px; flex: none; color: #ffffff; }
.spec.is-key { font-size: 13.5px; font-weight: 500; color: #ffffff; }
.spec.is-key .spec-ico { color: #ffffff; }
.ch-left { left: var(--pad); bottom: 13vh; }
.ch-right { right: var(--pad); bottom: 13vh; }
.ch-mid { left: 50%; bottom: 16vh; transform: translate(-50%, 18px); text-align: center; }

/* end-of-hero card — porcelain editorial treatment, no red slab */
#chEnd {
  width: min(760px, 94vw);
  padding: 34px 20px 26px;
  border: 0; border-radius: 0; box-shadow: none;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.94) 35%, rgba(255, 255, 255, 0) 100%);
  overflow: visible; isolation: auto;
}
#chEnd::before, #chEnd::after { content: none; }
.end-kicker {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.28em;
  text-transform: uppercase; color: var(--taupe);
}
.end-tick { width: 36px; height: 1px; background: var(--ice-deep); opacity: 0.55; flex: none; }
#chEnd .end-title {
  font-family: var(--font-display); font-weight: 550;
  font-size: clamp(42px, 6vw, 88px); line-height: 1;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ivory); text-shadow: none;
  margin: 18px 0 26px;
}
#chEnd .end-title em {
  font-family: var(--font-serif); font-style: italic; font-weight: 500;
  color: var(--red);
}
.end-line {
  display: block; margin: 0 auto; width: 2px;
  height: clamp(42px, 7vh, 68px); border-radius: 2px;
  background: linear-gradient(var(--red), rgba(194, 42, 35, 0));
  transform-origin: 0 0;
  animation: endLineDraw 2s cubic-bezier(0.22, 1, 0.36, 1) infinite;
}
@keyframes endLineDraw {
  0% { transform: scaleY(0); opacity: 1; }
  55% { transform: scaleY(1); opacity: 1; }
  85%, 100% { transform: scaleY(1); opacity: 0; }
}
.chapter h2 {
  font-family: var(--font-serif); font-weight: 500; font-size: clamp(19px, 2vw, 25px);
  line-height: 1.16; margin: 7px 0 8px; letter-spacing: -0.005em; color: #FBF8F0;
}
.ch-copy { font-size: 13px; line-height: 1.5; color: #E5D9BE; }
.ch-right .ch-copy { margin-left: 0; }
.chapter .kicker { color: #E3C36A; }
.chapter .chip { background: rgba(255,255,255,0.12); border-color: rgba(240,214,140,0.32); color: #F7F0DC; }
.chapter .chip-red { border-color: rgba(240,214,140,0.6); color: #F0DC9E; }
.chapter .scroll-arrow { color: #E5D9BE; }
.kicker {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ice-deep);
}
.chips { display: flex; gap: 8px; margin-top: 16px; flex-wrap: wrap; }
.ch-right .chips { justify-content: flex-start; }
.chip {
  font-family: var(--font-mono); font-size: 12px; padding: 6px 14px;
  border: 1px solid rgba(156, 124, 30, 0.4); border-radius: 999px;
  background: rgba(255, 255, 255, 0.92); color: var(--ice-deep);
}
.chip-red { border-color: rgba(194, 42, 35, 0.45); color: var(--red); }
.scroll-arrow { font-size: 26px; margin-top: 14px; color: var(--taupe); animation: hintPulse 2.2s infinite; }

/* ---------- sections ---------- */
.section {
  position: relative;
  padding: clamp(80px, 13vh, 150px) var(--pad); max-width: 1340px; margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
}
/* engineering-plate section numerals */
.section[data-num]::before {
  content: attr(data-num);
  position: absolute; top: clamp(24px, 5vh, 60px); right: var(--pad);
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(96px, 15vw, 220px); line-height: 0.8;
  color: rgba(212, 175, 55, 0.20);
  pointer-events: none; user-select: none;
}
.display {
  font-family: var(--font-serif); font-weight: 500; letter-spacing: -0.005em;
  font-size: clamp(34px, 5vw, 64px); line-height: 1.06; margin: 14px 0 18px;
}
.display em { font-style: italic; font-weight: 450; color: var(--ice-deep); }
.sub-block { margin-top: clamp(70px, 10vh, 120px); }
.lede { max-width: 62ch; font-size: clamp(17px, 1.35vw, 19px); color: #5A5344; }
.section-sub { color: var(--taupe); margin: -6px 0 10px; }

.stat-row { display: flex; gap: clamp(20px, 4vw, 60px); margin-top: 44px; flex-wrap: wrap; }
.stat strong { display: block; font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 3.2vw, 42px); letter-spacing: 0.01em; }
.stat span { font-size: 14px; color: var(--taupe); max-width: 22ch; display: block; }

/* intro — centred + staggered float reveal */
.intro { text-align: center; }
.intro .lede { margin-left: auto; margin-right: auto; }
.intro .stat-row { justify-content: center; }
.intro .stat span { margin-left: auto; margin-right: auto; }
.intro .reveal {
  transform: translateY(46px);
  transition: opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1), transform 0.95s cubic-bezier(0.22, 1, 0.36, 1);
}
.intro .reveal.in { transform: none; }
.intro > .lede.reveal { transition-delay: 0.12s; }
.intro .stat.reveal { transform: translateY(32px); }
.intro .stat.reveal:nth-of-type(2) { transition-delay: 0.12s; }
.intro .stat.reveal:nth-of-type(3) { transition-delay: 0.24s; }

/* paint cross-section diagram (intro) — an engineering data-plate on paper */
.cross-section {
  margin: clamp(40px, 6vh, 60px) auto 0; max-width: 900px;
  background: var(--cream); border-radius: 2px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  padding: clamp(18px, 3vw, 34px) clamp(14px, 3vw, 34px) clamp(14px, 2.5vw, 24px);
  box-shadow: 0 26px 60px -40px rgba(28, 28, 28, 0.35);
}
.cs-scroll { overflow-x: auto; }
.cs-scroll svg { min-width: 700px; width: 100%; height: auto; display: block; margin: 0 auto; }
.cs-prompt svg { flex: none; }

/* PPF layer: toggled by the Add PPF button, film grows out of the paint to scale */
.cs-toggle-row { display: flex; justify-content: flex-end; align-items: center; margin-bottom: 6px; }
.cs-prompt {
  display: inline-flex; align-items: center; gap: 9px; margin-right: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--ice-deep);
  animation: promptNudge 1.8s ease-in-out infinite;
  transition: opacity 0.4s ease;
}
@keyframes promptNudge { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(6px); } }
.cs-toggle {
  font-family: var(--font-body); font-size: 11.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--espresso); background: var(--porcelain);
  border: 1px solid rgba(176, 138, 46, 0.6); border-radius: 0;
  padding: 10px 20px; cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.cs-toggle:hover, .cs-toggle:focus-visible { background: var(--gold); border-color: var(--gold); color: #141310; }
.cs-toggle[aria-pressed="true"] { background: var(--espresso); border-color: var(--espresso); color: #F7F5F0; }
#ppfLayer {
  transform-box: fill-box; transform-origin: 50% 100%;
  transform: scaleY(0);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}
.cross-section.ppf-on #ppfLayer { transform: scaleY(1); transition-delay: 0.05s; }
#ppfNote { opacity: 0; transition: opacity 0.4s ease 0s; }
.cross-section.ppf-on #ppfNote { opacity: 1; transition: opacity 0.8s ease 1s; }
#swirlNote { transition: opacity 0.8s ease 0.6s; }
.cross-section.ppf-on #swirlNote { opacity: 0.35; transition-delay: 0.4s; }
html:not(.js) #ppfLayer { transform: none; }
html:not(.js) #ppfNote { opacity: 1; }
html:not(.js) .cs-toggle-row { display: none; }
.cs-label { font-family: var(--font-mono); font-size: 13px; fill: #6E685E; }
.cs-red { fill: #8F7420; }
.cross-section figcaption {
  margin-top: 14px; font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.02em; color: #6E685E;
}

/* kinetic type marquee */
.marquee {
  position: relative; z-index: 1; overflow: hidden;
  padding: clamp(16px, 3vh, 28px) 0;
  border-top: 1px solid rgba(212, 175, 55, 0.35); border-bottom: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(255, 255, 255, 0.88);
}
.marquee-track { display: flex; width: max-content; animation: marqueeSlide 36s linear infinite; will-change: transform; }
.marquee-seq { display: flex; align-items: baseline; gap: clamp(20px, 3vw, 44px); padding-right: clamp(20px, 3vw, 44px); }
@keyframes marqueeSlide { to { transform: translateX(-50%); } }
.marquee span {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(30px, 4.2vw, 58px);
  line-height: 1.15; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--espresso); white-space: nowrap;
}
.marquee .o { font-family: var(--font-serif); font-style: italic; font-weight: 500; color: var(--red); }
.marquee .dot { color: var(--gold); }

/* cards — uniform three-across on desktop, matching widths everywhere */
.card-grid { display: grid; gap: 18px; margin-top: 42px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
/* two-card grid sized so its cards match the three-across card width */
.card-grid.two { grid-template-columns: repeat(2, 1fr); max-width: calc((100% - 36px) / 3 * 2 + 18px); }
@media (max-width: 960px) {
  .card-grid.three { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
  .card-grid.two { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); max-width: none; }
}
.card {
  position: relative; overflow: hidden;
  background: var(--porcelain);
  border: 1px solid rgba(28, 28, 28, 0.1); border-radius: 2px;
  padding: 34px 30px 30px; display: flex; flex-direction: column;
  box-shadow: 0 24px 55px -38px rgba(28, 28, 28, 0.35);
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
/* red hairline draws across the top on hover (always lit on featured cards) */
.card::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--red));
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.card:hover::before, .card.featured::before { transform: scaleX(1); }
.card:hover { transform: translateY(-4px); border-color: rgba(212, 175, 55, 0.5); box-shadow: 0 30px 60px -36px rgba(28, 28, 28, 0.4); }
.card.featured { background: #FFFDF6; border-color: rgba(212, 175, 55, 0.5); }
.card-flag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ice-deep); margin-bottom: 8px;
}
.card h3 { font-family: var(--font-display); font-weight: 600; font-size: 23px; letter-spacing: 0.12em; text-transform: uppercase; }
.card-blurb { font-size: 15px; color: var(--taupe); margin-top: 6px; min-height: 2.6em; }
.price { font-family: var(--font-serif); font-size: 16px; margin: 14px 0 4px; color: var(--taupe); }
.price strong { font-size: clamp(30px, 2.6vw, 38px); color: var(--ice-deep); font-weight: 500; letter-spacing: -0.01em; }
.price .per { font-size: 15px; color: var(--taupe); }
.card ul { list-style: none; margin: 14px 0 18px; flex: 1; }
.card li { padding: 7px 0 7px 22px; position: relative; font-size: 15px; border-top: 1px solid var(--line); }
.card li::before { content: "—"; position: absolute; left: 0; color: var(--ice-deep); }
.card .meta { font-family: var(--font-mono); font-size: 12px; color: var(--taupe); margin-bottom: 18px; }
.card .btn { align-self: flex-start; }

/* add-ons */
.addons { margin-top: clamp(60px, 8vh, 90px); border-top: 1px solid var(--line); padding-top: 36px; }
.addons-title { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--taupe); }
.addon-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; margin-top: 22px; }
.addon h4 { font-family: var(--font-serif); font-weight: 500; font-size: 20px; }
.addon p { font-size: 14px; color: var(--taupe); margin-top: 6px; }
.addon-price { font-weight: 700; color: var(--red) !important; margin-top: 10px !important; font-size: 17px !important; }
.addon-price span { color: var(--taupe); font-weight: 400; font-size: 13px; }

/* ppf & plans tinted bands */
.ppf { max-width: none; background: rgba(247, 245, 240, 0.97); border-top: 1px solid rgba(212, 175, 55, 0.3); border-bottom: 1px solid rgba(212, 175, 55, 0.3); }
.ppf .display { font-size: clamp(42px, 6.4vw, 88px); }
.ppf .kicker { font-size: 14px; letter-spacing: 0.26em; }
.ppf > * { max-width: 1340px; margin-left: auto; margin-right: auto; }
.plans .small-print, .small-print { font-size: 12.5px; color: var(--taupe); margin-top: 18px; }

/* windscreen film strip */
.wpf {
  margin-top: 26px; padding: 30px 32px;
  background: var(--porcelain);
  border: 1px solid rgba(28, 28, 28, 0.1); border-radius: 2px;
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 55px -38px rgba(28, 28, 28, 0.35);
  display: grid; grid-template-columns: 1fr auto; gap: clamp(20px, 4vw, 60px);
  align-items: center;
}
.wpf h3 { font-family: var(--font-display); font-weight: 600; font-size: 21px; letter-spacing: 0.1em; text-transform: uppercase; }
.wpf-text p { font-size: 15px; color: var(--taupe); margin-top: 8px; max-width: 62ch; }
.wpf-cta { text-align: right; }
.wpf-cta .meta { font-family: var(--font-mono); font-size: 12px; color: var(--taupe); margin-bottom: 12px; }
@media (max-width: 720px) {
  .wpf { grid-template-columns: 1fr; }
  .wpf-cta { text-align: left; }
}

/* versus */
.versus {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px; margin-top: 42px;
}
.versus-col { border-radius: 2px; padding: 36px 34px; }
.versus-them { background: var(--sand); border: 1px solid rgba(28, 28, 28, 0.06); color: #6E685C; }
.versus-us { background: #161512; border: 1px solid rgba(212, 175, 55, 0.45); color: #F2EDE0; box-shadow: 0 30px 70px -35px rgba(28, 28, 28, 0.5); }
.versus-col h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 21px; letter-spacing: 0.1em; margin-bottom: 16px; }
.versus-us h3 { color: var(--ice); }
.versus-col ul { list-style: none; }
.versus-col li { padding: 9px 0 9px 24px; position: relative; font-size: 15px; border-top: 1px solid rgba(28, 28, 28, 0.09); }
.versus-them li::before { content: "✕"; position: absolute; left: 0; font-size: 12px; color: #A89A82; }
.versus-us li { border-top-color: rgba(212, 175, 55, 0.18); }
.versus-us li::before { content: "✓"; position: absolute; left: 0; font-size: 12px; color: var(--ice); }

/* photographic interludes — full-bleed, captioned like plates in a monograph */
.photo-break { position: relative; margin: clamp(40px, 7vh, 90px) 0; }
.photo-break img { width: 100%; display: block; max-height: 82vh; object-fit: cover; }
.photo-break figcaption {
  position: absolute; left: var(--pad); bottom: clamp(18px, 4vh, 38px);
  max-width: min(420px, 80vw);
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(212, 175, 55, 0.45);
  padding: 12px 18px 13px;
  font-family: var(--font-mono); font-size: 11.5px; line-height: 1.55;
  color: var(--muted);
}
.photo-break figcaption strong {
  display: block; margin-bottom: 2px;
  font-family: var(--font-display); font-weight: 600; font-size: 13px;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--espresso);
}

/* map break — full-bleed, edge to edge, no frame; warmed to the gold palette */
.map-break { margin: clamp(40px, 7vh, 90px) 0; position: relative; }
.map-break img { width: 100%; display: block; filter: sepia(0.55) saturate(0.75) hue-rotate(-6deg); }

/* studio pin — georeferenced to Unit 12, Westbrook Trading Estate, M17 1AY */
.map-pin {
  position: absolute;
  left: var(--pin-x);
  top: var(--pin-y);
  text-decoration: none;
}
.map-pin-dot {
  position: absolute;
  left: 0; top: 0;
  transform: translate(-50%, -50%);
  width: 14px; height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 2.5px solid #fff;
  box-shadow: 0 2px 10px rgba(176, 138, 46, 0.6);
}
.map-pin-dot::after {
  content: "";
  position: absolute;
  inset: -2.5px;
  border-radius: 50%;
  border: 2px solid var(--red);
  animation: pin-pulse 2.2s ease-out infinite;
}
@keyframes pin-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  70%, 100% { transform: scale(2.6); opacity: 0; }
}
.map-pin-label {
  position: absolute;
  left: 12px; bottom: 14px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 2px;
  box-shadow: 0 18px 45px -22px rgba(28, 28, 28, 0.4);
  padding: 10px 14px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
  white-space: nowrap;
  transition: transform 0.25s ease;
}
.map-pin-label strong {
  display: block;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--espresso);
}
.map-pin:hover .map-pin-label { transform: translateY(-2px); }

/* minor landmark marks: quiet reference points, deliberately subordinate */
.map-mark {
  position: absolute; left: var(--pin-x); top: var(--pin-y);
  display: inline-flex; align-items: center; gap: 5px;
  transform: translate(-4px, -50%);
  font-family: var(--font-mono); font-size: 9.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: #8A8171; white-space: nowrap;
  pointer-events: none;
}
.map-mark i {
  width: 6px; height: 6px; border-radius: 50%; flex: none;
  background: #8F7420; opacity: 0.7; border: 1px solid #fff;
}
@media (max-width: 560px) { .map-mark { font-size: 8px; gap: 4px; } .map-mark i { width: 5px; height: 5px; } }
@media (prefers-reduced-motion: reduce) {
  .map-pin-dot::after { animation: none; opacity: 0; }
}
@media (max-width: 640px) {
  .map-pin-label { font-size: 10px; padding: 8px 10px; }
  .map-pin-label br { display: none; }
}

/* closing call to action */
.cta-band {
  position: relative; z-index: 1; text-align: center;
  padding: clamp(64px, 11vh, 120px) var(--pad);
  background: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}
.cta-band .display { max-width: 22ch; margin-left: auto; margin-right: auto; }
.cta-meta { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; color: var(--taupe); margin: 4px 0 30px; }

/* review stars */
.stars { color: var(--gold); font-size: 19px; letter-spacing: 5px; margin-top: 10px; }

/* contact assurances */
.assurances {
  display: flex; flex-wrap: wrap; gap: 8px 30px;
  margin: 4px 0 10px;
  font-family: var(--font-mono); font-size: 12.5px; color: var(--taupe);
}
.assurances span::before { content: "✓  "; color: var(--ice-deep); }

/* reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
@media (max-width: 960px) {
  .review-grid { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
}
.review-grid blockquote {
  position: relative;
  background: var(--porcelain);
  border: 1px solid rgba(28, 28, 28, 0.1); border-radius: 2px; padding: 36px 30px 30px;
  box-shadow: 0 24px 55px -38px rgba(28, 28, 28, 0.35);
}
.review-grid blockquote::before {
  content: "\201C"; position: absolute; top: 8px; left: 16px;
  font-family: var(--font-serif); font-size: 104px; line-height: 1;
  color: rgba(212, 175, 55, 0.22); pointer-events: none;
}
.review-grid blockquote > * { position: relative; }
.review-grid p { font-family: var(--font-serif); font-size: 17px; line-height: 1.5; font-weight: 420; }
.review-grid cite { display: block; margin-top: 16px; font-style: normal; font-family: var(--font-mono); font-size: 12px; color: var(--taupe); }

/* finance */
.finance {
  max-width: none; color: var(--porcelain);
  background: rgba(22, 21, 19, 0.96);
}
.finance-inner { max-width: 1340px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(30px, 6vw, 90px); align-items: end; }
.finance .kicker { color: var(--ice); }
.finance .display { color: var(--porcelain); }
.finance .display em { color: var(--ice); }
.finance .lede { color: #b8b0a3; margin-bottom: 26px; }
.finance .small-print { color: #b8b0a3; font-size: 13px; line-height: 1.6; }
.finance { border-top: 1px solid rgba(212, 175, 55, 0.18); }

/* contact */
.contact-grid { display: grid; grid-template-columns: 1.4fr 0.9fr; gap: clamp(28px, 5vw, 70px); margin-top: 42px; }
form label { display: block; font-size: 13px; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; color: var(--taupe); margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
input, select, textarea {
  width: 100%; margin-top: 7px; padding: 13px 15px;
  font-family: var(--font-body); font-size: 16px; color: var(--espresso);
  background: var(--porcelain); border: 1px solid rgba(28, 28, 28, 0.18); border-radius: 2px;
}
input::placeholder, textarea::placeholder { color: #9A937F; }
input:focus-visible, select:focus-visible, textarea:focus-visible, .btn:focus-visible, a:focus-visible, button:focus-visible {
  outline: 2px solid var(--ice-deep); outline-offset: 2px;
}
.finance :focus-visible, footer :focus-visible, .versus-us :focus-visible {
  outline-color: var(--ice);
}
.form-note { margin-top: 14px; font-size: 14px; color: var(--ice-deep); }
.contact-card {
  background: var(--porcelain);
  border: 1px solid rgba(212, 175, 55, 0.4); border-radius: 2px; padding: 36px; height: fit-content;
  box-shadow: 0 24px 55px -38px rgba(28, 28, 28, 0.35);
}
.contact-card h3 { font-family: var(--font-display); font-weight: 600; text-transform: uppercase; font-size: 22px; line-height: 1.25; letter-spacing: 0.1em; }
.contact-card dl { margin-top: 22px; }
.contact-card dt { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ice-deep); margin-top: 16px; }
.contact-card dd { font-size: 15px; margin-top: 4px; }
.contact-card a { color: var(--espresso); }
.response-note { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }

/* footer */
footer {
  position: relative; z-index: 1; color: var(--porcelain);
  background: rgba(18, 17, 16, 0.97);
  padding: clamp(50px, 8vh, 90px) var(--pad) 30px;
}
.footer-top { display: grid; grid-template-columns: 1fr auto 1fr; gap: 40px; align-items: start; max-width: 1340px; margin: 0 auto; }
.footer-logo { width: clamp(140px, 16vw, 210px); height: auto; }
.footer-news p:first-child { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ice); margin-bottom: 12px; }
.footer-news form { display: flex; gap: 8px; }
.footer-news input { background: rgba(251, 248, 242, 0.07); border-color: rgba(251, 248, 242, 0.2); color: var(--porcelain); margin-top: 0; }
.footer-news .btn { color: var(--porcelain); border-color: rgba(251, 248, 242, 0.4); }
.footer-news .btn:hover { background: var(--porcelain); color: var(--espresso); }
.footer-social { display: flex; gap: 22px; justify-content: flex-end; }
.footer-social a { font-size: 14px; color: #b8b0a3; text-decoration: none; }
.footer-social a:hover { color: var(--porcelain); }
.footer-legal { max-width: 1340px; margin: 50px auto 0; padding-top: 22px; border-top: 1px solid rgba(251, 248, 242, 0.12); }
.footer-legal p { font-size: 13px; color: #b8b0a3; margin-top: 4px; }
.footer-legal a { color: #b8b0a3; }

/* reveal on scroll — floaty easing */
.reveal {
  opacity: 0; transform: translateY(34px);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}
.reveal.in { opacity: 1; transform: none; }
/* display headings — focus-in (rise + clearing blur) */
.display.reveal { transform: translateY(40px); filter: blur(8px); transition: opacity 1s cubic-bezier(0.22, 1, 0.36, 1), transform 1s cubic-bezier(0.22, 1, 0.36, 1), filter 1s cubic-bezier(0.22, 1, 0.36, 1); }
.display.reveal.in { transform: none; filter: blur(0); }
/* staggered children within grids (container carries .reveal but doesn't fade itself) */
.card-grid.reveal, .review-grid.reveal { opacity: 1; transform: none; }
.card-grid.reveal > .card, .review-grid.reveal > blockquote {
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1), transform 0.85s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.25s ease;
}
.card-grid.reveal.in > .card, .review-grid.reveal.in > blockquote { opacity: 1; transform: none; }
.card-grid.reveal.in > *:nth-child(2), .review-grid.reveal.in > *:nth-child(2) { transition-delay: 0.09s; }
.card-grid.reveal.in > *:nth-child(3), .review-grid.reveal.in > *:nth-child(3) { transition-delay: 0.18s; }
.card-grid.reveal.in > *:nth-child(4), .review-grid.reveal.in > *:nth-child(4) { transition-delay: 0.27s; }
.card-grid.reveal.in > *:nth-child(5), .review-grid.reveal.in > *:nth-child(5) { transition-delay: 0.36s; }
.card-grid.reveal.in > *:nth-child(6), .review-grid.reveal.in > *:nth-child(6) { transition-delay: 0.45s; }

/* smooth-scroll (Lenis) recommended styles */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }

/* top scroll-progress line */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 100%;
  transform: scaleX(0); transform-origin: 0 50%; z-index: 60;
  background: linear-gradient(90deg, var(--red), var(--gold));
  pointer-events: none;
}

/* no-JS: never hide content behind the loader or reveal states */
html:not(.js) #loader { display: none; }
html:not(.js) .reveal { opacity: 1; transform: none; }
html:not(.js) .chapter { display: none; }
html:not(.js) .wm { transform: none !important; }

/* responsive */
@media (max-width: 640px) {
  #nav { padding: 10px 12px; gap: 8px; }
  #nav.scrolled { padding: 8px 12px; }
  .brand-ico { height: 34px; }
  .nav-links { gap: 7px; }
  .nav-links a { font-size: 9.5px; letter-spacing: 0.01em; padding: 6px 0; white-space: nowrap; }
  .nav-cta { padding: 8px 11px; font-size: 9.5px; letter-spacing: 0.1em; }
  .fw { font-size: 10vw; }
  .fw-top { bottom: calc(50% + 22vh); }
  .fw-bottom { top: calc(50% + 22vh); }
  .wm-sub { bottom: 118px; font-size: 10.5px; }
  .hint { bottom: 12px; gap: 8px; font-size: 11px; }
  .hint-line { height: 30px; }
}
@media (max-width: 880px) {
  .brand-word { display: none; }
  .nav-links { gap: clamp(8px, 2.4vw, 18px); }
  .nav-links a { font-size: 11.5px; letter-spacing: 0.03em; padding: 8px 0; }
  .nav-cta { padding: 10px 16px; font-size: 11px; }
  .finance-inner, .contact-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-social { justify-content: flex-start; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .ch-left, .ch-right { left: var(--pad); right: auto; width: min(330px, calc(100vw - 2 * var(--pad))); bottom: 12vh; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .intro .reveal, .intro .stat.reveal { opacity: 1; transform: none; transition: none; }
  .display.reveal { filter: none; }
  .card-grid.reveal > .card, .review-grid.reveal > blockquote { opacity: 1; transform: none; }
  .hint, .scroll-arrow { animation: none; }
  * {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
