/* Arterium landing page — the page is the brief.
   Warm paper, ink type set in the system sans, pill geometry, one shared
   column: the nav, every section, and the footer sit in the same 72rem
   footprint. The hero demo sets the product's windows on the page's own
   paper; the mechanism and memory windows are the only dark objects on
   the page, and the demo borrows their black to open and close.
   One stylesheet, no framework. One webfont (Newsreader, h1/h2 only —
   a Draft 15 trial that may be reverted). */

:root {
  --paper: #fbf9f4;
  --ink: #1a1712;
  --ink-body: #453f35;
  --ink-muted: #837b6d;
  --hairline: #e7e1d3;
  --hairline-strong: #d9d2c0;

  /* The mechanism and memory windows stay dark no matter what the page does. */
  --win: #0a0a0c;
  --win-panel: #121216;
  --win-panel-2: #17171c;
  --win-line: #26262c;
  --win-text: #f4f4f5;
  --win-body: #cfcfd6;
  --win-muted: #a1a1aa;
  /* The one hue on the dark windows, appearing once per artifact in that
     artifact's native grammar: the mechanism's settle rule and the
     memory's /ask command. The hero demo carries no accent. */
  --win-accent: #ce7b5c;

  --radius: 16px;
  --measure: 72rem;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  /* Headings only (Draft 15 trial, may be reverted). The artifacts stay
     on the system sans — product UI never borrows the page's voice. */
  --font-heading: "Newsreader", "Iowan Old Style", Georgia, serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Sticky footer: on short pages (privacy, terms) the footer still sits
     at the bottom edge of the screen, exactly as on the front page. */
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1 0 auto;
  width: 100%;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

h1,
h2 {
  color: var(--ink);
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.032em;
  margin: 0 0 0.5em;
}

h2 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
}

h3 {
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.4em;
}

p {
  margin: 0 0 1em;
}

a {
  color: var(--ink);
  text-decoration-color: var(--hairline-strong);
  text-underline-offset: 3px;
}

a:hover {
  text-decoration-color: var(--ink-muted);
}

/* Kickers live inside their headings on index.html (a block span, so the
   outline reads "The workflow — From question to decision" for robots and
   screen readers) and as a standalone p above the essay's h1. The explicit
   sans face and line-height keep the span from inheriting the heading's
   serif and its tight leading. */
.kicker {
  display: block;
  color: var(--ink-muted);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.65;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 0 0 1rem;
}

/* Every section shares the header's footprint and the same breathing
   room: one padding for all, no per-section exceptions. */
section {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 8.5rem 1.5rem 0;
  scroll-margin-top: 4.5rem; /* anchor jumps clear the sticky capsule */
}

/* Buttons: ink pills on paper. One filled button visible at a time — the
   nav button stays a ghost while the hero button is on screen (script.js). */

.button {
  display: inline-block;
  background: var(--ink);
  color: var(--paper);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.9rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  text-decoration: none;
  cursor: pointer;
  font-family: inherit;
  box-shadow: 0 10px 24px -14px rgb(26 23 18 / 0.5);
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease,
    box-shadow 180ms ease;
}

@media (hover: hover) and (pointer: fine) {
  .button:hover {
    background: #332d22;
    border-color: #332d22;
    color: var(--paper);
  }
}

/* The ghost (unscrolled nav) inverts on hover: paper outline to solid ink. */
.button-ghost {
  background: transparent;
  border-color: var(--hairline-strong);
  color: var(--ink);
  box-shadow: none;
}

@media (hover: hover) and (pointer: fine) {
  .button-ghost:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }
}

/* A press is feedback on touchscreens too, without leaving a hover tint
   behind after navigation. Suppress the browser's grey tap overlay. */
.button {
  -webkit-tap-highlight-color: transparent;
}

.button:active,
.button-ghost:active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
  transition: none;
}

/* Keep the hero CTA visible through its physical scroll behind and above the
   sticky capsule. Only its shadow is suppressed while the two overlap, so the
   translucent backdrop has no dark blur to magnify into a smudge. */
.button.is-under-nav {
  box-shadow: none;
}

.button-small {
  font-size: 0.88rem;
  padding: 0.5rem 1.25rem;
}

.button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* Nav — a floating capsule. Flat at the top of the page; once the page
   scrolls, it gains its outline and the translucent blur (script.js
   toggles .scrolled). */

.nav {
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 0.65rem 0.9rem 0;
}

.nav-inner {
  max-width: var(--measure);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.5rem 0.55rem 0.5rem 1.3rem;
  border: 1px solid transparent;
  border-radius: 999px;
  transition: background 250ms ease, border-color 250ms ease;
}

.nav.scrolled .nav-inner {
  background: color-mix(in srgb, var(--paper) 78%, transparent);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-color: var(--hairline);
}

.wordmark {
  display: flex;
  align-items: center;
}

.wordmark img {
  display: block;
  height: 1.2rem;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav-link {
  color: var(--ink-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.nav-link:hover {
  color: var(--ink);
}

/* The nav labels abbreviate on narrow screens ("The why" / "Apply") so the
   capsule never crowds the wordmark. */
.nav-label-short {
  display: none;
}

@media (max-width: 520px) {
  .nav-label-full {
    display: none;
  }

  .nav-label-short {
    display: inline;
  }

  .nav {
    padding: 0.5rem 0.6rem 0;
  }

  .nav-inner {
    padding: 0.4rem 0.45rem 0.4rem 1rem;
    gap: 0.75rem;
  }

  .nav-right {
    gap: 0.8rem;
  }

  .nav-link {
    font-size: 0.8rem;
    white-space: nowrap;
  }

  .button-small {
    font-size: 0.8rem;
    padding: 0.45rem 1rem;
    white-space: nowrap;
  }
}

@media (max-width: 420px) {
  .wordmark img {
    height: 1rem;
  }

  .nav-right {
    gap: 0.6rem;
  }

  .nav-link {
    font-size: 0.72rem;
  }

  .button-small {
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
  }
}

/* Hero — heading, one paragraph, one button. Nothing else. */

.hero {
  text-align: center;
  padding-top: 4.75rem;
}

.hero h1 {
  font-size: clamp(2.5rem, 5.8vw, 4.3rem);
  line-height: 1.05;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.45em;
  text-wrap: balance;
}

/* Utility-page hero (privacy, terms): a one-word title has no business at
   the homepage's display size. Visual size drops to the sitewide h2 scale;
   the tag stays h1 — one top-level heading per page either way. The body
   line drops with it, from the hero's subhead size to the sitewide
   paragraph scale — it was sized to pair with a headline four times its
   own weight, and it shows once that headline shrinks. */
.hero-compact h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.6rem);
  line-height: 1.15;
}

.hero-compact .hero-sub {
  font-size: 0.95rem;
  max-width: 32rem;
}

.hero-sub {
  color: var(--ink-body);
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
  line-height: 1.6;
  max-width: 38rem;
  margin: 0 auto 2.2rem;
  text-wrap: pretty;
}

.hero-cta {
  margin: 0;
}

/* The hero demo — one question, from the meeting's blind spot to its
   decision, on one card. script.js draws a fixed 1920x1080 canvas and
   scales it to fit. Every size below the stage is in canvas pixels. The
   title cards and captions speak in the page's headline serif. The title
   cards sit on black, which opens onto paper for the product. The card,
   the interviews and the synthesis the card becomes keep the product's
   approved look (next.css: Apple neutrals, the system font). Terracotta
   marks only the red flag. */

.artifact-wrap {
  padding-top: 2.75rem;
}

.demo {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgb(26 23 18 / 0.07),
    0 12px 28px rgb(26 23 18 / 0.07),
    0 48px 100px -32px rgb(26 23 18 / 0.24);
}

/* script.js tints the stage's own ground to follow the film's night. The
   film's drifting lights reach past the canvas, so the stage clips without
   becoming scrollable, and focusing a control can never shift the film
   inside it. */
.demo-stage {
  position: relative;
  width: 100%;
  min-height: 12rem;
  overflow: hidden;
  overflow: clip;
  background: var(--paper);
}

.dm-frame {
  position: absolute;
  left: 0;
  top: 0;
  transform-origin: 0 0;
}

.dm-canvas {
  --dm-night: #12100e;
  --dm-line: #726a5d;
  --dm-accent: #ce7b5c;
  /* The product's approved look (next.css). */
  --dm-ink: #1d1d1f;
  --dm-secondary: #6e6e73;
  --dm-faint: #747479;
  --dm-hairline: rgb(0 0 0 / 0.08);
  --dm-tint: #f5f5f7;
  --dm-bubble: #efeff2;
  --dm-lift:
    0 0 0 1px rgb(26 23 18 / 0.06),
    0 4px 10px rgb(26 23 18 / 0.05),
    0 44px 90px -18px rgb(26 23 18 / 0.26);

  position: absolute;
  inset: 0;
  /* The colour field bleeds into any side ground created by the height
     cap; the stage still clips the complete film to its rounded pane. */
  overflow: visible;
  isolation: isolate;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", system-ui,
    "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: normal;
  -webkit-font-smoothing: antialiased;
}

/* The film is laid out in content-box sizes, like the stills it was
   approved from; the card and the pill's ring say otherwise where needed. */
.dm-canvas * {
  box-sizing: content-box;
}

/* The colour field sits outside the clipped composition so a height-capped
   phone cut still paints the full width of the pane. */
.dm-ground,
.dm-world,
.dm-lens,
.dm-camera,
.dm-captions {
  position: absolute;
  inset: 0;
}

.dm-ground {
  pointer-events: none;
}

.dm-ground::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  box-shadow: 0 0 0 5000px var(--paper);
}

/* The composition remains a 4:5 cut even when its colour field bleeds. */
.dm-world {
  overflow: hidden;
}

/* The camera moves the product; the captions stay put beneath it. */
.dm-camera {
  transform-origin: 0 0;
}

/* Warm light that drifts slowly behind everything. */
.dm-glow {
  position: absolute;
  left: 0;
  top: 0;
  pointer-events: none;
}

.dm-glow-1 {
  width: 2200px;
  height: 1520px;
  margin: -760px 0 0 -1100px;
  background: radial-gradient(closest-side, rgb(255 255 255 / 0.92), rgb(255 255 255 / 0) 62%);
}

.dm-glow-2 {
  width: 2400px;
  height: 1640px;
  margin: -820px 0 0 -1200px;
  background: radial-gradient(closest-side, rgb(231 222 205 / 0.75), rgb(231 222 205 / 0) 60%);
}

.dm-glow-3 {
  width: 1800px;
  height: 1200px;
  margin: -600px 0 0 -900px;
  background: radial-gradient(closest-side, rgb(236 214 200 / 0.38), rgb(236 214 200 / 0) 70%);
}

/* ---- The opening: title cards on black, then the turn in ink on the
   paper ---- */

.dm-night {
  position: absolute;
  inset: 0;
  z-index: 10;
  /* Like the paper's drifting lights, the spotlight must reach the side
     ground of a height-capped phone cut. The stage clips the whole pane. */
  overflow: visible;
  background: var(--dm-night);
  box-shadow: 0 0 0 5000px var(--dm-night);
  color: var(--paper);
}

/* A faint warm light that comes up behind the second card and spreads as
   the paper comes up. */
.dm-spot {
  position: absolute;
  left: 50%;
  top: 46%;
  width: 2400px;
  height: 1500px;
  margin: -750px 0 0 -1200px;
  background: radial-gradient(closest-side, rgb(255 236 214 / 0.14), rgb(255 236 214 / 0) 78%);
}

.dm-poster {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-bottom: 40px;
  font-family: var(--font-heading);
  font-size: 164px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.038em;
  text-align: center;
}

.dm-poster.is-small {
  font-size: 136px;
}

.dm-ln {
  display: block;
  white-space: nowrap;
}

/* The close fades to the same night, under the wordmark. */
.dm-dusk {
  position: absolute;
  inset: 0;
  z-index: 11;
  background: var(--dm-night);
  box-shadow: 0 0 0 5000px var(--dm-night);
}

.dm-wm {
  position: absolute;
  z-index: 12;
  left: 50%;
  top: 50%;
  width: 820px;
  height: auto;
}

/* ---- The caption block: a headline and one line ---- */

.dm-block {
  position: absolute;
  left: 128px;
  top: 50%;
  width: 640px;
  transform: translateY(-50%);
}

.dm-headline {
  font-family: var(--font-heading);
  font-size: 104px;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: -0.035em;
}

.dm-line {
  margin-top: 30px;
  font-size: 35px;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--dm-line);
  text-wrap: balance;
}

/* Progress: one dash per product scene, over the canvas beside the pause.
   Each dash is also a button that plays from its scene; the padding makes
   its target at least 24px on any screen that shows the wide canvas. */
.dm-dashes {
  position: absolute;
  left: 121px;
  bottom: 57px;
  display: flex;
}

.dm-seek {
  display: block;
  margin: 0;
  padding: 35px 7px;
  border: 0;
  border-radius: 14px;
  background: none;
  font: inherit;
  color: inherit;
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}

.dm-dashes.is-live .dm-seek {
  cursor: pointer;
}

.dm-dash {
  position: relative;
  display: block;
  width: 72px;
  height: 6px;
  overflow: hidden;
  border-radius: 3px;
  background: rgb(26 23 18 / 0.1);
}

.dm-dash i {
  position: absolute;
  inset: 0;
  border-radius: 3px;
  background: var(--ink);
  transform-origin: 0 50%;
}

.dm-dashes.is-live .dm-seek:hover .dm-dash {
  background: rgb(26 23 18 / 0.22);
}

/* Outlines are drawn in canvas pixels, so they scale back up to 2px. */
.dm-seek:focus-visible {
  outline: calc(2px * var(--dm-inv, 1)) solid var(--ink);
  outline-offset: calc(1px * var(--dm-inv, 1));
}

/* A dash with keyboard focus keeps the row in view while the film would
   otherwise hide it. */
.dm-dashes:focus-within {
  visibility: visible !important;
  opacity: 1 !important;
}

/* Over the film's black opening and close, the dashes turn light. */
.dm-dashes.is-night .dm-dash {
  background: rgb(251 249 244 / 0.2);
}

.dm-dashes.is-night.is-live .dm-seek:hover .dm-dash {
  background: rgb(251 249 244 / 0.34);
}

.dm-dashes.is-night .dm-dash i {
  background: var(--paper);
}

.dm-dashes.is-night .dm-seek:focus-visible {
  outline-color: var(--paper);
}

/* ---- The card: the question, then the synthesis, then the outcome ---- */

/* script.js sets its height as each part arrives, so the rest stays
   clipped, and scales it from its top edge to fit the frame. */
.dm-card {
  position: absolute;
  left: 812px;
  top: 262px;
  width: 980px;
  box-sizing: border-box;
  overflow: hidden;
  padding: 58px 66px 60px;
  border-radius: 34px;
  background: #fff;
  box-shadow: var(--dm-lift);
  transform-origin: 50% 0;
}

.dm-eyebrow {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 28px;
  font-weight: 500;
  color: #8a8a8f;
}

.dm-eyebrow svg {
  width: 31px;
  height: 31px;
  color: #a1a1a6;
}

.dm-card-title {
  position: relative;
  margin-top: 18px;
  font-size: 76px;
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.032em;
  color: var(--dm-ink);
}

.dm-l {
  display: block;
  white-space: nowrap;
}

.dm-caret {
  position: absolute;
  left: 0;
  top: 0;
  width: 5px;
  border-radius: 3px;
  background: var(--dm-ink);
}

/* The count and its rule join the card under the question as the first
   interview lands. */
.dm-head {
  padding-top: 40px;
}

.dm-rule {
  height: 1px;
  margin-bottom: 36px;
  background: #ececef;
  transform-origin: 0 50%;
}

/* The synthesis, once the card carries it. */
.dm-card .dm-doc-summary {
  margin-top: 34px;
}

.dm-cursor {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: 64px;
  height: 64px;
  transform-origin: 13.3px 6.7px;
}

.dm-cursor svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dm-ripple {
  position: absolute;
  z-index: 4;
  left: 0;
  top: 0;
  width: 84px;
  height: 84px;
  margin: -42px 0 0 -42px;
  border-radius: 50%;
  background: rgb(29 29 31 / 0.16);
}

/* ---- Arterium's windows, in the product's own look ---- */

.dm-win {
  position: absolute;
  overflow: hidden;
  border-radius: 30px;
  background: #fff;
  box-shadow: var(--dm-lift);
  transform-origin: 50% 0;
}

.dm-w1,
.dm-w2,
.dm-other {
  left: 872px;
  top: 238px;
  width: 920px;
}

/* Everyone else's interview, going under the card: the same window,
   already answered, with a lighter shadow at its small size. */
.dm-other {
  box-shadow: 0 0 0 1px rgb(26 23 18 / 0.06), 0 10px 30px rgb(26 23 18 / 0.1);
}

.dm-other .dm-avatar {
  opacity: 1;
}

.dm-other .dm-dots {
  display: none;
}

.dm-chrome {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  height: 72px;
  padding: 0 30px;
  border-bottom: 1px solid var(--dm-hairline);
}

.dm-chrome i {
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: #e3e3e6;
}

.dm-tab {
  position: absolute;
  left: 50%;
  top: 50%;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 22px;
  border-radius: 10px;
  background: var(--dm-tint);
  color: #86868b;
  font-size: 24px;
  font-weight: 500;
  white-space: nowrap;
  transform: translate(-50%, -50%);
}

.dm-tab svg {
  width: 20px;
  height: 20px;
}

.dm-talk {
  padding: 52px 64px 60px;
}

/* Arterium's turn: its mark, and its words beside it. */
.dm-ask {
  position: relative;
  margin-top: 44px;
  padding-left: 74px;
  font-size: 42px;
  line-height: 1.3;
  letter-spacing: -0.012em;
  color: var(--dm-ink);
}

.dm-ask:first-child {
  margin-top: 0;
}

/* The favicon's mark, so Arterium's questions never read as a person's. */
.dm-avatar {
  position: absolute;
  left: 0;
  top: 1px;
  width: 52px;
  height: 52px;
  color: var(--dm-ink);
  opacity: 0;
}

.dm-avatar svg {
  display: block;
  width: 100%;
  height: 100%;
}

.dm-words {
  display: block;
}

/* Arterium thinking: three dots beside its mark, where its question will
   be. */
.dm-dots {
  position: absolute;
  left: 76px;
  top: 0.65em;
  display: flex;
  gap: 9px;
  transform: translateY(-50%);
}

.dm-dots b {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #b8b8bd;
}

.dm-answer {
  position: relative;
  width: fit-content;
  max-width: 680px;
  margin: 26px 0 0 auto;
  padding: 22px 34px;
  border-radius: 38px;
  background: var(--dm-bubble);
  font-size: 46px;
  line-height: 1.26;
  letter-spacing: -0.015em;
  color: var(--dm-ink);
  transform-origin: 100% 100%;
}

/* The words the follow-up picks up. */
.dm-pick {
  background-image: linear-gradient(rgb(26 23 18 / 0.1), rgb(26 23 18 / 0.1));
  background-repeat: no-repeat;
  background-size: 0% 100%;
  border-radius: 8px;
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}

/* The red flag, beside the warning and beside the open question. */
.dm-mark,
.dm-bar {
  position: absolute;
  width: 9px;
  border-radius: 5px;
  background: var(--dm-accent);
  transform: scaleY(0);
}

.dm-mark {
  left: -34px;
  top: 14px;
  bottom: 14px;
}

.dm-haze {
  position: absolute;
  inset: 0;
  background: var(--paper);
  opacity: 0;
  pointer-events: none;
}

/* The synthesis, as the card carries it. */
.dm-doc-count {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 28px;
  line-height: 1.4;
  color: var(--dm-secondary);
}

.dm-doc-count svg {
  width: 30px;
  height: 30px;
  color: #a1a1a6;
}

.dm-doc-count > span {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25em;
}

/* Reserve two digits, but let the numeral share the sentence's baseline. */
.dm-tally {
  display: inline-block;
  width: 2ch;
  flex: none;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.dm-doc-summary {
  margin-top: 18px;
  font-size: 30px;
  line-height: 1.5;
  color: var(--dm-secondary);
  text-wrap: balance;
}

.dm-sec-head {
  margin-top: 38px;
  font-size: 34px;
  font-weight: 500;
  letter-spacing: -0.012em;
  color: var(--dm-secondary);
}

.dm-sec-head span {
  color: var(--dm-faint);
  font-weight: 500;
}

.dm-assertion {
  position: relative;
  margin: 12px 0 0;
  padding: 20px 28px 22px;
  border-radius: 20px;
}

.dm-a-title {
  font-size: 42px;
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.016em;
  color: var(--dm-ink);
  text-wrap: balance;
}

.dm-a-desc {
  margin-top: 8px;
  font-size: 31px;
  line-height: 1.45;
  color: var(--dm-secondary);
}

.dm-bar {
  left: 4px;
  top: 24px;
  bottom: 24px;
}

/* The phone cut: a 1080x1350 canvas, every caption at the top and its
   object in the space beneath. */

.is-portrait .dm-glow-1 {
  width: 1800px;
  height: 1400px;
  margin: -700px 0 0 -900px;
}

.is-portrait .dm-glow-2 {
  width: 2000px;
  height: 1600px;
  margin: -800px 0 0 -1000px;
}

.is-portrait .dm-glow-3 {
  width: 1500px;
  height: 1200px;
  margin: -600px 0 0 -750px;
}

.is-portrait .dm-spot {
  top: 47%;
  width: 1800px;
  height: 1500px;
  margin: -750px 0 0 -900px;
}

.is-portrait .dm-poster {
  padding: 0 64px 30px;
  font-size: 132px;
}

.is-portrait .dm-poster.is-small {
  font-size: 112px;
}

.is-portrait .dm-wm {
  width: 680px;
}

.is-portrait .dm-block {
  left: 64px;
  top: 72px;
  width: 952px;
  transform: none;
}

.is-portrait .dm-headline {
  font-size: 92px;
}

.is-portrait .dm-line {
  margin-top: 22px;
  font-size: 40px;
}

/* A phone shows the canvas at about a quarter to a third of its size, so
   the dashes are drawn larger, like the pause, and each target stays at
   least 24px square. */
.is-portrait .dm-dashes {
  left: 56px;
  bottom: 28px;
}

.is-portrait .dm-seek {
  padding: 48px 8px;
}

.is-portrait .dm-dash {
  width: 88px;
  height: 8px;
  border-radius: 4px;
}

.is-portrait .dm-dash i {
  border-radius: 4px;
}

/* The question sits in the middle of the space beneath its caption. */
.is-portrait .dm-card {
  left: 64px;
  top: 598px;
  width: 952px;
  padding: 52px 56px 56px;
}

.is-portrait .dm-w1,
.is-portrait .dm-w2,
.is-portrait .dm-other {
  left: 64px;
  top: 560px;
  width: 952px;
}

/* A phone shows the canvas at about a third of its size, so the pause is
   drawn larger to stay an easy target. */
.is-portrait .dm-pause {
  right: 36px;
  bottom: 36px;
  width: 96px;
  height: 96px;
}

.is-portrait .dm-pause svg {
  width: 38px;
  height: 38px;
}

/* The pause (WCAG 2.2.2), the demo's one control. */
.dm-pause {
  position: absolute;
  right: 28px;
  bottom: 28px;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: none;
  color: var(--ink-muted);
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.dm-pause[hidden] {
  display: none;
}

.dm-pause svg {
  width: 26px;
  height: 26px;
  fill: currentColor;
}

.dm-pause:hover {
  background: rgb(26 23 18 / 0.06);
  color: var(--ink);
}

/* Outlines are drawn in canvas pixels, so they scale back up to 2px. */
.dm-pause:focus-visible {
  outline: calc(2px * var(--dm-inv, 1)) solid var(--ink);
  outline-offset: calc(1px * var(--dm-inv, 1));
}

/* Over the film's black opening and close, the pause turns light. */
.dm-pause.is-night {
  color: rgb(251 249 244 / 0.72);
}

.dm-pause.is-night:hover {
  background: rgb(251 249 244 / 0.12);
  color: var(--paper);
}

.dm-pause.is-night:focus-visible {
  outline-color: var(--paper);
}

/* Render mode (?render=landscape): the stage alone fills the window, for
   scripts/render_demo.swift to capture frame by frame. */
.demo-render,
.demo-render body {
  overflow: hidden;
}

.demo-render .demo {
  border-radius: 0;
  box-shadow: none;
}

/* Nothing else on the page paints, and the stage always fills the window. */
.demo-render body > :not(main),
.demo-render main > :not(.artifact-wrap) {
  display: none;
}

.demo-render .demo-stage {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 1000;
  width: 100vw;
  height: 100vh !important;
}

.demo-render .dm-pause {
  display: none;
}

/* The problem — the one emotive section, centered like the hero. */

.problem {
  text-align: center;
}

/* The problem's heading runs larger than every other h2 on purpose —
   it is the page's one emotive statement and gets special treatment. */
.problem h2 {
  font-size: clamp(2.2rem, 4.2vw, 2.9rem);
  max-width: 44rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0.6em;
  text-wrap: balance;
}

/* :not(.kicker) so the kicker keeps its standard 1rem gap — a bare
   `.problem p` outranks `.kicker` and was collapsing it to zero. The
   child combinator keeps the bill's own text out of this rule's reach. */
.problem > p:not(.kicker) {
  color: var(--ink-body);
  font-size: 0.95rem;
  max-width: 34rem;
  margin: 0 auto;
  text-wrap: pretty;
}

/* The bill — the problem, priced. One typographic row of three figures
   (bare type over hairlines, never boxes or icons), numerals in the
   display face per the tabular rule, sources visible on the page. All
   three arrive whole with the reveal — no counters; a lone moving number
   in a still row reads as a glitch, not a design. */
.bill {
  margin: 4.5rem auto 0;
}

.bill-row {
  display: flex;
  flex-direction: column;
  gap: 2.6rem;
  justify-content: center;
}

.bill-item {
  flex: 1 1 0;
  padding: 0 1rem;
}

/* Figures in the sans, a notch above sub-heading scale: the figures are
   the block's payload (the captions only footnote them), so they carry
   enough mass to stop a skimming eye — while staying below the italic
   pivot, which remains the block's loudest voice. */
.bill-figure {
  font-size: 1.6rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  line-height: 1.1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin: 0 0 0.35rem;
}

.bill-caption {
  color: var(--ink-body);
  font-size: 0.9rem;
  max-width: 24rem;
  margin: 0 auto;
  text-wrap: pretty;
}

.bill-source {
  color: var(--ink-muted);
  font-size: 0.72rem;
  margin: 0.55rem 0 0;
}

/* The turn of the page: italic display, larger than the captions it
   answers for — the mechanism's heading picks up the word it plants. */
.bill-pivot {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: clamp(1.5rem, 2.6vw, 1.9rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 3.4rem 0 0;
  text-wrap: balance;
}

/* No hairlines here: rules are furniture for the product-showing sections
   (the workflow's verticals, the trust's top-rules). The bill sits in the
   page-speaking problem section, so whitespace alone holds the columns. */
@media (min-width: 760px) {
  .bill-row {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }

  .bill-item {
    padding: 0 2.2rem;
  }
}

/* The mechanism — heading block left, the interview-to-synthesis stack
   right (mirrors the memory section). Candor in, synthesis out, nobody's
   words ever displayed. */

.mechanism {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .mechanism {
    grid-template-columns: minmax(0, 27rem) minmax(0, 1fr);
    gap: 4.5rem;
    align-items: center;
  }

}

/* The split-section head blocks are one style, shared, so they can never
   drift apart (mechanism, memory). */
.mechanism-head h2,
.memory-head h2 {
  text-wrap: balance;
}

.mechanism-head p:not(.kicker),
.memory-head p:not(.kicker) {
  color: var(--ink-body);
  font-size: 0.95rem;
  max-width: 26rem;
  margin: 0;
  text-wrap: pretty;
}

/* One dark window; the interview and the synthesis share its single grid
   cell, so the window keeps one steady, compact height while its contents
   trade places. The synthesis never appears before the interview ends. */

/* The window is portrait on purpose: a private interview is a phone-shaped
   conversation. The shape gives the artifact its vertical presence — no
   stretched sections, no filler. */
.mech-window {
  display: grid;
  width: 100%;
  max-width: 24rem;
  min-height: 31rem;
  justify-self: center;
  background: var(--win-panel);
  border: 1px solid var(--win-line);
  border-radius: var(--radius);
  box-shadow:
    0 1px 2px rgb(26 23 18 / 0.08),
    0 28px 60px -24px rgb(26 23 18 / 0.38);
  padding: 1.6rem 1.7rem;
  font-size: 0.95rem;
  color: var(--win-body);
}

.mech-phase,
.mech-flip {
  grid-area: 1 / 1;
}

.mech-phase {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 650ms ease, transform 650ms ease;
}

.mech-phase.on {
  opacity: 1;
  transform: none;
}

.mech-flip {
  align-self: center;
  justify-self: center;
  text-align: center;
  max-width: 14rem;
  color: var(--win-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.8;
  opacity: 0;
  transition: opacity 650ms ease;
  pointer-events: none;
}

.mech-flip.on {
  opacity: 1;
}

.mech-window:not(.mech-static) > #mech-pre {
  transform: translateY(12px);
  transition: opacity 450ms ease-out, transform 450ms ease-out;
}

.mech-window:not(.mech-static) > #mech-pre.on {
  transform: none;
}

/* The synthesis assembles line by line once its phase turns on. */

.mech-phase-assertion > * {
  opacity: 0;
  transform: translateY(6px);
  filter: blur(0);
  transition: opacity 500ms ease, transform 500ms ease, filter 900ms ease;
}

.mech-phase-assertion.on > * {
  opacity: 1;
  transform: none;
}

/* The whole synthesis (children 1-7, agreed and disputed alike) softens
   under a late blur as the closing note arrives — attention hands over
   to the note. The triple delays map to opacity, transform, filter in
   the base transition. */
.mech-phase-assertion.on > *:nth-child(1) {
  transition-delay: 0ms, 0ms, 3400ms;
  filter: blur(3px);
}

.mech-phase-assertion.on > *:nth-child(2) {
  transition-delay: 120ms, 120ms, 3400ms;
  filter: blur(3px);
}

.mech-phase-assertion.on > *:nth-child(3) {
  transition-delay: 240ms, 240ms, 3400ms;
  filter: blur(3px);
}

.mech-phase-assertion.on > *:nth-child(4) {
  transition-delay: 380ms, 380ms, 3400ms;
  filter: blur(3px);
}

.mech-phase-assertion.on > *:nth-child(5) {
  transition-delay: 540ms, 540ms, 3400ms;
  filter: blur(3px);
}

.mech-phase-assertion.on > *:nth-child(6) {
  transition-delay: 720ms, 720ms, 3400ms;
  filter: blur(3px);
}

.mech-phase-assertion.on > *:nth-child(7) {
  transition-delay: 840ms, 840ms, 3400ms;
  filter: blur(3px);
}

/* The second label opens a new block of the mini-brief. */
.mech-phase-assertion .mech-label:not(:first-child) {
  margin-top: 1.4rem;
}

/* The closing note — the scene-transition voice, resting at the window's
   foot, arriving on a long delay after the synthesis has assembled. */
.mech-phase-assertion {
  display: flex;
  flex-direction: column;
  /* Give the composited phase the panel's full bounds. WebKit can crop
     its children's blur at this layer's edge; the transparent padding
     lets the blur feather beyond the text without moving the text. */
  margin: -1.6rem -1.7rem;
  padding: 1.6rem 1.7rem;
}

.mech-note {
  margin: auto 0 0;
  padding-top: 0.4rem;
  align-self: center;
  text-align: center;
  max-width: 15rem;
  color: var(--win-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  line-height: 1.8;
}

.mech-phase-assertion.on > *:nth-child(8) {
  transition-delay: 3400ms;
}

/* Reduced motion (and the no-JS fallback state): both phases in normal
   flow, complete, with the flip line as a quiet divider between them. */

.mech-window.mech-static .mech-phase,
.mech-window.mech-static .mech-flip {
  grid-area: auto;
  opacity: 1;
  transform: none;
}

.mech-window.mech-static .mech-flip {
  margin: 1.5rem auto;
}

.mech-window.mech-static .mech-flip:first-child {
  margin-top: 0; /* the preamble line opens the static stack */
}

.mech-window.mech-static .mech-line,
.mech-window.mech-static .mech-phase-assertion > * {
  opacity: 1;
  transform: none;
}

.mech-phase .mech-line:first-child {
  margin-top: 0;
}

.mech-line {
  margin-top: 0.85rem;
  line-height: 1.5;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 600ms ease, transform 600ms ease;
}

.mech-line.on {
  opacity: 1;
  transform: none;
}

/* No per-message labels (the pill retired in Draft 26): the preamble names
   the interviewer, and the geometry carries the rest — plain muted
   questions on the left, the person's bubbles on the right. */
.mech-bot {
  color: var(--win-muted);
  margin-right: 2.75rem;
}

.mech-person {
  background: var(--win-panel-2);
  border: 1px solid var(--win-line);
  border-radius: 10px;
  padding: 0.65rem 0.85rem;
  color: var(--win-text);
  margin-left: 2.75rem;
}

.mech-label {
  color: var(--win-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  margin: 0 0 0.35rem;
}

.mech-title {
  font-size: 1.1rem;
  font-weight: 600;
  line-height: 1.25; /* it's a p (simulated product output, not page structure) — keep the old h3 leading */
  color: var(--win-text);
  margin: 0 0 0.6rem;
}

.mech-body {
  margin: 0 0 0.8rem;
}

.mech-settle {
  color: var(--win-text);
  border-left: 2px solid var(--win-accent);
  padding-left: 0.8rem;
  margin: 0 0 0.9rem;
}

/* Each filtered paragraph needs its own transparent gutter: widening
   only the phase does not expand WebKit's per-element filter surface.
   Equal negative margins preserve the text position and line wrapping. */
.mech-phase-assertion > :not(.mech-note) {
  margin-inline: -1rem;
  padding-inline: 1rem;
}

/* Keep the settle rule at the original text edge, inside the expanded
   filter surface, so its blur can feather to the left as well. */
.mech-phase-assertion > .mech-settle {
  position: relative;
  border-left: 0;
  padding-left: calc(1rem + 2px + 0.8rem);
}

.mech-phase-assertion > .mech-settle::before {
  content: "";
  position: absolute;
  inset-block: 0;
  left: 1rem;
  width: 2px;
  background: var(--win-accent);
}

/* How it works — four steps, just type. */

.how h2 {
  max-width: 26rem;
  text-wrap: balance;
  margin-bottom: 1.6em;
}

.how-steps {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.2rem;
  margin: 0;
  padding: 0;
}

@media (min-width: 760px) {
  .how-steps {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
  }

  /* Faint rules between the stages, centered in the gaps — the sequence
     reads as one line with four stations. */
  .how-steps li + li {
    border-left: 1px solid var(--hairline);
    margin-left: -1.25rem;
    padding-left: 1.25rem;
  }
}

.step-n {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.how-steps h3 {
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 0.3rem;
}

.how-steps p {
  color: var(--ink-body);
  font-size: 0.9rem;
  margin: 0;
  max-width: 21rem;
  text-wrap: pretty;
}

/* The door to the worked example: one faint line over a ghost pill,
   centered under the four stations. Ghost, not filled — the apply CTA
   stays the page's only solid button. */
.how .how-cta {
  margin: 3.2rem 0 0;
  text-align: center;
}

.how .how-cta-note {
  font-size: 0.9rem;
  color: var(--ink-muted);
  margin: 0 0 1rem;
}

/* The memory — heading block left, the /ask window right. */

.memory {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .memory {
    grid-template-columns: minmax(0, 27rem) minmax(0, 1fr);
    gap: 4.5rem;
    align-items: center;
  }
}

.ask-mock {
  background: var(--win-panel);
  border: 1px solid var(--win-line);
  border-radius: var(--radius);
  box-shadow:
    0 1px 2px rgb(26 23 18 / 0.08),
    0 28px 60px -24px rgb(26 23 18 / 0.38);
  padding: 28px;
}

@media (max-width: 420px) {
  .ask-mock {
    padding: 20px 16px 24px;
  }
}

.ask-stage {
  transition: opacity 1.2s ease;
}

.ask-stage.ask-no-anim,
.ask-stage.ask-no-anim * {
  transition: none !important;
  animation: none !important;
}

.ask-exchange + .ask-exchange {
  margin-top: 32px;
}

.ask-off {
  visibility: hidden;
}

.ask-hidden {
  display: none;
}

.ask-prompt {
  position: relative;
  font-size: 15px;
  line-height: 1.5;
  color: var(--win-text);
  padding: 10px 14px;
  border: 1px solid var(--win-line);
  border-radius: 8px;
  background: rgb(255 255 255 / 0.02);
  word-break: break-word;
}

.ask-ghost {
  visibility: hidden;
}

.ask-typed {
  position: absolute;
  top: 10px;
  left: 14px;
  right: 14px;
}

.ask-cmd {
  color: var(--win-accent);
  font-weight: 600;
}

.ask-caret {
  display: inline-block;
  width: 7px;
  height: 1em;
  margin-left: 1px;
  background: var(--win-muted);
  vertical-align: -0.15em;
  animation: ask-blink 1.1s steps(1) infinite;
}

.ask-caret.ask-hidden {
  display: none;
}

@keyframes ask-blink {
  50% {
    opacity: 0;
  }
}

.ask-layers {
  margin-top: 20px;
}

.ask-layer {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.ask-layer.on {
  opacity: 1;
  transform: none;
}

.ask-layer + .ask-layer {
  margin-top: 18px;
}

.ask-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--win-muted);
  margin-bottom: 6px;
}

.ask-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--win-body);
}

.ask-miss {
  margin-top: 24px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--win-body);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.ask-miss.on {
  opacity: 1;
  transform: none;
}

/* The three promises — hairline rules, no boxes. */

.promises h2 {
  margin-bottom: 1.6em;
}

.promise-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 760px) {
  .promise-cards {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.6rem;
  }
}

.promise {
  border-top: 1px solid var(--hairline-strong);
  padding-top: 1.3rem;
}

.promise h3 {
  font-size: 1.12rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  margin-bottom: 0.35rem;
}

.promise p {
  color: var(--ink-body);
  font-size: 0.9rem;
  margin: 0;
  text-wrap: pretty;
}

/* The close and the application — copy left, the form right. */

.close {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 900px) {
  .close {
    grid-template-columns: minmax(0, 1fr) minmax(0, 26rem);
    gap: 5rem;
    align-items: center;
  }
}

.close h2 {
  max-width: 30rem;
  text-wrap: balance;
}

.close-lead,
.close-sub {
  color: var(--ink-body);
  font-size: 0.95rem;
  max-width: 30rem;
  margin: 0 0 1em;
  text-wrap: pretty;
}

.close-sub {
  margin-bottom: 0;
}

/* The application card: page-paper fill, the nav capsule's hairline on
   every stroke (card and inputs alike), ink/muted-ink text matching the
   nav, and the same shadow the artifact windows cast. */
.apply-form {
  background: var(--paper);
  border: 1px solid var(--hairline);
  border-radius: 24px;
  padding: 1.8rem 1.8rem 1.5rem;
  box-shadow:
    0 1px 2px rgb(26 23 18 / 0.08),
    0 28px 60px -24px rgb(26 23 18 / 0.38);
}

.field {
  margin-bottom: 1.1rem;
}

.field label {
  display: block;
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-bottom: 0.35rem;
  padding-left: 1.15rem;
}

.field input,
.field select {
  width: 100%;
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: 999px;
  color: var(--ink);
  font: inherit;
  padding: 0.6rem 1.15rem;
}

/* The unanswered select shows its placeholder in secondary ink. */
.field select:invalid {
  color: var(--ink-muted);
}

.field select option {
  color: var(--ink);
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%23837b6d' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1.1rem center;
  padding-right: 2.6rem;
}

/* The trap field for form-filling scripts: off the page, out of the tab
   order (index.html), never shown. */
.field-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-actions {
  text-align: center;
  margin: 1.4rem 0 0.9rem;
}

.form-actions .button {
  width: 100%;
}

.form-note {
  text-align: center;
  font-size: 0.9rem;
  color: var(--ink-muted);
  min-height: 1.4em;
  margin-bottom: 0.6rem;
}

.form-fallback {
  text-align: center;
  font-size: 0.82rem;
  margin: 0;
}

.form-fallback a {
  color: var(--ink-muted);
}

.form-fallback a:hover {
  color: var(--ink);
}

/* The manifesto essay (why.html) — one readable column in the site chrome. */

.essay {
  max-width: 42rem;
  padding-top: 5.5rem;
}

.essay h1 {
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  margin-bottom: 0.6em;
  text-wrap: balance;
}

.essay h2 {
  font-size: 1.35rem;
  margin: 2.4em 0 0.5em;
}

.essay p:not(.kicker) {
  color: var(--ink-body);
  font-size: 1rem;
  line-height: 1.7;
  text-wrap: pretty;
}

.essay-lead {
  font-size: 1.15rem;
}

.essay .essay-cta {
  margin-top: 2.8rem;
}

/* The worked example (blockbuster.html) — document furniture for the
   sample brief. Type-only where possible; the one box is the Directions
   quarantine, which is the artifact's own grammar, not decoration. */

.essay ul {
  margin: 0 0 1.1rem;
  padding-left: 1.25rem;
  color: var(--ink-body);
}

.essay li {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 0.55rem;
  text-wrap: pretty;
}

.essay p.brief-meta {
  font-size: 0.85rem;
  color: var(--ink-muted);
  margin-top: -0.2rem;
  margin-bottom: 1.4rem;
}

.essay .brief-questions {
  border-left: 2px solid var(--hairline-strong);
  padding-left: 1.25rem;
  margin: 0 0 1.4rem;
}

.essay .brief-questions p {
  margin-bottom: 0.6rem;
}

.essay .brief-questions ol {
  margin: 0;
  padding-left: 1.4rem;
}

.essay .brief-questions ol li {
  margin-bottom: 0.6rem;
}

/* The machine's quarantine: the one bordered vessel on the page, with an
   italic Arterium byline at full ink strength. No tint — the site's paper
   side stays untinted by standing rule (founder, 2026-08-30). */
.essay .brief-box {
  border: 1px solid var(--hairline-strong);
  border-radius: 10px;
  padding: 1.25rem 1.5rem 0.7rem;
  margin: 0 0 1.4rem;
}

.essay .brief-box p {
  margin-bottom: 0.7rem;
}

.essay p.brief-warning {
  font-style: italic;
  font-size: 0.9rem;
  color: var(--ink-body);
}

.essay p.brief-sources {
  font-size: 0.9rem;
  color: var(--ink-muted);
}

.essay .brief-sources a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Citation apparatus: numbered superscripts for the real, one quiet
   plus for the invented. Both stay out of the reading line's way. */
sup.cite {
  font-size: 0.68em;
  line-height: 0;
  letter-spacing: 0.02em;
}

sup.cite a {
  color: var(--ink-muted);
  text-decoration: none;
}

sup.cite a:hover {
  color: var(--ink);
}

sup.cite.mark {
  color: var(--ink-muted);
}

.essay .brief-notes {
  padding-left: 1.2rem;
  margin: 0;
}

.essay .brief-notes li {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-muted);
  margin-bottom: 0.5rem;
}

.essay .brief-notes a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Footer — one quiet line inside the same footprint as the header,
   sitting close to the bottom edge. No rule above it. */

.footer {
  margin-top: 8rem;
}

.footer-inner {
  max-width: var(--measure);
  margin: 0 auto;
  padding: 1.5rem 1.5rem 1.9rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.78rem;
  color: var(--ink-muted);
}

.footer-inner p {
  margin: 0;
}

.footer-links {
  display: flex;
  gap: 1.4rem;
}

.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--ink);
}

/* Scroll reveals: script.js tags section content with .reveal and flips it
   to .in as it enters the viewport. Quiet fade-ups, nothing else. The class
   is only ever added by JS, so without JS nothing is hidden. */

@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 650ms ease, transform 650ms ease;
  }

  .reveal.in {
    opacity: 1;
    transform: none;
  }
}

/* Reduced motion: final static states, no reveals. */

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

  .mech-line,
  .mech-phase,
  .mech-flip,
  .mech-phase-assertion > *,
  .ask-layer,
  .ask-miss,
  .ask-stage,
  .button {
    transition: none;
  }

  .ask-caret {
    animation: none;
    display: none;
  }
}
