/**
 * Theater deck for /ai-swe-2026/. The AI-Augmented Software Engineer.
 * One idea per slide, set huge. Three flat fields (paper, navy, amber).
 * The recurring device is the code reviewer's pen: an amber highlight for what matters,
 * a strike for what to stop doing.
 */

:root {
  --paper: #ffffff;
  --ink: #141d38;
  --ink-2: #26345c;
  --amber: #f7941d;
  --muted: #5a6480;
  --tint: #eef0f5;
  --red: #c8372d;
  --green: #1f7a55;

  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  --r-main-font: var(--font);
  --r-heading-font: var(--font);
  --r-code-font: var(--mono);
  --r-main-color: var(--ink);
  --r-heading-color: var(--ink);
}

/* ---------- Fields ---------- */

.reveal-viewport,
.reveal-viewport .slide-background { background: var(--paper) !important; }
.reveal-viewport .slide-background.navy { background: var(--ink) !important; }
.reveal-viewport .slide-background.amber { background: var(--amber) !important; }
.reveal-viewport .slide-background.tint { background: var(--tint) !important; }

.reveal .slides section.navy { color: #fff; --muted: rgba(255, 255, 255, 0.66); }
.reveal .slides section.amber { color: var(--ink); --muted: rgba(20, 29, 56, 0.72); }
.reveal .slides section.navy h1,
.reveal .slides section.navy h2,
.reveal .slides section.navy h3 { color: #fff; }
.reveal .slides section .muted { color: var(--muted); }

body.is-dark-slide .slide-meta .slide-path,
body.is-dark-slide .slide-meta a { color: rgba(255, 255, 255, 0.6) !important; }
body.is-amber-slide .slide-meta .slide-path,
body.is-amber-slide .slide-meta a { color: rgba(20, 29, 56, 0.7) !important; }
body.is-amber-slide .reveal .progress { color: var(--ink); }
body.is-amber-slide .reveal .controls { color: var(--ink); }

/* ---------- Frame ---------- */

.reveal { font-family: var(--font); }

.reveal .slides > section,
.reveal .slides > section > section {
  padding: 0 120px;
  text-align: left;
}

.reveal .slides > section.stack { padding: 0; }
.reveal .slides section.bleed { padding: 0 !important; }

.stage {
  height: 1064px;
  box-sizing: border-box;
  padding: 96px 0 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 36px;
}

.stage.bottom { justify-content: flex-end; }
.stage.top { justify-content: flex-start; }
.stage.tight { gap: 20px; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 96px;
  align-items: center;
}

/* ---------- Type ---------- */

.reveal h1,
.reveal h2,
.reveal h3,
.reveal p { margin: 0; text-transform: none !important; }

.reveal .t-mega,
.reveal .t-huge,
.reveal .t-big,
.reveal .t-mid {
  font-family: var(--font);
  font-weight: 800;
  letter-spacing: -0.045em;
  color: inherit;
  margin: 0;
}

@supports (text-wrap: balance) {
  .reveal .t-mega,
  .reveal .t-huge,
  .reveal .t-big,
  .reveal .t-mid { text-wrap: balance; }
}

.reveal .t-mega { font-size: 250px; line-height: 0.86; }
.reveal .t-huge { font-size: 200px; line-height: 0.88; }
.reveal .t-big  { font-size: 140px; line-height: 0.92; letter-spacing: -0.04em; }
.reveal .t-mid  { font-size: 96px;  line-height: 0.98; letter-spacing: -0.035em; }

.reveal .t-lead {
  font-size: 50px;
  line-height: 1.22;
  font-weight: 500;
  letter-spacing: -0.015em;
  max-width: 30ch;
  color: inherit;
}

.reveal .t-small {
  font-size: 32px;
  line-height: 1.3;
  font-weight: 600;
  color: var(--muted);
}

.reveal .muted { color: var(--muted); }
.reveal .num { font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }

.reveal code,
.reveal .mono {
  font-family: var(--mono);
  font-weight: 500;
  letter-spacing: -0.01em;
  font-variant-ligatures: none;
}

.pr-code,
.term { font-variant-ligatures: none; }

.reveal :not(pre) > code {
  font-size: 0.86em;
  background: rgba(20, 29, 56, 0.08);
  color: inherit;
  padding: 0.04em 0.22em;
}

.reveal .navy :not(pre) > code { background: rgba(255, 255, 255, 0.14); }

/* The reviewer's highlighter */
.mark,
.mark-f {
  position: relative;
  z-index: 0;
  white-space: nowrap;
}

.mark::before,
.mark-f::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.06em;
  top: 0.42em;
  bottom: 0.02em;
  background: var(--amber);
  transform-origin: left center;
}

.navy .mark,
.navy .mark-f { color: var(--ink); }
.navy .mark::before,
.navy .mark-f::before { top: 0.04em; }

.amber .mark,
.amber .mark-f { color: #fff; }
.amber .mark::before,
.amber .mark-f::before { background: var(--ink); top: 0.04em; }

/* The reviewer's strike */
.strike {
  position: relative;
  color: var(--muted);
  white-space: nowrap;
}

.strike::after {
  content: "";
  position: absolute;
  left: -0.08em;
  right: -0.08em;
  top: 52%;
  height: 0.12em;
  background: var(--red);
  transform-origin: left center;
}

.navy .strike::after { background: var(--amber); }

/* ---------- Motion ---------- */

.line {
  display: block;
  overflow: hidden;
  padding: 0.06em 0 0.16em;
  margin: -0.06em 0 -0.16em;
}

.line > span { display: block; }

.d1 { --d: 0.08s; }
.d2 { --d: 0.18s; }
.d3 { --d: 0.3s; }
.d4 { --d: 0.45s; }
.d5 { --d: 0.6s; }
.d6 { --d: 0.8s; }
.d7 { --d: 1s; }

/* Apply the initial hidden state during animation delays (`both`) so delayed
   elements never flash at their resting position before animating in. */
.reveal .slides section:not(.present) .in,
.reveal .slides section:not(.present) .pop { opacity: 0; }

.reveal .slides section:not(.present) .line > span { transform: translateY(110%); }

.reveal .slides section.present:not(.stack) .in {
  animation: rise 0.8s var(--ease) both;
  animation-delay: var(--d, 0s);
}

.reveal .slides section.present:not(.stack) .line > span {
  animation: line-up 0.9s var(--ease) both;
  animation-delay: var(--d, 0s);
}

.reveal .slides section.present:not(.stack) .pop {
  animation: pop 0.7s var(--ease) both;
  animation-delay: var(--d, 0s);
}

.reveal .slides section.present:not(.stack) .mark::before {
  animation: sweep 0.6s var(--ease) both;
  animation-delay: var(--md, 0.55s);
}

.reveal .slides section.present:not(.stack) .strike::after {
  animation: sweep 0.45s var(--ease) both;
  animation-delay: var(--sd, 0.5s);
}

.reveal .slides section.present:not(.stack) .grow-y {
  animation: grow-y 1.1s var(--ease) both;
  animation-delay: var(--d, 0.2s);
}

.mark-f::before {
  transform: scaleX(0);
  transition: transform 0.6s var(--ease) 0.25s;
}

.reveal .slides section .fragment.visible .mark-f::before,
.reveal .slides section .mark-f.fragment.visible::before { transform: scaleX(1); }

.reveal .slides section .fragment {
  transform: translateY(40px);
  transition: opacity 0.45s var(--ease), transform 0.6s var(--ease), visibility 0.45s;
}

.reveal .slides section .fragment.visible { transform: none; }
.reveal .slides section .fragment.drop { transform: translateY(-60px); }
.reveal .slides section .fragment.drop.visible { transform: none; }

/* Lines carried over from the previous slide arrive by auto-animate, not by entrance. */
.reveal .slides section .settled,
.reveal .slides section .settled *,
.reveal .slides section .settled .mark::before,
.reveal .slides section .settled .strike::after { animation: none !important; }

@keyframes rise {
  from { opacity: 0; transform: translateY(56px); }
  to { opacity: 1; transform: none; }
}
@keyframes line-up {
  from { transform: translateY(110%); }
  to { transform: none; }
}
@keyframes pop {
  from { opacity: 0; transform: scale(0.7); }
  to { opacity: 1; transform: none; }
}
@keyframes sweep {
  from { transform: scaleX(0); }
  to { transform: none; }
}
@keyframes grow-y {
  from { transform: scaleY(0); }
  to { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal .slides section.present:not(.stack) .in,
  .reveal .slides section.present:not(.stack) .line > span,
  .reveal .slides section.present:not(.stack) .pop,
  .reveal .slides section.present:not(.stack) .mark::before,
  .reveal .slides section.present:not(.stack) .strike::after,
  .reveal .slides section.present:not(.stack) .grow-y { animation: none !important; }
  .reveal .slides section .fragment { transform: none !important; }
  .mark-f::before { transition: none; }
}

/* ---------- Cover ---------- */

.cover-top,
.cover-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.cover-name { font-size: 36px; font-weight: 700; }

.cover-url {
  font-size: 32px;
  font-weight: 700;
  color: var(--ink) !important;
  background: var(--amber);
  padding: 18px 30px;
  border: 0 !important;
}

.cover-url:hover { background: #fff !important; }

/* ---------- Salary ---------- */

.tier {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 80px;
  align-items: end;
  height: 1064px;
  box-sizing: border-box;
  padding: 120px 0 130px;
}

.tier-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
  justify-content: flex-end;
}

/* Earlier tiers stay as ghosts, so the last slide reads as a staircase. */
.tier-bars {
  height: 760px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  align-items: end;
}

.tier-bar {
  height: var(--h, 30%);
  background: var(--tint);
  transform-origin: bottom center;
}

.tier-bar.is-current { background: var(--amber); }
.navy .tier-bar { background: rgba(255, 255, 255, 0.16); }
.navy .tier-bar.is-current { background: var(--amber); }

.reveal .tier-num { font-size: var(--size, 220px); line-height: 0.86; }
.tier-num > span { display: block; }

/* ---------- Intro ---------- */
/* The photo and name shrink into the corner on the next slide by auto-animate. */

.me-split {
  grid-template-columns: 1fr 520px;
  gap: 64px;
}

.me-copy { display: flex; flex-direction: column; gap: 24px; }

.me-pic {
  position: relative;
  width: 460px;
  height: 460px;
  justify-self: center;
}

.me-disc {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--amber);
}

.me-photo {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
}

.reveal .slides section.present:not(.stack) .me-photo {
  animation: me-in 1s var(--ease) both;
  animation-delay: 0.35s;
}

.me-row {
  display: flex;
  align-items: center;
  gap: 28px;
}

.me-pic.is-small { width: 112px; height: 112px; }

@keyframes me-in {
  from { opacity: 0; transform: translateY(60px) rotate(-8deg); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal .slides section.present:not(.stack) .me-photo { animation: none; }
}

/* ---------- Timeline ---------- */
/* Four stops on one line. Each stop is a fragment; the photo badge rides to the newest one. */

.tl { gap: 28px; }

.tl-track {
  position: relative;
  margin: 24px 0 16px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.tl-line {
  position: absolute;
  top: 126px;
  left: 12.5%;
  right: 0;
  height: 6px;
  margin-top: -3px;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.18) 85.7%, transparent 85.7%),
    repeating-linear-gradient(to right, rgba(255, 255, 255, 0.18) 0 14px, transparent 14px 28px);
  border-radius: 3px;
}

.tl-fill {
  position: absolute;
  inset: 0 14.3% 0 0;
  background: var(--amber);
  border-radius: 3px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease);
}

.tl:has(.tl-stop.is-1.visible) .tl-fill { transform: scaleX(0.3334); }
.tl:has(.tl-stop.is-2.visible) .tl-fill { transform: scaleX(0.6667); }
.tl:has(.tl-stop.is-3.visible) .tl-fill { transform: none; }

.tl-stop {
  display: grid;
  grid-template-rows: 40px 172px auto auto;
  justify-items: center;
  text-align: center;
}

.tl-year {
  align-self: end;
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--amber);
}

.tl-dot {
  align-self: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--ink);
  border: 5px solid var(--amber);
  box-sizing: border-box;
}

.reveal .tl-place {
  font-size: 96px;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.95;
}

.tl-role {
  margin-top: 22px;
  font-size: 30px;
  font-weight: 500;
  color: var(--muted);
}

.tl-now {
  margin-left: 8px;
  padding: 3px 10px;
  border-radius: 4px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  vertical-align: 4px;
}

.tl-me {
  position: absolute;
  top: 126px;
  left: 12.5%;
  translate: -50% -50%;
  transition: left 0.9s var(--ease);
}

.tl-me .me-pic { box-shadow: 0 0 0 8px var(--ink); border-radius: 50%; }

.tl:has(.tl-stop.is-1.visible) .tl-me { left: 37.5%; }
.tl:has(.tl-stop.is-2.visible) .tl-me { left: 62.5%; }
.tl:has(.tl-stop.is-3.visible) .tl-me { left: 87.5%; }

@media (prefers-reduced-motion: reduce) {
  .tl-fill,
  .tl-me { transition: none; }
}

/* ---------- Habits ---------- */

/* Same spot on every rule slide, so the four read as one run. */
.pips {
  position: absolute;
  top: 70px;
  left: 120px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.pip { width: 56px; height: 12px; background: currentColor; opacity: 0.16; }
.pip.on { background: var(--amber); opacity: 1; }
.pips-label { font-size: 28px; font-weight: 700; color: var(--muted); margin-left: 14px; }

.stage.tk { gap: 0; }

.tk-callback {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #b86200;
  margin-bottom: 18px;
}

.navy .tk-callback { color: var(--amber); }

.reveal .tk .t-lead { margin-top: 26px; }

.tk-tonight {
  align-self: flex-start;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 48px;
  padding: 20px 28px;
  border-radius: 6px;
  background: var(--tint);
  font-size: 36px;
  font-weight: 700;
}

.navy .tk-tonight { background: rgba(255, 255, 255, 0.1); }

.reveal .tk-tonight code {
  background: rgba(20, 29, 56, 0.1);
  color: inherit;
  padding: 1px 8px;
  border-radius: 4px;
}

.tk-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
}

.tk-chip {
  font-family: var(--mono);
  font-size: 30px;
  font-weight: 800;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.tk-chip.is-off {
  background: transparent;
  color: var(--muted);
  border: 3px solid currentColor;
  text-decoration: line-through;
  text-decoration-color: var(--red);
  text-decoration-thickness: 4px;
}

.tk-arrow {
  font-size: 40px;
  font-weight: 800;
  color: #b86200;
}

.tk-tonight b {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: var(--amber);
  color: var(--ink);
  padding: 6px 14px;
  border-radius: 4px;
}

.tk-recap {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 80px;
  align-items: center;
  margin-top: 36px;
}

.reveal ol.tk-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.reveal ol.tk-list li {
  display: flex;
  align-items: baseline;
  gap: 28px;
  padding: 18px 0;
  border-bottom: 3px solid rgba(20, 29, 56, 0.16);
  font-size: 56px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
}

.tk-list li span {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 800;
  color: #fff;
  background: var(--ink);
  padding: 6px 12px;
  border-radius: 4px;
  transform: translateY(-10px);
}

.tk-scan {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

/* Viewfinder: the code draws in from the center, then the corners lock on. */
.tk-finder {
  position: relative;
  width: 460px;
  height: 460px;
  padding: 28px;
  box-sizing: border-box;
}

.tk-card {
  width: 100%;
  height: 100%;
  padding: 34px;
  box-sizing: border-box;
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(20, 29, 56, 0.25);
}

.tk-qr {
  display: block;
  width: 100%;
  height: 100%;
  image-rendering: pixelated;
}

.qr-dot {
  fill: var(--ink);
  transform-box: fill-box;
  transform-origin: center;
}

.qr-eye-ring {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  stroke-dasharray: 25;
}

.qr-eye-core {
  fill: var(--amber);
  transform-box: fill-box;
  transform-origin: center;
}

.qr-badge {
  transform-box: fill-box;
  transform-origin: center;
}

.reveal .slides section.present:not(.stack) .qr-dot {
  animation: qr-pop 0.35s var(--ease) both;
  animation-delay: calc(0.5s + var(--qd, 0s));
}

.reveal .slides section.present:not(.stack) .qr-eye-ring { animation: qr-ring 0.6s var(--ease) 1.2s both; }
.reveal .slides section.present:not(.stack) .qr-eye-core { animation: qr-pop 0.4s var(--ease) 1.6s both; }
.reveal .slides section.present:not(.stack) .qr-badge { animation: qr-badge 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s both; }

@keyframes qr-pop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes qr-ring { from { stroke-dashoffset: 25; } to { stroke-dashoffset: 0; } }
@keyframes qr-badge { from { transform: scale(0) rotate(-20deg); } to { transform: scale(1) rotate(0deg); } }

.qr-badge-bg { fill: var(--ink); }

.qr-badge-text {
  fill: #fff;
  font-family: var(--font);
  font-size: 36px;
  font-weight: 800;
}

.qr-badge-tld { fill: var(--amber); }

.tk-corner {
  position: absolute;
  width: 0;
  height: 0;
  border: 0 solid var(--ink);
  opacity: 0;
  transition: width 0.45s var(--ease), height 0.45s var(--ease), opacity 0.1s linear;
}

.tk-corner.tl { top: 0; left: 0; border-top-width: 8px; border-left-width: 8px; border-top-left-radius: 14px; }
.tk-corner.tr { top: 0; right: 0; border-top-width: 8px; border-right-width: 8px; border-top-right-radius: 14px; }
.tk-corner.bl { bottom: 0; left: 0; border-bottom-width: 8px; border-left-width: 8px; border-bottom-left-radius: 14px; }
.tk-corner.br { bottom: 0; right: 0; border-bottom-width: 8px; border-right-width: 8px; border-bottom-right-radius: 14px; }

.reveal .slides section.present:not(.stack) .tk-corner {
  width: 72px;
  height: 72px;
  opacity: 1;
  transition-delay: 2s;
}

.reveal .tk-scan-cta {
  margin: 14px 0 0;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.reveal .tk-scan-url {
  margin: 0;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  opacity: 0.75;
}

@media (prefers-reduced-motion: reduce) {
  .tk-corner { transition: none; }
  .reveal .slides section.present:not(.stack) .qr-dot,
  .reveal .slides section.present:not(.stack) .qr-eye-ring,
  .reveal .slides section.present:not(.stack) .qr-eye-core,
  .reveal .slides section.present:not(.stack) .qr-badge { animation: none; }
}

/* Junior bar shift (2017 → 2026 auto-animate) */
.bar-layout {
  display: grid;
  grid-template-columns: 0.96fr 1.04fr;
  gap: 68px;
  align-items: end;
  height: 780px;
}

.bar-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 26px;
}

.reveal .bar-copy .t-big { font-size: 122px; }

.bar-copy .line {
  padding-left: 0.08em;
  padding-right: 0.1em;
  margin-left: -0.08em;
  margin-right: -0.1em;
}

.bar-era {
  display: inline-block;
  font-size: 32px;
  font-weight: 800;
  letter-spacing: 0.02em;
  font-variant-numeric: tabular-nums;
  padding: 10px 24px;
  background: var(--tint);
  color: var(--muted);
}

.bar-era.is-now {
  background: var(--amber);
  color: var(--ink);
}

.bar-viz {
  height: 780px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bar-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 14px;
}

.bar-rule {
  flex: 1;
  height: 8px;
  background: var(--ink);
}

.bar-tag {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: 0.05em;
  font-variant-numeric: tabular-nums;
  padding: 9px 18px;
  background: var(--ink);
  color: #fff;
  white-space: nowrap;
}

.bar-line.is-now .bar-rule { background: var(--amber); }
.bar-line.is-now .bar-tag { background: var(--amber); color: var(--ink); }

.extra-mile {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  border: 3px dashed rgba(20, 29, 56, 0.28);
  background: transparent;
  margin-bottom: 22px;
}

.extra-text {
  font-size: 30px;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
}

.extra-tag {
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  background: var(--tint);
  color: var(--muted);
  white-space: nowrap;
}

.extra-mile.is-expected {
  border: 0;
  border-left: 8px solid var(--ink);
  background: var(--tint);
  margin-top: 12px;
  margin-bottom: 0;
  padding: 18px 24px;
}

.extra-mile.is-expected .extra-text { color: var(--ink); }
.extra-mile.is-expected .extra-tag { background: var(--ink); color: #fff; }

.foundation-stack {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.f-block {
  font-size: 38px;
  font-weight: 700;
  padding: 19px 30px;
  background: var(--tint);
  color: var(--ink);
  white-space: nowrap;
}

.bar-new-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bar-new-block {
  display: flex;
  align-items: baseline;
  gap: 20px;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.02em;
  padding: 19px 28px;
  background: var(--amber);
  color: var(--ink);
}

.bar-num {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  opacity: 0.55;
}

.bar-ghost {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 14px 0;
}

.bar-ghost-rule {
  flex: 1;
  border-top: 4px dashed rgba(20, 29, 56, 0.25);
}

.bar-ghost-tag {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  white-space: nowrap;
}

.foundation-plinth {
  background: var(--ink);
  color: #fff;
  padding: 20px 24px 24px;
}

.foundation-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
}

.foundation-name {
  font-size: 23px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
}

.foundation-note {
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.66);
}

.foundation-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

.foundation-grid .span-3 { grid-column: span 3; }
.foundation-grid .span-2 { grid-column: span 2; }

.foundation-plinth .f-block {
  font-size: 27px;
  font-weight: 700;
  padding: 15px 18px;
  background: rgba(255, 255, 255, 0.11);
  color: #fff;
}

/* ---------- Basics ---------- */

/* Language cycle: strike the current name, then swap to the next. */
.lang-cycle { position: relative; }

.reveal .lang-title {
  margin: 0;
  line-height: 0.9;
  overflow: visible;
}

.lang-name {
  display: inline-block;
  position: relative;
  white-space: nowrap;
}

/* .strike (shared reviewer's pen) is toggled by JS on each click. */
.lang-name.is-swapping {
  animation: lang-out 0.28s var(--ease) both;
}

.lang-name.is-arriving {
  animation: lang-in 0.45s var(--ease) both;
}

.lang-name.is-final {
  z-index: 0;
}

.lang-name.is-final::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -0.06em;
  right: -0.06em;
  top: 0.42em;
  bottom: 0.02em;
  background: var(--amber);
  transform-origin: left center;
  animation: sweep 0.55s var(--ease) both;
}

.lang-punch {
  font-size: 42px;
  font-weight: 600;
  color: var(--muted);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.45s var(--ease), transform 0.55s var(--ease);
}

.lang-punch.is-shown {
  opacity: 1;
  transform: none;
}

@keyframes lang-out {
  to { opacity: 0; transform: translateY(28px) scale(0.92); }
}

@keyframes lang-in {
  from { opacity: 0; transform: translateY(-36px) scale(0.92); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .lang-name.is-swapping,
  .lang-name.is-arriving,
  .lang-name.is-final::before { animation: none !important; }
  .lang-punch { transition: none; opacity: 1; transform: none; }
}

.term {
  font-family: var(--mono); /* taste-skill-ignore: literal shell and SQL */
  font-size: 40px;
  line-height: 1.55;
  background: var(--ink);
  color: #fff;
  padding: 40px 48px;
}

.term .prompt { color: var(--amber); }
.term .dim { color: rgba(255, 255, 255, 0.55); }

.term-tag {
  font-family: var(--font);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 18px;
}

.git-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.gh-card {
  background: var(--tint);
  border-left: 10px solid var(--green);
  padding: 28px 36px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gh-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.gh-badge {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: var(--green);
  color: #fff;
  padding: 6px 16px;
}

.gh-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--ink);
}

.gh-sub {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.3;
  color: var(--muted);
}

/* API Request → Response diagram */
.api-flow {
  display: grid;
  grid-template-columns: 1fr 0.9fr 1fr;
  gap: 28px;
  align-items: center;
  margin-top: 22px;
}

.api-node {
  background: rgba(255, 255, 255, 0.09);
  border-left: 8px solid var(--amber);
  padding: 24px 30px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.api-node.is-server { border-left-color: #6ee7b7; }

.api-role {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
}

.api-code {
  font-family: var(--mono);
  font-size: 38px;
  font-weight: 700;
  color: #fff;
}

.api-pipe {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.api-verb {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: var(--amber);
}

.api-verb.is-back { color: #6ee7b7; }

.api-line {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.28);
}

.codes {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.reveal .code-num { font-size: 200px; font-weight: 800; letter-spacing: -0.04em; line-height: 0.9; }
.api-codes { margin-top: 28px; }
.reveal .api-codes .code-num { font-size: 132px; }
.code-label { font-size: 36px; font-weight: 600; margin-top: 14px; }
.code-cell:nth-child(1) .code-num { color: #6ee7b7; }
.code-cell:nth-child(2) .code-num,
.code-cell:nth-child(3) .code-num { color: var(--amber); }
.code-cell:nth-child(4) .code-num { color: #ff8a7a; }

/* ---------- AI Stack (5 full-screen layers + Big Picture) ---------- */

.stack-rail {
  position: absolute;
  top: 64px;
  left: 120px;
  right: 120px;
  display: flex;
  gap: 12px;
  align-items: center;
}

.rail-pill {
  font-size: 22px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  padding: 10px 20px;
  background: var(--tint);
  color: var(--ink);
  opacity: 0.34;
  white-space: nowrap;
}

.navy .rail-pill {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.rail-pill.is-done { opacity: 0.72; }

.rail-pill.is-now {
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  opacity: 1;
}

.stage.stack-stage { padding: 140px 0 110px; }

.stack-split {
  grid-template-columns: 0.96fr 1.04fr;
  gap: 80px;
  align-items: center;
}

.stack-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.stack-metaphor {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.08;
  color: var(--ink);
}

.navy .stack-metaphor { color: var(--amber); }

/* 01 · LLMs chat demo */
.chat-demo {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.chat-msg {
  padding: 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chat-msg.is-user {
  background: rgba(255, 255, 255, 0.1);
  border-left: 8px solid rgba(255, 255, 255, 0.4);
}

.chat-msg.is-ai {
  background: #fff;
  color: var(--ink);
  border-left: 8px solid var(--amber);
}

.chat-who {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.chat-msg.is-ai .chat-who { color: #b46100; opacity: 1; }

.chat-body {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.32;
}

.chat-msg.is-ai code { background: var(--tint) !important; color: var(--ink); }

.chat-paste {
  display: block;
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 23px;
  color: var(--amber);
}

.chat-limit {
  font-size: 26px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.65);
  padding: 8px 4px 0;
}

/* 02 · MCP hub demo */
.mcp-demo {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.mcp-hub {
  display: grid;
  grid-template-columns: 150px 124px 1fr;
  align-items: center;
}

.mcp-brain {
  background: var(--ink);
  color: #fff;
  font-size: 40px;
  font-weight: 800;
  padding: 46px 24px;
  text-align: center;
}

.mcp-wire {
  position: relative;
  display: grid;
  place-items: center;
}

.mcp-wire::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--amber);
}

.mcp-wire span {
  position: relative;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
  padding: 8px 16px;
}

.mcp-ports {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mcp-port {
  background: var(--tint);
  border-left: 8px solid var(--ink);
  padding: 20px 26px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mcp-port b { font-size: 32px; font-weight: 800; color: var(--ink); }
.mcp-port span { font-size: 24px; font-weight: 500; color: var(--muted); }

.mcp-caption {
  background: var(--ink);
  color: #fff;
  font-size: 28px;
  font-weight: 600;
  padding: 22px 28px;
  border-left: 8px solid var(--amber);
}

/* 03 · Skills repo file card */
.skill-card {
  background: #fff;
  color: var(--ink);
  overflow: hidden;
}

.skill-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 30px;
  background: var(--amber);
  color: var(--ink);
  font-size: 28px;
  font-weight: 800;
}

.skill-pill {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  padding: 6px 14px;
}

.reveal .skill-list {
  list-style: none;
  margin: 0;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.skill-list li {
  display: flex;
  align-items: baseline;
  gap: 18px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.25;
}

.skill-list code { background: var(--tint) !important; color: var(--ink); }
.skill-check { color: var(--green); font-weight: 900; }

/* 04 · Agents loop */
.agent-loop {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.agent-step {
  display: flex;
  align-items: baseline;
  gap: 22px;
  padding: 26px 32px;
  background: var(--tint);
  border-left: 8px solid var(--ink);
  font-size: 32px;
  font-weight: 700;
  color: var(--ink);
}

.agent-step.is-fail {
  background: #fde7e5;
  border-left-color: var(--red);
}

.agent-step.is-fail b { color: var(--red); }

.agent-step.is-pass {
  background: #e2f5ec;
  border-left-color: var(--green);
}

.agent-step.is-pass b { color: var(--green); }

.agent-n {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 800;
  opacity: 0.55;
}

/* 05 · Autonomous night shift */
.shift-timeline {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.shift-row {
  display: grid;
  grid-template-columns: 168px 1fr;
  gap: 20px;
  align-items: stretch;
}

.shift-time {
  font-family: var(--mono);
  font-size: 26px;
  font-weight: 700;
  color: var(--amber);
  display: flex;
  align-items: center;
}

.shift-card {
  background: rgba(255, 255, 255, 0.1);
  border-left: 8px solid rgba(255, 255, 255, 0.35);
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.shift-card b { font-size: 30px; font-weight: 800; color: #fff; }
.shift-card span { font-size: 24px; font-weight: 500; color: rgba(255, 255, 255, 0.78); }

.shift-card.is-ai { border-left-color: var(--amber); }

.shift-card.is-you {
  background: var(--amber);
  border-left-color: #fff;
}

.shift-card.is-you b,
.shift-card.is-you span { color: var(--ink); }

/* Big picture pipeline */
.bp-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 32px;
}

.bp-flow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-top: 20px;
}

.bp-card {
  background: var(--tint);
  border-top: 8px solid var(--ink);
  padding: 28px 24px 30px;
  min-height: 310px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bp-card.is-amber {
  background: var(--amber);
  border-top-color: var(--ink);
}

.bp-step {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.01em;
  font-variant-numeric: tabular-nums;
  color: var(--muted);
  white-space: nowrap;
}

.bp-card.is-amber .bp-step { color: rgba(20, 29, 56, 0.78); }

.bp-name {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--ink);
  white-space: nowrap;
}

.reveal .bp-ex {
  margin-top: auto;
  font-size: 27px;
  font-weight: 500;
  line-height: 1.32;
  color: var(--ink-2);
}

.bp-card.is-amber .bp-ex { color: var(--ink); font-weight: 600; }

.bp-base {
  margin-top: 22px;
  background: var(--ink);
  color: #fff;
  padding: 28px 36px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}

.bp-base-left {
  display: flex;
  align-items: baseline;
  gap: 24px;
}

.bp-base-tag {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--amber);
  white-space: nowrap;
}

.bp-base-skills {
  font-size: 29px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.bp-base-you {
  font-size: 28px;
  font-weight: 800;
  padding: 12px 24px;
  background: var(--amber);
  color: var(--ink);
  white-space: nowrap;
}

/* ---------- Speed split ---------- */

.halves {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 1064px;
}

.half {
  padding: 120px 100px 150px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 30px;
}

.half.paper { color: var(--ink); }
.half.dark { color: #fff; --muted: rgba(255, 255, 255, 0.66); }

/* Reveal insets slides by its margin, so the split is painted edge to edge on the background instead. */
.reveal-viewport .slide-background.bleed {
  background: linear-gradient(90deg, var(--paper) 50%, var(--ink) 50%) !important; /* taste-skill-ignore: hard split, not a fade */
}
.half.dark .t-huge,
.half.dark .t-big,
.half.dark .mult-x { color: var(--amber); }

.mult-right {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.mult-word {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mult-x {
  font-size: 210px;
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.045em;
  color: var(--ink);
}

.reveal .mult-word .t-big { font-size: 132px; }

/* ---------- Garbage in ---------- */
/* On entry: one prompt in, one ball out. The .gb-new fragment strikes the old rule and floods the heap. */

.stage.gb { padding: 72px 0 72px; gap: 14px; }

.gb-old { position: relative; white-space: nowrap; transition: color 0.4s var(--ease); }

.gb-old::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  top: 52%;
  height: 0.1em;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.gb-line { transition: color 0.4s var(--ease); }
.gb:has(.gb-new.visible) .gb-line { color: var(--muted); }
.gb:has(.gb-new.visible) .gb-old::after { transform: none; }

.gb-scene { margin-top: 10px; }
.gb-scene svg { display: block; width: 100%; height: auto; overflow: visible; }

.gb-floor { fill: none; stroke: rgba(20, 29, 56, 0.25); stroke-width: 3; stroke-linecap: round; }
.gb-arc { fill: none; stroke: rgba(20, 29, 56, 0.25); stroke-width: 3; stroke-dasharray: 4 12; stroke-linecap: round; }
.gb-ink { fill: none; stroke: var(--ink); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.gb-part { fill: #fff; stroke: var(--ink); stroke-width: 5; stroke-linejoin: round; }
.gb-screen { fill: var(--ink); }
.gb-btn { fill: var(--amber); stroke: var(--ink); stroke-width: 5; }
.gb-needle { fill: none; stroke: var(--red); stroke-width: 5; stroke-linecap: round; }
.gb-ball { fill: var(--tint); stroke: var(--ink); stroke-width: 4; }
.gb-paper { fill: #fff; stroke: var(--ink); stroke-width: 4; }
.gb-can { fill: var(--amber); stroke: var(--ink); stroke-width: 4; }
.gb-peel { fill: #ffd27a; stroke: var(--ink); stroke-width: 4; stroke-linejoin: round; }
.gb-bug { fill: var(--ink); }
.gb-wing { fill: #fff; stroke: var(--ink); stroke-width: 2; }

.gb-label,
.gb-note {
  font-family: var(--mono);
  font-weight: 700;
  fill: var(--ink);
}

.gb-label { font-size: 20px; letter-spacing: 0.08em; fill: var(--muted); }
.gb-note { font-size: 16px; letter-spacing: 0.04em; }

.gb-scr {
  font-family: var(--font);
  font-size: 68px;
  font-weight: 800;
  letter-spacing: -0.03em;
  fill: var(--amber);
  transition: opacity 0.1s linear 1.1s;
}

.gb-scr-10 { opacity: 0; }
.gb:has(.gb-new.visible) .gb-scr-ai { opacity: 0; }
.gb:has(.gb-new.visible) .gb-scr-10 { opacity: 1; }

.gb-needle {
  transform-box: fill-box;
  transform-origin: 50% 100%;
  transform: rotate(-60deg);
  transition: transform 0.6s var(--ease) 1.1s;
}

.gb:has(.gb-new.visible) .gb-needle { transform: rotate(80deg); }

.gb-machine { transform-box: fill-box; transform-origin: 50% 100%; }
.gb:has(.gb-new.visible) .gb-machine { animation: gb-shake 0.3s ease-in-out 1s 4; }

.gb-smoke circle {
  fill: #fff;
  stroke: rgba(20, 29, 56, 0.4);
  stroke-width: 3;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.gb:has(.gb-new.visible) .gb-smoke circle {
  animation: gb-puff 1.2s var(--ease) 3;
  animation-delay: calc(1s + var(--sd));
}

/* The prompts */
.gb-in { transform-box: fill-box; transform-origin: center; }
.gb-in.is-2 { opacity: 0; }

.reveal .slides section.present .gb-in.is-1 { animation: gb-toss 1s cubic-bezier(0.3, 0, 0.7, 1) 0.6s both; }
.gb:has(.gb-new.visible) .gb-in.is-2 { animation: gb-toss 1s cubic-bezier(0.3, 0, 0.7, 1) 0.1s both; }

/* What comes out */
.gb-out,
.gb-item { opacity: 0; }

.reveal .slides section.present .gb-out { animation: gb-pop 0.7s var(--ease) 1.7s both; }
.gb:has(.gb-new.visible) .gb-item { animation: gb-pop 0.7s var(--ease) both; animation-delay: calc(1.2s + var(--t)); }

.gb-stink path {
  fill: none;
  stroke: rgba(20, 29, 56, 0.45);
  stroke-width: 4;
  stroke-linecap: round;
  opacity: 0;
}

.gb:has(.gb-new.visible) .gb-stink path {
  animation: gb-stink 2.1s ease-in-out infinite;
  animation-delay: calc(2.6s + var(--sd));
}

.gb-flies { opacity: 0; transition: opacity 0.4s var(--ease); }
.gb:has(.gb-new.visible) .gb-flies { opacity: 1; transition-delay: 2.6s; }

.gb-fly { animation: gb-orbit var(--fd) linear infinite; }
.gb-fly.is-back { animation-direction: reverse; }
.gb-wing { animation: gb-flap 0.12s linear infinite alternate; transform-box: fill-box; transform-origin: 50% 100%; }

@keyframes gb-toss {
  0% { transform: none; opacity: 1; }
  20% { transform: translate(88px, -169px) rotate(80deg); }
  40% { transform: translate(174px, -291px) rotate(160deg); }
  60% { transform: translate(260px, -363px) rotate(240deg); }
  80% { transform: translate(346px, -388px) rotate(320deg); }
  92% { transform: translate(430px, -364px) rotate(370deg); opacity: 1; }
  100% { transform: translate(430px, -300px) rotate(400deg); opacity: 0; }
}

@keyframes gb-pop {
  0% { transform: translate(var(--fx), var(--fy)) scale(0.4); opacity: 0; }
  15% { opacity: 1; }
  55% { transform: translate(calc(var(--fx) * 0.4), calc(var(--fy) * 0.4 - 80px)) scale(1); }
  100% { transform: none; opacity: 1; }
}

@keyframes gb-shake {
  0%, 100% { transform: none; }
  25% { transform: translate(-5px, 1px) rotate(-1.2deg); }
  75% { transform: translate(5px, -1px) rotate(1.2deg); }
}

@keyframes gb-puff {
  0% { transform: none; opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translate(18px, -70px) scale(1.8); opacity: 0; }
}

@keyframes gb-stink {
  0% { transform: translateY(20px); opacity: 0; }
  40% { opacity: 1; }
  100% { transform: translateY(-30px); opacity: 0; }
}

@keyframes gb-orbit { to { transform: rotate(360deg); } }
@keyframes gb-flap { to { transform: scaleY(0.3); } }

@media (prefers-reduced-motion: reduce) {
  .gb *,
  .gb *::after { transition: none !important; animation: none !important; }
  .reveal .slides section.present .gb-in { opacity: 0; }
  .reveal .slides section.present .gb-out,
  .gb:has(.gb-new.visible) .gb-item,
  .gb:has(.gb-new.visible) .gb-stink path { opacity: 1; }
}

/* ---------- PR diff (real interface fragment) ---------- */

.pr-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.pr-btns { display: flex; gap: 14px; }

.pr-btn {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 700;
  padding: 18px 26px;
  border: 0;
  background: var(--tint);
  color: var(--ink);
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, color 0.15s, transform 0.15s;
}

.pr-btn:active { transform: scale(0.96); }
.pr-btn.is-on-red { background: var(--red); color: #fff; }
.pr-btn.is-on-amber { background: var(--amber); }
.pr-btn.is-on-green { background: var(--green); color: #fff; }

.pr-shell { background: #fff; border: 3px solid #d4d8e2; }

.pr-bar {
  display: flex;
  justify-content: space-between;
  padding: 16px 28px;
  background: var(--tint);
  font-size: 28px;
  font-weight: 600;
}

.pr-bar .mono { font-size: 26px; }
.pr-open { background: var(--green); color: #fff; padding: 2px 14px; margin-right: 14px; }

.pr-code { font-family: var(--mono); font-size: 33px; line-height: 1.5; padding: 10px 0; }

.diff-line {
  display: grid;
  grid-template-columns: 70px 40px 1fr;
  padding: 0 28px 0 10px;
  white-space: pre;
  border-left: 10px solid transparent;
  transition: background 0.25s, border-color 0.25s;
}

.diff-line[data-trap] { cursor: pointer; }
.diff-ln { color: #8a93a8; text-align: right; padding-right: 16px; }
.diff-sign { color: var(--green); }
.diff-line.trap-1-active { background: #fde7e5; border-left-color: var(--red); }
.diff-line.trap-2-active { background: #fff0db; border-left-color: var(--amber); }

.pr-notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pr-note {
  font-size: 32px;
  font-weight: 600;
  line-height: 1.25;
  padding: 22px 28px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s var(--ease), transform 0.4s var(--ease);
}

.pr-note.is-shown { opacity: 1; transform: none; }
.pr-note[data-review="1"] { background: #fde7e5; }
.pr-note[data-review="2"] { background: #fff0db; }
.pr-note b { display: block; font-size: 26px; margin-bottom: 4px; }
.pr-note[data-review="1"] b { color: var(--red); }
.pr-note[data-review="2"] b { color: #a3590a; }

.pr-fix {
  display: none;
  font-size: 32px;
  font-weight: 600;
  padding: 22px 28px;
  background: var(--ink);
  color: #fff;
}

.pr-fix.is-shown { display: block; animation: rise 0.5s var(--ease) both; }
.pr-fix code { background: rgba(255, 255, 255, 0.16) !important; }

.step-triggers {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

/* ---------- Beyond Code Generation (3 stages + Big Picture) ---------- */

.wf-split {
  grid-template-columns: 0.94fr 1.06fr;
  gap: 72px;
  align-items: center;
}

.wf-copy {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.wf-sub {
  font-size: 32px;
  font-weight: 600;
  color: var(--muted);
  margin: -6px 0 4px;
}

.wf-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 6px;
}

.wf-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-left: 22px;
  border-left: 5px solid var(--amber);
}

.wf-item b {
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

.wf-item span {
  font-size: 27px;
  font-weight: 500;
  line-height: 1.32;
  opacity: 0.78;
}

.wf-ex {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.wf-ex.is-light {
  background: var(--tint);
  border: 1px solid rgba(20, 29, 56, 0.12);
}

.wf-ex-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.65;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.wf-ex.is-light .wf-ex-head {
  border-bottom-color: rgba(20, 29, 56, 0.14);
}

.wf-tag {
  display: inline-block;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 8px;
}

.wf-tag.is-mint { color: #6ee7b7; }
.wf-tag.is-red { color: var(--red); }

.wf-prompt-box {
  background: rgba(255, 255, 255, 0.08);
  border-left: 6px solid var(--amber);
  padding: 22px 24px;
  border-radius: 4px;
}

.reveal .wf-prompt-box p {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.34;
  margin: 0;
  color: #fff;
}

.wf-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.wf-check {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.92);
}

.wf-check > span:first-child {
  color: #6ee7b7;
  font-weight: 800;
}

.wf-compare {
  padding: 24px 26px;
  border-radius: 6px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.wf-compare.is-bad {
  background: #fff;
  border-left: 6px solid var(--red);
  color: var(--ink);
}

.wf-compare.is-good {
  background: var(--ink);
  border-left: 6px solid #6ee7b7;
  color: #fff;
}

.reveal .wf-compare p {
  font-size: 28px;
  font-weight: 700;
  line-height: 1.32;
  margin: 0;
}

.wf-compare-out {
  font-size: 22px;
  font-weight: 600;
  opacity: 0.72;
  margin-top: 4px;
}

.wf-compare.is-good .wf-compare-out { color: #6ee7b7; opacity: 1; }
.wf-compare.is-bad .wf-compare-out { color: var(--red); opacity: 1; }

.wf-tests {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: rgba(10, 15, 30, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 24px 26px;
}

.wf-test {
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.wf-pass {
  background: rgba(110, 231, 183, 0.18);
  color: #6ee7b7;
  border: 1px solid rgba(110, 231, 183, 0.4);
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}

.wf-human {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--amber);
  color: var(--ink);
  padding: 22px 24px;
  border-radius: 6px;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.25;
}

.wf-human-badge {
  background: var(--ink);
  color: #fff;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 6px 14px;
  border-radius: 4px;
  flex-shrink: 0;
}

.reveal .wf-ex code,
.reveal .navy .wf-ex code,
.reveal .wf-compare.is-good code {
  font-family: var(--mono);
  font-size: 0.88em;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.14);
  padding: 2px 7px;
  border-radius: 4px;
  color: inherit;
}

/* Big Picture 3-column flow on Paper */

.flow {
  display: grid;
  grid-template-columns: 1.26fr 0.82fr 1.26fr;
  gap: 20px;
  align-items: end;
  margin-top: 20px;
}

.flow-step {
  padding: 34px 36px 36px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  border-radius: 6px;
}

.flow-step.before {
  background: var(--ink);
  color: #fff;
  min-height: 410px;
}

.flow-step.during {
  background: var(--tint);
  border: 1px solid rgba(20, 29, 56, 0.12);
  color: var(--ink);
  min-height: 295px;
}

.flow-step.after {
  background: var(--amber);
  color: var(--ink);
  min-height: 410px;
}

.flow-when {
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  opacity: 0.65;
}

.reveal .flow-what {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 0.96;
}

.flow-step.during .flow-what {
  font-size: 48px;
}

.reveal ul.flow-bullets {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.reveal ul.flow-bullets li {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.25;
  padding-left: 22px;
  position: relative;
}

.reveal ul.flow-bullets li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.52em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.55;
}

.flow-step.before ul.flow-bullets li::before { background: var(--amber); opacity: 1; }
.flow-step.during ul.flow-bullets li { font-size: 24px; color: var(--muted); }

.flow-out {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(20, 29, 56, 0.16);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.25;
}

.flow-step.before .flow-out {
  border-top-color: rgba(255, 255, 255, 0.16);
  color: #6ee7b7;
}

.flow-step.during .flow-out {
  font-size: 21px;
  font-weight: 600;
  color: var(--muted);
}

.flow-step.after .flow-out {
  color: var(--ink);
}

/* ---------- Java4Shell · The $200 Spark & War Room ---------- */

.j4s-eyebrow {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

.j4s-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 24px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.j4s-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #fff;
}

.j4s-meta {
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.j4s-spark {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 44px;
  align-items: stretch;
  margin-top: 12px;
}

.j4s-cost {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
}

.reveal .j4s-num {
  font-size: 295px;
  font-weight: 800;
  line-height: 0.88;
  letter-spacing: -0.055em;
  color: var(--ink);
  margin: 0;
}

.reveal .j4s-cost-sub {
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--muted);
  margin: 0;
}

.j4s-alert {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 44px 46px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  border-top: 8px solid var(--red);
}

.j4s-alert-tag {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ff8a7a;
}

.reveal .j4s-alert-lead {
  font-size: 62px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin: 0;
  color: #fff;
}

.j4s-hi {
  color: var(--amber);
  white-space: nowrap;
}

.j4s-lead-dim {
  color: rgba(255, 255, 255, 0.56);
}

.j4s-alert-foot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 26px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.j4s-alert-foot b {
  display: block;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.52);
  margin-bottom: 6px;
}

.j4s-ratio {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
}

.j4s-ratio-small {
  padding: 16px 26px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.86);
  white-space: nowrap;
}

.j4s-ratio-arrow {
  font-family: var(--mono);
  font-size: 28px;
  font-weight: 800;
  color: var(--amber);
  letter-spacing: -0.08em;
}

.j4s-ratio-big {
  padding: 16px 28px;
  border-radius: 6px;
  background: rgba(200, 55, 45, 0.24);
  border: 1.5px solid rgba(255, 138, 122, 0.55);
  font-family: var(--mono);
  font-size: 24px;
  font-weight: 700;
  color: #ffb4a8;
  letter-spacing: 0.02em;
}

.j4s-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 22px;
}

.j4s-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 28px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 295px;
}

.j4s-step {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--amber);
}

.j4s-card-title {
  font-size: 38px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: #fff;
}

.j4s-card-desc {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.72);
  margin-top: auto;
}

.j4s-card.is-work {
  background: var(--amber);
  border-color: var(--amber);
}

.j4s-card.is-work .j4s-step {
  color: rgba(20, 29, 56, 0.68);
}

.j4s-card.is-work .j4s-card-title {
  color: var(--ink);
}

.j4s-card.is-work .j4s-card-desc {
  color: rgba(20, 29, 56, 0.86);
  font-weight: 600;
}

/* ---------- EG Wizard story ---------- */

/* The problem */
.eg-pain {
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: center;
}

.eg-pain-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eg-facts {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 18px;
}

.eg-fact {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-left: 22px;
  border-left: 5px solid var(--amber);
}

.eg-fact b {
  font-size: 46px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--amber);
}

.eg-fact span {
  font-size: 30px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.86);
}

.eg-apps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.eg-app {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.eg-app span {
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
}

.eg-app b {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 3px 9px;
  border-radius: 3px;
}

.eg-app.is-old { border-color: rgba(255, 138, 122, 0.4); }
.eg-app.is-old b { background: rgba(200, 55, 45, 0.3); color: #ffb4a8; }
.eg-app.is-behind b { background: rgba(247, 148, 29, 0.24); color: var(--amber); }
.eg-app.is-current b { background: rgba(110, 231, 183, 0.18); color: #6ee7b7; }

.eg-app-more {
  grid-column: 1 / -1;
  text-align: center;
  padding: 14px;
  border: 2px dashed rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

/* First try */
.eg-try {
  grid-template-columns: 0.8fr 1.2fr;
  gap: 72px;
  align-items: center;
}

.eg-try-copy {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.eg-chat {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.eg-msg {
  border-radius: 8px;
  padding: 28px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.eg-msg.is-user {
  background: var(--tint);
  border-left: 8px solid rgba(20, 29, 56, 0.3);
}

.eg-msg.is-ai {
  background: var(--ink);
  color: #fff;
  border-left: 8px solid var(--amber);
}

.eg-who {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.65;
}

.eg-msg.is-ai .eg-who { color: var(--amber); opacity: 1; }

.reveal .eg-msg p {
  margin: 0;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.3;
}

.eg-step {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.3;
}

.eg-step b {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  display: inline-grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

.reveal .eg-step code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}

.eg-flag {
  margin-left: auto;
  font-style: normal;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--red);
  color: #fff;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  transform: rotate(-3deg);
}

/* EG Wizard pipeline */
.eg-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
}

.eg-modes {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.eg-mode {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
}

.eg-mode-or {
  font-size: 20px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
}

.eg-pipe {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 28px;
}

.eg-stage {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-top: 6px solid var(--amber);
  border-radius: 6px;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 300px;
}

.eg-stage:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: -30px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 30px;
  font-weight: 800;
  color: var(--amber);
}

.eg-stage-num {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  color: var(--amber);
}

.eg-stage-title {
  font-size: 50px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: #fff;
}

.eg-stage-desc {
  font-size: 25px;
  font-weight: 500;
  line-height: 1.32;
  color: rgba(255, 255, 255, 0.78);
}

.eg-stage-tag {
  margin-top: auto;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(110, 231, 183, 0.14);
  color: #6ee7b7;
}

.eg-rule {
  margin-top: 26px;
  background: var(--amber);
  color: var(--ink);
  padding: 20px 28px;
  border-radius: 6px;
  font-size: 32px;
  font-weight: 700;
}

.eg-rule b { font-weight: 800; }

/* The result */
.eg-result {
  grid-template-columns: 0.9fr 1.1fr;
  gap: 72px;
  align-items: center;
}

.eg-result-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.eg-pr {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  padding: 32px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 24px 60px rgba(20, 29, 56, 0.16);
}

.eg-pr-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.eg-pr-open {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: #10b981;
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
}

.eg-pr-title {
  font-family: var(--mono);
  font-size: 23px;
  font-weight: 700;
}

.eg-pr-row {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 30px;
  font-weight: 600;
}

.eg-ok,
.eg-warn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: 22px;
  font-weight: 800;
  flex-shrink: 0;
}

.eg-ok { background: rgba(110, 231, 183, 0.18); color: #6ee7b7; }
.eg-warn { background: var(--ink); color: var(--amber); }

.eg-pr-row.is-human {
  background: var(--amber);
  color: var(--ink);
  font-weight: 800;
  padding: 16px 18px;
  border-radius: 6px;
}

.eg-pr-foot {
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 24px;
  font-weight: 600;
  color: #6ee7b7;
}

/* ---------- Who? You. ---------- */

.who-list {
  display: flex;
  flex-direction: column;
  margin-top: 28px;
}

.who-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 40px;
  padding: 22px 0;
  border-bottom: 2px solid rgba(20, 29, 56, 0.1);
}

.who-q {
  font-size: 50px;
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.who-a {
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  color: var(--ink);
  background: var(--amber);
  padding: 4px 18px 8px;
  opacity: 0;
  transform: scale(0.7);
  transition: opacity 0.3s var(--ease) 0.7s, transform 0.4s var(--ease) 0.7s;
}

.reveal .slides section .who-row.fragment.visible .who-a {
  opacity: 1;
  transform: scale(1);
}

.reveal .who-verdict {
  margin-top: 40px;
}

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

/* ---------- The bridge ---------- */
/* One drawn scene, four clicks. Hidden .br-t1 to .br-t4 fragments drive every state through :has().
   .is-done is the closing slide: the finished scene, shown still, so auto-animate can carry it over. */

.br { --sand: #e2c08d; }

.stage.br-stage { padding: 72px 0 80px; gap: 24px; }

.br-top {
  display: grid;
  grid-template-columns: 1fr 600px;
  gap: 64px;
  align-items: end;
}

.br-copy { display: flex; flex-direction: column; gap: 12px; }

.br-says { display: grid; margin-top: 8px; }

.reveal .br-say {
  grid-area: 1 / 1;
  max-width: none;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.3s var(--ease), transform 0.5s var(--ease);
}

.br:not(:has(.br-t1.visible)) .br-say.is-0,
.br:has(.br-t1.visible):not(:has(.br-t2.visible)) .br-say.is-1,
.br:has(.br-t2.visible):not(:has(.br-t3.visible)) .br-say.is-2,
.br:has(.br-t3.visible):not(:has(.br-t4.visible)) .br-say.is-3,
.br:has(.br-t4.visible) .br-say.is-4 {
  opacity: 1;
  transform: none;
  transition-delay: 0.15s;
}

.br:has(.br-t4.visible) .br-say.is-4 .mark-f::before { transform: scaleX(1); transition-delay: 1.3s; }

.br-eg { color: var(--amber); font-weight: 800; }

/* Your week */
.br-week {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 22px 26px 18px;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.4s var(--ease), transform 0.6s var(--ease);
}

.br:has(.br-t1.visible) .br-week { opacity: 1; transform: none; }

.br-week-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
}

.br-key {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.02em;
}

.br-key i { width: 14px; height: 14px; border-radius: 3px; }
.br-key i.is-clean { background: var(--sand); }
.br-key i.is-build { background: var(--amber); margin-left: 12px; }

.br-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

.br-day {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 15px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.55);
}

.br-bar {
  width: 100%;
  height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  overflow: hidden;
}

.br-bar i {
  display: block;
  height: 0;
  transition: height 0.6s var(--ease);
  transition-delay: calc(var(--i) * 70ms);
}

.br-bar-clean { background: var(--sand); }
.br-bar-build { background: var(--amber); }

.br:has(.br-t1.visible) .br-bar-clean { height: 100%; transition-delay: calc(0.3s + var(--i) * 70ms); }
.br:has(.br-t3.visible) .br-bar-clean { height: 12%; transition-delay: calc(1s + var(--i) * 70ms); }
.br:has(.br-t4.visible) .br-bar-build { height: 88%; transition-delay: calc(0.6s + var(--i) * 70ms); }

/* The scene */
.br-scene { position: relative; height: 500px; }
.br-scene svg { display: block; width: 100%; height: 100%; }

.br-line { fill: none; stroke: #fff; stroke-linecap: round; stroke-linejoin: round; }
.br-ground-fill { fill: rgba(255, 255, 255, 0.04); }
.br-ground { stroke: rgba(255, 255, 255, 0.4); stroke-width: 3; }
.br-wadi { stroke: rgba(255, 255, 255, 0.14); stroke-width: 3; }
.br-tower { stroke-width: 7; }
.br-cable { stroke-width: 4; }
.br-hangers { stroke: rgba(255, 255, 255, 0.5); stroke-width: 2; }
.br-deck { stroke-width: 12; stroke-linecap: butt; }
.br-sun { fill: var(--amber); }
.br-sun-halo { fill: var(--amber); opacity: 0.08; }

.br-draw { stroke-dasharray: 1; }

.reveal .slides section:not(.present) .br-draw { stroke-dashoffset: 1; }
.reveal .slides section:not(.present) .br-fade { opacity: 0; }

.reveal .slides section.present:not(.stack) .br-draw {
  animation: br-draw 1.4s var(--ease) both;
  animation-delay: var(--d, 0s);
}

.reveal .slides section.present:not(.stack) .br-fade {
  animation: br-fade 0.8s var(--ease) both;
  animation-delay: var(--d, 0s);
}

.br.is-done .br-draw,
.br.is-done .br-fade { animation: none !important; }

/* Someday: dashed plans */
.br-ghost {
  fill: none;
  stroke: rgba(255, 255, 255, 0.55);
  stroke-width: 3;
  stroke-dasharray: 9 9;
  opacity: 0;
  transition: opacity 0.6s var(--ease);
}

.br-ghost .is-deck { stroke-width: 6; }
.br-ghost circle { stroke-dasharray: 3 4; }

.br:has(.br-t2.visible) .br-ghost { opacity: 1; transition-delay: 0.3s; }

/* Now: built for real */
.br-real path {
  fill: none;
  stroke: var(--amber);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.4s var(--ease);
}

.br-real path.is-deck { stroke-width: 12; stroke-linecap: butt; }
.br-real path.is-arch { stroke-width: 7; }

.br-lamps circle { fill: var(--amber); opacity: 0; transition: opacity 0.5s var(--ease) 1s; }
.br-lamps .br-glow { fill-opacity: 0.25; }

.br:has(.br-t4.visible) .br-real path,
.br.is-done .br-real path { stroke-dashoffset: 0; }

.br:has(.br-t4.visible) .br-lamps circle,
.br.is-done .br-lamps circle { opacity: 1; }

/* Dust on the deck */
.br-pile {
  fill: var(--sand);
  transform-box: fill-box;
  transform-origin: 50% 100%;
  opacity: 0;
  transform: scale(0.2);
  transition: opacity 0.3s var(--ease), transform 0.45s var(--ease);
}

.br:has(.br-t1.visible) .br-pile { opacity: 1; transform: none; transition-delay: calc(0.2s + var(--pin)); }
.br:has(.br-t3.visible) .br-pile { opacity: 0; transform: scale(0.2); transition-delay: var(--pout); }

/* You */
.br-you { opacity: 0; transition: opacity 0.3s var(--ease); }
.br-you path { fill: none; stroke: #fff; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.br-you-head { fill: #fff; }
.br-you .br-broom-head { fill: var(--sand); stroke: none; }
.br-you .br-hammer-head { stroke: var(--amber); stroke-width: 7; }

.br:has(.br-t1.visible) .br-you.is-old { opacity: 1; transition-delay: 0.4s; }
.br:has(.br-t3.visible) .br-you.is-old { opacity: 0; transition-delay: 0s; }
.br:has(.br-t4.visible) .br-you.is-new,
.br.is-done .br-you.is-new { opacity: 1; transition-delay: 1.4s; }

.br-broom {
  transform-box: fill-box;
  transform-origin: 0 0;
  animation: br-sweep 0.8s ease-in-out infinite alternate;
}

.br-hammer {
  transform-box: fill-box;
  transform-origin: 0 100%;
  animation: br-tap 0.45s ease-in-out infinite alternate;
}

.br-label {
  font-family: var(--mono);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.08em;
  fill: var(--amber);
}

.br-you .br-label { fill: #fff; }

/* The tool */
.br-bot {
  opacity: 0;
  transform: translateX(-100px);
  transition: opacity 0.2s var(--ease);
}

.br:has(.br-t3.visible) .br-bot {
  opacity: 1;
  transform: translateX(1080px);
  transition: opacity 0.2s var(--ease) 0.2s, transform 2.6s linear 0.2s;
}

.br.is-done .br-bot { opacity: 1; transform: translateX(1080px); }

.br-bot-body { fill: var(--amber); }
.br-bot-eye { fill: var(--ink); }
.br-bot-wheel { fill: var(--ink); stroke: #fff; stroke-width: 3; }
.br-bot-mast,
.br-bot-arm { fill: none; stroke: var(--amber); stroke-width: 4; stroke-linecap: round; }
.br-bot-light { fill: #6ee7b7; animation: br-blink 1s ease-in-out infinite; }

.br-brush {
  fill: none;
  stroke: var(--sand);
  stroke-width: 3;
  transform-box: fill-box;
  transform-origin: center;
  animation: br-spin 0.5s linear infinite;
}

/* Wind */
.br-air { opacity: 0.35; transition: opacity 0.8s var(--ease); }
.br:has(.br-t1.visible) .br-air,
.br.is-done .br-air { opacity: 1; }

.br-air circle {
  fill: var(--sand);
  animation: br-drift var(--dd) linear infinite;
  animation-delay: var(--dl);
}

.br-streak {
  fill: none;
  stroke: var(--sand);
  stroke-width: 2;
  stroke-linecap: round;
  animation: br-gust var(--dd) linear infinite;
  animation-delay: var(--dl);
}

/* Someday tags. The strike is the same reviewer's pen as the rest of the deck. */
.br-tag {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border: 2px dashed rgba(255, 255, 255, 0.45);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #fff;
  opacity: 0;
  transition: opacity 0.5s var(--ease), background-color 0.4s var(--ease), border-color 0.4s var(--ease), color 0.4s var(--ease);
}

.br-tag-when { position: relative; color: rgba(255, 255, 255, 0.55); transition: color 0.4s var(--ease); }

.br-tag-when::after {
  content: "";
  position: absolute;
  left: -0.1em;
  right: -0.1em;
  top: 50%;
  height: 3px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.45s var(--ease);
}

.br:has(.br-t2.visible) .br-tag { opacity: 1; transition-delay: 0.6s; }

.br:has(.br-t4.visible) .br-tag,
.br.is-done .br-tag {
  opacity: 1;
  background: var(--amber);
  border: 2px solid var(--amber);
  color: var(--ink);
  transition-delay: 1.2s;
}

.br:has(.br-t4.visible) .br-tag-when,
.br.is-done .br-tag-when { color: rgba(20, 29, 56, 0.6); transition-delay: 1.2s; }

.br:has(.br-t4.visible) .br-tag-when::after,
.br.is-done .br-tag-when::after { transform: scaleX(1); transition-delay: 1.5s; }

.br.is-done .br-tag,
.br.is-done .br-tag *,
.br.is-done .br-tag-when::after { transition: none; }

@keyframes br-draw { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes br-fade { from { opacity: 0; } }
@keyframes br-sweep { from { transform: rotate(-14deg); } to { transform: rotate(16deg); } }
@keyframes br-tap { from { transform: rotate(-20deg); } to { transform: rotate(18deg); } }
@keyframes br-spin { to { transform: rotate(360deg); } }
@keyframes br-blink { 50% { opacity: 0.2; } }
@keyframes br-drift {
  0% { transform: translate(0, 0); opacity: 0; }
  15%, 85% { opacity: 0.85; }
  100% { transform: translate(260px, -24px); opacity: 0; }
}
@keyframes br-gust {
  0% { transform: translateX(-80px); opacity: 0; }
  30% { opacity: 0.55; }
  100% { transform: translateX(220px); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal .slides section.present:not(.stack) .br-draw,
  .reveal .slides section.present:not(.stack) .br-fade,
  .br-air circle,
  .br-broom,
  .br-hammer,
  .br-brush,
  .br-bot-light { animation: none !important; }
  .br-streak { display: none; }
  .br *,
  .br *::after,
  .br *::before { transition: none !important; }
}

/* ---------- Beyond Code (Playful Detour) ---------- */

.bc-kicker {
  display: inline-block;
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin: 0 0 12px;
}

.bc-num {
  display: inline-block;
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  margin-bottom: 10px;
}

section:not(.navy):not(.amber) .bc-num {
  color: #b86200;
}

/* 01 · Teach you anything */
.bc-teach-split {
  grid-template-columns: 0.85fr 1.15fr;
  gap: 72px;
  align-items: center;
}

.bc-copy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bc-prompt-card {
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  border-top: 8px solid var(--amber);
  padding: 40px 44px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  box-shadow: 0 24px 60px rgba(20, 29, 56, 0.14);
}

.bc-prompt-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber);
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.bc-prompt-head .mono { color: rgba(255, 255, 255, 0.52); }

.reveal .bc-prompt-text {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.34;
  letter-spacing: -0.015em;
  color: #fff;
  margin: 0;
}

.bc-hl {
  color: var(--ink);
  background: var(--amber);
  padding: 2px 10px;
  border-radius: 4px;
}

.bc-prompt-foot {
  font-size: 24px;
  font-weight: 600;
  color: #6ee7b7;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

/* 02 · Brainstorm */
.bc-brain {
  display: grid;
  grid-template-columns: 0.72fr auto 1.28fr;
  gap: 28px;
  align-items: center;
  margin-top: 28px;
}

.bc-seed {
  background: var(--amber);
  color: var(--ink);
  border-radius: 8px;
  padding: 36px 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 410px;
}

.bc-seed-tag {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 800;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.reveal .bc-seed-text {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.025em;
  margin: 0;
}

.bc-seed-note {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(20, 29, 56, 0.18);
  font-size: 23px;
  font-weight: 700;
}

.bc-arrow {
  font-size: 56px;
  font-weight: 800;
  color: var(--amber);
}

.bc-angles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bc-angle {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-height: 195px;
}

.bc-angle b {
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--amber);
}

.bc-angle span {
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.bc-angle.is-amber {
  background: #fff;
  border-color: #fff;
}

.bc-angle.is-amber b { color: #b86200; }
.bc-angle.is-amber span { color: var(--ink); font-weight: 700; }

/* 03 · Challenge you (Debate ring) */
.bc-ring {
  display: grid;
  grid-template-columns: 0.92fr auto 1.08fr;
  gap: 28px;
  align-items: stretch;
  margin-top: 26px;
}

.bc-corner {
  border-radius: 8px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 430px;
}

.bc-corner.is-you {
  background: var(--tint);
  border: 1px solid rgba(20, 29, 56, 0.12);
  color: var(--ink);
}

.bc-corner.is-ai {
  background: var(--ink);
  color: #fff;
  border-top: 8px solid var(--red);
}

.bc-corner-tag {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.08em;
  opacity: 0.65;
}

.bc-corner.is-ai .bc-corner-tag { color: #ff8a7a; opacity: 1; }

.reveal .bc-corner-quote {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin: 0;
}

.bc-corner-prompt {
  margin-top: auto;
  background: #fff;
  border-left: 6px solid var(--amber);
  padding: 18px 22px;
  font-size: 25px;
  font-weight: 700;
  color: var(--ink);
}

.bc-vs {
  align-self: center;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.reveal ul.bc-counter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.reveal ul.bc-counter-list li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 29px;
  font-weight: 600;
  line-height: 1.3;
}

.reveal ul.bc-counter-list li span {
  font-family: var(--mono);
  font-size: 22px;
  font-weight: 800;
  color: #ff8a7a;
  flex-shrink: 0;
}

.bc-corner-foot {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 24px;
  font-weight: 700;
  color: #6ee7b7;
}

/* 04 · Fix your Wi-Fi speed */
.bc-wifi {
  display: grid;
  grid-template-columns: 0.92fr 1.12fr 0.96fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 26px;
}

.bc-speed {
  border-radius: 8px;
  padding: 34px 34px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 410px;
}

.bc-speed.is-slow {
  background: rgba(200, 55, 45, 0.16);
  border: 2px solid rgba(255, 138, 122, 0.45);
}

.bc-speed.is-fast {
  background: #fff;
  color: var(--ink);
  border-top: 8px solid #10b981;
}

.bc-speed-tag {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.bc-speed.is-slow .bc-speed-tag { color: #ff8a7a; }
.bc-speed.is-fast .bc-speed-tag { color: #059669; }

.bc-speed-val {
  font-size: 162px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  margin-top: 10px;
}

.bc-speed-val span {
  display: block;
  font-size: 34px;
  font-weight: 700;
  letter-spacing: 0;
  opacity: 0.65;
  margin-top: 6px;
}

.bc-speed.is-slow .bc-speed-val { color: #ff8a7a; }
.bc-speed.is-fast .bc-speed-val { color: var(--ink); }

.reveal .bc-speed-sub {
  margin: auto 0 0;
  font-size: 25px;
  font-weight: 600;
  line-height: 1.3;
  opacity: 0.85;
}

.bc-diag {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  padding: 34px 34px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.bc-diag-tag {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.07em;
  color: var(--amber);
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.bc-diag-step {
  display: flex;
  align-items: baseline;
  gap: 16px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #fff;
}

.bc-diag-step b {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--amber);
  color: var(--ink);
  display: inline-grid;
  place-items: center;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
  flex-shrink: 0;
}

/* 05 · Fix your laggy TV OS */
.bc-tv-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 22px;
}

.bc-tv-bezel {
  width: 100%;
  box-sizing: border-box;
  background: #0e1426;
  border: 14px solid #1e2845;
  border-radius: 16px;
  padding: 26px 28px 18px;
  box-shadow: 0 28px 64px rgba(20, 29, 56, 0.22);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.bc-tv-screen {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 28px;
  align-items: stretch;
  min-height: 365px;
}

.bc-tv-left,
.bc-tv-right {
  border-radius: 8px;
  padding: 30px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bc-tv-left {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
}

.bc-tv-right {
  background: rgba(110, 231, 183, 0.1);
  border: 1.5px solid rgba(110, 231, 183, 0.35);
  color: #fff;
}

.bc-tv-badge {
  font-family: var(--mono);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ff8a7a;
}

.bc-tv-badge.is-mint { color: #6ee7b7; }

.reveal .bc-tv-pain {
  font-size: 46px;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.025em;
  margin: 0;
  color: #fff;
}

.bc-tv-prompt {
  margin-top: auto;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--amber);
}

.bc-tv-fix {
  display: flex;
  align-items: baseline;
  gap: 14px;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
}

.bc-tv-fix > span:first-child {
  color: #6ee7b7;
  font-weight: 800;
}

.reveal .bc-tv-fix code {
  font-family: var(--mono);
  font-size: 0.88em;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  padding: 2px 8px;
  border-radius: 4px;
}

.bc-tv-done {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid rgba(110, 231, 183, 0.25);
  font-size: 25px;
  font-weight: 800;
  color: #6ee7b7;
}

.bc-tv-led {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #6ee7b7;
  align-self: center;
  box-shadow: 0 0 10px #6ee7b7;
}

.bc-tv-stand {
  width: 280px;
  height: 16px;
  background: #1e2845;
  border-radius: 0 0 8px 8px;
  position: relative;
}

.bc-tv-stand::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 16px;
  transform: translateX(-50%);
  width: 460px;
  height: 10px;
  background: #1e2845;
  border-radius: 6px;
}

/* 06 · Hack yourself first */
.bc-sec {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  align-items: stretch;
  margin-top: 30px;
}

.bc-sec-recall {
  background: #fff;
  color: var(--ink);
  border-radius: 8px;
  border-top: 8px solid var(--red);
  padding: 32px 38px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bc-sec-tag {
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--red);
}

.reveal .bc-sec-num {
  margin: 4px 0 0;
  font-size: 140px;
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.05em;
  color: var(--ink);
}

.reveal .bc-sec-line {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.3;
  color: #5a6480;
}

.reveal .bc-sec-punch {
  margin: auto 0 0;
  padding-top: 18px;
  border-top: 2px solid rgba(20, 29, 56, 0.12);
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.bc-sec-punch span {
  background: var(--amber);
  padding: 0 8px;
}

.bc-sec-checks {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.bc-sec-check {
  flex: 1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-left: 6px solid var(--amber);
  border-radius: 6px;
  padding: 22px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.bc-sec-prompt {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: #fff;
}

.bc-sec-found {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: 21px;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 4px;
  background: rgba(200, 55, 45, 0.28);
  color: #ffb4a8;
}

/* 07 · Create slides (You caught me :3) */
.bc-caught {
  margin-top: 34px;
  background: var(--amber);
  color: var(--ink);
  border-radius: 10px;
  padding: 36px 46px 38px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.bc-caught-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
}

.bc-caught-stamp {
  background: var(--ink);
  color: var(--amber);
  padding: 6px 16px;
  border-radius: 4px;
  letter-spacing: 0.08em;
}

.bc-caught-main {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 24px;
}

.bc-caught-wait {
  font-size: 62px;
  font-weight: 800;
  letter-spacing: -0.03em;
  opacity: 0.65;
}

.bc-caught-punch {
  font-size: 92px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.98;
  color: var(--ink);
}

.bc-caught-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 24px;
  padding-top: 18px;
  border-top: 2px solid rgba(20, 29, 56, 0.18);
  font-size: 26px;
  font-weight: 600;
}

.bc-caught-foot b {
  font-weight: 800;
}

/* ---------- AI wrote it. You own it. ---------- */
/* The author gets swapped to "You", then the pager goes off. No clicks. */

.own-split { grid-template-columns: 1fr 620px; gap: 72px; }
.own-copy { display: flex; flex-direction: column; gap: 32px; }

.own-art { display: flex; flex-direction: column; align-items: center; gap: 44px; }

.own-pr {
  align-self: stretch;
  background: var(--ink);
  color: #fff;
  border-radius: 10px;
  padding: 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 24px 50px rgba(20, 29, 56, 0.25);
}

.own-pr-head {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 700;
}

.own-merged {
  background: #8957e5;
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.own-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 34px;
  font-weight: 700;
}

.own-row b { font-weight: 600; color: rgba(255, 255, 255, 0.6); font-size: 28px; }

.own-swap { display: inline-flex; align-items: center; gap: 16px; }

.own-was { position: relative; color: rgba(255, 255, 255, 0.55); }

.own-was::after {
  content: "";
  position: absolute;
  left: -0.12em;
  right: -0.12em;
  top: 52%;
  height: 0.12em;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: left center;
}

.own-you {
  background: var(--amber);
  color: var(--ink);
  padding: 2px 16px 6px;
  font-weight: 800;
}

.reveal .slides section:not(.present) .own-you,
.reveal .slides section:not(.present) .own-pager { opacity: 0; }

.reveal .slides section.present .own-was::after { animation: sweep 0.45s var(--ease) 1.5s both; }
.reveal .slides section.present .own-you { animation: pop 0.5s var(--ease) 1.85s both; }
.reveal .slides section.present .own-you.is-late { animation-delay: 2.1s; }
.reveal .slides section.present .own-pager { animation: rise 0.7s var(--ease) 2.6s both; }

.own-pager { position: relative; }

.own-pager-body {
  width: 400px;
  padding: 26px 28px 22px;
  background: var(--ink);
  border-radius: 26px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: inset 0 -8px 0 rgba(0, 0, 0, 0.25), 0 18px 40px rgba(20, 29, 56, 0.3);
}

.reveal .slides section.present .own-pager-body { animation: own-buzz 1.8s linear 3.3s infinite; }

.own-lcd {
  background: #c9f2d8;
  border-radius: 10px;
  padding: 16px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: var(--mono);
  color: var(--ink);
}

.own-lcd b { font-size: 44px; font-weight: 800; letter-spacing: 0.02em; line-height: 1; }
.own-lcd span { font-size: 20px; font-weight: 700; letter-spacing: 0.04em; }
.own-lcd span:last-child { color: var(--red); }

.own-keys { display: flex; justify-content: center; gap: 22px; }
.own-keys i { width: 56px; height: 16px; border-radius: 8px; background: rgba(255, 255, 255, 0.2); }
.own-keys i:first-child { background: var(--red); }

.own-buzz {
  position: absolute;
  top: 50%;
  width: 40px;
  height: 90px;
  margin-top: -45px;
  border: 6px solid var(--ink);
  border-radius: 50%;
  opacity: 0;
}

.own-buzz.is-l { left: -62px; border-right-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }
.own-buzz.is-r { right: -62px; border-left-color: transparent; border-top-color: transparent; border-bottom-color: transparent; }

.reveal .slides section.present .own-buzz { animation: own-wave 1.8s linear 3.3s infinite; }

@keyframes own-buzz {
  0%, 40%, 100% { transform: none; }
  4%, 12%, 20%, 28%, 36% { transform: translateX(-6px) rotate(-2deg); }
  8%, 16%, 24%, 32% { transform: translateX(6px) rotate(2deg); }
}

@keyframes own-wave {
  0%, 45%, 100% { opacity: 0; }
  5%, 35% { opacity: 1; }
}

/* ---------- The model will change ---------- */

.slot-split { grid-template-columns: 1fr 560px; gap: 72px; }
.slot-copy { display: flex; flex-direction: column; gap: 40px; }

.slot {
  position: relative;
  background: var(--ink);
  border-radius: 28px 28px 18px 18px;
  padding: 26px 34px 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: inset 0 -12px 0 rgba(0, 0, 0, 0.3), 0 30px 60px rgba(20, 29, 56, 0.3);
}

.slot-top {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--amber);
}

.slot-top i {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--amber);
  animation: br-blink 0.8s ease-in-out infinite;
}

.slot-top i:last-child { animation-delay: 0.4s; }

.slot-label {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

.slot-win {
  height: 120px;
  overflow: hidden;
  background: #fff;
  border-radius: 12px;
  box-shadow: inset 0 10px 14px rgba(20, 29, 56, 0.25), inset 0 -10px 14px rgba(20, 29, 56, 0.25);
}

.slot-reel span,
.slot-win.is-fixed span {
  display: block;
  height: 120px;
  line-height: 120px;
  text-align: center;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
}

.reveal .slides section.present .slot-reel { animation: slot-spin 8.4s var(--ease) 0.6s infinite; }

.slot-win.is-fixed { background: var(--amber); }
.slot-win.is-fixed span { font-size: 80px; }

.slot-lever {
  position: absolute;
  right: -46px;
  top: 120px;
  width: 22px;
  height: 150px;
  transform-origin: 50% 100%;
}

.reveal .slides section.present .slot-lever { animation: slot-pull 1.2s var(--ease) 0.6s infinite; }

.slot-lever::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #c9cfdd;
  border-radius: 11px;
}

.slot-lever i {
  position: absolute;
  left: 50%;
  top: -24px;
  width: 50px;
  height: 50px;
  margin-left: -25px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: inset -6px -6px 0 rgba(0, 0, 0, 0.2);
}

@keyframes slot-spin {
  0.00%, 10.00% { transform: translateY(0px); }
  14.29%, 24.29% { transform: translateY(-120px); }
  28.57%, 38.57% { transform: translateY(-240px); }
  42.86%, 52.86% { transform: translateY(-360px); }
  57.14%, 67.14% { transform: translateY(-480px); }
  71.43%, 81.43% { transform: translateY(-600px); }
  85.71%, 95.71% { transform: translateY(-720px); }
  100% { transform: translateY(-840px); }
}

@keyframes slot-pull {
  0%, 55%, 100% { transform: none; }
  68% { transform: rotate(28deg) scaleY(0.75); }
}

/* ---------- Read before you write ---------- */

.rd-split { grid-template-columns: 1fr 660px; gap: 72px; }
.rd-copy { display: flex; flex-direction: column; gap: 28px; }

.rd-win {
  background: #0d1430;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.rd-bar {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.06);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
}

.rd-dots { display: flex; gap: 8px; }
.rd-dots i { width: 14px; height: 14px; border-radius: 50%; background: rgba(255, 255, 255, 0.25); }
.rd-dots i:first-child { background: var(--red); }

.rd-count { margin-left: auto; color: var(--amber); }

.rd-body {
  position: relative;
  height: 620px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.rd-rain { animation: rd-fall 3.2s linear infinite; }

.rd-set { padding: 0 28px; }

.rd-ln {
  height: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.rd-ln i { display: block; height: 14px; border-radius: 7px; opacity: 0.85; }

.rd-ruler {
  position: absolute;
  left: 0;
  right: 0;
  top: 52%;
  height: 46px;
  margin-top: -23px;
  background: rgba(247, 148, 29, 0.16);
  border-top: 3px solid var(--amber);
  border-bottom: 3px solid var(--amber);
}

.rd-tab {
  position: absolute;
  right: 14px;
  top: -18px;
  padding: 4px 10px;
  border-radius: 4px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

@keyframes rd-fall { to { transform: translateY(-50%); } }

/* ---------- You don't need all five ---------- */

.five-split { grid-template-columns: 1fr 640px; gap: 72px; }
.five-copy { display: flex; flex-direction: column; gap: 28px; }

.five-tower {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.five-block {
  width: var(--w);
  padding: 18px 0;
  border: 3px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  box-sizing: border-box;
  transition: background-color 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease), border-style 0s linear 0.25s;
}

.reveal .slides section:not(.present) .five-block { opacity: 0; }
.reveal .slides section.present .five-block { animation: five-drop 0.6s var(--ease) both; animation-delay: calc(0.5s + var(--i) * 0.18s); }

.reveal .slides section.present .five-block {
  background: transparent;
  color: rgba(20, 29, 56, 0.4);
  border-color: rgba(20, 29, 56, 0.3);
  border-style: dashed;
  transition-delay: 2.6s;
}

.five-later {
  position: absolute;
  top: 70px;
  right: 0;
  padding: 6px 12px;
  border: 2px dashed rgba(20, 29, 56, 0.4);
  border-radius: 4px;
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  transform: rotate(6deg);
  opacity: 0;
}

.reveal .slides section.present .five-later { animation: pop 0.5s var(--ease) 2.9s both; }

.five-base {
  width: 100%;
  margin-top: 8px;
  padding: 22px 26px;
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  border: 3px solid var(--ink);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: background-color 0.5s var(--ease) 2.9s, color 0.5s var(--ease) 2.9s;
}

.reveal .slides section.present .five-base { background: var(--ink); color: #fff; }

.five-base-head { display: flex; justify-content: space-between; align-items: center; }
.five-base-head b { font-size: 36px; font-weight: 800; letter-spacing: -0.02em; }

.five-now {
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--amber);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 0.1em;
  opacity: 0;
}

.reveal .slides section.present .five-now { animation: pop 0.5s var(--ease) 3.1s both; }

.five-chips { display: flex; flex-wrap: wrap; gap: 10px; }

.five-chips i {
  font-style: normal;
  padding: 6px 12px;
  border-radius: 4px;
  background: var(--tint);
  color: var(--ink);
  font-size: 22px;
  font-weight: 700;
  transition: background-color 0.5s var(--ease) 2.9s;
}

.reveal .slides section.present .five-chips i { background: var(--amber); }

@keyframes five-drop {
  0% { opacity: 0; transform: translateY(-260px); }
  60% { opacity: 1; transform: translateY(8px); }
  80% { transform: translateY(-4px); }
  100% { opacity: 1; transform: none; }
}

/* ---------- Beyond code: the robot ---------- */

.rb-split { grid-template-columns: 1fr 820px; gap: 40px; }
.rb-copy { display: flex; flex-direction: column; gap: 24px; }
.rb { display: block; width: 100%; height: auto; overflow: visible; }

.rb-win { fill: #222d4f; stroke: rgba(255, 255, 255, 0.18); stroke-width: 2; }
.rb-win-bar { fill: #2b3760; }
.rb-dot { fill: rgba(255, 255, 255, 0.3); }
.rb-code { fill: none; stroke: rgba(255, 255, 255, 0.35); stroke-width: 12; stroke-linecap: round; }
.rb-code.is-amber { stroke: var(--amber); }

.rb-shell { fill: #fff; }
.rb-face { fill: var(--ink); }
.rb-eyes circle { fill: var(--amber); }
.rb-smile { fill: none; stroke: var(--amber); stroke-width: 4; stroke-linecap: round; }
.rb-limb { fill: none; stroke: #fff; stroke-width: 9; stroke-linecap: round; }
.rb-light { fill: var(--amber); }

.rb-bot { transform: translate(0, 200px); }
.reveal .slides section.present .rb-bot { animation: rb-hop 2.4s var(--ease) 0.5s both; }

.rb-eyes { transform-box: fill-box; transform-origin: center; animation: rb-blink 3.2s ease-in-out infinite; }
.rb-wave { transform-box: fill-box; transform-origin: 0% 100%; }
.reveal .slides section.present .rb-wave { animation: rb-wave 0.5s ease-in-out 3s 6 alternate; }
.reveal .slides section.present .rb-bob { animation: rb-bob 1.6s ease-in-out 3s infinite; }

.rb-icon { opacity: 0; transform-box: fill-box; transform-origin: center; }
.reveal .slides section.present .rb-icon { animation: pop 0.5s var(--ease) both; animation-delay: calc(2.7s + var(--i) * 0.12s); }

.rb-icon path,
.rb-icon rect,
.rb-icon circle:not(.rb-ring) { fill: none; stroke: #fff; stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.rb-icon .is-amber { stroke: var(--amber); }
.rb-icon .is-dot { fill: #fff; stroke: none; }
.rb-ring { fill: rgba(255, 255, 255, 0.07); stroke: rgba(255, 255, 255, 0.25); stroke-width: 2; }

@keyframes rb-hop {
  0% { transform: translate(0, 200px); }
  28%, 45% { transform: translate(0, 0); }
  64% { transform: translate(180px, -110px); }
  84% { transform: translate(360px, 124px); }
  90% { transform: translate(360px, 116px); }
  100% { transform: translate(360px, 120px); }
}

@keyframes rb-blink { 0%, 92%, 100% { transform: none; } 96% { transform: scaleY(0.1); } }
@keyframes rb-wave { to { transform: rotate(-40deg); } }
@keyframes rb-bob { 50% { transform: translateY(-8px); } }

/* ---------- Take this home: the bag ---------- */

.bag-split { grid-template-columns: 1fr 520px; gap: 72px; }
.bag-copy { display: flex; flex-direction: column; gap: 32px; }
.bag { display: block; width: 100%; height: auto; }

.bag-back { fill: #f3f4f8; stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; }
.bag-handle { fill: none; stroke: var(--ink); stroke-width: 10; stroke-linecap: round; }
.bag-front { fill: #fff; stroke: var(--ink); stroke-width: 6; stroke-linejoin: round; }
.bag-fold { fill: none; stroke: rgba(20, 29, 56, 0.18); stroke-width: 4; }
.bag-stamp { fill: var(--ink); }
.bag-stamp-ring { fill: none; stroke: var(--amber); stroke-width: 3; stroke-dasharray: 6 6; }
.bag-stamp-text { font-family: var(--font); font-size: 44px; font-weight: 800; letter-spacing: -0.02em; fill: #fff; }
.bag-stamp-sub { font-family: var(--mono); font-size: 18px; font-weight: 700; letter-spacing: 0.12em; fill: var(--amber); }

.bag-card rect { fill: var(--ink); stroke: #fff; stroke-width: 4; }
.bag-card text { font-family: var(--font); font-size: 44px; font-weight: 800; fill: var(--amber); }

.reveal .slides section:not(.present) .bag-card { opacity: 0; }
.reveal .slides section.present .bag-card { animation: bag-drop 0.7s cubic-bezier(0.5, 0, 0.75, 0) both; animation-delay: calc(0.6s + var(--i) * 0.32s); }

.bag-all { transform-box: fill-box; transform-origin: 50% 100%; }
.reveal .slides section.present .bag-all { animation: bag-squish 0.5s var(--ease) 2.6s both; }

@keyframes bag-drop {
  from { transform: translateY(-560px); opacity: 1; }
  to { transform: none; opacity: 1; }
}

@keyframes bag-squish {
  0%, 100% { transform: none; }
  35% { transform: scale(1.04, 0.94); }
  70% { transform: scale(0.98, 1.03); }
}

@media (prefers-reduced-motion: reduce) {
  .reveal .slides section.present :is(.own-was, .own-you, .own-pager, .own-pager-body, .own-buzz, .slot-reel, .slot-lever, .slot-top i, .rd-rain, .five-block, .five-later, .five-now, .rb-bot, .rb-eyes, .rb-wave, .rb-bob, .rb-icon, .bag-card, .bag-all),
  .reveal .slides section.present .own-was::after { animation: none !important; transition: none !important; }
  .reveal .slides section.present .own-was::after { transform: none; }
  .reveal .slides section.present :is(.own-you, .own-pager, .five-later, .five-now, .rb-icon) { opacity: 1; }
  .reveal .slides section.present .rb-bot { transform: translate(360px, 120px); }
}

/* ---------- Outro ---------- */

.outro-links { display: flex; gap: 56px; font-size: 40px; font-weight: 700; }

.outro-links a {
  color: #fff !important;
  border-bottom: 6px solid var(--amber) !important;
}

.outro-links a:hover { background: var(--amber) !important; color: var(--ink) !important; }

/* The mic drops when "Don't you dare." lands. */
.stage.outro { position: relative; }

.mic {
  position: absolute;
  right: -40px;
  bottom: 40px;
  width: 560px;
  height: 1000px;
  pointer-events: none;
}

.mic-floor { fill: none; stroke: rgba(255, 255, 255, 0.15); stroke-width: 3; stroke-linecap: round; }
.mic-handle { fill: #d5dae6; }
.mic-band { fill: #9aa3b8; }
.mic-switch { fill: var(--red); }
.mic-collar { fill: #9aa3b8; }
.mic-ball { fill: var(--amber); }
.mic-mesh { fill: none; stroke: rgba(20, 29, 56, 0.45); stroke-width: 3; }

.mic-fall { opacity: 0; }
.mic-hit path { fill: none; stroke: var(--amber); stroke-width: 6; stroke-linecap: round; opacity: 0; }
.mic-dust circle { fill: rgba(255, 255, 255, 0.5); opacity: 0; transform-box: fill-box; transform-origin: center; }

.mic-thud {
  font-family: var(--mono);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.08em;
  fill: var(--amber);
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
}

.outro:has(.outro-dare.visible) .mic-fall { animation: mic-drop 1.1s 0.5s both; }
.outro:has(.outro-dare.visible) .mic-hit path { animation: mic-flash 0.5s ease-out 1.05s both; }
.outro:has(.outro-dare.visible) .mic-dust circle { animation: mic-dust 0.9s var(--ease) 1.05s both; }
.outro:has(.outro-dare.visible) .mic-thud { animation: mic-thud 0.4s var(--ease) 1.1s both; }

@keyframes mic-drop {
  0% { opacity: 1; transform: translate(-60px, -1000px) rotate(-20deg); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  50% { opacity: 1; transform: translate(0, 0) rotate(-45deg); animation-timing-function: cubic-bezier(0, 0.55, 0.45, 1); }
  62% { transform: translate(-10px, -70px) rotate(-62deg); animation-timing-function: cubic-bezier(0.55, 0, 1, 0.45); }
  76% { transform: translate(-14px, 0) rotate(-80deg); }
  86% { transform: translate(-14px, -12px) rotate(-78deg); }
  100% { opacity: 1; transform: translate(-14px, 0) rotate(-80deg); }
}

@keyframes mic-flash {
  0% { opacity: 0; }
  20% { opacity: 1; }
  100% { opacity: 0; }
}

@keyframes mic-dust {
  0% { opacity: 0.9; transform: scale(0.3); }
  100% { opacity: 0; transform: scale(2.4) translateY(-12px); }
}

@keyframes mic-thud {
  from { opacity: 0; transform: scale(0.6); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  .outro:has(.outro-dare.visible) :is(.mic-fall, .mic-hit path, .mic-dust circle, .mic-thud) { animation: none; }
  .outro:has(.outro-dare.visible) :is(.mic-fall, .mic-thud) { opacity: 1; }
  .outro:has(.outro-dare.visible) .mic-fall { transform: translate(-14px, 0) rotate(-80deg); }
}

.reveal button:focus-visible,
.reveal [tabindex]:focus-visible,
.reveal a:focus-visible { outline: 5px solid var(--amber); outline-offset: 5px; }
