/* Slow Thinker — extends the shared editorial design system. */
.st-skip { position: absolute; top: -100px; left: 20px; z-index: 500; padding: 12px 20px; background: var(--accent); color: var(--accent-ink); }
.st-skip:focus { top: 12px; }
.slow-thinker-page :is(a,button):focus-visible { outline: 2px solid var(--accent-text); outline-offset: 5px; }
.st-kicker { font-family: var(--mono); font-size: 11px; line-height: 1.7; letter-spacing: .12em; text-transform: uppercase; color: var(--text-mute); }
.st-hero { padding-bottom: 0; }
.st-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; margin-top: 52px; }
.st-hero .display-1 { font-size: clamp(88px, 9vw, 138px); margin-top: 24px; }
.st-hero-intro h2 { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.12; }
.st-hero-intro .lead { font-size: 23px; margin-top: 26px; }
.st-hero-intro > .muted { margin-top: 18px; font-size: 16px; }
.st-actions { margin-top: 30px; gap: 12px; flex-wrap: wrap; }
.st-actions .btn { font-size: 10px; padding: 16px 18px; letter-spacing: .08em; }
.st-hero-figure { margin-top: 64px; border: 1px solid var(--rule-strong); }
.st-figure-bar { display: flex; justify-content: space-between; gap: 16px; padding: 14px 20px; font: 11px/1.6 var(--mono); text-transform: uppercase; letter-spacing: .07em; background: var(--ink-2); }
.st-figure { margin: 0; min-width: 0; border: 1px solid var(--rule-strong); }
.st-figure img, .st-hero-figure img { width: 100%; height: auto; }
.slow-thinker-page figure > a { display: block; }
.slow-thinker-page figcaption { padding: 16px 20px; color: var(--text-mute); font-size: 13px; line-height: 1.6; background: var(--ink); }
.st-hero-figure figcaption, .st-tinted > .wrap > .st-figure figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 24px; }
.slow-thinker-page figcaption > span { max-width: 70ch; }
.slow-thinker-page figcaption a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; flex-shrink: 0; }
.st-questions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.st-questions article { border-top: 1px solid var(--rule-strong); padding-top: 24px; }
.st-questions h3 { font-size: 30px; margin: 14px 0 18px; line-height: 1.15; }
.st-questions p { color: var(--text-mute); }
.st-note { margin-top: 40px; max-width: 95ch; padding: 8px 0 8px 22px; border-left: 2px solid var(--accent-text); color: var(--text-mute); font-size: 15px; line-height: 1.7; }
.st-tinted { background: var(--ink-2); border-block: 1px solid var(--rule); }
.st-process { display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; margin-bottom: 48px; }
.st-process li { position: relative; border-top: 1px solid var(--rule-strong); padding: 22px 24px 0 0; }
.st-step-num { display: block; color: var(--accent-text); font: 12px/1.6 var(--mono); margin-bottom: 20px; }
.st-process h3 { font-size: 28px; margin-bottom: 16px; }
.st-process p { font-size: 15px; color: var(--text-mute); max-width: 27ch; }
.st-process li:not(:last-child)::after { content: "→"; position: absolute; right: 24px; top: 20px; color: var(--text-mute); }
.st-report-view { display: grid; grid-template-columns: 1fr 1.9fr; gap: 48px; align-items: start; }
.st-report-view + .st-report-view { padding-top: 60px; margin-top: 60px; border-top: 1px solid var(--rule); }
.st-view-copy h3 { margin: 16px 0 24px; }
.st-view-copy p { color: var(--text-mute); font-size: 16px; margin-bottom: 18px; }
.st-view-copy .text-link { display: inline; font-size: 14px; }
.st-reading-links { border-top: 1px solid var(--rule); margin-top: 40px; padding-top: 26px; display: flex; gap: 40px; align-items: center; }
.st-reading-links p { max-width: 70ch; font-size: 15px; color: var(--text-mute); }
.st-reading-links strong { color: var(--text); }
.st-reading-links a { font-size: 14px; flex-shrink: 0; }
.st-observation { border-block: 1px solid var(--rule); background: color-mix(in srgb, var(--accent) 5%, var(--ink)); }
.st-observation .section-head .st-kicker { font-size: 10px; margin-bottom: 16px; color: var(--text-mute); }
.st-trace { display: grid; grid-template-columns: repeat(3, 1fr); list-style: none; border-top: 1px solid var(--rule-strong); }
.st-trace li { padding: 28px 28px 10px 0; }
.st-trace li + li { border-left: 1px solid var(--rule); padding-left: 28px; }
.st-trace h3 { font-size: 27px; line-height: 1.2; margin: 18px 0; }
.st-trace p { font-size: 15px; color: var(--text-mute); }
.st-observation-bottom { margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.st-observation-bottom p { max-width: 64ch; }
.st-observation-bottom .btn { font-size: 10px; white-space: normal; flex-shrink: 0; }
.st-experiment { display: grid; grid-template-columns: 100px 1fr; gap: 36px; padding: 40px 0; border-top: 1px solid var(--rule-strong); }
.st-experiment:last-of-type { border-bottom: 1px solid var(--rule-strong); }
.st-experiment-index { font-family: var(--serif); font-size: 64px; line-height: 1; color: var(--accent-text); }
.st-experiment-meta { display: flex; flex-wrap: wrap; gap: 20px; font: 10px/1.7 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--text-mute); }
.st-experiment-meta span + span { color: var(--accent-text); }
.st-experiment h3 { font-size: 38px; margin: 16px 0 20px; line-height: 1.15; }
.st-experiment-body > p { max-width: 72ch; }
.st-experiment .st-models { font-size: 13px; color: var(--text-mute); margin: 20px 0; line-height: 1.8; }
.st-run-facts { display: flex; flex-wrap: wrap; gap: 40px; margin: 26px 0; }
.st-run-facts dt { font: 10px/1.7 var(--mono); text-transform: uppercase; color: var(--text-mute); }
.st-run-facts dd { font: 26px/1.5 var(--serif); }
.st-experiment-actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.st-experiment-actions .text-link { font-size: 14px; }
.st-roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.st-roadmap article { border-top: 1px solid var(--rule-strong); padding-top: 24px; }
.st-roadmap h3 { font-size: 30px; margin: 16px 0 22px; line-height: 1.2; }
.st-roadmap p { font-size: 16px; color: var(--text-mute); }
.st-closing-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 100px; }
.st-closing h2 { margin: 24px 0; }
.st-closing p { color: var(--text-mute); margin-bottom: 28px; }
.st-source { border-left: 1px solid var(--rule); padding-left: 40px; }
.st-source h3 { font-size: 30px; line-height: 1.2; margin: 20px 0; }
.st-source p { font-size: 15px; }
@media (max-width: 1050px) {
  .st-hero-grid { gap: 40px; }
  .st-hero .display-1 { font-size: 106px; }
  .st-report-view { grid-template-columns: 1fr 1.5fr; gap: 32px; }
  .st-reading-links, .st-observation-bottom { align-items: flex-start; flex-direction: column; gap: 24px; }
}
@media (max-width: 820px) {
  .st-hero-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 28px; }
  .st-hero .display-1 { font-size: clamp(76px, 16vw, 118px); }
  .st-hero-intro h2 { font-size: 34px; }
  .st-hero-intro .lead { font-size: 22px; max-width: 50ch; }
  .st-hero-figure { margin-top: 40px; }
  .st-questions, .st-roadmap { grid-template-columns: 1fr; gap: 28px; }
  .st-process { grid-template-columns: repeat(2, 1fr); gap: 28px 20px; }
  .st-process p { max-width: none; }
  .st-process li:nth-child(2)::after { display: none; }
  .st-report-view { grid-template-columns: 1fr; gap: 24px; }
  .st-report-view .display-3 br { display: none; }
  .st-trace { grid-template-columns: 1fr; }
  .st-trace li { padding: 24px 0; }
  .st-trace li + li { border-left: 0; border-top: 1px solid var(--rule); padding-left: 0; }
  .st-hero-figure figcaption, .st-tinted > .wrap > .st-figure figcaption { flex-direction: column; gap: 12px; }
  .st-closing-grid { grid-template-columns: 1fr; gap: 48px; }
  .st-source { border-left: 0; border-top: 1px solid var(--rule); padding: 28px 0 0; }
}
@media (max-width: 600px) {
  .st-hero .eyebrow { font-size: 9px; letter-spacing: .08em; flex-wrap: wrap; }
  .st-hero-intro .lead { font-size: 19px; line-height: 1.45; }
  .st-hero-intro > .muted, .st-view-copy p, .st-roadmap p { font-size: 15px; }
  .st-figure-bar { font-size: 9px; padding: 12px; flex-direction: column; gap: 4px; }
  .slow-thinker-page figcaption { padding: 12px; font-size: 12px; }
  .st-process { gap: 28px 16px; }
  .st-process li { padding-right: 0; }
  .st-process p { font-size: 14px; }
  .st-process li:not(:last-child)::after { right: 8px; }
  .st-experiment { grid-template-columns: 1fr; gap: 16px; padding: 30px 0; }
  .st-experiment-index { font-size: 40px; }
  .st-experiment h3 { font-size: 31px; }
  .st-run-facts { gap: 24px; }
  .st-run-facts dt { font-size: 9px; }
  .st-experiment-actions { gap: 20px; }
  .st-note { padding-left: 16px; font-size: 14px; }
}

/* Screenshot viewer: a native modal above navigation and hiring controls. */
html.st-lightbox-open, html.st-lightbox-open body { overflow: hidden; overscroll-behavior: none; }
.st-lightbox-trigger { position: relative; cursor: zoom-in; }
.st-lightbox-trigger::after {
  content: "↗"; position: absolute; right: 14px; bottom: 14px;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: rgba(15, 15, 18, .84); color: #f4f1ea; border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%; font: 18px/1 var(--sans); opacity: 0; transform: translateY(4px);
  transition: opacity .2s ease, transform .2s ease; pointer-events: none;
}
.st-lightbox-trigger:hover::after, .st-lightbox-trigger:focus-visible::after { opacity: 1; transform: none; }
.st-lightbox {
  position: fixed; inset: 0; margin: auto; padding: 0;
  width: min(1680px, calc(100vw - 64px)); height: calc(100dvh - 64px);
  max-width: none; max-height: none; color: #f4f1ea; background: #111114;
  border: 1px solid rgba(244,241,234,.18); border-radius: 12px;
  box-shadow: 0 32px 100px rgba(0,0,0,.5); overflow: hidden;
}
.st-lightbox::backdrop { background: rgba(8,8,11,.82); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.st-lightbox[open] { animation: st-lightbox-enter .2s ease-out; }
.st-lightbox[open]::backdrop { animation: st-lightbox-backdrop .2s ease-out; }
.st-lightbox-shell { height: 100%; display: flex; flex-direction: column; }
.st-lightbox-header { flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 24px; border-bottom: 1px solid rgba(244,241,234,.12); }
.st-lightbox-eyebrow { color: #b8b3a9; font: 10px/1.6 var(--mono); letter-spacing: .12em; text-transform: uppercase; margin-bottom: 6px; }
.st-lightbox h2 { color: #f4f1ea; font-size: 28px; line-height: 1.2; }
.st-lightbox-stage { flex: 1; min-height: 0; overflow: auto; background: #08080a; overscroll-behavior: contain; }
.st-lightbox-image { width: 100%; height: 100%; object-fit: contain; cursor: zoom-in; }
.st-lightbox-stage.is-zoomed .st-lightbox-image { width: auto; height: auto; max-width: none; max-height: none; cursor: auto; }
.st-lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 16px 24px; flex-shrink: 0; border-top: 1px solid rgba(244,241,234,.12); }
.st-lightbox-footer p { color: #c1bdb5; font-size: 14px; line-height: 1.5; max-width: 80ch; }
.st-lightbox-controls { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.st-lightbox-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-width: 44px; height: 44px; padding: 0 10px; border: 1px solid transparent; border-radius: 6px; color: #f4f1ea; transition: background .15s ease, border-color .15s ease; }
.st-lightbox-button svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.st-lightbox-button:hover { background: rgba(244,241,234,.08); border-color: rgba(244,241,234,.18); }
.st-lightbox-button:focus-visible { outline: 2px solid #e8b66b; outline-offset: 2px; }
.st-lightbox-close { border: 1px solid rgba(244,241,234,.18); flex-shrink: 0; }
.st-lightbox-zoom { font: 11px/1 var(--mono); color: #e8b66b; white-space: nowrap; }
.st-lightbox-count { min-width: 44px; text-align: center; color: #b8b3a9; font: 11px/1 var(--mono); }
.st-lightbox-divider { width: 1px; height: 20px; margin: 0 8px; background: rgba(244,241,234,.18); }
@keyframes st-lightbox-enter { from { opacity: 0; transform: translateY(8px) scale(.985); } to { opacity: 1; transform: none; } }
@keyframes st-lightbox-backdrop { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 820px) {
  .st-lightbox { width: calc(100vw - 24px); height: calc(100dvh - 32px); border-radius: 10px; }
  .st-lightbox-header { padding: 14px 16px; gap: 12px; }
  .st-lightbox h2 { font-size: 23px; }
  .st-lightbox-footer { padding: 12px 16px; gap: 12px; flex-direction: column; align-items: stretch; }
  .st-lightbox-footer p { font-size: 12px; }
  .st-lightbox-controls { justify-content: center; }
  .st-lightbox-eyebrow { font-size: 8px; }
  .st-lightbox-trigger::after { opacity: 1; transform: none; }
}
@media (max-height: 480px) {
  .st-lightbox { height: calc(100dvh - 16px); }
  .st-lightbox-header { padding: 6px 12px; }
  .st-lightbox-eyebrow, .st-lightbox-footer p { display: none; }
  .st-lightbox h2 { font-size: 20px; }
  .st-lightbox-footer { padding: 4px 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .st-lightbox[open], .st-lightbox[open]::backdrop { animation: none; }
  .st-lightbox-trigger::after, .st-lightbox-button { transition: none; }
}


/* GitHub links keep their text labels alongside a theme-aware brand mark. */
.st-github-link { display: inline-flex; align-items: center; gap: 10px; }
.st-github-icon { width: 18px; height: 18px; flex: 0 0 18px; }
@media (max-width: 600px) {
  .st-actions .btn { padding-inline: 12px; }
}
