/* ============================================================
   AI-FORWARD AGENCY MASTERCLASS · MIAMI
   Ember Glass: warm OLED black, golden-hour glow, machined bezels.
   Type: Clash Display (display) + Satoshi (text), self-hosted.
   ============================================================ */

@font-face {
  font-family: "Clash Display";
  src: url("../fonts/ClashDisplay-Variable.woff2") format("woff2");
  font-weight: 200 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Satoshi";
  src: url("../fonts/Satoshi-Variable.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #080605;
  --bg-2: #0d0a08;
  --panel: #13100d;
  --panel-2: #0f0c0a;
  --ink: #f7f1ea;
  --ink-2: #e7ddd2;
  --muted: #b6a99d;
  --dim: #8a7d72;
  --faint: #4d433b;
  --line: rgba(255, 236, 220, 0.075);
  --line-2: rgba(255, 236, 220, 0.14);
  --ember: #ff6a2b;
  --ember-2: #ff8a4f;
  --amber: #ffb783;
  --rose: #ff4d6d;
  --on-ember: #1c0c04;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --font-d: "Clash Display", "Satoshi", ui-sans-serif, system-ui, sans-serif;
  --font-b: "Satoshi", ui-sans-serif, system-ui, -apple-system, sans-serif;
  /* Clash Display ships a 0.14em space; tight tracking eats most of it, so display text adds some back */
  --ws-d: 0.1em;
  --r-shell: 28px;
  --r-core: 22px; /* concentric: 28 = 22 + 6 */
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
* { margin: 0; padding: 0; }

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

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-b); word-spacing: normal;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; }
h1, h2, h3 { text-wrap: balance; font-weight: 600; }
p { text-wrap: pretty; }
strong, b { font-weight: 700; color: var(--ink); }

::selection { background: rgba(255, 106, 43, 0.38); color: #fff; }
:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; border-radius: 8px; }

.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  padding: 10px 16px; border-radius: 999px; background: var(--ember); color: var(--on-ember); font-weight: 700;
}
.skip:focus { top: 12px; }

/* ---------- ambient background ---------- */

.bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; will-change: transform; }
.orb-a {
  width: 1200px; height: 1200px; top: -520px; right: -260px;
  background: radial-gradient(circle, rgba(255, 106, 43, 0.2) 0%, rgba(255, 106, 43, 0.06) 40%, transparent 68%);
  animation: drift 28s var(--ease-out) infinite alternate;
}
.orb-b {
  width: 900px; height: 900px; top: 38%; left: -420px;
  background: radial-gradient(circle, rgba(255, 77, 109, 0.1) 0%, rgba(255, 77, 109, 0.03) 45%, transparent 70%);
  animation: drift 34s var(--ease-out) infinite alternate-reverse;
}
.orb-c {
  width: 800px; height: 800px; bottom: -380px; right: -200px;
  background: radial-gradient(circle, rgba(255, 150, 70, 0.1) 0%, rgba(255, 150, 70, 0.03) 45%, transparent 70%);
  animation: drift 30s var(--ease-out) infinite alternate;
}
@keyframes drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-60px, 50px, 0); }
}
.bg-grid {
  position: absolute; inset: 0;
  background:
    linear-gradient(rgba(255, 236, 220, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 236, 220, 0.03) 1px, transparent 1px);
  background-size: 72px 72px;
  -webkit-mask-image: radial-gradient(ellipse 80% 55% at 70% 0%, #000 25%, transparent 72%);
  mask-image: radial-gradient(ellipse 80% 55% at 70% 0%, #000 25%, transparent 72%);
}
.grain {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ---------- layout primitives ---------- */

.wrap { width: min(1240px, calc(100% - 2 * var(--gutter))); margin: 0 auto; position: relative; }
.section { padding: clamp(84px, 11vw, 150px) 0; position: relative; scroll-margin-top: 90px; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.01em; color: var(--amber);
}
.kicker::before {
  content: ""; width: 22px; height: 1.5px; border-radius: 2px;
  background: linear-gradient(90deg, var(--ember), rgba(255, 106, 43, 0));
}

.h2 {
  font-family: var(--font-d); word-spacing: var(--ws-d);
  font-size: clamp(2.1rem, 1.1rem + 3.3vw, 4.1rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
  margin-top: 16px;
}
.h2-sm { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.3rem); }
.accent { color: var(--ember); }
/* the accent line balances on its own; one width for the whole heading leaves short last lines like "in it." */
.h2 .accent { display: block; }

.lede { font-size: clamp(1.02rem, 0.96rem + 0.3vw, 1.18rem); color: var(--muted); max-width: 34em; }
.note { margin-top: 18px; font-size: 13.5px; color: var(--dim); }

.head-split {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: 24px 56px; align-items: end; margin-bottom: clamp(40px, 5vw, 64px);
}
.head-split .lede { padding-bottom: 6px; }
.head-center { text-align: center; display: grid; justify-items: center; margin-bottom: clamp(40px, 5vw, 60px); }
.head-center .lede { margin-top: 18px; }


/* ---------- double-bezel shell ---------- */

.shell {
  padding: 6px; border-radius: var(--r-shell);
  background: rgba(255, 236, 220, 0.022);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.07);
}
.core {
  position: relative; overflow: hidden; height: 100%;
  border-radius: var(--r-core);
  background: linear-gradient(180deg, #15110e 0%, #0f0c0a 100%);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.055), inset 0 0 0 1px rgba(255, 236, 220, 0.045);
  padding: clamp(22px, 3vw, 34px);
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 48px; padding: 0 7px 0 22px; border-radius: 999px;
  font-family: var(--font-b); word-spacing: normal; font-weight: 700; font-size: 15px; letter-spacing: -0.005em; line-height: 1;
  white-space: nowrap; cursor: pointer; user-select: none;
  transition-property: transform, box-shadow, background-color, color;
  transition-duration: 0.5s; transition-timing-function: var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  color: var(--on-ember);
  background: linear-gradient(180deg, #ff8a52 0%, #ff6a2b 52%, #f2561a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.38),
    inset 0 -1px 0 rgba(90, 20, 0, 0.25),
    0 12px 32px -10px rgba(255, 106, 43, 0.6);
}
.btn-primary:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.45),
    inset 0 -1px 0 rgba(90, 20, 0, 0.25),
    0 18px 44px -10px rgba(255, 106, 43, 0.8);
}
.btn-icon {
  width: 34px; height: 34px; border-radius: 50%; flex: none;
  display: grid; place-items: center;
  background: rgba(28, 12, 4, 0.14);
  box-shadow: inset 0 0 0 1px rgba(28, 12, 4, 0.08);
  transition: transform 0.5s var(--ease);
}
.btn-icon svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.1; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover .btn-icon { transform: translate(2px, -2px) scale(1.06); }
.btn-ghost {
  padding: 0 24px; color: var(--ink);
  background: rgba(255, 236, 220, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.btn-ghost:hover { background: rgba(255, 236, 220, 0.08); }
.btn-lg { height: 58px; font-size: 16px; padding-left: 26px; padding-right: 8px; }
.btn-lg.btn-ghost { padding: 0 28px; }
.btn-lg .btn-icon { width: 42px; height: 42px; }
.btn-sm { height: 40px; font-size: 14px; padding-left: 16px; padding-right: 5px; gap: 10px; }
.btn-sm .btn-icon { width: 30px; height: 30px; }
.btn-block { width: 100%; justify-content: space-between; }

/* ---------- nav ---------- */

.nav {
  position: fixed; top: 16px; left: 50%; transform: translateX(-50%); z-index: 40;
  display: flex; align-items: center; gap: 20px;
  padding: 6px 6px 6px 18px; border-radius: 999px;
  width: max-content; max-width: calc(100% - 24px);
  background: rgba(14, 10, 8, 0.56);
  -webkit-backdrop-filter: blur(18px) saturate(1.3);
  backdrop-filter: blur(18px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.1), 0 14px 34px -14px rgba(0, 0, 0, 0.75);
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.nav.is-scrolled { background: rgba(14, 10, 8, 0.82); box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.13), 0 18px 44px -14px rgba(0, 0, 0, 0.9); }
.nav-brand { display: flex; align-items: center; gap: 10px; flex: none; }
.logo-trivium { height: 15px; width: auto; }
.logo-bad { height: 21px; width: auto; }
.logo-esa { height: 22px; width: auto; }
.nav-x { color: var(--dim); font-size: 13px; line-height: 1; }
.nav-links { display: flex; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  padding: 9px 12px; border-radius: 999px;
  transition: color 0.4s var(--ease), background-color 0.4s var(--ease);
}
.nav-links a:hover { color: var(--ink); background: rgba(255, 236, 220, 0.06); }

/* ============================================================
   HERO
   ============================================================ */

.hero { position: relative; padding-top: 92px; overflow-x: clip; text-align: center; }

/* Poster composition: Mina left, Eddie center and in front, Brian right. The headline is set
   across their faded torsos; the event cards and name tags float on either side. */
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 1fr); justify-items: center;
  --title-fs: clamp(2.6rem, 0.6rem + 4.3vw, 5.1rem); --title-lines: 1; /* the name tags sit just above the headline */
}
.hero-eyebrow { grid-row: 1; grid-column: 1; }
.stage { grid-row: 2 / 4; grid-column: 1; }
.hero-title { grid-row: 3; grid-column: 1; }
.hero-sub { grid-row: 4; grid-column: 1; }
.hero-cta { grid-row: 5; grid-column: 1; }
.hero-proof { grid-row: 6; grid-column: 1; }

.eyebrow {
  justify-self: center;
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 15px 8px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.005em; color: var(--ink-2);
  background: rgba(255, 236, 220, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.eyebrow-sep { width: 1px; height: 12px; background: var(--line-2); }
.eyebrow-dim { color: var(--muted); font-weight: 500; }
.live-dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--ember); flex: none; }
.live-dot::after {
  content: ""; position: absolute; inset: -4px; border-radius: 50%;
  border: 1.5px solid var(--ember); opacity: 0;
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(0.5); opacity: 0.9; } 80%, 100% { transform: scale(1.6); opacity: 0; } }

.hero-title {
  position: relative; z-index: 9; align-self: end;
  font-family: var(--font-d); word-spacing: var(--ws-d);
  font-size: var(--title-fs);
  line-height: 0.95;
  letter-spacing: -0.038em;
  padding-bottom: 2px;
  text-shadow: 0 6px 40px rgba(8, 6, 5, 0.9), 0 2px 12px rgba(8, 6, 5, 0.6);
}
.hero-title .line { display: inline; }
@media (min-width: 1024px) {
  /* one line on desktop, even when it is wider than the content column */
  .hero-title { width: max-content; max-width: calc(100vw - 2 * var(--gutter)); }
}

.hero-sub {
  margin-top: 18px; max-width: 44em;
  font-size: clamp(1.05rem, 0.98rem + 0.3vw, 1.2rem); line-height: 1.55; color: var(--muted);
}
.hero-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 26px; }
.hero-proof { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 20px; font-size: 14px; color: var(--muted); }
.hero-proof li { display: inline-flex; align-items: center; gap: 8px; }
.hero-proof svg { width: 17px; height: 17px; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }

/* --- the stage: hosts, backlight, MIAMI, agents --- */

.stage {
  /* tall enough to fill the screen, never so wide the side cards run off it */
  --h: clamp(360px, min(calc(100svh - 330px), calc((100vw - 470px) / 1.5)), 640px);
  --left: calc(50% - var(--h) * 0.776); /* trio is 1.533h wide; this puts Eddie's face dead center */
  position: relative; width: 100%; height: var(--h); margin-top: 6px;
  isolation: isolate;
}
.stage-light {
  position: absolute; z-index: 0; inset: -8% -24% 6% -24%; pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 55%, transparent 100%);
  background:
    radial-gradient(42% 40% at 50% 40%, rgba(255, 110, 45, 0.42) 0%, rgba(255, 110, 45, 0.14) 45%, transparent 72%),
    radial-gradient(30% 34% at 72% 36%, rgba(255, 77, 109, 0.16) 0%, transparent 70%),
    radial-gradient(28% 30% at 26% 44%, rgba(255, 170, 90, 0.14) 0%, transparent 70%);
}
.stage-word {
  position: absolute; z-index: 1; left: 50%; top: 3%;
  transform: translateX(-50%);
  font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600;
  font-size: calc(var(--h) * 0.44); line-height: 0.8; letter-spacing: -0.02em;
  white-space: nowrap; user-select: none; pointer-events: none;
  color: rgba(255, 190, 150, 0.055);
  -webkit-text-stroke: 1.2px rgba(255, 160, 110, 0.26);
  -webkit-mask-image: linear-gradient(180deg, #000 30%, rgba(0, 0, 0, 0.25) 100%);
  mask-image: linear-gradient(180deg, #000 30%, rgba(0, 0, 0, 0.25) 100%);
}
.host {
  position: absolute; bottom: 0; margin: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 58%, rgba(0, 0, 0, 0.4) 78%, transparent 95%);
  mask-image: linear-gradient(180deg, #000 58%, rgba(0, 0, 0, 0.4) 78%, transparent 95%);
}
.host img {
  width: 100%; height: 100%; object-fit: contain; object-position: bottom center;
  filter: drop-shadow(0 0 0.5px rgba(255, 210, 180, 0.45)) drop-shadow(0 0 28px rgba(255, 110, 45, 0.22));
}
.host-mina {
  z-index: 2; left: var(--left);
  width: calc(var(--h) * 0.6667); height: var(--h);
}
.host-eddie {
  z-index: 3; left: calc(var(--left) + var(--h) * 0.44);
  width: calc(var(--h) * 0.6895); height: calc(var(--h) * 0.9674);
}
.host-brian {
  z-index: 1; left: calc(var(--left) + var(--h) * 0.93);
  width: calc(var(--h) * 0.6032); height: var(--h);
}

.host-tag {
  position: absolute; z-index: 7; text-align: left;
  display: grid; gap: 1px; padding: 9px 14px 10px;
  border-radius: 14px;
  background: rgba(18, 13, 10, 0.64);
  -webkit-backdrop-filter: blur(14px) saturate(1.3);
  backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 34px -14px rgba(0, 0, 0, 0.7);
}
.host-tag strong { display: flex; align-items: center; gap: 8px; font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; line-height: 1.2; white-space: nowrap; }
.host-tag span { font-size: 12.5px; color: var(--muted); line-height: 1.3; white-space: nowrap; }
.host-tag .lane {
  font-family: var(--font-b); word-spacing: normal; font-style: normal; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase;
  line-height: 1; padding: 4px 7px 3px; border-radius: 999px; color: var(--amber);
  background: rgba(255, 106, 43, 0.14); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.32);
}
/* Mina and Brian sit under their event card; Eddie's name sits on his chest, center stage */
.tag-eddie { left: calc(var(--left) + var(--h) * 0.785); bottom: calc(var(--title-fs) * 0.95 * var(--title-lines) + 16px); translate: -50% 0; }

.stat-card {
  position: absolute; z-index: 8; width: 212px; text-align: left;
  padding: 16px 18px 15px; border-radius: 18px;
  background: rgba(20, 15, 12, 0.7);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  backdrop-filter: blur(16px) saturate(1.3);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.08), 0 26px 50px -20px rgba(0, 0, 0, 0.8);
}
.sc-top { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.sc-top svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.sc-top .live-dot { flex: none; }
.sc-num { margin-top: 12px; font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 46px; line-height: 0.95; letter-spacing: -0.04em; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.sc-num small { margin-left: 6px; font-size: 0.42em; letter-spacing: -0.01em; color: var(--ink-2); }
.sc-label { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.sc-sub { margin-top: 10px; padding-top: 10px; font-size: 12.5px; font-weight: 600; color: var(--amber); box-shadow: inset 0 1px 0 var(--line); }
/* each side of the pair: the event card with that host's name under it (one column, can't collide) */
.side { position: absolute; z-index: 8; display: grid; gap: 12px; }
.side-l { justify-items: end; left: calc(var(--left) - 212px + var(--h) * 0.128); top: 10%; } /* right edge on Mina's shoulder, mirroring the right card on Brian */
.side-r { justify-items: start; left: calc(var(--left) + var(--h) * 1.47); top: 16%; }
@media (min-width: 1024px) {
  .side .stat-card, .side .host-tag { position: relative; inset: auto; z-index: auto; }
  .side .host-tag { width: 212px; }
  .side .host-tag span { white-space: normal; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .side-l { left: calc(var(--left) - 188px + var(--h) * 0.128); }
  .stat-card, .side .host-tag { width: 188px; }
  .stat-card { padding: 14px 15px 13px; }
  .sc-num { font-size: 40px; }
  .sc-label { font-size: 13px; }
}

.hero-pill { display: none; }

/* --- event strip: date tile, time + place, the seats, a live countdown, reserve --- */

.estrip {
  position: relative; z-index: 9; margin-top: 30px;
  display: grid; grid-template-columns: auto minmax(0, 1.25fr) minmax(0, 1fr) auto auto; align-items: center;
  gap: clamp(16px, 2.4vw, 32px); padding: 14px 14px 14px 14px; border-radius: 26px; text-align: left;
  background:
    radial-gradient(60% 140% at 100% 50%, rgba(255, 106, 43, 0.12), transparent 60%),
    rgba(17, 13, 10, 0.72);
  -webkit-backdrop-filter: blur(20px) saturate(1.3);
  backdrop-filter: blur(20px) saturate(1.3);
  box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.06), 0 30px 60px -30px rgba(0, 0, 0, 0.85);
}
.es-date {
  display: grid; justify-items: center; width: 96px; padding: 0 0 10px; overflow: hidden; border-radius: 18px;
  background: linear-gradient(180deg, #1f1814, #140f0c); box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.12);
}
.es-mon { width: 100%; padding: 5px 0; text-align: center; font-size: 12px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--on-ember); background: linear-gradient(180deg, #ff8a52, #f2561a); }
.es-day { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 44px; line-height: 1; letter-spacing: -0.04em; margin-top: 8px; }
.es-dow { font-size: 11.5px; font-weight: 700; color: var(--dim); margin-top: 2px; }
.es-info { display: grid; gap: 12px; }
.es-info p { display: flex; align-items: center; gap: 12px; }
.es-info svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--amber); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.es-info span { display: grid; font-size: 13px; color: var(--dim); line-height: 1.3; }
.es-info b { font-size: 16px; color: var(--ink); }
.es-seats { display: grid; gap: 7px; padding-left: clamp(16px, 2.4vw, 32px); box-shadow: inset 1px 0 0 var(--line); }
.es-seats-num { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.es-seats-num b { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 34px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.es-dots { display: grid; grid-template-columns: repeat(10, 10px); gap: 5px; }
.es-dots i { width: 10px; height: 10px; border-radius: 3px; background: var(--ember); box-shadow: 0 0 8px rgba(255, 106, 43, 0.45); animation: seatGlow 3.2s ease-in-out infinite; animation-delay: calc(var(--k, 0) * 90ms); }
@keyframes seatGlow { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.es-hot { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; color: var(--amber); }
.es-count { display: grid; gap: 8px; }
.es-count-label { font-size: 12.5px; font-weight: 600; color: var(--dim); }
.estrip .es-big { margin: 0; justify-content: flex-start; gap: 8px; }
.estrip .es-big > div { min-width: 64px; padding: 9px 6px 7px; border-radius: 14px; }
.estrip .es-big b { font-size: 30px; }
.estrip .es-big span { font-size: 10.5px; }
.es-cta { align-self: center; margin-right: 6px; }

.countdown { display: flex; gap: 12px; }
.countdown span { display: inline-flex; align-items: baseline; gap: 2px; color: var(--muted); font-weight: 600; font-size: 12.5px; }
.countdown b {
  font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 21px; line-height: 1.1;
  color: var(--ink); font-variant-numeric: tabular-nums; letter-spacing: -0.01em;
}

/* ============================================================
   URGENCY PIECES
   ============================================================ */

.nav-urgency {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  font-size: 13px; font-weight: 600; color: var(--muted);
  padding: 7px 12px; border-radius: 999px;
  background: rgba(255, 106, 43, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.22);
}
.nav-urgency b { color: var(--ink); }
.cr-wait {
  margin-top: 14px; display: flex; align-items: flex-start; gap: 10px; padding: 11px 14px; border-radius: 12px;
  background: rgba(255, 77, 109, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 77, 109, 0.24); font-size: 14.5px; color: var(--ink-2);
}
.cr-wait b { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; color: #ff8198; font-variant-numeric: tabular-nums; }
.cr-wait .live-dot, .t-urgency .live-dot { flex: none; }
.cr-wait .live-dot { background: var(--rose); margin-top: 7px; }
.cr-wait .live-dot::after { border-color: var(--rose); }
.t-urgency { margin-top: 14px; display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; line-height: 1.45; color: var(--ink-2); }
.t-urgency .live-dot { margin-top: 6px; }
.t-urgency b { color: var(--amber); font-variant-numeric: tabular-nums; }

.kinetic {
  position: relative; overflow: hidden; padding: clamp(18px, 3vw, 30px) 0;
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
  background: linear-gradient(90deg, rgba(255, 106, 43, 0.05), rgba(255, 77, 109, 0.04));
}
.kinetic-track { display: flex; width: max-content; animation: marquee 40s linear infinite; }
.kinetic-set { display: flex; align-items: center; flex: none; }
.kinetic span {
  padding: 0 0.3em; white-space: nowrap;
  font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(44px, 7vw, 108px); line-height: 1; letter-spacing: -0.03em; text-transform: uppercase;
  color: transparent; -webkit-text-stroke: 1.4px rgba(255, 180, 130, 0.5);
}
.kinetic .k-solid { color: var(--ember); -webkit-text-stroke: 0; }
.kinetic i { font-style: normal; font-size: clamp(20px, 2.6vw, 38px); color: var(--ember); }

.big-count { display: flex; justify-content: center; gap: 10px; margin: 4px 0 28px; }
.big-count > div {
  min-width: clamp(64px, 9vw, 86px); padding: 12px 8px 10px; border-radius: 16px; display: grid; justify-items: center;
  background: rgba(255, 236, 220, 0.04); box-shadow: inset 0 0 0 1px var(--line-2), inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
.big-count b { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(30px, 4vw, 46px); line-height: 1.05; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.big-count span { margin-top: 2px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--dim); }

/* ============================================================
   TICKER
   ============================================================ */

.ticker {
  position: relative; overflow: hidden; padding: 20px 0;
  margin-top: clamp(56px, 7vw, 88px);
  box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.ticker-track { display: flex; width: max-content; animation: marquee 56s linear infinite; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-list { display: flex; flex: none; }
.ticker-list li { display: inline-flex; align-items: baseline; gap: 7px; white-space: nowrap; padding: 0 30px; font-size: 15px; color: var(--muted); position: relative; }
.ticker-list li::after {
  content: ""; position: absolute; right: -3px; top: 50%; width: 5px; height: 5px; margin-top: -2px;
  border-radius: 50%; background: var(--ember); opacity: 0.7;
}
.ticker-list b { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--ink); }
.ticker-list i { font-style: normal; font-size: 12.5px; color: var(--dim); margin-left: 4px; }
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }

/* ============================================================
   PROBLEM / SHIFT
   ============================================================ */

.shift { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: 18px; align-items: stretch; }
.shift-card .core { display: flex; flex-direction: column; }
.shift-head { position: relative; padding-right: 44px; margin-bottom: 20px; }
.shift-when { font-size: 13px; font-weight: 600; color: var(--dim); font-variant-numeric: tabular-nums; }
.shift-head h3 { font-family: var(--font-d); word-spacing: var(--ws-d); font-size: clamp(1.4rem, 1.1rem + 0.8vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.15; margin-top: 4px; }
.shift-badge {
  position: absolute; right: 0; top: 2px;
  min-width: 30px; height: 30px; padding: 0 8px; border-radius: 999px;
  display: grid; place-items: center;
  font-size: 13px; font-weight: 800; color: #fff; background: var(--rose);
  box-shadow: 0 8px 20px -6px rgba(255, 77, 109, 0.6);
}
.shift-badge-ok { background: linear-gradient(180deg, #ff8a52, #f2561a); color: var(--on-ember); box-shadow: 0 8px 20px -6px rgba(255, 106, 43, 0.6); }

.pings { display: grid; gap: 8px; }
.pings li {
  display: grid; grid-template-columns: 32px minmax(0, 1fr) auto; gap: 11px; align-items: start;
  padding: 11px 13px; border-radius: 14px;
  background: rgba(255, 236, 220, 0.035);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.05);
}
.pings b { font-size: 13.5px; }
.pings p { font-size: 14px; color: var(--muted); line-height: 1.4; }
.pings time { font-size: 12px; color: var(--dim); font-variant-numeric: tabular-nums; padding-top: 1px; }
.av {
  width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center;
  font-size: 12.5px; font-weight: 800; color: var(--ink-2);
  background: #2a211b; box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.08);
}
.av-client { background: #2b1b24; }
.av-you { font-size: 10px; background: transparent; box-shadow: inset 0 0 0 1.5px var(--faint); color: var(--muted); }
.av-agent { background: linear-gradient(180deg, #ff8a52, #f2561a); color: var(--on-ember); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }
.av-agent svg { width: 15px; height: 15px; fill: currentColor; }

/* the "before" feed is visibly messy; the "after" feed snaps to the grid */
.shift-before .core { background: linear-gradient(180deg, #110e0c, #0c0a09); }
.shift-before .pings li:nth-child(1) { transform: rotate(-1.2deg) translateX(4px); }
.shift-before .pings li:nth-child(2) { transform: rotate(0.9deg) translateX(-6px); }
.shift-before .pings li:nth-child(3) { transform: rotate(-0.6deg) translateX(10px); }
.shift-before .pings li:nth-child(4) { transform: rotate(1.3deg) translateX(-2px); }
.shift-before .pings li:nth-child(5) { transform: rotate(-0.8deg) translateX(6px); }
.shift-before .ping-you { box-shadow: inset 0 0 0 1px rgba(255, 77, 109, 0.35); background: rgba(255, 77, 109, 0.06); }
.shift-before .ping-you p { color: var(--ink); font-weight: 600; }
.shift-after .core {
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(255, 106, 43, 0.13), transparent 60%),
    linear-gradient(180deg, #17110d, #100c0a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06), inset 0 0 0 1px rgba(255, 106, 43, 0.22);
}
.shift-after .ping-you { box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.35); background: rgba(255, 106, 43, 0.07); }
.shift-after .ping-you p { color: var(--ink); font-weight: 600; }

.shift-list { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
.shift-list li { display: flex; gap: 11px; font-size: 15px; color: var(--muted); line-height: 1.45; }
.shift-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 2px; border-radius: 50%;
  background: rgba(255, 236, 220, 0.06) center / 10px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a7d72' stroke-width='3' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E");
}
.shift-list-ok li { color: var(--ink-2); }
.shift-list-ok li::before {
  background-color: rgba(255, 106, 43, 0.16);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a4f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.shift-arrow { align-self: center; width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 106, 43, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.28); }
.shift-arrow svg { width: 20px; height: 20px; fill: none; stroke: var(--ember); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* networking strip under the host cards */
.net-strip {
  margin-top: 18px; display: flex; align-items: center; gap: 18px 24px; flex-wrap: wrap;
  padding: 18px 20px; border-radius: 22px;
  background: radial-gradient(80% 140% at 0% 50%, rgba(255, 106, 43, 0.12), transparent 60%), rgba(255, 236, 220, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.22);
}
.net-faces { display: flex; align-items: center; flex: none; }
.net-faces img, .net-more {
  width: 46px; height: 46px; border-radius: 50%;
  box-shadow: 0 0 0 3px #120e0b, 0 0 0 4px rgba(255, 106, 43, 0.4);
}
.net-faces img { object-fit: cover; object-position: 50% 6%; background: radial-gradient(circle at 50% 70%, #ff8a52, #7a2a10); }
.net-faces > * + * { margin-left: -12px; }
.net-more { display: grid; place-items: center; font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 15px; color: var(--on-ember); background: linear-gradient(180deg, #ff8a52, #f2561a); }
.net-strip p { flex: 1 1 360px; font-size: 16px; color: var(--muted); }
.net-strip p b { color: var(--ink); }

/* ============================================================
   BLUEPRINT (pipeline)
   ============================================================ */

.note-center { text-align: center; }
.pipe-core { padding: clamp(22px, 3.6vw, 46px); }
.pipe-guide {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 14px;
  padding: 14px 18px; border-radius: 16px; margin-bottom: clamp(28px, 4vw, 44px);
  background: rgba(255, 106, 43, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.25);
}
.pipe-guide-name { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--amber); }
.pipe-guide-name svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pipe-guide-desc { font-size: 14.5px; color: var(--muted); }
.pipe-rules { display: flex; flex-wrap: wrap; gap: 8px; }
.pipe-rules li { font-size: 13px; font-weight: 700; color: var(--ink-2); padding: 6px 11px; border-radius: 999px; background: rgba(255, 236, 220, 0.05); box-shadow: inset 0 0 0 1px var(--line-2); }

.pipe { position: relative; display: grid; grid-template-columns: minmax(0, 0.72fr) repeat(3, minmax(0, 1fr)) minmax(0, 0.72fr); gap: 18px; align-items: start; }
.pipe::before { /* the rail */
  content: ""; position: absolute; left: 7%; right: 7%; top: 30px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 236, 220, 0.1), rgba(255, 106, 43, 0.55) 25%, rgba(255, 106, 43, 0.55) 75%, rgba(255, 236, 220, 0.1));
}
.pipe::after { /* a signal travelling through the system */
  content: ""; position: absolute; left: 7%; right: 7%; top: 25px; height: 12px; pointer-events: none;
  background:
    radial-gradient(circle at calc(100% - 6px) 50%, #ffd3b0 0 2.5px, var(--ember) 3.5px, rgba(255, 106, 43, 0.35) 6px, transparent 7px),
    linear-gradient(90deg, transparent calc(100% - 90px), rgba(255, 106, 43, 0.55) calc(100% - 6px), transparent calc(100% - 5px)) center / 100% 2px no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
  animation: pipeRun 4.4s var(--ease) infinite;
}
@keyframes pipeRun { from { transform: translateX(-100%); } to { transform: translateX(0); } }
.pipe > li { position: relative; z-index: 1; display: grid; justify-items: center; align-content: start; text-align: center; }
.pipe-dot { width: 14px; height: 14px; margin-top: 24px; border-radius: 50%; background: var(--bg); box-shadow: 0 0 0 2px rgba(255, 236, 220, 0.28); }
.pipe-end b { margin-top: 18px; font-size: 15px; }
.pipe-end small { margin-top: 3px; font-size: 13px; line-height: 1.4; color: var(--dim); max-width: 13em; }
.pipe-end-out .pipe-dot { background: var(--ember); box-shadow: 0 0 0 5px rgba(255, 106, 43, 0.18), 0 0 18px rgba(255, 106, 43, 0.7); }
.pipe-icon {
  width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center;
  background: linear-gradient(180deg, #1f1713, #120e0b);
  box-shadow: 0 0 0 6px var(--panel), inset 0 0 0 1px rgba(255, 236, 220, 0.13), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 16px 32px -12px rgba(0, 0, 0, 0.85);
}
.pipe-icon svg { width: 28px; height: 28px; fill: none; stroke: var(--amber); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.pipe-node-hot .pipe-icon { background: linear-gradient(180deg, #ff8a52, #f2561a); box-shadow: 0 0 0 6px var(--panel), 0 0 0 10px rgba(255, 106, 43, 0.14), 0 18px 40px -10px rgba(255, 106, 43, 0.75); }
.pipe-node-hot .pipe-icon svg { stroke: var(--on-ember); }
.pipe-num { margin-top: 18px; font-size: 12.5px; font-weight: 700; color: var(--amber); }
.pipe-node h3 { font-family: var(--font-d); word-spacing: var(--ws-d); font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.1; margin: 6px 0 8px; }
.pipe-node p { font-size: 14.5px; line-height: 1.55; color: var(--muted); max-width: 19em; }
.pipe-loop {
  margin-top: clamp(28px, 4vw, 40px); padding-top: 22px; box-shadow: inset 0 1px 0 var(--line);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px; font-size: 14.5px; color: var(--muted);
}
.pipe-loop b { font-size: 13.5px; font-weight: 700; color: var(--ink-2); padding: 7px 12px; border-radius: 999px; background: rgba(255, 236, 220, 0.04); box-shadow: inset 0 0 0 1px var(--line-2); }
.pipe-loop i { font-style: normal; color: var(--dim); }
.pipe-loop-icon { width: 22px; height: 22px; fill: none; stroke: var(--ember); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; animation: spin 6s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   AGENT CONSOLE
   ============================================================ */

.console-core { padding: 0; }
.console-tabs {
  display: flex; gap: 6px; padding: 10px; overflow-x: auto; scrollbar-width: none;
  box-shadow: inset 0 -1px 0 var(--line);
}
.console-tabs::-webkit-scrollbar { display: none; }
.ctab {
  flex: none; display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 18px; border-radius: 14px;
  font-size: 15px; font-weight: 700; color: var(--muted);
  transition: color 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.ctab span { font-size: 12px; font-weight: 700; color: var(--dim); font-variant-numeric: tabular-nums; }
.ctab:hover { color: var(--ink); background: rgba(255, 236, 220, 0.04); }
.ctab[aria-selected="true"] { color: var(--ink); background: rgba(255, 106, 43, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.3); }
.ctab[aria-selected="true"] span { color: var(--ember); }

.cpanel { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(24px, 4vw, 48px); padding: clamp(24px, 3.5vw, 44px); align-items: center; }
.cpanel[hidden] { display: none; }
.cpanel-info h3 { font-family: var(--font-d); word-spacing: var(--ws-d); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.15rem); letter-spacing: -0.025em; line-height: 1.08; }
.cpanel-info > p { margin-top: 12px; color: var(--muted); font-size: 16px; }

.flow { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 26px; }
.flow li {
  position: relative; font-size: 13.5px; font-weight: 700; color: var(--ink-2);
  padding: 9px 13px; border-radius: 11px;
  background: rgba(255, 236, 220, 0.04); box-shadow: inset 0 0 0 1px var(--line-2);
}
.flow li + li { margin-left: 22px; }
.flow li + li::before {
  content: ""; position: absolute; left: -24px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
  background: var(--dim);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15M13 6l6 6-6 6'/%3E%3C/svg%3E") center / contain no-repeat;
}
.flow .flow-out { color: var(--on-ember); background: linear-gradient(180deg, #ff8a52, #f2561a); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35); }

.out {
  border-radius: 18px; overflow: hidden;
  background: #0b0908;
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.09), 0 30px 60px -30px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(255, 236, 220, 0.02);
}
.out-bar { display: flex; align-items: center; gap: 6px; padding: 11px 14px; box-shadow: inset 0 -1px 0 var(--line); }
.out-bar span { width: 9px; height: 9px; border-radius: 50%; background: #2c241e; }
.out-bar em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 600; color: var(--dim); }
.out-body { padding: 20px 20px 22px; display: grid; gap: 9px; min-height: 236px; align-content: start; }
.out-body p { font-size: 14.5px; color: var(--muted); line-height: 1.45; display: flex; gap: 10px; }
.out-body .out-title { font-weight: 700; color: var(--ink); font-size: 15px; padding-bottom: 8px; margin-bottom: 2px; box-shadow: inset 0 -1px 0 var(--line); }
.out-body .ok::before, .out-body .no::before, .out-body .hot::before {
  content: ""; flex: none; width: 17px; height: 17px; margin-top: 2px; border-radius: 50%;
  background: center / 10px no-repeat;
}
.out-body .ok::before { background-color: rgba(110, 220, 150, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239ee6b8' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E"); }
.out-body .no::before { background-color: rgba(255, 77, 109, 0.14); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8198' stroke-width='3.2' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6 6 18'/%3E%3C/svg%3E"); }
.out-body .hot::before { background-color: rgba(255, 106, 43, 0.16); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff8a4f'%3E%3Cpath d='M12 1.5 14.6 9.4 22.5 12l-7.9 2.6L12 22.5l-2.6-7.9L1.5 12l7.9-2.6z'/%3E%3C/svg%3E"); }
.out-body .out-cta { margin-top: 6px; padding: 10px 12px; border-radius: 11px; color: var(--amber); font-weight: 700; background: rgba(255, 106, 43, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.2); }
.js .out-body.is-typing p { opacity: 0; transform: translateY(6px); }
.out-body p { transition: opacity 0.45s var(--ease-out), transform 0.45s var(--ease-out); }
.js .out-body.is-typing p.is-shown { opacity: 1; transform: none; }

/* "Yours": the tab that says these four are only examples */
.ctab-yours { box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.14); background-image: repeating-linear-gradient(135deg, rgba(255, 236, 220, 0.03) 0 6px, transparent 6px 12px); }
.ctab-yours span { color: var(--amber); }
.out-yours .out-body p:not(.out-title):not(.out-cta) { display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 12px; padding-bottom: 8px; box-shadow: inset 0 -1px 0 rgba(255, 236, 220, 0.06); }
.out-yours .out-body b { font-size: 12.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); padding-top: 1px; }
.out-yours .out-body span { color: var(--ink-2); border-bottom: 1.5px dashed rgba(255, 236, 220, 0.18); padding-bottom: 2px; justify-self: start; }

/* ...and 36 more: a moving wall of jobs agents take off agency teams */
.more-agents { margin-top: clamp(28px, 4vw, 44px); }
.agents { padding-bottom: 24px; }
.ma-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 24px; margin-bottom: 18px; }
.ma-title { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(1.35rem, 1rem + 1.2vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; }
.ma-title b { font-weight: 600; }
.ma-sub { font-size: 15.5px; color: var(--muted); }
.ma-rows {
  display: grid; gap: 12px; padding: 4px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.ma-row { overflow: hidden; }
.ma-track { display: flex; width: max-content; animation: marquee 70s linear infinite; }
.ma-rev .ma-track { animation-direction: reverse; animation-duration: 80s; }
.ma-rows:hover .ma-track { animation-play-state: paused; }
.ma-set { display: flex; gap: 10px; padding-right: 10px; flex: none; }
.ma-chip {
  display: inline-flex; align-items: center; gap: 10px; white-space: nowrap;
  padding: 10px 16px 10px 10px; border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink-2);
  background: rgba(255, 236, 220, 0.035); box-shadow: inset 0 0 0 1px var(--line-2);
}
.ma-chip i {
  font-style: normal; font-size: 11.5px; font-weight: 800; letter-spacing: 0.04em;
  color: var(--amber); padding: 4px 9px; border-radius: 999px;
  background: rgba(255, 106, 43, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.22);
}

/* ============================================================
   THE DAY (pinned: heading holds, blocks slide up one by one)
   ============================================================ */

.day { position: relative; padding: 0 0 clamp(84px, 11vw, 150px); }
.day-pin { position: relative; }
.day-pin-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); gap: clamp(28px, 6vw, 88px); align-items: center; }
.day-h2 { font-size: clamp(2rem, 1rem + 3vw, 3.7rem); }
.day-meter { margin-top: 34px; display: flex; align-items: center; gap: 26px; }
.ring-wrap { position: relative; width: 132px; height: 132px; flex: none; }
.ring { width: 100%; height: 100%; transform: rotate(-90deg); overflow: visible; }
.ring-bg { fill: none; stroke: rgba(255, 236, 220, 0.08); stroke-width: 6; }
.ring-fg {
  fill: none; stroke: var(--ember); stroke-width: 6; stroke-linecap: round;
  stroke-dasharray: 326.73; stroke-dashoffset: 217.82;
  filter: drop-shadow(0 0 6px rgba(255, 106, 43, 0.65));
  transition: stroke-dashoffset 0.6s var(--ease-out);
}
.ring-label { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; }
.ring-label b { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 36px; line-height: 1; letter-spacing: -0.03em; }
.ring-label span { margin-top: 5px; font-size: 12.5px; font-weight: 700; color: var(--muted); }
.take-head { font-size: 12.5px; font-weight: 700; color: var(--dim); margin-bottom: 6px; }
.take li { display: flex; align-items: center; gap: 11px; padding: 7px 0; font-size: 15px; font-weight: 600; color: var(--faint); transition: color 0.5s var(--ease); }
.take li::before {
  content: ""; flex: none; width: 21px; height: 21px; border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--faint); background: center / 11px no-repeat;
  transition: background-color 0.5s var(--ease), box-shadow 0.5s var(--ease), transform 0.5s var(--ease);
}
.take li.is-done { color: var(--ink); }
.take li.is-done::before {
  box-shadow: 0 0 14px rgba(255, 106, 43, 0.55); transform: scale(1.06);
  background-color: var(--ember);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c0c04' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
html:not(.js) .take li { color: var(--ink-2); }
.day-dots { display: none; }

.day-stack { position: relative; display: grid; gap: 16px; }
.dcard { position: relative; }
.dcard::after { /* cards buried under newer ones dim down */
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none;
  background: var(--bg); opacity: var(--dim, 0);
}
.dcard-core { padding: clamp(24px, 3vw, 36px); background: linear-gradient(180deg, #17120f 0%, #100c0a 100%); }
.dblock-when { display: inline-flex; align-items: center; gap: 9px; font-size: 13.5px; font-weight: 700; color: var(--amber); }
.block-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 0 4px rgba(255, 106, 43, 0.15); }
.block-num {
  position: absolute; right: 22px; top: 14px;
  font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 72px; line-height: 1; letter-spacing: -0.04em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 236, 220, 0.16);
}
.dcard-core h3 { font-family: var(--font-d); word-spacing: var(--ws-d); font-size: clamp(1.6rem, 1.2rem + 1vw, 2.1rem); letter-spacing: -0.025em; line-height: 1.08; margin: 12px 0 16px; max-width: 13em; }
.dblock-do { display: grid; gap: 10px; }
.dblock-do li { display: flex; gap: 12px; font-size: 15.5px; line-height: 1.5; color: var(--muted); }
.dblock-do li::before { content: ""; flex: none; width: 6px; height: 6px; margin-top: 9px; border-radius: 50%; background: var(--ember); }
.dcard-meal { margin-top: 14px; display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.dcard-meal svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--amber); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.block-out { margin-top: 22px; display: grid; gap: 3px; font-weight: 700; font-size: 15.5px; color: var(--ink); }
.block-out::before { content: ""; display: block; height: 1px; margin-bottom: 14px; background: repeating-linear-gradient(90deg, var(--line-2) 0 6px, transparent 6px 11px); }
.block-out span { font-size: 12.5px; font-weight: 600; color: var(--dim); }

/* the pin itself (JS on, motion allowed) */
.js .day.is-pinned .day-scroll { height: calc(100svh + var(--pin-extra, 180svh)); }
.js .day.is-pinned .day-pin { position: sticky; top: 0; height: 100svh; overflow: hidden; display: flex; align-items: flex-start; padding-top: clamp(88px, 11svh, 110px); }
.js .day.is-pinned .day-pin-grid { width: min(1240px, calc(100% - 2 * var(--gutter))); }
.js .day.is-pinned .day-stack { display: block; height: var(--stack-h, 460px); }
.js .day.is-pinned .dcard { position: absolute; top: 0; left: 0; right: 0; transform-origin: 50% 0; will-change: transform; }
.js .day.is-pinned .dcard .shell, .js .day.is-pinned .dcard { box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.08), 0 -24px 60px -30px rgba(0, 0, 0, 0.9); }
.js .day.is-pinned .dcard.is-front { box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.38), 0 -24px 60px -30px rgba(0, 0, 0, 0.9), 0 30px 70px -34px rgba(255, 106, 43, 0.45); }

.day-after { margin-top: 8px; }
.meal {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 16px 16px 16px 24px; border-radius: 20px;
  background: rgba(255, 106, 43, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.2);
}
.meal p { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 16px; }
.meal p b { color: var(--ink); }

/* ============================================================
   KIT (four take-home cards, dealt out like a real kit)
   ============================================================ */

.kit-deck { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; padding: 12px 0 8px; }
.kcard {
  --r: 0deg;
  position: relative; display: flex; flex-direction: column; min-height: 420px;
  padding: 24px 22px 22px; border-radius: 22px;
  transform: rotate(var(--r));
  transition: transform 0.9s var(--ease), opacity 0.8s var(--ease-out), box-shadow 0.6s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
}
.kcard:nth-child(1) { --r: -2.2deg; --fx: 108%; }
.kcard:nth-child(2) { --r: 1.6deg; --fx: 36%; }
.kcard:nth-child(3) { --r: -1.4deg; --fx: -36%; }
.kcard:nth-child(4) { --r: 2deg; --fx: -108%; }
/* dealt from one stack into a spread when the deck scrolls in */
.js .kit-deck:not(.is-in) .kcard { opacity: 0; transform: translate(var(--fx, 0), 24px) rotate(calc(var(--r) * -3)); }
@media (hover: hover) {
  .kit-deck.is-in .kcard:hover { transform: translateY(-12px) rotate(0deg); transition-delay: 0s; z-index: 2; }
}
.kc-top { display: flex; justify-content: space-between; gap: 12px; font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; opacity: 0.72; }
.kc-title { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(1.7rem, 1.2rem + 0.9vw, 2.1rem); line-height: 0.98; letter-spacing: -0.03em; margin-top: 22px; }
.kc-desc { margin-top: 12px; font-size: 14.5px; line-height: 1.5; opacity: 0.82; }
.kc-checks, .kc-fields, .kc-weeks, .kc-files { margin-top: auto; padding-top: 22px; }

.kc-dark {
  color: var(--ink);
  background: radial-gradient(90% 60% at 100% 0%, rgba(255, 106, 43, 0.16), transparent 60%), linear-gradient(165deg, #211914, #0f0b09);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.07), 0 40px 70px -32px rgba(0, 0, 0, 0.9);
}
.kc-dark .kc-title::after { content: ""; display: block; width: 34px; height: 3px; margin-top: 14px; border-radius: 2px; background: var(--ember); }
.kc-checks { display: grid; gap: 9px; }
.kc-checks li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.kc-checks li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 6px;
  background: rgba(255, 106, 43, 0.16) center / 11px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a4f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
  box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.3);
}

.kc-paper {
  color: #1d130c;
  background: linear-gradient(170deg, #f8f0e7, #e9dbcb);
  box-shadow: inset 0 1px 0 #fff, 0 40px 70px -32px rgba(0, 0, 0, 0.85);
}
.kc-fields li { display: flex; gap: 10px; padding: 10px 0; font-size: 14px; font-weight: 600; box-shadow: inset 0 -1px 0 rgba(29, 19, 12, 0.14); }
.kc-fields span { font-weight: 800; color: #b2461a; font-variant-numeric: tabular-nums; }

.kc-ember {
  color: var(--on-ember);
  background: linear-gradient(160deg, #ffa36d, #f2561a);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 40px 70px -30px rgba(255, 106, 43, 0.6);
}
.kc-ember .kc-top, .kc-ember .kc-desc { opacity: 0.85; }
.kc-files { position: relative; height: 130px; }
.kc-files span {
  position: absolute; left: 0; right: 18px; bottom: 0; height: 104px; border-radius: 12px;
  background:
    linear-gradient(rgba(28, 12, 4, 0.22), rgba(28, 12, 4, 0.22)) 16px 22px / 52% 7px no-repeat,
    linear-gradient(rgba(28, 12, 4, 0.14), rgba(28, 12, 4, 0.14)) 16px 40px / 70% 6px no-repeat,
    linear-gradient(rgba(28, 12, 4, 0.14), rgba(28, 12, 4, 0.14)) 16px 55px / 62% 6px no-repeat,
    linear-gradient(rgba(28, 12, 4, 0.14), rgba(28, 12, 4, 0.14)) 16px 70px / 44% 6px no-repeat,
    #ffe3cf;
  box-shadow: 0 10px 24px -12px rgba(80, 20, 0, 0.55);
}
.kc-files span:nth-child(1) { transform: translate(18px, -26px) rotate(3deg); opacity: 0.55; }
.kc-files span:nth-child(2) { transform: translate(9px, -13px) rotate(1.5deg); opacity: 0.8; }

.kc-plan {
  color: var(--ink);
  background: radial-gradient(100% 70% at 0% 100%, rgba(255, 106, 43, 0.14), transparent 60%), linear-gradient(165deg, #1a1411, #110d0b);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.35), 0 40px 70px -32px rgba(0, 0, 0, 0.9);
}
.kc-weeks { position: relative; display: grid; gap: 10px; }
.kc-weeks::before { content: ""; position: absolute; left: 5px; top: 30px; bottom: 8px; width: 1.5px; background: linear-gradient(180deg, var(--ember), rgba(255, 106, 43, 0.15)); }
.kc-weeks li { position: relative; display: grid; grid-template-columns: 62px minmax(0, 1fr); align-items: baseline; gap: 6px; padding-left: 20px; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.kc-weeks li::before { content: ""; position: absolute; left: 0; top: 5px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg); box-shadow: inset 0 0 0 2px var(--ember); }
.kc-weeks li:first-child::before { background: var(--ember); box-shadow: 0 0 10px rgba(255, 106, 43, 0.7); }
.kc-weeks b { font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber); }

.kit-dots { display: none; }

/* ============================================================
   HOSTS
   ============================================================ */

.host-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.host-card .core { padding: 0; display: flex; flex-direction: column; }
.host-card .hc-body { flex: 1; display: flex; flex-direction: column; }
.host-card .hc-stats { margin-top: auto; padding-top: 24px; }
.hc-photo {
  position: relative; height: clamp(330px, 32vw, 420px); overflow: hidden;
  background:
    radial-gradient(60% 70% at 50% 78%, rgba(255, 110, 45, 0.42), transparent 70%),
    radial-gradient(40% 40% at 80% 20%, rgba(255, 77, 109, 0.14), transparent 70%),
    linear-gradient(180deg, #1c130e, #110c09);
}
.hc-photo::after { content: ""; position: absolute; inset: auto 0 0 0; height: 36%; background: linear-gradient(180deg, transparent, #14100d); }
.hc-big {
  position: absolute; left: 50%; top: 13%; transform: translateX(-50%);
  font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(130px, 15vw, 220px); line-height: 0.8; letter-spacing: -0.045em;
  white-space: nowrap; pointer-events: none;
  color: rgba(255, 190, 150, 0.05); -webkit-text-stroke: 1.2px rgba(255, 160, 110, 0.32);
}
.hc-logo { position: absolute; z-index: 2; left: 22px; top: 22px; height: 15px; width: auto; opacity: 0.8; }
.hc-logo-bad { height: 21px; }
.hc-img { position: absolute; left: 50%; top: 22px; width: min(68%, 380px); height: auto; transform: translateX(-50%); filter: drop-shadow(0 0 24px rgba(255, 110, 45, 0.2)); }
.hc-body { padding: 4px clamp(22px, 3vw, 34px) clamp(24px, 3vw, 34px); position: relative; z-index: 1; margin-top: -26px; }
.hc-body h3 { font-family: var(--font-d); word-spacing: var(--ws-d); font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.5rem); letter-spacing: -0.03em; line-height: 1; }
.hc-role { font-size: 14.5px; font-weight: 700; color: var(--amber); margin: 8px 0 16px; }
.hc-body > p:not(.hc-role):not(.hc-brings):not(.hc-lane) { color: var(--muted); font-size: 15.5px; }
.hc-brings {
  margin-top: 16px; padding: 14px 16px; border-radius: 14px; font-size: 15px; line-height: 1.55; color: var(--ink-2);
  background: rgba(255, 106, 43, 0.06); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.18);
}
.hc-brings span { display: block; margin-bottom: 4px; font-size: 12.5px; font-weight: 700; color: var(--amber); }
.hc-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin-top: 24px; }
.hc-stats div { padding: 13px 14px; border-radius: 14px; background: rgba(255, 236, 220, 0.035); box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.06); }
.hc-stats dt { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 22px; letter-spacing: -0.02em; color: var(--ink); line-height: 1.1; }
.hc-stats dd { font-size: 12.5px; color: var(--dim); line-height: 1.35; margin-top: 3px; }

/* ============================================================
   THE ROOM
   ============================================================ */

.room-grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: 18px; align-items: stretch; }
.room-photo .core { padding: 0; height: 100%; min-height: 520px; }
.room-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; filter: saturate(0.96) contrast(1.03); }
.room-photo .core::before { /* dusk grade at the foot of the frame so the caption reads */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(8, 6, 5, 0) 55%, rgba(8, 6, 5, 0.35) 72%, rgba(8, 6, 5, 0.9) 100%);
}
.room-cap { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px 24px; display: grid; gap: 2px; }
.room-cap b { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 24px; letter-spacing: -0.02em; }
.room-cap span { font-size: 14.5px; color: var(--ink-2); }
.room-cap small { margin-top: 8px; font-size: 11.5px; color: rgba(255, 236, 220, 0.55); }
.room-cap small a { text-decoration: underline; text-underline-offset: 2px; }

.room-net .core { display: flex; flex-direction: column; }
.seats-head { display: flex; align-items: center; gap: 18px; }
.seats-num { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(72px, 7vw, 96px); line-height: 0.8; letter-spacing: -0.05em; color: var(--ember); }
.seats-copy { font-size: 15px; color: var(--muted); line-height: 1.45; }
.seats-copy b { display: block; font-size: 17px; }
.seatmap { width: 100%; height: auto; margin: 20px 0 8px; }
.seatmap .table { fill: rgba(255, 236, 220, 0.035); stroke: rgba(255, 236, 220, 0.14); stroke-width: 1; }
.seatmap .seats rect {
  fill: rgba(255, 236, 220, 0.05); stroke: rgba(255, 236, 220, 0.16); stroke-width: 1;
  transition: fill 0.5s var(--ease-out), stroke 0.5s var(--ease-out);
}
.seatmap.is-lit .seats rect { fill: rgba(255, 106, 43, 0.85); stroke: rgba(255, 180, 130, 0.9); }
.seatmap .hosts-mark circle { fill: var(--amber); }
.seatmap .sm-label { font-size: 10px; font-weight: 700; fill: var(--dim); font-family: var(--font-b); word-spacing: normal; }
.seatmap .sm-table { font-size: 10.5px; font-weight: 600; fill: var(--dim); font-family: var(--font-b); word-spacing: normal; }
.net-list { display: grid; gap: 12px; margin: 10px 0 18px; }
.net-list li { display: flex; gap: 12px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.net-list li::before {
  content: ""; flex: none; width: 22px; height: 22px; margin-top: 1px; border-radius: 50%;
  background: rgba(255, 106, 43, 0.16) center / 12px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a4f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.net-list b { color: var(--ink); }
.room-facts { margin-top: auto; }
.room-facts li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 14.5px; font-weight: 600; color: var(--ink-2); box-shadow: inset 0 1px 0 var(--line); text-align: right; }
.room-facts span { font-weight: 500; color: var(--dim); text-align: left; }

/* ============================================================
   FIT (self-check)
   ============================================================ */

.quiz { max-width: 1000px; margin: 0 auto; }
.quiz-core { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 32px); padding: clamp(16px, 2.6vw, 28px); align-items: stretch; }
.quiz-list { display: grid; gap: 10px; }
.qitem {
  width: 100%; display: flex; align-items: center; gap: 14px; text-align: left;
  padding: 15px 16px; border-radius: 16px; font-size: 16px; font-weight: 600; line-height: 1.4; color: var(--muted);
  background: rgba(255, 236, 220, 0.03); box-shadow: inset 0 0 0 1px var(--line-2);
  transition: color 0.35s var(--ease), background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.35s var(--ease);
}
.qitem:hover { color: var(--ink); background: rgba(255, 236, 220, 0.05); }
.qitem:active { transform: scale(0.99); }
.qbox {
  width: 24px; height: 24px; border-radius: 8px; flex: none;
  box-shadow: inset 0 0 0 1.5px var(--faint); background: center / 14px no-repeat;
  transition: background-color 0.35s var(--ease), box-shadow 0.35s var(--ease), transform 0.45s var(--ease);
}
.qitem[aria-pressed="true"] { color: var(--ink); background: rgba(255, 106, 43, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.45); }
.qitem[aria-pressed="true"] .qbox {
  transform: scale(1.06); box-shadow: 0 0 14px rgba(255, 106, 43, 0.5);
  background-color: var(--ember);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c0c04' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.verdict {
  display: grid; align-content: center; gap: 14px; text-align: center;
  padding: clamp(22px, 3vw, 32px); border-radius: 20px;
  background: radial-gradient(90% 70% at 50% 0%, rgba(255, 106, 43, 0.16), transparent 65%), rgba(255, 236, 220, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.22);
  transition: box-shadow 0.6s var(--ease);
}
.verdict.is-hot { box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.55), 0 30px 70px -30px rgba(255, 106, 43, 0.6); }
.verdict-meter { height: 8px; border-radius: 6px; background: rgba(255, 236, 220, 0.07); overflow: hidden; }
.verdict-meter span { display: block; height: 100%; width: 0; border-radius: 6px; background: linear-gradient(90deg, var(--amber), var(--ember)); transition: width 0.7s var(--ease-out); }
.verdict-score { display: flex; align-items: baseline; justify-content: center; gap: 2px; }
.verdict-score b { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 72px; line-height: 0.9; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.verdict-score span { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 26px; color: var(--dim); }
.verdict-text { font-size: 16px; font-weight: 600; color: var(--ink-2); min-height: 3em; text-wrap: balance; }
.verdict { position: relative; overflow: hidden; }
.verdict-badge {
  position: absolute; top: 14px; left: 50%; translate: -50% 0;
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  padding: 6px 12px; border-radius: 999px;
  font-size: 12px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--on-ember); background: linear-gradient(180deg, #ffb27a, #ff6a2b);
  box-shadow: 0 10px 26px -8px rgba(255, 106, 43, 0.8);
  opacity: 0; transform: translateY(-10px) scale(0.9); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.verdict-badge svg { width: 12px; height: 12px; fill: currentColor; }
.verdict::before { /* light sweep on a perfect score */
  content: ""; position: absolute; inset: -40% -60%; pointer-events: none; opacity: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255, 200, 150, 0.22) 50%, transparent 60%);
  transform: translateX(-60%);
}
.verdict.is-perfect { box-shadow: inset 0 0 0 1.5px rgba(255, 138, 76, 0.85), 0 0 0 6px rgba(255, 106, 43, 0.12), 0 40px 90px -30px rgba(255, 106, 43, 0.8); }
.verdict.is-perfect .verdict-badge { opacity: 1; transform: none; }
.verdict.is-perfect::before { animation: sweep 1.4s var(--ease-out) 0.1s; }
@keyframes sweep { 0% { opacity: 1; transform: translateX(-60%); } 100% { opacity: 0; transform: translateX(60%); } }
.verdict.is-perfect .verdict-score b { color: var(--ember); animation: scorePop 0.7s var(--ease-out); }
@keyframes scorePop { 0% { transform: scale(0.7); } 60% { transform: scale(1.12); } 100% { transform: scale(1); } }
.verdict.is-perfect .btn-primary { animation: ctaPulse 1.8s var(--ease-out) 0.4s infinite; }
@keyframes ctaPulse {
  0% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 0 0 0 rgba(255, 106, 43, 0.55), 0 12px 32px -10px rgba(255, 106, 43, 0.6); }
  70% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 0 0 14px rgba(255, 106, 43, 0), 0 12px 32px -10px rgba(255, 106, 43, 0.6); }
  100% { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.38), 0 0 0 0 rgba(255, 106, 43, 0), 0 12px 32px -10px rgba(255, 106, 43, 0.6); }
}
.quiz.is-perfect .qitem[aria-pressed="true"] { box-shadow: inset 0 0 0 1px rgba(255, 138, 76, 0.7), 0 0 24px -6px rgba(255, 106, 43, 0.55); }
.confetti { position: fixed; inset: 0; z-index: 95; pointer-events: none; }

/* ============================================================
   THE MATH
   ============================================================ */

.calc-core { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 56px); padding: clamp(24px, 4vw, 52px); align-items: center; }
.calc-copy .lede { margin-top: 12px; }
.sliders { margin-top: 26px; display: grid; gap: 22px; }
.slider { display: grid; gap: 10px; }
.slider-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 15px; color: var(--muted); }
.slider output { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 21px; color: var(--ink); font-variant-numeric: tabular-nums; }
.slider input { --p: 12%; -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: transparent; cursor: pointer; }
.slider input::-webkit-slider-runnable-track {
  height: 6px; border-radius: 6px;
  background: linear-gradient(90deg, var(--ember) 0 var(--p), rgba(255, 236, 220, 0.09) var(--p) 100%);
}
.slider input::-moz-range-track { height: 6px; border-radius: 6px; background: rgba(255, 236, 220, 0.09); }
.slider input::-moz-range-progress { height: 6px; border-radius: 6px; background: var(--ember); }
.slider input::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none; width: 24px; height: 24px; margin-top: -9px; border-radius: 50%;
  background: var(--ink); box-shadow: 0 0 0 5px rgba(255, 106, 43, 0.28), 0 6px 14px rgba(0, 0, 0, 0.5);
  transition: box-shadow 0.3s var(--ease);
}
.slider input::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 5px rgba(255, 106, 43, 0.28); }
.slider input:active::-webkit-slider-thumb { box-shadow: 0 0 0 9px rgba(255, 106, 43, 0.3), 0 6px 14px rgba(0, 0, 0, 0.5); }

.calc-result {
  border-radius: 20px; padding: clamp(24px, 3vw, 36px);
  background: radial-gradient(90% 80% at 100% 0%, rgba(255, 106, 43, 0.18), transparent 60%), rgba(255, 236, 220, 0.03);
  box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.22);
}
.cr-label { font-size: 14px; font-weight: 600; color: var(--muted); }
.cr-big { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(2.8rem, 1.8rem + 3vw, 4.4rem); letter-spacing: -0.04em; line-height: 1.05; font-variant-numeric: tabular-nums; margin-top: 4px; }
.cr-split { margin-top: 18px; padding-top: 18px; box-shadow: inset 0 1px 0 var(--line); }
.cr-split p:first-child { font-size: 15px; color: var(--muted); }
.cr-mid { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(1.6rem, 1.3rem + 1vw, 2.1rem); color: var(--ember); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.cr-bars { margin-top: 18px; display: grid; gap: 8px; }
.cr-bar { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: center; gap: 12px; font-size: 12.5px; font-weight: 600; color: var(--dim); }
.cr-bar i { display: block; height: 10px; border-radius: 6px; background: rgba(255, 236, 220, 0.07); overflow: hidden; }
.cr-bar i b { display: block; height: 100%; width: var(--w, 30%); border-radius: 6px; background: var(--faint); transition: width 0.8s var(--ease-out); }
.cr-bar-back i b { background: linear-gradient(90deg, var(--amber), var(--ember)); }
.cr-vs { margin-top: 16px; font-size: 16px; color: var(--ink-2); font-weight: 600; }
.cr-vs span { color: var(--ember); font-family: var(--font-d); word-spacing: var(--ws-d); font-size: 1.35em; }

/* ============================================================
   TICKET
   ============================================================ */

.ticket-wrap { perspective: 1400px; max-width: 1000px; margin: 0 auto; }
.ticket {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  border-radius: 28px;
  background:
    radial-gradient(80% 90% at 0% 0%, rgba(255, 106, 43, 0.09), transparent 55%),
    linear-gradient(135deg, #1b140f 0%, #120e0b 50%, #1a110c 100%);
  box-shadow:
    inset 0 0 0 1px rgba(255, 236, 220, 0.11),
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 50px 100px -50px rgba(255, 106, 43, 0.45),
    0 40px 80px -40px rgba(0, 0, 0, 0.9);
  transform-style: preserve-3d;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.7s var(--ease);
}
.ticket.is-tilting { transition: transform 0.12s linear; }
.ticket-sheen {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 1;
  background:
    radial-gradient(520px circle at var(--mx, 30%) var(--my, 10%), rgba(255, 190, 140, 0.14), transparent 45%),
    linear-gradient(115deg, transparent 30%, rgba(255, 106, 43, 0.07) 44%, rgba(255, 77, 109, 0.06) 52%, rgba(255, 200, 120, 0.05) 58%, transparent 68%);
  background-size: 100% 100%, 220% 100%;
  background-position: 0 0, var(--sx, 50%) 0;
  mix-blend-mode: screen;
}
.ticket-main { position: relative; z-index: 2; padding: clamp(26px, 4vw, 46px); }
.t-admit { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font-size: 12.5px; font-weight: 600; color: var(--dim); }
.t-admit span:first-child {
  font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; font-size: 11px;
  color: var(--on-ember); background: linear-gradient(180deg, #ff8a52, #f2561a); padding: 5px 10px; border-radius: 7px;
}
.t-title { font-family: var(--font-d); word-spacing: var(--ws-d); font-size: clamp(1.7rem, 1.2rem + 1.4vw, 2.35rem); letter-spacing: -0.03em; line-height: 1.08; margin: 20px 0 22px; }
.t-promise {
  display: flex; align-items: center; gap: 10px; margin: -6px 0 18px;
  font-size: 15.5px; font-weight: 700; color: var(--amber);
}
.t-promise svg { width: 20px; height: 20px; flex: none; padding: 3px; border-radius: 50%; fill: none; stroke: var(--on-ember); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; background: linear-gradient(180deg, #ff8a52, #f2561a); }
.t-list { display: grid; grid-template-columns: minmax(0, 1fr); }
.t-list li { display: flex; gap: 10px; padding: 11px 0; font-size: 15px; font-weight: 500; color: var(--ink-2); box-shadow: inset 0 1px 0 var(--line); line-height: 1.4; }
.t-list li::before {
  content: ""; flex: none; width: 18px; height: 18px; margin-top: 1px; border-radius: 50%;
  background: rgba(255, 106, 43, 0.16) center / 10px no-repeat;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ff8a4f' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}
.t-logos { display: flex; align-items: center; gap: 12px; margin-top: 28px; opacity: 0.75; color: var(--dim); font-size: 13px; }
.t-logos img { width: auto; }
.t-logos img:nth-of-type(1) { height: 16px; }
.t-logos img:nth-of-type(2) { height: 21px; }
.t-logos img:nth-of-type(3) { height: 21px; }

.ticket-stub {
  position: relative; z-index: 2;
  padding: clamp(26px, 3.6vw, 42px) clamp(24px, 3vw, 36px);
  display: flex; flex-direction: column; justify-content: center;
  border-radius: 0 28px 28px 0;
  background: linear-gradient(180deg, rgba(255, 106, 43, 0.1), rgba(255, 106, 43, 0.02));
}
.ticket-stub::before { /* perforation */
  content: ""; position: absolute; left: 0; top: 22px; bottom: 22px; width: 2px;
  background: repeating-linear-gradient(180deg, rgba(255, 236, 220, 0.2) 0 7px, transparent 7px 14px);
}
.ticket::before, .ticket::after { /* notches punched at the perforation */
  content: ""; position: absolute; z-index: 3; left: calc(58.33% - 15px); width: 30px; height: 30px; border-radius: 50%;
  background: var(--bg); box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.11);
}
.ticket::before { top: -15px; }
.ticket::after { bottom: -15px; }
.t-date {
  align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--ink-2);
  padding: 7px 12px; border-radius: 999px; background: rgba(255, 236, 220, 0.05); box-shadow: inset 0 0 0 1px var(--line-2);
}
.t-price {
  font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(3.6rem, 2.6rem + 3vw, 5rem);
  letter-spacing: -0.045em; line-height: 1; margin-top: 22px; display: flex; align-items: flex-start;
}
.t-cur { font-size: 0.45em; margin: 0.12em 0.04em 0 0; color: var(--muted); }
.t-usd { font-family: var(--font-b); word-spacing: normal; font-size: 14px; font-weight: 700; letter-spacing: 0.02em; color: var(--dim); align-self: flex-end; margin: 0 0 0.55em 8px; }
.t-per { font-size: 14px; color: var(--muted); margin-top: 6px; }
.ticket-stub .btn { margin-top: 24px; }
.t-terms { margin-top: 12px; font-size: 13px; color: var(--dim); }
.btn.is-loading { pointer-events: none; }
.btn.is-loading .btn-icon svg { opacity: 0; }
.btn.is-loading .btn-icon::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(28, 12, 4, 0.25); border-top-color: var(--on-ember);
  animation: spin 0.7s linear infinite;
}
.btn-icon { position: relative; }
.t-code { width: 100%; height: 34px; margin-top: 30px; opacity: 0.4; }
.t-code rect { fill: var(--ink-2); }
.t-seat { margin-top: 8px; font-size: 11.5px; font-weight: 600; letter-spacing: 0.06em; color: var(--dim); text-transform: uppercase; }

.anchor { text-align: center; margin: 30px auto 0; font-size: 15.5px; color: var(--muted); max-width: 36em; }

/* ============================================================
   FAQ
   ============================================================ */

.faq-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.faq-head { position: sticky; top: 120px; }
.qa { box-shadow: inset 0 1px 0 var(--line); }
.qa:last-child { box-shadow: inset 0 1px 0 var(--line), inset 0 -1px 0 var(--line); }
.qa summary {
  position: relative; list-style: none; cursor: pointer;
  padding: 22px 48px 22px 0; font-size: 17px; font-weight: 700; line-height: 1.4; color: var(--ink);
  transition: color 0.3s var(--ease);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--amber); }
.qa-i { position: absolute; right: 4px; top: 50%; width: 30px; height: 30px; margin-top: -15px; border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line-2); transition: transform 0.5s var(--ease), background-color 0.4s var(--ease); }
.qa-i::before, .qa-i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.6px; margin: -0.8px 0 0 -6px; border-radius: 2px; background: var(--ink-2); transition: transform 0.5s var(--ease); }
.qa-i::after { transform: rotate(90deg); }
.qa[open] .qa-i { background: rgba(255, 106, 43, 0.14); transform: rotate(180deg); }
.qa[open] .qa-i::after { transform: rotate(0deg); }
.qa-a p { padding: 0 48px 24px 0; color: var(--muted); font-size: 16px; max-width: 62ch; }
.qa[open] .qa-a { animation: qaIn 0.5s var(--ease-out); }
@keyframes qaIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* ============================================================
   FINAL
   ============================================================ */

.final-core {
  display: grid; justify-items: center; text-align: center;
  padding: clamp(44px, 7vw, 96px) clamp(22px, 5vw, 64px);
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(255, 106, 43, 0.24), transparent 65%),
    radial-gradient(40% 40% at 85% 100%, rgba(255, 77, 109, 0.1), transparent 70%),
    linear-gradient(180deg, #17110d, #0e0b09);
}
.final-faces { display: flex; margin-bottom: 26px; }
.final-faces img {
  width: 84px; height: 84px; border-radius: 50%; object-fit: cover; object-position: 50% 6%;
  background: radial-gradient(circle at 50% 70%, #ff8a52, #7a2a10);
  box-shadow: 0 0 0 3px #15100d, 0 0 0 4px rgba(255, 106, 43, 0.5), 0 14px 30px -10px rgba(255, 106, 43, 0.5);
}
.final-faces img + img { margin-left: -16px; }
.final-title { font-size: clamp(2.3rem, 1.2rem + 3.8vw, 4.6rem); margin: 14px 0 16px; }
.final-core .lede { margin-bottom: 30px; }
.final-count { margin-top: 20px; font-size: 14px; color: var(--dim); font-weight: 600; font-variant-numeric: tabular-nums; }

/* ============================================================
   FOOTER + DOCK
   ============================================================ */

.foot { padding: 44px 0 56px; box-shadow: inset 0 1px 0 var(--line); text-align: center; font-size: 13.5px; color: var(--dim); }
.foot-inner { display: grid; justify-items: center; gap: 12px; }
.foot-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 6px; }
.foot-brand img { width: auto; }
.foot-brand img:nth-of-type(1) { height: 16px; }
.foot-brand img:nth-of-type(2) { height: 21px; }
.foot-brand img:nth-of-type(3) { height: 21px; }
.foot-fine { font-size: 12px; max-width: 60em; opacity: 0.8; }

.dock { display: none; }

/* ============================================================
   MOTION: page load + scroll reveal
   ============================================================ */

.js [data-load] { opacity: 0; animation: rise 1s var(--ease-out) forwards; }
.js [data-load="0"] { animation-delay: 0.08s; }
.js [data-load="1"] { animation-delay: 0.16s; }
.js [data-load="2"] { animation-delay: 0.26s; }
.js [data-load="3"] { animation-delay: 0.42s; }
.js [data-load="4"] { animation-delay: 0.52s; }
.js [data-load="5"] { animation-delay: 0.62s; }
.js [data-load="6"] { animation-delay: 0.9s; }
@keyframes rise { from { opacity: 0; transform: translate3d(0, 22px, 0); } to { opacity: 1; transform: none; } }

.js .stage-word { opacity: 0; animation: wordIn 1.8s var(--ease-out) 0.1s forwards; }
@keyframes wordIn { from { opacity: 0; letter-spacing: 0.06em; } to { opacity: 1; letter-spacing: -0.02em; } }
.js .stage-light { opacity: 0; animation: fadeIn 1.6s var(--ease-out) forwards; }
@keyframes fadeIn { to { opacity: 1; } }
.js .host { opacity: 0; animation: hostIn 1.25s var(--ease-out) forwards; }
.js .host-mina { animation-delay: 0.22s; }
.js .host-eddie { animation-delay: 0.36s; }
.js .host-brian { animation-delay: 0.3s; }
@keyframes hostIn { from { opacity: 0; transform: translate3d(0, 46px, 0) scale(0.975); } to { opacity: 1; transform: none; } }
.js .host-tag { opacity: 0; animation: rise 0.9s var(--ease-out) forwards; }
.js .tag-mina { animation-delay: 0.95s; }
.js .tag-eddie { animation-delay: 1.05s; }
.js .tag-brian { animation-delay: 1.15s; }
.js .stat-card { opacity: 0; animation: cardIn 0.9s var(--ease-out) forwards; }
.js .sc-mina { animation-delay: 1.15s; }
.js .sc-eddie { animation-delay: 1.35s; }
@keyframes cardIn { from { opacity: 0; transform: translate3d(0, 16px, 0) scale(0.96); } to { opacity: 1; transform: none; } }
/* hold the stage choreography until both photos are decoded (app.js adds .is-ready) */
.js .stage:not(.is-ready) .host,
.js .stage:not(.is-ready) .host-tag,
.js .stage:not(.is-ready) .stat-card { animation-play-state: paused; }

/* pointer parallax uses the independent `translate` property so it composes with the entry animations */
.host, .stage-word, .side { translate: var(--tx, 0) var(--ty, 0); transition: translate 0.9s var(--ease-out); }
.stage-word { translate: calc(-50% + var(--tx, 0px)) var(--ty, 0); transform: none; }

.js .rv { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity 1s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: var(--d, 0s); }
.js .rv.is-in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  .nav-urgency { display: none; }
}

@media (max-width: 1023px) {
  .hero { padding-top: 84px; }
  .hero-grid { --title-fs: clamp(2.3rem, 0.8rem + 7.4vw, 4.6rem); --title-lines: 2; }
  .hero-title .line { display: block; }
  /* full-bleed stage so the pair can be as big as the screen allows */
  .stage { --h: min(72vw, 560px); justify-self: stretch; width: auto; margin-inline: calc(var(--gutter) * -1); }
  .stage-word { font-size: min(calc(var(--h) * 0.4), 25vw); top: 5%; }
  .hero-cta { grid-row: 4; margin-top: 72px; position: relative; z-index: 6; }
  .hero-proof { grid-row: 5; margin-top: 16px; }
  .hero-sub { grid-row: 6; margin-top: 22px; max-width: 32em; }
  .estrip { grid-template-columns: auto minmax(0, 1fr); margin-top: 28px; padding: 12px; gap: 16px; }
  .es-seats { grid-column: 1 / -1; padding: 14px 4px 0; box-shadow: inset 0 1px 0 var(--line); grid-template-columns: auto 1fr; align-items: center; column-gap: 16px; }
  .es-seats-num { grid-row: 1 / span 2; }
  .es-count { grid-column: 1 / -1; padding-top: 14px; box-shadow: inset 0 1px 0 var(--line); }
  .estrip .es-big { justify-content: space-between; }
  .estrip .es-big > div { flex: 1; }
  .es-cta { display: none; }

  /* phones: event cards give way to one slim pill under the headline; names stay on the hosts */
  .side { display: contents; }
  .stat-card { display: none; }
  .hero-pill {
    display: block; position: absolute; z-index: 8; left: 50%; top: calc(100% + 16px); translate: -50% 0;
    width: min(330px, calc(100% - 40px)); height: 44px;
  }
  .hp-item {
    position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 0 16px; border-radius: 999px; font-size: 14px; font-weight: 600; color: var(--ink-2); white-space: nowrap;
    background: rgba(20, 15, 12, 0.72);
    -webkit-backdrop-filter: blur(16px) saturate(1.3);
    backdrop-filter: blur(16px) saturate(1.3);
    box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.13), 0 16px 34px -14px rgba(0, 0, 0, 0.8);
    opacity: 0; transform: translate3d(0, -6px, 0); transition: opacity 0.22s ease-in, transform 0.22s ease-in;
  }
  .hp-item.is-on { opacity: 1; transform: none; transition: opacity 0.45s var(--ease-out) 0.24s, transform 0.45s var(--ease-out) 0.24s; }
  .hp-item b { color: var(--ink); }
  .hp-item svg { width: 15px; height: 15px; flex: none; fill: none; stroke: var(--amber); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
  .host-tag { padding: 7px 11px 8px; border-radius: 12px; }
  .host-tag strong { display: grid; gap: 3px; font-size: 14.5px; }
  .host-tag .lane { justify-self: start; padding: 0; font-size: 10.5px; letter-spacing: 0.1em; background: none; box-shadow: none; }
  .host-tag > span { display: none; }
  .tag-mina, .tag-eddie, .tag-brian { bottom: calc(var(--title-fs) * 0.95 * 2 + 12px); }
  .tag-mina { left: max(10px, calc(var(--left) + var(--h) * 0.06)); }
  .tag-brian { left: auto; right: max(10px, calc(100% - var(--left) - var(--h) * 1.5)); }

  .head-split { grid-template-columns: minmax(0, 1fr); }
  .shift { grid-template-columns: minmax(0, 1fr); }
  .shift-arrow { justify-self: center; transform: rotate(90deg); }
  .pipe { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .pipe::before { left: 30px; right: auto; top: 12px; bottom: 12px; width: 2px; height: auto; background: linear-gradient(180deg, rgba(255, 236, 220, 0.1), rgba(255, 106, 43, 0.55) 20%, rgba(255, 106, 43, 0.55) 80%, rgba(255, 236, 220, 0.1)); }
  .pipe::after {
    left: 25px; right: auto; top: 12px; bottom: 12px; width: 12px; height: auto;
    background:
      radial-gradient(circle at 50% calc(100% - 6px), #ffd3b0 0 2.5px, var(--ember) 3.5px, rgba(255, 106, 43, 0.35) 6px, transparent 7px),
      linear-gradient(180deg, transparent calc(100% - 90px), rgba(255, 106, 43, 0.55) calc(100% - 6px), transparent calc(100% - 5px)) center / 2px 100% no-repeat;
    -webkit-mask-image: linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
    mask-image: linear-gradient(180deg, transparent, #000 4%, #000 96%, transparent);
    animation-name: pipeRunY;
  }
  @keyframes pipeRunY { from { transform: translateY(-100%); } to { transform: translateY(0); } }
  .pipe > li { grid-template-columns: 62px minmax(0, 1fr); column-gap: 18px; justify-items: start; text-align: left; }
  .pipe > li > * { grid-column: 2; }
  .pipe > li > .pipe-icon, .pipe > li > .pipe-dot { grid-column: 1; grid-row: 1 / span 3; justify-self: center; align-self: start; }
  .pipe-dot { margin-top: 3px; }
  .pipe-end b { margin-top: 0; }
  .pipe-num { margin-top: 4px; }
  .pipe-node p, .pipe-end small { max-width: none; }
  .day-pin-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; align-content: center; }
  .day-meter { display: none; }
  .day-dots { display: flex; align-items: center; gap: 8px; margin-top: 16px; }
  .day-dots span { width: 22px; height: 4px; border-radius: 4px; background: rgba(255, 236, 220, 0.12); transition: background-color 0.4s var(--ease), width 0.4s var(--ease); }
  .day-dots span.is-on { width: 34px; background: var(--ember); }
  .day-dots em { margin-left: 6px; font-style: normal; font-size: 13px; font-weight: 700; color: var(--amber); }
  .js .day.is-pinned .day-pin { align-items: flex-start; padding-top: 84px; }
  .js .day.is-pinned .day-stack { margin-top: 22px; }
  .js .day.is-pinned .day-h2 { font-size: clamp(1.7rem, 0.9rem + 4vw, 2.6rem); }
  .cpanel { grid-template-columns: minmax(0, 1fr); }
  .net-strip { padding: 18px; }
  .net-strip .btn { width: 100%; }
  .calc-core { grid-template-columns: minmax(0, 1fr); }
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head { position: static; }
}

@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav { gap: 14px; padding-left: 16px; }
}

@media (max-width: 767px) {
  body { font-size: 16px; }
  .host-cards { grid-template-columns: minmax(0, 1fr); }
  .quiz-core { grid-template-columns: minmax(0, 1fr); }
  .kit-deck { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .kcard { min-height: 380px; }
  .ticket { grid-template-columns: minmax(0, 1fr); }
  .ticket-stub { border-radius: 0 0 28px 28px; }
  .ticket-stub::before { left: 22px; right: 22px; top: 0; bottom: auto; width: auto; height: 2px; background: repeating-linear-gradient(90deg, rgba(255, 236, 220, 0.2) 0 7px, transparent 7px 14px); }
  .ticket::before, .ticket::after { top: auto; bottom: auto; left: -15px; }
  .ticket::before { left: -15px; top: var(--perf, 60%); margin-top: -15px; }
  .ticket::after { left: auto; right: -15px; top: var(--perf, 60%); margin-top: -15px; bottom: auto; }
  .hero-cta { justify-self: stretch; }
  .hero-cta .btn-ghost { display: none; }
  .hero-cta .btn-primary { flex: 1 1 auto; justify-content: space-between; }
  .hc-stats dt { font-size: 19px; }
  .room-cap { flex-direction: column; gap: 2px; }
  /* kit: a swipeable row of full cards instead of a squeezed stack */
  .kit-deck {
    display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain;
    margin-inline: calc(var(--gutter) * -1); padding: 14px var(--gutter) 22px; scrollbar-width: none;
  }
  .kit-deck::-webkit-scrollbar { display: none; }
  .kcard { flex: 0 0 min(84%, 330px); min-height: 0; padding: 22px 20px 20px; scroll-snap-align: center; }
  .kc-checks, .kc-fields, .kc-weeks, .kc-files { padding-top: 26px; }
  .kcard:nth-child(n) { --r: 0deg; }
  .js .kit-deck:not(.is-in) .kcard { transform: translateY(24px); }
  .kit-dots { display: flex; justify-content: center; gap: 8px; margin-top: 2px; }
  .kit-dots span { width: 8px; height: 8px; border-radius: 8px; background: rgba(255, 236, 220, 0.16); transition: width 0.4s var(--ease), background-color 0.4s var(--ease); }
  .kit-dots span.is-on { width: 26px; background: var(--ember); }
  .meal { padding: 18px; }
  .meal .btn { width: 100%; justify-content: space-between; }
  .foot { padding-bottom: 120px; }

  .dock {
    position: fixed; z-index: 45; left: 10px; right: 10px;
    bottom: calc(10px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    padding: 8px 8px 8px 18px; border-radius: 22px;
    background: rgba(18, 13, 10, 0.84);
    -webkit-backdrop-filter: blur(18px) saturate(1.4);
    backdrop-filter: blur(18px) saturate(1.4);
    box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.13), 0 20px 40px -12px rgba(0, 0, 0, 0.85);
    transform: translate3d(0, 150%, 0);
    transition: transform 0.6s var(--ease);
  }
  .dock.is-on { transform: none; }
  .dock-info { display: grid; line-height: 1.25; }
  .dock-info b { font-size: 14.5px; }
  .dock-info > span { font-size: 12.5px; color: var(--muted); }
}

@media (max-width: 400px) {
  .nav { gap: 10px; padding-left: 14px; }
  .nav-brand { gap: 9px; }
  .nav-x { display: none; }
  .logo-trivium { height: 11.5px; }
  .logo-bad { height: 16px; }
  .logo-esa { height: 16px; }
  .nav-cta-more { display: none; }
}

/* short phones: tighten the pinned day so every block lands fully on screen */
@media (max-width: 767px) and (max-height: 800px) {
  .js .day.is-pinned .day-pin { padding-top: 72px; }
  .js .day.is-pinned .day-side .kicker { display: none; }
  .js .day.is-pinned .day-h2 { font-size: 1.5rem; margin-top: 0; }
  .js .day.is-pinned .day-dots { margin-top: 10px; }
  .js .day.is-pinned .day-stack { margin-top: 14px; }
  .js .day.is-pinned .dcard-core { padding: 18px 18px 20px; }
  .js .day.is-pinned .dcard-core h3 { font-size: 1.35rem; margin: 8px 0 10px; }
  .js .day.is-pinned .dblock-do { gap: 6px; }
  .js .day.is-pinned .dblock-do li { font-size: 14px; line-height: 1.4; }
  .js .day.is-pinned .dblock-do li::before { margin-top: 7px; }
  .js .day.is-pinned .block-out { margin-top: 14px; font-size: 14.5px; }
  .js .day.is-pinned .block-out::before { margin-bottom: 10px; }
  .js .day.is-pinned .dcard-meal { margin-top: 10px; font-size: 13px; }
  .js .day.is-pinned .block-num { font-size: 52px; top: 10px; right: 16px; }
}

@media (max-width: 560px) {
  .flow { flex-direction: column; align-items: flex-start; gap: 22px; }
  .flow li + li { margin-left: 0; }
  .flow li + li::before { left: 16px; top: -19px; margin-top: 0; transform: rotate(90deg); }
  .console-tabs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); overflow: visible; }
  .ctab { grid-column: span 2; justify-content: center; padding: 11px 6px; font-size: 14px; gap: 6px; }
  .ctab:nth-child(4), .ctab:nth-child(5) { grid-column: span 3; }
  .ma-chip { font-size: 14px; }
}

@media (max-width: 420px) {
  .hero-proof { gap: 8px 16px; font-size: 13.5px; }
  .eyebrow { font-size: 12px; padding: 7px 12px 7px 10px; }
  .countdown { gap: 9px; }
  .countdown b { font-size: 19px; }
  .es-dots { grid-template-columns: repeat(10, 9px); gap: 4px; }
  .es-dots i { width: 9px; height: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important;
    transition-duration: 0.01ms !important; transition-delay: 0s !important;
  }
  .ticker-track { animation: none; }
  .ma-track { animation: none; }
  .ma-row { overflow-x: auto; }
  .ma-set[aria-hidden="true"] { display: none; }
  .ticker { overflow-x: auto; }
}

/* ============================================================
   OCT 30 UPDATE: three hosts, price gate, details step, past sessions
   ============================================================ */

/* ---------- host cards: three lanes ---------- */
.hc-lane { font-size: 11.5px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--amber); margin: 0 0 8px; }
.hc-logo-esa { height: 22px; }
.hc-img-brian { width: min(62%, 350px); top: 24px; }
.hc-stats .hc-agents {
  grid-column: 1 / -1; display: flex; align-items: baseline; gap: 10px;
  background: rgba(255, 106, 43, 0.08); box-shadow: inset 0 0 0 1px rgba(255, 106, 43, 0.28);
}
.hc-stats .hc-agents dt { color: var(--ember-2); }
.hc-stats .hc-agents dd { margin-top: 0; font-size: 13.5px; color: var(--ink-2); }
@media (min-width: 1024px) {
  .host-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .host-cards .hc-photo { height: clamp(300px, 26vw, 380px); }
  .host-cards .hc-big { font-size: clamp(104px, 10.5vw, 164px); }
  .host-cards .hc-stats dt { font-size: 19px; }
  .host-cards .hc-stats div { padding: 12px; }
  .host-cards .hc-stats div:not(.hc-agents) { min-height: 100px; } /* 3-line labels fit, so the rows line up across cards */
  .hero-cta .btn-lg { min-width: 360px; justify-content: space-between; }
}
@media (min-width: 768px) and (max-width: 1023px) {
  .host-cards { grid-template-columns: minmax(0, 1fr); max-width: 600px; margin-inline: auto; }
}

/* ---------- price gate: details first (app.js adds .is-unlocked; the head script restores it) ---------- */
html:not(.is-unlocked) .gate-open,
html:not(.is-unlocked) .gate-open-block { display: none !important; }
.is-unlocked .gate-locked { display: none !important; }
.ticket-stub .gate-locked { display: grid; justify-items: start; }
/* locked stub: the seats and the save, nothing about price */
.t-seats { display: flex; align-items: center; gap: 14px; margin-top: 22px; }
.t-seats b {
  font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(3.6rem, 2.6rem + 3vw, 5rem);
  letter-spacing: -0.045em; line-height: 0.9; color: var(--ember);
  text-shadow: 0 0 40px rgba(255, 106, 43, 0.35);
}
.t-seats span { font-size: 15px; font-weight: 700; line-height: 1.25; color: var(--ink-2); }
.t-save { display: flex; align-items: center; gap: 9px; margin-top: 14px; font-size: 15px; font-weight: 600; line-height: 1.45; color: var(--ink-2); }
.gate-locked .btn { margin-top: 20px; }

/* ---------- form fields (details step + checkout) ---------- */
.field { display: grid; gap: 7px; align-content: start; }
.field > span { font-size: 13.5px; font-weight: 700; color: var(--ink-2); }
.field > span i { font-style: normal; font-weight: 500; color: var(--dim); }
.field input:not([type="checkbox"]), .field textarea, .field select {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  padding: 13px 16px; border: 0; border-radius: 14px; resize: vertical;
  background: rgba(255, 236, 220, 0.04);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow 0.3s var(--ease), background-color 0.3s var(--ease);
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:not([type="checkbox"]):focus, .field textarea:focus, .field select:focus {
  outline: none; background: rgba(255, 236, 220, 0.06);
  box-shadow: inset 0 0 0 1.5px var(--ember), 0 0 0 4px rgba(255, 106, 43, 0.14);
}
.field-err { display: none; font-style: normal; font-size: 13px; line-height: 1.4; color: #ff8198; }
.field.is-invalid input:not([type="checkbox"]), .field.is-invalid select { box-shadow: inset 0 0 0 1.5px #ff4d6d; }
.field.is-invalid .field-err { display: block; }
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; align-items: start; }
.select-wrap { position: relative; display: block; }
.select-wrap::after {
  content: ""; position: absolute; right: 18px; top: 50%; width: 8px; height: 8px; margin-top: -6px;
  border-right: 1.8px solid var(--muted); border-bottom: 1.8px solid var(--muted); transform: rotate(45deg); pointer-events: none;
}
.field select { -webkit-appearance: none; appearance: none; padding-right: 44px; cursor: pointer; }
.field select:invalid { color: var(--faint); }
.field select option { color: #17110d; background: #f7f1ea; }
.field-check { grid-template-columns: 22px minmax(0, 1fr); gap: 6px 12px; align-items: start; cursor: pointer; }
.field-check input {
  -webkit-appearance: none; appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border-radius: 7px; cursor: pointer;
  display: grid; place-items: center;
  background: rgba(255, 236, 220, 0.04); box-shadow: inset 0 0 0 1.5px var(--line-2);
  transition: background-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}
.field-check input::after {
  content: ""; width: 11px; height: 6px; margin-top: -2px;
  border-left: 2.2px solid var(--on-ember); border-bottom: 2.2px solid var(--on-ember);
  transform: rotate(-45deg) scale(0); transition: transform 0.25s var(--ease-out);
}
.field-check input:checked { background: linear-gradient(180deg, #ff8a52, #f2561a); box-shadow: none; }
.field-check input:checked::after { transform: rotate(-45deg) scale(1); }
.field-check input:focus-visible { outline: 2px solid var(--ember); outline-offset: 3px; }
.field-check > span { font-size: 12.5px; font-weight: 500; line-height: 1.5; color: var(--dim); }
.field-check .field-err { grid-column: 2; }
.field-check.is-invalid input { box-shadow: inset 0 0 0 1.5px #ff4d6d; }
.lead-form { display: grid; gap: 14px; }
.lead-submit { margin-top: 4px; }
.lead-err { padding: 11px 14px; border-radius: 12px; font-size: 14px; font-weight: 600; color: #ffb3c0; background: rgba(255, 77, 109, 0.1); box-shadow: inset 0 0 0 1px rgba(255, 77, 109, 0.35); }
.lead-fine { display: flex; align-items: center; justify-content: center; gap: 7px; font-size: 12.5px; color: var(--dim); }
.lead-fine svg { width: 14px; height: 14px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- the details step (a real <dialog>: top layer, focus stays inside, Escape closes) ---------- */
html.has-modal { overflow: hidden; }
.optin {
  position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none;
  margin: 0; padding: 20px; border: 0; background: transparent; color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
}
.optin[open] { display: grid; place-items: center; }
.optin::backdrop { background: rgba(6, 4, 3, 0.76); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.optin[open]::backdrop { animation: backdropIn 0.35s var(--ease-out); }
@keyframes backdropIn { from { opacity: 0; } }
.optin.is-closing::backdrop { animation: fadeOut 0.22s ease-in forwards; }
@keyframes fadeOut { to { opacity: 0; } }
.optin-card {
  position: relative; width: min(920px, 100%);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  border-radius: 30px; overflow: hidden; background: #110d0a;
  box-shadow: inset 0 0 0 1px var(--line-2), 0 60px 120px -40px rgba(0, 0, 0, 0.95);
  animation: optinIn 0.55s var(--ease-out);
}
.optin.is-closing .optin-card { animation: optinOut 0.22s ease-in forwards; }
@keyframes optinIn { from { opacity: 0; transform: translate3d(0, 26px, 0) scale(0.97); } to { opacity: 1; transform: none; } }
@keyframes optinOut { to { opacity: 0; transform: translate3d(0, 14px, 0) scale(0.985); } }
.optin-side {
  position: relative; display: flex; flex-direction: column; gap: 24px; padding: 38px 32px 32px;
  background:
    radial-gradient(120% 70% at 0% 0%, rgba(255, 106, 43, 0.3), transparent 62%),
    radial-gradient(90% 55% at 100% 100%, rgba(255, 77, 109, 0.14), transparent 65%),
    linear-gradient(180deg, #1d140f, #120d0a);
  box-shadow: inset -1px 0 0 var(--line);
}
.optin-faces { display: flex; }
.optin-faces img {
  width: 64px; height: 64px; border-radius: 50%; object-fit: cover; object-position: 50% 6%;
  background: radial-gradient(circle at 50% 70%, #ff8a52, #7a2a10);
  box-shadow: 0 0 0 3px #1b130e, 0 0 0 4px rgba(255, 106, 43, 0.45);
}
.optin-faces img + img { margin-left: -14px; }
.optin-when { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.optin-steps { display: grid; }
.optin-steps li { position: relative; display: flex; align-items: center; gap: 14px; padding: 10px 0; font-size: 15px; font-weight: 600; color: var(--dim); }
.optin-steps b {
  flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  font-size: 13px; color: var(--muted); background: rgba(255, 236, 220, 0.05); box-shadow: inset 0 0 0 1px var(--line-2);
}
.optin-steps li + li::before { content: ""; position: absolute; left: 14.25px; top: -9px; width: 1.5px; height: 18px; background: var(--line-2); }
.optin-steps li.is-on { color: var(--ink); }
.optin-steps li.is-on b { color: var(--on-ember); background: linear-gradient(180deg, #ff8a52, #f2561a); box-shadow: 0 8px 20px -8px rgba(255, 106, 43, 0.8); }
.optin-seats { display: grid; gap: 10px; padding: 16px; border-radius: 18px; background: rgba(8, 6, 5, 0.35); box-shadow: inset 0 0 0 1px var(--line); }
.optin-seats p { display: flex; align-items: baseline; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--muted); }
.optin-seats b { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: 28px; line-height: 1; letter-spacing: -0.03em; color: var(--ink); }
.optin-seats .es-dots { grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 6px; }
.optin-seats .es-dots i { width: auto; aspect-ratio: 1; height: auto; }
.optin-note { margin-top: auto; display: flex; align-items: flex-start; gap: 10px; padding-top: 18px; font-size: 13.5px; line-height: 1.5; color: var(--muted); box-shadow: inset 0 1px 0 var(--line); }
.optin-note .live-dot { margin-top: 6px; }
.optin-main { position: relative; padding: 38px 36px 30px; }
.optin-x {
  position: absolute; z-index: 3; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center; color: var(--muted);
  background: rgba(255, 236, 220, 0.05); box-shadow: inset 0 0 0 1px var(--line);
  transition: color 0.3s var(--ease), background-color 0.3s var(--ease);
}
.optin-x:hover { color: var(--ink); background: rgba(255, 236, 220, 0.1); }
.optin-x svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.optin-title { font-family: var(--font-d); word-spacing: var(--ws-d); font-weight: 600; font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); letter-spacing: -0.035em; line-height: 1; margin-top: 12px; }
.optin-sub { margin: 10px 0 22px; font-size: 15px; color: var(--muted); max-width: 30em; text-wrap: balance; }
.optin .lead-form input:not([type="checkbox"]), .optin .lead-form select { height: 50px; padding-top: 0; padding-bottom: 0; }

/* ---------- past sessions ---------- */
.past { margin-top: clamp(64px, 8vw, 110px); }
.past-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr); align-items: end; gap: 14px 48px; margin-bottom: clamp(24px, 3vw, 34px); }
.past-head .kicker { grid-column: 1 / -1; }
.past-title { font-family: var(--font-d); word-spacing: var(--ws-d); font-size: clamp(2rem, 1.2rem + 2.2vw, 3.1rem); letter-spacing: -0.035em; line-height: 1; }
.past-copy { font-size: 16px; color: var(--muted); max-width: 30em; padding-bottom: 4px; }
.past-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr); gap: 14px; height: clamp(320px, 33vw, 470px); }
.past-shot { margin: 0; }
.past-shot .core { padding: 0; height: 100%; }
.past-shot img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(0.9) contrast(1.04) brightness(0.94);
  transition: transform 1.4s var(--ease-out);
}
.past-shot .core::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 140, 70, 0.06), transparent 40%, rgba(8, 6, 5, 0.1) 62%, rgba(8, 6, 5, 0.72) 100%);
}
.past-shot figcaption {
  position: absolute; z-index: 2; left: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px 7px 10px; border-radius: 999px;
  font-size: 13px; font-weight: 700; color: var(--ink);
  background: rgba(14, 10, 8, 0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  box-shadow: inset 0 0 0 1px rgba(255, 236, 220, 0.14);
}
.past-shot figcaption::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--ember); box-shadow: 0 0 10px rgba(255, 106, 43, 0.8); }
@media (hover: hover) and (pointer: fine) {
  .past-shot:hover img { transform: scale(1.045); }
}

/* ---------- phones + tablets ---------- */
@media (max-width: 1023px) {
  .past-head { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
  .optin { padding: 0; overflow: hidden; }
  .optin[open] { display: flex; align-items: flex-end; }
  .optin-card {
    width: 100%; grid-template-columns: minmax(0, 1fr); align-content: start;
    max-height: calc(100svh - 12px); overflow-y: auto; overscroll-behavior: contain;
    border-radius: 26px 26px 0 0; padding-bottom: env(safe-area-inset-bottom, 0px);
    animation: sheetIn 0.5s var(--ease-out);
  }
  .optin.is-closing .optin-card { animation: sheetOut 0.24s ease-in forwards; }
  @keyframes sheetIn { from { transform: translate3d(0, 100%, 0); } to { transform: none; } }
  @keyframes sheetOut { to { transform: translate3d(0, 100%, 0); } }
  .optin-side { display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; gap: 14px 12px; padding: 26px 20px 16px; box-shadow: inset 0 -1px 0 var(--line); }
  .optin-side::before { content: ""; position: absolute; left: 50%; top: 9px; width: 40px; height: 4px; margin-left: -20px; border-radius: 4px; background: rgba(255, 236, 220, 0.18); }
  .optin-faces img { width: 38px; height: 38px; box-shadow: 0 0 0 2.5px #1b130e, 0 0 0 3.5px rgba(255, 106, 43, 0.45); }
  .optin-faces img + img { margin-left: -10px; }
  .optin-when { font-size: 13px; }
  .optin-steps { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .optin-steps li { display: grid; gap: 7px; padding: 0; font-size: 11.5px; font-weight: 700; line-height: 1.25; }
  .optin-steps li::after { content: ""; order: -1; height: 4px; border-radius: 4px; background: rgba(255, 236, 220, 0.12); }
  .optin-steps li.is-on::after { background: linear-gradient(90deg, #ff8a52, #f2561a); }
  .optin-steps li + li::before, .optin-steps b { display: none; }
  .optin-note, .optin-seats, .optin-main > .kicker { display: none; }
  .optin-main { position: static; padding: 18px 20px 22px; }
  .optin .lead-form { gap: 12px; }
  .optin .lead-form .field { gap: 6px; }
  .optin .lead-form input:not([type="checkbox"]), .optin .lead-form select { height: 48px; }
  .optin-x { top: 16px; right: 14px; width: 36px; height: 36px; }
  .optin-title { font-size: 1.9rem; margin-top: 0; padding-right: 44px; }
  .optin-sub { margin: 8px 0 16px; font-size: 14.5px; }

  .past-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); height: auto; gap: 10px; }
  .past-wide { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
  .past-shot:not(.past-wide) { aspect-ratio: 3 / 4; }
  .past-shot figcaption { left: 10px; bottom: 10px; font-size: 12px; padding: 6px 10px 6px 9px; }
}
@media (max-width: 699px) {
  .room-grid { grid-template-columns: minmax(0, 1fr); }
  .room-photo .core { min-height: 0; aspect-ratio: 3 / 4; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 400px) {
  .pipe-node h3 { font-size: 1.3rem; }
}
@media (max-width: 374px) {
  .host-tag { padding: 6px 9px 7px; }
  .host-tag strong { font-size: 13px; }
}
