:root {
  color-scheme: light;
  --ink: #181819;
  --muted: #626165;
  --red: #d71920;
  --line: #d9d8d9;
  --ease: cubic-bezier(.22, 1, .36, 1);
  font-family: -apple-system, BlinkMacSystemFont, Inter, "Helvetica Neue", sans-serif;
  -webkit-font-smoothing: antialiased;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  color: var(--ink);
  background: white;
}
a { color: inherit; text-decoration: none; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 5px; }
.skip { position: fixed; top: -80px; left: 20px; z-index: 3; padding: 10px; background: white; }
.skip:focus { top: 14px; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
html:not(.ready) .chapter:not(:target), html:not(.ready) .scene:has(.chapter:target) .home { display: none; }
.masthead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 81px;
  margin-inline: clamp(22px, 5.4vw, 92px);
}
.brand, .contact { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { display: block; width: clamp(146px, 15vw, 177px); height: auto; }
.masthead-actions { display: flex; align-items: center; gap: clamp(5px, 1vw, 14px); }
.sound-toggle {
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}
.sound-toggle:hover, .sound-toggle[aria-pressed="true"] { color: var(--ink); }
.sound-toggle svg { fill: none; stroke: currentColor; stroke-width: 1; stroke-linecap: round; stroke-linejoin: round; }
.sound-toggle .sound-on, .sound-toggle[aria-pressed="true"] .sound-off { display: none; }
.sound-toggle[aria-pressed="true"] .sound-on { display: inline; }
.contact { gap: 7px; font-size: 13px; }
.contact span, .destinations span { font-size: .85em; color: var(--muted); }
.contact:hover, .destinations a:hover { text-decoration: underline var(--red); text-underline-offset: 4px; }

main {
  display: grid;
  align-items: center;
  padding: 12px 23px clamp(54px, 11svh, 130px);
  min-width: 0;
}
.stage {
  position: relative;
  isolation: isolate;
  display: grid;
  width: min(100%, 1016px);
  margin-inline: auto;
  padding: 32px clamp(27px, 6.7vw, 88px) 19px;
}
.art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.frame { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.art path { fill: none; stroke-linecap: square; stroke-linejoin: round; }
.frame-line, .route-line, .figure-red { stroke: var(--red); stroke-width: 1.28; opacity: 0; }
.figure-ink { stroke: #88878a; stroke-width: 1; }
.figure-muted { stroke: #bdbcbf; stroke-width: .9; }
.figure-flow { stroke: #6e6d70; stroke-width: 1.05; }
.figure {
  position: absolute;
  right: clamp(28px, 6.8vw, 89px);
  top: 50%;
  width: min(32%, 245px);
  transform: translateY(-68%);
  overflow: visible;
}
.scene { display: grid; align-items: center; min-width: 0; min-height: 250px; padding-right: min(34%, 238px); }
.home, .chapter { min-width: 0; }
body[data-view="home"] .scene, html:not(.ready) .scene:not(:has(.chapter:target)) { min-height: 0; padding: 0; }
body[data-view="home"] .art .figure, html:not(.ready) .stage:not(:has(.chapter:target)) .art .figure { display: none; }
body[data-view="home"] .voice-dock, html:not(.ready) .stage:not(:has(.chapter:target)) .voice-dock { margin-top: clamp(28px, 6svh, 56px); }
h1, h2, .paper h3, .headline-sizer > span {
  margin: 0;
  font-weight: 560;
  letter-spacing: -.063em;
  text-wrap: balance;
}
h1, .headline-sizer > span { font-size: clamp(41px, 5.5vw, 74px); line-height: 1.02; text-wrap: pretty; font-weight: 500; letter-spacing: -.05em; word-spacing: .025em; }
h1 { position: relative; }
.typing-caret { position: absolute; width: 1px; height: .85em; background: var(--red); pointer-events: none; }
h2 { font-size: clamp(33px, 4.55vw, 52px); line-height: 1.01; }
h1:focus, h2:focus { outline: none; }
.destinations { list-style: none; padding: 0; margin: 20px 0 0; }
.destinations a { display: inline-flex; align-items: baseline; gap: 10px; min-height: 30px; padding-block: 6px; font-size: 13px; line-height: 1.3; }
.destinations .destination-note { font-size: 11px; }

body[data-view="compose"] .scene, html:not(.ready) .scene:has(.compose:target) { padding-right: 0; }
body[data-view="compose"] .art .figure, html:not(.ready) .stage:has(.compose:target) .art .figure { display: none; }
.problem-options {
  display: flex;
  flex-wrap: wrap;
  gap: 4px clamp(12px, 3.3vw, 34px);
  min-inline-size: 0;
  margin: 4px 0 5px;
  padding: 0;
  border: 0;
}
.compose button {
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.compose .problem-options button {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: white;
  color: var(--muted);
  font-size: clamp(13px, 2.1vw, 17px);
}
.compose .problem-options button:is([aria-pressed="true"], :hover, :focus-visible) { color: var(--ink); text-decoration: underline var(--red); text-underline-offset: 6px; }
.problem-hint { color: var(--muted); font-size: 13px; line-height: 1.4; margin: 0; min-height: 1.4em; }
.compose-workspace:has(.compose-example:not([hidden])) .problem-hint { display: none; }
.compose-example { padding-block: 12px; }
.compose-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}
.compose .compose-steps button {
  width: 100%;
  min-height: 39px;
  padding: 0 0 0 1px;
  border: 0;
  border-top: 1px solid var(--line);
  background: none;
  color: var(--muted);
  font-size: 12px;
  text-align: left;
}
.compose-steps button[aria-current] { border-color: var(--ink); color: var(--ink); font-weight: 620; }
.compose-steps button:hover { color: var(--ink); }
.compose-detail {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(110px, .7fr);
  align-items: center;
  gap: clamp(14px, 4vw, 38px);
  min-height: 156px;
  padding: 13px 0 12px;
}
.compose-copy h3 { margin: 0; font-size: clamp(21px, 3.2vw, 34px); font-weight: 550; letter-spacing: -.045em; line-height: 1.12; }
.compose-copy p { margin: 8px 0 0; max-width: 40ch; color: var(--muted); font-size: 13px; line-height: 1.48; }
.inline-link { display: inline-block; margin-top: 10px; padding-block: 3px; border-bottom: 1px solid var(--line); font-size: 12px; }
.inline-link::after { content: " ↗" / ""; padding-left: .35em; color: var(--muted); }
.inline-link:hover { border-color: var(--red); }
.compose-figure { display: block; width: 100%; overflow: visible; }
.compose-figure path { fill: none; stroke-linecap: square; stroke-linejoin: round; }
.step-more summary { width: fit-content; padding-block: 10px; font-size: 12px; color: var(--muted); cursor: pointer; }
.step-more summary:hover { color: var(--ink); }
.compose .next-step { min-height: 33px; padding: 4px 0; border: 0; background: none; font-size: 12px; font-weight: 600; }
.next-step:hover { text-decoration: underline; text-decoration-color: var(--red); text-underline-offset: 4px; }
.next-step span { margin-left: 5px; }

.voice-dock { position: relative; z-index: 2; min-height: 44px; margin: 12px 0 16px; }
.voice-dock #cmp {
  --cmp-orb: 44px;
  --cmp-carbon: #fff;
  --cmp-graphite: #f6f5f4;
  --cmp-white: var(--ink);
  --cmp-muted: var(--muted);
  --cmp-red: var(--red);
  --cmp-rule: var(--line);
  --cmp-count: 16px;
  position: relative;
  inset: auto;
  display: flex;
  width: max-content;
  max-width: 100%;
  align-items: center;
  flex-flow: row nowrap;
  gap: 4px;
  font-family: inherit;
  color-scheme: light;
}
.voice-dock .cmp-mark { display: inline-flex; justify-content: center; align-items: center; width: auto; min-width: 44px; padding: 0 10px; gap: 7px; border-radius: 3px; }
.voice-dock .cmp-mark:hover { background: #faf9f8; }
.voice-dock .cmp-mark:focus-visible, .voice-dock .cmp-find:focus-visible { outline-color: var(--red); }
.voice-dock #cmp .cmp-orb { width: 24px; height: 24px; background: none; box-shadow: none; animation: none; }
.voice-dock .cmp-orb svg { display: block; width: 100%; height: 100%; fill: none; stroke: var(--red); stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.voice-dock .voice-label { display: none; font-size: 13px; color: var(--muted); white-space: nowrap; }
.voice-dock .cmp-mark[data-voice-intro] .voice-label { display: block; }
.voice-dock .cmp-mark[data-voice-morph] .voice-label { animation: voice-label-in .32s .56s both; }
@keyframes voice-label-in { from { opacity: 0; transform: translateX(-3px); } to { opacity: 1; transform: none; } }
.voice-dock #cmp[data-mic="on"] .cmp-orb svg { stroke-width: 2; }
.voice-dock .cmp-count { width: 24px; height: 24px; inset: 10px; }
.voice-dock .cmp-mark:has(.cmp-count:not([hidden])) .cmp-orb svg { opacity: .16; }
.voice-dock .cmp-ring circle { stroke: var(--red); }
.voice-dock .cmp-count-n { color: var(--ink); -webkit-text-stroke: 0; font-size: 12px; }
.voice-trace { position: fixed; top: 0; left: 0; z-index: 61; width: 12px; height: 1px; background: var(--red); pointer-events: none; opacity: 0; transition: opacity .18s ease; }
.voice-trace[data-visible] { opacity: .55; }
body.cmp-mic-on .voice-trace[data-visible] { width: 16px; opacity: .85; }
.voice-dock .cmp-find { align-self: center; background: transparent; box-shadow: none; color: var(--muted); border-radius: 3px; }
.voice-dock .cmp-find:hover { color: var(--ink); box-shadow: none; background: #f6f5f4; }
.voice-dock #cmp-mute { display: none; }
.voice-dock #cmp .cmp-body {
  position: absolute;
  left: calc(100% + 12px);
  bottom: -6px;
  width: max-content;
  max-width: min(416px, 42vw);
  margin: 0;
  padding: 10px 13px;
  background: #fff;
  border: 1px solid #e5e2df;
  border-radius: 8px;
  box-shadow: 0 9px 30px #1514130d;
}
.voice-dock :is(.cmp-caption, .cmp-suggest, .cmp-choices, .cmp-btn) { font-size: 14px; line-height: 1.4; }
.voice-dock .answer-source { display: block; margin-top: 7px; padding-block: 3px; pointer-events: auto; font-size: 12px; text-decoration: underline; text-underline-offset: 3px; }
.voice-dock .answer-source:hover { text-decoration-color: var(--red); }
.voice-dock .cmp-suggestion { gap: 10px; }
.voice-dock .cmp-secs { min-width: 24px; height: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.voice-dock .cmp-stops { gap: 3px 9px; }
.voice-dock .cmp-stops .cmp-btn { font-size: 12px; min-height: 26px; }
.voice-dock .cmp-form { flex-direction: column-reverse; }
.voice-dock .cmp-form:focus-within { outline: none; }
.voice-dock .cmp-form input, .voice-dock .cmp-results { width: min(340px, 36vw); }
.voice-dock .cmp-form input { border-color: var(--line); font-size: 15px; }
.voice-dock .cmp-results { max-height: min(34svh, 235px); }
.voice-dock .cmp-results li { font-size: 13px; line-height: 1.35; min-height: 32px; }
.voice-dock .cmp-r-kind { font-size: 11px; }
body > .cmp-line { --dap-carbon: transparent; --dap-warm-white: var(--red); --cmp-veil: .07; --cmp-lit: 0; }
body > .cmp-line .cmp-stroke { stroke-width: 1.25; }
.paper-stack { display: grid; align-items: center; }
.paper { grid-area: 1 / 1; align-self: center; }
.paper:not([data-active]) { visibility: hidden; }
.paper h3 { font-size: clamp(32px, 4.15vw, 49px); line-height: 1.03; }
.paper h3 a { text-decoration-thickness: 1px; text-underline-offset: 5px; }
.paper h3 a:hover { text-decoration-line: underline; }
.paper h3 span { display: inline-block; font-size: .34em; vertical-align: .6em; color: var(--muted); }
.research-nav { display: flex; align-items: center; gap: clamp(9px, 2vw, 23px); margin-top: 16px; }
.research-nav > a { font-size: 12px; white-space: nowrap; color: var(--muted); padding-block: 11px; }
.research-nav > a:hover { text-decoration: underline; text-underline-offset: 4px; color: var(--ink); }
.paper-controls { display: flex; align-items: center; }
.paper-controls button {
  border: 0;
  padding: 0 7px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font: inherit;
  font-size: 14px;
  min-width: 30px;
  min-height: 38px;
}
.paper-controls button:hover { color: var(--ink); background: #f5f5f5; }
.paper-controls .paper-rotation { font-size: 10px; letter-spacing: .06em; font-variant-numeric: tabular-nums; }
.routes { display: flex; align-items: center; gap: clamp(16px, 3.45vw, 44px); min-width: 0; }
.routes a {
  display: inline-flex;
  align-items: center;
  position: relative;
  justify-content: center;
  min-width: 38px;
  min-height: 44px;
  color: var(--muted);
  font-size: 13px;
  white-space: nowrap;
}
.routes a[aria-current], .routes a:hover, .routes a[data-compose-lit] { color: var(--ink); }
.routes a[aria-current]::before {
  content: "";
  position: absolute;
  top: 3px;
  width: 15px;
  height: 1px;
  background: var(--ink);
}
.routes a[data-compose-lit]::before { content: ""; position: absolute; top: 3px; width: 15px; height: 1px; background: var(--red); }

/* The route cue (14 November 2026): a moment of the section's own heading under the route a visitor points at,
   focuses or names. Out of the flow, so nothing moves; it takes no pointer and is read by no screen reader. */
.hub-controls { position: relative; }
.route-cue {
  position: absolute;
  top: 100%;
  left: 0;
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
}

/* The headline's height from first paint: the headline and every rotating line share one cell, the sizer unseen. */
.headline-box { display: grid; }
.headline-box > h1, .headline-sizer { grid-area: 1 / 1; }
.headline-sizer { display: grid; visibility: hidden; pointer-events: none; user-select: none; }
.headline-sizer > span { grid-area: 1 / 1; }
/* The microphone's dock keeps its place before the script mounts it, so the routes never move down under a press. */
.voice-dock[data-pending] { visibility: hidden; }

@media (prefers-reduced-motion: reduce) {
  .voice-trace { display: none; }
  .voice-dock .cmp-mark[data-voice-morph] .voice-label { animation: none; }
  .voice-dock #cmp[data-mic="on"][data-hearing="on"] .cmp-orb svg { stroke-width: 2.25; }
}

@media (max-width: 700px) {
  .masthead { min-height: 64px; }
  main { padding-inline: 18px; }
  .stage { padding: 18px clamp(19px, 5vw, 37px) 13px; }
  .scene { min-height: 225px; padding-right: 0; padding-bottom: 35px; }
  .figure { right: 20px; top: auto; bottom: 56px; width: clamp(57px, 20vw, 123px); transform: none; }
  h1, .headline-sizer > span { font-size: clamp(35px, 8.2vw, 57px); }
  .hero-break { display: none; }
  h2 { font-size: clamp(29px, 7.1vw, 46px); }
  .paper h3 { font-size: clamp(29px, 7.1vw, 46px); }
  .paper-stack { padding-right: clamp(40px, 16vw, 120px); }
  .research-nav { margin-top: 8px; }
  body[data-view="research"] .figure { bottom: 86px; }
  .destinations { margin-top: 13px; padding-right: 52px; }
  .destinations a { min-height: 30px; font-size: 12px; }
  .destinations .destination-note { display: none; }
  .compose { padding-top: 3px; }
  body[data-view="compose"] .scene { padding-bottom: 0; }
  .compose-detail { grid-template-columns: minmax(0, 1fr) minmax(54px, .33fr); }
  .problem-options { margin: 11px 0 14px; }
  .compose .compose-steps button { font-size: 11px; }
  .routes { justify-content: space-between; gap: 7px; }
  .routes a { min-width: 0; font-size: 12px; }
  body .voice-dock #cmp { display: grid; grid-template-columns: max-content max-content; }
  body .voice-dock #cmp .cmp-body { position: static; grid-column: 1 / -1; order: 1; margin-top: 5px; max-width: calc(100vw - 80px); }
  .voice-dock .cmp-form input, .voice-dock .cmp-results { width: min(340px, calc(100vw - 110px)); }
}

@media (max-width: 370px) {
  .masthead { margin-inline: 16px; }
  .brand img { width: clamp(108px, 37vw, 134px); }
  .masthead-actions { gap: 3px; }
  .sound-toggle { width: 29px; }
  .contact { gap: 4px; }
  main { padding-inline: 12px; }
  .stage { padding-inline: 13px; }
  .routes { gap: 6px; }
  .routes a { font-size: 11px; }
  .compose-copy p { font-size: 12px; }
  .compose-detail { gap: 10px; padding-block: 8px; }
  body[data-view="compose"] main { padding-bottom: 8px; }
}

@media (max-height: 510px) {
  .masthead { min-height: 46px; }
  main { padding-block: 6px 16px; }
  .stage { padding-block: 10px 5px; }
  .scene { min-height: 215px; }
  h1, .headline-sizer > span { font-size: clamp(32px, 5.8vw, 53px); }
  h2 { font-size: clamp(28px, 4.65vw, 44px); }
  .paper h3 { font-size: clamp(28px, 4.65vw, 44px); }
  .destinations { margin-top: 9px; }
  .problem-options { margin-block: 7px 9px; }
  .compose-detail { min-height: 112px; padding-block: 6px; }
  .compose .compose-steps button { min-height: 28px; }
  .compose .problem-options button { min-height: 29px; }
  body[data-view="compose"] main { padding-bottom: 2px; }
  body[data-view="compose"] .routes a { min-height: 38px; }
}

.home-tagline {
  margin: 0 0 19px;
  color: var(--muted);
  font-size: clamp(12px, 1.45vw, 15px);
  font-weight: 500;
}
