/* =========================================================================
   Prelino landing - cinematic dark, spotlight-purple accent.
   Mobile-first. One theme (dark). One accent. One radius scale.
   ========================================================================= */

:root {
  /* surfaces - exact Prelino app tokens (dark) */
  --bg:        #0E0B19;   /* surface-base */
  --bg-2:      #0A0712;   /* surface-deep */
  --surface:   #15101F;   /* surface-elevated */
  --line:      rgba(157,150,181,.10);
  --line-soft: rgba(157,150,181,.06);

  /* ink */
  --ink:       #F1ECFF;   /* text-primary */
  --ink-2:     #9D96B5;   /* text-secondary, >= 4.5:1 on --bg */
  --ink-3:     #6D6485;   /* text-dim, large text only */

  /* accents - violet primary, film-amber secondary (exact app values) */
  --violet:      #8B5CF6;   /* --accent */
  --violet-light:#C7B8FF;
  --violet-hover:#A78BFA;
  --violet-btn:  #7C3AED;   /* deeper fill so white label hits WCAG AA */
  --violet-ink:  #ffffff;
  --glow:        rgba(139,92,246,.30);
  --indigo:      #6366F1;
  --amber:       #E8973A;   /* --film-amber */
  --amber-light: #F4B469;   /* --film-amber-light */
  --amber-soft:  rgba(232,151,58,.12);

  /* type - two families only. Big Shoulders Display = the strong industrial
     display (headings, labels, wordmark); Geist = neutral body text. */
  --font-sans:    'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Big Shoulders Display', 'Geist', sans-serif;

  /* radius scale - soft, app-like */
  --r-card: 18px;
  --r-input: 12px;

  --maxw: 1500px;                        /* wide content (hero + boards go full-bleed below) */
  --pad: clamp(1.15rem, 4vw, 4rem);      /* gutters grow on wide screens */

  --ease: cubic-bezier(.16,1,.3,1);

  /* z-scale */
  --z-grain: 60;
  --z-nav: 50;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; padding: 0; }
[hidden] { display: none !important; }

::selection { background: var(--violet); color: #fff; }

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

.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--pad); }

/* ---------- custom scrollbars (thin, themed) ---------- */
* { scrollbar-width: thin; scrollbar-color: rgba(139,92,246,.45) transparent; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
  background: rgba(139,92,246,.4); border-radius: 999px;
  border: 3px solid transparent; background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover { background: rgba(139,92,246,.65); background-clip: padding-box; }
::-webkit-scrollbar-corner { background: transparent; }

/* ---------- film grain ---------- */
.grain {
  position: fixed; inset: 0; z-index: var(--z-grain);
  pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* =========================================================================
   Typography helpers
   ========================================================================= */
.eyebrow {
  font: 500 .72rem/1 var(--font-display);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--violet);
  display: inline-flex; align-items: center; gap: .6rem;
}
.eyebrow::before {
  content: ""; width: 26px; height: 1px; background: var(--violet); opacity: .7;
}

.h-section {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -.01em;
  line-height: 1.05;
  font-size: clamp(2rem, 5.6vw, 3.1rem);
  text-transform: none;
}

/* amber emphasis word - one accent colour, nothing fancy */
.em { color: var(--amber-light); font-style: normal; }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  --bpad-y: .9rem; --bpad-x: 1.5rem;
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: var(--bpad-y) var(--bpad-x);
  border-radius: 999px;
  font: 600 1rem/1 "Geist", sans-serif;
  letter-spacing: .01em;
  white-space: nowrap;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .18s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:active { transform: translateY(1px) scale(.985); }

.btn--primary {
  background: var(--violet-btn); color: var(--violet-ink);
  box-shadow: 0 0 0 0 var(--glow);
}
.btn--primary:hover {
  background: var(--violet);
  box-shadow: 0 10px 40px -8px var(--glow);
}

.btn--ghost {
  background: rgba(255,255,255,.04); color: var(--ink);
  border-color: var(--line); backdrop-filter: blur(8px);
}
.btn--ghost:hover { border-color: rgba(139,92,246,.6); background: rgba(139,92,246,.08); }

.btn--quiet { background: transparent; color: var(--ink-2); border-color: var(--line); }
.btn--quiet:hover { color: var(--ink); border-color: var(--ink-3); }

/* =========================================================================
   NAV
   ========================================================================= */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: var(--z-nav);
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
  border-bottom: 1px solid transparent;
}
.nav.is-stuck {
  background: rgba(10,7,16,.72);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom-color: var(--line-soft);
}
.nav__inner {
  max-width: var(--maxw); margin-inline: auto; padding: .85rem var(--pad);
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.nav__brand { display: inline-flex; align-items: center; gap: .55rem; }
.nav__logo { border-radius: 8px; }
/* "Prelino" wordmark - Big Shoulders Display, strong and simple */
.nav__name, .footer__brand span {
  font-family: var(--font-display); font-weight: 700; font-size: 1.4rem;
  letter-spacing: .015em; color: var(--ink);
}
.nav__cta { --bpad-y: .6rem; --bpad-x: 1.05rem; font-size: .92rem; }

/* =========================================================================
   HERO
   ========================================================================= */
.hero {
  position: relative; isolation: isolate;
  min-height: 100dvh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding-top: 88px; padding-bottom: clamp(2rem, 5vw, 3.5rem);
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hero__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(120% 90% at 80% 40%, rgba(139,92,246,.18), transparent 55%),
    linear-gradient(180deg, rgba(10,7,16,.55) 0%, rgba(10,7,16,.2) 38%, rgba(10,7,16,.86) 92%),
    linear-gradient(90deg, rgba(10,7,16,.92) 0%, rgba(10,7,16,.5) 45%, rgba(10,7,16,0) 78%);
}

.hero__content { padding-bottom: clamp(2rem, 5vw, 3rem); }
.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.7rem, 8.5vw, 5.4rem);
  line-height: .96; letter-spacing: 0;
  margin: 1rem 0 0; max-width: 20ch;
  text-shadow: 0 2px 40px rgba(0,0,0,.5);
}
.hero__sub {
  margin-top: 1.3rem; max-width: 46ch;
  font-size: clamp(1rem, 2.4vw, 1.18rem); color: var(--ink-2); line-height: 1.55;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; }

/* board film-strip */
.strip {
  display: grid; grid-auto-flow: column; grid-auto-columns: 78%;
  gap: .8rem; margin-top: clamp(2rem, 6vw, 3rem);
  overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: .6rem; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.strip::-webkit-scrollbar { display: none; }
.frame { scroll-snap-align: start; }
.frame__media {
  position: relative; aspect-ratio: 16/9; border-radius: var(--r-card);
  border: 1px solid var(--line);
  background:
    repeating-linear-gradient(90deg, transparent 0 16px, rgba(255,255,255,.03) 16px 17px),
    linear-gradient(135deg, var(--surface), var(--bg-2));
  display: grid; place-items: center; overflow: hidden;
}
.frame__media[data-shot]::before {  /* shot-size tab (only when set) */
  content: attr(data-shot);
  position: absolute; top: .6rem; left: .6rem;
  font: 500 .62rem/1 var(--font-display); letter-spacing: .14em;
  color: var(--violet); background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.3); padding: .35rem .5rem; border-radius: 6px;
}
.frame__media::after {  /* corner crop marks */
  content: ""; position: absolute; inset: .55rem; border-radius: 8px;
  background:
    linear-gradient(var(--violet),var(--violet)) 0 0/14px 1px no-repeat,
    linear-gradient(var(--violet),var(--violet)) 0 0/1px 14px no-repeat,
    linear-gradient(var(--violet),var(--violet)) 100% 100%/14px 1px no-repeat,
    linear-gradient(var(--violet),var(--violet)) 100% 100%/1px 14px no-repeat;
  opacity: .5;
}
.frame__ph { font-size: .82rem; color: var(--ink-3); letter-spacing: .04em; }
.frame__img { width: 100%; height: 100%; object-fit: contain; padding: 7%;
  filter: drop-shadow(0 18px 30px rgba(0,0,0,.5)); }
.frame__cap { margin-top: .6rem; font: 500 .72rem/1 var(--font-display); color: var(--ink-3); letter-spacing: .06em; text-transform: uppercase; }

/* ---- board carousel (coverflow) ---- */
.boards {
  position: relative; margin-top: clamp(1.6rem, 5vw, 3rem);
  height: clamp(220px, 33vw, 400px);
  perspective: 1600px; user-select: none;
}
.boards__track { position: relative; height: 100%; transform-style: preserve-3d; touch-action: pan-y; }
.board {
  position: absolute; top: 0; left: 50%;
  width: clamp(258px, 40vw, 540px); aspect-ratio: 16 / 10;
  transform: translateX(-50%); transform-origin: center center;
  transition: transform .5s var(--ease), opacity .5s var(--ease);
  will-change: transform, opacity;
}
.board__btn {
  display: block; width: 100%; height: 100%; padding: 0;
  border: 1px solid var(--line); border-radius: var(--r-card); overflow: hidden;
  cursor: pointer; background: linear-gradient(160deg, var(--surface), var(--bg-2));
  box-shadow: 0 30px 70px -30px rgba(0,0,0,.85);
  transition: border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.board__btn img { width: 100%; height: 100%; object-fit: cover; }
.board__cap {
  position: absolute; left: 0; right: 0; bottom: -1.8rem; text-align: center;
  font: 500 .72rem/1 var(--font-display); letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); opacity: 0; transition: opacity .4s var(--ease);
}
.board.is-active .board__cap { opacity: 1; color: var(--ink-2); }
.board.is-active .board__btn {
  border-color: rgba(139,92,246,.5);
  box-shadow: 0 40px 90px -28px rgba(0,0,0,.9), 0 0 60px -18px var(--glow);
}
.board:not(.is-active) .board__btn { cursor: pointer; }

.boards__nav {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 40;
  width: 46px; height: 46px; border-radius: 999px; display: grid; place-items: center;
  background: rgba(20,16,34,.72); border: 1px solid var(--line); color: var(--ink);
  cursor: pointer; backdrop-filter: blur(8px);
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.boards__nav:hover { background: rgba(139,92,246,.2); border-color: rgba(139,92,246,.55); }
.boards__nav--prev { left: clamp(.25rem, 2vw, 1.5rem); }
.boards__nav--next { right: clamp(.25rem, 2vw, 1.5rem); }

.boards__dots { display: flex; gap: .5rem; justify-content: center; position: absolute; left: 0; right: 0; bottom: -3.2rem; }
.boards__dots button {
  width: 7px; height: 7px; border-radius: 999px; border: none; padding: 0;
  background: var(--line); cursor: pointer; transition: background .25s var(--ease), width .25s var(--ease);
}
.boards__dots button.is-active { background: var(--violet); width: 20px; }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 5vw;
  background: rgba(8,6,14,.86); backdrop-filter: blur(10px);
  animation: lbfade .25s var(--ease);
}
@keyframes lbfade { from { opacity: 0; } to { opacity: 1; } }
/* studio block view (matches the Prelino app) */
.lb {
  width: min(920px, 94vw); max-height: 90vh; overflow: auto;
  background: var(--surface); border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 40px 120px rgba(0,0,0,.7); -webkit-overflow-scrolling: touch;
}
.lb__head { display: flex; align-items: baseline; gap: .8rem; flex-wrap: wrap; padding: clamp(1rem,2.5vw,1.5rem) clamp(1rem,2.5vw,1.5rem) 0; }
.lb__title { font: 700 1.45rem/1 var(--font-display); letter-spacing: .01em; }
.lb__id { font: 400 .72rem/1 ui-monospace, "SF Mono", Menlo, monospace; color: var(--ink-3); }
.lb__tools { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; padding: .9rem clamp(1rem,2.5vw,1.5rem) 1.1rem; }
.lb__tlabel { font: 500 .66rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); }
.lb__pills { display: inline-flex; gap: .35rem; }
.lb__pill { font: 500 .74rem/1 var(--font-sans); padding: .42rem .72rem; border-radius: 999px; border: 1px solid var(--line); color: var(--ink-3); }
.lb__pill.is-on { background: rgba(139,92,246,.16); border-color: rgba(139,92,246,.5); color: var(--violet-light); }
.lb__board { padding: 0 clamp(1rem,2.5vw,1.5rem); }
.lb__board img { width: 100%; border-radius: 12px; display: block; }
.lb__sec { padding: clamp(1rem,2.5vw,1.35rem) clamp(1rem,2.5vw,1.5rem); border-top: 1px solid var(--line-soft); }
.lb__h { display: flex; align-items: center; gap: .55rem; font: 500 .66rem/1 var(--font-display); letter-spacing: .16em; text-transform: uppercase; color: var(--ink-3); margin-bottom: .9rem; }
.lb__count { font: 500 .6rem/1 ui-monospace, monospace; color: var(--violet); border: 1px solid rgba(139,92,246,.4); border-radius: 999px; padding: .15rem .45rem; }
.lb__refrow { display: flex; gap: .7rem; overflow-x: auto; padding-bottom: .4rem; }
.lb__ref { margin: 0; flex: 0 0 auto; width: 150px; }
.lb__refimg { aspect-ratio: 4/3; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); background: var(--bg-2); }
.lb__refimg img { width: 100%; height: 100%; object-fit: cover; }
.lb__ref figcaption { margin-top: .4rem; font: 500 .6rem/1 ui-monospace, "SF Mono", Menlo, monospace; letter-spacing: .03em; color: var(--ink-3); }
.lb__text { color: var(--ink-2); max-width: 72ch; line-height: 1.55; }
.lb__phead { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .9rem; }
.lb__phead .lb__h { margin-bottom: 0; }
.lb__copy { font: 600 .78rem/1 var(--font-sans); padding: .5rem .85rem; border-radius: 8px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: var(--ink); cursor: pointer; transition: border-color .2s; }
.lb__copy:hover { border-color: rgba(139,92,246,.55); }
.lb__prompt {
  margin: 0; white-space: pre-wrap; font: 400 .8rem/1.55 ui-monospace, "SF Mono", Menlo, monospace;
  color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line-soft);
  border-radius: 10px; padding: 1rem;
}
.lightbox__close {
  position: absolute; top: 1.2rem; right: 1.2rem; width: 46px; height: 46px; border-radius: 999px;
  background: rgba(20,16,34,.85); border: 1px solid var(--line); color: var(--ink);
  cursor: pointer; display: grid; place-items: center;
}
.lightbox__close:hover { border-color: rgba(139,92,246,.55); }

/* =========================================================================
   Section rhythm
   ========================================================================= */
.section { padding-block: clamp(4rem, 11vw, 8rem); position: relative; }
[id] { scroll-margin-top: 84px; }

/* ---- VIDEO ---- */
.video__kicker {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.7rem, 4.6vw, 2.7rem); line-height: 1.1; letter-spacing: -.01em;
  text-align: center; max-width: 20ch; margin-inline: auto;
}
.player {
  position: relative; margin: clamp(1.8rem, 5vw, 3rem) auto 0;
  max-width: 1100px;                     /* don't balloon on full-bleed wide */
  aspect-ratio: 16/9; border-radius: 18px; overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: 0 40px 120px -40px rgba(0,0,0,.9), 0 0 80px -30px rgba(139,92,246,.35);
}
.player__poster { width: 100%; height: 100%; object-fit: cover; }
.player::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 50%, transparent, rgba(10,7,16,.45));
}
.player__play {
  position: absolute; inset: 0; margin: auto;
  width: 76px; height: 76px; border-radius: 999px;
  display: grid; place-items: center; z-index: 2;
  color: var(--violet-ink); background: var(--violet);
  border: none; cursor: pointer; padding-left: 4px;
  box-shadow: 0 0 0 8px rgba(139,92,246,.15), 0 14px 40px -8px var(--glow);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.player__play:hover { transform: scale(1.06); box-shadow: 0 0 0 12px rgba(139,92,246,.12), 0 18px 50px -8px var(--glow); }

/* ---- PROBLEM ---- */
.problem { position: relative; isolation: isolate; background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.problem::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/bg-purplesmoke-1672.webp") right center / cover no-repeat;
  opacity: .25; mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(90deg, transparent 8%, #000 60%);
          mask-image: linear-gradient(90deg, transparent 8%, #000 60%);
}
/* problem aligns with the standard container (no full-bleed override) */
.problem__list { margin-top: 1.6rem; display: grid; gap: .2rem; }
.problem__list li {
  font-family: "Geist", sans-serif; font-weight: 600;
  font-size: clamp(1.35rem, 4.6vw, 2.2rem); line-height: 1.22;
  letter-spacing: -.02em; color: var(--ink-3);
  transition: color .5s var(--ease);
}
.problem__list li.is-in { color: var(--ink); }
.problem__punch {
  margin-top: 2rem; font-size: clamp(1.15rem, 3.5vw, 1.6rem);
  font-weight: 600; color: var(--ink);
}
.problem__punch::before {
  content: ""; display: block; width: 48px; height: 3px; border-radius: 2px;
  background: var(--violet); margin-bottom: 1.1rem; box-shadow: 0 0 24px var(--glow);
}

/* ---- HOW IT WORKS ---- */
.how .h-section { margin-bottom: clamp(2rem, 6vw, 3.5rem); }
.steps { display: grid; gap: clamp(2.5rem, 7vw, 5rem); }
.step { display: grid; gap: 1.5rem; align-items: center; }
.step__num {
  font-family: var(--font-display); font-size: 1.05rem; color: var(--violet);
  letter-spacing: .1em;
}
.step__title { font-size: clamp(1.4rem, 4.2vw, 2rem); line-height: 1.1; margin-top: .5rem; font-weight: 700; letter-spacing: -.01em; }
.step__body { margin-top: .7rem; color: var(--ink-2); max-width: 42ch; }

.switcher { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.1rem; }
.switcher li {
  font-size: .85rem; font-weight: 600; padding: .5rem .85rem; border-radius: 999px;
  border: 1px solid var(--line); color: var(--ink-2); background: rgba(255,255,255,.03);
}
.switcher--byok { color: var(--violet); border-color: rgba(139,92,246,.45); background: rgba(139,92,246,.08); }

.shot {
  position: relative; aspect-ratio: 16/10; max-height: 460px; width: 100%; border-radius: var(--r-card);
  border: 1px solid var(--line); overflow: hidden;
  background:
    radial-gradient(80% 120% at 0% 0%, rgba(139,92,246,.14), transparent 60%),
    linear-gradient(135deg, var(--surface), var(--bg-2));
  display: grid; place-items: center;
}
.shot--tall { aspect-ratio: 4/3; }
.shot::after {
  content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(139,92,246,.25); border-radius: 10px;
}
.shot__ph { font-size: .82rem; color: var(--ink-3); letter-spacing: .04em; z-index: 1; }
.shot__img { position: absolute; inset: 0; z-index: 2; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ---- DIFFERENTIATORS ---- */
.diff__grid { display: grid; gap: 1rem; }
.tile {
  position: relative; padding: clamp(1.6rem, 4vw, 2.4rem); border-radius: 18px;
  border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, var(--surface), var(--bg-2));
  min-height: 220px; display: flex; flex-direction: column; justify-content: center;
}
.tile::before {
  content: ""; position: absolute; width: 280px; height: 280px; border-radius: 50%;
  filter: blur(60px); opacity: .5; z-index: 0;
}
.tile--wheel::before { background: rgba(139,92,246,.4); top: -120px; right: -80px; }
.tile--cont::before { background: rgba(99,102,241,.32); bottom: -140px; left: -60px; }
.tile__title { position: relative; z-index: 1; font-size: clamp(1.3rem, 3.5vw, 1.7rem); font-weight: 700; letter-spacing: -.01em; }
.tile__body { position: relative; z-index: 1; margin-top: .7rem; color: var(--ink-2); max-width: 38ch; }

/* ---- LOC SANITY ---- */
.loc { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.loc__wrap { display: grid; gap: 2rem; align-items: center; }
.loc__body { margin-top: 1.1rem; color: var(--ink-2); max-width: 46ch; }
.loc .h-section { margin-top: 1rem; font-size: clamp(1.8rem, 5.5vw, 2.8rem); }

/* ---- WHO ---- */
.who { position: relative; isolation: isolate; }
.who::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: url("../img/bg-spotfloor-1672.webp") center 35% / cover no-repeat;
  opacity: .22; mix-blend-mode: screen;
  -webkit-mask-image: radial-gradient(58% 80% at 50% 45%, #000, transparent 72%);
          mask-image: radial-gradient(58% 80% at 50% 45%, #000, transparent 72%);
}
.who__wrap { text-align: center; }
.who__lead {
  font-family: var(--font-display); font-weight: 700; letter-spacing: -.01em;
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  margin-top: .6rem; line-height: 1.1;
}
.who__tags { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1.6rem; }
.who__tags li {
  padding: .6rem 1.1rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--ink-2); background: rgba(255,255,255,.03); font-weight: 700;
}

/* =========================================================================
   FINAL CTA
   ========================================================================= */
.access {
  position: relative; isolation: isolate; overflow: hidden;
  padding-block: clamp(5rem, 13vw, 9rem);
}
.access__bg {
  position: absolute; inset: 0; z-index: -2;
  background: var(--bg-2) url("../img/cta-spotlight.webp") no-repeat 82% 42% / cover;
}
.access__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    radial-gradient(90% 70% at 75% 30%, rgba(139,92,246,.2), transparent 55%),
    linear-gradient(180deg, rgba(10,7,16,.86), rgba(10,7,16,.7) 50%, rgba(10,7,16,.95));
}
.access__content { max-width: 620px; }
.access__title {
  font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 5.6vw, 3.1rem);
  line-height: 1.06; letter-spacing: -.01em;
}
.access__sub { margin-top: 1.1rem; color: var(--ink-2); font-size: clamp(1rem, 2.5vw, 1.15rem); max-width: 44ch; }

/* form */
.form { margin-top: 2rem; display: grid; gap: 1.1rem; max-width: 440px; }
.field { display: grid; gap: .5rem; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); display: flex; align-items: center; gap: .5rem; }
.field__opt { font-weight: 400; font-size: .78rem; color: var(--ink-3); letter-spacing: .02em; }
.field input {
  width: 100%; padding: .95rem 1rem; border-radius: var(--r-input);
  background: rgba(255,255,255,.04); border: 1px solid var(--line);
  color: var(--ink); font: 400 1rem "Geist", sans-serif;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.field input::placeholder { color: var(--ink-3); }
.field input:focus { outline: none; border-color: var(--violet); background: rgba(139,92,246,.06); box-shadow: 0 0 0 3px rgba(139,92,246,.18); }
.field input[aria-invalid="true"] { border-color: #ff7a8a; }
.field__err { color: #ff9aa6; font-size: .85rem; }

.form__submit { margin-top: .3rem; position: relative; }
.form__submit[aria-busy="true"] .form__label { opacity: 0; }
.form__spin {
  display: none; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(26,15,43,.35); border-top-color: var(--violet-ink);
  animation: spin .7s linear infinite;
}
.form__submit[aria-busy="true"] .form__spin { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__note { font-size: .82rem; color: var(--ink-3); }

.form__done {
  margin-top: 2rem; padding: 1.6rem; border-radius: var(--r-card);
  border: 1px solid rgba(139,92,246,.35); background: rgba(139,92,246,.07);
  display: flex; align-items: center; gap: 1rem; max-width: 440px;
  color: var(--ink); animation: rise .5s var(--ease) both;
}
.form__done svg { color: var(--violet); flex-shrink: 0; }
.form__done p { font-size: 1.05rem; font-weight: 700; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { border-top: 1px solid var(--line-soft); padding-block: 2.5rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.footer__brand { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; }
.footer__brand img { border-radius: 6px; }
.footer__tag { color: var(--ink-3); margin-right: auto; }
.footer__copy { color: var(--ink-3); font-size: .9rem; }

/* =========================================================================
   Scroll reveal
   ========================================================================= */
/* reveals are an enhancement: only hide when JS is active (.js on <html>).
   No JS / JS error -> content stays visible. */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal:nth-child(2) { transition-delay: .05s; }
.js .reveal:nth-child(3) { transition-delay: .1s; }

/* =========================================================================
   Responsive - tablet / desktop
   ========================================================================= */
@media (min-width: 720px) {
  .strip { grid-auto-columns: 1fr; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .diff__grid { grid-template-columns: 1fr 1fr; }
  .step { grid-template-columns: 1fr 1fr; gap: 3rem; }
  .step:nth-child(even) .step__text { order: 2; }
  .loc__wrap { grid-template-columns: 1.05fr .95fr; gap: 3.5rem; }
}

@media (min-width: 1024px) {
  .hero__content { max-width: var(--maxw); }
  .nav__inner { min-height: 70px; }
}

/* =========================================================================
   Reduced motion
   ========================================================================= */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  .grain { display: none; }
  .form__spin { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* reduced transparency fallback for nav blur */
@media (prefers-reduced-transparency: reduce) {
  .nav.is-stuck { background: var(--bg); backdrop-filter: none; }
  .btn--ghost { backdrop-filter: none; background: var(--surface); }
}

/* ── Mobile hero: the director's chair crops awkwardly on narrow screens, so
   push its focal point to the bottom and deepen the scrim — leaving mostly
   smoke + violet atmosphere behind the headline. ───────────────────────── */
@media (max-width: 768px) {
  .hero__bg img { object-position: 58% 92%; }
  .hero__scrim {
    background:
      radial-gradient(130% 70% at 50% 16%, rgba(139,92,246,.20), transparent 62%),
      linear-gradient(180deg,
        rgba(10,7,16,.82) 0%,
        rgba(10,7,16,.60) 32%,
        rgba(10,7,16,.80) 64%,
        rgba(10,7,16,.96) 100%);
  }
}
