/* Coverage by Design site styles. Every color, size and duration comes from tokens.css. */

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--t-base);
  font-stretch: var(--stretch-body);
  line-height: 1.6;
  font-kerning: normal;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--paper); }
img, svg { max-width: 100%; }
main { display: block; }
main:focus { outline: none; }
h1, h2, h3, h4 { margin: 0; color: var(--ink); font-weight: 650; text-wrap: balance; }
h1 { font-size: var(--t-h1); font-stretch: var(--stretch-display); line-height: 1.02; letter-spacing: -0.028em; }
h2 { font-size: var(--t-h2); font-stretch: var(--stretch-display); line-height: 1.06; letter-spacing: -0.022em; }
h3 { font-size: var(--t-h3); font-stretch: var(--stretch-sub); line-height: 1.2; letter-spacing: -0.01em; }
h4 { font-size: var(--t-h4); font-stretch: 104%; line-height: 1.3; font-weight: 600; }
p, ul, ol, dl, figure, blockquote { margin: 0; }
p { max-width: var(--text-max); }
strong, b { font-weight: 650; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }
abbr[title] { text-decoration: underline dotted; text-underline-offset: .2em; cursor: help; }
dfn { font-style: normal; font-weight: 650; }
::selection { background: var(--accent-wash); color: var(--ink); }

.icon { width: 1.125em; height: 1.125em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.18em; }
.sprite, .svg-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.nowrap { white-space: nowrap; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.skip-link { position: absolute; left: max(16px, env(safe-area-inset-left, 0px)); top: -100px; z-index: 100; background: var(--ink); color: var(--paper); padding: 10px 16px; font-weight: 600; text-decoration: none; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 8px); }

/* ---------- Layout ---------- */
.wrap {
  width: 100%;
  max-width: calc(var(--page-max) + 80px);
  margin-inline: auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 760px) {
  .wrap { padding-left: max(32px, env(safe-area-inset-left, 0px)); padding-right: max(32px, env(safe-area-inset-right, 0px)); }
}
@media (min-width: 1100px) {
  .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); }
}
.section { padding-block: var(--section); }
.section--tint { background: var(--paper-2); }
.section--rule { border-top: 1px solid var(--line); }
.section--tight { padding-block: calc(var(--section) * .6); }
.stack { display: grid; gap: var(--gap, var(--s-4)); align-content: start; }
.stack > * { min-width: 0; }
.cluster { display: flex; flex-wrap: wrap; align-items: center; gap: var(--gap, var(--s-4)); }
.grid-2 { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 900px) { .grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } .grid-2--wide-left { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .grid-2--wide-right { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); } }

.section-head { display: grid; gap: var(--s-4); max-width: 56rem; margin-bottom: var(--s-7); }
.section-head--center { margin-inline: auto; text-align: center; justify-items: center; }
.eyebrow { font-family: var(--font-mono); font-size: var(--t-xs); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); }
.lead { font-size: var(--t-lg); line-height: 1.5; color: var(--ink-2); }
.muted { color: var(--ink-2); }
.small { font-size: var(--t-sm); }
.note { font-size: var(--t-sm); color: var(--ink-3); }
.mono { font-family: var(--font-mono); }
.statement { font-size: var(--t-h3); font-stretch: var(--stretch-sub); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; max-width: 34ch; }
.prose { display: grid; gap: var(--s-4); }
.prose h2 { margin-top: var(--s-5); font-size: var(--t-h3); font-stretch: var(--stretch-sub); }
.prose ul, .prose ol { padding-left: 1.2em; display: grid; gap: var(--s-2); max-width: var(--text-max); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 50;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 94%, transparent);
  -webkit-backdrop-filter: saturate(1.2) blur(10px);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner { display: flex; align-items: center; gap: var(--s-5); min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; flex: none; }
.brand__mark { width: 32px; height: 32px; flex: none; }
.brand__word { font-size: 12.5px; font-weight: 760; font-stretch: 122%; line-height: 1.04; letter-spacing: .07em; text-transform: uppercase; }
.brand__word span { display: block; }
.mk-ink { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: square; }
.mk-thin { fill: none; stroke: currentColor; stroke-width: 1.25; }
.mk-acc { fill: none; stroke: var(--accent); stroke-width: 2.25; stroke-linecap: round; }

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2vw, 28px); list-style: none; margin: 0; padding: 0; }
.nav__link { display: inline-block; color: var(--ink-2); text-decoration: none; font-size: var(--t-sm); font-weight: 520; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav__link:hover { color: var(--ink); border-bottom-color: var(--line-2); }
.nav__link[aria-current="page"] { color: var(--ink); border-bottom-color: var(--accent); }
.nav__cta-item { display: none; }
.header-cta { flex: none; }
.menu-btn { display: none; align-items: center; justify-content: center; gap: 6px; min-width: 44px; min-height: 44px; padding: 0 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent; color: var(--ink); font: inherit; font-size: var(--t-sm); font-weight: 600; cursor: pointer; }
.menu-btn .icon { width: 20px; height: 20px; }
.menu-btn .i-close { display: none; }
.menu-btn[aria-expanded="true"] .i-open { display: none; }
.menu-btn[aria-expanded="true"] .i-close { display: inline; }

@media (max-width: 1079.98px) {
  .site-header__inner { gap: var(--s-3); }
  .menu-btn { display: inline-flex; order: 3; }
  .header-cta { margin-left: auto; order: 2; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; display: none; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav.is-open { display: block; }
  .nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 8px max(16px, env(safe-area-inset-right, 0px)) 16px max(16px, env(safe-area-inset-left, 0px)); }
  .nav__link { display: block; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: var(--t-base); }
  .nav__link[aria-current="page"] { border-bottom-color: var(--line); color: var(--accent); }
}
@media (max-width: 420px) {
  .brand__word { font-size: 11px; }
  .brand__mark { width: 28px; height: 28px; }
  .header-cta.btn { padding: 8px 10px; font-size: 13px; }
  .header-cta .icon { display: none; }
}

/* ---------- Buttons and links ---------- */
.btn {
  --btn-bg: var(--accent); --btn-fg: var(--accent-ink); --btn-bd: var(--accent);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 22px;
  border: 1px solid var(--btn-bd); border-radius: var(--radius);
  background: var(--btn-bg); color: var(--btn-fg);
  font: inherit; font-size: var(--t-sm); font-weight: 620; font-stretch: 108%; letter-spacing: .01em; line-height: 1.2;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn:hover { --btn-bg: var(--accent-hover); --btn-bd: var(--accent-hover); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon { transform: translateX(3px); }
.btn--secondary { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--ink); }
.btn--secondary:hover { --btn-bg: var(--ink); --btn-fg: var(--paper); --btn-bd: var(--ink); }
.btn--sm { min-height: 40px; padding: 8px 14px; font-size: 14px; gap: 8px; }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; }
.btn:disabled:hover .icon { transform: none; }
.btn--secondary:disabled:hover { --btn-bg: transparent; --btn-fg: var(--ink); }
.textlink { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-weight: 620; text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 2px; }
.textlink:hover { border-bottom-color: var(--ink); }
.textlink .icon { transition: transform .25s var(--ease); }
.textlink:hover .icon { transform: translateX(3px); }

/* ---------- Evidence labels: illustrative / predicted / measured ---------- */
.evidence { display: inline-flex; align-items: center; gap: 7px; padding: 3px 8px; border-radius: 1px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; line-height: 1.45; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.evidence::before { content: ""; width: 8px; height: 8px; border-radius: 50%; flex: none; }
.evidence--illustrative { color: var(--ink-2); background: var(--surface); border: 1px dashed var(--field-border); }
.evidence--illustrative::before { border: 1.5px dashed currentColor; }
.evidence--predicted { color: var(--accent); background: var(--surface); border: 1px solid currentColor; }
.evidence--predicted::before { border: 2px solid currentColor; }
.evidence--measured { color: var(--paper); background: var(--ink); border: 1px solid var(--ink); }
.evidence--measured::before { background: currentColor; }
.evidence--wrap { white-space: normal; }

/* Placeholders that must be resolved before launch */
.tbd { display: inline-block; font-family: var(--font-mono); font-size: .82em; line-height: 1.5; color: var(--ink-2); background: var(--surface); border: 1px dashed var(--field-border); padding: 0 6px; }
.tbd::before { content: "TBD · "; color: var(--redline); }

/* ---------- Hero ---------- */
.hero { padding-block: clamp(36px, 6vw, 88px) clamp(48px, 7vw, 104px); }
.hero__title { font-size: var(--t-hero); line-height: .98; letter-spacing: -0.035em; max-width: 15ch; }
.hero__grid { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 1fr); margin-top: clamp(28px, 4vw, 56px); align-items: start; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 80px); } }
.hero__copy { display: grid; gap: var(--s-5); align-content: start; }
.hero__copy > * { min-width: 0; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
.hero__support { font-size: var(--t-sm); color: var(--ink-2); max-width: 46ch; }
.scope-line { display: flex; flex-wrap: wrap; gap: 6px 18px; padding-top: var(--s-4); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); }
.scope-line span { display: inline-flex; align-items: center; gap: 8px; }
.scope-line .icon { color: var(--accent); }
.credibility { font-size: var(--t-sm); color: var(--ink-2); display: flex; gap: 10px; align-items: baseline; }
.credibility::before { content: ""; width: 18px; height: 1px; background: var(--ink-2); flex: none; transform: translateY(-4px); }

/* ---------- Drawing sheet ---------- */
.drawing { position: relative; background: var(--surface); border: 1px solid var(--line); }
.drawing__canvas { padding: clamp(10px, 2vw, 22px) clamp(8px, 1.6vw, 20px) clamp(6px, 1vw, 12px); }
.drawing__label { position: absolute; top: 12px; right: 12px; z-index: 1; }
@media (max-width: 559.98px) { .drawing__label { position: static; margin: 10px 0 0 10px; } .drawing__canvas { padding-top: 6px; } }
.drawing svg { display: block; width: 100%; height: auto; }
.titleblock { display: grid; grid-template-columns: repeat(4, minmax(0, auto)); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.titleblock > * { padding: 8px 12px; border-left: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.titleblock > :first-child { border-left: 0; }
.titleblock strong { display: block; font-weight: 500; color: var(--ink); letter-spacing: .06em; }
@media (max-width: 640px) { .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); } .titleblock > :nth-child(3) { border-left: 0; } .titleblock > :nth-child(n+3) { border-top: 1px solid var(--line); } }
.drawing-caption { margin-top: var(--s-3); font-size: var(--t-sm); color: var(--ink-3); max-width: 70ch; }

/* Building drawing internals */
.bldg { font-family: var(--font-sans); overflow: hidden; }
.bldg .paper { fill: var(--surface); }
.bldg .earth { fill: url(#wbd-earth); }
.bldg .grade { fill: none; stroke: var(--ink); stroke-width: 2; }
.bldg .poche { fill: var(--ink); }
.bldg .masonry { fill: url(#wbd-masonry); stroke: var(--ink); stroke-width: 1; }
.bldg .glass { fill: var(--glass); }
.bldg .glass-coat { fill: none; stroke: var(--glass-coat); stroke-width: 2; }
.bldg .glass-new { fill: var(--glass-new); stroke: var(--accent); stroke-width: 1.5; }
.bldg .rtu { fill: var(--surface); stroke: var(--ink-2); stroke-width: 1.5; }
.bldg .thin { fill: none; stroke: var(--ink-3); stroke-width: 1.4; stroke-linecap: round; }
.bldg .tower { fill: none; stroke: var(--ink-2); stroke-width: 2; stroke-linecap: round; }
.bldg .tower-ant, .bldg .tower-box { fill: var(--surface); stroke: var(--ink-2); stroke-width: 1.5; }
.bldg .arc { fill: none; stroke: var(--signal); stroke-width: 2.6; stroke-linecap: round; }
.bldg .arc1 { opacity: .95; } .bldg .arc2 { opacity: .8; } .bldg .arc3 { opacity: .66; } .bldg .arc4 { opacity: .52; } .bldg .arc5 { opacity: .4; }
.bldg .ribbon { fill: var(--signal); opacity: .9; }
.bldg .z3 { fill: var(--c3); } .bldg .z2 { fill: var(--c2); } .bldg .z1 { fill: var(--c1); } .bldg .z0 { fill: url(#wbd-none); }
.bldg .served { fill: url(#wbd-served); }
.bldg .remain { fill: none; stroke: var(--redline); stroke-width: 2.4; stroke-dasharray: 9 6; stroke-linejoin: round; }
.bldg .cloud { fill: none; stroke: var(--redline); stroke-width: 2.4; stroke-linejoin: round; }
.bldg .delta { fill: var(--surface); stroke: var(--redline); stroke-width: 2; stroke-linejoin: round; }
.bldg .delta-t { fill: var(--redline); font-family: var(--font-mono); font-size: 13px; font-weight: 500; text-anchor: middle; }
.bldg .tag-box { fill: var(--surface); stroke: var(--redline); stroke-width: 1.5; }
.bldg .tag-t { fill: var(--redline); font-family: var(--font-mono); font-size: 14px; font-weight: 500; letter-spacing: .08em; }
.bldg .tag-l { fill: var(--ink); font-size: 16.5px; font-weight: 520; }
.bldg .leader { fill: none; stroke: var(--ink-2); stroke-width: 1.3; }
.bldg .leader--red { stroke: var(--redline); }
.bldg .bubble { fill: var(--surface); stroke: var(--ink); stroke-width: 1.6; }
.bldg .bubble-t { fill: var(--ink); font-size: 15px; font-weight: 680; text-anchor: middle; }
.bldg .fixed { fill: none; stroke: var(--ink-3); stroke-width: 1.3; stroke-dasharray: 3 4; }
.bldg .fixed-t { fill: var(--ink-3); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-anchor: middle; }
.bldg .sys { fill: none; stroke: var(--sys); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.bldg .head-end { fill: var(--surface); stroke: var(--sys); stroke-width: 2; }
.bldg .sys-dot { fill: var(--sys); }
.bldg .ant { fill: var(--surface); stroke: var(--sys); stroke-width: 2.2; stroke-linejoin: round; }

/* Layer states. One building, eight steps, plus the hero summary. */
.bldg .l-loss, .bldg .l-cond-before, .bldg .l-cond-after, .bldg .l-served, .bldg .l-glass-after,
.bldg .l-remain, .bldg .l-system, .bldg .l-cloud, .bldg .l-keys, .bldg .l-fixed, .bldg .tag-a, .bldg .tag-b { opacity: 0; transition: opacity var(--dur) var(--ease); }
.bldg .l-glass-before, .bldg .l-signal { transition: opacity var(--dur) var(--ease); }
.bldg[data-step="2"] .l-keys { opacity: 1; }
.bldg[data-step="3"] .l-loss { opacity: 1; }
.bldg[data-step="4"] .l-loss { opacity: .18; }
.bldg[data-step="4"] .l-cond-before, .bldg[data-step="5"] .l-cond-before { opacity: 1; }
.bldg[data-step="5"] .l-cloud, .bldg[data-step="5"] .tag-a, .bldg[data-step="5"] .l-fixed { opacity: 1; }
.bldg[data-step="6"] .l-cond-before { opacity: .28; }
.bldg[data-step="6"] .l-cloud, .bldg[data-step="6"] .tag-b { opacity: 1; }
.bldg:is([data-step="6"], [data-step="7"], [data-step="8"]) .l-glass-after { opacity: 1; }
.bldg:is([data-step="6"], [data-step="7"], [data-step="8"]) .l-glass-before { opacity: 0; }
.bldg:is([data-step="7"], [data-step="8"]) .l-cond-after { opacity: 1; }
.bldg[data-step="7"] .l-remain { opacity: 1; }
.bldg[data-step="8"] .l-served, .bldg[data-step="8"] .l-system { opacity: 1; }
.bldg:is([data-step="4"], [data-step="5"], [data-step="6"], [data-step="7"], [data-step="8"]) .l-signal { opacity: .55; }
.bldg[data-step="hero"] .l-cloud, .bldg[data-step="hero"] .tag-b { opacity: 1; }
@media (max-width: 559.98px) { .bldg .svg-label { display: none; } }
.bldg:is([data-size="xs"], [data-size="sm"]) .svg-label { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .bldg.is-pulsing .arc { animation: wbd-pulse 1.5s var(--ease) 3 both; }
  .bldg.is-pulsing .arc2 { animation-delay: .1s; }
  .bldg.is-pulsing .arc3 { animation-delay: .2s; }
  .bldg.is-pulsing .arc4 { animation-delay: .3s; }
  .bldg.is-pulsing .arc5 { animation-delay: .4s; }
}
@keyframes wbd-pulse { 0% { opacity: .08; } 38% { opacity: 1; } }

/* Legend */
.legend { display: flex; flex-wrap: wrap; gap: 8px 18px; list-style: none; padding: 0; margin: var(--s-4) 0 0; font-size: var(--t-sm); color: var(--ink-2); }
.legend li { display: inline-flex; align-items: center; gap: 8px; }
.legend--inline { margin-top: 10px; gap: 6px 14px; font-size: 13px; }
.sw { display: inline-block; width: 22px; height: 13px; border: 1px solid var(--line-2); flex: none; }
.sw--c3 { background: var(--c3); border-color: var(--c3); }
.sw--c2 { background: var(--c2); border-color: var(--c2); }
.sw--c1 { background: var(--c1); }
.sw--none { background: repeating-linear-gradient(45deg, var(--hatch) 0 1.2px, transparent 1.2px 5px); }
.sw--remain { border: 2px dashed var(--redline); background: transparent; }
.sw--served { background-image: radial-gradient(var(--sys) 1.3px, transparent 1.5px); background-size: 6px 6px; }
.sw--signal { height: 3px; border: 0; background: var(--signal); }
.sw--cloud { border: 2px solid var(--redline); border-radius: 7px; background: transparent; }

/* ---------- Storyboard ---------- */
/* Phones: the drawing stays in view (sticky) while the steps scroll under it. */
.story { display: block; }
.story > * + * { margin-top: var(--s-5); }
.story__drawing { position: sticky; top: calc(var(--header-h) + env(safe-area-inset-top, 0px)); z-index: 5; box-shadow: 0 6px 18px -14px rgb(0 0 0 / 35%); }
.story__notes .legend { margin-top: 0; }
.story__notes .drawing-caption { margin-top: var(--s-3); }
@media (max-width: 999.98px) {
  .story__drawing .titleblock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__drawing .titleblock > :not(.tb-keep) { display: none; }
  .story__drawing .titleblock > .tb-keep + .tb-keep { border-left: 1px solid var(--line); border-top: 0; }
}
@media (min-width: 1000px) {
  .story { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); grid-template-rows: auto 1fr; column-gap: clamp(32px, 4vw, 56px); row-gap: var(--s-4); align-items: start; }
  .story > * + * { margin-top: 0; }
  .story__drawing { position: relative; top: auto; grid-column: 1; grid-row: 1; box-shadow: none; }
  .story__notes { grid-column: 1; grid-row: 2; }
  .story__panel { grid-column: 2; grid-row: 1 / span 2; }
}
.story__panel { display: grid; gap: var(--s-5); align-content: start; }
.chapters { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); }
.chapter__label { display: flex; justify-content: space-between; gap: 12px; padding-top: 10px; border-top: 1px solid var(--line-2); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 4px; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.step__title { display: flex; align-items: center; gap: 12px; padding: 10px 0; font-size: var(--t-base); font-stretch: 104%; font-weight: 620; line-height: 1.3; }
.is-enhanced .step__title { display: block; padding: 0; }
.step__btn { display: flex; width: 100%; align-items: center; gap: 12px; padding: 10px 0; border: 0; background: none; color: var(--ink); font: inherit; text-align: left; cursor: pointer; }
.step__btn:hover .step__text { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.num { display: inline-grid; place-items: center; width: 30px; height: 30px; flex: none; border: 1.5px solid var(--ink); border-radius: 50%; font-size: 13px; font-weight: 680; font-stretch: 100%; background: var(--surface); color: var(--ink); transition: background-color .2s, color .2s; }
.step.is-active .num { background: var(--ink); color: var(--paper); }
.step__body { padding: 0 0 12px 42px; color: var(--ink-2); font-size: var(--t-sm); line-height: 1.6; }
.step__body p + p { margin-top: 8px; }
.keylist { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 4px; }
.keylist b { display: inline-grid; place-items: center; width: 20px; height: 20px; margin-right: 6px; border: 1.25px solid var(--ink); border-radius: 50%; font-size: 11px; color: var(--ink); }
.story__nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.story__count { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.story__nav { display: none; }
.story.is-enhanced .story__nav { display: flex; }

/* Small multiples (eight drawings) */
.multiples { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); list-style: none; padding: 0; margin: 0; counter-reset: none; }
.multiple { display: grid; gap: 10px; align-content: start; }
.multiple .drawing__canvas { padding: 8px; }
.multiple .bldg .svg-label, .multiple .bldg .l-keys text { display: none; }
.multiple__cap { display: flex; gap: 10px; align-items: baseline; font-size: var(--t-sm); font-weight: 600; line-height: 1.35; }
.multiple__cap .num { width: 24px; height: 24px; font-size: 11px; }

/* ---------- Three paths ---------- */
.paths { display: grid; gap: var(--s-6) var(--s-6); grid-template-columns: repeat(auto-fit, minmax(min(100%, 270px), 1fr)); }
.path { display: grid; gap: var(--s-3); align-content: start; padding-top: var(--s-5); border-top: 2px solid var(--ink); }
.path__pic { width: 168px; height: 101px; color: var(--ink); margin-bottom: var(--s-2); }
.path__pic .p-ink { fill: none; stroke: var(--ink); stroke-width: 2; }
.path__pic .p-thin { fill: none; stroke: var(--ink-3); stroke-width: 1.25; }
.path__pic .p-sig { fill: none; stroke: var(--signal); stroke-width: 2.25; stroke-linecap: round; }
.path__pic .p-red { fill: none; stroke: var(--redline); stroke-width: 2; stroke-linejoin: round; }
.path__pic .p-check { fill: none; stroke: var(--signal); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; }
.path__pic .p-sys { fill: var(--surface); stroke: var(--sys); stroke-width: 2; }
.path__pic .p-sysl { fill: none; stroke: var(--sys); stroke-width: 2; }
.path__pic .p-wash { fill: var(--c1); }
.path__pic .p-glass { fill: var(--glass); }
.closing-line { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); font-size: var(--t-lg); color: var(--ink-2); max-width: 60ch; }

/* ---------- Sample documents (sheets) ---------- */
.sheet { background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); min-width: 0; }
.sheet__head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 16px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.sheet__title { font-size: var(--t-h4); font-weight: 680; font-stretch: 112%; letter-spacing: -0.005em; }
.sheet__body { padding: 18px; display: grid; gap: var(--s-4); }
.sheet__scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); }
.sheet table { width: 100%; min-width: 760px; border-collapse: collapse; font-size: 14px; line-height: 1.45; }
.sheet th, .sheet td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.sheet th { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); background: var(--paper); white-space: nowrap; }
.sheet tbody tr:last-child td { border-bottom: 0; }
.sheet td:first-child { font-weight: 620; min-width: 190px; }
.sheet td .state { white-space: normal; }
.choice-key { display: inline-grid; place-items: center; width: 22px; height: 22px; margin-right: 6px; border: 1.5px solid var(--redline); color: var(--redline); font-size: 11px; font-weight: 700; border-radius: 50%; }
.state { display: inline-block; font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .04em; padding: 1px 6px; border: 1px solid var(--line-2); color: var(--ink-2); white-space: nowrap; background: var(--paper); }
.state--pending { border-style: dashed; }
.resultlines { display: grid; gap: 8px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 700px) { .resultlines { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.resultline { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 12px 14px; border: 1px solid var(--line); background: var(--paper); font-size: 14px; }
.resultline .icon { width: 22px; height: 22px; color: var(--ink); grid-row: span 2; margin-top: 2px; }
.resultline strong { font-size: 14px; }
.resultline span { color: var(--ink-2); }
.owner-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 13px; }
.owner-actions > span:first-child { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-right: 4px; }
.fakebtn { display: inline-block; padding: 6px 10px; border: 1px solid var(--field-border); background: var(--surface); color: var(--ink); font-weight: 600; font-size: 13px; }
.fakebtn--primary { border-color: var(--ink); background: var(--ink); color: var(--paper); }
.sheet__foot { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-3); }
.sheet__foot > * { padding: 8px 12px; border-left: 1px solid var(--line); min-width: 0; overflow-wrap: anywhere; }
.sheet__foot > :first-child { border-left: 0; }
.sheet__foot b { display: block; color: var(--ink); font-weight: 500; }
@media (max-width: 640px) { .sheet__foot { grid-template-columns: repeat(2, minmax(0, 1fr)); } .sheet__foot > :nth-child(3) { border-left: 0; } .sheet__foot > :nth-child(n+3) { border-top: 1px solid var(--line); } }
.scroll-hint { font-size: 12px; color: var(--ink-3); font-family: var(--font-mono); letter-spacing: .06em; }
@media (min-width: 900px) { .scroll-hint { display: none; } }

.doc-pair { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); margin-top: var(--s-5); }
.speclines { display: grid; gap: 0; font-size: 14px; }
.speclines > div { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.speclines > div:last-child { border-bottom: 0; }
.speclines .sec { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); padding-top: 2px; }
.speclines p { color: var(--ink-2); }
.speclines p strong { color: var(--ink); }
.recordlog { list-style: none; padding: 0; margin: 0; display: grid; font-size: 14px; }
.recordlog li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid var(--line); }
.recordlog li:last-child { border-bottom: 0; }

/* Annotations on samples */
.annotated { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1100px) { .annotated { grid-template-columns: minmax(0, 1fr) 280px; } }
.annotations { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s-4); align-content: start; counter-reset: ann; }
.annotations li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 12px; font-size: var(--t-sm); color: var(--ink-2); }
.annotations li::before { counter-increment: ann; content: counter(ann); display: inline-grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; border: 1.5px solid var(--redline); color: var(--redline); font-size: 12px; font-weight: 700; }
.annotations strong { display: block; color: var(--ink); }

/* ---------- Roles ---------- */
.roles { display: grid; gap: 0; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); border-top: 1px solid var(--line-2); }
.role { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5) var(--s-5) var(--s-5) 0; border-bottom: 1px solid var(--line); }
@media (min-width: 560px) { .role { padding-right: var(--s-6); } }
.role__icon { width: 30px; height: 30px; color: var(--ink); }
.role--us .role__icon { color: var(--accent); }
.role .role__name { font-size: var(--t-h4); font-weight: 650; font-stretch: 108%; color: var(--ink); }
.role p { font-size: var(--t-sm); color: var(--ink-2); }
.role__tag { font-family: var(--font-mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.role--us .role__tag { color: var(--accent); }
.evidence-key { display: grid; gap: 10px; margin-top: var(--s-2); }
.evidence-key > div { display: grid; grid-template-columns: 10em minmax(0, 1fr); gap: 12px; align-items: baseline; }
.evidence-key dd { margin: 0; font-size: var(--t-sm); color: var(--ink-2); }

/* ---------- Phases (choices narrow over a project) ---------- */
.phases { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
.phase { display: grid; gap: 8px; align-content: start; }
.phase__bar { height: 14px; background: var(--accent-wash); border: 1px solid var(--accent); position: relative; }
.phase__bar::after { content: ""; position: absolute; inset: 0 auto 0 0; background: var(--accent); }
.phase--5 .phase__bar::after { width: 96%; } .phase--4 .phase__bar::after { width: 74%; } .phase--3 .phase__bar::after { width: 50%; }
.phase--2 .phase__bar::after { width: 28%; } .phase--r .phase__bar::after { width: 46%; background: repeating-linear-gradient(-45deg, var(--accent) 0 4px, var(--accent-wash) 4px 7px); }
.phase__name { font-weight: 650; font-stretch: 106%; }
.phase p { font-size: var(--t-sm); color: var(--ink-2); }
@media (min-width: 960px) {
  .phases { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s-5); align-items: start; }
  .phase { grid-template-rows: 150px auto auto; }
  .phase__bar { height: auto; width: 100%; align-self: end; border: 0; background: none; border-bottom: 1px solid var(--ink); }
  .phase__bar::after { inset: auto 0 0 0; width: 100% !important; background: var(--accent-wash); border-top: 2px solid var(--accent); }
  .phase--r .phase__bar::after { background: repeating-linear-gradient(-45deg, var(--accent-wash) 0 5px, transparent 5px 9px); }
  .phase--5 .phase__bar { height: 144px; } .phase--4 .phase__bar { height: 108px; } .phase--3 .phase__bar { height: 72px; }
  .phase--2 .phase__bar { height: 40px; } .phase--r .phase__bar { height: 66px; }
  .phase__bar::after { height: 100%; }
}
.phases-caption { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-top: var(--s-5); font-size: var(--t-sm); color: var(--ink-3); }

/* ---------- Cards and lists ---------- */
.cards { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.card { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); }
.card h3 { font-size: var(--t-h4); font-stretch: 108%; }
.card p { font-size: var(--t-sm); color: var(--ink-2); }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.ticks li { display: grid; grid-template-columns: 20px minmax(0, 1fr); gap: 10px; align-items: start; }
.ticks .icon { width: 18px; height: 18px; margin-top: 3px; color: var(--accent); }
.ticks--no .icon { color: var(--ink-3); }
.compare { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); }
.compare__col { display: grid; gap: var(--s-4); align-content: start; padding: var(--s-6) var(--s-5); background: var(--surface); border: 1px solid var(--line); }
.compare__col--paid { border-top: 3px solid var(--ink); }
.compare__col--free { border-top: 3px solid var(--accent); }
.compare__kicker { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.compare h3 { font-size: var(--t-h3); }
.compare h4 { font-size: var(--t-sm); font-family: var(--font-mono); font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: var(--s-2); }

.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; }
@media (min-width: 760px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); } }
@media (min-width: 1100px) { .process { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--s-6); } }
.process li { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 14px; padding: var(--s-5) 0; border-top: 1px solid var(--line-2); align-content: start; }
.process .num { grid-row: span 2; }
.process h3 { font-size: var(--t-h4); font-stretch: 106%; padding-top: 3px; }
.process p { font-size: var(--t-sm); color: var(--ink-2); }
.process .who { grid-column: 2; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin-top: 6px; }

.resp { width: 100%; border-collapse: collapse; font-size: var(--t-sm); }
.resp caption { text-align: left; }
.resp th, .resp td { text-align: left; vertical-align: top; padding: 14px 16px 14px 0; border-bottom: 1px solid var(--line); }
.resp thead th { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); border-bottom: 1px solid var(--line-2); }
.resp tbody th { font-weight: 620; width: 46%; }
.resp td { color: var(--ink-2); }
.resp tr.is-us th, .resp tr.is-us td { color: var(--ink); }
.resp tr.is-us th::before { content: ""; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: 1px; }
@media (max-width: 640px) { .resp, .resp tbody, .resp tr, .resp th, .resp td { display: block; width: 100%; } .resp thead { display: none; } .resp tbody th { padding-bottom: 2px; border-bottom: 0; width: 100%; } .resp td { padding-top: 0; } }

.equation { display: grid; gap: var(--s-3); grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 900px) { .equation { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr) auto minmax(0, 1fr); } }
.eq-term { display: grid; gap: 6px; align-content: start; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); }
.eq-term strong { font-size: var(--t-h4); font-stretch: 108%; }
.eq-term span { font-size: var(--t-sm); color: var(--ink-2); }
.eq-term .who { font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.eq-term--total { background: var(--ink); border-color: var(--ink); }
.eq-term--total strong, .eq-term--total span, .eq-term--total .who { color: var(--paper); }
.eq-op { display: grid; place-items: center; font-size: 28px; font-weight: 300; color: var(--ink-3); padding: 0 4px; line-height: 1; }

.terms { display: grid; gap: 0; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .terms { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); } }
.terms > div { padding: var(--s-4) 0; border-top: 1px solid var(--line); display: grid; gap: 6px; }
.terms dt { font-weight: 650; font-stretch: 106%; }
.terms dt small { font-weight: 450; color: var(--ink-3); font-size: var(--t-sm); margin-left: 6px; }
.terms dd { margin: 0; font-size: var(--t-sm); color: var(--ink-2); max-width: 60ch; }

.founder { display: grid; gap: var(--s-4); align-content: start; padding: var(--s-6); background: var(--surface); border: 1px solid var(--line); }
.founder .founder__name { font-size: var(--t-h3); font-stretch: var(--stretch-sub); font-weight: 650; color: var(--ink); line-height: 1.2; }
.founder .founder__role { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.founder p { font-size: var(--t-sm); color: var(--ink-2); }
.facts { display: grid; gap: 0; font-size: var(--t-sm); }
.facts > div { display: grid; grid-template-columns: minmax(0, 10em) minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.facts dd .state { white-space: normal; }
@media (max-width: 440px) { .facts > div { grid-template-columns: minmax(0, 1fr); gap: 4px; } }
.facts dt { color: var(--ink-3); font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; text-transform: uppercase; padding-top: 2px; }
.facts dd { margin: 0; }

.principles { display: grid; gap: var(--s-5) var(--s-7); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); counter-reset: none; }
.principle { display: grid; gap: var(--s-3); align-content: start; padding-top: var(--s-4); border-top: 1px solid var(--ink); }
.principle h3 { font-size: var(--t-h4); font-stretch: 108%; }
.principle p { font-size: var(--t-sm); color: var(--ink-2); }

/* ---------- Page header (inner pages) ---------- */
.page-head { padding-block: clamp(40px, 6vw, 88px) clamp(32px, 4vw, 56px); border-bottom: 1px solid var(--line); }
.page-head__inner { display: grid; gap: var(--s-5); max-width: 62rem; }
.page-head h1 { max-width: 20ch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line-2); max-width: 60rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; cursor: pointer; list-style: none; font-weight: 620; font-stretch: 104%; font-size: var(--t-base); }
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover span { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
.faq__icon { width: 20px; height: 20px; transition: transform .25s var(--ease); color: var(--ink-2); }
.faq__item[open] .faq__icon { transform: rotate(45deg); }
.faq__a { padding: 0 0 20px; color: var(--ink-2); }

/* ---------- Bands ---------- */
.band { background: var(--ink); color: var(--paper); }
.band h2, .band h3 { color: var(--paper); }
.band .lead, .band p { color: color-mix(in srgb, var(--paper) 82%, var(--ink)); }
.band .note { color: color-mix(in srgb, var(--paper) 68%, var(--ink)); }
.band .btn { --btn-bg: var(--paper); --btn-fg: var(--ink); --btn-bd: var(--paper); }
.band .btn:hover { --btn-bg: var(--accent-wash); --btn-bd: var(--accent-wash); }
.band :focus-visible { outline-color: var(--paper); }
.band__inner { display: grid; gap: var(--s-5); padding-block: clamp(56px, 8vw, 112px); max-width: 60rem; }
.band__inner h2 { max-width: 20ch; }

.inline-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-6); margin-top: var(--s-7); padding: var(--s-5) 0 0; border-top: 1px solid var(--line); }
.inline-cta p { font-size: var(--t-lg); font-weight: 600; font-stretch: 106%; color: var(--ink); }
.section-more { margin-top: var(--s-6); }
/* Home, DAS Necessity Score section (build 1.12): what you send on the left, the sample of what comes back on the right. */
.home-score { align-items: start; }
.home-score .aside__block h3 { font-size: var(--t-h4); font-stretch: 108%; }
.home-score .cluster { margin-top: var(--s-3); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: var(--s-8) var(--s-6); font-size: var(--t-sm); background: var(--paper); }
.footer__grid { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr); } }
.footer__about { display: grid; gap: var(--s-4); align-content: start; }
.footer__about p { color: var(--ink-2); max-width: 40ch; }
.footer__nav h2, .footer__contact h2 { font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); margin-bottom: var(--s-3); }
.footer__nav { display: grid; grid-template-columns: repeat(2, minmax(0, max-content)); gap: var(--s-6) var(--s-7); align-content: start; }
.footer__nav ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.footer__nav a, .footer__legal a { color: var(--ink); text-decoration: none; }
.footer__nav a:hover, .footer__legal a:hover { text-decoration: underline; }
.footer__contact { display: grid; gap: 8px; align-content: start; color: var(--ink-2); }
.footer__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); color: var(--ink-3); font-size: 13px; }
.footer__legal ul { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; padding: 0; margin: 0; }

/* ---------- Forms ---------- */
.form-layout { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1000px) { .form-layout { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(40px, 5vw, 80px); } }
.form { display: grid; gap: var(--s-5); }
.form-section { display: grid; gap: var(--s-5); padding: var(--s-6) var(--s-5); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 600px) { .form-section { padding: var(--s-6); } }
.form-row { display: grid; gap: var(--s-5); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 640px) { .form-row--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.field { display: grid; gap: 6px; align-content: start; min-width: 0; }
.field__label, .fieldset__legend { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; font-weight: 620; font-size: var(--t-sm); color: var(--ink); }
.field__req { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); }
.field__hint { font-size: 14px; color: var(--ink-3); }
.input, .select, .textarea {
  width: 100%; min-height: 48px; padding: 11px 14px;
  font: inherit; font-size: 16px; color: var(--ink);
  background: var(--surface); border: 1px solid var(--field-border); border-radius: var(--radius);
  transition: border-color .15s, box-shadow .15s;
}
.textarea { min-height: 120px; resize: vertical; line-height: 1.5; }
.select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink-2) 50%), linear-gradient(135deg, var(--ink-2) 50%, transparent 50%); background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--ink-2); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible { outline: 2px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.input:disabled { background: var(--paper-2); color: var(--ink-3); cursor: not-allowed; }
.field.has-error .input, .field.has-error .select, .field.has-error .textarea, .fieldset.has-error .choice { border-color: var(--error); }
.field__error { display: none; align-items: flex-start; gap: 6px; font-size: 14px; font-weight: 560; color: var(--error); }
.has-error > .field__error, .has-error .field__error { display: flex; }
.fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 10px; min-width: 0; }
.fieldset__legend { padding: 0; margin-bottom: 4px; }
.choices { display: grid; gap: 8px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 480px) { .choices { grid-template-columns: minmax(0, 1fr); } }
.choice { position: relative; display: flex; align-items: flex-start; gap: 10px; padding: 12px 14px; border: 1px solid var(--field-border); border-radius: var(--radius); background: var(--surface); cursor: pointer; font-size: var(--t-sm); line-height: 1.4; transition: border-color .15s, box-shadow .15s; }
.choice:hover { border-color: var(--ink-2); }
.choice input { width: 18px; height: 18px; margin: 1px 0 0; flex: none; accent-color: var(--accent); }
.choice:has(input:checked) { border-color: var(--accent); box-shadow: inset 0 0 0 1px var(--accent); }
.choice:has(input:focus-visible) { outline: 2px solid var(--focus); outline-offset: 2px; }
.choice small { display: block; color: var(--ink-3); font-size: 13px; margin-top: 2px; }
.more { border-top: 1px solid var(--line); padding-top: var(--s-4); }
.more > summary { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 620; color: var(--ink); list-style: none; padding: 6px 0; }
.more > summary::-webkit-details-marker { display: none; }
.more > summary .icon { transition: transform .25s var(--ease); }
.more[open] > summary .icon { transform: rotate(45deg); }
.more__body { display: grid; gap: var(--s-5); margin-top: var(--s-4); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s-4) var(--s-5); }
.form-actions .note { max-width: 46ch; }
.status { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; padding: 14px 16px; border: 1px solid var(--line-2); border-left-width: 4px; background: var(--surface); font-size: var(--t-sm); }
.status .icon { width: 20px; height: 20px; grid-row: span 2; margin-top: 2px; }
.status strong { font-size: var(--t-sm); }
.status--info { border-left-color: var(--accent); }
.status--info .icon { color: var(--accent); }
.status--error { border-color: var(--error); }
.status--error .icon { color: var(--error); }
.status--success { border-left-color: var(--ok); }
.status--success .icon { color: var(--ok); }
.status ul { padding-left: 1.1em; margin: 4px 0 0; display: grid; gap: 2px; }
.status a { color: inherit; }
.aside { display: grid; gap: var(--s-6); align-content: start; }
.aside__block { display: grid; gap: var(--s-3); padding-top: var(--s-4); border-top: 1px solid var(--line-2); }
.aside__block h2 { font-size: var(--t-h4); font-stretch: 108%; }
.aside__block p, .aside__block li { font-size: var(--t-sm); color: var(--ink-2); }
.aside ol { padding-left: 1.2em; display: grid; gap: 6px; margin: 0; }

/* ---------- Review build (preview only) ---------- */
.review-bar { background: var(--ink); color: var(--paper); font-size: 13px; position: relative; z-index: 55; }
.review-bar__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px; padding-block: 8px; }
.review-bar p { max-width: none; color: var(--paper); }
.review-bar button { font: inherit; font-weight: 600; font-size: 13px; color: var(--ink); background: var(--paper); border: 0; padding: 6px 12px; border-radius: var(--radius); cursor: pointer; }
.review-bar button[aria-pressed="true"] { background: var(--redline); color: #fff; }
.review-bar :focus-visible { outline-color: var(--paper); }
.review-on [data-approval] { outline: 2px dashed var(--redline); outline-offset: 4px; position: relative; }
.review-on [data-approval]::after { content: attr(data-approval); position: absolute; left: -2px; top: -8px; transform: translateY(-100%); z-index: 6; padding: 2px 6px; background: var(--redline); color: #fff; font: 500 10px/1.3 var(--font-mono); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; pointer-events: none; }

/* ---------- Design system page ---------- */
.ds-nav { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: var(--t-sm); margin-top: var(--s-4); }
.ds-section { padding-block: var(--s-8); border-top: 1px solid var(--line); scroll-margin-top: calc(var(--header-h) + 16px); }
.ds-section > h2 { font-size: var(--t-h3); font-stretch: var(--stretch-sub); margin-bottom: var(--s-3); }
.ds-section > p { color: var(--ink-2); margin-bottom: var(--s-5); }
.swatches { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fill, minmax(min(100%, 190px), 1fr)); }
.swatch { border: 1px solid var(--line); background: var(--surface); font-size: 13px; }
.swatch__chip { height: 64px; border-bottom: 1px solid var(--line); }
.swatch__meta { padding: 8px 10px; display: grid; gap: 2px; }
.swatch__meta code { font-family: var(--font-mono); font-size: 12px; color: var(--ink); }
.swatch__meta span { color: var(--ink-3); }
.chip-paper { background: var(--paper); } .chip-paper-2 { background: var(--paper-2); } .chip-surface { background: var(--surface); }
.chip-ink { background: var(--ink); } .chip-ink-2 { background: var(--ink-2); } .chip-ink-3 { background: var(--ink-3); }
.chip-line { background: var(--line); } .chip-line-2 { background: var(--line-2); } .chip-accent { background: var(--accent); }
.chip-accent-wash { background: var(--accent-wash); } .chip-signal { background: var(--signal); } .chip-redline { background: var(--redline); }
.chip-c3 { background: var(--c3); } .chip-c2 { background: var(--c2); } .chip-c1 { background: var(--c1); }
.chip-hatch { background: repeating-linear-gradient(45deg, var(--hatch) 0 1.2px, var(--surface) 1.2px 6px); }
.chip-glass { background: var(--glass); } .chip-ok { background: var(--ok); } .chip-error { background: var(--error); }
.type-specimens { display: grid; gap: var(--s-5); }
.type-row { display: grid; gap: 6px var(--s-5); grid-template-columns: minmax(0, 1fr); padding-bottom: var(--s-4); border-bottom: 1px solid var(--line); }
@media (min-width: 800px) { .type-row { grid-template-columns: 220px minmax(0, 1fr); align-items: baseline; } }
.type-row code { font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.space-scale { display: grid; gap: 8px; }
.space-scale div { display: grid; grid-template-columns: 70px minmax(0, 1fr); align-items: center; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--ink-3); }
.space-scale i { display: block; height: 10px; background: var(--accent); }
.ds-demo { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); }
.ds-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.icon-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)); }
.icon-grid div { display: grid; justify-items: center; gap: 8px; padding: 14px 8px; background: var(--surface); border: 1px solid var(--line); font-family: var(--font-mono); font-size: 11px; color: var(--ink-3); }
.icon-grid .icon { width: 26px; height: 26px; color: var(--ink); }
.rules { display: grid; gap: 10px; padding-left: 1.2em; max-width: 72ch; }
.rules li { color: var(--ink-2); }
.rules strong { color: var(--ink); }
.do-dont { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.do-dont > div { padding: var(--s-4) var(--s-5); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--ok); font-size: var(--t-sm); display: grid; gap: 8px; }
.do-dont > div.dont { border-top-color: var(--error); }
.do-dont h3 { font-size: var(--t-sm); font-family: var(--font-mono); font-weight: 500; letter-spacing: .1em; text-transform: uppercase; }
.do-dont ul { padding-left: 1.1em; margin: 0; display: grid; gap: 6px; color: var(--ink-2); }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; } .mt-4 { margin-top: var(--s-4); } .mt-5 { margin-top: var(--s-5); } .mt-6 { margin-top: var(--s-6); } .mt-7 { margin-top: var(--s-7); }
.center { text-align: center; }
.nowrap { white-space: nowrap; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; }
}

/* Patterns used by drawings (defined once per page in svgdefs) */
.pat-none { stroke: var(--hatch); stroke-width: 1.3; }
.pat-earth { stroke: var(--earth); stroke-width: 1.4; }
.pat-bg { fill: var(--surface); }
.pat-mas { stroke: var(--ink-2); stroke-width: 1.1; }
.pat-served { fill: var(--sys); }

/* Revision delta key: links a Change Sheet item to the same mark on a drawing */
.delta-key { position: relative; display: inline-grid; place-items: center; width: 26px; height: 23px; margin-right: 8px; vertical-align: -6px; flex: none; }
.delta-key svg { position: absolute; inset: 0; width: 100%; height: 100%; fill: var(--surface); stroke: var(--redline); stroke-width: 1.8; stroke-linejoin: round; }
.delta-key b { position: relative; padding-top: 6px; font-size: 11px; font-weight: 700; line-height: 1; color: var(--redline); }
.row-key { display: inline-flex; align-items: center; }
.row-key .icon { width: 20px; height: 20px; margin-right: 10px; color: var(--sys); }
.form-section__title { font-size: var(--t-h4); font-stretch: 108%; font-weight: 650; }
.more--card { padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); }
@media (min-width: 600px) { .more--card { padding: var(--s-5) var(--s-6); } }
.more--card > summary .field__req { margin-left: 4px; }

/* Type utilities (style text like a heading without changing document structure) */
.t-block { display: block; }
.t-h1 { font-size: var(--t-h1); font-stretch: var(--stretch-display); line-height: 1.02; letter-spacing: -0.028em; font-weight: 650; }
.t-h2 { font-size: var(--t-h2); font-stretch: var(--stretch-display); line-height: 1.06; letter-spacing: -0.022em; font-weight: 650; }
.t-h3 { font-size: var(--t-h3); font-stretch: var(--stretch-sub); line-height: 1.2; letter-spacing: -0.01em; font-weight: 650; }
.space-scale .w-1 { width: 4px; } .space-scale .w-2 { width: 8px; } .space-scale .w-3 { width: 12px; } .space-scale .w-4 { width: 16px; } .space-scale .w-5 { width: 24px; }
.space-scale .w-6 { width: 32px; } .space-scale .w-7 { width: 48px; } .space-scale .w-8 { width: 64px; } .space-scale .w-9 { width: 96px; }
code { font-family: var(--font-mono); font-size: .88em; }

/* =====================================================================
   Version 1.1: night stage, live hero, stakes, statement bands
   ===================================================================== */

/* Night scope: any element with .night switches every token to the dark stage. */
.night {
  --paper: #0A1114; --paper-2: #10191D; --surface: #121C21;
  --ink: #EEF3F4; --ink-2: #B4C2C7; --ink-3: #8A9AA0;
  --line: #1F2E35; --line-2: #314650; --field-border: #5F7178;
  --accent: #4FDDE6; --accent-hover: #8BEAF0; --accent-ink: #052226; --accent-wash: #12343A;
  --signal: #4FDDE6; --glass: #27434C; --glass-coat: #8FD3DD; --glass-new: #5EA9B3;
  --earth: #21313A; --hatch: #4D5E66; --redline: #FF6B5B; --sys: #FFC46B; --focus: #4FDDE6;
  --c3: #3DB3C0; --c2: #2A7983; --c1: #1C4248;
  background: var(--paper);
  color: var(--ink);
  color-scheme: dark;
}
body::before { background: #0A1114; }
.dim { color: var(--ink-3); }

/* Header and footer sit on the night stage on every page */
.site-header.night { background: #0A1114; background: color-mix(in srgb, #0A1114 92%, transparent); border-bottom-color: var(--line); }
.site-footer.night { border-top: 1px solid var(--line); }
/* The closing band already carries the action; the footer repeats it only on pages without that band. */
main:has(> .closing) + .site-footer .footer__about .btn { display: none; }
.site-footer.night .footer__legal { border-top-color: var(--line); }
.review-bar { background: var(--paper-2); color: var(--ink); border-bottom: 1px solid var(--line); }
.review-bar p { color: var(--ink); }
.review-bar button { background: var(--ink); color: var(--paper); }
.review-bar :focus-visible { outline-color: var(--focus); }

/* Inner page heads on the night stage */
.page-head.night { border-bottom: 0; padding-block: clamp(48px, 7vw, 104px) clamp(48px, 6vw, 88px); }
.page-head.night h1 { font-size: clamp(2.5rem, 1.4rem + 4.2vw, 5rem); font-weight: 700; letter-spacing: -0.035em; line-height: .98; }

/* ---------- Live hero ---------- */
.hero-n { padding-block: clamp(36px, 5vw, 72px) 0; overflow: hidden; }
.hero-n__top { display: grid; gap: var(--s-6); grid-template-columns: minmax(0, 1fr); align-items: end; }
@media (min-width: 1000px) { .hero-n__top { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(32px, 4vw, 72px); } }
.hero-n__title { font-size: clamp(2.75rem, 1.2rem + 5.6vw, 6.5rem); font-weight: 720; font-stretch: 112%; line-height: .93; letter-spacing: -0.045em; max-width: 12ch; margin-top: var(--s-4); }
.hero-n__copy { display: grid; gap: var(--s-5); align-content: end; padding-bottom: 6px; }
.hero-n__copy > * { min-width: 0; }
.hero-n .lead { color: var(--ink-2); }
.hero-n .credibility { color: var(--ink-3); }
.hero-n .credibility::before { background: var(--ink-3); }

.sim { margin-top: clamp(28px, 4.5vw, 64px); }
.sim__stage { position: relative; }
.sim__canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.sim__stage .bldg { position: relative; z-index: 1; display: block; width: 100%; height: auto; }
.sim .bldg .poche { fill: var(--ink-2); }
.sim .bldg .thin { stroke: var(--ink-3); }
.sim .bldg .tower { stroke: var(--ink-2); }
.sim__bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: var(--s-4); border-top: 1px solid var(--line); }
.seg { display: flex; flex-wrap: wrap; gap: 6px; }
.seg button, .sim__pause { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 8px 14px 8px 10px; border: 1px solid var(--line-2); border-radius: var(--radius); background: transparent; color: var(--ink-2); font: inherit; font-size: 14px; font-weight: 620; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.seg button:hover, .sim__pause:hover { border-color: var(--ink-3); color: var(--ink); }
.seg .n { display: inline-grid; place-items: center; width: 22px; height: 22px; border: 1px solid currentColor; border-radius: 50%; font-size: 11px; font-weight: 700; }
.seg button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.sim__pause { padding-left: 12px; }
.sim__pause .icon { width: 16px; height: 16px; }
.sim__meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 13px; color: var(--ink-2); }
.sim__key { display: inline-flex; align-items: center; gap: 8px; }
.sim__dot { width: 9px; height: 9px; border-radius: 50%; flex: none; }
.sim__dot--sig { background: #4FDDE6; box-shadow: 0 0 10px #4FDDE6; }
.sim__dot--sys { background: #FFC46B; box-shadow: 0 0 10px #FFC46B; }
.sim__caption { margin-top: var(--s-4); padding-bottom: clamp(36px, 5vw, 64px); font-size: var(--t-lg); line-height: 1.45; color: var(--ink); max-width: 62ch; min-height: 3.4em; }
.sim:not(.is-live) .sim__bar, .sim:not(.is-live) .sim__caption { display: none; }
.bldg[data-step^="sim"] .l-signal { opacity: 0; }
.bldg:is([data-step="sim-change"], [data-step="sim-system"]) .l-glass-after { opacity: 1; }
.bldg:is([data-step="sim-change"], [data-step="sim-system"]) .l-glass-before { opacity: 0; }
.bldg[data-step="sim-change"] .l-cloud, .bldg[data-step="sim-change"] .tag-b { opacity: 1; }
.bldg[data-step="sim-system"] .l-system { opacity: 1; }

/* ---------- Stakes timeline ---------- */
.tl-wrap { position: relative; margin-top: var(--s-7); padding-top: 64px; }
.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); position: relative; }
.tl::before { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: var(--ink); }
.tl > li { position: relative; padding: 30px 14px 0 0; min-width: 0; }
.tl > li::before { content: ""; position: absolute; left: 0; top: 0; width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); }
.tl > li.is-decided::before { border-color: var(--redline); }
.tl > li.is-found::before { background: var(--redline); border-color: var(--redline); box-shadow: 0 0 0 6px color-mix(in srgb, var(--redline) 22%, transparent); }
.tl-name { display: block; font-weight: 680; font-stretch: 108%; font-size: var(--t-base); }
.tl-marks { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; font-size: var(--t-sm); color: var(--ink-2); line-height: 1.4; }
.tl-bracket { position: absolute; top: 0; left: 0; width: calc(50% - 14px); height: 40px; border: 2px solid var(--redline); border-bottom: 0; border-radius: 10px 10px 0 0; }
.tl-bracket span, .tl-flag span { position: absolute; top: -12px; left: 16px; padding: 0 8px; background: var(--paper); font-family: var(--font-mono); font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--redline); white-space: nowrap; }
.tl-flag { position: absolute; top: 0; left: calc(100% * 4 / 6); width: 2px; height: 56px; background: var(--redline); }
.tl-flag span { left: 10px; top: -12px; }
@media (max-width: 899.98px) {
  .tl-wrap { padding-top: 0; padding-left: 0; }
  .tl { grid-template-columns: minmax(0, 1fr); gap: 0; padding-left: 34px; }
  .tl::before { left: 7px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .tl > li { padding: 0 0 22px 0; }
  .tl > li::before { left: -34px; top: 2px; }
  .tl-bracket { display: none; }
  .tl-flag { display: none; }
  .tl > li.is-decided .tl-name::after { content: "Reception decided"; margin-left: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--redline); font-weight: 500; }
  .tl > li.is-found .tl-name::after { content: "Usually discovered"; margin-left: 10px; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--redline); font-weight: 500; }
}
.consequences { display: grid; gap: var(--s-4); grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); margin-top: var(--s-7); }
.consequence { padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--redline); font-size: var(--t-base); font-weight: 620; font-stretch: 104%; line-height: 1.35; }

/* ---------- Statement band ---------- */
.statement-band { padding-block: clamp(80px, 11vw, 160px); }
.statement-band .big { font-size: clamp(2.1rem, 1rem + 4.4vw, 5.25rem); font-weight: 720; font-stretch: 112%; line-height: 1; letter-spacing: -0.04em; max-width: 17ch; text-wrap: balance; }
.statement-band .after { margin-top: var(--s-6); font-size: var(--t-lg); color: var(--ink-2); max-width: 44ch; }

/* ---------- Bento ---------- */
.bento { display: grid; gap: var(--s-4); grid-template-columns: minmax(0, 1fr); }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(6, minmax(0, 1fr)); } .bento > .b-3 { grid-column: span 2; } .bento > .b-wide { grid-column: span 3; } }
.tile { display: grid; gap: var(--s-3); align-content: start; padding: var(--s-6) var(--s-5); background: var(--surface); border: 1px solid var(--line); min-width: 0; }
@media (min-width: 600px) { .tile { padding: var(--s-6); } }
.tile h3 { font-size: var(--t-h3); }
.tile p { font-size: var(--t-sm); color: var(--ink-2); }
.tile.night { border-color: transparent; }
.tile .icons { display: flex; gap: 10px; color: var(--accent); }
.tile .icons .icon { width: 28px; height: 28px; }

/* Drafting grid behind sample documents */
.gridbg { background-color: var(--paper-2); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 40px 40px; background-position: -1px -1px; }

/* ---------- Founder band ---------- */
.founder-band { padding-block: clamp(80px, 10vw, 150px); }
.founder-band__grid { display: grid; gap: var(--s-7); grid-template-columns: minmax(0, 1fr); align-items: end; }
.founder-band__title { margin-top: var(--s-4); font-size: var(--t-h2); max-width: 20ch; }
.founder-band__foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--s-4) var(--s-7); margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line-2); }
.founder-band__foot p { flex: 1 1 28rem; max-width: 62ch; color: var(--ink-2); }
.founder-band__foot p strong { color: var(--ink); font-weight: 650; }
@media (min-width: 1000px) { .founder-band__grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); } }
.quote { margin: 0; }
.quote p { font-size: clamp(1.45rem, 1rem + 1.7vw, 2.4rem); font-weight: 540; font-stretch: 104%; line-height: 1.28; letter-spacing: -0.015em; max-width: 32ch; color: var(--ink); }
.quote p::before { content: "\201C"; display: block; height: .55em; margin-bottom: .1em; font-size: 2.6em; line-height: 1; color: var(--accent); }
.quote footer { margin-top: var(--s-5); font-size: var(--t-sm); color: var(--ink-3); }
.quote footer strong { color: var(--ink); font-weight: 650; }
.figures { display: grid; gap: var(--s-5); }
.figure { padding-top: var(--s-4); border-top: 1px solid var(--line-2); }
.figure strong { display: block; font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 720; font-stretch: 112%; line-height: 1; letter-spacing: -0.04em; color: var(--ink); }
.figure span { display: block; margin-top: 6px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }

/* ---------- Closing (night) ---------- */
.closing { padding-block: clamp(64px, 8vw, 120px); }
.closing__inner { display: grid; gap: var(--s-6); max-width: 64rem; }
.closing__grid { display: grid; gap: var(--s-7); align-items: center; }
.closing__fig { margin: 0; }
.closing__fig img { display: block; width: 100%; height: auto; border: 1px solid #1F2E35; background: #0A1114; }
.closing__fig figcaption { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 10px; font-size: var(--t-sm); color: var(--ink-3); }
@media (min-width: 1040px) {
  .closing__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: var(--s-8); }
  .closing .closing__inner h2 { font-size: clamp(2.3rem, 1rem + 3vw, 3.75rem); max-width: 17ch; }
}
.closing h2 { font-size: clamp(2.3rem, 1.1rem + 4.6vw, 5.5rem); font-weight: 720; font-stretch: 112%; line-height: .98; letter-spacing: -0.04em; max-width: 16ch; }
.closing .lead { color: var(--ink-2); max-width: 52ch; }

.sim__pause .i-play { display: none; }
.sim__pause[aria-pressed="true"] .i-play { display: inline; }
.sim__pause[aria-pressed="true"] .i-pause { display: none; }

.night .bldg .earth { fill: url(#wbd-earth-n); }
.night .bldg .z0 { fill: url(#wbd-none-n); }
.night .bldg .masonry { fill: url(#wbd-masonry-n); }
.night .bldg .served { fill: url(#wbd-served-n); }
.svg-defs .night { background: none; }

@media (max-width: 759.98px) {
  .sim__stage { margin-left: calc(-1 * max(16px, env(safe-area-inset-left, 0px))); margin-right: calc(-1 * max(16px, env(safe-area-inset-right, 0px))); }
  .seg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; }
  .seg button { font-size: 13px; padding: 8px 8px; justify-content: center; text-align: center; line-height: 1.2; }
  .seg .n { display: none; }
  .sim__meta { width: 100%; justify-content: space-between; }
  .sim__pause { padding: 8px 10px; }
  .sim__pause .sim__pause-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sim__caption { font-size: var(--t-base); }
}
.phase__bar::after { background: color-mix(in srgb, var(--accent) 26%, transparent); }
@media (min-width: 960px) {
  .phase__bar::after { background: color-mix(in srgb, var(--accent) 24%, transparent); border-top: 3px solid var(--accent); }
  .phase--r .phase__bar::after { background: repeating-linear-gradient(-45deg, color-mix(in srgb, var(--accent) 30%, transparent) 0 5px, transparent 5px 10px); }
}
.chip-sys-n { background: #FFC46B; }
.swatch.night { border-color: var(--line); }

/* =====================================================================
   Version 1.2: signal components in the pages (component styles in signal.css)
   ===================================================================== */
/* Home hero: A4 under the headline. The headline is longer than the 1.1 line, so it runs smaller. */
.hero-n--signal { padding-bottom: clamp(48px, 6vw, 96px); }
.hero-n--signal .hero-n__title { max-width: 18ch; font-size: clamp(2.25rem, 1.05rem + 3.5vw, 4.4rem); line-height: .98; letter-spacing: -0.038em; }
.hero-n--signal .cx-spots4 { margin-top: clamp(28px, 4.5vw, 64px); }
/* B and D sections */
.section--signal .section-head h2 { max-width: 22ch; }
.signal-note { margin-top: var(--s-6); max-width: 62ch; color: var(--ink-2); }

/* ---------- Version 1.3: audience paths ---------- */
.aud-grid { display: grid; gap: var(--s-5); grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.aud-card { display: grid; grid-template-rows: auto auto 1fr auto; gap: var(--s-3); padding: var(--s-5); background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.aud-card:hover { border-color: var(--accent); }
.aud-card:focus-visible { outline: 3px solid var(--focus, var(--accent)); outline-offset: 2px; }
.aud-card__icon { width: 28px; height: 28px; color: var(--accent); }
.aud-card__role { font-size: var(--t-h4); font-stretch: var(--stretch-sub); font-weight: 650; line-height: 1.25; }
.aud-card__line { color: var(--ink-2); line-height: 1.5; }
.aud-card__go { display: inline-flex; align-items: center; gap: 6px; margin-top: var(--s-2); font-size: var(--t-sm); font-weight: 620; color: var(--accent); }
.aud-card__go .icon { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.aud-card:hover .aud-card__go .icon { transform: translateX(3px); }
@media (prefers-reduced-motion: reduce) { .aud-card, .aud-card__go .icon { transition: none; } .aud-card:hover .aud-card__go .icon { transform: none; } }
.page-head .hero__actions { margin-top: var(--s-5); }

/* ---------- Version 1.3: guided Check My Building ---------- */
.form-section__n { display: inline-grid; place-items: center; width: 26px; height: 26px; margin-right: 10px; border: 1.5px solid var(--accent); border-radius: 50%; font-size: 13px; font-weight: 700; color: var(--accent); vertical-align: 2px; }
.form-section__hint { margin-top: -4px; color: var(--ink-3); font-size: var(--t-sm); }
.form-section__title:focus { outline: none; }
.form-section__title:focus-visible { outline: 3px solid var(--focus); outline-offset: 4px; }
.form-steps { display: grid; gap: 10px; margin-bottom: var(--s-2); }
.form-steps[hidden] { display: none; }
.form-steps__label { font-family: var(--font-mono); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.form-steps__bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; list-style: none; margin: 0; padding: 0; }
.form-steps__bar li { height: 4px; border-radius: 2px; background: var(--line); transition: background-color .3s; }
.form-steps[data-at="1"] .form-steps__bar li:nth-child(-n+1), .form-steps[data-at="2"] .form-steps__bar li:nth-child(-n+2), .form-steps[data-at="3"] .form-steps__bar li:nth-child(-n+3) { background: var(--accent); }
.form-nav { display: flex; flex-wrap: wrap; gap: var(--s-3); }
.form-nav[hidden], .form [data-step][hidden], .form [data-step-submit][hidden], .form-nav [hidden] { display: none; }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-2); }
.btn--ghost:hover { --btn-bg: var(--paper-2); --btn-fg: var(--ink); --btn-bd: var(--ink-3); }
.btn--ghost:hover .icon { transform: translateX(-3px); }
.form.is-guided .form-actions { display: grid; gap: var(--s-3); justify-items: start; }

/* Version 1.3: a compact hero so the rendered building shows in the first screen */
.hero-n--signal { padding-bottom: var(--s-5); }
.hero-n--signal .hero-n__title { max-width: 21ch; font-size: clamp(2rem, 1.15rem + 2.3vw, 3.4rem); line-height: 1; letter-spacing: -0.032em; }
.hero-n--signal .hero-n__copy .lead { font-size: var(--t-md, 1.0625rem); }
/* Very narrow phones (under 375px): the mark alone, so the menu button stays on screen */
@media (max-width: 374.98px) { .site-header .brand__word { display: none; } }

/* Very narrow phones: long button labels wrap instead of widening the page. */
@media (max-width: 380px) { .btn { white-space: normal; max-width: 100%; } }

/* ---------- Launch build 1.5 (November 9, 2026) ---------- */
/* Lists that read better in two columns on wide screens. */
@media (min-width: 720px) { .ticks--2col { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s-7); max-width: 64rem; } }
/* Four commitments: two by two. */
@media (min-width: 720px) { .principles--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Three stage choices sit on one row when there is room. */
@media (min-width: 720px) { .choices--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
/* Sample Change Sheet on phones: each choice reads as a card, no sideways scrolling. */
@media (max-width: 699px) {
  .sheet .scroll-hint { display: none; }
  .sheet__scroll { overflow: visible; border: 0; }
  .sheet table { min-width: 0; display: block; }
  .sheet thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .sheet tbody { display: grid; gap: 10px; }
  .sheet tbody tr { display: block; padding: 12px 14px; border: 1px solid var(--line); background: var(--surface); }
  .sheet tbody td { display: block; position: relative; padding: 5px 0 5px 7.25rem; border: 0; min-width: 0; min-height: 1.7em; }
  .sheet tbody td::before { content: attr(data-label); position: absolute; left: 0; top: 8px; width: 6.75rem; font-family: var(--font-mono); font-size: 10.5px; line-height: 1.3; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
  .sheet tbody td:first-child { min-width: 0; padding: 0 0 8px; margin-bottom: 4px; border-bottom: 1px solid var(--line); font-size: 15px; }
  .sheet tbody td:first-child::before { content: none; }
  .sheet tbody tr:last-child td { border-bottom: 0; }
  .sheet tbody tr:last-child td:first-child { border-bottom: 1px solid var(--line); }
}
/* Six-step sequence: three across on wide screens. */
@media (min-width: 1100px) { .process--6 { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
