/* ==========================================================================
   Builders Network — rev 05, rebuilt from zero.

   Light-first: warm paper is the ground, deep navy is the INK, amber is the
   accent. Dark appears only as deliberate moments — two full-bleed statements,
   the standard, the cards, the footer. Two voices: Archivo (grotesk) and
   Bodoni Moda (editorial serif). The amber highlight block is the signature.
   Tokens first; nothing below invents a colour or a step.
   ========================================================================== */

:root {
  /* ----- ground: paper ----------------------------------------------------- */
  --paper:   #f6f7f9;
  --paper-2: #e5e7eb;
  --card:    #ffffff;

  /* ----- ink: the navy lives here now -------------------------------------- */
  --ink:   #0b2d52;
  --ink-2: #1f2937;   /* charcoal */
  --ink-3: #475569;   /* steel, 7.3:1 on paper */

  /* ----- accent: amber on light, gold on dark ------------------------------ */
  --amber:      #2e6ebe;  /* accent blue, 5.1:1 on white */
  --amber-deep: #255a9c;  /* small text, 6.5:1 on white  */
  --gold:       #f2c94c;  /* the accent: warm gold on navy and on photos */
  --gold-hi:    #ffd966;
  --brass:      #2e6ebe;  /* the accent on paper: the site's lighter blue (cobalt) */
  --ser-ink:    var(--brass);  /* serif accent on paper */
  --ser-dark:   var(--gold);   /* serif accent on navy / photos */

  /* ----- cobalt: the flat color-block ground, used once, loudly ------------ */
  --cobalt:      #2e6ebe;  /* the accent block; 5.1:1 with white */
  --cobalt-deep: #255a9c;
  --cobalt-edge: #1d4a85;

  /* ----- dark moments ------------------------------------------------------ */
  --navy-950: #071d36;
  --navy-900: #0b2d52;
  --navy-800: #123a66;
  --d-ink:      #f3f5f8;
  --d-ink-2:    #c3cdd8;
  --d-ink-3:    #8a97a6;

  --hair:   rgba(11, 45, 82, 0.12);
  --hair-2: rgba(11, 45, 82, 0.26);
  --d-hair:   rgba(243, 245, 248, 0.15);
  --d-hair-2: rgba(243, 245, 248, 0.3);

  /* ----- type -------------------------------------------------------------- */
  --f-sans:  "Montserrat", "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --f-serif: "Playfair Display", "Playfair", "Georgia", "Times New Roman", serif;

  --t-2xs: 0.6875rem;
  --t-xs:  0.75rem;
  --t-sm:  0.8438rem;
  --t-base: clamp(1rem, 0.95rem + 0.22vw, 1.0938rem);
  --t-md:  clamp(1.0625rem, 0.98rem + 0.42vw, 1.2188rem);
  --t-lg:  clamp(1.1875rem, 1.03rem + 0.72vw, 1.5625rem);
  --t-xl:  clamp(1.4375rem, 1.18rem + 1.2vw, 2.125rem);
  --t-2xl: clamp(1.75rem, 1.32rem + 1.9vw, 2.75rem);
  --t-3xl: clamp(2.125rem, 1.45rem + 3vw, 4rem);
  --t-4xl: clamp(2.5rem, 1.5rem + 4.4vw, 5.5rem);
  --t-hero: clamp(2.875rem, 1rem + 6.6vw, 7.25rem);

  --tr-tight: -0.04em;
  --tr-snug:  -0.024em;
  --tr-norm:  -0.006em;

  --lead-tight: 0.98;
  --lead-head:  1.06;
  --lead-body:  1.66;
  --measure:    62ch;

  --s1: 0.25rem; --s2: 0.5rem;  --s3: 0.75rem; --s4: 1rem;
  --s5: 1.5rem;  --s6: 2rem;    --s7: 3rem;    --s8: 4rem;
  --s9: 6rem;    --s10: 8rem;   --s11: 12rem;

  --band:   clamp(5rem, 9vw, 10.5rem);
  --gutter: clamp(1rem, 3.4vw, 3.75rem);
  --maxw:   90rem;
  --nav-h:  4rem;
  --chrome-h: calc(var(--nav-h) + 1.8rem);

  --r-xs: 5px; --r-sm: 10px; --r-md: 16px; --r-lg: 22px; --r-xl: 30px; --r-pill: 999px;

  /* Shadows tinted to the paper's warmth, never pure black. */
  --e1: 0 1px 2px rgba(11, 45, 82, 0.08);
  --e2: 0 14px 34px -16px rgba(11, 45, 82, 0.22);
  --e3: 0 32px 70px -28px rgba(11, 45, 82, 0.3);
  --e-dark: 0 32px 70px -26px rgba(7, 29, 54, 0.55);
  --e-cobalt: 0 36px 80px -30px rgba(29, 74, 133, 0.5);

  --ease-out:  cubic-bezier(0.19, 1, 0.22, 1);
  --ease-mech: cubic-bezier(0.72, 0, 0.12, 1);
  --d-fast: 150ms; --d-base: 240ms; --d-slow: 440ms;

  color-scheme: light;
}

/* ----------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; background: var(--paper); }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: clip; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-variation-settings: "wdth" 100;
  font-size: var(--t-base);
  line-height: var(--lead-body);
  letter-spacing: var(--tr-norm);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img, video, canvas, svg { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
ul { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--ink); color: var(--paper); }
:root { caret-color: var(--amber); }

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}
@supports (scrollbar-color: red blue) {
  html { scrollbar-color: #8a97a6 var(--paper-2); scrollbar-width: thin; }
}
:where(.fact__n, .schedule__n, .event-card__spec, table) { font-variant-numeric: tabular-nums; }

.vh {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip {
  position: fixed; top: var(--s3); left: var(--s3); z-index: 300;
  padding: var(--s3) var(--s5);
  background: var(--ink); color: var(--paper);
  font-size: var(--t-sm); font-weight: 500; line-height: 1;
  text-decoration: none; border-radius: var(--r-pill);
  transform: translateY(-220%);
  transition: transform var(--d-base) var(--ease-out);
}
.skip:focus-visible { transform: translateY(0); }

/* =============================================================== typography */
.d {
  font-family: var(--f-sans);
  font-weight: 800;
  font-variation-settings: "wdth" 104;
  line-height: var(--lead-head);
  letter-spacing: var(--tr-tight);
  text-wrap: balance;
  margin: 0;
  color: var(--ink);
}
.d--hero { font-size: var(--t-hero); line-height: var(--lead-tight); font-weight: 800; }
.d--4xl  { font-size: var(--t-4xl); }
.d--3xl  { font-size: var(--t-3xl); }
.d--2xl  { font-size: var(--t-2xl); letter-spacing: var(--tr-snug); }
.d--xl   { font-size: var(--t-xl); letter-spacing: var(--tr-snug); line-height: 1.12; }

/* The second voice: editorial serif italic, amber on light, gold on dark. */
.ser {
  font-family: var(--f-serif);
  font-style: italic;
  font-weight: 800;
  font-size: 1.05em;

  letter-spacing: -0.012em;
  color: var(--ser-ink);
}
.dark .ser, .card-dark .ser { color: var(--ser-dark); }

/* The signature: an amber block sweeps under the words, then the letters flip
   to paper once the ground is under them. Scarce on purpose. */
.hl {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  padding: 0 0.17em;
  isolation: isolate;
  transition: color var(--d-base) var(--ease-out) 300ms;
}
.hl::before {
  content: ""; position: absolute; z-index: -1;
  inset: 0.1em -0.02em 0.07em;
  background: var(--amber);   /* accent blue on paper; the .dark remap makes it steel */
  border-radius: 3px;
  transform-origin: left center;
  scale: 0 1;
  transition: scale 640ms var(--ease-mech);
}
.hl.is-lit { color: #ffffff; }
.hl.is-lit::before { scale: 1 1; }
.dark .hl.is-lit, .card-dark .hl.is-lit { color: var(--navy-950); }

.lede {
  font-size: var(--t-lg);
  line-height: 1.46;
  letter-spacing: var(--tr-snug);
  color: var(--ink);
  max-width: 46ch;
  text-wrap: pretty;
  margin: 0;
  font-weight: 500;
}
.body { max-width: var(--measure); color: var(--ink-2); text-wrap: pretty; margin: 0; }

.dot-label {
  display: flex; align-items: center; gap: var(--s3);
  margin: 0;
  font-size: var(--t-sm); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink-3);
}
.dot-label i { width: 7px; height: 7px; border-radius: 50%; background: var(--amber); flex: 0 0 auto; }

/* =================================================================== layout */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--tight { max-width: 66rem; }
.band { padding-block: var(--band); position: relative; }

/* Dark moments restate their ink: colour inherits as a computed value, so
   redefining tokens alone re-inks nothing. */
.dark {
  --ink: var(--d-ink);
  --ink-2: var(--d-ink-2);
  --ink-3: var(--d-ink-3);
  --hair: var(--d-hair);
  --hair-2: var(--d-hair-2);
  --amber: var(--gold);
  --amber-deep: var(--gold);
  color: var(--d-ink);
  background: var(--navy-900);
}
.dark .d, .dark h2, .dark h3, .dark .lede { color: var(--d-ink); }
.dark p { color: var(--d-ink-2); }
.dark .dot-label { color: var(--d-ink-2); }
.dark .dot-label i { background: var(--gold); }
.dark .hl.is-lit { color: var(--navy-950); }

/* =================================================================== chrome
   One floating glass pill, the reference's nav verbatim in spirit: it hovers
   over the hero photograph and over every ground after it. */
.chrome {
  position: fixed; inset: 0 0 auto; z-index: 200;
  display: flex; justify-content: center;
  padding: 0.9rem var(--gutter) 0;
  pointer-events: none;
}
.nav {
  pointer-events: auto;
  width: 100%; max-width: 76rem;
  height: var(--nav-h);
  display: flex; align-items: center; gap: var(--s6);
  padding-inline: var(--s6) var(--s2);
  background: var(--paper);
  backdrop-filter: blur(16px) saturate(1.1);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: var(--r-pill);
  box-shadow: var(--e2);
  transition: background var(--d-slow) var(--ease-out), box-shadow var(--d-slow) var(--ease-out);
}
.chrome[data-stuck="true"] .nav { background: var(--paper); box-shadow: var(--e3); }

.nav__brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; }
.nav__brand img { height: 38px; width: auto; display: block; }
.nav__brand .logo--rev { display: none; }
.nav__links { display: flex; align-items: center; gap: var(--s6); }
.nav__links a {
  font-size: var(--t-sm); font-weight: 500;
  color: var(--ink-2); text-decoration: none;
  position: relative; padding-block: var(--s2);
  transition: color var(--d-fast) var(--ease-out);
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px;
  background: var(--amber); border-radius: 2px;
  transform-origin: left center; scale: 0 1;
  transition: scale var(--d-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav__links a:hover { color: var(--ink); }
  .nav__links a:hover::after { scale: 1 1; }
}
.nav__links a[aria-current="true"] { color: var(--ink); }
.nav__links a[aria-current="true"]::after { scale: 1 1; }

@media (max-width: 1080px) { .nav__links { display: none; } }
@media (max-width: 560px) {
  .topbar a { font-size: var(--t-xs); }
}

/* The bar is a single solid light pill, always readable over any section. */
.nav, .nav__brand, .nav__links a {
  transition: color var(--d-fast) var(--ease-out);
}

/* ================================================================== buttons */
.btn {
  --_bg: var(--ink); --_fg: var(--paper); --_bd: rgba(255,255,255,0.10);
  --_ring: rgba(255,255,255,0.14);
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.8rem;
  height: 3.25rem; padding: 0 0.9rem;
  background: var(--_bg); color: var(--_fg);
  font-size: 0.9375rem; font-weight: 600; letter-spacing: 0.012em; line-height: 1;
  text-decoration: none; white-space: nowrap;
  border: 1px solid var(--_bd); border-radius: var(--r-pill);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.14), 0 14px 28px -16px rgba(7,29,54,0.6);
  cursor: pointer; -webkit-tap-highlight-color: transparent;
  transition: background var(--d-fast) var(--ease-out),
              transform var(--d-fast) var(--ease-out),
              box-shadow var(--d-fast) var(--ease-out),
              border-color var(--d-fast) var(--ease-out),
              color var(--d-fast) var(--ease-out);
}
/* the arrow lives in its own ring: the one detail that separates a pill
   from a tag */
.btn svg {
  box-sizing: content-box; width: 14px; height: 10px; padding: 0.6rem 0.55rem;
  flex: 0 0 auto; border-radius: 50%;
  background: var(--_ring);
  transition: transform var(--d-base) var(--ease-out), background var(--d-fast) var(--ease-out);
}
.btn:not(:has(svg)) { padding-left: 1.45rem; padding-right: 1.45rem; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { --_bg: #123a66; transform: translateY(-1px); box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 18px 30px -16px rgba(7,29,54,0.7); }
  .btn:hover svg { transform: translateX(3px); }
}
.btn:active { transform: translateY(0); }
.btn[disabled] { opacity: 0.45; cursor: not-allowed; transform: none; }

.btn--ink { background-image: linear-gradient(180deg, #164577 0%, #0b2d52 100%); }
@media (hover: hover) and (pointer: fine) { .btn--ink:hover { background-image: linear-gradient(180deg, #1a4f86 0%, #0f3863 100%); } }

.btn--line { --_bg: transparent; --_fg: var(--ink); --_bd: rgba(11,45,82,0.22); --_ring: rgba(11,45,82,0.08); box-shadow: none; }
@media (hover: hover) and (pointer: fine) {
  .btn--line:hover { --_bg: rgba(11,45,82,0.05); --_bd: rgba(11,45,82,0.4); box-shadow: none; }
}

.btn--gold {
  --_bg: var(--gold); --_fg: var(--navy-950); --_bd: rgba(255,255,255,0.35); --_ring: rgba(7,29,54,0.12);
  background-image: linear-gradient(180deg, #f8d873 0%, #e9ba3c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.45), 0 14px 28px -14px rgba(201,150,30,0.7);
}
@media (hover: hover) and (pointer: fine) {
  .btn--gold:hover { background-image: linear-gradient(180deg, #ffe389 0%, #f0c54a 100%); box-shadow: inset 0 1px 0 rgba(255,255,255,0.5), 0 18px 30px -14px rgba(201,150,30,0.8); }
}

.btn--paper { --_bg: #faf8f3; --_fg: #121a28; --_ring: rgba(18,26,40,0.08); --_bd: rgba(18,26,40,0.08); } /* literals: inside .dark the
   ink token flips light and a var() here would render white-on-white */
@media (hover: hover) and (pointer: fine) { .btn--paper:hover { --_bg: #ffffff; } }

.btn--glass {
  --_bg: rgba(255,255,255,0.12); --_fg: #ffffff; --_bd: rgba(255,255,255,0.32); --_ring: rgba(255,255,255,0.16);
  backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}
@media (hover: hover) and (pointer: fine) { .btn--glass:hover { --_bg: rgba(255,255,255,0.2); --_bd: rgba(255,255,255,0.5); } }

.btn.btn--sm { height: 2.7rem; padding: 0 1.1rem; font-size: 0.875rem; }

.icon-btn {
  width: 2.75rem; height: 2.75rem;
  display: grid; place-items: center;
  background: var(--card);
  border: 1px solid var(--hair);
  border-radius: 50%;
  cursor: pointer; color: var(--ink);
  box-shadow: var(--e1);
  transition: background var(--d-fast) var(--ease-out), opacity var(--d-fast) var(--ease-out);
}
.icon-btn svg { width: 9px; height: 15px; }
@media (hover: hover) and (pointer: fine) { .icon-btn:hover { background: var(--paper-2); } }
.icon-btn[disabled] { opacity: 0.35; cursor: default; }

/* ===================================================================== hero
   Full-bleed photograph, the pill nav floating over it, the name stacked huge
   and centered with the serif script landing under it. */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid; align-content: center; justify-items: center;
  overflow: clip; isolation: isolate;
  background: var(--navy-950);
  padding: calc(var(--chrome-h) + var(--s7)) 0 var(--s8);
}
.hero__img {
  position: absolute; inset: -6% 0 0; z-index: -2;
  width: 100%; height: 106%; object-fit: cover; object-position: 50% 38%;
  will-change: transform;
}
/* the hero photo gets the same treatment as the rest of the page: slightly
   desaturated, a cobalt cast multiplied over it, a soft highlight, then the
   scrim only where the headline sits */
.hero__img { filter: saturate(0.7) contrast(1.03); }
.hero__cast {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(160deg, #2451e0, #0b2d52 80%);
  mix-blend-mode: multiply; opacity: 0.62;
}
.hero__cast::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 50% at 20% 10%, rgba(120,170,255,0.5), transparent 70%);
  mix-blend-mode: screen; opacity: 0.45;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    /* a vignette: the edges fall into dark so the centre stands out */
    radial-gradient(62% 58% at 50% 48%, rgba(4, 7, 14, 0.16) 0%, rgba(4, 7, 14, 0.3) 48%, rgba(4, 7, 14, 0.82) 100%),
    linear-gradient(to top, rgba(4, 7, 14, 0.55), transparent 34%),
    linear-gradient(to bottom, rgba(4, 7, 14, 0.4), transparent 26%);
}

.hero__inner { display: grid; justify-items: center; text-align: center; }
.hero .ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.06em; }
.hero .ln > span { display: block; will-change: transform; }

.hero__kick {
  margin: 0 0 var(--s2);
  font-size: clamp(1rem, 1.8vw, 1.5rem); font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  color: #ffffff;
}
.hero__title {
  color: #ffffff;
  font-size: clamp(3.1rem, 0.8rem + 9.2vw, 9.6rem);
  line-height: 0.92;
  font-weight: 800; font-variation-settings: "wdth" 106;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
.hero__script {
  margin: -0.18em 0 0;
  font-family: var(--f-serif); font-style: italic; font-weight: 800;

  font-size: clamp(2.6rem, 0.8rem + 7vw, 7.5rem);
  line-height: 1.08;
  color: var(--ser-dark);
  text-shadow: 0 1px 2px rgba(4, 7, 14, 0.45), 0 2px 30px rgba(4, 7, 14, 0.5);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: var(--s3); justify-content: center; margin-top: var(--s6); }

/* The reference's button: a white pill with a punctuation dot. */

@media (max-width: 900px) {
  .hero { padding-bottom: var(--s7); }
  .hero__cta { display: grid; width: min(100%, 22rem); }
}

/* ================================================================== marquee */
.marquee {
  position: relative; z-index: 1;
  background: #eceef2; color: #cdd3db;   /* tone-on-tone: a texture, not a message bar */
  padding-block: 0.7rem; overflow: clip;
  user-select: none;
}
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__track span {
  display: inline-flex; align-items: center; gap: var(--s6);
  padding-right: var(--s6);
  font-weight: 800; font-variation-settings: "wdth" 100;
  font-size: clamp(1.6rem, 4vw, 3.4rem); line-height: 1;
  letter-spacing: -0.03em; text-transform: uppercase; white-space: nowrap;
}
.marquee__track i { font-style: normal; font-size: 0.38em; color: var(--gold); transform: translateY(0.04em); }

/* ================================================================ instagram */
/* A row of embedded event posts, newest first. No heading, no copy. */
.igrow { padding-block: 0 var(--band); }
.up { padding-bottom: var(--s5); }
.up__head { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; margin-bottom: var(--s4); }
.up__head .up__kick { grid-column: 2; margin-bottom: 0; }
.up__head .btn { grid-column: 3; justify-self: end; }
@media (max-width: 700px) { .up__head { grid-template-columns: 1fr; justify-items: center; gap: var(--s3); } .up__head .up__kick, .up__head .btn { grid-column: 1; justify-self: center; } }
.up .up__kick { justify-content: center; font-size: var(--t-xs); color: var(--brass); }
.up .up__kick span { color: var(--ink-2); }
.igrow__head { display: flex; justify-content: flex-end; margin-bottom: var(--s4); }
.igrow__head .car__nav[hidden] { display: none; }
.igrow__track {
  list-style: none; margin: 0; padding: 0 max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  display: flex; gap: var(--s5);
  overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.igrow__track::-webkit-scrollbar { display: none; }
.igrow__more { margin: var(--s5) 0 0; text-align: center; }
.igrow__more a { display: inline-flex; align-items: center; gap: var(--s2); font-size: var(--t-sm); font-weight: 600; color: var(--ink); text-decoration: underline; text-decoration-color: rgba(11,45,82,0.3); text-underline-offset: 4px; }
.igrow__more a svg { width: 14px; height: 9px; }
.igrow__more a:hover { text-decoration-color: var(--brass); }
.igrow__track { display: flex; justify-content: center; gap: var(--s4); overflow: visible; scroll-snap-type: none; }
.igpost { flex: 0 0 auto; width: min(14rem, calc(50% - var(--s4) / 2)); min-width: 0; }
/* The embed is rendered at a fixed 400px and scaled down to the card by
   site.js, so Instagram's 326px minimum never fights the grid. */
.ig__embed { position: relative; aspect-ratio: 400 / 557; height: auto; overflow: clip; border-radius: calc(var(--r-xl) - 2px); background: #ffffff; }
.ig__scale { position: absolute; inset: 0 auto auto 0; width: 400px; transform-origin: 0 0; }
/* An event card we made ourselves, for an event not yet posted on Instagram. */
.ig__card { display: block; border-radius: calc(var(--r-xl) - 2px); overflow: clip; }
.ig__card img { display: block; width: 100%; height: auto; }
.ig__soon {
  display: grid; place-content: center; justify-items: center; gap: var(--s1); text-align: center;
  aspect-ratio: 400 / 557;
  border-radius: calc(var(--r-xl) - 2px);
}
.ig__soon b { font-family: var(--f-serif); font-weight: 800; font-size: var(--t-md); color: var(--d-ink); line-height: 1; }
.ig__soon span { font-size: 0.6rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold); }
.ig__frame {
  margin: 0; padding: 2px;
  background: linear-gradient(160deg, var(--navy-800), var(--navy-950) 72%);
  border-radius: var(--r-xl); box-shadow: var(--e2);
}
/* Instagram's script sets inline widths and margins on its iframe; this pins
   it to our frame regardless. */
.ig__embed .instagram-media, .ig__embed iframe.instagram-media {
  width: 100% !important; min-width: 0 !important; max-width: none !important;
  margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important;
  display: block !important;
}
.ig__embed blockquote.instagram-media { padding: var(--s6); background: #ffffff; }
.ig__embed blockquote.instagram-media a { color: var(--ink); font-weight: 600; }

/* ================================================================== pillars */
.pillars { padding-block: var(--band); border-bottom: 1px solid var(--hair); }
.pillars__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--s8); align-items: center; }
.pillars__copy { display: grid; gap: var(--s6); align-content: center; }
.pillars__copy .dot-label { font-size: var(--t-2xs); letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-2); }
.pillars__words { list-style: none; margin: 0; padding: 0; }
.pillars__words li {
  font-size: clamp(2.4rem, 1.4rem + 3.6vw, 4.6rem); font-weight: 800; line-height: 1.02;
  letter-spacing: -0.03em; color: var(--ink);
  opacity: 0.16; will-change: opacity, transform; transform: translateX(-0.3rem);
}
.reduced .pillars__words li, .no-js .pillars__words li { opacity: 1; transform: none; }
.pillars__photo { margin: 0; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: clip; box-shadow: var(--e2); }
.pillars__photo img { width: 100%; height: 110%; object-fit: cover; display: block; will-change: transform; }
.pillars--flip .pillars__photo { order: -1; }
@media (max-width: 900px) {
  .pillars__grid { grid-template-columns: 1fr; gap: var(--s6); }
  .pillars--flip .pillars__photo { order: 0; }
  .pillars__photo img { height: 100%; }
}

/* ==================================================================== tints
   Every photograph of the venue would otherwise read the same brown-and-
   white. Each section gets its own colour cast: a duotone overlay sits on
   the image, the image is desaturated under it, and the cast is chosen per
   section so the page moves through colour as it scrolls. */
.tint { position: relative; isolation: isolate; }
.tint > img, .tint img:first-child { filter: saturate(0.7) contrast(1.03); }
/* the overlays sit at --tint-z: above a static or transformed image (1), or
   between a negative-z image and its scrim (-1) on the cards that use that */
.tint::before {
  content: ""; position: absolute; inset: 0; z-index: var(--tint-z, 1); pointer-events: none;
  mix-blend-mode: multiply; opacity: 0.72; background: var(--tint-a, var(--navy-900));
}
.tint::after {
  content: ""; position: absolute; inset: 0; z-index: var(--tint-z, 1); pointer-events: none;
  mix-blend-mode: screen; opacity: 0.45; background: var(--tint-b, transparent);
}
.event-card.tint { --tint-z: -1; }
.host__chip.tint span, .figure.tint figcaption { position: relative; z-index: 2; }
/* the casts */
.tint--cobalt { --tint-a: linear-gradient(160deg, #2451e0, #0b2d52 80%); --tint-b: radial-gradient(60% 50% at 20% 10%, rgba(120,170,255,0.55), transparent 70%); }
.tint--gold   { --tint-a: linear-gradient(160deg, #e9b63a, #7a4e08 85%);   --tint-b: radial-gradient(60% 50% at 80% 90%, rgba(255,214,120,0.6), transparent 70%); }
.tint--dusk   { --tint-a: linear-gradient(170deg, #c23e7a 0%, #3b2a8f 55%, #0b1c3a 100%); --tint-b: radial-gradient(55% 45% at 30% 0%, rgba(255,120,170,0.55), transparent 70%); }
.tint--navy   { --tint-a: linear-gradient(160deg, #2d5a92, #0b2d52 85%); --tint-b: radial-gradient(50% 50% at 50% 100%, rgba(60,110,200,0.4), transparent 70%); }
.tint--teal   { --tint-a: linear-gradient(160deg, #2aa39a, #12406a 90%); --tint-b: radial-gradient(60% 50% at 80% 0%, rgba(120,235,220,0.5), transparent 70%); }
/* the step cards carry their cast on the card; the lockup and shade stay on top */
.fmt.tint > img { filter: saturate(0.65) contrast(1.03); }
.fmt.tint .fmt__shade { z-index: 1; }
.fmt.tint .fmt__lockup { z-index: 2; }

/* ================================================================= carousel */
.car__head { display: flex; align-items: baseline; gap: var(--s5); margin-bottom: var(--s6); }
.car__head h2 { margin-right: auto; }
.car__more {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--t-sm); font-weight: 600; color: var(--amber-deep);
  text-decoration: none; white-space: nowrap;
  transition: color var(--d-fast) var(--ease-out);
}
.car__more svg { width: 14px; height: 9px; }
@media (hover: hover) and (pointer: fine) { .car__more:hover { color: var(--ink); } }
.car__nav { display: flex; gap: var(--s2); align-self: center; }
@media (max-width: 700px) { .car__nav { display: none; } .car__head { flex-wrap: wrap; } }

.car__track {
  display: flex; gap: var(--s4);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  scroll-padding-inline: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  padding-bottom: var(--s3);
  scrollbar-width: none;
}
.car__track::-webkit-scrollbar { display: none; }

.fmt {
  position: relative; flex: 0 0 auto;
  width: clamp(15.5rem, 23vw, 20rem);
  aspect-ratio: 4 / 5;
  border-radius: var(--r-md);
  overflow: clip;
  scroll-snap-align: start;
  isolation: isolate;
  background: var(--navy-900);
  box-shadow: var(--e2);
}
.fmt > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 800ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .fmt:hover > img { transform: scale(1.05); } }
.fmt__shade {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(to top, rgba(4,7,14,0.92) 0%, rgba(4,7,14,0.42) 36%, rgba(4,7,14,0.1) 62%);
}
.fmt__lockup {
  position: absolute; inset: auto 0 0; padding: var(--s5);
  display: grid; gap: var(--s2); justify-items: center; text-align: center;
}
.fmt__lockup small {
  font-size: var(--t-2xs); font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-ink-2);
}
.fmt__lockup b {
  font-family: var(--f-serif); font-weight: 800; font-style: normal;

  font-size: clamp(1.9rem, 2.6vw, 2.5rem);
  line-height: 0.95; letter-spacing: 0.01em;
  text-transform: uppercase; color: var(--d-ink);
}
.fmt__lockup > span { font-size: var(--t-xs); color: var(--d-ink-2); max-width: 24ch; line-height: 1.45; }
.fmt__lockup .btn { margin-top: var(--s3); }
.car__cta {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s5);
  margin-top: var(--s7); padding-top: var(--s5);
  border-top: 1px solid var(--hair);
}
.car__cta p { margin: 0; font-size: var(--t-md); color: var(--ink-2); max-width: 44ch; text-wrap: pretty; }
@media (max-width: 700px) { .car__cta { flex-direction: column; align-items: flex-start; } }

.car__dots { display: flex; gap: var(--s2); justify-content: center; margin-top: var(--s5); }
.car__dots button {
  width: 8px; height: 8px; padding: 0; border: 0; border-radius: 50%;
  background: var(--hair-2); cursor: pointer;
  transition: background var(--d-fast) var(--ease-out), transform var(--d-fast) var(--ease-out);
}
.car__dots button[aria-selected="true"] { background: var(--amber); transform: scale(1.25); }

/* ==================================================================== bento
   The reference's mosaic: many small visual cards, almost no copy. Every tile
   is a photograph, an object, or one sentence. */
.bento__head { display: grid; justify-items: center; text-align: center; gap: var(--s3); margin-bottom: var(--s7); }
.bento__t {
  margin: 0;
  font-family: var(--f-serif); font-weight: 800; font-style: normal;

  font-size: clamp(2.4rem, 1.4rem + 4.4vw, 4.6rem);
  line-height: 1; letter-spacing: -0.03em;
  color: var(--ink);
}
.bento__sub { margin: 0; max-width: 44ch; color: var(--ink-2); font-size: var(--t-sm); }

.bento__grid {
  display: grid; gap: var(--s4);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-areas:
    "story story mosaic mosaic"
    "crane chat  give   night"
    "crane chat  book   book"
    "seats seats seats  plate";
  grid-auto-rows: minmax(10.5rem, auto);
}
@media (max-width: 980px) {
  .bento__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-areas:
      "story story" "mosaic mosaic" "crane chat"
      "give night" "book book" "seats seats" "plate plate";
  }
}
@media (max-width: 560px) {
  .bento__grid {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: "story" "mosaic" "chat" "crane" "give" "night" "book" "seats" "plate";
  }
}

.tile {
  position: relative;
  border-radius: var(--r-md);
  background: var(--card);
  box-shadow: var(--e1);
  overflow: clip;
  text-decoration: none;
  display: grid;
  transition: transform var(--d-base) var(--ease-out), box-shadow var(--d-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  a.tile:hover { transform: translateY(-4px); box-shadow: var(--e2); }
}
.tile__serif {
  margin: 0;
  font-family: var(--f-serif); font-weight: 800; font-style: normal;

  font-size: var(--t-xl); letter-spacing: -0.015em; color: var(--ink);
}
.tile__link {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-size: var(--t-sm); font-weight: 600; color: var(--ink);
  text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px;
}
.tile__link svg { width: 14px; height: 9px; }

.tile--story { padding: var(--s6); align-content: end; gap: var(--s3); justify-items: start; min-height: 23rem; }
.tile--story .tile__serif { max-width: 12ch; }
.pols { position: absolute; inset: var(--s4) var(--s4) auto auto; width: 50%; aspect-ratio: 16 / 10; pointer-events: none; }
.pol {
  position: absolute; width: 46%; aspect-ratio: 1; object-fit: cover;
  background: #fff; padding: 4%; padding-bottom: 11%;
  box-shadow: var(--e2); border-radius: 2px;
}
.pol:nth-child(1) { left: 0; top: 10%; rotate: -7deg; }
.pol:nth-child(2) { left: 29%; top: 0; rotate: 3deg; z-index: 1; }
.pol:nth-child(3) { right: 0; top: 16%; rotate: 8deg; }

.tile--mosaic { background: var(--navy-900); }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; opacity: 0.92; }
.tile__cap {
  position: absolute; inset: auto 0 0;
  padding: var(--s6) var(--s5) var(--s4);
  font-size: var(--t-sm); font-weight: 600; line-height: 1.4;
  color: #ffffff;
  background: linear-gradient(to top, rgba(4,7,14,0.88), rgba(4,7,14,0.4) 62%, transparent);
}
.tile__cap b { font-weight: 800; }

.tile--photo { background: var(--navy-900); }
.tile--photo > img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile__cap--list { font-size: var(--t-xs); letter-spacing: 0.04em; }

.tile--chat { background: var(--card); padding: var(--s5); align-content: center; gap: var(--s2); }
.chat__day { margin: 0 0 var(--s1); text-align: center; font-size: var(--t-2xs); color: var(--ink-3); }
.chat__b {
  margin: 0; max-width: 88%;
  padding: 0.5rem 0.85rem;
  font-size: var(--t-sm); line-height: 1.45;
  border-radius: 1.1rem;
}
.chat__b--in  { justify-self: start; background: var(--paper-2); color: var(--ink); border-bottom-left-radius: 5px; }
.chat__b--out { justify-self: end; background: var(--cobalt); color: #ffffff; border-bottom-right-radius: 5px; }

.tile--give { padding: var(--s5); align-content: center; gap: var(--s2); justify-items: start; background: var(--card); }
.tile--give p { margin: 0; color: var(--ink-2); font-size: var(--t-sm); }

.tile--plate > img { object-position: 42% 50%; }

.tile--seats { background: var(--card); padding: var(--s5) var(--s6); grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: var(--s6); }
.seatrow { display: flex; }
.seatrow img {
  width: clamp(3rem, 5vw, 4rem); height: clamp(3rem, 5vw, 4rem);
  border-radius: 50%; object-fit: cover;
  border: 3px solid var(--card);
  margin-left: -0.9rem;
}
.seatrow img:first-child { margin-left: 0; }
.tile--seats p { margin: 0; font-size: var(--t-sm); color: var(--ink-2); max-width: 40ch; }
.tile--seats p::first-line { font-weight: 600; }
@media (max-width: 560px) { .tile--seats { grid-template-columns: 1fr; justify-items: start; gap: var(--s3); } }

/* ===================================================================== wall */
.wall__meta {
  display: flex; justify-content: space-between; gap: var(--s5);
  padding-bottom: var(--s3); margin-bottom: var(--s6);
  border-bottom: 1px solid var(--hair-2);
}
.wall__meta p { margin: 0; font-size: var(--t-xs); font-weight: 600; color: var(--ink-2); letter-spacing: 0.02em; }
.wall__grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3);
  mask-image: linear-gradient(to bottom, #000 42%, rgba(0,0,0,0.38) 74%, transparent);
  -webkit-mask-image: linear-gradient(to bottom, #000 42%, rgba(0,0,0,0.38) 74%, transparent);
}
.wall__grid img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r-sm); }
@media (max-width: 700px) { .wall__grid { grid-template-columns: repeat(2, 1fr); } .wall__grid img:nth-child(n+9) { display: none; } }
.wall__lead {
  display: grid; gap: var(--s5); justify-items: center; text-align: center;
  margin-top: calc(-1 * clamp(2rem, 6vw, 5rem));
  position: relative;
}

.figure { position: relative; margin: 0; }
.figure img { width: 100%; height: auto; border-radius: var(--r-md); }
.figure--tall img { aspect-ratio: 4 / 5; object-fit: cover; }
.figure--wide img { aspect-ratio: 16 / 10; object-fit: cover; }
.figure--clip { overflow: clip; border-radius: var(--r-md); box-shadow: var(--e2); }
.figure--clip img { will-change: transform; }
.figure__cap { display: block; margin-top: var(--s4); font-size: var(--t-sm); color: var(--ink-3); }
.figure__cap em { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: 1.12em; color: var(--ser-ink); }

/* =============================================================== statements */
.say {
  position: relative; min-height: clamp(28rem, 76vh, 44rem);
  background: var(--navy-900); /* light text never waits on the photo */
  display: grid; align-content: center;
  overflow: clip; isolation: isolate;
  padding-block: var(--s9);
}
.say__media { position: absolute; inset: -8% 0 0; z-index: -2; }
.say__media img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.say__scrim {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: linear-gradient(to right, rgba(4,7,14,0.86) 0%, rgba(4,7,14,0.6) 46%, rgba(4,7,14,0.18) 82%);
}
.say__scrim--center {
  background: radial-gradient(74% 74% at 50% 54%, rgba(4,7,14,0.76), rgba(4,7,14,0.46) 66%, rgba(4,7,14,0.6));
}
.say__inner { display: grid; gap: var(--s5); justify-items: start; }
.say__inner--center { justify-items: center; text-align: center; }
.say h2 { max-width: 19ch; color: var(--d-ink); }
.say p { margin: 0; max-width: 44ch; color: var(--d-ink-2); font-size: var(--t-md); }
.say .ser { color: var(--ser-dark); }

/* ==================================================================== sheets
   The paperwork of a serious room. The standard, the sponsor inventory and the
   registration form are all issued documents: one letterhead, one ink rule,
   one numbering voice. */
.sheet {
  background: var(--card);
  border-radius: var(--r-md);
  box-shadow: var(--e3);
  overflow: clip;
}
.sheet::before { content: ""; display: block; height: 3px; background: var(--ink); }
.sheet__head {
  display: flex; align-items: center; gap: var(--s4);
  padding: var(--s5) clamp(1.35rem, 3vw, 2.6rem);
  border-bottom: 1px solid var(--hair-2);
}
.sheet__head img { width: 34px; height: 34px; flex: 0 0 auto; }
.sheet__id { display: grid; gap: 1px; margin-right: auto; }
.sheet__id b { font-size: var(--t-sm); font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; }
.sheet__id span { font-size: var(--t-xs); color: var(--ink-3); }
.sheet__no {
  font-family: var(--f-serif); font-style: italic; font-weight: 800;
  font-size: var(--t-md); color: var(--ser-ink); white-space: nowrap;
}
.sheet__foot {
  margin: 0; padding: var(--s5) clamp(1.35rem, 3vw, 2.6rem);
  border-top: 2px solid var(--ink);
  font-size: var(--t-sm); color: var(--ink-2); text-wrap: pretty;
}
.sheet__foot em { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: 1.14em; color: var(--ser-ink); }

/* ================================================================= standard */
.std__grid { display: grid; gap: var(--s8); align-items: start; }
@media (min-width: 980px) {
  .std__grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: var(--s10); }
  .std__head { position: sticky; top: calc(var(--chrome-h) + var(--s6)); }
}
.std__head { display: grid; gap: var(--s5); justify-items: start; }
.std__head .lede { max-width: 36ch; }
.std__close {
  margin: 0; max-width: 40ch; color: var(--ink-2);
  font-size: var(--t-md); line-height: 1.55;
}
.std__close em { font-family: var(--f-serif); font-style: italic; font-weight: 800; font-size: 1.1em; color: var(--ser-ink); }

.std__clauses { margin: 0; padding: var(--s2) clamp(1.35rem, 3vw, 2.6rem); list-style: none; counter-reset: clause; }
.std__clauses li {
  counter-increment: clause;
  display: grid; grid-template-columns: 2.4rem minmax(0, 1fr); gap: var(--s4);
  align-items: baseline;
  padding: var(--s5) 0;
  position: relative;
}
.std__clauses li + li { border-top: 1px solid var(--hair); }
.std__clauses li::before {
  content: counter(clause, decimal-leading-zero);
  font-family: var(--f-serif); font-style: italic; font-weight: 800;

  font-size: 1.3rem; line-height: 1.3; color: var(--ser-ink);
}
.std__clauses p {
  margin: 0; font-size: var(--t-lg); line-height: 1.4;
  letter-spacing: var(--tr-snug); font-weight: 500; color: var(--ink);
  text-wrap: pretty;
}

.std__turned {
  margin: var(--s2) clamp(1.35rem, 3vw, 2.6rem) var(--s6);
  padding: var(--s5);
  background: var(--paper);
  border: 1px solid var(--hair);
  border-radius: var(--r-sm);
}
.std__turned > p {
  margin: 0 0 var(--s3); font-size: var(--t-sm); font-weight: 600; color: var(--ink);
}
.std__turned ul { display: grid; gap: var(--s2); }
.std__turned li {
  display: grid; grid-template-columns: 1.1rem minmax(0, 1fr); gap: var(--s3);
  align-items: baseline;
  font-size: var(--t-sm); color: var(--ink-3); line-height: 1.5;
}
.std__turned li svg { width: 10px; height: 10px; fill: none; stroke: var(--ink-3); stroke-width: 1.8; translate: 0 1px; }
.std__turned li span { position: relative; }
.std__turned li span::after {
  content: ""; position: absolute; left: 0; right: 0; top: 54%; height: 1px;
  background: var(--ink-3); transform-origin: left center; scale: 0 1;
}
.std__turned li.is-struck span::after { scale: 1 1; transition: scale 420ms var(--ease-mech); }
.reduced .std__turned li span::after, .no-js .std__turned li span::after { scale: 1 1; }
@media (prefers-reduced-motion: reduce) { .std__turned li span::after { scale: 1 1; } }

/* ===================================================================== host
   The one flat color-block moment on the page. Anthony is cut out of the
   photograph and breaks the block's top edge; two real frames sit in the
   carved corner, ringed in paper so the notch reads as cut, not placed. */
.host__h { max-width: 14ch; margin: 0; }
.host__body { display: grid; gap: clamp(1.5rem, 3vw, 2.25rem); align-content: center; }
.host__grid { display: grid; gap: var(--s8); align-items: start; }
@media (min-width: 980px) {
  .host__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: var(--s10); align-items: center; }
}
.host__copy { display: grid; gap: var(--s5); max-width: 50ch; }
.host__copy p { margin: 0; color: var(--ink-2); }
.host__copy p b { color: var(--ink); }
.host__copy p:first-child { color: var(--ink); font-size: var(--t-lg); line-height: 1.48; letter-spacing: var(--tr-snug); }

/* The commitments, written and signed — not a row of big numbers. */
.host__note {
  margin-top: var(--s4);
  padding: 0 var(--s6) var(--s5);
  background: var(--card);
  border-radius: var(--r-sm);
  box-shadow: var(--e2);
  overflow: clip;
  display: grid; gap: var(--s4);
  max-width: 44ch;
}
.host__note::before { content: ""; display: block; height: 3px; background: var(--ink); margin: 0 calc(-1 * var(--s6)) var(--s5); }
.host__note > p { margin: 0; color: var(--ink); font-size: var(--t-md); line-height: 1.6; }
.host__note > p b { font-weight: 800; }
.host__note-sig { display: flex; align-items: center; gap: var(--s4); }
.host__note-sig svg { width: 96px; height: 30px; overflow: visible; color: var(--brass); flex: 0 0 auto; }
.host__note-sig path { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.host__note-sig span { font-size: var(--t-xs); color: var(--ink-3); }

.host__stage { position: relative; margin: 0; }
.host__block {
  position: relative;
  background: linear-gradient(172deg, var(--cobalt), var(--cobalt-deep) 86%);
  background-color: var(--cobalt);
  border-radius: var(--r-xl);
  aspect-ratio: 4 / 4.6;
  box-shadow: var(--e-cobalt);
}
.host__cut {
  position: absolute; bottom: 0; left: 50%;
  translate: -50% 0;
  height: 117%; width: auto; max-width: none;
  object-fit: contain; object-position: bottom;
  filter: drop-shadow(0 30px 44px rgba(16, 30, 90, 0.45));
}
.host__tag {
  position: absolute; left: var(--s5); bottom: var(--s5);
  display: grid; gap: 1px; color: #ffffff;
}
.host__tag b { font-family: var(--f-serif); font-style: normal; font-weight: 800; font-size: var(--t-xl); line-height: 1.05; }
.host__tag span { font-size: var(--t-sm); color: #ccd8fb; }

/* one photo card, overlapping the lower-right of the cobalt block */
.host__photo {
  position: absolute; right: calc(-1 * var(--s5)); bottom: calc(-1 * var(--s6));
  width: clamp(10rem, 17vw, 14.5rem);
  border-radius: var(--r-md);
  border: 8px solid var(--paper);
  overflow: clip;
  box-shadow: var(--e2);
  display: block; text-decoration: none;
  transition: transform var(--d-base) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .host__photo:hover { transform: translateY(-4px); } }
.host__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; display: block; }

@media (max-width: 979px) {
  .host__block { aspect-ratio: 4 / 4.2; }
  .host__photo { right: var(--s2); bottom: calc(-1 * var(--s5)); width: clamp(8rem, 34vw, 11rem); }
}

/* ================================================================= upcoming */
.event-card {
  position: relative;
  border-radius: var(--r-xl);
  overflow: clip; isolation: isolate;
  min-height: clamp(26rem, 56vh, 33rem);
  display: grid; align-content: end;
  padding: clamp(1.5rem, 3.4vw, 3rem);
  box-shadow: var(--e-dark);
  background: var(--navy-900);
}
.event-card > img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; object-fit: cover;
  will-change: transform;
}
.event-card__scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to right, rgba(4,7,14,0.92) 0%, rgba(4,7,14,0.72) 42%, rgba(4,7,14,0.16) 78%),
    linear-gradient(to top, rgba(4,7,14,0.66), transparent 48%);
}
.event-card__copy { display: grid; gap: var(--s4); max-width: 34rem; justify-items: start; }
.event-card__copy .dot-label { color: var(--d-ink-2); }
.event-card__copy .dot-label i { background: var(--gold); }
.event-card__copy h3 { color: var(--d-ink); }
.event-card__copy > p { margin: 0; color: var(--d-ink-2); max-width: 44ch; }
.event-card__copy .btn { margin-top: 0; }
.event-card__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3) var(--s5); margin-top: var(--s2); }

/* ============================================================ the countdown
   Poster anatomy: unit labels above, digits enormous across the whole card,
   the host standing in front of them, the button under his feet. */
.event-card.cd {
  min-height: clamp(36rem, 92vh, 56rem);
  display: grid; grid-template-rows: auto 1fr auto; align-content: start; justify-items: center;
  padding: clamp(1.5rem, 3vw, 2.5rem) clamp(1.5rem, 3.4vw, 3rem) 0;
  text-align: center;
}
.cd__scrim {
  background:
    linear-gradient(to bottom, rgba(4,7,14,0.72) 0%, rgba(4,7,14,0.25) 40%, rgba(4,7,14,0.1) 70%, rgba(4,7,14,0.7) 100%);
}
.cd__kick {
  margin: 0; font-size: var(--t-2xs); font-weight: 600; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold);
  display: flex; gap: 1.2em; flex-wrap: wrap; justify-content: center;
}
.cd__kick span { color: var(--d-ink-2); letter-spacing: 0.18em; }
.cd__digits {
  width: 100%; max-width: 78rem; margin-top: clamp(0.5rem, 2vw, 1.5rem);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: start; column-gap: clamp(0.75rem, 2.5vw, 2.5rem);
  font-variant-numeric: tabular-nums;
}
.cd__digits[data-state] { visibility: hidden; }
.cd__digits > div { display: grid; justify-items: center; gap: 0; }
.cd__digits span {
  font-family: var(--f-sans); font-weight: 800; font-size: clamp(0.9rem, 0.6rem + 1.3vw, 1.6rem);
  letter-spacing: 0.08em; text-transform: uppercase; color: #ffffff; line-height: 1;
  margin-bottom: 0.1em;
}
.cd__digits b {
  font-family: var(--f-sans); font-weight: 800; font-style: normal;
  font-size: clamp(5rem, 1.5rem + 12vw, 13rem); line-height: 0.88; letter-spacing: -0.04em;
  color: #ffffff; text-shadow: 0 6px 40px rgba(4,7,14,0.55);
  display: inline-block;
}
.cd__digits b.is-tick { animation: tick 420ms cubic-bezier(0.32, 0.72, 0, 1); }
@keyframes tick { 0% { transform: translateY(0.14em); opacity: 0.35; } 100% { transform: translateY(0); opacity: 1; } }
.reduced .cd__digits b.is-tick { animation: none; }
/* the host stands in front of the digits, feet on the bottom edge */
/* centred with a flex row, not a transform: the scroll drift animates the
   transform and would otherwise wipe out a translateX(-50%) */
.cd__host {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  height: min(80%, 44rem); display: flex; justify-content: center; align-items: flex-end;
  pointer-events: none; will-change: transform;
}
.cd__host img { height: 100%; width: auto; display: block; filter: drop-shadow(0 24px 40px rgba(4,7,14,0.6)); }
.cd__foot {
  position: relative; z-index: 3; align-self: end;
  display: grid; justify-items: center; gap: var(--s3);
  padding: 0 0 clamp(1.5rem, 3vw, 2.5rem); margin-top: auto;
}
.cd__facts { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5em 1.2em; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.04em; color: var(--d-ink-2); }
.cd__facts a { color: var(--d-ink); text-decoration: underline; text-decoration-color: rgba(245,242,236,0.35); text-underline-offset: 4px; }
.cd__facts a:hover { text-decoration-color: var(--gold); }
/* the tint overlays sit between the photo and everything else */
.event-card.cd.tint { --tint-z: -1; }
@media (max-width: 760px) {
  .event-card.cd { min-height: 0; padding-bottom: 0; }
  .cd__digits { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4) 0; }
  .cd__digits b { font-size: clamp(4.2rem, 24vw, 6.5rem); }
  .cd__host { position: static; height: auto; width: 100%; margin-top: var(--s4); }
  .cd__host img { height: auto; width: min(56%, 15rem); }
  .cd__foot { margin-top: calc(-1 * var(--s5)); }
}

.count {
  display: flex; gap: var(--s5); margin-top: var(--s2);
  font-variant-numeric: tabular-nums;
}
.count > div { display: grid; justify-items: start; gap: 2px; }
.count b {
  font-family: var(--f-serif); font-weight: 800; font-style: normal;
  font-size: clamp(2.2rem, 1.2rem + 3.2vw, 3.6rem); line-height: 1;
  color: var(--gold); letter-spacing: -0.02em;
}
.count span { font-size: var(--t-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-ink-3); }
.count[data-state="live"] b, .count[data-state="over"] b { font-size: clamp(1.4rem, 1rem + 1.6vw, 2rem); }
.event-card__spec dd a { color: inherit; text-decoration: underline; text-decoration-color: rgba(245,242,236,0.35); text-underline-offset: 3px; }
.event-card__spec {
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s7);
  margin: var(--s5) 0 0; padding-top: var(--s4);
  border-top: 1px solid rgba(245,242,236,0.18);
  width: 100%;
}
.event-card__spec div { display: grid; gap: 2px; }
.event-card__spec dt { font-size: var(--t-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-ink-3); }
.event-card__spec dd { margin: 0; font-size: var(--t-sm); font-weight: 600; color: var(--d-ink); }

.event-card__lockup {
  position: absolute; right: clamp(1.5rem, 3.4vw, 3rem); bottom: clamp(1.5rem, 3.4vw, 3rem);
  margin: 0; text-align: center; display: grid; gap: var(--s2);
  padding: var(--s5);
  background: rgba(4,7,14,0.62); backdrop-filter: blur(10px);
  border: 1px solid rgba(245,242,236,0.15);
  border-radius: var(--r-sm);
}
.event-card__lockup small { font-size: var(--t-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-ink-2); }
.event-card__lockup b {
  font-family: var(--f-serif); font-weight: 800;
  font-size: var(--t-xl); line-height: 1.02; text-transform: uppercase; color: var(--d-ink);
}
.event-card__lockup i { font-style: italic; font-weight: 500; }
@media (max-width: 900px) { .event-card__lockup { display: none; } }

/* =========================================================== request flow
   Full-screen, one question at a time, navy + gold. Every field stays in one
   form; JS reveals one step. Degrades to a stacked dark form with no JS.
   (Restored rev 37 — a rev-36 edit had deleted this block by accident.) */
.flowscreen {
  position: relative; min-height: 100svh;
  display: grid; place-items: center;
  padding: clamp(6rem, 14vh, 9rem) var(--gutter);
  background: radial-gradient(85% 85% at 50% 38%, var(--navy-900), var(--navy-950) 80%);
  color: #fff; overflow: clip;
}
.flowscreen__bar { position: absolute; top: 0; left: 0; right: 0; height: 4px; background: rgba(255,255,255,0.1); }
.flowscreen__fill { display: block; height: 100%; width: 12.5%; background: var(--gold); transition: width 0.5s cubic-bezier(0.32,0.72,0,1); }
.flowscreen__logo { position: absolute; top: clamp(1.5rem, 4vh, 2.5rem); left: var(--gutter); line-height: 0; }
.flowscreen__logo img { width: 128px; height: auto; display: block; }
.flowscreen__nav { position: absolute; right: var(--gutter); bottom: clamp(1.5rem, 4vh, 2.5rem); display: flex; align-items: center; gap: var(--s3); }
.flowscreen__count { margin: 0 var(--s3) 0 0; font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.1em; color: var(--d-ink-3); font-variant-numeric: tabular-nums; }
.flowscreen__count i { font-style: normal; opacity: 0.5; margin: 0 3px; }
.navbtn { width: 2.9rem; height: 2.9rem; display: grid; place-items: center; border: 0; border-radius: var(--r-sm); background: var(--gold); color: var(--navy-950); cursor: pointer; transition: background 0.2s var(--ease-out), transform 0.1s; }
.navbtn svg { width: 16px; height: 11px; }
@media (hover: hover) and (pointer: fine) { .navbtn:hover:not(:disabled) { background: var(--gold-hi); } }
.navbtn:active:not(:disabled) { transform: translateY(1px); }
.navbtn:disabled { opacity: 0.35; cursor: default; }
.navbtn--submit { width: auto; height: 2.9rem; display: inline-flex; align-items: center; justify-content: center;
  gap: 0.5rem; padding: 0 1.05rem; font-size: 0.875rem; font-weight: 800; line-height: 1; letter-spacing: 0.01em; }
.navbtn--submit svg { width: 14px; height: 10px; }

/* hide the floating site nav while the flow owns the screen */
.chrome { transition: opacity 0.4s var(--ease-out); }
body.flow-active .chrome { opacity: 0; pointer-events: none; }

.flowscreen .flow { width: 100%; max-width: 46rem; }
.flow__viewport { position: relative; transition: height 0.5s cubic-bezier(0.32,0.72,0,1); }
.q { display: grid; gap: var(--s3); align-content: start; }
.q + .q { margin-top: var(--s8); }
.flow--js .q {
  position: absolute; inset: 0 0 auto; width: 100%; margin: 0;
  opacity: 0; transform: translateY(18px); pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.5s cubic-bezier(0.32,0.72,0,1);
}
.flow--js .q.is-active { opacity: 1; transform: none; pointer-events: auto; }
.reduced .flow--js .q { transition: none; }

.q__eyebrow { margin: 0; display: flex; align-items: center; gap: 0.55em; font-size: var(--t-md); font-weight: 500; color: var(--d-ink-2); }
.q__num { display: grid; place-items: center; min-width: 1.6em; height: 1.5em; padding: 0 0.4em; border-radius: 5px; background: var(--gold); color: var(--navy-950); font-size: 0.7em; font-weight: 800; }
.q__opt { color: var(--d-ink-3); font-size: 0.82em; }
.q__label { font-family: var(--f-sans); font-weight: 600; font-size: clamp(1.6rem, 1rem + 2vw, 2.6rem); line-height: 1.2; letter-spacing: -0.01em; color: #fff; }
.q__label--sm { font-size: clamp(1.3rem, 1rem + 1.1vw, 1.9rem); line-height: 1.3; }

.q__input {
  width: 100%; margin-top: var(--s3);
  background: transparent; border: 0; border-bottom: 2px solid rgba(255,255,255,0.3);
  color: #fff; font-family: var(--f-sans); font-weight: 500;
  font-size: clamp(1.3rem, 1rem + 1vw, 1.8rem); padding: 0.4rem 0; outline: none;
  transition: border-color 0.2s var(--ease-out);
}
.q__input::placeholder { color: rgba(255,255,255,0.4); font-weight: 400; }
.q__input:focus { border-bottom-color: var(--gold); }
.q__input--area { border: 2px solid rgba(255,255,255,0.3); border-radius: var(--r-sm); padding: var(--s4); min-height: 6rem; resize: vertical; line-height: 1.5; font-size: clamp(1.1rem, 1rem + 0.4vw, 1.4rem); }
.q__input--area:focus { border-color: var(--gold); }
.q[data-invalid] .q__input { border-color: #f08a5d; }
.q__err { margin: var(--s2) 0 0; font-size: var(--t-sm); color: #f3a183; }

.q__options { display: grid; gap: var(--s3); margin-top: var(--s3); }
.opt {
  display: flex; align-items: center; gap: var(--s3); text-align: left; cursor: pointer;
  padding: var(--s4) var(--s5); border-radius: var(--r-sm);
  border: 1.5px solid rgba(255,255,255,0.2); background: rgba(255,255,255,0.04);
  color: #fff; font-size: var(--t-md); font-weight: 500;
  transition: border-color 0.15s var(--ease-out), background 0.15s var(--ease-out), transform 0.15s var(--ease-out);
}
.opt__key { display: grid; place-items: center; width: 1.7em; height: 1.7em; border-radius: 5px; border: 1px solid rgba(255,255,255,0.35); font-size: 0.72em; font-weight: 700; flex: 0 0 auto; }
@media (hover: hover) and (pointer: fine) { .opt:hover { border-color: var(--gold); background: rgba(255,255,255,0.08); transform: translateX(3px); } }
.opt.is-sel { border-color: var(--gold); background: color-mix(in srgb, var(--gold) 15%, transparent); }
.opt.is-sel .opt__key { background: var(--gold); color: var(--navy-950); border-color: var(--gold); }

.q__go { display: flex; align-items: center; gap: var(--s4); margin: var(--s4) 0 0; flex-wrap: wrap; }
.qok { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.72rem 1.4rem; border: 0; border-radius: var(--r-sm); cursor: pointer; background: var(--gold); color: var(--navy-950); font-size: var(--t-md); font-weight: 700; transition: background 0.2s var(--ease-out), transform 0.1s; }
.qok svg { width: 14px; height: 12px; }
@media (hover: hover) and (pointer: fine) { .qok:hover { background: var(--gold-hi); } }
.qok:active { transform: translateY(1px); }
.q__enter { font-size: var(--t-xs); color: var(--d-ink-3); }
.q__enter b { color: var(--d-ink-2); font-weight: 600; }

.q__consents { display: grid; gap: var(--s3); margin-top: var(--s3); }
.toggle { position: relative; display: grid; grid-template-columns: auto 1fr; gap: var(--s4); cursor: pointer; padding: var(--s4); border: 1.5px solid rgba(255,255,255,0.2); border-radius: var(--r-sm); transition: border-color 0.15s var(--ease-out), background 0.15s var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .toggle:hover { border-color: rgba(255,255,255,0.4); background: rgba(255,255,255,0.03); } }
.toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.toggle__box { width: 24px; height: 24px; border-radius: 6px; border: 2px solid rgba(255,255,255,0.35); display: grid; place-items: center; margin-top: 1px; transition: background 0.15s var(--ease-out), border-color 0.15s var(--ease-out); }
.toggle__box svg { width: 13px; height: 13px; color: var(--navy-950); opacity: 0; transform: scale(0.6); transition: opacity 0.15s var(--ease-out), transform 0.15s var(--ease-out); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.toggle input:checked ~ .toggle__box { background: var(--gold); border-color: var(--gold); }
.toggle input:checked ~ .toggle__box svg { opacity: 1; transform: none; }
.toggle input:focus-visible ~ .toggle__box { outline: 2px solid var(--gold); outline-offset: 2px; }
.toggle__t { display: grid; gap: 2px; }
.toggle__t b { font-weight: 700; font-size: var(--t-sm); color: #fff; }
.toggle__t span { font-size: var(--t-xs); color: var(--d-ink-2); line-height: 1.5; }
.q__fine { margin: var(--s3) 0 0; font-size: var(--t-xs); color: var(--d-ink-3); }

/* The texting disclosure. Deliberately not fine print: consent given by
   submitting only holds up if what you agreed to was clear and conspicuous,
   so this sits at body size in full-contrast text, right by the button. */
.q__notice { margin: var(--s4) 0 0; padding: var(--s4); font-size: var(--t-sm); line-height: 1.55;
  color: #fff; border: 1.5px solid rgba(255,255,255,0.2); border-left: 3px solid var(--gold);
  border-radius: var(--r-sm); background: rgba(255,255,255,0.04); }

/* confirmation panel (base + dark override) */
.form__ok { display: grid; gap: var(--s4); padding: clamp(1.5rem, 3vw, 2.5rem); border: 1px solid var(--hair); border-radius: var(--r-xl); background: var(--card); }
.form__ok p { margin: 0; color: var(--ink-2); font-size: var(--t-md); line-height: 1.5; }
.form__ok em { font-style: normal; font-weight: 700; }
.flowscreen .form__ok { border-color: rgba(255,255,255,0.18); background: rgba(255,255,255,0.04); max-width: 46rem; }
.flowscreen .form__ok p { color: #fff; }
.flowscreen .form__ok p + p { color: var(--d-ink-2); }
.flowscreen .form__ok em { color: var(--gold); }

@media (max-width: 560px) { .q__enter { display: none; } .flowscreen__logo img { width: 104px; } }

/* ================================================================== sponsor v2
   (v4) An editorial poster page, photo-led. The hero headline is sized from
   the real glyph widths (SPONSOR = 5.17em, THE ROOM = 4.71em at Montserrat
   900) so both lines fill the same width with real gutters on every screen.
   Then: tilted gold trades band · three cards (charcoal) · a photo collage
   around the rotating-word line (paper, GSAP parallax) · a photo strip into
   the sponsor tiles (navy) · the ask. */
.sp2 { --char: #121824; position: relative; }
.sp2 .sec { position: relative; padding-block: var(--band); }
.eb { display: inline-flex; align-items: center; gap: .55em; margin: 0; font-size: var(--t-xs); font-weight: 800; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-3); }
.eb svg { width: .9em; height: .9em; fill: var(--gold); }
.eb--light { color: var(--d-ink-2); }
.hx { margin: 0; font-family: var(--f-sans); font-weight: 900; text-transform: uppercase; letter-spacing: -.025em; line-height: .95; font-size: clamp(2rem, 1.1rem + 3.4vw, 4.2rem); color: var(--ink); text-wrap: balance; }
.hx--sm { font-size: clamp(1.7rem, 1rem + 2.4vw, 3rem); }
.sec__row { display: grid; gap: var(--s4); margin-bottom: var(--s8); }
@media (min-width: 900px){ .sec__row { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto; column-gap: var(--s8); align-items: end; } .sec__row .eb { grid-column: 1; grid-row: 1; } .sec__row .hx { grid-column: 1; grid-row: 2; } .sec__row .btn { grid-column: 2; grid-row: 1 / span 2; align-self: end; justify-self: end; } }

/* ---- 1 · hero: a full-bleed poster -------------------------------------- */
.sh { position: relative; background: var(--navy-950); color: #fff; overflow: clip; --hfs: clamp(3.2rem, 15vw, 13.5rem); --sh-top: calc(var(--chrome-h) + clamp(.4rem, 2.4svh, 1.8rem)); }
.sh__stage { position: relative; isolation: isolate; min-height: 100svh; padding: 0 var(--gutter); }
/* a lit stage: a cool spotlight behind the host, a blueprint grid that fades to the edges, and film grain */
.sh .sh__wall { position: absolute; top: 0; bottom: 0; left: -7%; right: -7%; width: auto; height: auto; z-index: 0; pointer-events: none; }
.sh__stage::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    radial-gradient(78% 46% at 50% 22%, rgba(3,10,20,.88), rgba(3,10,20,.34) 55%, transparent 76%),
    radial-gradient(34% 42% at 50% 60%, rgba(58,120,196,.24), transparent 74%),
    linear-gradient(180deg, rgba(4,13,26,.44) 0%, transparent 30%, transparent 62%, rgba(7,29,54,.72) 90%, #071d36 100%); }
.sh__grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .05; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>"); }
/* drift wall — the drifting, tilted photo wall behind the hero */
.drift-wall { position: relative; width: 100%; height: 100%; overflow: hidden; perspective: var(--dw-perspective, 1200px); perspective-origin: 50% 46%;
  --dw-tile-w: 200px; --dw-tile-h: 132px; --dw-gap: 18px; --dw-radius: 12px; --dw-lift: 0px; --dw-dim: .34; --dw-gray: 0; --dw-overlay: #0b2d52; --dw-edge: 78%;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 5%, #000 84%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 5%, #000 84%, transparent 100%); }
.drift-wall__plane { position: absolute; top: 50%; left: 50%; display: flex; flex-direction: row; transform-style: preserve-3d; transform-origin: 50% 50%; will-change: transform; }
.drift-wall__col { position: relative; width: calc(var(--dw-tile-w) + var(--dw-gap)); transform-style: preserve-3d; }
.drift-wall__track { display: flex; flex-direction: column; will-change: transform; transform-style: preserve-3d; }
.drift-wall__tile { position: relative; display: block; width: 100%; height: calc(var(--dw-tile-h) + var(--dw-gap)); flex: 0 0 auto; transform-style: preserve-3d; }
.drift-wall__inner { position: absolute; inset: calc(var(--dw-gap) / 2); border-radius: var(--dw-radius); overflow: hidden; background: #0b1222; opacity: var(--dw-dim); }
.drift-wall__tile img { width: 100%; height: 100%; object-fit: cover; display: block; filter: grayscale(var(--dw-gray)) saturate(1) brightness(1.08) contrast(1.03); }
.drift-wall__overlay { position: absolute; inset: 0; background: var(--dw-overlay); opacity: .14; pointer-events: none; }
.drift-wall--reduced .drift-wall__plane, .drift-wall--reduced .drift-wall__track { will-change: auto; }
.sh__title { position: absolute; top: var(--sh-top); left: var(--gutter); right: var(--gutter); margin: 0; display: grid; justify-items: center; gap: .015em; text-align: center; font-weight: 900; text-transform: uppercase; letter-spacing: -.05em; line-height: .80; color: var(--gold); }
.sh__ln { display: block; overflow: hidden; white-space: nowrap; padding: .06em .12em; margin: -.06em -.12em; }
.sh__ln > span { display: block; background: linear-gradient(176deg, #ffffff 0%, #f2f5fa 52%, #d4dbe6 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; filter: drop-shadow(0 3px 2px rgba(0,0,0,.85)) drop-shadow(0 1px 1px rgba(0,0,0,.9)) drop-shadow(0 0 26px rgba(0,0,0,.6)); }
.sh__ln--1 { position: relative; z-index: 2; font-size: var(--hfs); }
.sh__ln--2 { position: relative; z-index: 4; font-size: calc(var(--hfs) * 0.91); } /* THE ROOM sets ~10% wider than SPONSOR at equal size; scaled so both lines fill the same width */
.sh__cut { position: absolute; z-index: 3; left: 50%; bottom: 0; transform: translateX(-50%); height: min(85svh, 53rem); width: auto; max-width: none; filter: drop-shadow(0 34px 60px rgba(0,0,0,.55)); pointer-events: none; }
@media (max-width: 720px){ .sh { --hfs: 15.5vw; } .sh__cut { height: min(70svh, 38rem); transform: translateX(calc(-50% + 4%)); } }
.band-wrap { overflow: clip; padding-block: 2.6vw; margin: -6vw 0 -2vw; position: relative; z-index: 5; background: transparent; }
.band.marquee { background: var(--gold); color: var(--navy-950); padding-block: .8rem; width: 106vw; margin-inline: -3vw; transform: rotate(-2deg); transform-origin: center; position: relative; box-shadow: 0 16px 36px -26px rgba(0,0,0,.55); }
.band .marquee__track span { font-size: clamp(1.25rem, 2.4vw, 2.1rem); gap: var(--s5); padding-right: var(--s5); letter-spacing: -.01em; font-weight: 900; }
.band .marquee__track i { color: var(--navy-950); font-size: .55em; transform: none; }

/* ---- 2 · what a sponsor gets (charcoal): three cards -------------------- */
.get { background: linear-gradient(180deg, var(--navy-950) 0%, var(--char) 16%); color: #fff; padding-top: calc(var(--band) + 3vw); padding-bottom: var(--band); position: relative; z-index: 1; }
.get .hx { color: #fff; }
.get .eb { color: var(--d-ink-2); }
.cards { display: grid; gap: var(--s4); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 760px){ .cards { grid-template-columns: 1fr; } }
.card { display: grid; gap: var(--s4); align-content: start; padding: var(--s4); border-radius: var(--r-lg); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.1); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); filter: saturate(.92); }
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: var(--s4); padding: var(--s2) var(--s2) 0; }
.card h3 { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; line-height: 1; font-size: clamp(1.3rem, 1rem + 1vw, 1.75rem); color: #fff; }
.card p { margin: 0; padding: 0 var(--s2) var(--s2); font-size: var(--t-sm); line-height: 1.55; color: var(--d-ink-2); }
.ic { flex: 0 0 auto; width: 2.4rem; height: 2.4rem; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--navy-950); }
.ic svg { width: 16px; height: 16px; }
.ic--gold { background: var(--gold); }
.card--navy { background: var(--navy-900); border-color: var(--navy-800); }

/* ---- 2b · the sponsor logo loop, inset above the cards ------------------ */
.logos__loop { width: 100%; margin: 0 0 var(--s6); overflow: clip; }

.logoloop { position: relative; --logoloop-gap: 32px; --logoloop-logoHeight: 28px; }
.logoloop__track { display: flex; width: max-content; will-change: transform; user-select: none; }
.logoloop__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.logoloop__item { flex: 0 0 auto; margin-right: var(--logoloop-gap); font-size: var(--logoloop-logoHeight); line-height: 1; }
.logoloop__item:last-child { margin-right: var(--logoloop-gap); }
.logoloop__node { display: inline-flex; align-items: center; }
.logoloop__item img { height: var(--logoloop-logoHeight); width: auto; display: block; object-fit: contain; -webkit-user-drag: none; pointer-events: none;
  filter: brightness(0) invert(1); opacity: .66; transition: opacity .3s ease, transform .3s cubic-bezier(.4,0,.2,1); }
.logoloop__link { display: inline-flex; align-items: center; text-decoration: none; }
.logoloop--scale-hover .logoloop__item:hover img { opacity: 1; transform: scale(1.12); }
.logoloop--fade::before, .logoloop--fade::after { content: ""; position: absolute; top: 0; bottom: 0; width: clamp(48px, 14%, 180px); pointer-events: none; z-index: 2; }
.logoloop--fade::before { left: 0; background: linear-gradient(to right, var(--logoloop-fadeColor, var(--char)) 0%, rgba(0,0,0,0) 100%); }
.logoloop--fade::after { right: 0; background: linear-gradient(to left, var(--logoloop-fadeColor, var(--char)) 0%, rgba(0,0,0,0) 100%); }
@media (prefers-reduced-motion: reduce){ .logoloop__track { transform: none !important; } .logoloop__item img { transition: none !important; } }

/* ---- 3 · the room: a framed-photo masonry (paper) ---------------------- */
.col { background: var(--paper); color: var(--ink); overflow: clip; padding-top: clamp(4rem, 7vw, 8rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.col__field { width: min(100%, 92rem); margin: 0 auto; columns: 4; column-gap: var(--s4); }
.col__head { width: min(100%, 60rem); margin: 0 auto var(--s7); padding-inline: var(--gutter); }
.col__h { margin: 0; text-align: center; font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -.02em; font-size: clamp(2rem, 1rem + 3vw, 4rem); color: var(--ink); text-wrap: balance; }
.col__h .col__tail { display: block; margin-top: .32em; font-size: .44em; font-weight: 800; color: var(--ink-3); }
/* rotating-word pill (shared with the chrome mark headline) */
.col__pill { display: inline-grid; align-items: center; padding: .02em .3em .08em; border-radius: .24em; background: var(--gold); color: var(--navy-950); overflow: hidden; vertical-align: bottom; margin-left: .12em; }
.col__word { display: block; }
.col__word.is-out { animation: wordOut .28s forwards; }
.col__word.is-in { animation: wordIn .45s cubic-bezier(.2,.8,.2,1); }
@keyframes wordOut { to { opacity: 0; transform: translateY(-.5em); } }
@keyframes wordIn { from { opacity: 0; transform: translateY(.55em); } }
.col__tail { display: block; margin-top: .35em; font-size: .5em; font-weight: 800; letter-spacing: -.01em; color: var(--ink-3); }
.col__ph { margin: 0 0 var(--s4); padding: 6px; background: #fff; border-radius: 14px; box-shadow: 0 24px 50px -28px rgba(11,31,58,.46), 0 0 0 1px rgba(11,31,58,.06); break-inside: avoid; display: block; width: 100%; will-change: transform; }
.col__ph img { display: block; width: 100%; height: auto; border-radius: 9px; transition: transform .6s var(--ease-out); }
@media (hover: hover){ .col__ph:hover img { transform: scale(1.04); } }
.col__ph--1{--rot:-3} .col__ph--2{--rot:3} .col__ph--3{--rot:-2} .col__ph--4{--rot:2.5}
.col__ph--5{--rot:-3} .col__ph--6{--rot:3} .col__ph--7{--rot:-2.5} .col__ph--8{--rot:2}
.col__ph--9{--rot:-3} .col__ph--10{--rot:2} .col__ph--11{--rot:3} .col__ph--12{--rot:-2}
@media (max-width: 1040px){ .col__field { columns: 3; } }
@media (max-width: 640px){ .col__field { columns: 2; column-gap: var(--s4); } .col__ph { padding: 5px; border-radius: 12px; } .col__ph img { border-radius: 8px; } .col__ph--desk { display: none; } }

/* ---- 3b · ways to partner: sponsorship tiers (paper) ------------------- */
.tiers { background: var(--paper); color: var(--ink); padding-block: var(--band); position: relative; z-index: 1; }
.tiers .hx { color: var(--ink); }
.tiers__lead { max-width: 52ch; margin: var(--s4) 0 0; font-size: var(--t-md); line-height: 1.55; color: var(--ink-2, #334155); }
.tiers__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s5); margin-top: var(--s8); align-items: stretch; }
.tier { position: relative; display: flex; flex-direction: column; gap: var(--s4); padding: var(--s5); border-radius: var(--r-lg); background: #fff; border: 1px solid rgba(11,31,58,.12); box-shadow: 0 22px 46px -32px rgba(11,31,58,.45); }
.tier--feat { background: var(--navy-950); color: #fff; border-color: var(--navy-800); box-shadow: 0 34px 66px -28px rgba(7,29,54,.62); }
@media (min-width: 981px){ .tier--feat { transform: translateY(-10px); } }
.tier__flag { position: absolute; top: -.75rem; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: .3rem .7rem; border-radius: var(--r-pill); background: var(--gold); color: var(--navy-950); font-size: .64rem; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; box-shadow: 0 8px 18px -8px rgba(0,0,0,.4); }
.tier__head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .4rem; padding-bottom: var(--s4); border-bottom: 1px solid rgba(11,31,58,.12); }
.tier--feat .tier__head { border-bottom-color: rgba(255,255,255,.16); }
.tier__name { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; font-size: 1.1rem; color: var(--navy-900); }
.tier--feat .tier__name { color: #fff; }
.tier__price { margin: 0; font-weight: 900; letter-spacing: -.02em; font-size: clamp(1.7rem, 1rem + 1.8vw, 2.4rem); color: var(--navy-900); }
.tier--feat .tier__price { color: var(--gold); }
.tier__price span { font-size: .4em; font-weight: 700; letter-spacing: 0; color: var(--ink-3); }
.tier--feat .tier__price span { color: var(--d-ink-2); }
.tier__cap { margin: 0; font-weight: 800; font-size: var(--t-sm); color: var(--ink-2, #334155); }
.tier--feat .tier__cap { color: var(--gold); }
.tier__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; font-size: var(--t-sm); line-height: 1.4; }
.tier__list li { position: relative; padding-left: 1.5em; color: var(--ink-2, #334155); }
.tier--feat .tier__list li { color: var(--d-ink-2); }
.tier__list li::before { content: "\2726"; position: absolute; left: 0; top: 0; color: var(--gold); }
.tier .btn { margin-top: auto; justify-content: center; }
.tier__note { margin: 0; padding: .6rem .75rem; border-radius: var(--r-md); background: var(--paper); font-size: var(--t-xs); font-weight: 700; color: var(--ink-3); }
.tiers__foot { margin: var(--s7) 0 0; font-size: var(--t-md); color: var(--ink-3); }
.tiers__foot a { color: var(--ink); font-weight: 800; text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: .2em; }
@media (max-width: 980px){ .tiers__grid { grid-template-columns: 1fr; max-width: 34rem; gap: var(--s6); } .tier--feat { order: -1; } }
@media (max-width: 560px){ .tier__flag { font-size: .6rem; } }

/* ---- 1b · the fork: two ways in (paper). Each card wears the colour of
   the section it leads to, so the choice reads before the words do. ------- */
.ways { background: var(--paper); color: var(--ink); padding-block: var(--band) calc(var(--band) * .7); position: relative; z-index: 1; }
.ways__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s5); }
.way { position: relative; display: flex; flex-direction: column; gap: var(--s4); min-height: 22rem; padding: clamp(1.5rem, 1rem + 2vw, 2.75rem); border-radius: var(--r-lg); color: #fff; text-decoration: none; overflow: hidden; isolation: isolate; box-shadow: 0 34px 66px -34px rgba(7,29,54,.55); transition: transform .5s cubic-bezier(.2,.8,.2,1), box-shadow .5s cubic-bezier(.2,.8,.2,1); }
.way::after { content: ""; position: absolute; right: -18%; bottom: -38%; width: 70%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(255,255,255,.14), transparent 68%); z-index: -1; pointer-events: none; }
.way--navy { background: linear-gradient(160deg, var(--navy-800) 0%, var(--navy-950) 70%); }
.way--cobalt { background: linear-gradient(160deg, #3a7fd1 0%, var(--cobalt) 45%, var(--cobalt-edge) 100%); }
.way:hover { transform: translateY(-4px); box-shadow: 0 44px 80px -34px rgba(7,29,54,.7); }
.way:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.way__tag { align-self: flex-start; padding: .35rem .75rem; border-radius: var(--r-pill); background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); font-size: var(--t-xs); font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.way__h { margin: auto 0 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.03em; line-height: .92; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); }
.way p { margin: 0; max-width: 40ch; font-size: var(--t-md); line-height: 1.5; color: rgba(255,255,255,.82); }
.way__go { display: inline-flex; align-items: center; gap: .6em; font-weight: 800; color: var(--gold); }
.way__go svg { width: 1.1em; height: .7em; transition: transform .4s cubic-bezier(.2,.8,.2,1); }
.way:hover .way__go svg { transform: translateX(4px); }
.ways__note { margin: var(--s5) 0 0; font-size: var(--t-sm); font-weight: 700; color: var(--ink-3); }
@media (max-width: 760px){ .ways__grid { grid-template-columns: 1fr; } .way { min-height: 17rem; } }

/* ---- 4 · the referral network (cobalt). The one loud colour block on the
   page, so the second programme is never mistaken for a sponsorship tier. -- */
.ref { background: linear-gradient(180deg, var(--cobalt) 0%, var(--cobalt-deep) 100%); color: #fff; padding-block: var(--band); position: relative; z-index: 1; overflow: hidden; }
.ref::before { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 85% 0%, rgba(255,255,255,.14), transparent 70%); pointer-events: none; }
.ref .wrap { position: relative; }
.ref .eb { color: rgba(255,255,255,.75); }
.ref .hx { color: #fff; }
.ref__head { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: var(--s6); align-items: end; margin-bottom: var(--s8); }
.ref__head .sec__row { margin-bottom: 0; }
.ref__lead { margin: 0; max-width: 46ch; font-size: var(--t-lg); line-height: 1.5; color: rgba(255,255,255,.9); }
.ref__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s4); counter-reset: none; }
.step { position: relative; display: flex; flex-direction: column; gap: var(--s3); padding: var(--s5); border-radius: var(--r-lg); background: rgba(7,29,54,.32); border: 1px solid rgba(255,255,255,.16); }
.step__n { font-weight: 900; font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3.2rem); letter-spacing: -.04em; line-height: 1; color: var(--gold); }
.step h3 { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; font-size: 1.15rem; }
.step p { margin: 0; font-size: var(--t-sm); line-height: 1.55; color: rgba(255,255,255,.82); }
.ref__two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.ref__col { padding: var(--s5) var(--s6); border-radius: var(--r-lg); background: #fff; color: var(--ink); box-shadow: 0 30px 60px -36px rgba(7,29,54,.7); }
.ref__h { margin: 0 0 var(--s4); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; font-size: 1.15rem; color: var(--navy-900); }
.ref__list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; font-size: var(--t-sm); line-height: 1.45; }
.ref__list li { position: relative; padding-left: 1.6em; color: var(--ink-2); }
.ref__list li::before { content: ""; position: absolute; left: 0; top: .3em; width: .95em; height: .95em; border-radius: 50%; background: var(--cobalt) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.3 5 8.6l4.6-5' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 70% no-repeat; }
.ref__foot { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: var(--s4); margin-top: var(--s4); }
.ref__open { padding: var(--s5) var(--s6); border-radius: var(--r-lg); background: var(--navy-950); border: 1px solid rgba(255,255,255,.1); }
.ref__open-h { margin: 0 0 var(--s2); font-size: var(--t-xs); font-weight: 900; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.ref__open p:last-child { margin: 0; font-size: var(--t-md); line-height: 1.55; color: var(--d-ink); }
.ref__first { display: flex; flex-direction: column; justify-content: center; gap: .3rem; padding: var(--s5) var(--s6); border-radius: var(--r-lg); background: var(--gold); color: var(--navy-950); }
.ref__first-tag { display: inline-flex; align-items: center; gap: .5em; margin: 0; font-size: var(--t-xs); font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.ref__first-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--navy-950); }
.ref__first-name { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.02em; font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); line-height: 1.05; }
.ref__first-perk { margin: 0; font-weight: 700; font-size: var(--t-md); }
.ref__cta { display: flex; flex-wrap: wrap; gap: var(--s4); margin-top: var(--s7); }
@media (max-width: 1100px){ .ref__steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px){ .ref__head, .ref__two, .ref__foot { grid-template-columns: 1fr; } }
@media (max-width: 520px){ .ref__steps { grid-template-columns: 1fr; } .ref__col, .ref__open, .ref__first { padding: var(--s5); } .ref__cta .btn { width: 100%; justify-content: center; } }

/* ---- bubble menu: the nav wherever the header links are hidden ---------- */
.bubble-toggle { display: none; position: fixed; right: var(--gutter); bottom: var(--gutter); z-index: 160;
  width: 3.25rem; height: 3.25rem; padding: 0; border: 0; border-radius: 50%;
  background: var(--navy-950); color: #fff; cursor: pointer; -webkit-tap-highlight-color: transparent;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.16), 0 14px 30px -10px rgba(7,29,54,0.75);
  transition: opacity var(--d-base) var(--ease-out), transform var(--d-fast) var(--ease-out); }
.bubble-toggle:active { transform: scale(0.94); }
/* open, it sits on the navy overlay — invert so the close control stays obvious */
.bubble-toggle.is-open { background: var(--paper); color: var(--navy-950);
  box-shadow: inset 0 0 0 1px rgba(11,45,82,0.1), 0 14px 30px -10px rgba(0,0,0,0.55); }
body.flow-active .bubble-toggle { opacity: 0; pointer-events: none; }
.bubble-toggle__line { position: absolute; left: 50%; width: 18px; height: 2px; margin-left: -9px;
  border-radius: 2px; background: currentColor;
  transition: transform 0.34s var(--ease-out), top 0.34s var(--ease-out); }
.bubble-toggle__line:first-child { top: calc(50% - 4px); }
.bubble-toggle__line:last-child  { top: calc(50% + 2px); }
.bubble-toggle.is-open .bubble-toggle__line:first-child { top: calc(50% - 1px); transform: rotate(45deg); }
.bubble-toggle.is-open .bubble-toggle__line:last-child  { top: calc(50% - 1px); transform: rotate(-45deg); }
@media (max-width: 1080px) { .bubble-toggle { display: block; } }


.bubble-menu-items { position: fixed; inset: 0; z-index: 150; display: none;
  background: linear-gradient(180deg, rgba(4,13,26,0.98) 0%, rgba(7,29,54,0.98) 100%);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
body.menu-open { overflow: hidden; }
.menu-flow { position: absolute; top: calc(var(--chrome-h) + 0.5rem); right: 0; bottom: 5.25rem; left: 0; }
.menu-cta { position: absolute; left: 0; right: 0; bottom: 0; height: 5.25rem;
  display: grid; place-items: center; padding-inline: var(--gutter); }

/* flowing menu */
.flowing-menu { position: relative; box-sizing: border-box; width: 100%; height: 100%; overflow: hidden; }
.flowing-menu__list { position: relative; display: flex; flex-direction: column; height: 100%; margin: 0; padding: 0; list-style: none; }
.flowing-menu__item { position: relative; flex: 1 1 0; min-height: 48px; overflow: hidden; container-type: size; }
.flowing-menu__divider { position: absolute; top: 0; right: 0; left: 0; height: 1px;
  background: var(--flowing-menu-border, rgba(255,255,255,0.14)); transform-origin: left center; pointer-events: none; }
.flowing-menu__link { position: relative; box-sizing: border-box; display: grid;
  grid-template-columns: 1fr auto 1fr; align-items: center; gap: 16px; width: 100%; height: 100%;
  padding: 0 clamp(16px, 4cqw, 40px); border: 0; background: none; color: inherit; font: inherit;
  text-align: left; text-decoration: none; outline: none; cursor: pointer;
  transition: opacity 0.45s ease; -webkit-tap-highlight-color: transparent; }
.flowing-menu__link:focus-visible { outline: 2px solid currentColor; outline-offset: -4px; }
.flowing-menu__index { justify-self: start; min-width: 1.6em; font-size: clamp(11px, 12cqh, 15px); opacity: 0.5; }
.flowing-menu__label { display: flex; align-items: center; gap: 0.28em; justify-self: center; overflow: hidden;
  padding: 0.06em 0; font-size: clamp(16px, 34cqh, 120px); font-weight: 800; line-height: 1.1;
  letter-spacing: -0.035em; white-space: nowrap; }
.flowing-menu__label-text { display: block; }
.flowing-menu__dot { display: block; width: 0.2em; height: 0.2em; flex-shrink: 0; border-radius: 999px; background: currentColor; }
.flowing-menu__end { display: flex; align-items: center; justify-self: end; gap: 14px; }
.flowing-menu__band { position: absolute; inset: 0; z-index: 1; overflow: hidden; visibility: hidden;
  pointer-events: none; clip-path: inset(50% 0 50% 0); }
.flowing-menu__track { display: flex; align-items: center; width: max-content; height: 100%; will-change: transform; }
.flowing-menu__part { display: flex; flex-shrink: 0; align-items: center; height: 100%; }
.flowing-menu__part-text { padding: 0 0.4em; font-weight: 800; line-height: 1.1; letter-spacing: -0.025em; white-space: nowrap;
  font-size: clamp(14px, calc(32cqh * var(--flowing-menu-band, 1)), 110px); }
.flowing-menu__image { display: block; flex-shrink: 0; height: calc(56cqh * var(--flowing-menu-band, 1));
  aspect-ratio: 2.2 / 1; margin: 0 calc(3.5cqh * var(--flowing-menu-band, 1)); border-radius: 999px;
  background-position: center; background-size: cover; }

@media (prefers-reduced-motion: reduce) { .bubble-toggle__line { transition: none; } }

/* ---- pill nav: fill-and-roll hover + a dot that springs to the current -- */
.nav__links.pill-nav { --pn-x: 11px; --pn-gap: 4px; --pn-pill: #0b2d52; --pn-pill-ink: #ffffff;
  --pn-dot: var(--navy-900); --pn-roll: 2.2em;   /* JS replaces this with an exact px value */
  gap: 0; position: relative; }
.pill-nav__track { position: relative; display: flex; align-items: center; height: 100%; }
.pill-nav__list { display: flex; align-items: stretch; gap: var(--pn-gap); margin: 0; padding: 0; list-style: none; }
.pill-nav__slot { display: flex; }
.nav__links.pill-nav a.pill-nav__item {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  padding: 0.55rem var(--pn-x); border-radius: var(--r-pill);
  overflow: hidden; isolation: isolate; white-space: nowrap;
  /* each item sits on its own raised tile */
  background: linear-gradient(180deg, #ffffff 0%, #fafafc 100%);
  box-shadow: inset 0 0 0 1px rgba(11,45,82,0.07), inset 0 1px 0 #ffffff, 0 2px 6px -4px rgba(11,45,82,0.35);
  transition: color var(--d-fast) var(--ease-out), box-shadow var(--d-fast) var(--ease-out); }
.nav__links.pill-nav a.pill-nav__item[aria-current] { color: var(--ink); }
.nav__links.pill-nav a.pill-nav__item::after { display: none; }   /* the dot is the indicator now */
.pill-nav__face { display: inline-flex; align-items: center; transition: transform 0.36s cubic-bezier(0.22,1,0.36,1); }
.pill-nav__face-alt { position: absolute; inset: 0; display: inline-flex; align-items: center; justify-content: center;
  color: var(--pn-pill-ink); transform: translateY(var(--pn-roll)); transition: transform 0.36s cubic-bezier(0.22,1,0.36,1); }
.pill-nav__slot[data-hover] .pill-nav__face { transform: translateY(calc(var(--pn-roll) * -1)); transition-duration: 0.5s; }
.pill-nav__slot[data-hover] .pill-nav__face-alt { transform: translateY(0); transition-duration: 0.5s; }
.pill-nav__fill { position: absolute; top: 100%; left: 50%; z-index: -1;
  width: var(--pn-fill, 200%); height: var(--pn-fill, 200%);
  margin: calc(var(--pn-fill, 200%) / -2) 0 0 calc(var(--pn-fill, 200%) / -2);
  border-radius: 50%; background: var(--pn-pill); transform: scale(0);
  transition: transform 0.36s cubic-bezier(0.4,0,0.2,1); pointer-events: none; }
.pill-nav__slot[data-hover] .pill-nav__fill { transform: scale(1); transition: transform 0.55s cubic-bezier(0.22,1,0.36,1); }
.pill-nav__underline { position: absolute; bottom: -7px; left: 0; width: 0; height: 2px;
  border-radius: 2px; background: var(--pn-dot); opacity: 0; pointer-events: none;
  will-change: transform, width, opacity; }
@media (prefers-reduced-motion: reduce) {
  .pill-nav__face, .pill-nav__face-alt, .pill-nav__fill { transition: none; }
}

/* ---- react-bits layers: specular buttons, spotlight cards --------------- */

/* specular button — a lit edge that follows the cursor */
.btn.has-specular { isolation: isolate; }
/* the specular canvas bleeds 24px past the button; clip that at the page so it
   never widens the document. overflow-x:clip creates no scrollport, so the
   sticky chrome-mark parallax inside keeps working. */
main { overflow-x: clip; }
.btn.has-specular > *:not(.specular-button__light) { position: relative; z-index: 2; }
.specular-button__light { position: absolute; inset: -24px; z-index: 1; display: block;
  width: calc(100% + 48px); height: calc(100% + 48px); max-width: none; pointer-events: none; border-radius: inherit; }

/* spotlight card — light follows the pointer across the surface and edge */
.spotlight-card { position: relative; isolation: isolate; overflow: hidden; }
.spotlight-card > .spotlight-card__light,
.spotlight-card > .spotlight-card__grain,
.spotlight-card > .spotlight-card__border,
.spotlight-card > .spotlight-card__edge { position: absolute; inset: 0; border-radius: inherit; pointer-events: none; }
.spotlight-card > .spotlight-card__light,
.spotlight-card > .spotlight-card__grain { z-index: 0; opacity: 0; }
.spotlight-card > .spotlight-card__grain { background-size: 160px 160px; mix-blend-mode: overlay; }
.spotlight-card > .spotlight-card__border,
.spotlight-card > .spotlight-card__edge { z-index: 3; padding: 1px;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.spotlight-card > .spotlight-card__border { background: transparent; }
.spotlight-card > .spotlight-card__edge { opacity: 0; }
/* card content must sit above the light */
.card.spotlight-card > img, .card.spotlight-card > .card__shot,
.card.spotlight-card > .card__top, .card.spotlight-card > p,
.tier.spotlight-card > * { position: relative; z-index: 2; }

/* ---- a credited photo in a card ----------------------------------------
   The other card images are anonymous rooms. This one is a real partner at a
   real event, so it is credited rather than passing as stock. */
.card__shot { position: relative; display: block; margin: 0; }
.card__tag { position: absolute; left: var(--s2); bottom: var(--s2);
  display: inline-flex; align-items: center; gap: .42rem;
  padding: .34rem .62rem; border-radius: var(--r-pill);
  background: rgba(7, 29, 54, .78); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, .18);
  font-size: .6875rem; font-weight: 800; letter-spacing: .01em; line-height: 1;
  color: #fff; white-space: nowrap; }
.card__tag i { width: 6px; height: 6px; border-radius: 50%; background: var(--gold); flex: none; }

/* ---- 4b · the mark: liquid chrome, parallax hold (deep navy) ------------ */
.mark { position: relative; z-index: 0; min-height: 150svh; background: #020a14; padding-block: var(--band); }
.mark__pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; overflow: clip; isolation: isolate;
  background:
    radial-gradient(38% 38% at 50% 45%, rgba(86,156,236,.42), transparent 70%),
    radial-gradient(130% 120% at 50% 50%, transparent 36%, rgba(1,6,13,.94) 100%),
    #020a14; }
.mark__pin > canvas { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; display: block; }
.mark__scrim { position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(34% 40% at 50% 50%, rgba(2,10,20,.78), rgba(2,10,20,.38) 52%, transparent 74%); }
.mark__grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch'/></filter><rect width='200' height='200' filter='url(%23n)'/></svg>"); }
.mark__inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: clamp(1.4rem, 4.5vh, 3rem); padding-inline: var(--gutter); }
.mark__h { margin: 0; max-width: 20ch; text-align: center; font-weight: 900; text-transform: uppercase; line-height: 1; letter-spacing: -.02em; color: #fff; font-size: clamp(1.7rem, 1rem + 2.4vw, 3.2rem); text-wrap: balance; }
.mark__h .col__tail { display: block; margin-top: .4em; font-size: .46em; font-weight: 800; letter-spacing: -.005em; color: rgba(255,255,255,.66); }
.mark__logo { position: relative; z-index: 2; width: clamp(230px, 23vw, 360px); aspect-ratio: 613 / 581; filter: drop-shadow(0 32px 72px rgba(0,0,0,.7)); }
.mark__logo .metal__canvas { width: 100%; height: 100%; display: block; }
@media (max-width: 720px){ .mark__logo { width: clamp(210px, 60vw, 300px); } }
.mark + section { position: relative; z-index: 2; margin-top: -40svh; background: var(--paper); }

/* ---- 5 · the ask (photo) ------------------------------------------------- */
.cta { position: relative; min-height: 72svh; display: grid; align-items: center; overflow: clip; color: #fff; isolation: isolate; }
.cta__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: -2; filter: saturate(.85); }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,29,54,.72), rgba(7,29,54,.9)); }
.cta__in { display: grid; justify-items: center; text-align: center; gap: var(--s5); padding-block: var(--band); }
.cta__h { margin: 0; font-weight: 900; text-transform: uppercase; letter-spacing: -.035em; line-height: .9; font-size: clamp(2.8rem, 1.5rem + 6vw, 7rem); color: #fff; }
.cta__btns { display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s3); }

/* =================================================================== footer */
.foot { background: var(--navy-900); color: var(--d-ink); padding-block: var(--s9) var(--s6); border-top: 1px solid rgba(245,242,236,0.12); box-shadow: inset 0 14px 30px -24px rgba(0,0,0,0.8); }
.foot__top { display: grid; gap: var(--s8); }
@media (min-width: 900px) { .foot__top { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr); gap: var(--s10); } }

.foot__brand { display: grid; gap: var(--s5); align-content: start; justify-items: start; }
.foot__mark { margin: 0; }
.foot__mark img { width: 150px; height: auto; display: block; }
.foot__sub { display: block; margin: var(--s3) 0 0; font-size: var(--t-xs); color: var(--d-ink-3); }
.foot__line { margin: 0; color: var(--d-ink-2); max-width: 30ch; }

.foot__cols { display: grid; gap: var(--s7); grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 560px) { .foot__cols { grid-template-columns: 1fr 1fr; } }
.foot__cols > div { display: grid; gap: var(--s3); align-content: start; justify-items: start; }
.foot__h { margin: 0 0 var(--s2); font-size: var(--t-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--d-ink-3); }
.foot__cols a { font-size: var(--t-sm); color: var(--d-ink-2); text-decoration: none; transition: color var(--d-fast) var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .foot__cols a:hover { color: var(--d-ink); } }

.foot__legal {
  display: flex; flex-wrap: wrap; gap: var(--s3) var(--s6); justify-content: space-between;
  margin-top: var(--s8); padding-top: var(--s5);
  border-top: 1px solid var(--d-hair);
}
.foot__legal p { margin: 0; font-size: var(--t-xs); color: var(--d-ink-3); }

.stamp {
  border: 1.5px solid rgba(201,211,222,0.55); border-radius: var(--r-xs);
  padding: var(--s3) var(--s5); color: var(--gold);
  font-size: var(--t-sm); font-weight: 600; text-align: center;
  rotate: -1.4deg; opacity: 0; scale: 1.14; margin: 0; line-height: 1.35;
}
.stamp span { display: block; color: var(--d-ink-3); font-size: var(--t-xs); font-weight: 500; margin-top: 2px; }

/* ====================================================== entrance primitives */
[data-in] { opacity: 0; }
[data-in="up"] { transform: translateY(22px); }
[data-in="fade"] { transform: none; }
.is-in { opacity: 1; transform: none; }
[data-reveal] { clip-path: inset(100% 0 0 0); }

@media (prefers-reduced-motion: reduce) {
  [data-in] { transform: none !important; }
  [data-reveal] { clip-path: none !important; }
  .stamp { opacity: 1; scale: 1; }
  .hl { color: #ffffff; }
  .hl::before { scale: 1 1; }
  .hero__img, .say__media img, .figure--clip img, .event-card > img { transform: none !important; }
}
.reduced [data-in] { transform: none !important; }
.reduced [data-reveal] { clip-path: none !important; }
.reduced .stamp { opacity: 1; scale: 1; }
.reduced .hl { color: #ffffff; }
.reduced .hl::before { scale: 1 1; }

.no-js [data-in] { opacity: 1; transform: none; }
/* Without JS (e.g. index.html opened straight from Finder, where module scripts
   are blocked) the WebGL plate can never start: show the still of it instead. */
.no-js #plate { display: none; }
.no-js #plateFallback[hidden] { display: block; }
.no-js [data-reveal] { clip-path: none; }
.no-js .stamp { opacity: 1; scale: 1; }
.no-js .hl { color: #ffffff; }
.reduced .dark .hl, .no-js .dark .hl { color: var(--navy-950); }
.no-js .hl::before { scale: 1 1; }

/* ==================================================================== events
   The events page: a grid of embedded posts, newest first. */
.page { padding-top: 6rem; }
.events .up__kick { justify-content: flex-start; margin-bottom: var(--s3); color: var(--brass); }
.events__h { margin: 0; max-width: 16ch; }
.events__lede { margin: var(--s4) 0 0; max-width: 40ch; }
.events__cta { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); }
.events__sub { margin: var(--s8) 0 var(--s4); padding-top: var(--s4); border-top: 1px solid var(--hair); font-size: var(--t-2xs); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.events__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: var(--s5); }
.events__grid .igpost { width: auto; }
.igpost__meta { margin: var(--s2) 0 0; display: grid; gap: 2px; font-size: var(--t-xs); color: var(--ink-3); }
.igpost__meta b { font-family: var(--f-serif); font-weight: 800; font-size: var(--t-sm); color: var(--ink); }
.events__empty { margin: 0; color: var(--ink-3); font-size: var(--t-sm); }

/* ================================================================= the plate
   The member plate had no rules at all, so its canvas rendered at the 300x150
   default, left-aligned in an otherwise empty navy band. monogram.js sizes the
   drawing buffer from canvas.clientWidth/clientHeight, so the box has to be
   real before it can draw at the right scale. */
/* The plate now rides the same shell as the mark: .mark gives it the dark
   ground and the 150svh scroll length, .mark__pin the sticky hold, the centre
   glow and the vignette, and .mark + section pulls the host up over it. Only
   the plate itself needs rules here. It sits above the scrim and grain, which
   both sit at z-index 1. Width is capped against svh as well as vw so the 3:2
   plate always clears the 100svh pin on short screens. */
.memb__plate { position: relative; z-index: 2; width: min(760px, 86vw, 116svh); }
.plate { position: relative; width: 100%; aspect-ratio: 3 / 2;
  filter: drop-shadow(0 34px 70px rgba(0, 0, 0, .62)); }
.plate > canvas, .plate__fallback { position: absolute; inset: 0; width: 100%; height: 100%; }
.plate__fallback img { width: 100%; height: 100%; object-fit: contain; }

/* ======================================================== the event question
   The "which night" options are built from js/events.js. The permissions step
   grows a note when a later event is what they asked for. */
.toggle__why { display: block; margin-top: .45rem; padding-left: .7rem; font-size: var(--t-xs);
  border-left: 2px solid var(--gold); color: var(--d-ink-2); }
