:root {
  --bg: #0a0a0c;
  --bg-2: #111114;
  --ink: #f5f3ee;
  --ink-2: #b8b3a8;
  --ink-3: #777269;
  --rule: rgba(255, 255, 255, 0.1);
  --rule-strong: rgba(255, 255, 255, 0.18);
  --accent: #ff5b1f;
  --serif: 'Instrument Serif', 'Times New Roman', serif;
  --sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

::selection {
  background: var(--accent);
  color: #fff;
}

.skip-link {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 6px;
  background: #fff;
  color: #000;
  font-weight: 600;
}

.skip-link:focus {
  top: 16px;
}

.site-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--rule);
  background: rgba(10, 10, 12, 0.78);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.site-nav__inner {
  width: min(1200px, calc(100% - 48px));
  min-height: 65px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.site-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  font-family: var(--serif);
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 1;
}

.site-brand span {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transform: translateY(-2px);
}

.site-nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  color: var(--ink-2);
  font-size: 13px;
  font-weight: 500;
}

.site-nav__links a,
.text-link {
  transition: color 160ms ease;
}

.site-nav__links a:hover,
.text-link:hover {
  color: var(--ink);
}

.nav-contact {
  padding: 8px 16px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 600;
}

.nav-contact:hover {
  color: #000;
}

.page-shell {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

.index-hero {
  padding: clamp(96px, 14vw, 180px) 0 clamp(72px, 9vw, 116px);
  border-bottom: 1px solid var(--rule);
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.index-hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(64px, 11vw, 138px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.9;
}

.index-hero p:last-child {
  max-width: 610px;
  margin: 44px 0 0;
  color: var(--ink-2);
  font-size: 18px;
}

.post-list {
  padding: clamp(64px, 9vw, 112px) 0 140px;
}

.post-list__label {
  margin: 0 0 28px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.post-card {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.5fr);
  gap: 36px;
  padding: clamp(28px, 5vw, 56px);
  border: 1px solid var(--rule);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.025);
  transition: border-color 180ms ease, background 180ms ease;
}

.post-card:hover {
  border-color: rgba(255, 91, 31, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

.post-card__meta {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.post-card h2 {
  max-width: 800px;
  margin: 18px 0 20px;
  font-family: var(--serif);
  font-size: clamp(38px, 6vw, 72px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
}

.post-card p {
  max-width: 690px;
  margin: 0;
  color: var(--ink-2);
  font-size: 17px;
}

.post-card__side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
  min-height: 210px;
}

.wave {
  height: 84px;
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
}

.wave i {
  display: block;
  width: 2px;
  height: var(--h);
  border-radius: 2px;
  background: currentColor;
  opacity: 0.7;
}

.post-card__read {
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
}

.article-header {
  width: min(1060px, calc(100% - 48px));
  margin: 0 auto;
  padding: clamp(88px, 12vw, 156px) 0 72px;
}

.article-header h1 {
  max-width: 980px;
  margin: 20px 0 30px;
  font-family: var(--serif);
  font-size: clamp(54px, 8.4vw, 108px);
  font-weight: 400;
  letter-spacing: -0.038em;
  line-height: 0.94;
}

.article-deck {
  max-width: 780px;
  margin: 0;
  color: var(--ink-2);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.28;
}

.article-meta {
  margin-top: 52px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-body {
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  padding-bottom: 120px;
}

.article-body > p {
  margin: 0 0 24px;
  color: #d0ccc4;
  font-size: 18px;
  line-height: 1.82;
}

.article-body > p:first-child {
  font-size: 21px;
}

.article-body h2 {
  margin: 112px 0 28px;
  font-family: var(--serif);
  font-size: clamp(42px, 5.5vw, 62px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.article-body h3 {
  margin: 60px 0 18px;
  font-family: var(--serif);
  font-size: 32px;
  font-weight: 400;
  line-height: 1.15;
}

.article-body strong {
  color: var(--ink);
}

.article-body a:not(.cta-link) {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: rgba(255, 91, 31, 0.7);
  text-underline-offset: 4px;
}

.article-body ul {
  margin: 26px 0 30px;
  padding-left: 22px;
  color: #d0ccc4;
}

.article-body li {
  margin: 10px 0;
  padding-left: 5px;
}

.breakout {
  width: min(1040px, calc(100vw - 48px));
  margin: 48px 0 56px 50%;
  transform: translateX(-50%);
}

.table-title {
  margin: 0 0 14px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.table-scroll {
  overflow-x: auto;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.018);
}

table {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}

th,
td {
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule);
  text-align: right;
  white-space: nowrap;
}

th:first-child,
td:first-child {
  text-align: left;
}

th {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

td {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
}

tbody tr:last-child td {
  border-bottom: 0;
}

tr.is-best td {
  background: rgba(255, 91, 31, 0.07);
  color: var(--ink);
  font-weight: 600;
}

tr.is-best td:first-child {
  color: var(--accent);
}

figcaption,
.figure-note {
  margin-top: 12px;
  color: var(--ink-3);
  font-size: 12px;
  line-height: 1.6;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--rule);
  border-left: 1px solid var(--rule);
}

.stat {
  min-height: 130px;
  padding: 24px;
  border-right: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}

.stat strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 400;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 12px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
}

.audio-example {
  margin: 32px 0;
  padding: 24px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.025);
}

.audio-example blockquote {
  margin: 0 0 20px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.35;
}

.audio-example audio {
  display: block;
  width: 100%;
  height: 42px;
  color-scheme: dark;
}

.breakout.media {
  /* .breakout centres itself with margin-left:50% + translateX(-50%).
     Only touch the vertical margins or the figure drifts left. */
  margin-top: 40px;
  margin-bottom: 44px;
}

.breakout.media video,
.breakout.media img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 12px;
  background: #f5f5f4;
}

.breakout.media figcaption {
  margin-top: 14px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}

.audio-example video {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: #f5f5f4;
}

.audio-example p {
  margin: 18px 0 0;
  color: var(--ink-2);
  font-size: 15px;
  line-height: 1.7;
}

.policy {
  margin: 36px 0;
  padding: 26px 28px;
  border-left: 2px solid var(--accent);
  background: rgba(255, 91, 31, 0.06);
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 13px;
  line-height: 2;
  white-space: pre-line;
}

.cta-panel {
  width: min(1040px, calc(100vw - 48px));
  margin: 104px 0 0 50%;
  padding: clamp(30px, 5vw, 56px);
  transform: translateX(-50%);
  border: 1px solid rgba(255, 91, 31, 0.3);
  border-radius: 20px;
  background: radial-gradient(circle at 85% 0%, rgba(255, 91, 31, 0.17), transparent 45%), rgba(255, 255, 255, 0.02);
}

.cta-panel h2 {
  margin: 0 0 18px;
}

.cta-panel p {
  max-width: 720px;
  color: var(--ink-2);
  font-size: 17px;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.cta-link {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 19px;
  border-radius: 999px;
  background: #fff;
  color: #000;
  font-size: 13px;
  font-weight: 600;
}

.cta-link--secondary {
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
}

.notes {
  margin-top: 100px;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
}

.notes h2 {
  margin-top: 0;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.notes li,
.notes p {
  color: var(--ink-3);
  font-size: 13px;
}

.article-signoff {
  margin-top: 64px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 28px;
}

.site-footer {
  padding: 38px 0 56px;
  border-top: 1px solid var(--rule);
}

.site-footer__inner {
  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.site-footer__name {
  font-family: var(--serif);
  font-size: 22px;
}

.site-footer__legal,
.site-footer__links {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  line-height: 1.7;
}

.site-footer__links {
  display: flex;
  gap: 22px;
}

@media (max-width: 760px) {
  .site-nav__inner,
  .page-shell,
  .article-header,
  .article-body,
  .site-footer__inner {
    width: min(100% - 32px, 1200px);
  }

  .site-nav__links {
    display: none;
  }

  .post-card {
    grid-template-columns: 1fr;
  }

  .post-card__side {
    min-height: auto;
    flex-direction: row;
    align-items: flex-end;
  }

  .wave {
    height: 62px;
  }

  .article-meta {
    align-items: flex-start;
    flex-direction: column;
  }

  .breakout,
  .cta-panel {
    width: calc(100vw - 32px);
  }

  .stat-strip {
    grid-template-columns: repeat(2, 1fr);
  }

  .site-footer__links {
    flex-wrap: wrap;
  }
}

@media (max-width: 480px) {
  .nav-contact {
    padding-inline: 13px;
  }

  .index-hero h1 {
    font-size: 62px;
  }

  .article-header h1 {
    font-size: 50px;
  }

  .stat {
    min-height: 112px;
    padding: 19px;
  }

  .stat strong {
    font-size: 31px;
  }

  th,
  td {
    padding: 14px 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    transition-duration: 0.01ms !important;
  }
}

/* Property pills: the combination of traits a release claims, called out inline. */
.spec-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 26px 0 30px;
}

.spec {
  padding: 8px 15px;
  border: 1px solid rgba(255, 91, 31, 0.4);
  border-radius: 999px;
  background: rgba(255, 91, 31, 0.09);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* Secondary line inside a table cell: the specific form a yes/no answer takes. */
.cell-note {
  display: block;
  margin-top: 5px;
  color: var(--ink-3);
  font-family: var(--sans);
  font-size: 10.5px;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: none;
}

/* Inline session players: task diagram, then audio in step with the event log. */
.session-embed__stage {
  position: relative;
}

.session-embed__play {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 12px 22px;
  border: 1px solid rgba(255, 91, 31, 0.5);
  border-radius: 999px;
  background: rgba(12, 10, 9, 0.86);
  backdrop-filter: blur(6px);
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease;
}

.session-embed__play::before {
  content: "";
  width: 0;
  height: 0;
  border-left: 8px solid var(--accent);
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
}

.session-embed__play:hover:not(:disabled) {
  background: rgba(255, 91, 31, 0.16);
  border-color: var(--accent);
}

.session-embed__play:disabled {
  cursor: progress;
  opacity: 0.7;
}

.player {
  margin-top: 14px;
  border: 1px solid var(--rule);
  border-radius: 14px;
  background: var(--bg-2);
}

.player__summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule);
}

.player__fact {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.player__fact-key {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.player__fact-value {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 12px;
}

.player__bar {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
}

.player__toggle {
  flex: none;
  min-width: 74px;
  padding: 9px 16px;
  border: 1px solid var(--rule-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.player__toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.player__seek {
  flex: 1 1 auto;
  min-width: 0;
  height: 3px;
  border-radius: 999px;
  accent-color: var(--accent);
  cursor: pointer;
}

.player__time {
  flex: none;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.player__events {
  max-height: 260px;
  margin: 0;
  padding: 6px 0;
  overflow-y: auto;
  list-style: none;
  scroll-behavior: smooth;
}

.player__event {
  display: flex;
  gap: 14px;
  padding: 7px 18px;
  border-left: 2px solid transparent;
  opacity: 0.5;
}

.player__event.is-primary {
  opacity: 0.78;
}

.player__event.is-current {
  border-left-color: var(--accent);
  background: rgba(255, 91, 31, 0.07);
  opacity: 1;
}

.player__event-t {
  flex: none;
  width: 42px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  font-variant-numeric: tabular-nums;
}

.player__event-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.player__event-type {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11.5px;
}

.player__event-meta {
  color: var(--ink-3);
  font-size: 11px;
  overflow-wrap: anywhere;
}

.player__footer {
  margin: 0;
  padding: 13px 18px;
  border-top: 1px solid var(--rule);
  color: var(--ink-3);
  font-size: 11.5px;
}

@media (max-width: 640px) {
  .player__bar {
    flex-wrap: wrap;
  }

  .player__events {
    max-height: 220px;
  }
}

/* Reconstructed task screen, rebuilt from the event log at the playhead. */
.stage {
  padding: 16px 18px;
  border-bottom: 1px solid var(--rule);
}

.stage__idle {
  margin: 0;
  padding: 26px 0;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 11px;
  text-align: center;
}

.stage__caption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  align-items: baseline;
  margin-bottom: 12px;
}

.stage__label {
  color: var(--ink);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.stage__count {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
}

.stage__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.stage__panel {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}

.stage__panel-name {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.stage__frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
  border-radius: 10px;
  line-height: 0;
}

.stage__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.stage__marker {
  position: absolute;
  width: 16px;
  height: 16px;
  margin: -8px 0 0 -8px;
  border: 2px solid var(--accent);
  border-radius: 50%;
  background: rgba(255, 91, 31, 0.3);
  box-shadow: 0 0 0 2px rgba(10, 10, 12, 0.5);
}

.stage__truth {
  position: absolute;
  height: 0;
  transform: translate(-50%, -50%);
  border: 1.5px dashed rgba(90, 220, 170, 0.85);
  border-radius: 50%;
}

.stage__board {
  max-width: 340px;
  margin: 0 auto;
}

.stage__board svg {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 640px) {
  .stage__pair {
    grid-template-columns: 1fr;
  }
}

/* Stage variants for the remaining task renderers. */
.stage__single {
  max-width: 460px;
  margin: 0 auto;
}

.stage__canvas {
  max-width: 420px;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
}

.stage__canvas svg {
  display: block;
  width: 100%;
  height: auto;
}

.stage__rank {
  margin: 0;
  padding: 0;
  list-style: none;
}

.stage__rank-row {
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 6px 0;
  border-bottom: 1px solid var(--rule);
  opacity: 0.45;
}

.stage__rank-row.is-set {
  opacity: 1;
}

.stage__rank-num {
  flex: none;
  width: 22px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 12px;
  text-align: right;
}

.stage__rank-label {
  flex: 1 1 auto;
  color: var(--ink-2);
  font-size: 13px;
}

.stage__rank-diff {
  flex: none;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
}

.stage__cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(88px, 1fr));
  gap: 10px;
}

.stage__card {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border: 1px solid var(--rule);
  border-radius: 9px;
  opacity: 0.55;
}

.stage__card img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.stage__card-name {
  color: var(--ink-3);
  font-size: 10.5px;
  line-height: 1.3;
}

.stage__card.is-open {
  opacity: 1;
  border-color: var(--rule-strong);
}

.stage__card.is-selected {
  opacity: 1;
  border-color: var(--accent);
}

.stage__card.is-decided {
  opacity: 1;
  border-color: var(--accent);
  background: rgba(255, 91, 31, 0.12);
}

.stage__form {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 9px;
  overflow: hidden;
}

.stage__field {
  display: flex;
  gap: 14px;
  padding: 8px 12px;
  background: var(--bg-2);
}

.stage__field-key {
  flex: none;
  width: 96px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
}

.stage__field-value {
  color: var(--ink-2);
  font-family: var(--mono);
  font-size: 11.5px;
  overflow-wrap: anywhere;
}

.stage__field.is-right .stage__field-value {
  color: #5adcaa;
}

.stage__field.is-wrong .stage__field-value {
  color: #ff8a5b;
}

/* Document scans are dark-on-white SVGs; give them their own ground. */
.stage__frame--paper {
  background: #f5f3ee;
}

.stage__field.is-latest {
  background: rgba(255, 91, 31, 0.09);
}

/* Inside a two-speaker pair both panels should read as equals, so drop the
   standalone width caps and hold the media to a common height. */
.stage__pair .stage__canvas,
.stage__pair .stage__board,
.stage__pair .stage__single {
  max-width: none;
  margin: 0;
}

.stage__pair .stage__frame img {
  max-height: 320px;
  object-fit: contain;
}

.stage__pair .stage__canvas svg,
.stage__pair .stage__board svg {
  max-height: 320px;
}

.stage__pair .stage__form {
  max-height: 320px;
  overflow-y: auto;
}

/* Shared briefing: the material both speakers read before they start. */
.stage__brief {
  margin-bottom: 14px;
  padding: 14px 16px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.stage__brief-text {
  margin: 6px 0 0;
  color: var(--ink-2);
  font-size: 13px;
  line-height: 1.55;
}

.stage__brief .stage__panel-name + .stage__brief-text {
  margin-bottom: 12px;
}

.stage__brief-source {
  display: block;
  margin-top: 10px;
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Stimuli that are referenced rather than shipped show their credit instead. */
.stage__credit {
  padding: 22px 18px;
  border: 1px dashed var(--rule-strong);
  border-radius: 10px;
  text-align: center;
}

.stage__credit-meta {
  display: flex;
  gap: 18px;
  justify-content: center;
}

.stage__credit-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--accent);
  font-family: var(--mono);
  font-size: 11px;
}

/* Candidate profile, shown while a pair has a resume open. */
.stage__resume {
  margin-top: 16px;
  padding: 16px 18px;
  border: 1px solid var(--rule);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.stage__resume-head {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 12px;
}

/* Outranks `.breakout.media img { width: 100% }`, which otherwise blows the
   headshot up to the full column width. */
.breakout.media .stage__resume-head img {
  flex: none;
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 6px;
  object-fit: cover;
}

.stage__resume-who {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.stage__resume-name {
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
}

.stage__resume-role {
  color: var(--ink-2);
  font-size: 13px;
}

.stage__resume-facts {
  color: var(--ink-3);
  font-family: var(--mono);
  font-size: 10.5px;
}

.stage__resume-cols {
  display: grid;
  gap: 18px;
  margin-top: 14px;
}

.stage__resume-list {
  margin: 6px 0 0;
  padding-left: 18px;
  color: var(--ink-2);
  font-size: 12.5px;
  line-height: 1.55;
}

.stage__resume-note {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}

@media (min-width: 720px) {
  .stage__resume-cols {
    grid-template-columns: 1.3fr 1fr;
  }
}
