/* =========================================================
   GP Exhibition — Interactive landing
   01. Design tokens   02. Base / rem-grid   03. Utilities
   04. Background FX   05. Header            06. Hero
   07. Rail            08. Process & models  09. Dashboards
   10. Pricing meter   11. Projects / quote  12. Footer
   13. Motion prefs
   ========================================================= */

/* ---------- 01. DESIGN TOKENS ---------- */
:root {
  color-scheme: dark;

  /* palette — dark (default) */
  --c-bg-0: #000000;
  --c-bg-1: #0a0b09;
  --c-bg-2: #131416;
  --c-bg-3: #1b1d1f;
  --c-ink: #f2f4ee;
  --c-ink-2: #a7aba2;
  --c-ink-3: #6c7069;
  --c-line: rgba(255, 255, 255, .09);
  --c-line-2: rgba(255, 255, 255, .16);

  --c-lime: #c8f751;
  --c-lime-ink: #0a0b09;
  --c-lime-soft: rgba(200, 247, 81, .14);
  /* GP identity is black + lime only; the secondary accent is a neutral off-white */
  --c-coral: #e9ebe4;
  --c-coral-2: #ffffff;
  --c-coral-soft: rgba(255, 255, 255, .12);
  --c-accent-text: #c8f751;
  --c-brand-p: #b3e45d;
  --c-brand-sub: #b5c1b6;

  /* glass */
  --glass-bg: rgba(19, 20, 22, .55);
  --glass-bg-strong: rgba(10, 11, 9, .78);
  --glass-border: rgba(255, 255, 255, .10);
  --glass-hi: rgba(255, 255, 255, .06);
  --glass-blur: 18px;
  --shadow-lg: 0 40px 80px -30px rgba(0, 0, 0, .8), 0 0 0 1px var(--glass-border);

  /* typography */
  --f-sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Instrument Serif", "Times New Roman", serif;
  /* small labels use the sans face — a typewriter mono read as "software", not "stand builder" */
  --f-mono: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: clamp(1.75rem, 1rem + 2vw, 2.5rem);
  --fs-2xl: clamp(2.25rem, 1rem + 3.6vw, 4rem);
  --fs-hero: clamp(2.75rem, 1rem + 5.4vw, 6rem);

  /* spacing & shape */
  --sp-1: .25rem; --sp-2: .5rem; --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 5rem; --sp-9: 8rem;
  --r-sm: .5rem; --r-md: .875rem; --r-lg: 1.25rem; --r-xl: 1.75rem; --r-pill: 999px;
  --container: 80rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --header-h: 4.25rem;

  /* motion */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --dur-1: .18s; --dur-2: .35s; --dur-3: .7s;
}

/* light tokens — shared by system preference & manual toggle */
@media (prefers-color-scheme: light) {
  :root:not([data-theme="dark"]) {
    color-scheme: light;
    --c-bg-0: #f4f5f0; --c-bg-1: #eceee6; --c-bg-2: #ffffff; --c-bg-3: #e3e6dc;
    --c-ink: #0d0f0b; --c-ink-2: #4a4f46; --c-ink-3: #80857b;
    --c-line: rgba(10, 12, 8, .10); --c-line-2: rgba(10, 12, 8, .18);
    --c-lime: #a6d42a; --c-lime-soft: rgba(140, 190, 20, .16);
    --c-coral: #2a2d28; --c-coral-2: #0d0f0b; --c-coral-soft: rgba(10, 12, 8, .10); --c-accent-text: #5a840a;
    --glass-bg: rgba(255, 255, 255, .6); --glass-bg-strong: rgba(255, 255, 255, .82);
    --glass-border: rgba(10, 12, 8, .10); --glass-hi: rgba(255, 255, 255, .7);
    --shadow-lg: 0 40px 80px -40px rgba(30, 40, 10, .35), 0 0 0 1px var(--glass-border);
  }
}
:root[data-theme="light"] {
  color-scheme: light;
  --c-bg-0: #f4f5f0; --c-bg-1: #eceee6; --c-bg-2: #ffffff; --c-bg-3: #e3e6dc;
  --c-ink: #0d0f0b; --c-ink-2: #4a4f46; --c-ink-3: #80857b;
  --c-line: rgba(10, 12, 8, .10); --c-line-2: rgba(10, 12, 8, .18);
  --c-lime: #a6d42a; --c-lime-soft: rgba(140, 190, 20, .16);
  --c-coral: #2a2d28; --c-coral-2: #0d0f0b; --c-coral-soft: rgba(10, 12, 8, .10); --c-accent-text: #5a840a;
  --glass-bg: rgba(255, 255, 255, .6); --glass-bg-strong: rgba(255, 255, 255, .82);
  --glass-border: rgba(10, 12, 8, .10); --glass-hi: rgba(255, 255, 255, .7);
  --shadow-lg: 0 40px 80px -40px rgba(30, 40, 10, .35), 0 0 0 1px var(--glass-border);
}

/* ---------- 02. BASE / REM-GRID ---------- */
/* 16px at a 1440px canvas, scales between 14px and 18px */
html { font-size: max(14px, min(calc(100vw / 1440 * 16), 18px)); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }

*, *::before, *::after { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--c-bg-1);
  color: var(--c-ink);
  font: 400 var(--fs-md)/1.55 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: background-color var(--dur-2) var(--ease-io), color var(--dur-2) var(--ease-io);
}
body.is-loading { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--c-lime); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--c-lime); color: var(--c-lime-ink); }

h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -.035em; line-height: 1.02; }
p { margin: 0; }
em, .serif { font-family: var(--f-serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; }
h1 em, h2 em { color: var(--c-accent-text); padding-right: .06em; }
.mono { font-family: var(--f-mono); font-size: var(--fs-xs); letter-spacing: .02em; }

/* ---------- 03. UTILITIES ---------- */
.container { width: min(100% - var(--gutter) * 2, var(--container)); margin-inline: auto; }
.section { position: relative; padding-block: clamp(4rem, 9vw, 8rem); }
[id] { scroll-margin-top: var(--header-h); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: fixed; left: 1rem; top: -4rem; z-index: 200; padding: .6rem 1rem; background: var(--c-lime); color: var(--c-lime-ink); border-radius: var(--r-pill); }
.skip-link:focus { top: 1rem; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-mono); font-size: var(--fs-xs); text-transform: uppercase; letter-spacing: .12em;
  color: var(--c-ink-2);
}
.eyebrow::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--c-coral); box-shadow: 0 0 0 4px var(--c-coral-soft); }
.section-head { display: grid; gap: var(--sp-4); max-width: 46rem; margin-bottom: var(--sp-7); }
.section-head h2 { font-size: var(--fs-2xl); }
.section-head p { color: var(--c-ink-2); font-size: var(--fs-lg); max-width: 38rem; }

.btn {
  --btn-bg: var(--glass-bg); --btn-ink: var(--c-ink); --btn-bd: var(--glass-border);
  position: relative; display: inline-flex; align-items: center; gap: .55rem;
  height: 2.9rem; padding: 0 1.3rem; border-radius: var(--r-pill);
  background: var(--btn-bg); color: var(--btn-ink); border: 1px solid var(--btn-bd);
  font-weight: 500; font-size: var(--fs-sm); white-space: nowrap;
  backdrop-filter: blur(var(--glass-blur)); -webkit-backdrop-filter: blur(var(--glass-blur));
  transition: transform var(--dur-2) var(--ease-out), background-color var(--dur-1), box-shadow var(--dur-2);
  will-change: transform;
}
.btn:hover { transform: translate3d(0, -2px, 0); }
.btn--lime { --btn-bg: var(--c-lime); --btn-ink: var(--c-lime-ink); --btn-bd: transparent; box-shadow: 0 10px 30px -10px rgba(200, 247, 81, .55); }
.btn--lime:hover { box-shadow: 0 16px 40px -10px rgba(200, 247, 81, .7); }
.btn--sm { height: 2.4rem; padding: 0 1rem; }
.btn .arrow { transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .arrow { transform: translate3d(2px, -2px, 0); }

/* cards are solid panels — glass blur is kept only where something sits on a photo (header, hero) */
.glass {
  background: var(--c-bg-2);
  border: 1px solid var(--c-line);
  border-radius: var(--r-lg);
}
.header .glass, .hero .glass, .lang.glass {
  background: var(--glass-bg);
  border-color: var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  box-shadow: inset 0 1px 0 var(--glass-hi);
}

.live-dot { position: relative; width: .5rem; height: .5rem; border-radius: 50%; background: var(--c-lime); flex: none; }
.live-dot::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: inherit; animation: ping 1.8s var(--ease-out) infinite; }
.live-dot--coral { background: var(--c-coral); }
@keyframes ping { to { transform: scale(3); opacity: 0; } }

/* scroll reveal */
[data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-out); transition-delay: var(--d, 0s); }
[data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 04. CURSOR ---------- */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; mix-blend-mode: difference; }
.cursor__ring, .cursor__dot { position: fixed; left: 0; top: 0; border-radius: 50%; will-change: transform; }
.cursor__ring { width: 2.25rem; height: 2.25rem; margin: -1.125rem 0 0 -1.125rem; border: 1px solid rgba(255, 255, 255, .7); transition: width var(--dur-2) var(--ease-out), height var(--dur-2) var(--ease-out), margin var(--dur-2) var(--ease-out), background-color var(--dur-2); }
.cursor__dot { width: .35rem; height: .35rem; margin: -.175rem 0 0 -.175rem; background: #fff; }
.cursor.is-hover .cursor__ring { width: 4rem; height: 4rem; margin: -2rem 0 0 -2rem; background: rgba(255, 255, 255, .9); }
.cursor.is-hidden { opacity: 0; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* ---------- 05. HEADER ---------- */
.header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  transition: background-color var(--dur-2), border-color var(--dur-2), backdrop-filter var(--dur-2);
  border-bottom: 1px solid transparent;
}
.header.is-scrolled {
  background: var(--glass-bg-strong);
  border-bottom-color: var(--glass-border);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}
.header__inner { height: 100%; display: flex; align-items: center; gap: var(--sp-5); }
/* wordmark — matches the live site: Arial 900, lime "P", tracked sub-line */
.brand { --brand-fs: 17px; display: inline-grid; flex: none; font-family: Arial, "Helvetica Neue", sans-serif; font-weight: 900; color: var(--c-ink); line-height: 1.15; }
.brand__word { font-size: var(--brand-fs); letter-spacing: .02em; white-space: nowrap; }
.brand__word strong { font-weight: 900; color: var(--c-brand-p); }
.brand small { font-size: calc(var(--brand-fs) * .53); letter-spacing: .22em; color: var(--c-brand-sub); white-space: nowrap; margin-top: .15em; }
.brand--lg { --brand-fs: 22px; }

.nav { margin-inline: auto; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: .3rem; border-radius: var(--r-pill); }
.nav a { display: block; padding: .45rem .9rem; border-radius: var(--r-pill); font-size: var(--fs-sm); color: var(--c-ink-2); transition: color var(--dur-1), background-color var(--dur-1); }
.nav a:hover, .nav a[aria-current="true"] { color: var(--c-ink); background: var(--glass-hi); }

.header__actions { display: flex; align-items: center; gap: var(--sp-3); flex: none; }
.status-badge { display: inline-flex; align-items: center; gap: .55rem; height: 2.4rem; padding: 0 .9rem; border-radius: var(--r-pill); font-family: var(--f-mono); font-size: .7rem; color: var(--c-ink-2); }
.theme-toggle { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; }
.theme-toggle svg { width: 1.05rem; height: 1.05rem; transition: transform var(--dur-3) var(--ease-out); }
.theme-toggle .i-sun { display: none; }
:root[data-theme="light"] .theme-toggle .i-sun { display: block; }
:root[data-theme="light"] .theme-toggle .i-moon { display: none; }
.theme-toggle:hover svg { transform: rotate(40deg); }
.menu-btn { display: none; width: 2.4rem; height: 2.4rem; border-radius: 50%; place-items: center; }

/* the six links stay on one line in every language: drop the badge first, then tighten, then fold into the menu */
.nav a { white-space: nowrap; }
html[lang="fr"] .status-badge { display: none; }
@media (max-width: 1439px) { .status-badge { display: none; } .nav a { padding-inline: .7rem; } }
@media (max-width: 1160px) {
  .menu-btn { display: grid; }
  .nav { position: fixed; inset: var(--header-h) var(--gutter) auto; margin: 0; opacity: 0; visibility: hidden; transform: translate3d(0, -8px, 0); transition: opacity var(--dur-2), transform var(--dur-2) var(--ease-out), visibility var(--dur-2); }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav ul { flex-direction: column; padding: .6rem; border-radius: var(--r-lg); background: var(--glass-bg-strong); }
  .nav a { padding: .8rem 1rem; font-size: var(--fs-md); }
  .header__actions { margin-left: auto; }
}
@media (max-width: 860px) { .header__actions .btn--lime { display: none; } }

/* ---------- 06. HERO ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; overflow: clip; }
.hero__photo { position: absolute; inset: 0; z-index: -1; }
/* real hall photo, softened so headline text never competes with printed stand graphics */
.hero__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 30%; opacity: .6; filter: saturate(.55) brightness(.72) blur(2px); transform: scale(1.08); will-change: transform; }
.hero__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--c-bg-1) 22%, color-mix(in srgb, var(--c-bg-1) 70%, transparent) 55%, color-mix(in srgb, var(--c-bg-1) 35%, transparent)), linear-gradient(0deg, var(--c-bg-1), transparent 35%), linear-gradient(180deg, color-mix(in srgb, var(--c-bg-1) 80%, transparent), transparent 25%); }
@media (max-width: 960px) { .hero__photo::after { background: linear-gradient(0deg, var(--c-bg-1) 10%, color-mix(in srgb, var(--c-bg-1) 78%, transparent)); } }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.hero__copy { display: grid; gap: var(--sp-5); }
.hero h1 { font-size: var(--fs-hero); }
.hero h1 em { display: inline-block; }
.hero__lead { font-size: var(--fs-lg); color: var(--c-ink-2); max-width: 32rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero__meta { display: flex; flex-wrap: wrap; gap: var(--sp-5); padding-top: var(--sp-4); border-top: 1px solid var(--c-line); }
.hero__meta div { display: grid; gap: .1rem; }
.hero__meta strong { font-size: var(--fs-xl); letter-spacing: -.04em; }
.hero__meta span { color: var(--c-ink-3); }

/* tilt window */
.tilt { perspective: 1400px; }
.window {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 6deg)) rotateY(var(--ry, -10deg));
  transition: transform .6s var(--ease-out);
  box-shadow: var(--shadow-lg);
  will-change: transform;
}
.window__glare { position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px circle at var(--gx, 30%) var(--gy, 0%), rgba(255, 255, 255, .10), transparent 45%); }
.window__bar { display: flex; align-items: center; gap: .45rem; height: 2.6rem; padding: 0 1rem; border-bottom: 1px solid var(--glass-border); }
.window__bar i { width: .62rem; height: .62rem; border-radius: 50%; background: var(--c-line-2); }
.window__bar i:first-child { background: var(--c-coral); }
.window__title { margin-left: auto; margin-right: auto; color: var(--c-ink-3); }
.window__body { position: relative; padding: 1.25rem; }

/* isometric stand drawing — shared by hero builder & planner */
:root {
  --stand-carpet: #3a3d41; --stand-carpet-edge: #24272a;
  --stand-panel: #e4e5e0; --stand-panel-side: #c9cbc4;
  --stand-frame: #050605;
}
:root[data-theme="light"] { --stand-carpet: #b9bdb3; --stand-carpet-edge: #a3a79c; --c-brand-p: #6f9a14; --c-brand-sub: #5d665e; }
@media (prefers-color-scheme: light) { :root:not([data-theme="dark"]) { --stand-carpet: #b9bdb3; --stand-carpet-edge: #a3a79c; --c-brand-p: #6f9a14; --c-brand-sub: #5d665e; } }

.builder { display: grid; gap: .8rem; }
.builder__switch { display: inline-flex; justify-self: start; padding: .25rem; border-radius: var(--r-pill); background: var(--c-bg-2); border: 1px solid var(--glass-border); }
.builder__switch button { padding: .4rem .85rem; border-radius: var(--r-pill); font-size: var(--fs-xs); color: var(--c-ink-3); transition: background-color var(--dur-2), color var(--dur-2); }
.builder__switch [aria-checked="true"] { background: var(--c-lime); color: var(--c-lime-ink); }
.builder__stage { position: relative; aspect-ratio: 262 / 228; max-height: 21rem; margin-inline: auto; width: 100%; }
.builder__stage svg, .plan svg { width: 100%; height: 100%; display: block; overflow: visible; }
.builder__info { min-height: 3.6rem; display: grid; gap: .2rem; padding: .7rem .9rem; border-radius: var(--r-md); background: var(--c-bg-2); border: 1px solid var(--glass-border); }
.builder__info span { color: var(--c-lime); }
.builder__info p { font-size: var(--fs-sm); color: var(--c-ink-2); }

.iso-floor { fill: var(--stand-carpet); }
.iso-floor-edge { fill: var(--stand-carpet-edge); }
.iso-wall { fill: var(--stand-panel); transition: fill .6s var(--ease-io); }
.iso-wall--side { fill: var(--stand-panel-side); }
.iso-frame { fill: none; stroke: var(--stand-frame); stroke-width: 2.4; stroke-linecap: square; }
.iso-frame--thin { stroke-width: 1.2; }
/* light contour under the black profiles so the frame reads on a dark floor */
.iso-frame--halo { stroke: rgba(255, 255, 255, .5); stroke-width: 4.6; }
.iso-top { fill: #f7f7f3; }
.iso-face { fill: #d8dad3; }
.iso-face--dark { fill: #b8bab3; }
.iso-door { fill: #9a9c96; }
.iso-logo { fill: var(--c-lime); }
.iso-logo-text { font: 700 6.5px/1 var(--f-sans); fill: var(--c-lime-ink); letter-spacing: -.04em; }
.iso-spot { fill: #fffbe6; opacity: 0; }
.iso-beam { fill: url(#spotBeam); opacity: 0; transition: opacity .6s; }

/* Model 02: illuminated fabric walls */
[data-model="2"] .iso-wall { fill: url(#litWall); }
[data-model="2"] .iso-wall--side { fill: url(#litWallSide); }
[data-model="2"] .iso-walls { filter: drop-shadow(0 0 14px rgba(255, 252, 230, .55)); }
[data-model="2"] .iso-beam { opacity: 0; }
[data-model="1"] .iso-beam { opacity: .55; }
[data-model="1"] .iso-spot { opacity: 1; }

/* assemble sequence */
[data-step] { opacity: 0; transform: translate3d(0, -14px, 0); transition: opacity .6s var(--ease-out), transform .8s var(--ease-out); transition-delay: calc(var(--i, 0) * .18s); }
.iso-frame[data-step] { transform: none; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: 1; transition: stroke-dashoffset 1s var(--ease-io); transition-delay: calc(var(--i, 0) * .18s); }
.is-built [data-step] { opacity: 1; transform: none; }
.is-built .iso-frame[data-step] { stroke-dashoffset: 0; }

/* scroll-built hero stand (main.js buildOnScroll): GSAP drives each part, so the timed entrance is switched off */
.is-scrubbed [data-step] { transition: none; transform: none; }
.is-scrubbed .iso-frame[data-step] { opacity: 1; }
.iso-wire { pointer-events: none; }
.iso-wire * { fill: none !important; stroke: var(--c-lime); stroke-width: .7; stroke-dasharray: none; filter: none; opacity: 1; }
.iso-wire text { display: none; }
.builder__hint { position: absolute; inset-inline-end: 0; top: 0; padding: .3rem .6rem; border-radius: var(--r-pill); background: var(--c-lime-soft); color: var(--c-accent-text); pointer-events: none; }
.hs { cursor: pointer; outline: none; }
.hs circle { fill: var(--c-lime); stroke: var(--c-lime-ink); stroke-width: 1.5; transition: r var(--dur-2) var(--ease-out); }
.hs .hs__ring { fill: none; stroke: var(--c-lime); stroke-width: 1.2; transform-box: fill-box; transform-origin: center; animation: pulsePin 2.2s var(--ease-out) infinite; }
.hs:hover circle:first-child, .hs:focus-visible circle:first-child, .hs.is-active circle:first-child { fill: var(--c-coral); }
.hl { transition: filter var(--dur-2); }
.hl.is-hl { filter: drop-shadow(0 0 6px var(--c-lime)) drop-shadow(0 0 2px var(--c-lime)); }

.built { margin-top: 1rem; border-top: 1px solid var(--glass-border); padding-top: .8rem; }
.built__head { display: flex; justify-content: space-between; color: var(--c-ink-3); margin-bottom: .6rem; }
.built__head a:hover { color: var(--c-lime); }
.built__strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: .5rem; }
.built__strip figure { margin: 0; position: relative; aspect-ratio: 4 / 3; border-radius: .6rem; overflow: hidden; border: 1px solid var(--glass-border); transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out); }
.built__strip img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6) brightness(.8); transition: filter var(--dur-2), transform 1.2s var(--ease-out); }
.built__strip figcaption { position: absolute; inset: auto 0 0; padding: .3rem .45rem; font-family: var(--f-mono); font-size: .58rem; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); color: #fff; }
.built__strip figure.is-active { border-color: var(--c-lime); transform: translate3d(0, -3px, 0); }
.built__strip figure.is-active img, .built__strip figure:hover img { filter: none; transform: scale(1.06); }

@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .window { --rx: 0deg !important; --ry: 0deg !important; }
}
@media (max-width: 520px) {
  .builder__switch button { padding: .4rem .6rem; }
  .built__strip figcaption { display: none; }
}

/* ---------- 07. RAIL ---------- */
.rail { position: relative; padding-block: 3rem; border-block: 1px solid var(--c-line); overflow: hidden; }
.rail__label { display: flex; justify-content: space-between; gap: 1rem; margin-bottom: 1.5rem; color: var(--c-ink-3); }
.rail__track { position: relative; height: 2px; margin-bottom: 1.5rem; background: repeating-linear-gradient(90deg, var(--c-line-2) 0 6px, transparent 6px 14px); }
.rail__track span { position: absolute; top: 50%; width: 3.5rem; height: 2px; margin-top: -1px; border-radius: 2px; background: linear-gradient(90deg, transparent, var(--c-lime)); animation: travel var(--t, 6s) linear infinite; animation-delay: var(--dl, 0s); will-change: transform; }
.rail__track span:nth-child(2) { background: linear-gradient(90deg, transparent, var(--c-coral)); }
@keyframes travel { from { transform: translate3d(-4rem, 0, 0); } to { transform: translate3d(100vw, 0, 0); } }

.marquee { display: flex; width: max-content; gap: 1rem; animation: marquee 50s linear infinite; }
.rail:hover .marquee { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.chip {
  display: flex; align-items: center; gap: .8rem; padding: .6rem 1.1rem .6rem .6rem; border-radius: var(--r-md);
  transition: border-color var(--dur-2), box-shadow var(--dur-2), transform var(--dur-2) var(--ease-out);
}
.chip img { width: 2.6rem; height: 2.6rem; border-radius: .55rem; object-fit: cover; filter: grayscale(1) contrast(1.1); transition: filter var(--dur-2); }
.chip strong { display: block; font-size: var(--fs-sm); font-weight: 500; }
.chip small { display: flex; align-items: center; gap: .4rem; color: var(--c-ink-3); font-family: var(--f-mono); font-size: .62rem; }
.chip small::before { content: ""; width: .4rem; height: .4rem; border-radius: 50%; background: var(--c-ink-3); }
.chip:hover { border-color: color-mix(in srgb, var(--c-lime) 55%, transparent); box-shadow: 0 0 30px -6px var(--c-lime-soft), 0 0 0 4px var(--c-lime-soft); transform: translate3d(0, -3px, 0); }
.chip:hover img { filter: none; }
.chip:hover small { color: var(--c-lime); }
.chip:hover small::before { background: var(--c-lime); box-shadow: 0 0 8px var(--c-lime); }

/* ---------- 08. PROCESS & MODELS ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; counter-reset: step; margin-bottom: var(--sp-8); }
.step { position: relative; padding: 1.6rem; display: grid; gap: .7rem; align-content: start; }
.step__n { font-family: var(--f-mono); font-size: var(--fs-xs); color: var(--c-lime); }
.step h3 { font-size: var(--fs-lg); letter-spacing: -.02em; }
.step p { color: var(--c-ink-2); font-size: var(--fs-sm); }
.step:not(:last-child)::after { content: ""; position: absolute; top: 2.1rem; right: -1rem; width: 1rem; height: 1px; background: var(--c-lime); opacity: .5; }

.models { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; container-type: inline-size; }
.shot { overflow: hidden; border-radius: var(--r-xl); container-type: inline-size; }
.shot__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.shot__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.shot:hover .shot__media img { transform: scale(1.05); }
.role-pill { position: absolute; left: 1rem; top: 1rem; display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .7rem; border-radius: var(--r-pill); background: var(--glass-bg-strong); border: 1px solid var(--glass-border); backdrop-filter: blur(10px); font-family: var(--f-mono); font-size: .65rem; }
.role-pill::before { content: ""; width: .45rem; height: .45rem; border-radius: 50%; background: var(--c-coral); }
.shot__body { display: grid; gap: .8rem; padding: 1.4rem; }
.shot__body h3 { font-size: var(--fs-xl); }
.shot__body p { color: var(--c-ink-2); }
.shot__foot { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
@container (max-width: 420px) { .shot__body h3 { font-size: var(--fs-lg); } .shot__foot .btn { width: 100%; justify-content: center; } }

@media (max-width: 860px) {
  .steps, .models { grid-template-columns: 1fr; }
  .step:not(:last-child)::after { display: none; }
}

/* ---------- 09. DASHBOARDS ---------- */
.dash { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.card { padding: 1.4rem; display: grid; gap: 1rem; align-content: start; container-type: inline-size; }
.card__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.card__head h3 { font-size: var(--fs-md); letter-spacing: -.01em; font-weight: 500; }
.card__tag { color: var(--c-ink-3); }
.card--compare { grid-column: span 8; }
.card--scope { grid-column: span 4; }
.card--map { grid-column: 1 / -1; }
@media (max-width: 960px) { .dash > .card { grid-column: 1 / -1; } }

/* before/after comparison */
.compare { --pos: 50%; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r-md); overflow: hidden; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare__top { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--c-lime); box-shadow: 0 0 16px var(--c-lime); pointer-events: none; }
.compare__line span { position: absolute; top: 50%; left: 50%; width: 2.6rem; height: 2.6rem; transform: translate(-50%, -50%); display: grid; place-items: center; border-radius: 50%; background: var(--c-lime); color: var(--c-lime-ink); font-weight: 700; }
.compare__tag { position: absolute; top: .8rem; padding: .3rem .6rem; border-radius: var(--r-pill); background: var(--glass-bg-strong); border: 1px solid var(--glass-border); backdrop-filter: blur(8px); pointer-events: none; }
.compare__tag--l { left: .8rem; }
.compare__tag--r { right: .8rem; }
.compare input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.compare:has(input:focus-visible) { outline: 2px solid var(--c-lime); outline-offset: 3px; }
.compare__specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.compare__specs div { display: grid; gap: .15rem; padding: .7rem .8rem; border-radius: var(--r-md); background: var(--c-bg-2); border: 1px solid var(--c-line); }
.compare__specs span { color: var(--c-ink-3); }
.compare__specs strong { font-size: var(--fs-sm); font-weight: 500; }
@container (max-width: 480px) {
  .compare__specs { grid-template-columns: 1fr; gap: 0; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--c-line); }
  .compare__specs div { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; border: 0; border-radius: 0; padding: .55rem .8rem; }
  .compare__specs div + div { border-top: 1px solid var(--c-line); }
  .compare__specs strong { text-align: right; }
  .compare__tag { font-size: .6rem; top: auto; bottom: .6rem; }
  .compare__tag--l { top: .6rem; bottom: auto; }
}

/* turnkey scope */
.scope { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.scope li { display: flex; align-items: center; gap: .8rem; padding: .65rem .8rem; border-radius: var(--r-md); border: 1px solid var(--c-line); background: var(--c-bg-2); font-size: var(--fs-sm); opacity: .35; transform: translate3d(-8px, 0, 0); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out), border-color .5s; transition-delay: calc(var(--i, 0) * .14s); }
.scope__n { color: var(--c-ink-3); }
.scope li::after { content: "✓"; margin-left: auto; width: 1.3rem; height: 1.3rem; display: grid; place-items: center; border-radius: 50%; font-size: .7rem; background: var(--c-lime); color: var(--c-lime-ink); transform: scale(0); transition: transform .4s var(--ease-out); transition-delay: calc(var(--i, 0) * .14s + .2s); }
.scope.is-in li { opacity: 1; transform: none; }
.scope.is-in li::after { transform: scale(1); }
.scope li:hover { border-color: var(--c-lime); }

/* fair map */
.mapwrap { display: grid; grid-template-columns: 1fr 15rem; gap: 1rem; align-items: center; }
.map { position: relative; }
.map svg { width: 100%; height: auto; display: block; }
.map .land { fill: var(--c-ink-3); opacity: .45; }
.map .route { fill: none; stroke: var(--c-lime); stroke-width: .6; stroke-dasharray: 2 3; opacity: .6; animation: dash 3s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -20; } }
.pin { cursor: pointer; outline: none; }
.pin circle:first-child { fill: var(--c-coral); transition: fill var(--dur-2); }
.pin .pulse { fill: none; stroke: var(--c-coral); transform-box: fill-box; transform-origin: center; animation: pulsePin 2.2s var(--ease-out) infinite; animation-delay: var(--dl, 0s); }
.pin .hit { fill: transparent; }
@keyframes pulsePin { from { transform: scale(1); opacity: .9; } to { transform: scale(4); opacity: 0; } }
.pin text { font-family: var(--f-mono); font-size: 4px; fill: var(--c-ink); opacity: 0; transition: opacity var(--dur-2); pointer-events: none; }
.pin:hover text, .pin:focus-visible text, .pin.is-active text { opacity: 1; }
.pin.is-active circle:first-child, .pin:focus-visible circle:first-child { fill: var(--c-lime); }
.pin.is-active .pulse { stroke: var(--c-lime); }
.map__info { display: grid; gap: .5rem; padding: 1.1rem; border-radius: var(--r-md); background: var(--c-bg-2); border: 1px solid var(--c-line); }
.map__info > span { color: var(--c-coral); }
.map__info strong { font-size: var(--fs-xl); letter-spacing: -.03em; }
.map__info ul { list-style: none; margin: 0 0 .4rem; padding: 0; display: grid; gap: .25rem; color: var(--c-ink-2); font-size: var(--fs-sm); }
.map__info li::before { content: "◆ "; color: var(--c-lime); font-size: .6rem; }
@container (max-width: 640px) { .mapwrap { grid-template-columns: 1fr; } }

/* ---------- 10. PRICING METER ---------- */
.meter { display: grid; grid-template-columns: 1.2fr 1fr; gap: 1rem; }
.meter__panel { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.6rem; }
.meter__read { display: flex; align-items: baseline; gap: .6rem; }
.meter__read output { font-size: var(--fs-2xl); font-weight: 600; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.meter__read span { color: var(--c-ink-2); }
.range { --p: 30%; -webkit-appearance: none; appearance: none; width: 100%; height: .5rem; border-radius: var(--r-pill); background: linear-gradient(90deg, var(--c-lime) var(--p), var(--c-bg-3) var(--p)); outline-offset: 6px; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 1.6rem; height: 1.6rem; border-radius: 50%; background: var(--c-bg-0); border: 3px solid var(--c-lime); box-shadow: 0 0 0 6px var(--c-lime-soft); cursor: grab; transition: transform var(--dur-1); }
.range::-moz-range-thumb { width: 1.2rem; height: 1.2rem; border-radius: 50%; background: var(--c-bg-0); border: 3px solid var(--c-lime); box-shadow: 0 0 0 6px var(--c-lime-soft); cursor: grab; }
.range:active::-webkit-slider-thumb { transform: scale(1.15); cursor: grabbing; }
.meter__scale { display: flex; justify-content: space-between; color: var(--c-ink-3); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.tier { padding: .8rem; border-radius: var(--r-md); border: 1px solid var(--c-line); color: var(--c-ink-3); transition: all var(--dur-2) var(--ease-out); }
.tier strong { display: block; color: var(--c-ink-2); font-weight: 500; font-size: var(--fs-sm); }
.tier.is-active { border-color: var(--c-lime); background: var(--c-lime-soft); color: var(--c-ink-2); }
.tier.is-active strong { color: var(--c-ink); }
.quote-box { padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; gap: 1.1rem; align-content: space-between; background: linear-gradient(160deg, var(--c-lime-soft), transparent 60%), var(--glass-bg); }
.quote-box__plan { font-family: var(--f-serif); font-style: italic; font-size: var(--fs-xl); color: var(--c-accent-text); }
.tiers--4 { grid-template-columns: repeat(4, 1fr); }
.tier { text-align: left; cursor: pointer; }
.tier:hover { border-color: var(--c-line-2); }
.meter__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; }
.plan { aspect-ratio: 250 / 168; border-radius: var(--r-md); background: radial-gradient(ellipse at 50% 60%, var(--c-lime-soft), transparent 70%); }
.plan .aisle { fill: none; stroke: var(--c-lime); stroke-width: 2; stroke-dasharray: 5 4; animation: dash 2s linear infinite; }
.plan .ghost { fill: none; stroke: var(--c-line-2); stroke-width: 1; stroke-dasharray: 3 3; }
.plan .dim { font: 500 10px/1 var(--f-mono); fill: var(--c-ink-2); }
.plan g { transition: transform .5s var(--ease-out); }
.quote-box__media { aspect-ratio: 16 / 9; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--glass-border); }
.quote-box__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.quote-box__media { position: relative; }
.quote-box__media canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .4s; }
.quote-box__media.is-gl canvas { opacity: 1; }
@media (max-width: 560px) { .tiers--4 { grid-template-columns: repeat(2, 1fr); } }
.quote-box ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; color: var(--c-ink-2); font-size: var(--fs-sm); }
.quote-box li::before { content: "→ "; color: var(--c-lime); }
.quote-box__note { color: var(--c-ink-3); }
.flip { display: inline-block; animation: flip .45s var(--ease-out); }
@keyframes flip { from { opacity: 0; transform: translate3d(0, .4em, 0); filter: blur(4px); } }
@media (max-width: 860px) { .meter { grid-template-columns: 1fr; } }

/* ---------- 11. PROJECTS / QUOTE ---------- */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem; }
.filters[hidden] { display: none; }
.filter { display: inline-flex; align-items: center; gap: .5rem; height: 2.4rem; padding: 0 1rem; border-radius: var(--r-pill); border: 1px solid var(--c-line-2);
  color: var(--c-ink-2); font-size: var(--fs-sm); transition: background-color var(--dur-2), color var(--dur-2), border-color var(--dur-2); }
.filter:hover { color: var(--c-ink); border-color: var(--c-ink-3); }
.filter span { opacity: .55; }
.filter[aria-pressed="true"] { background: var(--c-lime); color: var(--c-lime-ink); border-color: transparent; }
@media (max-width: 640px) { .filters { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; } .filter { flex-shrink: 0; } }
.gallery { columns: 3 18rem; column-gap: 1rem; }
.gallery figure { break-inside: avoid; margin: 0 0 1rem; position: relative; overflow: hidden; border-radius: var(--r-lg); border: 1px solid var(--c-line); }
.gallery img { width: 100%; transition: transform 1s var(--ease-out), filter var(--dur-2); }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; inset: auto .7rem .7rem; display: flex; justify-content: space-between; padding: .5rem .75rem; border-radius: var(--r-md); background: var(--glass-bg-strong); backdrop-filter: blur(10px); font-size: var(--fs-sm); transform: translate3d(0, 120%, 0); transition: transform var(--dur-2) var(--ease-out); }
.gallery figure:hover figcaption, .gallery figure:focus-within figcaption { transform: none; }
.gallery__note { color: var(--c-ink-3); margin-top: 1rem; }

.enquiry { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.form { padding: clamp(1.4rem, 3vw, 2.2rem); display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: grid; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: var(--fs-sm); color: var(--c-ink-2); }
.field input, .field select, .field textarea { width: 100%; padding: .8rem .9rem; border-radius: var(--r-md); border: 1px solid var(--c-line-2); background: var(--c-bg-2); transition: border-color var(--dur-1), box-shadow var(--dur-1); }
.field textarea { min-height: 7rem; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--c-lime); box-shadow: 0 0 0 4px var(--c-lime-soft); }
.form__note { grid-column: 1 / -1; color: var(--c-ink-3); }
@media (max-width: 860px) { .enquiry, .form { grid-template-columns: 1fr; } }

/* ---------- 12. FOOTER ---------- */
.footer { padding-block: 4rem 2rem; border-top: 1px solid var(--c-line); background: var(--c-bg-0); }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 2rem; }
.city-links { grid-template-columns: 1fr 1fr; column-gap: 1rem; }
@media (max-width: 1080px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer h4 { font-size: var(--fs-sm); color: var(--c-ink-3); font-weight: 500; margin-bottom: 1rem; letter-spacing: 0; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: var(--fs-sm); }
.footer ul a { color: var(--c-ink-2); transition: color var(--dur-1); }
.footer ul a:hover { color: var(--c-lime); }
.news { display: flex; gap: .5rem; margin-top: 1.2rem; padding: .35rem; border-radius: var(--r-pill); max-width: 26rem; }
.news input { flex: 1; min-width: 0; padding: 0 1rem; border: 0; background: transparent; outline: none; }
.news__msg { margin-top: .6rem; min-height: 1.2rem; color: var(--c-ink-3); }
.socials { display: flex; gap: .5rem; margin-top: 1.4rem; }
.socials a { width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--c-line-2); color: var(--c-ink-2); transition: color var(--dur-1), border-color var(--dur-1), transform var(--dur-2) var(--ease-out); }
.socials a:hover { color: var(--c-lime); border-color: var(--c-lime); transform: translate3d(0, -2px, 0); }
.socials svg { width: 1rem; height: 1rem; }
.sys li { display: flex; align-items: center; gap: .6rem; color: var(--c-ink-2); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 1rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--c-line); color: var(--c-ink-3); }
.footer__word { font-size: clamp(4rem, 16vw, 15rem); font-weight: 700; letter-spacing: -.07em; line-height: .8; margin-top: 3rem; color: transparent; -webkit-text-stroke: 1px var(--c-line-2); user-select: none; }
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- 13. LANGUAGE, WHATSAPP, CITY PAGES ---------- */
.lang { position: relative; border-radius: var(--r-pill); }
.lang summary { list-style: none; height: 2.4rem; padding: 0 .85rem; display: flex; align-items: center; gap: .35rem; cursor: pointer; font-family: var(--f-mono); font-size: .72rem; color: var(--c-ink-2); border-radius: var(--r-pill); }
.lang summary::-webkit-details-marker { display: none; }
.lang summary::after { content: "▾"; font-size: .6rem; opacity: .6; transition: transform var(--dur-2); }
.lang[open] summary::after { transform: rotate(180deg); }
.lang ul { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 10rem; margin: 0; padding: .35rem; list-style: none; border-radius: var(--r-md); background: var(--glass-bg-strong); border: 1px solid var(--glass-border); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); box-shadow: var(--shadow-lg); z-index: 5; }
.lang a { display: flex; gap: .6rem; padding: .5rem .7rem; border-radius: .55rem; font-size: var(--fs-sm); color: var(--c-ink-2); }
.lang a b { font-family: var(--f-mono); font-size: .7rem; font-weight: 400; color: var(--c-ink-3); width: 1.4rem; }
.lang a:hover, .lang a[aria-current="true"] { background: var(--glass-hi); color: var(--c-ink); }
.lang a[aria-current="true"] b { color: var(--c-lime); }

.wa-fab {
  position: fixed; right: clamp(1rem, 3vw, 1.75rem); bottom: clamp(1rem, 3vw, 1.75rem); z-index: 90;
  display: inline-flex; align-items: center; gap: .55rem; height: 3.2rem; padding: 0 1.2rem 0 1rem; border-radius: var(--r-pill);
  /* dark glass so it sits with the black + lime identity; only the icon carries WhatsApp green */
  background: var(--glass-bg-strong); color: var(--c-ink); font-weight: 600; font-size: var(--fs-sm);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 18px 36px -16px rgba(0, 0, 0, .7);
  transition: transform var(--dur-2) var(--ease-out), border-color var(--dur-2);
}
.wa-fab svg { width: 1.4rem; height: 1.4rem; color: #25d366; }
.wa-fab:hover { transform: translate3d(0, -3px, 0); border-color: var(--c-lime); }
body.is-loading .wa-fab { opacity: 0; }
@media (max-width: 640px) {
  .wa-fab { width: 3.4rem; height: 3.4rem; padding: 0; justify-content: center; }
  .wa-fab span { display: none; }
}
.wa-inline { display: inline-flex; align-items: center; gap: .5rem; font-size: var(--fs-sm); color: var(--c-ink-2); border-bottom: 1px solid var(--c-line-2); padding-bottom: .15rem; justify-self: start; transition: color var(--dur-1), border-color var(--dur-1); }
.wa-inline svg { width: 1.1rem; height: 1.1rem; color: #25d366; }
.wa-inline:hover { color: var(--c-ink); border-color: #25d366; }
.map__link { color: var(--c-ink-3); justify-self: start; }
.map__link:hover { color: var(--c-lime); }

.hero--city { min-height: 78svh; }
.hero--city .container { display: grid; gap: var(--sp-5); }
.hero__copy--city { max-width: 46rem; }
.crumbs { display: flex; gap: .6rem; color: var(--c-ink-3); }
.crumbs a:hover { color: var(--c-lime); }
.crumbs [aria-current] { color: var(--c-ink-2); }
.section--tight { padding-block: clamp(3rem, 6vw, 5.5rem); }
.fairs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(17rem, 1fr)); gap: 1rem; }
.fair { display: grid; gap: .6rem; align-content: start; padding: 1.4rem; }
.fair span { color: var(--c-coral); }
.fair strong { font-size: var(--fs-xl); letter-spacing: -.03em; line-height: 1.1; }
/* fair names can be long ("National Restaurant Association Show"): let the label wrap instead of leaving the screen */
.fair .btn { justify-self: start; margin-top: .4rem; max-width: 100%; height: auto; min-height: 2.4rem; padding-block: .45rem; white-space: normal; text-align: start; }
.faq { display: grid; gap: .6rem; max-width: 52rem; }
.faq__item { padding: 0; border-radius: var(--r-md); }
.faq__item summary { list-style: none; cursor: pointer; padding: 1.1rem 1.3rem; font-weight: 500; display: flex; justify-content: space-between; gap: 1rem; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; color: var(--c-lime); font-size: 1.3rem; line-height: 1; transition: transform var(--dur-2) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item p { padding: 0 1.3rem 1.2rem; color: var(--c-ink-2); }
.other__title { font-size: var(--fs-xl); margin-bottom: 1.2rem; }
.other-cities { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.other-cities .chip { padding: .6rem 1rem; }

/* full-bleed photo band */
.band { position: relative; min-height: min(88svh, 52rem); display: flex; align-items: flex-end; overflow: clip; isolation: isolate; }
.band__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(5, 6, 5, .9) 0%, rgba(5, 6, 5, .6) 45%, rgba(5, 6, 5, 0) 75%), linear-gradient(0deg, rgba(5, 6, 5, .96) 8%, rgba(5, 6, 5, .5) 50%, rgba(5, 6, 5, .1)); }
@media (max-width: 760px) { .band::before { background: linear-gradient(0deg, rgba(5, 6, 5, .97) 30%, rgba(5, 6, 5, .7) 65%, rgba(5, 6, 5, .3)); } }
.band__inner { display: grid; gap: 1.2rem; padding-block: clamp(3rem, 8vw, 6rem); color: #f2f4ee; }
.band__inner .eyebrow { color: rgba(242, 244, 238, .75); }
.band__inner .eyebrow::before { background: #c8f751; box-shadow: 0 0 0 4px rgba(200, 247, 81, .18); }
.band h2 { font-size: var(--fs-2xl); max-width: 18ch; }
.band h2 em { color: #c8f751; }
.band p { max-width: 38rem; font-size: var(--fs-lg); color: rgba(242, 244, 238, .78); }
.band__steps { list-style: none; margin: .4rem 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.band__steps li { display: flex; align-items: center; gap: .55rem; padding: .55rem .9rem; border-radius: var(--r-pill); border: 1px solid rgba(255, 255, 255, .18); background: rgba(10, 11, 9, .5); backdrop-filter: blur(8px); font-size: var(--fs-sm); }
.band__steps b { color: #c8f751; font-weight: 600; font-size: .7rem; }
.band .btn { justify-self: start; }

/* gallery lightbox */
.gallery figure { cursor: zoom-in; }
.gallery figure:focus-visible { outline: 2px solid var(--c-lime); outline-offset: 3px; }
.lightbox { width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: clamp(1rem, 4vw, 3rem); border: 0; background: transparent; color: #f2f4ee; }
.lightbox::backdrop { background: rgba(0, 0, 0, .92); backdrop-filter: blur(6px); }
.lightbox[open] { display: grid; place-items: center; animation: lbIn .3s var(--ease-out); }
@keyframes lbIn { from { opacity: 0; } }
.lightbox__fig { margin: 0; display: grid; gap: .8rem; justify-items: center; max-width: 100%; max-height: 100%; }
.lightbox__fig img { max-width: min(100%, 90rem); max-height: calc(100vh - 8rem); width: auto; height: auto; object-fit: contain; border-radius: var(--r-md); }
.lightbox__fig figcaption { font-weight: 500; }
.lightbox__btn { position: fixed; width: 3rem; height: 3rem; border-radius: 50%; display: grid; place-items: center; font-size: 1.3rem; color: #f2f4ee; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .16); transition: background-color var(--dur-1), border-color var(--dur-1); }
.lightbox__btn:hover { background: #c8f751; color: #0a0b09; border-color: #c8f751; }
.lightbox__close { top: 1rem; right: 1rem; font-size: 1.6rem; }
.lightbox__prev { left: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 1rem; top: 50%; translate: 0 -50%; }
.lightbox__count { position: fixed; top: 1.6rem; left: 1.2rem; color: rgba(242, 244, 238, .6); }
@media (max-width: 640px) { .lightbox__prev, .lightbox__next { top: auto; bottom: 1rem; translate: none; } }

/* screenshot mode (?shot=…): everything in its finished state */
.is-shot *, .is-shot *::before, .is-shot *::after { transition: none !important; }
.is-shot .cursor { display: none; }

/* ---------- 13b. JOURNEY (pinned scroll story) ---------- */
/* Without JS or with reduced motion the scenes simply stack; main.js adds .is-pinned, stacks them in one
   pinned viewport and wipes each in with a curved edge (GSAP ScrollTrigger). */
.story { position: relative; }
.story-layer { position: relative; display: flex; align-items: center; min-height: 100svh; overflow: hidden; background: var(--bg); color: var(--fg); }
.story.is-pinned { height: 100svh; overflow: hidden; }
.story.is-pinned .story-layer { position: absolute; inset: 0; }
.story-giant { position: absolute; inset-inline-start: 0; top: 50%; z-index: 0; transform: translateY(-50%); white-space: nowrap; pointer-events: none;
  font: italic 400 clamp(9rem, 30vw, 30rem)/.8 var(--f-serif); letter-spacing: -.03em; opacity: .07; will-change: transform; }
.story-inner { position: relative; z-index: 2; display: grid; gap: 1.6rem; align-items: center; padding-block: calc(var(--header-h) + 2rem) 4.5rem; }
.story-copy { display: grid; gap: 1rem; justify-items: start; }
.story-kicker { display: inline-flex; gap: .7rem; align-items: center; text-transform: uppercase; letter-spacing: .14em; opacity: .75; }
.story-kicker b { color: var(--accent); font-weight: 600; }
.story-title { font-size: clamp(3.4rem, 1rem + 9vw, 9rem); line-height: .92; letter-spacing: -.05em; }
.story-sub { font: italic 400 clamp(1.4rem, 1rem + 1.4vw, 2.2rem)/1.15 var(--f-serif); color: var(--accent); }
.story-text { display: none; max-width: 30rem; color: color-mix(in srgb, var(--fg) 72%, transparent); font-size: var(--fs-lg); }
.story-cta { margin-top: .4rem; }
.story-layer:not(.story-layer--lime) .story-cta:not(.btn--lime) { --btn-bg: rgba(255, 255, 255, .06); --btn-ink: #f2f4ee; --btn-bd: rgba(255, 255, 255, .18); }
.story-cta--ink { --btn-bg: #0a0b09; --btn-ink: #c8f751; --btn-bd: transparent; }
.story-media { position: relative; margin: 0; justify-self: center; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--r-xl); overflow: hidden;
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .08); will-change: transform; }
.story-layer--lime .story-media { box-shadow: 0 50px 90px -40px rgba(30, 50, 0, .55), 0 0 0 1px rgba(0, 0, 0, .1); }
.story-media img { width: 100%; height: 100%; object-fit: cover; }
.story-media canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .6s var(--ease-out); }
.story-media.is-gl canvas { opacity: 1; }
.story-media figcaption { position: absolute; inset-inline-start: .8rem; bottom: .8rem; z-index: 1; padding: .4rem .7rem; border-radius: var(--r-pill);
  background: rgba(10, 11, 9, .65); color: #f2f4ee; backdrop-filter: blur(8px); }
.story-hint { position: absolute; z-index: 3; inset-inline-start: var(--gutter); bottom: 1.6rem; display: none; color: #a7aba2; }
.story-count { position: absolute; z-index: 3; inset-inline-end: var(--gutter); bottom: 1.8rem; display: none; gap: .4rem; }
.story.is-pinned .story-count { display: flex; }
.story-count span { width: 2.4rem; height: 2px; border-radius: 2px; background: rgba(167, 171, 162, .35); overflow: hidden; }
.story-count i { display: block; width: 100%; height: 100%; background: var(--c-lime); transform: scaleX(0); transform-origin: left; }
@media (min-width: 900px) {
  .story-inner { grid-template-columns: 5fr 6fr; gap: 3.5rem; }
  .story-text { display: block; }
  .story.is-pinned.has-gl .story-hint { display: block; }
}
@media (max-width: 899px) { .story-media { max-width: 34rem; } }
@media (max-height: 720px) and (max-width: 899px) { .story-media { max-width: 22rem; } .story-title { font-size: clamp(3rem, 12vw, 5rem); } .story-inner { gap: 1.1rem; } }

/* split headings (SplitText): masks clip at the glyph box, so give accents and descenders room */
.split-mask { padding-block: .12em; margin-block: -.12em; }

/* cards tilt towards the pointer while hovered; a soft light follows it */
.shot.is-in.is-tilting, .gallery figure.is-in.is-tilting {
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(0, -4px, 0);
  transition: transform .2s ease-out, box-shadow var(--dur-2);
}
.glare { position: absolute; inset: 0; z-index: 2; pointer-events: none; border-radius: inherit; opacity: 0; mix-blend-mode: soft-light; transition: opacity .4s var(--ease-out);
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .6), transparent 55%); }
.is-tilting > .glare { opacity: 1; }
.shot { position: relative; }

/* legal pages */
.legal { padding-top: calc(var(--header-h) + 4rem); }
.legal__inner { max-width: 46rem; }
.legal h1 { font-size: var(--fs-2xl); margin-top: 1rem; overflow-wrap: break-word; hyphens: auto; }
.legal h2 { font-size: var(--fs-lg); letter-spacing: -.02em; line-height: 1.25; margin: 2.2rem 0 .6rem; }
.legal p { color: var(--c-ink-2); line-height: 1.7; margin-top: .7rem; overflow-wrap: break-word; }
.legal p strong { color: var(--c-ink); }
.legal .legal__lead { font-size: var(--fs-lg); margin-top: 1.2rem; }
.legal .legal__date { margin-top: 3rem; color: var(--c-ink-3); }
.legal p a, .form__legal a { color: var(--c-accent-text); text-decoration: underline; text-underline-offset: 3px; }
.form__note.form__legal { font-size: max(.8rem, 12px); line-height: 1.5; color: var(--c-ink-2); }
.footer__legal { display: inline-flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
.footer__legal a:hover { color: var(--c-ink); }

/* 404 */
.notfound { min-height: 72svh; display: flex; align-items: center; padding-top: calc(var(--header-h) + 3rem); }
.notfound__inner { display: grid; gap: 1.2rem; justify-items: start; }
.notfound h1 { font-size: var(--fs-hero); }
.notfound p { max-width: 36rem; color: var(--c-ink-2); font-size: var(--fs-lg); }

/* ---------- 14. MOTION PREFS ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  [data-reveal] { opacity: 1; transform: none; }
  .marquee { animation: none; flex-wrap: wrap; width: auto; }
  .window { transform: none; }
  .cursor, .bg-fx { display: none; }
}
