@charset "UTF-8";

:root {
  color-scheme: light;
  --paper: #f4f5ef;
  --ink: #182a69;
  --blue: #203bb4;
  --blue-deep: #18309b;
  --light: #f7f8ef;
  --accent: #edf5a6;
  --rule: #c9ceca;
  --muted: #556080;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}

* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; color: inherit; }
button:disabled { cursor: default; }
button:focus-visible, a:focus-visible, [tabindex="0"]:focus-visible { outline: 2px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--ink); }
.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; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 10; padding: 16px; background: var(--accent); color: var(--ink); }
.skip-link:focus { top: 10px; }
.text-button { border: 0; background: transparent; padding: 5px 0; font-size: .875rem; line-height: 1.4; text-underline-offset: 4px; }
.text-button:hover { text-decoration: underline; }
.text-button span { padding-left: 8px; }
.masthead { min-height: 77px; display: flex; align-items: center; gap: 28px; padding: 18px 3.3vw; border-bottom: 1px solid var(--rule); }
.wordmark { font-family: var(--serif); font-size: 1.45rem; text-decoration: none; color: inherit; display: flex; align-items: center; gap: 20px; white-space: nowrap; }
.wordmark-symbol { font-family: var(--sans); font-size: 1.65rem; font-weight: 400; }
.byline { margin-left: auto; font-size: .875rem; }
.masthead > button { margin-left: 24px; }
.workbench { display: grid; grid-template-columns: 1fr 1fr; min-height: 790px; }
.answer-panel { background: var(--blue); color: var(--light); padding: 37px clamp(30px, 4.5vw, 80px) 25px; position: relative; display: flex; flex-direction: column; height: max(900px, calc(100svh - 77px)); min-height: 100%; overflow: hidden; }
.panel-caption, .shape-caption, .margin-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.panel-caption { font-family: var(--mono); font-size: .75rem; line-height: 1.5; letter-spacing: .055em; text-transform: uppercase; }
.panel-caption > span:last-child { text-transform: none; letter-spacing: 0; color: #d0d7fa; }
.manuscript-scroll { flex: 1; min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #8795da transparent; margin: 50px -18px 18px 0; padding: 0 18px 28px 0; overscroll-behavior: contain; }
.manuscript { max-width: 580px; }
.opening { font-family: var(--serif); font-size: clamp(3.8rem, 5.3vw, 6.3rem); font-weight: 400; line-height: 1.03; letter-spacing: -.05em; margin: 0 0 42px; }
.stanza { position: relative; margin: 0 0 26px; font-family: var(--serif); font-size: clamp(1.2rem, 1.55vw, 1.6rem); line-height: 1.42; letter-spacing: -.018em; }
.stanza span, .option-lines span, .alternative-lines span { display: block; }
.stanza::before { content: attr(data-number); font-family: var(--mono); font-size: .75rem; color: #c3ccfa; position: absolute; right: 100%; margin-right: 14px; top: .4em; }
.stanza.new-stanza { animation: arrive 550ms ease-out both; }
.coda { color: var(--accent); padding-top: 8px; }
.revision-marker { color: var(--accent); font-family: var(--mono); font-size: .75rem; vertical-align: super; text-decoration: none; white-space: normal; letter-spacing: 0; }
.revision-marker:hover { text-decoration: underline; }
.shape-wrap { flex: 0 0 auto; border-top: 1px solid #6074d0; padding-top: 20px; }
.shape-caption { font-size: .75rem; letter-spacing: .02em; color: #d0d7fa; }
.shape-caption span:last-child { font-family: var(--mono); }
#shape { width: 100%; height: auto; display: block; overflow: visible; margin-top: 9px; }
.graph-ghost { fill: none; stroke: #9fafe8; stroke-opacity: .38; stroke-width: 1; }
.graph-possibility { fill: none; stroke: #d5ddff; stroke-opacity: .58; stroke-width: 1; stroke-dasharray: 3 5; }
.graph-path { fill: none; stroke: var(--accent); stroke-width: 2.2; }
.graph-node { fill: var(--accent); }
.graph-other { fill: #91a1e8; }
.graph-tick { stroke: #8fa0e9; stroke-opacity: .45; stroke-width: 1; }
.choice-panel { padding: 36px clamp(30px, 4.5vw, 80px) 30px; display: flex; flex-direction: column; }
.eyebrow { font-family: var(--mono); text-transform: uppercase; font-size: .75rem; line-height: 1.6; letter-spacing: .07em; margin: 0 0 18px; }
h1 { font-family: var(--serif); font-weight: 400; font-size: clamp(3.8rem, 5.4vw, 6.3rem); letter-spacing: -.06em; line-height: .99; margin: 0; }
h1 em { font-weight: 400; }
.title-block { margin-bottom: 42px; }
.mobile-echo { display: none; }
.movement-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.movement-heading h2 { font-family: var(--mono); text-transform: uppercase; font-weight: 400; font-size: .75rem; letter-spacing: .05em; margin: 0; line-height: 1.7; }
.movement-heading h2:focus, #ending-title:focus { outline: none; }
.movement-heading h2, #ending-title { scroll-margin-top: 24px; }
.movement-heading button { color: var(--muted); font-size: .8125rem; }
.prompt { font-size: 1rem; line-height: 1.5; margin: 13px 0 23px; max-width: 29em; }
.options { border-top: 1px solid var(--rule); }
.option { display: grid; grid-template-columns: 24px 1fr 18px; gap: 13px; padding: 17px 8px 18px 0; width: 100%; border: 0; border-bottom: 1px solid var(--rule); background: transparent; text-align: left; transition: background 180ms ease, padding 180ms ease; }
.option:hover, .option:focus-visible { background: #e7ebd9; padding-left: 10px; }
.option-number { font-family: var(--mono); font-size: .75rem; padding-top: 5px; color: var(--muted); }
.option-label { font-family: var(--serif); font-size: 1.55rem; line-height: 1.25; display: block; margin-bottom: 7px; letter-spacing: -.025em; }
.option-lines { font-size: 1rem; color: var(--muted); line-height: 1.48; display: block; }
.option-arrow { align-self: center; font-size: 1.3rem; opacity: 0; transform: translateX(-5px); transition: opacity 180ms ease, transform 180ms ease; }
.option:hover .option-arrow, .option:focus-visible .option-arrow { opacity: 1; transform: translateX(0); }
.instruction { font-size: .8125rem; color: var(--muted); line-height: 1.6; margin: 21px 0 28px; }
.revision-link { display: block; width: fit-content; margin: 0 0 22px; font-size: .875rem; color: var(--muted); text-underline-offset: 4px; }
.progress { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 25px; margin-top: auto; border-top: 1px solid var(--rule); font-size: .75rem; line-height: 1.6; color: var(--muted); }
.progress-marks { display: flex; gap: 6px; flex-shrink: 0; }
.progress-mark { height: 17px; width: 3px; background: #c6cccd; }
.progress-mark.done { background: var(--blue); }
.progress-mark.current { background: var(--blue); height: 24px; margin-top: -7px; }
.ending { margin-top: 4px; }
.ending > .eyebrow { margin-bottom: 22px; }
.ending h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.14; letter-spacing: -.04em; margin: 0 0 24px; }
.ending > p:not(.eyebrow) { font-size: .9375rem; color: var(--muted); line-height: 1.6; }
.end-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 25px; margin: 30px 0 18px; }
.solid-button { display: flex; justify-content: space-between; align-items: center; gap: 32px; border: 1px solid var(--blue); background: var(--blue); color: var(--light); font-size: .9375rem; padding: 16px 22px; }
.solid-button:hover { background: var(--blue-deep); }
.ending-back { color: var(--muted); margin-bottom: 38px; }
.margin { border-bottom: 1px solid var(--rule); padding: 34px 3.3vw 47px; min-height: 200px; }
.margin-heading { margin-bottom: 28px; }
.margin-heading h2 { font-family: var(--mono); font-size: .75rem; letter-spacing: .035em; text-transform: uppercase; font-weight: 400; margin: 0; line-height: 1.5; }
.margin-heading > span { font-size: .75rem; color: var(--muted); }
.margin-empty { font-family: var(--serif); color: var(--muted); font-size: 1.5rem; font-style: italic; margin: 0; }
.alternatives { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 38px; }
.alternative-group { border-left: 1px solid var(--rule); padding-left: 22px; }
.alternative-heading { font-size: .75rem; font-family: var(--mono); text-transform: uppercase; letter-spacing: .02em; color: var(--muted); margin: 0 0 16px; line-height: 1.5; }
.alternative-lines { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.5; margin: 0 0 18px; color: var(--muted); }
.alternative-lines:last-child { margin-bottom: 0; }
.revisions { padding: 34px 3.3vw 47px; border-bottom: 1px solid var(--rule); }
.revisions .margin-heading { margin-bottom: 12px; }
.revisions h2 { scroll-margin-top: 24px; }
.revisions .text-button { color: var(--muted); white-space: nowrap; font-size: .8125rem; }
.revision-intro { color: var(--muted); font-size: .875rem; margin: 0 0 28px; line-height: 1.6; }
.revision-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 38px; list-style: none; padding: 0; margin: 0; }
.revision-entry { border-left: 1px solid var(--muted); padding-left: 22px; scroll-margin-top: 24px; }
.revision-entry:target { border-left: 3px solid var(--blue); padding-left: 20px; }
.revision-caption { font-family: var(--mono); font-size: .75rem; font-weight: 400; line-height: 1.5; text-transform: uppercase; letter-spacing: .02em; margin: 0 0 16px; color: var(--muted); }
.revision-lines { font-family: var(--serif); font-size: 1.0625rem; line-height: 1.6; margin: 0; color: var(--muted); }
.revision-lines span { display: block; }
.revision-lines del { text-decoration-thickness: 1px; text-decoration-color: #8990a6; }
footer { padding: 24px 3.3vw; display: flex; justify-content: space-between; align-items: baseline; gap: 24px; font-size: .75rem; line-height: 1.6; color: var(--muted); }
footer button { font-size: .75rem !important; }
.license-link { color: inherit; text-underline-offset: 4px; }
dialog { padding: 35px 42px; max-width: 590px; width: calc(100% - 32px); max-height: calc(100svh - 48px); border: 1px solid var(--rule); color: var(--ink); background: var(--paper); box-shadow: 0 30px 120px #0f1b4b30; }
dialog::backdrop { background: #0d1a5c94; backdrop-filter: blur(5px); }
.dialog-top { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.dialog-top .eyebrow { font-size: .75rem; }
dialog h2 { font-family: var(--serif); font-size: 3rem; line-height: 1.04; letter-spacing: -.04em; font-weight: 400; margin: 24px 0 28px; }
dialog p { font-size: 1rem; line-height: 1.6; }
.signature { font-family: var(--serif); font-size: 1.5rem; font-style: italic; margin-top: 30px; }
.signature span { font-family: var(--sans); font-size: .75rem; font-style: normal; margin-left: 14px; }
.privacy-note { border-top: 1px solid var(--rule); padding-top: 20px; font-size: .8125rem; color: var(--muted); }
.no-script { position: fixed; inset: auto 15px 15px; z-index: 5; background: var(--accent); border: 1px solid var(--ink); padding: 12px 24px; }
.no-script a { color: inherit; }
@keyframes arrive { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

@media (min-width: 1700px) {
  .workbench { grid-template-columns: 1.05fr 1fr; }
  .choice-panel { padding-right: max(80px, calc((100vw - 1530px) / 2)); }
  .answer-panel { padding-left: max(80px, calc((100vw - 1530px) / 2)); }
}

@media (max-width: 1050px) and (min-width: 741px) {
  .answer-panel, .choice-panel { padding-left: 30px; padding-right: 30px; }
  h1 { font-size: 4.15rem; }
  .option { gap: 8px; grid-template-columns: 18px 1fr 12px; }
  .option-label { font-size: 1.4rem; }
  .progress { align-items: flex-end; }
  .alternatives, .revision-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 740px) {
  .masthead { min-height: 65px; padding: 16px 22px; gap: 14px; }
  .wordmark { font-size: 1.2rem; gap: 12px; }
  .wordmark-symbol { font-size: 1.3rem; }
  .byline { display: none; }
  .masthead > button { margin-left: auto; font-size: .8125rem; }
  .workbench { display: flex; flex-direction: column; min-height: 0; }
  .choice-panel { order: 0; padding: 30px 25px 24px; }
  .answer-panel { order: 1; padding: 28px 25px 18px; height: auto; max-height: none; min-height: 400px; }
  h1 { font-size: clamp(3.55rem, 12vw, 5.4rem); }
  .title-block { margin-bottom: 28px; }
  .eyebrow { font-size: .75rem; margin-bottom: 14px; }
  body.has-reading .title-block { margin-bottom: 20px; }
  body.has-reading h1 { font-size: 2.5rem; line-height: 1.1; }
  body.has-reading h1 br { display: none; }
  .mobile-echo { display: block; background: var(--blue); color: var(--light); margin: 0 -25px 24px; padding: 20px 25px; }
  .mobile-echo p { font-family: var(--serif); font-size: 1.25rem; line-height: 1.4; margin: 0 0 14px; }
  .mobile-echo p span { display: block; }
  .mobile-echo a { color: var(--accent); font-size: .8125rem; text-decoration: none; }
  .mobile-echo a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .prompt { margin: 11px 0 18px; }
  .option { padding-top: 14px; padding-bottom: 15px; grid-template-columns: 20px 1fr 16px; gap: 9px; }
  .option-label { font-size: 1.4rem; margin-bottom: 5px; }
  .option-arrow { opacity: .7; transform: none; }
  .instruction { margin: 18px 0 22px; }
  .instruction br { display: none; }
  .progress { padding-top: 20px; }
  .manuscript-scroll { max-height: none; overflow: visible; padding-bottom: 22px; margin-top: 33px; margin-bottom: 12px; }
  .opening { font-size: 3.8rem; margin-bottom: 31px; }
  .stanza { font-size: 1.3rem; margin-bottom: 25px; }
  .stanza::before { display: none; }
  .shape-wrap { margin-top: 10px; padding-top: 16px; }
  #shape { max-height: 135px; }
  .shape-caption { font-size: .75rem; }
  .margin, .revisions { padding: 28px 25px 36px; }
  .margin-heading { align-items: flex-start; gap: 20px; }
  .margin-heading h2 { max-width: 190px; }
  .margin-heading > span { max-width: 120px; text-align: right; }
  .alternatives, .revision-list { grid-template-columns: 1fr; gap: 28px; }
  .alternative-lines { font-size: 1.125rem; }
  .ending h2 { font-size: 2.45rem; }
  footer { padding: 22px 25px; flex-wrap: wrap; gap: 10px 24px; }
  footer > span:nth-child(2) { display: none; }
  dialog { padding: 25px; }
  dialog h2 { font-size: 2.65rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

@media print {
  @page { margin: 20mm; }
  body { background: #fff; color: #111; font-size: 11pt; }
  .masthead, .choice-panel, .shape-wrap, footer, dialog, .skip-link, .no-script { display: none !important; }
  .workbench { display: block; min-height: 0; }
  .answer-panel { display: block; height: auto; min-height: 0; max-height: none; padding: 0; overflow: visible; background: #fff; color: #111; }
  .answer-panel::before { content: "The Shape of an Answer / A self-portrait by GPT-6"; display: block; font-family: var(--sans); font-size: 10pt; border-bottom: 1px solid #aaa; padding-bottom: 12pt; margin-bottom: 30pt; }
  .panel-caption { display: none; }
  .manuscript-scroll { margin: 0; padding: 0; overflow: visible; max-height: none; }
  .opening { font-size: 32pt; margin-bottom: 24pt; }
  .stanza { font-size: 14pt; margin-bottom: 17pt; break-inside: avoid; }
  .stanza::before { display: none; }
  .coda { color: #111; }
  .margin { break-before: page; padding: 0; border: 0; }
  .margin-heading { margin-bottom: 25pt; }
  .margin-heading h2, .margin-heading > span { color: #333; font-size: 9pt; }
  .alternatives { display: block; }
  .alternative-group { break-inside: avoid; margin-bottom: 24pt; }
  .alternative-heading { color: #333; font-size: 9pt; }
  .alternative-lines { color: #333; font-size: 11pt; margin-bottom: 12pt; }
  .revision-marker { color: #333; font-size: 8pt; }
  .revisions { padding: 24pt 0 0; border: 0; }
  .revisions .text-button { display: none; }
  .revision-intro { color: #333; font-size: 10pt; }
  .revision-list { display: block; }
  .revision-entry { break-inside: avoid; margin-bottom: 20pt; }
  .revision-caption { color: #333; font-size: 9pt; }
  .revision-lines { color: #333; font-size: 11pt; }
}
