/* RLWRLD look (rlwrld.ai): near-black-to-navy background, brand teal #23b399, Pretendard text,
   Space Grotesk numbers, Menlo labels. Loaded after base.css and styles.css; only tokens and a few
   brand elements change here. The dark selectors match base.css's, so these win on order. */
:root, :root:not([data-theme="light"]), :root[data-theme="dark"] {
  --bg: #05080f;
  --panel: #0b1120;
  --soft: #111827;
  --fg: #f4f6f8;
  --muted: rgba(244, 246, 248, .62);
  --line: rgba(255, 255, 255, .10);
  --accent: #23b399;
  --accent-hover: #1d9880;
  --accent-soft: rgba(35, 179, 153, .14);
  --gr00t: #5eb7ff;
  --cosmos: #f5a524;
  --pi: #c084fc;
  --ok: #34d399;
  --bad: #f87171;
  --warn: #fbbf24;
  --proto: #a78bfa;
  --sans: "Pretendard", "Pretendard Variable", system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: var(--sans);
  --mono: Menlo, "SFMono-Regular", ui-monospace, monospace;
  --num: "Space Grotesk", var(--sans);
}
:root[data-theme="light"] {
  --bg: #fafafa;
  --panel: #ffffff;
  --soft: #f3f4f6;
  --fg: #111827;
  --muted: #4b5563;
  --line: #e5e7eb;
  --accent: #1d9880;
  --accent-hover: #187d6a;
  --accent-soft: #f0faf7;
  --gr00t: #1d6fd1;
  --cosmos: #b4690e;
  --pi: #8b3fd9;
}
body {
  background: var(--bg);
  letter-spacing: -.01em;
}
:root:not([data-theme="light"]) body {
  background: linear-gradient(180deg, #0a0e1a 0%, #000000 25%, #040a18 50%, #0f0a1a 75%, #000000 100%) fixed;
}
h1, h2, h3, h4 { font-family: var(--sans); letter-spacing: -.02em }
.num, .key-facts b, .rank, td.num, th.num { font-family: var(--num); font-variant-numeric: tabular-nums }
.eyebrow { font-family: var(--mono); color: var(--accent) }
a { color: var(--accent) }
a:hover { color: var(--accent-hover) }
.button, .nav-cta { background: var(--accent); color: #fff; border-color: var(--accent) }
.button:hover, .nav-cta:hover { background: var(--accent-hover); border-color: var(--accent-hover) }

/* header: the RLWRLD wordmark, then the product name */
.brand { display: flex; align-items: center; gap: 12px; font-family: var(--sans); font-weight: 600 }
.brand-logo { height: 16px; width: auto; display: block }
:root[data-theme="light"] .brand-logo { filter: invert(1) }
.brand-sep { width: 1px; height: 18px; background: var(--line) }
.brand-name { color: var(--fg) }
.brand-name .brand-arena { color: var(--muted); font-weight: 400 }

/* Release badge next to the brand */
.ea-badge { font: 500 10px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 999px; padding: 6px 10px; white-space: nowrap }
.ea-badge-ga { color: var(--muted) }
@media (max-width: 720px) { .ea-badge-ga { display: none } }

/* Key facts: four columns */
.key-facts { grid-template-columns: repeat(4, 1fr) }
.key-facts div { display: block }
.key-facts b { display: block; margin-bottom: 6px }
@media (max-width: 900px) { .key-facts { grid-template-columns: repeat(2, 1fr) } }

/* Episodes page: side menu with both views */
.ep-layout { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; align-items: start; margin-top: 8px }
.ep-side { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 6px }
.ep-side button { appearance: none; text-align: left; background: none; border: 1px solid transparent; border-left: 2px solid var(--line); color: var(--muted); font: inherit; font-size: 14px; padding: 10px 12px; cursor: pointer; border-radius: 0 6px 6px 0 }
.ep-side button span { display: block; font-size: 11px; margin-top: 4px; opacity: .8 }
.ep-side button:hover { color: var(--fg) }
.ep-side button[aria-pressed="true"] { color: var(--fg); border-left-color: var(--accent); background: color-mix(in srgb, var(--accent) 10%, transparent) }
.ep-side p { margin: 10px 0 0 14px }
.ep-main > div > h2:first-child { margin-top: 0 }
/* Below 1280 px the task list and this menu together leave the episode tables too narrow, so the menu becomes a row */
@media (max-width: 1279px) { .ep-layout { grid-template-columns: 1fr; gap: 16px } .ep-side { position: static; flex-direction: row; flex-wrap: wrap } .ep-side button { flex: 1 1 160px } .ep-side p { display: none } }

/* Home: 3D comparison */
#rollouts #cmpv { min-height: 420px }

/* Hero: the 15-task overview wall (16:9, plays inline) */
.hero { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 48px }
.hero-visual .vid.hero-wall { aspect-ratio: 16 / 9; overflow: hidden; border: 1px solid var(--line) }
.hero-visual .vid.hero-wall video { object-fit: cover; display: block }
@media (max-width: 900px) { .hero { grid-template-columns: 1fr } .hero-visual .vid.hero-wall { aspect-ratio: 16 / 9 } }

/* Task cards: the loop fades in over the still once it plays */
.tmedia { position: relative; border-radius: 7px; overflow: hidden }
.tmedia img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover }
.tloop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; pointer-events: none }
.tloop.on { opacity: 1 }
.tcard:hover .tloop { filter: brightness(1.13) }

/* ---------- Task section: scene side menu ---------- */
.tasks-layout { display: grid; grid-template-columns: 236px minmax(0, 1fr); gap: 44px; align-items: start }
.task-side { position: sticky; top: 104px; display: flex; flex-direction: column; gap: 18px; max-height: calc(100vh - 128px); overflow-y: auto; padding-right: 4px; scrollbar-width: thin }
.ts-all { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-size: 13px; font-weight: 600; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px }
.ts-all span { font: 500 11px var(--num); color: var(--muted) }
.ts-all[aria-current=page], .ts-all:hover { border-color: var(--accent); color: var(--accent) }
.ts-envhead { display: flex; gap: 8px; align-items: baseline; font-size: 12px; font-weight: 600; color: var(--fg); padding: 0 12px 6px }
.ts-code { font: 500 10px var(--mono); letter-spacing: .08em; color: var(--accent) }
.ts-task { display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; gap: 8px; align-items: center; padding: 7px 12px; border-left: 2px solid var(--line); color: var(--muted); text-decoration: none; font-size: 13px; transition: color .15s, background .15s, border-color .15s }
.ts-task:hover { color: var(--fg); background: rgba(255, 255, 255, .03) }
.ts-task[aria-current=page] { color: var(--fg); border-left-color: var(--accent); background: var(--accent-soft) }
.ts-id { font: 500 11px var(--num); color: inherit; opacity: .8 }
.ts-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.ts-tag { font: 600 9px var(--mono); letter-spacing: .08em; padding: 2px 5px; border-radius: 4px; color: var(--accent); background: var(--accent-soft) }
.ts-task.ga .ts-tag { color: var(--muted); background: rgba(255, 255, 255, .06) }
.tasks-main { min-width: 0 }
.tasks-main .page-header { margin-bottom: 26px }
@media (max-width: 900px) {
  .tasks-layout { grid-template-columns: 1fr; gap: 18px }
  /* one scrolling row of chips: scene code, then its tasks */
  .task-side { position: static; max-height: none; flex-direction: row; align-items: center; overflow-x: auto; gap: 8px; padding-bottom: 8px }
  .ts-all { flex: 0 0 auto; padding: 7px 10px; gap: 8px }
  .ts-env { display: flex; align-items: center; gap: 6px; flex: 0 0 auto }
  .ts-envhead { padding: 0 2px 0 6px; font-size: 0 }
  .ts-envhead .ts-code { font-size: 10px }
  .ts-task { display: flex; gap: 6px; border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; white-space: nowrap }
  .ts-task[aria-current=page] { border-color: var(--accent) }
  .ts-tag { display: none }
}

/* ---------- Task cards: badges, GA grid, suite heads ---------- */
.tbadges { position: absolute; left: 10px; top: 10px; right: 10px; display: flex; flex-wrap: wrap; gap: 6px; z-index: 1 }
.tbadge { font: 600 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; padding: 4px 7px; border-radius: 5px; backdrop-filter: blur(6px) }
.tbadge.ea { color: #04140f; background: var(--accent) }
.tbadge.ga { color: var(--fg); background: rgba(5, 8, 15, .62); border: 1px solid rgba(255, 255, 255, .22) }
.tbadge.concept { color: #1b1203; background: var(--cosmos) }
.suite-head { display: flex; align-items: baseline; gap: 14px; margin: 40px 0 18px; padding-top: 22px; border-top: 1px solid var(--line) }
.suite-head:first-of-type { margin-top: 8px }
.suite-head h2, .suite-head h3 { margin: 0; font-size: 22px }
.suite-head h3 { font-size: 17px }
.suite-head span { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted) }
.suite-head.ga span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; margin-right: 8px; border: 1px solid var(--muted); vertical-align: 1px }
.suite-note { margin: -8px 0 18px }
.ga-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) }
.ga-grid.compact { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px }
.ga-grid.compact .tcard .nm { font-size: 13px }
.ga-grid.compact .tcard .tx { padding-top: 10px }
.ga-grid.compact .tbadges { display: none }
.tcard.ga .tmedia img { filter: saturate(.75) }
@media (max-width: 1100px) { .ga-grid.compact { grid-template-columns: repeat(4, minmax(0, 1fr)) } }
@media (max-width: 900px) { .ga-grid, .ga-grid.compact { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* ---------- Task header: title with previous / next ---------- */
.task-header .title-row { display: flex; align-items: center; justify-content: space-between; gap: 24px }
.task-header h1 { margin: 0 }
.eyebrow-ga { color: var(--muted) }
.pager { display: flex; align-items: center; gap: 10px; flex: 0 0 auto }
.pager-pos { font: 500 13px var(--num); color: var(--muted); min-width: 58px; text-align: center; letter-spacing: .02em }
.pager-pos b { color: var(--fg); font-weight: 600 }
.pager-pos i { font-style: normal; margin: 0 4px; opacity: .5 }
.pager-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--fg); text-decoration: none; font-size: 16px; transition: border-color .15s, background .15s, transform .15s }
.pager-btn:hover, .pager-btn:focus-visible { border-color: var(--accent); background: var(--accent-soft); color: var(--accent) }
.pager-btn[rel=prev]:hover { transform: translateX(-2px) }
.pager-btn[rel=next]:hover { transform: translateX(2px) }
.pager-tip { position: absolute; bottom: calc(100% + 10px); right: 0; white-space: nowrap; font: 500 11px var(--sans); color: var(--fg); background: var(--panel); border: 1px solid var(--line); border-radius: 6px; padding: 6px 9px; opacity: 0; pointer-events: none; transform: translateY(4px); transition: opacity .15s, transform .15s }
.pager-btn[rel=prev] .pager-tip { right: auto; left: 0 }
.pager-btn:hover .pager-tip, .pager-btn:focus-visible .pager-tip { opacity: 1; transform: none }
@media (max-width: 700px) { .task-header .title-row { flex-direction: column; align-items: flex-start; gap: 14px } .pager-tip { display: none } }

/* ---------- Generalization axes ---------- */
.axes { margin: 34px 0 26px }
.axes-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin-bottom: 14px }
.axes-head h2 { margin: 0; font-size: 20px }
.axes-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px }
.axis { border: 1px solid var(--line); border-radius: 10px; padding: 16px 18px; background: rgba(255, 255, 255, .02) }
.axis-top { display: flex; align-items: baseline; gap: 8px; margin-bottom: 8px }
.axis-top b { font: 600 17px var(--num) }
.axis-top span { font-size: 13px; color: var(--muted) }
.axis-top em { margin-left: auto; font: 600 9px var(--mono); letter-spacing: .08em; text-transform: uppercase; font-style: normal; padding: 3px 6px; border-radius: 4px; color: var(--muted); background: rgba(255, 255, 255, .06) }
.axis.on { border-color: color-mix(in srgb, var(--accent) 45%, transparent) }
.axis.on .axis-top em { color: var(--accent); background: var(--accent-soft) }
.axis.later, .axis.off { opacity: .72 }
.axis p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted) }
.axis .axis-ex { margin-top: 10px; color: var(--fg) }
.axis-ex span { font: 500 10px var(--mono); color: var(--accent); margin-right: 6px }
@media (max-width: 800px) { .axes-grid { grid-template-columns: 1fr } }

/* ---------- Sensing ---------- */
.modal-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px }
.modal { position: relative; display: flex; flex-direction: column; gap: 14px; padding: 18px; border: 1px solid var(--line); border-radius: 10px; background: rgba(255, 255, 255, .02) }
.modal h3 { margin: 0 0 6px; font-size: 15px }
.modal p { margin: 0; font-size: 12.5px; line-height: 1.6; color: var(--muted) }
.modal-ic svg { width: 26px; height: 26px; fill: none; stroke: var(--accent); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round }
.modal-tag { margin-top: auto; align-self: flex-start; font: 600 9px var(--mono); letter-spacing: .1em; text-transform: uppercase; padding: 3px 7px; border-radius: 4px; color: var(--accent); background: var(--accent-soft) }
.modal.rec .modal-ic svg { stroke: var(--muted) }
.modal.rec .modal-tag { color: var(--muted); background: rgba(255, 255, 255, .06) }
.modal.ga { border-style: dashed; background: transparent }
.modal.ga .modal-ic svg { stroke: var(--muted) }
.modal.ga .modal-tag { color: var(--fg); background: transparent; border: 1px solid rgba(255, 255, 255, .22) }
@media (max-width: 1100px) { .modal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)) } }
@media (max-width: 700px) { .modal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) } }

/* ---------- GA task pages without results yet ---------- */
.ga-empty { border: 1px dashed rgba(255, 255, 255, .18); border-radius: 12px; padding: 40px 32px; text-align: left }
.ga-empty h2 { margin: 16px 0 8px }
.ga-empty p { color: var(--muted); max-width: 60ch }
.ga-empty .task-links { flex-wrap: wrap }
.task-header .lede { margin-top: 14px }
.axes-grid + p, .axes-grid + p + p { margin-top: 12px }

/* ---------- Header and footer: DexBench leads, RLWRLD signs ---------- */
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none }
.brand .brand-name { font: 600 27px var(--num); letter-spacing: -.03em; color: var(--fg) }
.footer-brand { display: inline-flex; align-items: center; gap: 12px; font: 600 15px var(--num) }
.footer-by { display: inline-flex; align-items: center; gap: 6px; font: 500 10px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted) }
.footer-by img { height: 11px }

/* ---------- Hero slider (RoboDojo-style) ---------- */
body { overflow-x: clip }
.hero-slider { width: 100vw; margin-left: calc(50% - 50vw); padding: 26px 0 10px }
.hs-viewport { overflow: hidden }
.hs-track { display: flex; gap: 28px; transition: transform .75s cubic-bezier(.22, .8, .2, 1); will-change: transform }
.hs-slide { position: relative; flex: 0 0 min(1220px, 84vw); aspect-ratio: 16 / 8.6; max-height: 76vh; border-radius: 28px; overflow: hidden; background: var(--panel); transform: scale(.93); opacity: .45; transition: transform .75s cubic-bezier(.22, .8, .2, 1), opacity .75s; cursor: pointer }
.hs-slide.is-active { transform: none; opacity: 1; cursor: default }
.hs-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover }
.hs-shade { position: absolute; inset: 0; background: radial-gradient(ellipse 60% 55% at 50% 50%, rgba(5, 8, 15, .62), rgba(5, 8, 15, .18) 70%, rgba(5, 8, 15, .05)), linear-gradient(180deg, transparent 55%, rgba(5, 8, 15, .55)) }
.hs-copy { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 24px; opacity: 0; transform: translateY(12px); transition: opacity .5s .25s, transform .5s .25s }
.hs-slide.is-active .hs-copy { opacity: 1; transform: none }
.hs-title { margin: 0; font: 600 clamp(58px, 9vw, 132px)/.95 var(--num); letter-spacing: -.045em; color: #fff; text-shadow: 0 8px 48px rgba(0, 0, 0, .5) }
.hs-title.sm { font-size: clamp(36px, 5.2vw, 72px) }
.hs-sub { margin: 16px 0 4px; font-size: clamp(18px, 2.1vw, 28px); font-weight: 500; color: #fff; text-shadow: 0 2px 20px rgba(0, 0, 0, .5) }
.hs-meta { margin: 8px 0 26px; font: 500 11px var(--mono); letter-spacing: .1em; text-transform: uppercase; color: rgba(255, 255, 255, .78) }
.hs-eyebrow { margin-bottom: 14px; font: 500 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--accent) }
.hs-by { display: flex; align-items: center; gap: 8px; margin-bottom: 18px; font: 500 11px var(--mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .8) }
.hs-by img { height: 12px }
.hs-copy .actions { justify-content: center; margin-top: 18px }
.button.ghost { background: rgba(5, 8, 15, .35); color: #fff; border-color: rgba(255, 255, 255, .45); backdrop-filter: blur(8px) }
.button.ghost:hover { background: rgba(5, 8, 15, .55); border-color: #fff; color: #fff }
.hs-controls { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 22px }
.hs-arrow { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--fg); font-size: 16px; cursor: pointer; transition: border-color .15s, color .15s, background .15s }
.hs-arrow:hover, .hs-arrow:focus-visible { border-color: var(--accent); color: var(--accent); background: var(--accent-soft) }
.hs-dots { display: flex; gap: 8px; align-items: center }
.hs-dot { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 99px; background: rgba(255, 255, 255, .28); cursor: pointer; transition: width .3s, background .3s }
.hs-dot[aria-current=true] { width: 30px; background: var(--accent) }
@media (max-width: 700px) { .hs-slide { flex-basis: 90vw; aspect-ratio: 4 / 5; border-radius: 20px } .hs-meta { display: none } .hs-track { gap: 12px } }
@media (prefers-reduced-motion: reduce) { .hs-track, .hs-slide, .hs-copy { transition: none } }

/* ---------- Task tab: Variations ---------- */
.var-intro { margin-bottom: 18px }
.var-intro h2 { margin: 0 0 6px }
.var-intro p { margin: 0; color: var(--muted); max-width: 72ch }
.vv-host { margin-bottom: 18px }
.vv { border-radius: 12px }
.vv .v3d-stage { background: var(--soft) }
.vv-modes { position: absolute; left: 12px; top: 12px; display: flex; gap: 6px; z-index: 2 }
.vv-modes button { font: 600 12px var(--sans); padding: 7px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(5, 8, 15, .6); color: var(--fg); cursor: pointer; backdrop-filter: blur(6px) }
.vv-modes button[aria-pressed=true] { background: var(--accent); border-color: var(--accent); color: #04140f }
.vv-labels { position: absolute; inset: 0; pointer-events: none; overflow: hidden }
.vv-label { position: absolute; left: 0; top: 0; white-space: nowrap; font: 500 10.5px var(--mono); padding: 3px 7px; border-radius: 5px; background: rgba(5, 8, 15, .72); color: var(--fg) }
.vv-label.train { color: var(--accent) }
.vv-legend { position: absolute; right: 12px; bottom: 12px; display: flex; flex-wrap: wrap; gap: 6px 12px; padding: 7px 10px; border-radius: 8px; background: rgba(5, 8, 15, .7); font-size: 11.5px; z-index: 2 }
.vv-legend span { display: inline-flex; align-items: center; gap: 6px }
.vv-legend i { width: 10px; height: 10px; border-radius: 3px; display: inline-block }
.vv-legend i.tr { background: var(--accent) }
.vv-legend i.ho { background: #3a4150; border: 1px solid rgba(255, 255, 255, .4) }
.vv-legend i.ring { border-radius: 50%; border: 2px solid var(--fg); background: transparent }
.vv-note { margin: 10px 14px 12px }
.var-facts { display: grid; gap: 10px; margin: 0 0 30px }
.var-facts > div { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 16px; padding: 14px 18px; border: 1px solid var(--line); border-radius: 10px }
.var-facts dt { margin: 0; font-size: 13px; color: var(--muted) }
.var-facts dt b { display: block; font: 600 17px var(--num); color: var(--fg) }
.var-facts dd { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; font-size: 13.5px }
.var-facts em { display: block; font: 600 9.5px var(--mono); letter-spacing: .1em; text-transform: uppercase; font-style: normal; color: var(--muted); margin-bottom: 4px }
@media (max-width: 800px) { .var-facts > div, .var-facts dd { grid-template-columns: 1fr } }
.var-sub { margin: 0 0 14px; font-size: 17px }
.vcells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin-bottom: 14px }
.vcell { margin: 0; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; background: rgba(255, 255, 255, .02) }
.vcell.o { border-color: rgba(255, 255, 255, .22) }
.vcell-img { position: relative; aspect-ratio: 32 / 9; background: var(--panel) }
.vcell-img img { width: 100%; height: 100%; object-fit: cover; display: block }
.vcell-name { position: absolute; left: 10px; top: 10px; font: 600 12px var(--num); padding: 4px 8px; border-radius: 6px; background: rgba(5, 8, 15, .7); color: #fff }
.vcell figcaption { display: flex; gap: 18px; flex-wrap: wrap; padding: 10px 14px; font-size: 12px; color: var(--muted) }
.vcell figcaption b { color: var(--fg); font-weight: 600; margin-right: 4px }
.vcell.o figcaption span:first-child b, .vcell.s figcaption span:last-child b { color: var(--accent) }
@media (max-width: 900px) { .var-grid, .vcells { grid-template-columns: 1fr } .range-wrap { grid-template-columns: 1fr } .obj-cols { grid-template-columns: 1fr } }
.hs-slide.brand .hs-shade { background: radial-gradient(ellipse 58% 62% at 50% 52%, rgba(5, 8, 15, .86), rgba(5, 8, 15, .55) 62%, rgba(5, 8, 15, .35)) }
/* scene slides: the task sits in a bottom bar under the centred DexBench title */
.hs-foot { position: absolute; left: 0; right: 0; bottom: 0; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; padding: 28px 36px; background: linear-gradient(180deg, transparent, rgba(5, 8, 15, .82)); opacity: 0; transition: opacity .5s .3s }
.hs-slide.is-active .hs-foot { opacity: 1 }
.hs-foot .hs-eyebrow { margin-bottom: 6px }
.hs-task { margin: 0 0 4px; font: 600 clamp(20px, 2.2vw, 30px) var(--num); color: #fff; letter-spacing: -.02em }
.hs-foot p { margin: 0; max-width: 60ch; font-size: 14px; color: rgba(255, 255, 255, .78) }
.hs-foot .button { flex: 0 0 auto }
.hs-slide:not(.brand) .hs-copy { padding-bottom: 120px }
@media (max-width: 700px) { .hs-foot { flex-direction: column; align-items: flex-start; padding: 18px } .hs-foot p { display: none } .hs-slide:not(.brand) .hs-copy { padding-bottom: 150px } }

/* Where episodes stop: two side menus leave this table ~670 px, so its stage names wrap instead of scrolling */
.stage-table th { white-space: normal; vertical-align: bottom; line-height: 1.35 }
.stage-table td:first-child { min-width: 9.5em }
