/* playboox landing — ink-on-paper, type-led (Lexend) per the competitive
   sweep: white/near-black ground, near-black type carrying the confidence,
   exactly ONE deep indigo (#4633E6) on primary actions, neutral chrome, one
   full-bleed ink band (Reach). Real product UI (or labeled placeholders) as
   the only imagery. Light + dark via prefers-color-scheme. */

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f5f5f6;
  --ink: #121116;
  --muted: #56545e;
  --faint: #6e6c78;
  --border: #e8e7ea;
  --border-strong: #d4d3d9;
  --accent: #4633e6;
  --accent-ink: #ffffff;
  --accent-deep: #3526bd;
  --accent-soft: #f0effc;
  --shadow: 0 14px 40px rgba(18, 17, 22, 0.06);
  --radius: 16px;
  --sans: "Lexend", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1080px;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0f0e12;
    --surface: #17161b;
    --surface-2: #201f25;
    --ink: #f2f1f5;
    --muted: #a9a7b2;
    --faint: #7c7a86;
    --border: #29282f;
    --border-strong: #3d3b45;
    --accent: #5b49ee;
    --accent-ink: #ffffff;
    --accent-deep: #6f5ef2;
    --accent-soft: #221f3a;
    --shadow: 0 0 0 1px rgba(255, 255, 255, 0.04);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  font: 400 16px/1.6 var(--sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 720px; }
.center { text-align: center; }
.balance { text-wrap: balance; }

a { color: inherit; }
.skip {
  position: absolute; left: -9999px; top: 0; background: var(--accent); color: var(--accent-ink);
  padding: 10px 16px; border-radius: 0 0 10px 0; z-index: 100;
}
.skip:focus { left: 0; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.bar { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; font-size: 17px; text-decoration: none; letter-spacing: -0.01em; }
.mark { width: 23px; height: 23px; flex: none; }
.brand-x { color: var(--accent); }
.nav { display: flex; gap: 4px; margin-left: 8px; }
.nav-cta { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.navlink {
  text-decoration: none; color: var(--muted); font-size: 14px; font-weight: 500;
  padding: 8px 12px; border-radius: 9px; white-space: nowrap;
}
.navlink:hover { color: var(--ink); background: var(--surface-2); }

/* mobile disclosure menu (hidden on desktop; shown ≤860px) */
.mnav { display: none; position: relative; }
.mnav summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--border); }
.mnav summary::-webkit-details-marker { display: none; }
.mnav-bars, .mnav-bars::before, .mnav-bars::after {
  display: block; width: 16px; height: 2px; border-radius: 2px; background: var(--ink); content: "";
}
.mnav-bars { position: relative; }
.mnav-bars::before { position: absolute; top: -5px; }
.mnav-bars::after { position: absolute; top: 5px; }
.mnav-panel {
  position: absolute; right: 0; top: 48px; min-width: 210px; z-index: 60;
  display: flex; flex-direction: column; padding: 8px;
  background: var(--bg); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 18px 50px rgba(18, 17, 22, 0.14);
}
.mnav-panel a { text-decoration: none; color: var(--ink); font-size: 15px; font-weight: 500; padding: 12px 14px; border-radius: 9px; }
.mnav-panel a:hover { background: var(--surface-2); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: 600 14px/1 var(--sans); text-decoration: none; white-space: nowrap;
  padding: 11px 18px; border-radius: 11px; border: 1px solid transparent;
  transition: background 0.15s ease, border-color 0.15s ease, transform 0.05s ease;
}
.btn:active { transform: translateY(1px); }
/* primary CTAs are INK, not accent — the indigo-pill look reads as template
   (user call 2026-07-12); indigo stays for small accents only */
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: color-mix(in srgb, var(--ink) 84%, var(--bg)); }
.btn-ghost { background: var(--surface-2); color: var(--ink); border-color: color-mix(in srgb, var(--faint) 55%, var(--border-strong)); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); }
.btn-lg { padding: 14px 24px; font-size: 15px; border-radius: 13px; }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding: 56px 0 40px; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 20px;
  font-size: 12.5px; font-weight: 500; color: var(--muted);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px;
  padding: 7px 14px;
}
.pill-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--accent); }
h1 {
  font-size: clamp(38px, 5.5vw, 76px); line-height: 1.04; letter-spacing: -0.028em;
  font-weight: 700; margin: 0 0 16px; text-wrap: balance;
}
.hero .sub { font-size: clamp(16px, 2vw, 19px); line-height: 1.6; color: var(--muted); margin: 0 0 24px; text-wrap: pretty; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; align-items: center; }
.hero .micro { margin-top: 14px; }
.micro { font-size: 13px; color: var(--faint); }

.hero-media {
  margin: 34px auto 0; max-width: 1080px; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
/* the two participants flank their own panes; captions became redundant */
.hero-cast { position: absolute; bottom: 0; z-index: 3; height: clamp(180px, 19vw, 264px); overflow: hidden; pointer-events: none; filter: drop-shadow(0 10px 14px rgba(18, 17, 22, 0.3)); }
.hero-cast img { display: block; height: 190%; width: auto; }
.cast-l { left: clamp(-52px, -3.4vw, -22px); }
.cast-r { right: clamp(-52px, -3.4vw, -22px); }
.cast-r img { height: 100%; transform: scaleX(-1); }
.cast-tag { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%) rotate(-1deg); background: var(--ink); color: var(--bg); border-radius: 8px; padding: 3px 9px; font-size: 10px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }
.hero-pane { margin: 0; display: flex; flex-direction: column; }
.hero-pane video { display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.proofrow {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 18px 36px; margin-top: 24px;
}
.runsin { display: inline-flex; align-items: center; gap: 8px; }
.runsin-label { font-size: 12px; color: var(--faint); font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; }
.chip {
  font-size: 13px; font-weight: 600; color: var(--ink);
  background: var(--surface); border: 1px solid var(--border); border-radius: 999px; padding: 6px 14px;
}
.chip-logo { width: 15px; height: 15px; vertical-align: -3px; margin-right: 3px; }
.chip .oai-dark { display: none; }
.reach .chip .oai-light { display: none; }
.reach .chip .oai-dark { display: inline; }
@media (prefers-color-scheme: dark) {
  .runsin .chip .oai-light { display: none; }
  .runsin .chip .oai-dark { display: inline; }
  .reach .chip .oai-light { display: inline; }
  .reach .chip .oai-dark { display: none; }
}
.statstrip { display: flex; flex-wrap: wrap; gap: 8px 28px; list-style: none; margin: 0; padding: 0; }
.statstrip li { font-size: 13.5px; color: var(--muted); }
.statstrip b { color: var(--ink); font-weight: 650; }

/* ── Sections ───────────────────────────────────────────────────────────── */
section { padding: 88px 0; }
/* sections that FOLLOW a filled band need the whole gap on their own top padding */
.problem { padding-top: 152px; padding-bottom: 72px; }
.pricing { padding-top: 168px; }
h2 { font-size: clamp(26px, 3.6vw, 38px); line-height: 1.16; letter-spacing: -0.022em; font-weight: 700; margin: 0 0 18px; text-wrap: balance; }
.lead { font-size: clamp(16px, 2vw, 19px); color: var(--muted); line-height: 1.6; margin: 0 0 10px; text-wrap: pretty; }
.lead.strong { color: var(--ink); font-weight: 600; }
.kicker { font-size: clamp(16px, 2vw, 19px); font-weight: 600; color: var(--ink); margin: 26px 0 0; letter-spacing: -0.01em; }
.contrast { font-size: 15px; color: var(--muted); margin: 10px 0 0; }

.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 38px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 28px; box-shadow: var(--shadow);
}
.card-label {
  margin: 0 0 14px; font-size: 12.5px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted); font-size: 12px;
}
.ticks { list-style: none; margin: 0; padding: 0; }
.ticks li {
  position: relative; padding-left: 26px; margin-bottom: 12px;
  font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty;
}
.ticks li:last-child { margin-bottom: 0; }
.ticks li::before {
  content: "✓"; position: absolute; left: 0; top: 0;
  color: var(--ink); font-weight: 700;
}
.morph-media { margin: 34px auto 0; max-width: 920px; aspect-ratio: 2 / 1; display: flex; }
.morph-media video { width: 100%; height: 100%; object-fit: cover; }

/* ── How it works ───────────────────────────────────────────────────────── */
.steps {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  list-style: none; margin: 40px 0 0; padding: 0;
}
.step {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 18px 24px; box-shadow: var(--shadow);
}
.step-media { aspect-ratio: 16 / 10; margin-bottom: 18px; display: flex; }
.frame { border-radius: 12px; overflow: hidden; border: 1px solid var(--border); background: var(--surface-2); }
@media (prefers-color-scheme: dark) {
  /* the loops are light product UI by design; a rim makes them read as screenshots, not glare */
  .frame { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1); border-color: rgba(255, 255, 255, 0.14); }
}
.frame video, .frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.frame picture { display: flex; width: 100%; }
.step h3 { display: flex; align-items: flex-start; gap: 10px; font-size: 16.5px; font-weight: 650; letter-spacing: -0.01em; margin: 0 0 8px; line-height: 1.35; }
@media (min-width: 861px) {
  .step h3 { min-height: 2.7em; } /* equal title slots so bodies top-align across the row */
}
.step h3 span:last-child { text-wrap: balance; }
.stepnum {
  flex: none; width: 24px; height: 24px; margin-top: 0; display: grid; place-items: center;
  background: var(--ink); color: var(--bg); border-radius: 999px;
  font-size: 12.5px; font-weight: 700;
}
.step p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }

/* ── Best process ───────────────────────────────────────────────────────── */
.process-media { margin: 34px auto 0; max-width: 920px; aspect-ratio: 16 / 8; display: flex; }
.process-media video { width: 100%; height: 100%; object-fit: cover; }

/* ── Reach ──────────────────────────────────────────────────────────────── */
.reach { background: #121116; padding: 96px 0; }
.reach h2, .reach .lead.strong { color: #f4f3f7; }
.reach .lead { color: #a9a7b2; }
.reach .chips { display: flex; justify-content: center; gap: 10px; margin-top: 26px; }
.reach .chip { background: transparent; border-color: rgba(255, 255, 255, 0.28); color: #f4f3f7; }
@media (prefers-color-scheme: dark) {
  /* the band inverts: the invariant is one full-bleed CONTRAST moment, not one dark box */
  .reach { background: #f2f1f5; }
  .reach h2, .reach .lead.strong { color: #121116; }
  .reach .lead { color: #56545e; }
  .reach .chip { border-color: rgba(18, 17, 22, 0.3); color: #121116; }
}

/* ── Pricing ────────────────────────────────────────────────────────────── */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 38px 0 20px; }
.price {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 30px 24px; text-align: center; box-shadow: var(--shadow);
}
.price-n {
  font-size: clamp(38px, 5vw, 52px); font-weight: 700; letter-spacing: -0.03em;
  color: var(--ink); font-variant-numeric: tabular-nums; line-height: 1;
}
.price p { margin: 12px 0 0; font-size: 14px; color: var(--muted); line-height: 1.5; text-wrap: balance; }
.price:nth-child(2) { border: 1.5px solid var(--ink); }

/* ── FAQ ────────────────────────────────────────────────────────────────── */
.faq details {
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  padding: 0 22px; margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between;
  font-weight: 600; font-size: 16px; padding: 18px 0; letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--muted); font-size: 19px; font-weight: 500; margin-left: auto; padding-left: 14px; width: 1em; text-align: center; flex: none; }
.faq details[open] summary::after { content: "\2212"; }
.faq details p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.6; text-wrap: pretty; }
.faq h2 { margin-bottom: 26px; }

/* ── Final CTA ──────────────────────────────────────────────────────────── */
.final { padding: 96px 0 110px; }
.final .cta-row { margin-top: 26px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); background: var(--surface); }
.foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 34px; padding: 30px 24px; }
.foot-brand .brand { font-size: 15px; }
.foot-brand .micro { margin: 6px 0 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 4px 18px; margin-left: auto; }
.foot-nav a, .foot-nav span { font-size: 13px; color: var(--muted); text-decoration: none; }
.foot-nav span { opacity: 0.72; cursor: default; }
.foot-nav a:hover { color: var(--ink); }
.foot-nav a[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.foot > .micro { width: 100%; }

/* ── Responsive ─────────────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .nav { display: none; }
  .mnav { display: block; }
  .bar { gap: 10px; }
  .bar .btn-primary { padding: 10px 14px; }
  .cols, .steps, .prices { grid-template-columns: 1fr; }
  .hero { padding: 44px 0 8px; }
  .hero-media { grid-template-columns: 1fr; }
  /* stacked panes: each character keeps their own pane's bottom corner.
     pane height = (100vw - wrap padding) * 10/16; anchored via top so the
     figures ride the pane edges, small enough to clear the chat text */
  .hero-cast { height: 112px; bottom: auto; }
  .cast-l { left: -4px; top: calc((100vw - 48px) * 0.625 - 112px); }
  .cast-r { right: -4px; top: calc((100vw - 48px) * 1.25 + 14px - 112px); }
  .cast-tag { font-size: 8px; padding: 2px 6px; bottom: 6px; }
  section { padding: 54px 0; }
  .problem { padding-top: 96px; }
  .pricing { padding-top: 104px; }
  .step-media { aspect-ratio: 16 / 10; }
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn-lg { white-space: normal; max-width: 100%; text-align: center; line-height: 1.35; }
  .proofrow { flex-direction: column; gap: 12px; }
  .statstrip { justify-content: center; text-align: center; }
  .foot { flex-direction: column; align-items: flex-start; gap: 12px; }
  .foot-nav { margin-left: 0; flex-direction: column; gap: 8px; }
}
@media (max-width: 480px) {
  .nav-cta > .navlink { display: none; } /* Sign in lives in the menu here */
  .final .btn-ghost { background: transparent; border: none; text-decoration: underline; text-underline-offset: 3px; color: var(--muted); }
}
@media (max-width: 360px) {
  .bar .btn-primary { display: none; } /* hero CTA is one scroll below; menu carries Sign in */
}

/* ——— cutout scroll scenes (scenes.js) ———
   Pinned sticky stages scrubbed by scroll. Layout positions live HERE;
   scenes.js owns `transform` exclusively (never set transforms in CSS on
   [data-el] or the scrub fights the stylesheet). Stage hidden until JS adds
   .scenes-live; reduced-motion/no-JS gets .scene-fallback content instead. */
.scene { position: relative; }
.scene .stage { display: none; }
.scenes-live .scene .stage {
  display: block; position: sticky; top: 0; height: 100vh; height: 100dvh;
  overflow: hidden; background: var(--surface-2);
  pointer-events: none; user-select: none;
}
.scene .stage [data-el] { visibility: hidden; will-change: transform; }
.scenes-live .scene .scene-fallback { display: none; }
.scene .scene-fallback { padding: 72px 0; }

.cutout { position: absolute; bottom: 3vh; height: min(52vh, 580px); z-index: 3; filter: drop-shadow(0 16px 18px rgba(18, 17, 22, 0.28)); }
.cutout.bust { height: min(44vh, 500px); }
.cutout img { height: 100%; width: auto; display: block; }

.s-line { position: absolute; left: 0; right: 0; top: 8.5vh; z-index: 5; margin: 0; padding: 0 24px; text-align: center; font-size: clamp(24px, 4.4vw, 46px); font-weight: 650; line-height: 1.15; letter-spacing: -0.01em; color: var(--ink); text-wrap: balance; }
.s-line.closing { top: 30vh; font-size: clamp(28px, 5vw, 54px); }
.s-line.closing2 { top: 47vh; font-size: clamp(17px, 2vw, 24px); font-weight: 500; color: var(--muted); }
.s-line .stepnum { display: inline-flex; align-items: center; justify-content: center; width: 1.5em; height: 1.5em; border-radius: 50%; background: var(--accent); color: var(--accent-ink); font-size: 0.62em; font-weight: 650; vertical-align: 0.12em; margin-right: 0.35em; }

.bubble { position: absolute; z-index: 4; max-width: min(26vw, 340px); background: #ffffff; color: #121116; border: 2px solid #121116; border-radius: 16px; padding: 10px 15px; font-size: clamp(13px, 1.5vw, 18px); font-weight: 500; line-height: 1.35; box-shadow: 5px 6px 0 rgba(18, 17, 22, 0.18); }
.bubble::before, .bubble::after { content: ""; position: absolute; background: #ffffff; border: 2px solid #121116; border-radius: 50%; }
.bubble::before { width: 12px; height: 12px; bottom: -18px; }
.bubble::after { width: 7px; height: 7px; bottom: -30px; }
.bubble.tail-l::before { left: 22px; } .bubble.tail-l::after { left: 12px; }
.bubble.tail-r::before { right: 22px; } .bubble.tail-r::after { right: 12px; }

.s-chip { position: absolute; z-index: 4; background: var(--surface); color: var(--ink); border: 2px solid var(--ink); border-radius: 12px; padding: 7px 13px; font-size: clamp(12px, 1.4vw, 16px); font-weight: 600; white-space: nowrap; box-shadow: 4px 5px 0 rgba(18, 17, 22, 0.15); }
.s-chip.good::before { content: "✓ "; color: var(--accent); }

.clipcard { position: absolute; z-index: 2; width: min(46vw, 720px); aspect-ratio: 16 / 10; margin: 0; border-radius: 14px; overflow: hidden; border: 1px solid var(--border-strong); box-shadow: 0 30px 80px rgba(18, 17, 22, 0.28); background: #101014; }
.clipcard video, .clipcard img { width: 100%; height: 100%; display: block; object-fit: cover; }
.clipcard picture { display: block; width: 100%; height: 100%; }

.s-tag { position: absolute; z-index: 5; background: var(--ink); color: var(--bg); border-radius: 8px; padding: 4px 10px; font-size: clamp(10px, 1.05vw, 13px); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; }

.propimg { position: absolute; z-index: 2; filter: drop-shadow(0 14px 16px rgba(18, 17, 22, 0.25)); }
.propimg img { width: 100%; height: 100%; display: block; object-fit: contain; }

.p-logo { position: absolute; z-index: 4; width: 52px; height: 52px; background: #ffffff; border: 2px solid #121116; border-radius: 12px; display: flex; align-items: center; justify-content: center; box-shadow: 4px 5px 0 rgba(18, 17, 22, 0.15); }
.p-logo img { width: 30px; height: 30px; filter: grayscale(1); opacity: 0.85; }

/* — scene 1 · the story — */
#scene-story [data-el="maya1"] { left: 8%; }
#scene-story [data-el="maya2"], #scene-story [data-el="maya3"] { left: 10%; }
#scene-story [data-el="bub1"] { left: 23%; bottom: 57vh; }
#scene-story [data-el="bub2"] { left: 24%; bottom: 55vh; }
#scene-story [data-el="bub3"] { left: 22%; bottom: 59vh; }
#scene-story [data-el="bub4"] { left: 23%; bottom: 56vh; }
#scene-story [data-el="p1"] { left: 31%; bottom: 46vh; }
#scene-story [data-el="p2"] { left: 45%; bottom: 55vh; }
#scene-story [data-el="p3"] { left: 58%; bottom: 38vh; }
#scene-story [data-el="p4"] { left: 33%; bottom: 22vh; }
#scene-story [data-el="p5"] { left: 47%; bottom: 30vh; }
#scene-story [data-el="p6"] { left: 60%; bottom: 16vh; }
#scene-story [data-el="f1"] { left: 36%; bottom: 52vh; }
#scene-story [data-el="f2"] { left: 50%; bottom: 42vh; }
#scene-story [data-el="f3"] { left: 38%; bottom: 31vh; }
#scene-story [data-el="f4"] { left: 52%; bottom: 20vh; }
#scene-story [data-el="card1"], #scene-story [data-el="card2"] { right: 4%; bottom: 13vh; }
#scene-story [data-el="plane"] { left: 0; bottom: 26vh; width: min(16vw, 220px); }
#scene-story [data-el="rec1"], #scene-story [data-el="rec2"] { right: 7%; }
#scene-story [data-el="bub5"] { right: 24%; bottom: 50vh; }
#scene-story [data-el="bub6"] { right: 23%; bottom: 52vh; }
#scene-story [data-el="bub7"] { right: 24%; bottom: 49vh; }
#scene-story [data-el="card3"], #scene-story [data-el="card4"], #scene-story [data-el="card5"] { left: 4%; bottom: 13vh; }
#scene-story [data-el="hm1"], #scene-story [data-el="hmT"] { right: 7%; }
#scene-story [data-el="bub8a"] { right: 24%; bottom: 50vh; }
#scene-story [data-el="bub8b"] { right: 24%; bottom: 49vh; }
#scene-story [data-el="k1"] { left: 52%; bottom: 30vh; }
#scene-story [data-el="k2"] { left: 56%; bottom: 22vh; }
#scene-story [data-el="tagMaya"] { left: 5%; bottom: 4.5vh; }
#scene-story [data-el="tagRec"], #scene-story [data-el="tagHm"] { right: 4%; bottom: 4.5vh; }
#scene-story [data-el="finTagM"] { left: 27%; bottom: 42.5vh; }
#scene-story [data-el="finTagR"] { left: 44%; bottom: 38.5vh; }
#scene-story [data-el="finTagH"] { left: 57%; bottom: 38.5vh; }
#scene-story [data-el="finMaya"] { left: 27%; height: min(38vh, 420px); }
#scene-story [data-el="finRec"] { left: 44%; height: min(34vh, 380px); }
#scene-story [data-el="finHm"] { left: 57%; height: min(34vh, 380px); }

/* — scene 2 · forms vs conversation — */
#scene-form [data-el="maya1"] { left: 7%; }
#scene-form [data-el="maya2"] { left: 8%; }
#scene-form [data-el="prop"] { left: 32%; bottom: 6vh; height: min(76vh, 840px); width: auto; }
#scene-form [data-el="prop"] img { width: auto; }
#scene-form [data-el="g1"] { left: 52%; bottom: 62vh; }
#scene-form [data-el="g2"] { left: 66%; bottom: 52vh; }
#scene-form [data-el="g3"] { left: 54%; bottom: 42vh; }
#scene-form [data-el="g4"] { left: 68%; bottom: 32vh; }
#scene-form [data-el="g5"] { left: 56%; bottom: 22vh; }
#scene-form [data-el="bubA"] { left: 21%; bottom: 58vh; }
#scene-form [data-el="cardQ"] { right: 13%; bottom: 13vh; }
#scene-form [data-el="bubB"] { left: 23%; bottom: 57vh; }
#scene-form [data-el="recC"] { right: 2%; z-index: 3; }
#scene-form [data-el="s1"] { right: 27%; bottom: 46vh; }
#scene-form [data-el="s2"] { right: 24%; bottom: 38vh; }
#scene-form [data-el="s3"] { right: 26%; bottom: 30vh; }
#scene-form [data-el="bubC"] { right: 3%; bottom: 52vh; }
#scene-form [data-el="tagC"] { left: 4%; bottom: 4.5vh; }
#scene-form [data-el="tagR"] { right: 3%; bottom: 4.5vh; }

/* — scene 3 · three steps — */
#scene-steps .clipcard { left: 4%; bottom: 13vh; width: min(48vw, 720px); }
#scene-steps .cutout { right: 6%; }
#scene-steps [data-el="maya2b"] { right: 9%; }
#scene-steps [data-el="bubS"] { right: 22%; bottom: 50vh; }
#scene-steps [data-el="bubA2"] { right: 21%; bottom: 57vh; }
#scene-steps [data-el="bubC2"] { right: 22%; bottom: 50vh; }
#scene-steps [data-el="tag1"], #scene-steps [data-el="tag2"], #scene-steps [data-el="tag3"] { right: 5%; bottom: 4.5vh; }
#scene-steps [data-el="lineEnd"] { top: auto; bottom: 5vh; font-size: clamp(16px, 1.9vw, 22px); font-weight: 500; color: var(--muted); }

@media (max-width: 760px) {
  .cutout, .scene .cutout { height: 30vh; bottom: 2vh; }
  .cutout.bust, .scene .cutout.bust { height: 26vh; }
  .scene .clipcard { width: 88vw !important; left: 6vw !important; right: auto !important; bottom: 34vh !important; }
  .bubble { max-width: 56vw; font-size: 13px; }
  #scene-story .bubble, #scene-form .bubble, #scene-steps .bubble { left: auto; right: 4vw; bottom: 8vh; }
  .s-line { font-size: clamp(19px, 6vw, 27px); top: 11vh; }
  .bubble.tail-r { right: auto !important; left: 4vw !important; }
  .s-line.closing { top: 24vh; font-size: clamp(23px, 7vw, 32px); }
  .s-line.closing2 { top: 42vh; }
  .s-chip { font-size: 11px; padding: 5px 9px; box-shadow: 3px 3px 0 rgba(18, 17, 22, 0.15); }
  .p-logo { width: 34px; height: 34px; } .p-logo img { width: 20px; height: 20px; }
  #scene-story [data-el="p1"] { left: 6%; bottom: 48vh; } #scene-story [data-el="p2"] { left: 30%; bottom: 44vh; }
  #scene-story [data-el="p3"] { left: 54%; bottom: 48vh; } #scene-story [data-el="p4"] { left: 78%; bottom: 44vh; }
  #scene-story [data-el="p5"] { left: 18%; bottom: 38vh; } #scene-story [data-el="p6"] { left: 66%; bottom: 38vh; }
  #scene-story [data-el="f1"] { left: 8%; bottom: 74vh; } #scene-story [data-el="f2"] { left: 46%; bottom: 68vh; }
  #scene-story [data-el="f3"] { left: 12%; bottom: 62vh; } #scene-story [data-el="f4"] { left: 50%; bottom: 56vh; }
  #scene-story [data-el="plane"] { width: 26vw; bottom: 40vh; }
  #scene-story [data-el="finMaya"] { left: 12%; height: 26vh; } #scene-story [data-el="finRec"] { left: 42%; height: 23vh; }
  #scene-story [data-el="finHm"] { left: 62%; height: 23vh; }
  #scene-form [data-el="prop"] { left: 45%; height: 46vh; bottom: 30vh; }
  #scene-form [data-el="g1"] { left: 6%; bottom: 76vh; } #scene-form [data-el="g2"] { left: 48%; bottom: 71vh; }
  #scene-form [data-el="g3"] { left: 10%; bottom: 66vh; } #scene-form [data-el="g4"] { left: 52%; bottom: 61vh; }
  #scene-form [data-el="g5"] { left: 14%; bottom: 56vh; }
  #scene-form [data-el="s1"] { right: auto; left: 8%; bottom: 78vh; }
  #scene-form [data-el="s2"] { right: auto; left: 40%; bottom: 72vh; }
  #scene-form [data-el="s3"] { right: auto; left: 16%; bottom: 66vh; }
  #scene-form [data-el="recC"] { right: 2%; }
  .s-tag { font-size: 9px; padding: 3px 7px; }
  #scene-story [data-el="k1"] { left: 8%; bottom: 76vh; }
  #scene-story [data-el="k2"] { left: 44%; bottom: 70vh; }
  #scene-story [data-el="finTagM"] { left: 10%; bottom: 29vh; }
  #scene-story [data-el="finTagR"] { left: 40%; bottom: 26vh; }
  #scene-story [data-el="finTagH"] { left: 64%; bottom: 26vh; }
}

/* ——— the 90-sec film lightbox ——— */
.film-dialog { border: none; padding: 0; background: transparent; width: min(92vw, 1120px); max-width: none; }
.film-dialog::backdrop { background: rgba(18, 17, 22, 0.82); }
.film-dialog video { display: block; width: 100%; border-radius: 14px; box-shadow: 0 40px 120px rgba(0, 0, 0, 0.5); }

/* candidate fork in the employer hero */
.herocand { margin-top: 18px; font-size: 14.5px; color: var(--muted); }
.herocand a { color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.herocand a:hover { color: var(--accent); }
