/* EGOTRIP — black, sparse, cinematic. A scrolling site built around
   first-person experiences, per the client's creative review (Oct 2026):
   01 The Arrival / 02 Be There / 03 Beyond Presence / 04 Access Is
   Everything / 05 The Invitation. The founder biography lives on
   press.html, off the consumer journey. */

/* ---------- Fonts ---------- */

@font-face {
  font-family: "Clash Display";
  src: url("fonts/ClashDisplay-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("fonts/ClashDisplay-Semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Clash Display";
  src: url("fonts/ClashDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Sora";
  src: url("Sora.ttf") format("truetype");
  font-weight: 100 800;
  font-display: swap;
}
/* Press page serif (Computer Modern, OFL), subset to Latin. */
@font-face {
  font-family: "CMU Serif";
  src: url("fonts/cmu-serif-500-roman.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "CMU Serif";
  src: url("fonts/cmu-serif-500-italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ---------- Tokens ---------- */

:root {
  --bg: #000;
  --ink: #f5f4f1;
  --ink-dim: #8a8a86;
  --ink-faint: #3a3a38;
  --ink-hair: #1c1c1a;

  /* The brand's gold, used with restraint: accents and rules only. */
  --gold: #c9a227;
  --gold-soft: rgba(201, 162, 39, 0.28);

  --display: "Clash Display", "Helvetica Neue", sans-serif;
  --font: "Clash Display", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --gut: clamp(1.25rem, 5vw, 5rem);
  --maxw: 86rem;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  /* Press page palette, sampled from the client's PDF */
  --pk-cream: #ece5da;
  --pk-text: #e9e6e0;
  --pk-grey: #88857f;
  --pk-rule: #262626;
  --pk-teal: #4f9ca1;
  --pk-teal-rule: #2e6468;
  --serif: "Clash Display", Georgia, "Times New Roman", serif;
  --sans: "Clash Display", "Helvetica Neue", Helvetica, Arial, sans-serif;
}

/* ---------- Base ---------- */

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* While the loader is up, the page behind it must not scroll. */
body.is-loading { overflow: hidden; height: 100%; }

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

.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;
}

::selection { background: var(--gold); color: #000; }

/* ---- Scrollbar ----
   The browser default is a light grey slab against a black site. Styled
   here for both engines; the gutter is kept (not overlaid) so a long
   page never shifts horizontally when the bar appears. */

html {
  scrollbar-width: thin;
  scrollbar-color: #2e2e2b #000;
}

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb {
  background: #2e2e2b;
  border: 2px solid #000;
  border-radius: 10px;
  transition: background 0.3s ease;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }
::-webkit-scrollbar-corner { background: #000; }



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

/* ---------- Texture ---------- */

.grain, .vignette { position: fixed; inset: 0; pointer-events: none; z-index: 60; }

.grain {
  opacity: 0.042;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/></filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
  animation: grain 7s steps(6) infinite;
}
@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-3%, 2%); }
  40% { transform: translate(2%, -3%); }
  60% { transform: translate(-2%, -2%); }
  80% { transform: translate(3%, 3%); }
}

.vignette {
  background: radial-gradient(ellipse at 50% 45%, transparent 42%, rgba(0, 0, 0, 0.82) 100%);
  z-index: 55;
}

/* ---------- Landing ----------
   Jet black and the logo. Everything the old preloader carried — the
   progress bar, the percentage, the two entry buttons — is gone: the
   client wants the mark, then the film. */

#loader {
  position: fixed; inset: 0; z-index: 100;
  background: #000;
  display: grid; place-items: center;
}
#loader.gone { pointer-events: none; }

.ld-inner { display: flex; align-items: center; justify-content: center; padding: var(--gut); }

/* Larger than the old E mark: it is the only thing on the screen. */
.ld-mark {
  /* The loader mark is the same size as the intro and outro marks —
     the biggest E the site shows — so the logo never changes scale. */
  width: min(56vh, 80vw);
  height: auto;
  opacity: 0;
}

/* ---------- Paparazzi strobe ----------
   A slot given data-frames plays a burst of stills instead of a film.
   The frame image is a hard cut — no transition — so it reads as a
   shutter rather than a dissolve. */

.media-slot img.strobe-frame {
  opacity: 1;
  transition: none;
  z-index: 1;
}

/* The flash sits over the frame and is punched by the player on each
   shot. Additive white, kept low: at this speed it reads as a burst
   without becoming a stroboscope. */
.strobe-flash {
  position: absolute; inset: 0;
  z-index: 2;
  background: #fff;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: screen;
}

/* ---------- Custom cursor (pointer devices only) ---------- */

#cursor { display: none; }

@media (hover: hover) and (pointer: fine) {
  #cursor {
    display: block; position: fixed; top: 0; left: 0;
    z-index: 90; pointer-events: none; mix-blend-mode: difference;
  }
  .cur-dot, .cur-ring {
    position: absolute; border-radius: 50%;
    transform: translate(-50%, -50%);
  }
  .cur-dot { width: 5px; height: 5px; background: var(--ink); }
  .cur-ring {
    width: 34px; height: 34px;
    border: 1px solid rgba(245, 244, 241, 0.4);
    transition: width 0.35s var(--ease), height 0.35s var(--ease), opacity 0.35s ease;
  }
  body.cur-on .cur-ring { width: 66px; height: 66px; border-color: rgba(245, 244, 241, 0.75); }
  .cur-label {
    position: absolute; transform: translate(-50%, -50%);
    font-size: 0.5rem; letter-spacing: 0.22em; white-space: nowrap;
    opacity: 0; transition: opacity 0.3s ease;
  }
  body.cur-on .cur-label { opacity: 1; }
}

/* ---------- Top bar ---------- */

#topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 70;
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1rem, 2.4vw, 1.8rem) var(--gut);
  /* Over the hero film the bar is pure overlay: difference blending keeps
     it legible against whatever frame is playing behind it. */
  mix-blend-mode: difference;
  border-bottom: 1px solid transparent;
  transition:
    background 0.55s var(--ease),
    backdrop-filter 0.55s var(--ease),
    border-color 0.55s var(--ease),
    padding 0.55s var(--ease);
}

/* Past the hero the bar sets instead of floats: a translucent panel with
   a blur behind it. Difference blending has to go — it cannot coexist
   with a backdrop-filter, and the bar now has a surface of its own. */
body.nav-stuck #topbar {
  mix-blend-mode: normal;
  background: rgba(6, 6, 6, 0.62);
  backdrop-filter: blur(16px) saturate(130%);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  border-bottom-color: rgba(245, 244, 241, 0.09);
  padding-top: clamp(0.7rem, 1.5vw, 1rem);
  padding-bottom: clamp(0.7rem, 1.5vw, 1rem);
}

/* Safari and Firefox without backdrop-filter get a solid panel rather
   than a half-transparent one they cannot blur. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  body.nav-stuck #topbar { background: rgba(6, 6, 6, 0.95); }
}

.tb-logo img { height: clamp(1.5rem, 3vw, 2.1rem); width: auto; }

.tb-nav { display: flex; gap: clamp(1.2rem, 3vw, 2.6rem); }
.tb-nav a {
  font-size: 0.58rem; letter-spacing: 0.26em; color: var(--ink);
  position: relative; padding-bottom: 3px;
}
.tb-nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.5s var(--ease);
}
.tb-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.tb-cta {
  font-size: 0.58rem; letter-spacing: 0.26em;
  border: 1px solid rgba(245, 244, 241, 0.35);
  padding: 0.7rem 1.4rem;
  transition: background 0.4s var(--ease), color 0.4s var(--ease);
}
.tb-cta:hover { background: var(--ink); color: #000; }

/* ---------- Section meter ---------- */

#sectionmeter {
  position: fixed; left: var(--gut); bottom: clamp(1.2rem, 3vh, 2rem);
  z-index: 70;
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.56rem; letter-spacing: 0.24em;
  color: var(--ink-dim);
  font-variant-numeric: tabular-nums;
  mix-blend-mode: difference;
  opacity: 0;
}
.sm-now { color: var(--ink); }
.sm-rule { width: 1.6rem; height: 1px; background: var(--ink-faint); }
.sm-name { margin-left: 0.7rem; }

/* ---------- Shared section furniture ---------- */

.sec { position: relative; }

.sec-index {
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  color: var(--gold);
}

[data-split] { overflow: hidden; }
.line-mask { display: block; overflow: hidden; }
.line-inner { display: block; }

/* ---------- Media slots ----------
   Every experience is a slot that takes the commissioned first-person
   film (data-film) or a still (data-still). Until those exist the slot
   renders art-directed CSS light so the section still reads as designed
   rather than as a broken image. */

.media-slot {
  position: absolute;
  /* Slightly taller than the frame so the parallax drift has somewhere to
     go without exposing a black band at the top or bottom edge. */
  inset: -8% 0;
  overflow: hidden;
  background: #050505;
}

.media-slot img, .media-slot video {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s var(--ease);
}
.media-slot img.is-on, .media-slot video.is-on { opacity: 1; }

/* The slot art is hidden the moment real footage loads. */
.media-slot.has-media .slot-art { opacity: 0; }

/* The slot is 116% tall to give the parallax room, so the art is inset
   back to the visible frame — otherwise horizons and crowd lines get
   composed against an edge the visitor never sees. */
.slot-art { position: absolute; inset: 6.9% 0; transition: opacity 1s var(--ease); }
.slot-art > span { position: absolute; display: block; }

/* Press flashes on a dark carpet. */
.sa-flare {
  width: 42vmax; height: 42vmax; border-radius: 50%;
  top: 6%; left: 14%;
  background: radial-gradient(circle, rgba(255, 246, 222, 0.5) 0%, rgba(255, 238, 198, 0.12) 26%, transparent 62%);
  filter: blur(14px);
  animation: flare 5.5s ease-in-out infinite;
}
.sa-flare-b { top: 16%; left: 62%; width: 30vmax; height: 30vmax; animation-delay: 1.6s; }
.sa-flare-c { top: 38%; left: 38%; width: 24vmax; height: 24vmax; animation-delay: 3.1s; }
@keyframes flare {
  0%, 100% { opacity: 0.22; transform: scale(0.96); }
  45% { opacity: 0.75; transform: scale(1.06); }
}

.sa-carpet {
  left: 50%; bottom: -8%;
  width: 150%; height: 62%;
  transform: translateX(-50%) perspective(60rem) rotateX(62deg);
  background: linear-gradient(to top, rgba(122, 16, 18, 0.85) 0%, rgba(60, 8, 10, 0.4) 46%, transparent 100%);
  filter: blur(2px);
}

/* ---- Experience 02: the stage, looking out ----
   Arena darkness, two moving key lights, and a crowd of silhouetted
   heads lit from behind. Composed to read as a performer's eyeline. */
.sa-beam {
  top: -14%; left: 22%;
  width: 14vmax; height: 96%;
  transform: rotate(15deg);
  transform-origin: top center;
  background: linear-gradient(to bottom,
    rgba(226, 240, 255, 0.85) 0%, rgba(180, 210, 255, 0.3) 44%, transparent 78%);
  filter: blur(18px);
  animation: beam 7s ease-in-out infinite;
}
.sa-beam-b {
  left: 64%;
  transform: rotate(-17deg);
  background: linear-gradient(to bottom,
    rgba(255, 232, 196, 0.78) 0%, rgba(255, 200, 140, 0.28) 44%, transparent 78%);
  animation-delay: 2.4s;
}
@keyframes beam {
  0%, 100% { opacity: 0.5; transform: rotate(15deg) scaleY(0.94); }
  50% { opacity: 0.95; transform: rotate(10deg) scaleY(1.05); }
}

/* Backlit heads: a repeating row of dark domes along the lower edge. */
.sa-crowd {
  left: -5%; right: -5%; bottom: 0; height: 56%;
  background:
    /* Silhouetted heads, drawn on top of the lit band below them. */
    radial-gradient(circle at 6% 84%, #020202 0 3.4%, transparent 3.6%),
    radial-gradient(circle at 18% 90%, #020202 0 3.8%, transparent 4%),
    radial-gradient(circle at 31% 85%, #020202 0 3.2%, transparent 3.4%),
    radial-gradient(circle at 44% 91%, #020202 0 4%, transparent 4.2%),
    radial-gradient(circle at 57% 86%, #020202 0 3.4%, transparent 3.6%),
    radial-gradient(circle at 70% 92%, #020202 0 3.8%, transparent 4%),
    radial-gradient(circle at 83% 87%, #020202 0 3.2%, transparent 3.4%),
    radial-gradient(circle at 95% 91%, #020202 0 3.8%, transparent 4%),
    /* The lit band itself: house lights bouncing off a full arena. */
    radial-gradient(ellipse 60% 70% at 20% 100%, rgba(255, 186, 104, 0.85), transparent 62%),
    radial-gradient(ellipse 60% 70% at 76% 100%, rgba(255, 152, 72, 0.72), transparent 60%),
    linear-gradient(to top, rgba(96, 52, 18, 0.9) 0%, rgba(40, 22, 8, 0.45) 40%, transparent 100%);
}

/* A bloom where the beams converge, so the frame has a hot centre. */
.sa-bloom {
  left: 50%; top: 34%;
  width: 72%; aspect-ratio: 1.6;
  transform: translate(-50%, -50%);
  background: radial-gradient(ellipse, rgba(226, 238, 255, 0.4) 0%, transparent 62%);
  filter: blur(26px);
}

/* ---- Experience 03: the boat, off the coast ----
   Open water under a low sun, the glitter path running back toward the
   lens, and the dark edge of a deck across the lower frame: the
   first-person giveaway, doing the job the halo used to do. */
/* Sky above the waterline: deep overhead, warming into the sun so the
   top of the frame is not a dead black band. */
.sa-sky {
  left: -6%; right: -6%; top: 0; height: 36%;
  background: linear-gradient(to bottom,
    #070a10 0%, #0d1622 38%, #1a2b3c 68%, #3d4a52 90%, rgba(168, 142, 112, 0.55) 100%);
}

.sa-sea {
  left: -6%; right: -6%; top: 34%; bottom: 0;
  background:
    /* The sun's glitter path, widening as it comes toward the viewer. */
    radial-gradient(ellipse 26% 90% at 54% -4%, rgba(255, 214, 148, 0.5), transparent 68%),
    /* Swell: tighter near the horizon, looser in the foreground. */
    repeating-linear-gradient(to bottom,
      rgba(226, 242, 255, 0.055) 0 1px, transparent 1px 7px),
    linear-gradient(to top, #04101a 0%, #072235 46%, #124158 80%, #1d5b74 100%);
}

/* The sun itself, sitting just on the waterline. */
.sa-sun {
  left: 54%; top: 34%;
  width: 34vmax; height: 34vmax;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(255, 238, 206, 0.9) 0%, rgba(255, 196, 126, 0.34) 22%, transparent 60%);
  filter: blur(10px);
  animation: flare 6.5s ease-in-out infinite;
}

/* Two specular hits on the swell, breathing out of sync with the sun. */
.sa-glint {
  left: 38%; top: 58%;
  width: 22%; height: 2px;
  background: linear-gradient(to right, transparent, rgba(255, 240, 214, 0.75), transparent);
  filter: blur(2px);
  animation: flare 4.2s ease-in-out infinite;
  animation-delay: 1.1s;
}
.sa-glint-b {
  left: 58%; top: 72%; width: 30%;
  animation-delay: 2.7s;
}

/* The deck edge: a wide, shallow arc cropped by the lower frame, so the
   viewer reads as standing on the boat rather than looking at one. */
.sa-deck {
  left: 50%; bottom: -34%;
  width: 150%; height: 58%;
  transform: translateX(-50%);
  border-radius: 50% 50% 0 0 / 100% 100% 0 0;
  background: linear-gradient(to top, #050506 0%, #090a0c 58%, #0e1013 100%);
  box-shadow: 0 -1px 0 0 rgba(245, 244, 241, 0.09);
}

/* ---- Experience 04: the party, behind the doors ----
   Warm bokeh, a lit doorway, and two dark foreground masses so the
   viewer feels pushed between people rather than looking at a room. */
.sa-bokeh {
  inset: 0;
  background:
    radial-gradient(circle at 18% 28%, rgba(255, 206, 140, 0.55) 0 0.5%, transparent 1.4%),
    radial-gradient(circle at 34% 16%, rgba(255, 186, 120, 0.45) 0 0.7%, transparent 1.8%),
    radial-gradient(circle at 68% 24%, rgba(255, 216, 160, 0.5) 0 0.5%, transparent 1.5%),
    radial-gradient(circle at 82% 38%, rgba(255, 196, 130, 0.4) 0 0.8%, transparent 2%),
    radial-gradient(circle at 52% 10%, rgba(255, 226, 170, 0.35) 0 0.6%, transparent 1.6%),
    radial-gradient(circle at 26% 44%, rgba(255, 180, 110, 0.3) 0 0.5%, transparent 1.4%),
    radial-gradient(circle at 74% 56%, rgba(255, 206, 150, 0.28) 0 0.6%, transparent 1.6%),
    radial-gradient(ellipse at 50% 92%, rgba(38, 18, 8, 0.7), transparent 72%);
  filter: blur(1.6px);
}
/* A doorway, not a lightbox: soft at the jambs, brightest at head
   height, spilling onto the floor in front of it. */
.sa-door {
  left: 50%; top: 46%;
  width: 30%; height: 66%;
  transform: translate(-50%, -46%);
  border-radius: 46% 46% 12% 12%;
  background:
    radial-gradient(ellipse 70% 46% at 50% 24%, rgba(255, 226, 170, 0.85), transparent 70%),
    linear-gradient(to bottom, rgba(255, 198, 120, 0.5) 0%, rgba(255, 166, 74, 0.2) 62%, transparent 100%);
  filter: blur(30px);
}
/* Light pooling on the floor just inside the door. */
.sa-spill {
  left: 50%; bottom: 2%;
  width: 56%; height: 22%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 184, 104, 0.4), transparent 68%);
  filter: blur(20px);
}
/* Out-of-focus shoulders at the edges of frame. */
.sa-near {
  left: -14%; bottom: -18%;
  width: 52%; height: 78%;
  border-radius: 46% 54% 0 0;
  background: linear-gradient(to top, #000 55%, rgba(0, 0, 0, 0.72) 100%);
  filter: blur(9px);
}
.sa-near-b {
  left: auto; right: -16%;
  width: 46%; height: 68%;
  border-radius: 54% 46% 0 0;
}

/* ---------- 01 — The Arrival ---------- */

.sec-hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  /* The bottom padding clears the fixed section meter and sound toggle,
     which both sit in the lower corners. */
  padding: 0 var(--gut) clamp(4.5rem, 11vh, 7rem);
  overflow: hidden;
}

.hero-media { position: absolute; inset: 0; z-index: 0; }

/* Tuned against the actual red-carpet render: the copy sits bottom-left,
   so the scrim is weighted to that corner and the top bar gets its own
   band. Without this the headline fights the dress and the flashbulbs. */
.hero-scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(0, 0, 0, 0.96) 0%, rgba(0, 0, 0, 0.78) 26%, rgba(0, 0, 0, 0.3) 58%, rgba(0, 0, 0, 0.55) 100%),
    linear-gradient(to right, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.35) 42%, transparent 72%);
}

.hero-copy {
  position: relative; z-index: 1;
  max-width: 54rem;
  margin-bottom: clamp(2.5rem, 8vh, 5rem);
}

.eyebrow {
  font-size: 0.6rem; letter-spacing: 0.42em;
  color: var(--ink-dim); margin-bottom: 1.6rem;
}

.hero-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2.6rem, 8.4vw, 7.6rem);
  line-height: 0.96;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.hero-sub {
  margin-top: clamp(1.4rem, 3vh, 2.2rem);
  font-size: clamp(0.88rem, 1.7vw, 1.1rem);
  line-height: 1.6;
  color: var(--ink-dim);
  max-width: 34rem;
}

.hero-kicker {
  margin-top: clamp(1.6rem, 3.4vh, 2.4rem);
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.6vw, 1.9rem);
  letter-spacing: 0.1em;
}
.hero-kicker span {
  display: inline-block;
  border-bottom: 1px solid var(--gold-soft);
  padding-bottom: 0.25rem;
}

.hero-foot {
  position: relative; z-index: 1;
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 1.5rem;
}

.scroll-cue { display: flex; flex-direction: column; align-items: center; gap: 0.7rem; }
.sc-line {
  width: 1px; height: clamp(2.2rem, 6vh, 3.6rem);
  background: linear-gradient(to bottom, transparent, var(--ink));
  position: relative; overflow: hidden;
}
.sc-line::after {
  content: ""; position: absolute; inset: 0;
  background: var(--gold);
  animation: cue 2.4s var(--ease) infinite;
}
@keyframes cue {
  0% { transform: translateY(-100%); }
  60%, 100% { transform: translateY(100%); }
}
.sc-word { font-size: 0.54rem; letter-spacing: 0.3em; color: var(--ink-dim); }

.hero-date {
  font-size: 0.58rem; letter-spacing: 0.3em; color: var(--ink-dim);
  text-align: right;
}
.hero-date b { font-weight: 400; color: var(--ink); }

/* ---------- 02 — Be There ---------- */

.sec-exp { padding: clamp(6rem, 18vh, 12rem) 0 clamp(4rem, 10vh, 7rem); }

.exp-intro {
  max-width: var(--maxw);
  margin: 0 auto clamp(3rem, 10vh, 7rem);
  padding: 0 var(--gut);
}

.sec-h {
  margin-top: 1.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.7rem, 5vw, 4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 22ch;
}

/* ---- The pinned experience deck ----
   On a large screen the four experiences stack in one frame and crossfade
   as the stage is pinned; the dots on the right are the step index. On a
   phone the pin is skipped (see EGO.pinnedSteps) and .is-unpinned puts
   them back into ordinary stacked flow. */

.exp-pin { position: relative; }

.sec-exp.is-pinned .exp-pin {
  min-height: 100svh;
  display: grid;
  place-items: center;
  /* Top padding clears the fixed header; bottom clears the section meter
     and sound toggle. Both are capped so a short laptop screen does not
     lose most of its height to padding. */
  padding: clamp(4rem, 8vh, 6rem) 0 clamp(3.5rem, 7vh, 5rem);
}

.sec-exp.is-pinned .exp-stage {
  position: relative;
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

/* A fixed height, not a minimum: inside the pin the frame has to be
   driven by the height available, not by its own aspect ratio. On a
   1440x900 laptop a width-driven 4:5 frame comes out ~790px tall in a
   ~610px deck and slides up under the header. */
.sec-exp.is-pinned .exp-deck {
  position: relative;
  height: clamp(20rem, 62vh, 40rem);
}

.sec-exp.is-pinned .exp {
  position: absolute;
  inset: 0;
  margin: 0;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.8s var(--ease), visibility 0.8s;
}
.sec-exp.is-pinned .exp.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* The frame fills the deck instead of setting its own height. */
.sec-exp.is-pinned .exp { height: 100%; align-items: center; }
.sec-exp.is-pinned .exp-media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 0;
}
.sec-exp.is-pinned .exp-copy { align-self: center; }

/* The step index down the right-hand edge. */
.exp-progress { display: none; }
.sec-exp.is-pinned .exp-progress {
  display: flex; flex-direction: column; align-items: center;
  gap: 1.1rem;
  align-self: center;
}
.exp-dots { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; }
.exp-dot {
  font-size: 0.56rem;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  transition: color 0.5s var(--ease);
}
.exp-dot.is-active { color: var(--gold); }
.exp-rail {
  position: relative;
  width: 2px; height: clamp(3.5rem, 10vh, 6rem);
  background: var(--ink-hair);
}
.exp-rail-fill {
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
}

/* One experience: a tall first-person frame with the copy beside it. */
.exp {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(2.5rem, 7vh, 5rem) var(--gut);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}

.exp-media {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
}

/* Viewfinder brackets: the recurring "first-person" device the brief
   asks for as a creative signature. */
.exp-frame { position: absolute; inset: clamp(0.8rem, 2vw, 1.4rem); pointer-events: none; }
.exp-frame i {
  position: absolute; width: 1.5rem; height: 1.5rem;
  border: 1px solid rgba(245, 244, 241, 0.5);
}
.exp-frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; }
.exp-frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.exp-frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; }
.exp-frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }

.exp-num {
  font-size: 0.58rem; letter-spacing: 0.32em; color: var(--gold);
}

.exp-h {
  margin-top: 1.2rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.5rem, 3.6vw, 3.1rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.exp-body {
  margin-top: 1.3rem;
  font-size: clamp(0.88rem, 1.5vw, 1.05rem);
  color: var(--ink-dim);
  max-width: 30ch;
}

.exp-pov {
  margin-top: 1.6rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--ink-hair);
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.exp-disclaimer {
  max-width: var(--maxw);
  margin: clamp(3rem, 8vh, 5rem) auto 0;
  padding: 0 var(--gut);
  font-size: 0.68rem;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: var(--ink-faint);
  max-width: 46rem;
}

/* ---------- 03 — Beyond Presence ---------- */

.sec-phase2 {
  position: relative;
  padding: clamp(6rem, 18vh, 12rem) var(--gut);
  display: grid; place-items: center;
  text-align: center;
  overflow: hidden;
}

.p2-media { position: absolute; inset: 0; z-index: 0; }

/* The render carries the mood; the type has to stay the loudest thing
   on screen, so the image sits well back behind a heavy scrim. */
.p2-media .media-slot { opacity: 0.38; }
.p2-scrim {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.88) 70%),
    linear-gradient(to bottom, #000 0%, transparent 22%, transparent 78%, #000 100%);
}

.p2-inner { position: relative; z-index: 1; max-width: 50rem; }

.p2-h {
  margin-top: 1.6rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.4rem, 4vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
.p2-h-dim { color: var(--ink-dim); margin-top: 0.3rem; }

.p2-body {
  margin-top: 2rem;
  font-size: clamp(0.85rem, 1.5vw, 1rem);
  color: var(--ink-dim);
}

/* Says plainly that this is not on sale yet — the credibility guard
   the client asked for. */
.p2-tag {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.55rem 1.4rem;
  border: 1px solid var(--gold-soft);
  font-size: 0.56rem;
  letter-spacing: 0.32em;
  color: var(--gold);
}

.p2-glow {
  position: absolute; left: 50%; top: 50%;
  width: min(80rem, 150vw); aspect-ratio: 1;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(140, 170, 220, 0.09) 0%, transparent 58%);
  pointer-events: none;
}

/* ---------- 04 — Access Is Everything ----------
   A pinned stage: the section holds still while the four statements
   advance, one highlighted at a time, with the rail filling alongside. */

.sec-access { position: relative; }

.ac-pin {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 14vh, 9rem) var(--gut);
}

.ac-inner {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
}

.ac-h {
  margin-top: 1.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.6rem, 3.6vw, 3.1rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  max-width: 16ch;
}

/* Progress rail and counter under the heading. */
.ac-progress {
  margin-top: clamp(2rem, 5vh, 3rem);
  display: flex; align-items: center; gap: 1.1rem;
}
.ac-rail {
  position: relative;
  width: 2px; height: clamp(4rem, 12vh, 7rem);
  background: var(--ink-hair);
}
.ac-rail-fill {
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
}
.ac-count {
  font-size: 0.6rem; letter-spacing: 0.24em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
}
.ac-count-now { color: var(--gold); }
.ac-count-all { margin-left: 0.4rem; }

/* The steps. Only the active one is fully lit. */
.ac-steps { list-style: none; display: flex; flex-direction: column; gap: clamp(1rem, 2.6vh, 1.9rem); }

.ac-step {
  display: grid; grid-template-columns: auto 1fr;
  gap: clamp(0.9rem, 2vw, 1.6rem);
  align-items: start;
  padding: clamp(0.8rem, 2vh, 1.3rem) 0 clamp(0.8rem, 2vh, 1.3rem) clamp(1rem, 2vw, 1.6rem);
  border-left: 1px solid var(--ink-hair);
  transition: border-color 0.7s var(--ease);
}
.ac-step.is-active { border-left-color: var(--gold); }

.ac-k {
  font-size: 0.58rem; letter-spacing: 0.3em;
  color: var(--ink-faint);
  font-variant-numeric: tabular-nums;
  transition: color 0.6s var(--ease);
  padding-top: 0.35em;
}
.ac-step.is-active .ac-k { color: var(--gold); }

.ac-t {
  font-size: clamp(0.95rem, 1.9vw, 1.32rem);
  line-height: 1.5;
  color: var(--ink);
}


.ac-close-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut) clamp(5rem, 15vh, 10rem);
}
.ac-close {
  max-width: 26ch;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.3rem, 3.4vw, 2.6rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink-dim);
}

/* ---------- 05 — The Invitation ---------- */

.sec-invite {
  padding: clamp(5rem, 16vh, 11rem) var(--gut) clamp(5rem, 14vh, 9rem);
  display: grid; place-items: center;
  text-align: center;
  border-top: 1px solid var(--ink-hair);
}

.iv-inner { width: 100%; max-width: 40rem; }

.iv-campaign {
  margin-top: 1.6rem;
  font-size: 0.68rem;
  letter-spacing: 0.34em;
  margin-right: -0.34em;
  color: var(--ink-dim);
}

.iv-h {
  margin-top: 1rem;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.8rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}

.iv-sub {
  margin-top: 1rem;
  font-size: 0.64rem;
  letter-spacing: 0.3em;
  margin-right: -0.3em;
  text-transform: uppercase;
  color: var(--ink-dim);
}

.countdown {
  margin-top: clamp(2rem, 5vh, 3rem);
  display: flex; align-items: baseline; justify-content: center; gap: 0.6rem;
  font-variant-numeric: tabular-nums;
}
.count-unit { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.count-unit span:first-child {
  font-family: var(--display);
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  font-weight: 500;
  letter-spacing: 0.05em;
}
.count-label { font-size: 0.5rem; letter-spacing: 0.3em; color: var(--ink-faint); }
.count-sep {
  color: var(--ink-faint);
  font-size: clamp(0.95rem, 2.6vw, 1.35rem);
  transform: translateY(-0.12em);
}

/* The two entry points. */
/* The two entry points read as a real choice: a panel with a visible
   divider, the inactive side still legible rather than nearly black. */
.iv-paths {
  margin-top: clamp(2.2rem, 5vh, 3.2rem);
  display: inline-flex;
  border: 1px solid rgba(245, 244, 241, 0.2);
  border-radius: 2px;
  overflow: hidden;
  background: rgba(245, 244, 241, 0.035);
}
.iv-path {
  position: relative;
  padding: 0.95rem clamp(1rem, 2.6vw, 1.8rem);
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: #b4b4af;
  transition: color 0.35s var(--ease), background 0.35s var(--ease);
}
.iv-path + .iv-path { border-left: 1px solid rgba(245, 244, 241, 0.2); }
.iv-path.is-on { background: var(--ink); color: #000; font-weight: 500; }
.iv-path:not(.is-on):hover { color: var(--ink); background: rgba(245, 244, 241, 0.07); }

#join-form {
  margin-top: 1.6rem;
  display: flex; flex-direction: column; align-items: stretch; gap: 0.9rem;
  width: 100%;
}

.iv-note {
  font-size: 0.64rem;
  letter-spacing: 0.14em;
  color: var(--ink-dim);
  min-height: 1.1rem;
  text-align: center;
}

/* ---- Fields ----
   A bare underline on black reads as text, not as something you can type
   into. Each field is a surface: a faint panel with a visible border that
   lifts on hover, a label that floats out of the way, and a gold rule
   that draws itself across the bottom on focus. */

.field {
  position: relative;
  width: 100%;
  text-align: left;
}
.field[hidden] { display: none; }

.field input {
  width: 100%;
  background: rgba(245, 244, 241, 0.035);
  border: 1px solid rgba(245, 244, 241, 0.16);
  border-radius: 2px;
  padding: 1.55rem 1rem 0.6rem;
  color: var(--ink);
  font-family: var(--font);
  font-size: 0.9rem;
  letter-spacing: 0.12em;
  outline: none;
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease);
}

.field input:hover {
  background: rgba(245, 244, 241, 0.06);
  border-color: rgba(245, 244, 241, 0.3);
}

.field input:focus {
  background: rgba(245, 244, 241, 0.075);
  border-color: rgba(201, 162, 39, 0.55);
}

/* The label sits where the text will be, then shrinks up into the
   field's top padding once there is a value or focus. */
.field label {
  position: absolute;
  left: 1rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.74rem;
  letter-spacing: 0.26em;
  color: #9a9a95;
  pointer-events: none;
  transition:
    top 0.3s var(--ease),
    transform 0.3s var(--ease),
    font-size 0.3s var(--ease),
    color 0.3s var(--ease),
    letter-spacing 0.3s var(--ease);
}

.field input:focus + label,
.field input:not(:placeholder-shown) + label {
  top: 0.62rem;
  transform: translateY(0);
  font-size: 0.54rem;
  letter-spacing: 0.22em;
  color: var(--gold);
}

/* The rule that draws itself across on focus. */
.field-line {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease);
  pointer-events: none;
}
.field input:focus ~ .field-line { transform: scaleX(1); }

/* A field the visitor needs to fix. */
.field.is-bad input { border-color: rgba(214, 90, 70, 0.75); }
.field.is-bad label { color: #d65a46; }

/* ---- Submit ----
   Solid, not an outline: it is the one thing on the screen asking to be
   pressed, and it fills on hover rather than inverting abruptly. */

#join-form button[type="submit"] {
  position: relative;
  overflow: hidden;
  margin-top: 0.7rem;
  width: 100%;
  background: var(--ink);
  color: #000;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(0.68rem, 2vw, 0.78rem);
  letter-spacing: 0.26em;
  padding: 1.15rem 1.5rem 1.15rem 1.76rem;
  white-space: nowrap;
  cursor: pointer;
  transition: color 0.4s var(--ease), border-color 0.4s var(--ease);
}
#join-form button[type="submit"] span { position: relative; z-index: 1; }

/* Gold sweeps up from the bottom on hover. */
#join-form button[type="submit"]::after {
  content: "";
  position: absolute; inset: 0;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.45s var(--ease);
}
#join-form button[type="submit"]:hover::after,
#join-form button[type="submit"]:focus-visible::after { transform: scaleY(1); }
#join-form button[type="submit"]:hover,
#join-form button[type="submit"]:focus-visible { border-color: var(--gold); }

#join-form button[disabled] { opacity: 0.55; cursor: progress; }
#join-form button[disabled]::after { transform: scaleY(1); }

.join-error {
  min-height: 1.25rem;
  margin-top: 0.8rem;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  color: #d65a46;
}

#join-done { margin-top: clamp(2rem, 5vh, 3rem); }
.jd-h {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.1rem, 3vw, 1.7rem);
  letter-spacing: 0.1em;
}
.jd-sub { margin-top: 0.9rem; font-size: 0.72rem; letter-spacing: 0.18em; color: var(--ink-dim); }

/* ---------- Footer ---------- */

#foot {
  border-top: 1px solid var(--ink-hair);
  padding: clamp(3rem, 9vh, 6rem) var(--gut) clamp(2rem, 5vh, 3rem);
  text-align: center;
}

.ft-top { display: flex; flex-direction: column; align-items: center; }
.ft-logo { height: clamp(4rem, 12vh, 7rem); width: auto; opacity: 0.9; }
.ft-claim {
  margin-top: 1.4rem;
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(0.9rem, 2.2vw, 1.3rem);
  letter-spacing: 0.22em;
  margin-right: -0.22em;
}

.ft-links {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: clamp(1.2rem, 4vw, 3rem);
}
.ft-links a {
  font-size: 0.58rem; letter-spacing: 0.26em; color: var(--ink-dim);
  padding-bottom: 3px; border-bottom: 1px solid transparent;
  transition: color 0.3s ease, border-color 0.3s ease;
}
.ft-links a:hover { color: var(--ink); border-bottom-color: var(--ink-faint); }

.ft-fine {
  margin-top: clamp(2.5rem, 6vh, 4rem);
  font-size: 0.54rem; letter-spacing: 0.22em; color: var(--ink-faint);
}

/* ---------- Sound toggle ---------- */

#sound-toggle {
  position: fixed; right: var(--gut); bottom: clamp(1.2rem, 3vh, 2rem);
  z-index: 70;
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.7rem 1.1rem;
  border: 1px solid var(--ink-hair);
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  font-size: 0.54rem; letter-spacing: 0.26em; color: var(--ink-dim);
  opacity: 0;
  transition: color 0.3s ease, border-color 0.3s ease;
}
#sound-toggle:hover { color: var(--ink); border-color: var(--ink-faint); }

.eq { display: inline-flex; align-items: flex-end; gap: 2px; height: 10px; }
.eq span { width: 2px; height: 3px; background: currentColor; }
/* Sound can no longer be offered on the landing (no click there means no
   audio permission), so the toggle is nudged once as the hero arrives. */
#sound-toggle.is-hint { animation: sound-hint 2s var(--ease) 3; }
@keyframes sound-hint {
  0%, 100% { border-color: var(--ink-hair); color: var(--ink-dim); }
  50%      { border-color: var(--ink-faint); color: var(--ink); }
}
@media (prefers-reduced-motion: reduce) {
  #sound-toggle.is-hint { animation: none; color: var(--ink); }
}

#sound-toggle[data-state="playing"] { color: var(--ink); }
#sound-toggle[data-state="playing"] .eq span { animation: eq 0.9s ease-in-out infinite; }
#sound-toggle[data-state="playing"] .eq span:nth-child(2) { animation-delay: 0.18s; }
#sound-toggle[data-state="playing"] .eq span:nth-child(3) { animation-delay: 0.36s; }
@keyframes eq {
  0%, 100% { height: 3px; }
  50% { height: 10px; }
}

/* ---------- Reveal primitives ---------- */

[data-rise] { opacity: 0; transform: translateY(26px); }

/* Word-by-word text fade, used on body copy across the whole site. Each
   word carries its index, so the stagger is pure CSS — no per-word tween.
   Inside a pinned step the lit state is driven by the active step. */
[data-fade] .wd {
  display: inline-block;
  opacity: 0.16;
  filter: blur(2px);
  transition: opacity 0.55s var(--ease), filter 0.55s var(--ease);
}
[data-fade].is-lit .wd {
  opacity: 1;
  filter: blur(0);
  transition-delay: calc(var(--i) * 22ms);
}

/* ---------- Responsive ----------
   Four device classes, largest first for the things that only grow:

     >= 100rem  large desktop / 1600+
     64-100rem  laptop and standard desktop  (the default layout)
     48-64rem   tablet
     < 48rem    phone
     < 30rem    small phone

   Type, spacing and the page gutter are already fluid via clamp(), so
   these blocks only handle the things clamp cannot: grid structure,
   what the chrome shows, and media aspect ratios. */

/* Alternate which side the frame sits on. nth-of-type counts only the
   <article> experiences, so the intro and disclaimer that share the
   section cannot shift the rhythm. */
.exp:nth-of-type(even) .exp-media { order: 2; }
.exp:nth-of-type(even) .exp-copy { order: 1; }

/* ---- Large desktop: let the layout breathe, don't let it sprawl ---- */
@media (min-width: 100rem) {
  :root { --maxw: 96rem; }
  .hero-copy { max-width: 62rem; }
  .exp-media { aspect-ratio: 5 / 6; }
}

/* ---- Tablet: one column, but landscape frames rather than tall ones.
        A portrait frame at this width would push the copy off-screen. ---- */
@media (max-width: 63.99rem) {
  .exp {
    grid-template-columns: 1fr;
    gap: clamp(1.5rem, 4vw, 2.5rem);
  }
  .exp:nth-of-type(even) .exp-media,
  .exp:nth-of-type(even) .exp-copy { order: initial; }
  .exp-media { aspect-ratio: 16 / 10; }
  .exp-body, .sec-h, .ac-h, .ac-close { max-width: none; }
  .exp-body { max-width: 46ch; }
}

/* The pinned stage goes one-column on a tablet: side by side, the
   heading and the steps both lose too much measure. */
@media (max-width: 63.99rem) {
  .ac-inner { grid-template-columns: 1fr; gap: clamp(2rem, 5vh, 3rem); }
  .ac-h { max-width: 22ch; }
  .ac-progress { margin-top: 1.5rem; }
  .ac-rail { height: 3.5rem; }
}

/* Phone: no pin (see initAccessSteps), so the stage is an ordinary
   stacked block that scrolls normally. */
@media (max-width: 47.99rem) {
  .ac-pin { min-height: 0; padding: clamp(4rem, 12vh, 6rem) var(--gut); display: block; }
  .ac-progress { display: none; }
  .ac-step { padding-top: 0.9rem; padding-bottom: 0.9rem; }
}

/* ---- Tablet chrome: the nav still fits, but only just ---- */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  #topbar { gap: 1rem; }
  .tb-nav { gap: 1.2rem; }
  .tb-nav a, .tb-cta { font-size: 0.58rem; letter-spacing: 0.2em; }
  .tb-cta { padding: 0.65rem 1.1rem; }
}

/* ---- Phone ---- */
@media (max-width: 47.99rem) {
  .tb-nav { display: none; }
  #sectionmeter .sm-name { display: none; }
  /* 16px minimum stops iOS zooming the page on focus. */
  #name, #email, #org { font-size: 16px; letter-spacing: 0.16em; }
  .hero-foot { align-items: center; }
  .hero-date { font-size: 0.52rem; letter-spacing: 0.22em; }
  .iv-paths { display: flex; width: 100%; }
  .iv-path { flex: 1 1 0; }
  /* A portrait frame suits a phone: it fills the screen the way the
     first-person footage was shot to be seen. */
  .exp-media { aspect-ratio: 4 / 5; }
  .exp-frame { inset: 0.7rem; }
  .exp-frame i { width: 1.1rem; height: 1.1rem; }
  .sec-exp { padding-top: clamp(4rem, 12vh, 6rem); }
  .exp { padding-top: 2rem; padding-bottom: 2rem; }
  .ft-links { gap: 1rem 1.6rem; }
}

/* ---- Small phone: tracked caps are the first thing to break ----
   Letter-spacing is reduced rather than type size wherever possible;
   nothing here is allowed below ~9px, and the two audience buttons
   stack so their labels stay readable and easy to hit. */
@media (max-width: 30rem) {
  .eyebrow { letter-spacing: 0.28em; font-size: 0.54rem; }
  .iv-campaign { font-size: 0.58rem; letter-spacing: 0.2em; margin-right: -0.2em; }
  .iv-sub { letter-spacing: 0.2em; margin-right: -0.2em; }
  .countdown { gap: 0.3rem; }
  .count-label { font-size: 0.5rem; letter-spacing: 0.16em; margin-right: -0.16em; }

  .iv-paths { flex-direction: column; }
  .iv-path { padding: 0.9rem 0.6rem; font-size: 0.58rem; letter-spacing: 0.18em; }
  .iv-path + .iv-path { border-top: 1px solid var(--ink-hair); }

  .exp-pending { font-size: 0.5rem; letter-spacing: 0.2em; padding: 0.4rem 0.7rem; }
  .ft-claim { letter-spacing: 0.16em; margin-right: -0.16em; }
  .ft-links { flex-direction: column; gap: 1.1rem; }
  #sound-toggle { padding: 0.6rem 0.85rem; }
  #sectionmeter { font-size: 0.5rem; letter-spacing: 0.18em; }
}

/* ---- Landscape phone: height is the scarce axis, not width ---- */
@media (max-height: 34rem) and (orientation: landscape) {
  .sec-hero { min-height: 100svh; padding-bottom: 3rem; }
  .hero-copy { margin-bottom: 1.4rem; }
  .hero-sub { margin-top: 0.8rem; }
  .hero-kicker { margin-top: 0.9rem; }
  .sc-line { height: 1.6rem; }
  /* Side by side again: a stacked frame would not fit the viewport. */
  .exp { grid-template-columns: 1.1fr 0.9fr; gap: 1.5rem; }
  .exp-media { aspect-ratio: 16 / 10; }
  .sec-invite { padding-top: 3rem; padding-bottom: 3rem; }
  .ac-pin { min-height: 0; padding: 3.5rem var(--gut); }
  .ac-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .ac-progress { display: none; }
  .countdown { margin-top: 1rem; }
  #join-form { margin-top: 1rem; gap: 0.7rem; }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  .grain { animation: none; }
  .sa-flare, .sa-beam, .sc-line::after, .eq span { animation: none !important; }
  [data-rise] { opacity: 1; transform: none; }
  /* The step text is readable immediately: no word stagger, no blur. */
  .ac-t .wd { opacity: 1; filter: none; transition: none; }
  #topbar { transition: none; }
  * { scroll-behavior: auto !important; }
}

/* ---------- Founder / Press page (press.html) ---------- */

#presskit {
  position: relative; z-index: 5;
  background: var(--bg);
  color: var(--pk-text);
  font-family: var(--sans);
  padding: 0 clamp(1.25rem, 5vw, 3rem) 6rem;
}

.pk-topbar {
  max-width: 64rem; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--pk-rule);
}
.pk-topbar .pk-logo { height: 4.25rem; width: auto; display: block; }
.pk-welcome {
  font-family: var(--display); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.35em; margin-right: -0.35em;
  color: var(--ink);
}
.pk-launch {
  justify-self: end;
  font-family: var(--font); font-weight: 300;
  font-size: 0.78rem; letter-spacing: 0.25em; color: var(--ink-dim);
}

.pk-page {
  max-width: 64rem; margin: 0 auto;
  padding: clamp(3rem, 8vw, 5.5rem) 0 0;
}
.pk-page + .pk-page { margin-top: clamp(3rem, 8vw, 5rem); border-top: 1px solid var(--pk-rule); }

.pk-runhead {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-bottom: clamp(2rem, 5vw, 3.25rem);
}
.pk-eyebrow {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.3rem, 2.4vw, 1.6rem);
  color: var(--pk-cream);
  letter-spacing: 0.02em;
}
.pk-runname { font-size: 0.9rem; color: var(--pk-grey); }

.pk-body { font-size: clamp(1rem, 1.5vw, 1.1rem); line-height: 1.62; color: var(--pk-text); text-wrap: pretty; }
.pk-body p + p { margin-top: 1rem; }

.pk-label { font-size: 0.9rem; color: var(--pk-grey); margin-bottom: 1rem; }

.pk-teal-italic {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: var(--pk-teal);
  letter-spacing: 0.03em;
  text-decoration: none;
}
a.pk-teal-italic:hover, a.pk-teal-italic:focus-visible { text-decoration: underline; text-underline-offset: 0.2em; outline: none; }

.pk-foot {
  display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap;
  margin-top: clamp(2.5rem, 6vw, 4rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--pk-rule);
  font-size: 1rem;
}

/* Page 1 */
.pk-intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 20rem);
  grid-template-areas: ". portrait" "copy copy";
  row-gap: 0;
}
.pk-portrait { grid-area: portrait; justify-self: end; width: 100%; max-width: 20rem; }
.pk-portrait img {
  display: block; width: 100%; height: auto; aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 0 0 0.55rem #000, 0 0 0 calc(0.55rem + 1.5px) var(--pk-teal-rule);
}
.pk-intro-copy { grid-area: copy; margin-top: -2.5rem; max-width: 42rem; }
.pk-name {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(3.6rem, 10vw, 7rem);
  line-height: 1.02;
  color: var(--pk-cream);
}
.pk-standfirst {
  margin: clamp(1.5rem, 3vw, 2.25rem) 0;
  font-family: var(--serif); font-style: italic;
  font-size: clamp(1.35rem, 2.7vw, 1.95rem);
  line-height: 1.45;
  letter-spacing: 0.035em;
  color: var(--pk-cream);
  max-width: 38rem;
}

/* Page 2 */
.pk-lede {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  line-height: 1.38;
  letter-spacing: 0.02em;
  color: var(--pk-cream);
  max-width: 44rem;
}
.pk-bio-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) 13.5rem; gap: clamp(2rem, 5vw, 3.5rem);
  margin-top: clamp(1.75rem, 4vw, 2.5rem);
}
.pk-stats { border-top: 1px solid var(--pk-teal-rule); padding-top: 1.75rem; align-self: start; }
.pk-stat + .pk-stat { margin-top: 1.75rem; }
.pk-stat-num { font-family: var(--serif); font-size: 3.2rem; line-height: 1; color: var(--pk-cream); }
.pk-stat-label { margin-top: 0.35rem; font-size: 0.95rem; line-height: 1.45; color: var(--pk-grey); }
.pk-recog { margin-top: 2rem; font-size: 0.95rem; line-height: 1.45; }
.pk-recog p + p { margin-top: 0.6rem; }

.pk-media { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.pk-media-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(0.75rem, 2.5vw, 1.5rem); }
.pk-media-grid img { display: block; width: 100%; height: auto; aspect-ratio: 459 / 233; object-fit: cover; }
.pk-media-grid figcaption { margin-top: 0.7rem; font-size: 0.95rem; color: var(--pk-grey); }

/* Page 3 */
.pk-headline {
  font-family: var(--serif); font-weight: 400;
  font-size: clamp(2.8rem, 7.5vw, 5.4rem);
  line-height: 1.08;
  color: var(--pk-cream);
}
.pk-next-copy { margin-top: 1.75rem; max-width: 46rem; line-height: 1.75; }

.pk-venture {
  display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: 1.5rem 2rem;
  margin-top: clamp(2rem, 5vw, 2.75rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--pk-teal-rule);
}
.pk-venture-name { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 4.5vw, 3rem); line-height: 1.1; color: var(--pk-cream); }
.pk-venture .pk-body { line-height: 1.75; }
.pk-venture .pk-teal-italic { margin-top: 1.1rem; }

.pk-seen { margin-top: clamp(2.5rem, 6vw, 3.5rem); }
.pk-seen-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: var(--pk-rule);
  border: 1px solid var(--pk-rule);
}
.pk-seen-grid li {
  background: var(--bg);
  min-height: 7.25rem;
  padding: 1.6rem 1.4rem 1.2rem;
  display: flex; flex-direction: column; justify-content: space-between; gap: 0.9rem;
}
.pk-seen-grid img {
  display: block;
  width: calc(var(--w) * 0.62px);
  max-width: 100%;
  height: auto;
}
.pk-seen-grid span { font-size: 0.85rem; color: var(--pk-grey); }

.pk-mail { font-size: clamp(1.25rem, 2.4vw, 1.7rem); }

.pk-fine {
  max-width: 64rem; margin: 5rem auto 0;
  font-size: 0.6rem; letter-spacing: 0.2em; color: var(--ink-faint);
  text-align: center;
}

/* Press page, tablet: the biography sidebar is the first thing that
   stops working, so it drops under the copy while the media and logo
   grids keep more than one column. */
@media (min-width: 48rem) and (max-width: 63.99rem) {
  .pk-bio-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .pk-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; }
  .pk-stat + .pk-stat { margin-top: 0; }
  .pk-recog { margin-top: 0; }
  .pk-seen-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .pk-seen-grid img { width: calc(var(--w) * 0.52px); }
  .pk-venture { grid-template-columns: 11rem minmax(0, 1fr); }
  .pk-intro-copy { margin-top: -1.5rem; }
}

/* Press page, phone. */
@media (max-width: 47.99rem) {
  .pk-intro-grid { grid-template-columns: 1fr; grid-template-areas: "portrait" "copy"; }
  .pk-portrait { justify-self: center; max-width: 15rem; margin-bottom: 2.5rem; }
  .pk-intro-copy { margin-top: 0; }
  .pk-bio-grid { grid-template-columns: 1fr; }
  .pk-venture { grid-template-columns: 1fr; }
  .pk-media-grid { grid-template-columns: 1fr; }
  .pk-seen-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pk-seen-grid li:last-child { grid-column: span 2; }
  .pk-seen-grid img { width: calc(var(--w) * 0.5px); }
  .pk-topbar { grid-template-columns: auto 1fr auto; gap: 1rem; }
  .pk-topbar .pk-logo { height: 2.75rem; }
}

[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1.1s ease, transform 1.1s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* Back link at the foot of the press page. */
.pk-back {
  max-width: 64rem; margin: clamp(3rem, 8vw, 5rem) auto 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--pk-rule);
}
.pk-back a {
  font-family: var(--font);
  font-size: 0.6rem; letter-spacing: 0.26em; color: var(--ink-dim);
  transition: color 0.3s ease;
}
.pk-back a:hover { color: var(--ink); }

.pk-home { display: inline-block; }

/* Marks an experience whose film has not been shot yet. It sits inside
   the frame so the panel reads as staged, not as a failed image, and it
   disappears on its own the moment a data-film is wired in. */
.exp-pending {
  position: absolute;
  left: clamp(1.6rem, 3.4vw, 2.4rem);
  bottom: clamp(1.6rem, 3.4vw, 2.4rem);
  padding: 0.45rem 0.9rem;
  border: 1px solid var(--gold-soft);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(6px);
  font-size: 0.5rem;
  letter-spacing: 0.3em;
  color: var(--gold);
  pointer-events: none;
}
.exp-media:has(.media-slot.has-media) .exp-pending { display: none; }

@media (max-width: 30rem) {
  .pk-media-grid { gap: 1rem; }
  .pk-seen-grid li { min-height: 6rem; padding: 1.2rem 1rem 1rem; }
  .pk-seen-grid img { width: calc(var(--w) * 0.42px); }
  .pk-welcome { font-size: 0.66rem; letter-spacing: 0.24em; margin-right: -0.24em; }
  .pk-launch { font-size: 0.68rem; letter-spacing: 0.18em; }
  .pk-foot { font-size: 0.9rem; }
}

/* ---------- Press page: shared chrome ----------
   The page now carries the same fixed top bar as the home page, so it
   needs room beneath it and its own small run-head in place of the old
   in-flow header. */

body.pk-open #presskit { padding-top: clamp(5rem, 11vh, 7rem); }

.pk-runhead-top {
  max-width: 64rem; margin: 0 auto;
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--pk-rule);
}

/* The press page's serif body sits oddly with tracked caps at small sizes, so
   the shared bar keeps the site's sans. */
body.pk-open #topbar { font-family: var(--font); }

@media (max-width: 47.99rem) {
  .pk-runhead-top { padding-bottom: 1.1rem; }
  .pk-runhead-top .pk-welcome { font-size: 0.7rem; }
}
