:root {
  --paper: #f1efe8;
  --paper-2: #e8e5dc;
  --ink: #171814;
  --muted: #5d5e57;
  --line: #c9c6bb;
  --line-dark: #97988f;
  --accent: #cf6330;
  --accent-ink: #a8461f;
  --luna: #7564b4;
  --terra: #4f7f58;
  --sol: #cf6330;
  --baseline: #343741;
  --max: 1440px;
  --pad: clamp(20px, 4vw, 64px);
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  background: var(--paper);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 7% 4%, rgba(255,255,255,.72), transparent 23rem),
    var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-underline-offset: .18em; }
button, select { font: inherit; }
button { color: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
sup { font-size: .55em; vertical-align: super; }
code {
  padding: .12em .32em;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: rgba(255,255,255,.4);
  font: .88em ui-monospace, SFMono-Regular, Menlo, monospace;
}

.shell {
  width: min(100%, calc(var(--max) + (var(--pad) * 2)));
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-150%);
}
.skip-link:focus { transform: translateY(0); }

.topbar {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border-bottom: 1px solid rgba(23,24,20,.16);
  background: rgba(241,239,232,.88);
  backdrop-filter: blur(16px);
}

.wordmark {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: -.01em;
  text-decoration: none;
}

.wordmark-mark {
  width: 11px;
  height: 11px;
  background: var(--accent);
  transform: rotate(45deg);
}

.topbar nav { display: flex; gap: clamp(16px, 2.4vw, 36px); }
.topbar nav a {
  color: var(--muted);
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .04em;
  text-decoration: none;
  text-transform: uppercase;
}
.topbar nav a:hover { color: var(--ink); }

.hero { padding-top: clamp(62px, 8vw, 118px); padding-bottom: clamp(86px, 10vw, 140px); }
.eyebrow {
  display: flex;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--ink);
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 1160px;
  margin: clamp(30px, 4vw, 54px) 0 36px;
  font-size: clamp(50px, 6.8vw, 98px);
  font-weight: 680;
  letter-spacing: -.06em;
  line-height: .92;
}

.hero-deck {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(32px, 8vw, 130px);
  align-items: end;
  max-width: 1120px;
  margin-left: auto;
}

.hero-deck p { margin: 0; }
.hero-deck > p:first-child {
  font-size: clamp(20px, 2.1vw, 31px);
  letter-spacing: -.035em;
  line-height: 1.15;
}
.hero-thesis {
  padding-left: 18px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 15px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin: clamp(54px, 7vw, 94px) 0 26px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}
.hero-stats div { padding: 24px 18px 25px 0; }
.hero-stats div + div { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.hero-stats dt {
  font-size: clamp(25px, 2.3vw, 38px);
  font-weight: 660;
  letter-spacing: -.04em;
}
.hero-stats dd { margin: 3px 0 0; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.hero-comparison {
  display: grid;
  grid-template-columns: 1fr 48px 1fr;
  align-items: center;
  margin-top: clamp(45px, 6vw, 84px);
}
.hero-comparison figure { min-width: 0; margin: 0; }
.image-frame { overflow: hidden; background: #22241f; }
.hero-comparison .image-frame { aspect-ratio: 16 / 9; }
.hero-comparison img { width: 100%; height: 100%; object-fit: cover; }
.model-stage {
  position: relative;
  isolation: isolate;
  background: linear-gradient(150deg, #d9bda5 0%, #c8a17f 72%, #526653 150%);
}
.model-stage[data-enhanced="true"][data-view="poster"] { cursor: pointer; }
.model-poster,
.model-canvas-mount {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transition: opacity .22s ease, transform .38s cubic-bezier(.2,.7,.2,1);
}
.model-poster { z-index: 1; transform: scale(1); }
.model-canvas-mount { z-index: 2; opacity: 0; pointer-events: none; transform: scale(1.008); }
.model-canvas { display: block; width: 100%; height: 100%; }
.model-stage[data-load="ready"][data-view="ambient"] .model-poster,
.model-stage[data-load="ready"][data-view="pinned"] .model-poster { opacity: 0; transform: scale(1.008); }
.model-stage[data-load="ready"][data-view="ambient"] .model-canvas-mount,
.model-stage[data-load="ready"][data-view="pinned"] .model-canvas-mount { opacity: 1; pointer-events: auto; transform: scale(1); }
.model-stage[data-load="ready"][data-view="ambient"] .model-canvas,
.model-stage[data-load="ready"][data-view="pinned"] .model-canvas { cursor: grab; touch-action: none; }
.model-stage[data-load="ready"][data-view="ambient"] .model-canvas:active,
.model-stage[data-load="ready"][data-view="pinned"] .model-canvas:active { cursor: grabbing; }
.model-loading {
  position: absolute;
  z-index: 4;
  inset: 0;
  display: grid;
  place-items: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity .2s ease;
}
.model-loading span {
  width: 28px;
  height: 28px;
  border: 1px solid rgba(241,239,232,.45);
  border-top-color: #f1efe8;
  border-radius: 50%;
  animation: model-spin .8s linear infinite;
  filter: drop-shadow(0 1px 5px rgba(0,0,0,.25));
}
.model-stage[data-load="loading"]:not([data-view="poster"]) .model-loading { opacity: 1; }
@keyframes model-spin { to { transform: rotate(1turn); } }
.model-discovery {
  position: absolute;
  z-index: 4;
  top: 14px;
  left: 14px;
  display: none;
  align-items: center;
  gap: 11px;
  padding: 10px 13px 10px 10px;
  border: 1px solid rgba(241,239,232,.68);
  background: rgba(23,24,20,.7);
  color: #f3eee4;
  pointer-events: none;
  box-shadow: 0 8px 26px rgba(0,0,0,.16);
  backdrop-filter: blur(8px);
  transition: opacity .2s ease, transform .2s ease;
}
.model-stage[data-enhanced="true"] .model-discovery { display: flex; animation: model-discovery-in .55s cubic-bezier(.2,.7,.2,1) both; }
@keyframes model-discovery-in {
  from { opacity: 0; transform: translateY(-6px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.model-discovery-icon {
  width: 28px;
  height: 28px;
  overflow: visible;
  fill: none;
  stroke: #f0a279;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}
.model-discovery-icon circle { fill: #f0a279; stroke: none; }
.model-discovery-copy { display: grid; gap: 2px; }
.model-discovery-copy strong,
.model-discovery-copy small { line-height: 1; letter-spacing: .08em; text-transform: uppercase; }
.model-discovery-copy strong { font-size: 10px; }
.model-discovery-copy small { font-size: 9px; }
.model-discovery-copy strong { font-weight: 750; }
.model-discovery-copy small { color: rgba(255,255,255,.72); }
.model-discovery-tap { display: none; }
.model-stage[data-manual="true"] .model-discovery-hover { display: none; }
.model-stage[data-manual="true"] .model-discovery-tap { display: block; }
.model-stage[data-load="ready"][data-view="ambient"] .model-discovery,
.model-stage[data-view="pinned"] .model-discovery { visibility: hidden; opacity: 0; animation: none; transform: translateY(-4px); }
.model-launch {
  position: absolute;
  z-index: 5;
  right: 12px;
  bottom: 12px;
  display: none;
  align-items: center;
  gap: 18px;
  padding: 11px 14px;
  border: 1px solid rgba(241,239,232,.72);
  border-radius: 0;
  background: rgba(23,24,20,.82);
  color: var(--paper);
  cursor: pointer;
  font-size: 12px;
  font-weight: 650;
  backdrop-filter: blur(9px);
  transition: opacity .16s ease, background-color .16s ease;
}
.model-stage[data-enhanced="true"] .model-launch { display: flex; }
.model-launch:hover { background: var(--ink); }
.model-launch:disabled { cursor: wait; opacity: .72; }
.model-stage[data-view="ambient"] .model-launch,
.model-stage[data-view="pinned"] .model-launch { opacity: 0; visibility: hidden; pointer-events: none; }
.model-stage[data-manual="true"] .model-launch {
  right: auto;
  bottom: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.model-toolbar {
  position: absolute;
  z-index: 5;
  top: 12px;
  right: 12px;
  left: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity .25s ease .15s;
}
.model-stage[data-load="ready"][data-view="ambient"] .model-toolbar,
.model-stage[data-load="ready"][data-view="pinned"] .model-toolbar { opacity: 1; visibility: visible; }
.model-live,
.model-toolbar button {
  padding: 7px 9px;
  border: 1px solid rgba(241,239,232,.38);
  background: rgba(23,24,20,.58);
  color: #f3eee4;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.model-live { display: inline-flex; align-items: center; gap: 7px; }
.model-live i { width: 5px; height: 5px; border-radius: 50%; background: #f0a279; }
.model-toolbar-actions { display: flex; gap: 6px; }
.model-toolbar button { pointer-events: auto; cursor: pointer; }
.model-toolbar button:hover { background: rgba(23,24,20,.82); }
.model-hint {
  position: absolute;
  z-index: 5;
  left: 50%;
  bottom: 11px;
  margin: 0;
  padding: 6px 9px;
  background: rgba(23,24,20,.52);
  color: rgba(255,255,255,.86);
  font-size: 9px;
  letter-spacing: .04em;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-50%);
  white-space: nowrap;
  backdrop-filter: blur(7px);
  transition: opacity .25s ease .35s;
}
.model-hint i { padding-inline: 4px; color: #f0a279; font-style: normal; }
.model-hint-static { display: none; }
.model-hint-ambient,
.model-hint-pinned { opacity: 0; }
.model-stage[data-load="ready"][data-view="ambient"] .model-hint-ambient,
.model-stage[data-load="ready"][data-view="pinned"] .model-hint-pinned { opacity: 1; }
.hero-comparison figcaption {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 13px;
  font-size: 12px;
}
.hero-comparison figcaption span { color: var(--muted); }
.model-caption-badge { display: inline-block; margin-right: 7px; padding: 2px 5px; background: var(--accent-ink); color: #fff; font-size: 9px; letter-spacing: .08em; }
.comparison-arrow { color: var(--accent); text-align: center; font-size: 26px; }
.hero-caption {
  max-width: 590px;
  margin: 32px 0 0 auto;
  color: var(--muted);
  font-size: 14px;
}

.section { padding-top: clamp(80px, 9vw, 132px); padding-bottom: clamp(80px, 9vw, 132px); border-top: 1px solid var(--line); }
.section-full { padding-inline: 0; }
.section-heading { max-width: 890px; margin-bottom: clamp(44px, 6vw, 82px); }
.section-heading h2 {
  max-width: 940px;
  margin: 12px 0 20px;
  font-size: clamp(34px, 4.4vw, 64px);
  font-weight: 640;
  letter-spacing: -.048em;
  line-height: 1.01;
}
.section-heading > p:last-child, .split-heading > p {
  max-width: 650px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 20px);
}
.section-index, .card-label {
  margin: 0;
  color: var(--muted);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; gap: 50px; max-width: none; align-items: end; }
.split-heading h2 { margin-bottom: 0; }
.compact-heading { margin-bottom: 34px; }

.setup-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 8vw, 130px); align-items: start; }
.prompt-card { min-height: 390px; padding: clamp(28px, 4vw, 58px); background: var(--ink); color: var(--paper); display: flex; flex-direction: column; }
.prompt-card .card-label { color: #aaa99f; }
.prompt-card blockquote {
  margin: auto 0;
  font-size: clamp(24px, 2.7vw, 38px);
  font-weight: 520;
  letter-spacing: -.045em;
  line-height: 1.1;
}
.prompt-card blockquote span { color: #f0a279; }
.prompt-run-token { white-space: nowrap; }
.prompt-run-cycle {
  display: inline-block;
  font-variant-ligatures: none;
  transition: opacity .14s ease, transform .14s ease;
}
.prompt-run-cycle.is-changing { opacity: 0; transform: translateY(.12em); }
.prompt-cycle-note { margin: 14px 0 0; color: #aaa99f; font-size: 11px; letter-spacing: .02em; }
.prompt-cycle-note code { color: #f0a279; }
.text-button {
  align-self: flex-start;
  padding: 0 0 3px;
  border: 0;
  border-bottom: 1px solid #aaa99f;
  background: transparent;
  color: #dedbd2;
  cursor: pointer;
  font-size: 12px;
}
.test-facts { margin: 0; border-top: 1px solid var(--ink); }
.test-facts div { display: grid; grid-template-columns: 120px 1fr; gap: 22px; padding: 19px 0; border-bottom: 1px solid var(--line); }
.test-facts dt { color: var(--muted); font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.test-facts dd { margin: 0; font-size: 15px; }
.coverage-note { max-width: 920px; margin: 66px 0 0 auto; padding: 22px 0 0 24px; border-top: 1px solid var(--ink); border-left: 4px solid var(--accent); color: var(--muted); font-size: 14px; }
.coverage-note strong { display: block; margin-bottom: 5px; color: var(--ink); }

.filter-row { display: flex; justify-content: space-between; gap: 28px; align-items: center; margin-bottom: 26px; }
.filters { display: flex; flex-wrap: wrap; gap: 7px; }
.filter {
  padding: 8px 14px;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 12px;
}
.filter:hover, .filter.active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
#result-count { margin: 0; color: var(--muted); font-size: 12px; white-space: nowrap; }

.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3vw, 46px) 18px; }
.result-card { min-width: 0; }
.result-open { width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: zoom-in; }
.result-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #20211d;
}
.result-image img { width: 100%; height: 100%; object-fit: contain; transition: transform .45s cubic-bezier(.2,.7,.2,1); }
.result-open:hover .result-image img { transform: scale(1.018); }
.score-chip {
  position: absolute;
  right: 10px;
  top: 10px;
  min-width: 45px;
  padding: 6px 8px;
  border-radius: 999px;
  background: rgba(241,239,232,.92);
  color: var(--ink);
  font-size: 11px;
  font-weight: 750;
  text-align: center;
  backdrop-filter: blur(8px);
}
.result-title-row { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-top: 13px; }
.result-title-row h3 { margin: 0; font-size: 17px; font-weight: 650; letter-spacing: -.025em; }
.family-tag { font-size: 10px; font-weight: 750; letter-spacing: .09em; text-transform: uppercase; }
.family-tag.luna { color: var(--luna); }
.family-tag.terra { color: var(--terra); }
.family-tag.sol { color: var(--sol); }
.family-tag.baseline { color: var(--baseline); }
.result-meta { display: flex; gap: 13px; margin: 5px 0 0; color: var(--muted); font-size: 11px; }
.result-card[hidden] { display: none; }
.noscript { color: var(--muted); }

.rubric-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-bottom: 14px; border-top: 1px solid var(--ink); border-left: 1px solid var(--line-dark); }
.rubric-grid article { min-height: 230px; padding: clamp(20px, 2.4vw, 32px); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); }
.rubric-grid span { color: var(--accent-ink); font-size: 10px; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.rubric-grid h3 { margin: 56px 0 10px; font-size: clamp(20px, 1.8vw, 28px); font-weight: 630; letter-spacing: -.04em; }
.rubric-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.rubric-note { margin: 0 0 50px; color: var(--muted); font-size: 11px; text-align: right; }
.value-chart-wrap { padding: clamp(18px, 2.8vw, 38px); border: 1px solid var(--line-dark); background: rgba(255,255,255,.18); }
.chart-header { display: flex; justify-content: space-between; gap: 30px; align-items: center; }
.legend { display: flex; align-items: center; gap: 7px; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .08em; }
.dot { width: 8px; height: 8px; margin-left: 8px; border-radius: 50%; background: currentColor; }
.dot.luna { color: var(--luna); } .dot.terra { color: var(--terra); } .dot.sol { color: var(--sol); } .dot.baseline { color: var(--baseline); }
#value-chart { display: block; width: 100%; height: auto; min-height: 320px; margin-top: 16px; overflow: visible; }
.chart-grid { stroke: var(--line); stroke-width: 1; }
.chart-axis-label { fill: var(--muted); font: 10px Inter, sans-serif; }
.chart-point { cursor: pointer; stroke: var(--paper); stroke-width: 2; transition: r .15s ease; }
.chart-point:hover, .chart-point:focus { r: 8; }
.chart-point-label { fill: var(--ink); font: 600 9px Inter, sans-serif; pointer-events: none; }

.table-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 30px; margin: 28px 0 10px; }
.table-toolbar p { margin: 0; color: var(--muted); font-size: 12px; }
.table-toolbar label { display: flex; gap: 9px; align-items: center; color: var(--muted); font-size: 11px; text-transform: uppercase; letter-spacing: .08em; }
.table-toolbar select { padding: 7px 30px 7px 9px; border: 1px solid var(--line-dark); background: transparent; color: var(--ink); }
.table-scroll { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
th { padding: 12px 8px; border-bottom: 1px solid var(--ink); color: var(--muted); font-size: 10px; text-align: right; text-transform: uppercase; letter-spacing: .09em; }
th:first-child { padding-left: 0; text-align: left; }
td { padding: 16px 8px; border-bottom: 1px solid var(--line); font-size: 13px; text-align: right; }
td:first-child { padding-left: 0; text-align: left; }
td small { margin-left: 2px; color: var(--muted); font-size: 9px; }
.score-row { cursor: pointer; }
.score-row:hover { background: rgba(255,255,255,.28); }
.table-run { display: flex; align-items: center; gap: 11px; min-width: 170px; }
.table-run img { width: 62px; height: 39px; object-fit: cover; background: #222; }
.table-run strong { display: block; font-size: 13px; }
.table-run span { display: block; color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .06em; }
.score-value { font-weight: 750; }

.findings-section { background: var(--ink); color: var(--paper); border-top: 0; }
.findings-section .section-index, .findings-section .section-heading > p:last-child { color: #aaa99f; }
.finding-list { border-top: 1px solid #77786f; }
.finding { display: grid; grid-template-columns: 130px 1fr; gap: 30px; padding: clamp(32px, 4.5vw, 65px) 0; border-bottom: 1px solid #55574f; }
.finding-number { margin: 4px 0 0; color: #888980; font-size: 11px; letter-spacing: .1em; }
.finding h3 { max-width: 900px; margin: 0 0 14px; font-size: clamp(27px, 3.2vw, 45px); font-weight: 560; letter-spacing: -.045em; line-height: 1.04; }
.finding div p { max-width: 750px; margin: 0; color: #bdbdb5; font-size: 15px; }

.craft-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.craft-grid article { min-height: 260px; padding: clamp(25px, 3vw, 44px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.craft-grid span { color: var(--accent-ink); font-size: 11px; font-weight: 750; }
.craft-grid h3 { margin: 60px 0 10px; font-size: clamp(22px, 2.1vw, 32px); font-weight: 620; letter-spacing: -.04em; }
.craft-grid p { max-width: 500px; margin: 0; color: var(--muted); font-size: 14px; }
.engineering-callout { display: grid; grid-template-columns: .35fr .65fr 1fr; gap: 30px; align-items: start; margin: 55px 0 0 auto; padding-top: 20px; border-top: 1px solid var(--ink); }
.engineering-callout h3 { margin: -5px 0 0; font-size: 34px; letter-spacing: -.04em; }
.engineering-callout > p:last-child { margin: 0; color: var(--muted); }

.picks-section { padding-inline: 0; background: var(--paper-2); }
.picks-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line-dark); }
.picks-grid article { min-height: 310px; padding: clamp(22px, 2.5vw, 36px); border-right: 1px solid var(--line-dark); border-bottom: 1px solid var(--line-dark); display: flex; flex-direction: column; }
.picks-grid article > p { margin: 0; color: var(--muted); font-size: 10px; font-weight: 750; text-transform: uppercase; letter-spacing: .1em; }
.picks-grid h3 { margin: auto 0; font-size: clamp(26px, 2.5vw, 36px); font-weight: 630; letter-spacing: -.045em; }
.picks-grid dl { margin: 0; border-top: 1px solid var(--line-dark); }
.picks-grid dl div { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 11px; }
.picks-grid dt { color: var(--muted); }
.picks-grid dd { margin: 0; font-weight: 700; }

.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); border-left: 1px solid var(--line); }
.method-grid article { min-height: 220px; padding: clamp(24px, 2.7vw, 38px); border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.method-grid h3 { margin: 0 0 22px; font-size: 18px; letter-spacing: -.02em; }
.method-grid p { margin: 0; color: var(--muted); font-size: 13px; }
.download-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: end; margin-top: 70px; padding: 34px 0; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.download-strip h3 { margin: 6px 0 0; font-size: 28px; letter-spacing: -.04em; }
.download-links { display: grid; }
.download-links a { display: flex; justify-content: space-between; padding: 11px 0; border-bottom: 1px solid var(--line); font-size: 13px; text-decoration: none; }
.download-links a:first-child { border-top: 1px solid var(--line); }
.download-links a:hover span { color: var(--accent); transform: translateY(2px); }

.footer { display: flex; justify-content: space-between; gap: 30px; padding-top: 34px; padding-bottom: 50px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.footer p { margin: 0; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 12px 24px; }
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--ink); }

dialog {
  width: min(1280px, calc(100vw - 34px));
  max-height: calc(100vh - 34px);
  margin: auto;
  padding: 0;
  border: 0;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 120px rgba(0,0,0,.45);
}
dialog::backdrop { background: rgba(15,16,13,.75); backdrop-filter: blur(5px); }
.dialog-close { position: fixed; z-index: 2; right: 28px; top: 24px; width: 42px; height: 42px; border: 0; border-radius: 50%; background: rgba(241,239,232,.92); cursor: pointer; font-size: 25px; line-height: 1; }
.dialog-layout { display: grid; grid-template-columns: 1.15fr .85fr; min-height: 650px; }
.dialog-media { display: grid; place-items: center; min-width: 0; padding: 24px; background: #20211d; }
.dialog-media img { width: 100%; height: 100%; max-height: calc(100vh - 82px); object-fit: contain; }
.dialog-copy { padding: clamp(34px, 5vw, 72px); overflow-y: auto; }
.dialog-copy h2 { margin: 8px 0 10px; font-size: clamp(32px, 3.5vw, 50px); line-height: 1; letter-spacing: -.05em; }
.dialog-verdict { margin: 0 0 28px; color: var(--muted); font-size: 15px; }
.dialog-metrics { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid var(--ink); }
.dialog-metrics div { padding: 15px 10px 14px 0; border-bottom: 1px solid var(--line); }
.dialog-metrics dt { color: var(--muted); font-size: 9px; text-transform: uppercase; letter-spacing: .09em; }
.dialog-metrics dd { margin: 2px 0 0; font-size: 14px; font-weight: 700; }
.dialog-note { margin-top: 28px; }
.dialog-note h3 { margin: 0 0 5px; font-size: 12px; text-transform: uppercase; letter-spacing: .07em; }
.dialog-note p { margin: 0; color: var(--muted); font-size: 13px; }
.dialog-actions { display: flex; gap: 20px; margin-top: 35px; }
.dialog-actions a { padding-bottom: 4px; border-bottom: 1px solid var(--ink); font-size: 12px; text-decoration: none; }

@media (max-width: 980px) {
  .hero-deck, .setup-grid, .split-heading { grid-template-columns: 1fr; }
  .hero-deck { max-width: 760px; margin-left: 0; }
  .hero-thesis { max-width: 420px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .rubric-grid, .picks-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: repeat(2, 1fr); }
  .engineering-callout { grid-template-columns: .4fr .6fr; }
  .engineering-callout > p:last-child { grid-column: 2; }
  .dialog-layout { grid-template-columns: 1fr; }
  .dialog-media { min-height: 50vh; }
}

@media (max-width: 700px) {
  :root { --pad: 18px; }
  .topbar { min-height: 58px; }
  .topbar nav { display: none; }
  .hero { padding-top: 60px; }
  .hero h1 { font-size: clamp(44px, 13vw, 64px); margin-bottom: 30px; }
  .hero-deck > p:first-child { font-size: 22px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats div:nth-child(3) { border-left: 0; border-top: 1px solid var(--line-dark); }
  .hero-stats div:nth-child(4) { border-top: 1px solid var(--line-dark); }
  .hero-comparison { grid-template-columns: 1fr; gap: 26px; }
  .comparison-arrow { display: none; }
  .section-heading h2 { font-size: 38px; }
  .prompt-card { min-height: 340px; }
  .test-facts div { grid-template-columns: 90px 1fr; }
  .filter-row { align-items: flex-start; flex-direction: column; }
  .gallery { grid-template-columns: 1fr; row-gap: 34px; }
  .chart-header { align-items: flex-start; flex-direction: column; }
  .legend { flex-wrap: wrap; }
  #value-chart { min-height: 270px; }
  .table-toolbar { align-items: flex-start; flex-direction: column; }
  th:nth-child(3), td:nth-child(3), th:nth-child(4), td:nth-child(4), th:nth-child(5), td:nth-child(5), th:nth-child(6), td:nth-child(6) { display: none; }
  .finding { grid-template-columns: 42px 1fr; gap: 12px; }
  .finding h3 { font-size: 29px; }
  .rubric-grid, .craft-grid, .picks-grid, .method-grid { grid-template-columns: 1fr; }
  .rubric-grid article { min-height: 190px; }
  .craft-grid article { min-height: 230px; }
  .engineering-callout { grid-template-columns: 1fr; }
  .engineering-callout > p:last-child { grid-column: auto; }
  .download-strip { grid-template-columns: 1fr; }
  .footer { flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .dialog-close { right: 22px; top: 22px; }
  .dialog-media { min-height: 42vh; padding: 12px; }
  .dialog-copy { padding: 34px 22px 45px; }
  .dialog-metrics { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .model-hint-motion { display: none; }
  .model-hint-static { display: inline; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
