/* Embrelon: site styles.
   Direction: "The dark room" (taste-skill), brand palette and type kept. One dark field; each screen
   holds one or two lit things with space around them. The tile collage is one section, not the page. */


@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("/fonts/dm-sans-300.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/dm-sans-400.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("/fonts/dm-sans-500.woff2") format("woff2"); }
@font-face { font-family: "DM Sans"; font-style: normal; font-weight: 600; font-display: swap; src: url("/fonts/dm-sans-600.woff2") format("woff2"); }
@font-face { font-family: "DM Serif Display"; font-style: italic; font-weight: 400; font-display: swap; src: url("/fonts/dm-serif-display-italic.woff2") format("woff2"); }
@font-face { font-family: "DM Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("/fonts/dm-mono-400.woff2") format("woff2"); }

:root {
  --bg: #f6f6f1;
  --surface: #ebf0e6;
  --surface-2: #dfe7d8;
  --ink: #213c34;
  --muted: #5e6b62;
  --accent: #213c34;
  --accent-strong: #2f5146;
  --accent-ink: #f6f6f1;
  --stone: #d3ddca;
  --paper: #ffffff;
  --paper-ink: #213c34;
  --serif-ink: #42624e;
  --leaf: #7a9b57;
  --signal: #a4502c;
  --line: #d9ded3;

  --font-display: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-text: "DM Sans", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "DM Serif Display", Georgia, serif;
  --font-mono: "DM Mono", ui-monospace, Menlo, monospace;

  --step-small: 0.875rem;
  --step-body: clamp(1.0625rem, 1rem + 0.2vw, 1.1875rem);
  --step-lead: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem);
  --step-head: clamp(2.5rem, 1.4rem + 3.6vw, 5.25rem);
  --step-display: clamp(3rem, 0.9rem + 6.4vw, 7.5rem);

  --margin: clamp(20px, 3.4vw, 56px);
  --gap: 8px;
  --section: clamp(7rem, 13vw, 13rem);
  --radius: 6px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
  --t-press: 140ms;
  --t-hover: 180ms;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; background: var(--bg); scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-text); font-size: var(--step-body); line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
h1, h2, h3, p, figure, blockquote, ul, ol, dl, dd { margin: 0; }
ul[class], ol[class] { padding: 0; list-style: none; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; background: var(--surface); }
button, input, select, textarea { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
a { color: inherit; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent-strong); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; letter-spacing: -0.04em; line-height: 1.04; text-wrap: balance; }
p { max-width: 62ch; text-wrap: pretty; }
.muted, .ui-muted { color: var(--muted); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: var(--margin); top: -100px; z-index: 50; background: var(--paper); color: var(--paper-ink); padding: 12px 16px; text-decoration: none; }
.skip:focus { top: 12px; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; } /* taste-skill-ignore: off-screen spam trap, never rendered */

/* ---------- controls ---------- */
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 26px; background: var(--accent); color: var(--accent-ink); border-radius: var(--radius); font-weight: 500; text-decoration: none; white-space: nowrap; transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.button:active { transform: scale(0.97); }
.button-small { min-height: 44px; padding: 0 18px; font-size: 15px; }
.link { text-decoration: underline; text-decoration-color: color-mix(in srgb, currentColor 35%, transparent); text-underline-offset: 0.22em; text-decoration-thickness: 0.07em; transition: text-decoration-color var(--t-hover) ease, color var(--t-hover) ease; }
@media (hover: hover) and (pointer: fine) {
  .button:hover { background-color: var(--accent-strong); }
  .link:hover { text-decoration-color: currentColor; }
}

/* ---------- header: wordmark, a few links, one action ---------- */
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 600; letter-spacing: -0.02em; text-decoration: none; line-height: 1; }
.wordmark svg { width: 1.1em; height: 1.1em; flex: none; }
.topbar { position: sticky; top: 0; z-index: 20; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; padding: 14px var(--margin); background: var(--bg); }
.topbar .wordmark { font-size: 24px; justify-self: start; }
.topbar nav ul { display: flex; flex-wrap: wrap; gap: 8px 30px; font-size: 15px; list-style: none; margin: 0; padding: 0; }
.topbar nav a { text-decoration-color: transparent; }
.topbar nav a[aria-current="page"] { text-decoration-color: currentColor; }
.topbar > .button { justify-self: end; }

/* ======================================================================
   HERO: the statement, and one lit exhibit
   ====================================================================== */
.hero { padding: clamp(72px, 11vh, 140px) var(--margin) 0; }
.hero h1 { font-size: min(var(--step-display), calc((100vw - 2 * var(--margin)) / 12.2)); line-height: 0.98; letter-spacing: -0.035em; max-width: none; }
.hero-row { margin-top: clamp(48px, 7vh, 88px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.hero-copy { grid-column: 1 / 6; padding-top: 8px; }
.hero-sub { font-size: var(--step-lead); line-height: 1.45; max-width: 30ch; }
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 28px; }
.exhibit { grid-column: 7 / 13; background: var(--surface); padding: 28px; font-size: 15px; line-height: 1.45; }
.ex-head { display: flex; justify-content: space-between; font-weight: 500; }
.ex-prompt { margin-top: 14px; background: var(--surface-2); padding: 18px 20px; font-family: var(--font-display); font-size: clamp(1.125rem, 1rem + 0.4vw, 1.375rem); line-height: 1.35; max-width: none; }
.ui-caret { display: inline-block; width: 2px; height: 1em; background: var(--accent); vertical-align: -0.15em; margin-left: 3px; }
.ex-stages { margin-top: 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px 20px; font-variant-numeric: tabular-nums; }
.ex-stages li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 0; }
.ex-stages .rev { color: var(--signal); }
.ex-foot { margin-top: 18px; display: flex; justify-content: space-between; align-items: center; background: var(--surface-2); padding: 12px 14px; font-weight: 500; }
.ex-pill { background: var(--paper); color: var(--paper-ink); padding: 4px 10px; font-size: 14px; }

/* ======================================================================
   SECTIONS
   ====================================================================== */
.section { padding-top: var(--section); padding-inline: var(--margin); }
.section-head { font-size: var(--step-head); max-width: 16ch; }

/* ---------- how it works: stages as one bar ---------- */
.stages { margin-top: 64px; display: flex; gap: 6px; }
.stage { flex: var(--g) 1 0; min-width: 12%; display: flex; flex-direction: column; }
.stage .seg { margin: 0; height: max(170px, 20vh); padding: 20px; font-size: clamp(1.25rem, 0.9rem + 1.1vw, 1.875rem); line-height: 1.1; letter-spacing: -0.015em; }
.stage:nth-child(1) .seg { background: var(--surface-2); color: var(--ink); }
.stage:nth-child(2) .seg { background: var(--accent); color: var(--accent-ink); }
.stage:nth-child(3) .seg { background: var(--stone); color: var(--paper-ink); }
.stage:nth-child(4) .seg { background: var(--paper); color: var(--paper-ink); }
.stage p { margin-top: 18px; font-size: 17px; line-height: 1.5; max-width: 26ch; padding-right: 12px; }

/* ---------- the collage: one section, contained ---------- */
.collage-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.collage-head h2 { grid-column: 1 / 8; }
.collage-head p { grid-column: 8 / 13; font-size: var(--step-body); }
.collage-frame { margin-top: 56px; height: min(88svh, 860px); overflow: clip; }
.sheet { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; height: 100%; }
.sheet .col { display: flex; flex-direction: column; gap: 12px; transform: translateY(var(--off, 0)); }
.sheet .col:nth-child(1) { --off: 0px; }
.sheet .col:nth-child(2) { --off: -90px; }
.sheet .col:nth-child(3) { --off: -40px; }
.sheet .col:nth-child(4) { --off: -50px; }
.sheet .col:nth-child(5) { --off: -20px; }
.sheet .col:nth-child(6) { --off: -70px; }
.frame { position: relative; display: flex; flex-direction: column; background: var(--surface); flex: none; }
.frame img { width: 100%; aspect-ratio: var(--r, 3 / 2); object-fit: cover; }
.strip { flex: none; height: 30px; display: flex; align-items: center; padding: 0 10px; font-size: 14px; line-height: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.strip.s1 { background: var(--accent); color: var(--accent-ink); }
.strip.s2 { background: var(--surface-2); color: var(--ink); }
.strip.s3 { background: var(--stone); color: var(--paper-ink); }
.strip.s4 { background: var(--paper); color: var(--paper-ink); }
.ui-body { padding: 14px; font-size: 15px; line-height: 1.45; color: var(--ink); background: var(--surface); display: flex; flex-direction: column; gap: 8px; }
.ui-body .ui-title { font-weight: 500; }
.ui-body .ui-prompt { background: var(--surface-2); padding: 10px 12px; }
.ui-rows { display: grid; gap: 4px; }
.ui-rows > div { display: flex; justify-content: space-between; gap: 10px; background: var(--surface-2); padding: 6px 8px; font-variant-numeric: tabular-nums; }
.ui-rows > div.total { background: var(--accent); color: var(--accent-ink); font-weight: 500; }
.ui-rows > div.ok span:last-child { color: var(--leaf); }
.ui-big { font-family: var(--font-display); font-size: 34px; line-height: 1; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }

/* ---------- example run: rows as a board ---------- */
.run-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: end; }
.run-head h2 { grid-column: 1 / 8; font-size: var(--step-head); }
.run-head .run-intro { grid-column: 8 / 13; }
.picker { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 6px; }
.picker button { min-height: 44px; padding: 0 16px; background: var(--surface-2); color: var(--ink); transition: background-color var(--t-hover) ease, color var(--t-hover) ease, transform var(--t-press) var(--ease-out); }
.picker button:active { transform: scale(0.97); }
.picker button[aria-pressed="true"] { background: var(--paper); color: var(--paper-ink); }
@media (hover: hover) and (pointer: fine) { .picker button[aria-pressed="false"]:hover { background: #d3ddca; } }
.run-prompt { margin-top: 48px; background: var(--surface); padding: 22px 24px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); }
.run-prompt .label { grid-column: 1 / 4; color: var(--muted); }
.run-prompt q { grid-column: 4 / 13; font-family: var(--font-display); font-size: var(--step-lead); line-height: 1.3; quotes: "\201C" "\201D"; }
.board { margin-top: 4px; display: grid; gap: 4px; }
.board li { display: block; }
.row { width: 100%; min-height: 72px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gap); align-items: center; text-align: left; background: var(--surface); padding: 0 0 0 24px; transition: background-color var(--t-hover) ease; }
.row .name { grid-column: 1 / 5; font-family: var(--font-display); font-size: clamp(1.25rem, 0.95rem + 1vw, 1.75rem); letter-spacing: -0.015em; line-height: 1.1; }
.row .fact-a { grid-column: 5 / 9; }
.row .fact-b { grid-column: 9 / 11; color: var(--muted); font-variant-numeric: tabular-nums; }
.row .status { grid-column: 11 / 13; align-self: stretch; display: flex; align-items: center; padding: 0 20px; font-weight: 500; }
.status.done { background: var(--surface-2); color: var(--ink); }
.status.passed { background: var(--stone); color: var(--paper-ink); }
.status.revised { background: var(--paper); color: var(--paper-ink); }
.status.skipped { background: transparent; color: var(--muted); }
.row .detail { display: none; }
@media (hover: hover) and (pointer: fine) { .row[aria-expanded="false"]:hover { background: #e3eadc; } }
.row[aria-expanded="true"] { min-height: 200px; align-items: start; padding-top: 24px; background: var(--accent); color: var(--accent-ink); }
.row[aria-expanded="true"] .name { font-size: clamp(2rem, 1.2rem + 2.4vw, 3.25rem); grid-column: 1 / 5; grid-row: 1; }
.row[aria-expanded="true"] .fact-a, .row[aria-expanded="true"] .fact-b { grid-row: 1; align-self: center; }
.row[aria-expanded="true"] .fact-b { color: var(--accent-ink); }
.row[aria-expanded="true"] .status { grid-row: 1; align-self: start; min-height: 72px; margin-top: -24px; }
.row[aria-expanded="true"] .detail { display: block; grid-column: 1 / 9; grid-row: 2; font-size: 17px; line-height: 1.5; max-width: 60ch; padding: 18px 0 24px; }
.board-note { margin-top: 18px; color: var(--muted); font-size: var(--step-small); }

/* ---------- why: one lit film, text beside it ---------- */
.why { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.why-film { grid-column: 1 / 8; }
.why-film .shutter { overflow: clip; }
.why-film video { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.9); background: var(--surface); }
.why-film figcaption { margin-top: 14px; color: var(--muted); font-size: 15px; max-width: 56ch; }
.why-text { grid-column: 8 / 13; padding-left: clamp(0px, 2vw, 32px); }
.why-text .section-head { font-size: clamp(2.25rem, 1.4rem + 2.6vw, 4rem); }
.why-lead { margin-top: 28px; font-size: var(--step-lead); line-height: 1.45; }
.why-text p + p { margin-top: 18px; }
.facts { margin-top: 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px 24px; font-size: 16px; }
.facts dt { color: var(--muted); font-size: 14px; }
.facts dd { margin-top: 2px; }

/* ---------- early access: one field, nothing else ---------- */
.signup { margin: var(--section) var(--margin) 0; padding: clamp(72px, 10vw, 140px) 24px; background: var(--surface); display: flex; flex-direction: column; align-items: center; text-align: center; }
.signup h2 { font-size: var(--step-head); line-height: 1.02; max-width: 14ch; }
.signup h2 .soft { display: block; color: var(--muted); }
.one-field { margin-top: 48px; width: min(560px, 100%); }
.field-row { position: relative; }
.field-row input { width: 100%; height: 64px; border: 0; border-radius: var(--radius); background: var(--paper); color: var(--paper-ink); padding: 0 76px 0 22px; font-size: 18px; }
.field-row input::placeholder { color: #7b867e; opacity: 1; }
.field-row input:focus { outline: 2px solid var(--accent); outline-offset: -2px; }
.field-row input[aria-invalid="true"] { outline: 2px solid #c0603a; outline-offset: -2px; }
.field-row button { position: absolute; right: 8px; top: 8px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); transition: transform var(--t-press) var(--ease-out), background-color var(--t-hover) ease; }
.field-row button svg { width: 22px; height: 22px; }
.field-row button:active { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) { .field-row button:hover { background: var(--accent-strong); } }
.signup-note { margin: 16px auto 0; font-size: 15px; color: var(--muted); max-width: 52ch; }
.form-status { margin-top: 14px; font-weight: 500; min-height: 1.6em; }
.signup-facts { margin-top: 64px; display: grid; grid-template-columns: repeat(3, auto); gap: 16px 64px; font-size: 15px; text-align: left; }
.signup-facts dt { color: var(--muted); font-size: 14px; }

/* ---------- footer: a single quiet line ---------- */
.quiet-footer { margin-top: clamp(120px, 14vw, 200px); padding: 0 var(--margin) 30px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: baseline; gap: 16px 24px; font-size: 15px; }
.quiet-footer ul { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; margin: 0; padding: 0; }
.quiet-footer .end { justify-self: end; }

/* ======================================================================
   SUB PAGES (contact, privacy, credits, thanks, 404)
   ====================================================================== */
.page { padding: clamp(56px, 9vh, 110px) var(--margin) 0; }
.page-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: start; }
.page-intro { grid-column: 1 / 6; }
.page-intro h1, .prose h1, .big h1 { font-size: var(--step-head); max-width: 12ch; }
.page-intro .lead { margin-top: 24px; font-size: var(--step-lead); line-height: 1.45; max-width: 28ch; }
.reasons { margin-top: 40px; display: grid; gap: 4px; }
.reasons li { background: var(--surface); padding: 14px 16px; font-size: 16px; }
.form-panel { grid-column: 7 / 13; background: var(--surface); padding: clamp(24px, 3vw, 40px); }
.form-panel h2 { font-family: var(--font-text); font-weight: 500; letter-spacing: 0; font-size: var(--step-lead); line-height: 1.3; }
.form-grid { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 12px; }
.form-grid .full { grid-column: 1 / -1; }
.field-wrap label { display: block; font-size: 15px; margin-bottom: 6px; }
.field-wrap .hint { color: var(--muted); font-size: 14px; margin-top: 6px; }
.field { width: 100%; min-height: 52px; padding: 12px 14px; background: var(--surface-2); border: 0; border-radius: var(--radius); font-size: 17px; color: var(--ink); transition: background-color var(--t-hover) ease; }
.field:focus { background: #ffffff; outline: 2px solid var(--accent); outline-offset: 0; }
textarea.field { min-height: 170px; resize: vertical; line-height: 1.5; }
select.field { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9'%3E%3Cpath d='M1 1l6 6 6-6' fill='none' stroke='%23ededed' stroke-width='2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; padding-right: 44px; }
.field[aria-invalid="true"] { outline: 2px solid #c0603a; }
.form-actions { margin-top: 22px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; }
.form-actions .small { font-size: var(--step-small); color: var(--muted); max-width: 44ch; }
.page-photos { grid-column: 1 / 13; margin-top: var(--section); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.page-photos img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; filter: brightness(0.85) contrast(1.05); }
.page-photos figcaption { margin-top: 10px; font-size: 15px; color: var(--muted); }
.next { grid-column: 1 / 13; margin-top: var(--section); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; }
.next h2 { grid-column: 1 / 6; font-size: clamp(2rem, 1.3rem + 2vw, 3.25rem); }
.next p { grid-column: span 3; font-size: 17px; }
.prose { grid-column: 1 / 9; }
.prose h2 { font-size: var(--step-lead); margin-top: 40px; font-family: var(--font-text); font-weight: 500; letter-spacing: 0; }
.prose p, .prose li { font-size: 17px; margin-top: 12px; max-width: 64ch; }
.prose ul { padding-left: 1.2em; }
.prose ol { padding-left: 1.4em; }
.prose .updated { color: var(--muted); font-size: var(--step-small); margin-top: 16px; }
.aside { grid-column: 10 / 13; background: var(--surface); padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.aside p { font-size: 16px; }
.aside .button { align-self: flex-start; }
.big { grid-column: 1 / 13; min-height: 52svh; display: flex; flex-direction: column; justify-content: center; gap: 28px; }
.big h1 { font-size: var(--step-display); max-width: 14ch; }
.big p { font-size: var(--step-lead); max-width: 40ch; }
.big .actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }

/* ======================================================================
   MOTION: quiet. Content is visible without JavaScript and on first paint;
   below-the-fold parts rise once as they arrive.
   ====================================================================== */
@media (prefers-reduced-motion: no-preference) {
  .js [data-reveal] { opacity: 0; transform: translateY(20px); transition: opacity 700ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
  .js .collage-frame .frame { opacity: 0; transform: translateY(24px); transition: opacity 600ms var(--ease-out), transform 900ms var(--ease-out); transition-delay: calc(var(--i, 0) * 45ms); }
  .js .collage-frame.is-in .frame { opacity: 1; transform: none; }
  .js [data-observe] .shutter { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-in-out); }
  .js [data-observe] .shutter video { transform: scale(1.1); transition: transform 1500ms var(--ease-soft); }
  .js [data-observe].is-in .shutter { clip-path: inset(0); }
  .js [data-observe].is-in .shutter video { transform: none; }
  .js .board li { opacity: 0; transform: translateY(14px); transition: opacity 500ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: calc(var(--i, 0) * 50ms); }
  .js .board.is-in li { opacity: 1; transform: none; }
  .js .ex-stages li { animation: settle 700ms var(--ease-out) backwards; animation-delay: calc(var(--n, 0) * 60ms + 200ms); }
  .ui-caret { animation: blink 1.1s steps(1) infinite; }
}
@keyframes settle { from { opacity: 0.35; transform: translateY(8px); } }
@keyframes blink { 50% { opacity: 0; } }

/* ======================================================================
   TABLET
   ====================================================================== */
@media (max-width: 1100px) {
  .topbar nav { display: none; }
  .topbar { grid-template-columns: 1fr auto; }
  .hero-copy { grid-column: 1 / 13; }
  .exhibit { grid-column: 1 / 13; margin-top: 24px; }
  .sheet { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .sheet .col:nth-child(1), .sheet .col:nth-child(6) { display: none; }
  .why-film, .why-text { grid-column: 1 / 13; }
  .why-text { padding-left: 0; margin-bottom: 40px; order: -1; }
  .page-intro, .form-panel { grid-column: 1 / 13; }
  .form-panel { margin-top: 40px; }
  .page-photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .prose, .aside { grid-column: 1 / 13; }
  .aside { margin-top: 32px; }
}

/* ======================================================================
   PHONE
   ====================================================================== */
@media (max-width: 760px) {
  .topbar { padding-block: 10px; }
  .topbar .wordmark { font-size: 21px; }
  .hero { padding-top: 56px; }
  .hero h1 { font-size: calc((100vw - 2 * var(--margin)) / 11.4); }
  .hero-row { display: block; margin-top: 28px; }
  .hero-actions .button { flex: 1 1 100%; }
  .exhibit { margin-top: 48px; padding: 18px; font-size: 14px; }
  .ex-stages { grid-template-columns: 1fr; gap: 0; }

  .section-head { font-size: 11vw; }
  .stages { flex-direction: column; margin-top: 40px; }
  .stage { min-width: 0; }
  .stage .seg { height: max(72px, calc(var(--g) * 0.5svh)); font-size: 22px; padding: 16px; }
  .stage p { font-size: 16px; margin: 10px 0 14px; max-width: none; }

  .collage-head { display: block; }
  .collage-head p { margin-top: 18px; }
  .collage-frame { margin-top: 36px; height: 78svh; }
  .sheet { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .sheet .col { gap: 8px; }
  .sheet .col:nth-child(n) { display: none; }
  .sheet .col:nth-child(2), .sheet .col:nth-child(5) { display: flex; }
  .sheet .col:nth-child(2) { --off: 0px; }
  .sheet .col:nth-child(5) { --off: -60px; }
  .ui-body { padding: 10px; font-size: 13px; gap: 6px; }
  .ui-body .ui-title, .ui-body .ui-prompt { font-size: 14px; }
  .ui-rows > div { padding: 5px 6px; gap: 6px; }
  .ui-big { font-size: 28px; }
  .strip { font-size: 13px; padding: 0 8px; }

  .run-head { display: block; }
  .run-head h2 { font-size: 11vw; }
  .run-head .run-intro { margin-top: 16px; }
  .run-prompt { display: block; padding: 18px; }
  .run-prompt q { display: block; margin-top: 6px; }
  .row { grid-template-columns: 1fr auto; min-height: 64px; padding-left: 16px; }
  .row .name { grid-column: 1; font-size: 20px; }
  .row .fact-a, .row .fact-b { display: none; }
  .row .status { grid-column: 2; padding: 0 14px; min-width: 96px; }
  .row[aria-expanded="true"] { min-height: 200px; padding-top: 16px; }
  .row[aria-expanded="true"] .name { grid-column: 1; font-size: 28px; }
  .row[aria-expanded="true"] .status { grid-column: 2; margin-top: -16px; min-height: 64px; }
  .row[aria-expanded="true"] .fact-a, .row[aria-expanded="true"] .fact-b { display: block; grid-column: 1 / -1; grid-row: auto; font-size: 16px; }
  .row[aria-expanded="true"] .fact-a { margin-top: 12px; }
  .row[aria-expanded="true"] .detail { grid-column: 1 / -1; grid-row: auto; font-size: 16px; padding: 8px 16px 18px 0; }

  .signup { align-items: stretch; text-align: left; padding: 56px 20px; }
  .signup h2 { font-size: 7.6vw; max-width: none; }
  .field-row input { height: 60px; }
  .field-row button { top: 6px; }
  .signup-note { margin-left: 0; }
  .signup-facts { grid-template-columns: 1fr; gap: 20px; margin-top: 48px; }

  .quiet-footer { margin-top: 20svh; grid-template-columns: 1fr; gap: 8px; padding-bottom: 24px; font-size: 14px; }
  .quiet-footer .end { justify-self: start; }

  .form-grid { grid-template-columns: 1fr; }
  .next { display: block; }
  .next p { margin-top: 16px; }
  .prose, .aside { grid-column: 1 / 13; }
  .aside { margin-top: 32px; }
}

/* ======================================================================
   FOREST SCHEME: serif italic accent lines, mono labels, quiet rules
   ====================================================================== */
h1 em, h2 em { display: block; font-family: var(--font-serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; color: var(--serif-ink); }
.hero h1 { line-height: 1.02; }
.topbar { border-bottom: 1px solid var(--line); }
.button::after { content: "\2197"; margin-left: 14px; font-size: 1.05em; }
.button-small::after { margin-left: 10px; }
.field-row button, .field-row input { border-radius: var(--radius); }
.exhibit, .form-panel, .signup, .reasons li, .run-prompt { border-radius: 10px; }
.exhibit { border: 1px solid var(--line); }
.ex-head, .run-prompt .label, .facts dt, .signup-facts dt, .ex-pill { font-family: var(--font-mono); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; }
.ex-head span:last-child { color: var(--muted); }
.status-line { margin-top: 28px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.status-line .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--leaf); box-shadow: 0 0 0 4px color-mix(in srgb, var(--leaf) 22%, transparent); }
.status-line .sep { opacity: .6; }
.board .row { border-radius: 4px; }
.why-film video { border-radius: 10px; }
.page-photos img { border-radius: 8px; filter: none; }
.quiet-footer { border-top: 1px solid var(--line); padding-top: 28px; }
