/* Nacient public site — the Phase-3 re-expressed site sheet (group E).
 *
 * Re-derived from the ratified-as-seen design source (snapshot-adoption
 * 2026-07-24: site-after/assets/site.css + after.css), public pages only —
 * no private wing, no account/student styles. Layers over /assets/tokens.css
 * (the brand-tokens artifact), /assets/components.css, and
 * /assets/site-tokens.css (the site-owned colour/status/type strata; load
 * order fixed in the page head: tokens, components, site-tokens, site).
 *
 * Discipline: every visual value binds a var(--*) — colour/radius/shadow/
 * motion to the artifact tokens or the site-owned layer, type/spacing to the
 * group-E sixteen-role stratum. Raw literals remain only where genuinely
 * structural (layout bounds, grid ratios, breakpoints, SVG geometry) and in
 * the SVG theme-remap attribute selectors, whose literal hexes ARE the
 * convention (builders emit literal presentation attributes; this sheet
 * re-anchors them onto tokens — the ratified theme-remap law), plus the two
 * ruled critical mix bases of the tinted container (03cd1c3b ruling 5) and
 * the ruled per-scheme device colours (--cm-spent, the Loop tint stop).
 *
 * Motion: the ten group-D slate bindings (GROUP-D-MOTION-QUEUE_2026-08-04.md
 * §4) are realised here; conduction stagger is ×1 of --motion-stagger-step
 * (queue §3); the --spring curve consumes exactly its two admitted seats
 * (22514ac5: public entrance animations + .cta-btn hover/press). Device-law
 * constants (draw band 600–900ms via --dd, tier-cycle 600ms wipe) stay as
 * ratified. The fkpulse 1.6s period was adjudicated live against the Diagram
 * Language Specification (05773cad §4.4/§5.6, read 2026-08-04): the record
 * names the decision-awaited pulse but carries no period constant, so per
 * the queue row it binds slate-composed: calc(2·slower + slow) = 1600ms,
 * value-preserving. */

/* ---------- fonts (self-hosted) ----------
 * Quicksand is the vendored brand text face (staged from tooling/). The
 * serif face is the ratified self-hosted Newsreader variable face, carried
 * from the design source's fonts.css (site/src/fonts/, staged alongside).
 * No external font request is ever made. */
@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap; /* the ruled budget row's value (8e0520b6 web-fonts row); the design source's `optional` was a loading behaviour, not a seen value */
  src: url("/assets/fonts/newsreader-latin-vf.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/quicksand-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/assets/fonts/quicksand-latin-500-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Quicksand";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/assets/fonts/quicksand-latin-600-normal.woff2") format("woff2");
}
/* Metric-matched fallback faces (F-0316 cure): the fallback occupies the web
 * face's space, so the ruled `swap` re-measures nothing when the file lands.
 * Calibrated 2026-08-05 against the Liberation faces — metric clones of
 * Times New Roman / Arial, so the values transfer to those locals. */
@font-face {
  font-family: "Newsreader Fallback";
  src: local("Times New Roman"), local("Liberation Serif");
  size-adjust: 104.85%;
  ascent-override: 70.57%;
  descent-override: 25.75%;
  line-gap-override: 0%;
}
@font-face {
  font-family: "Quicksand Fallback";
  src: local("Arial"), local("Liberation Sans");
  size-adjust: 101.66%;
  ascent-override: 98.36%;
  descent-override: 24.59%;
  line-gap-override: 0%;
}

:root {
  --sans: 'Quicksand', 'Quicksand Fallback', system-ui, sans-serif;
  --serif: 'Newsreader', 'Newsreader Fallback', Georgia, serif;
}

/* ---------- base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { background: var(--ground); color: var(--ink); font-family: var(--sans);
  font-size: var(--type-body); font-weight: 400; line-height: 1.6; -webkit-font-smoothing: antialiased; }
.mono { font-family: var(--sans); font-weight: 500; text-transform: uppercase;
  letter-spacing: 0.08em; font-variant-numeric: tabular-nums; font-size: var(--type-record); }
.mono-sm { font-size: var(--type-record-sm); }
.serif { font-family: var(--serif); font-weight: 500; }
.slate { color: var(--slate); }
.teal { color: var(--teal); }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.wrap-narrow { max-width: 860px; margin: 0 auto; padding: 0 clamp(20px, 5vw, 64px); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0;
  margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 100; background: var(--ground);
  color: var(--link); padding: 12px 16px; min-height: 44px; display: inline-flex; align-items: center; }
.skip-link:focus { left: 0; }
button:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible,
summary:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
svg { display: block; width: 100%; height: auto; }
a { color: var(--link); }
p a, li a { text-decoration-color: var(--hairline); text-underline-offset: 3px; }
p a:hover, li a:hover { text-decoration-color: var(--link); }
strong { font-weight: 700; color: inherit; }

.axis-text { font-family: var(--sans); font-weight: 500; font-size: var(--type-svg-axis); letter-spacing: 0.08em; fill: var(--slate); }
.node-text { font-family: var(--sans); font-weight: 600; font-size: var(--type-svg-node); letter-spacing: 0.08em; fill: var(--ink); }
.sub-text { font-family: var(--sans); font-weight: 500; font-size: var(--type-svg-sub); letter-spacing: 0.04em; fill: var(--slate); }

/* ---------- icons (inlined per placement by the build — same-document) ---------- */
.ic { width: 20px; height: 20px; flex: none; display: inline-block; }
.ic-16 { width: 16px; height: 16px; }
.cic { width: 48px; height: 48px; color: var(--ink); display: block; }
.sec-mark { margin-bottom: 14px; }
.page-hero .sec-mark { margin-bottom: 18px; }
.route-ic { vertical-align: -4px; margin-right: 8px; color: var(--slate);
  display: inline-block; width: 16px; height: 16px; }
/* F-0294 scoping: the ONE host-emphasis rule for concept-mark teal, scoped
 * to the facilitator mark's lawful placements only (a .fac-emph host class an
 * assembling page may place on a facilitator-mark host) AND to the mark's
 * class="emph" figure elements only — ruling 6's vehicle: the figure goes
 * teal, connectors stay currentColor ink. Never a bare .emph; no cn-student /
 * cn-parent / cn-group host may carry it, and no page currently places it
 * (value-preserving: every built mark renders ink). */
.sec-mark.fac-emph > svg.cic .emph { color: var(--teal); }

/* ---------- header / nav (grouped disclosure; no mega-menu) ---------- */
.site-head { border-bottom: 1px solid var(--hairline); background: var(--ground); position: sticky; top: 0; z-index: 30; }
.site-head .wrap { display: flex; align-items: center; justify-content: flex-start; gap: 18px; padding-top: 16px; padding-bottom: 16px;
  transition: padding-top var(--motion-base) var(--ease-move), padding-bottom var(--motion-base) var(--ease-move); }
.site-head.hd-compact .wrap { padding-top: 8px; padding-bottom: 8px; }
@media (prefers-reduced-motion: reduce) { .site-head .wrap { transition: none; } }
.wordmark { display: inline-block; text-decoration: none; color: var(--ink); padding: 4px 0; }
.wordmark .wm-name { font-family: var(--serif); font-weight: 500; font-size: 21px; letter-spacing: 0.18em; }
.wordmark .wm-rule { display: block; height: 1px; background: var(--ink); margin-top: 4px; }
/* the ratified-mark + serif lockup (A2, carried as seen; the mark is the
 * staged favicon.svg masked in the ratified treatments: teal on light,
 * white on dark) */
.wordmark.wm-hyb { display: inline-flex; align-items: center; gap: 10px; }
.wm-hyb .hyb-mark { display: inline-block; width: 24px; height: 24px;
  background-color: var(--teal); print-color-adjust: exact; -webkit-print-color-adjust: exact;
  -webkit-mask: url(/assets/favicon.svg) center / contain no-repeat;
  mask: url(/assets/favicon.svg) center / contain no-repeat; }
.wm-hyb .hyb-text { display: inline-flex; flex-direction: column; }
.wm-hyb .wm-name { letter-spacing: 0.10em; }
.wm-hyb .wm-rule { margin-top: -2px; }
[data-theme="dark"] .wm-hyb .hyb-mark { background-color: #ffffff; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .wm-hyb .hyb-mark { background-color: #ffffff; }
}
.site-head .wordmark { margin-right: auto; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav a.nav-link { font-family: var(--sans); font-weight: 600; font-size: var(--type-record-sm); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); text-decoration: none;
  border-bottom: 1px solid transparent; padding: 15px 0; min-height: 44px; display: inline-flex; align-items: center; }
.nav a.nav-link:hover { border-bottom-color: var(--hairline); }
.nav a.nav-link[aria-current="page"] { color: var(--nav-current); border-bottom-color: var(--teal); }
.cta-btn { font-family: var(--sans); font-weight: 600; font-size: 11.5px; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--on-teal); background: var(--teal);
  border: 1px solid var(--teal); border-radius: var(--radius-sm);
  padding: 12px 18px; min-height: 44px; display: inline-flex; align-items: center;
  text-decoration: none; cursor: pointer;
  /* the admitted overshoot-settle: seat 2 of 2 (22514ac5) — hover/press on
     the action-button class rides var(--spring) */
  transition: transform var(--motion-base) var(--spring),
    background-color var(--motion-fast) var(--ease-move),
    border-color var(--motion-fast) var(--ease-move); }
.cta-btn:hover { background: var(--cta-hover); border-color: var(--cta-hover); transform: translateY(-1px); }
.cta-btn:active { transform: translateY(0); transition-duration: var(--motion-fast); }
.cta-btn.quiet { color: var(--teal-700); background: var(--ground); border-color: var(--hairline); box-shadow: var(--shadow-1); }
.cta-btn.quiet:hover { border-color: var(--teal); background: var(--ground); }
.nav-toggle { display: none; width: 44px; height: 44px; min-width: 44px; min-height: 44px; align-items: center; justify-content: center;
  color: var(--ink); background: var(--ground); border: 1px solid var(--hairline);
  border-radius: var(--radius-sm); padding: 0; cursor: pointer; }
.nav-toggle:hover { border-color: var(--teal); }
.nav-toggle .nt-open { display: block; }
.nav-toggle .nt-close { display: none; }
.nav-toggle[aria-expanded="true"] .nt-open { display: none; }
.nav-toggle[aria-expanded="true"] .nt-close { display: block; }
.theme-toggle { display: inline-flex; width: 44px; height: 44px; min-width: 44px; min-height: 44px; align-items: center;
  justify-content: center; color: var(--ink); background: var(--ground);
  border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: 0; cursor: pointer; }
.theme-toggle:hover { border-color: var(--teal); }
.theme-toggle .tt-sun { display: none; }
.theme-toggle .tt-moon { display: block; }
[data-theme="dark"] .theme-toggle .tt-sun { display: block; }
[data-theme="dark"] .theme-toggle .tt-moon { display: none; }

/* grouped nav disclosure (ff4910d6 behaviour contract; the acceptance-gate
 * and code-documentation parts bind at this landing). Contract: the group
 * label is a real button with aria-expanded; opens on click + hover-intent
 * on pointer devices (site.js: 60ms open / 220ms close input-grace timers —
 * interaction-intent thresholds, NOT tempo, per the motion queue §5); Escape
 * closes and restores focus to the button; outside click closes; items are
 * 44px rows on an opaque panel behind a hairline border; the open transition
 * is a fire-once fast-tier fade (--motion-fast, --ease-enter), instant under
 * reduced motion; never loops; never a mega-menu. */
.nav-group { position: relative; }
.nav-group-btn { font-family: var(--sans); font-weight: 600; font-size: var(--type-record-sm); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); background: none; border: 0;
  border-bottom: 1px solid transparent; padding: 15px 0; min-height: 44px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 5px; }
.nav-group-btn:hover, .nav-group-btn[aria-expanded="true"] { border-bottom-color: var(--hairline); }
.nav-group-btn.is-current { color: var(--nav-current); border-bottom-color: var(--teal); }
.nav-chev { color: var(--slate); transition: transform var(--motion-fast) var(--ease-move); }
.nav-group-btn.is-current .nav-chev { color: var(--nav-current); }
.nav-group-btn[aria-expanded="true"] .nav-chev { transform: rotate(180deg); }
.nav-group-label { display: none; }
@media (min-width: 1021px) {
  .nav-menu { display: none; position: absolute; top: calc(100% + 6px); left: -18px; z-index: 7;
    min-width: 252px; background: var(--ground); border: 1px solid var(--hairline);
    border-radius: var(--radius-sm); box-shadow: var(--shadow-drawer); padding: 4px 0; }
  .nav-menu.open { display: block; animation: menufade var(--motion-fast) var(--ease-enter) both; }
  .nav-menu a.nav-item { display: flex; align-items: center; min-height: 44px; padding: 4px 18px;
    font-family: var(--sans); font-weight: 600; font-size: var(--type-record-sm); letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink); text-decoration: none; }
  .nav-menu a.nav-item:hover { background: var(--panel); }
  .nav-menu a.nav-item[aria-current="page"] { color: var(--nav-current); box-shadow: inset 2px 0 0 var(--teal); }
}
@keyframes menufade { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .site-head .wrap { padding-top: 12px; padding-bottom: 12px; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; z-index: 6;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ground); border-bottom: 1px solid var(--hairline);
    box-shadow: var(--shadow-drawer);
    padding: 8px clamp(20px, 5vw, 64px) 22px;
    max-height: calc(100vh - 64px); overflow-y: auto; }
  .nav.open { display: flex; animation: navdrop var(--motion-fast) var(--ease-enter) both; }
  .nav-group { width: 100%; }
  .nav-group-btn { display: none; }
  .nav-group-label { display: block; color: var(--teal-700); font-weight: 600; font-size: 12px;
    letter-spacing: 0.14em; border-bottom: 1px solid var(--hairline);
    padding: 22px 2px 8px; margin-bottom: 6px; }
  .nav-group:first-of-type .nav-group-label { padding-top: 8px; }
  .nav-menu { display: block; }
  .nav a.nav-item, .nav a.nav-link { font-family: var(--sans); font-weight: 600; font-size: 12px; letter-spacing: 0.08em;
    text-transform: uppercase; color: var(--ink); text-decoration: none; width: 100%;
    min-height: 48px; display: flex; align-items: center; padding: 13px 2px;
    border-bottom: 1px solid var(--panel); }
  .nav a.nav-item:hover, .nav a.nav-link:hover { border-bottom-color: var(--hairline); }
  .nav a.nav-item[aria-current="page"], .nav a.nav-link[aria-current="page"] { color: var(--nav-current); border-bottom-color: var(--panel);
    box-shadow: inset 2px 0 0 var(--teal); padding-left: 12px; }
  .nav .cta-btn { margin-top: 16px; width: 100%; justify-content: center; }
  body.menu-open { overflow: hidden; }
}
@keyframes navdrop { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }

/* the transparent inter-section bands where the home field shows through */
.gap { height: clamp(60px, 12vh, 150px); }

/* ---------- sections & conduction (arrival composed; narration on reach) ---------- */
.sec { padding: var(--space-section) 0; border-bottom: 1px solid var(--hairline); }
.sec.tight { padding: clamp(40px, 6vh, 72px) 0; }
.sec-label, .kicker { color: var(--teal-700); font-size: var(--type-record-sm); font-weight: 500;
  letter-spacing: 0.14em; margin-bottom: 12px; display: flex; align-items: flex-start; gap: 8px; }
.kicker { font-family: var(--sans); text-transform: uppercase; font-variant-numeric: tabular-nums; display: block; }
.sec-label .eyb-ic, .kicker .eyb-ic { width: 16px; height: 16px; flex: none; margin-top: 1px; color: currentColor; }
.sec-h { font-size: var(--type-sec-h); line-height: 1.15; max-width: 24em; margin-bottom: 12px; }
.sec-lead { color: var(--slate); font-size: var(--type-lead); max-width: 62ch; }
.prose { max-width: var(--measure); }
.prose p { margin-top: var(--space-rhythm); }
.prose p:first-child { margin-top: 0; }
.prose ul, .prose ol, .faq-a ul, .faq-a ol { margin: 12px 0 0 1.25em; padding: 0; }
.prose li, .faq-a li { margin-top: 8px; }
.prose li::marker, .faq-a li::marker { color: var(--slate); }

/* conduction: entrances are --spring seat 1 of 2 (22514ac5, public entrance
 * animations); stagger strictly ×1 of the ratified step (queue §3 cure —
 * envelope at the cap of 8 = 210ms, inside the 600ms bounded-stagger rule) */
.a { opacity: 0; }
.in .a { animation: rise var(--motion-slower) var(--spring) both; animation-delay: calc(var(--i, 0) * var(--motion-stagger-step)); }
@keyframes rise { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
[data-arrive] .a { opacity: 1; }

/* ---------- hero / page hero ---------- */
.hero { padding: clamp(56px, 10vh, 130px) 0 clamp(48px, 8vh, 100px); border-bottom: 1px solid var(--hairline); overflow-x: clip; }
.hero-greeting { font-size: var(--type-hero-greeting); line-height: 1.08; max-width: 18em; letter-spacing: -0.01em; }
.hero-sub { color: var(--slate); font-size: clamp(16.5px, 1.6vw, 19px); max-width: 56ch; margin-top: 18px; }
.hero-resolve { margin-top: clamp(34px, 6vh, 64px); border-top: 1px solid var(--hairline); padding-top: clamp(26px, 4vh, 40px);
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.hero-headline { font-size: clamp(26px, 3vw, 36px); line-height: 1.18; max-width: 20em; }
.hero-spine { color: var(--slate); font-size: var(--type-lead); max-width: 52ch; margin-top: 14px; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 24px; }
@media (max-width: 860px) { .hero-resolve { grid-template-columns: 1fr; } }
/* the hero scrim over the field (the --scrim token per scheme) */
.hero-scrim { position: relative; }
.hero-scrim::before { content: ""; position: absolute; inset: -30px -34px; z-index: -1;
  pointer-events: none; border-radius: 18px;
  background: var(--scrim);
  -webkit-backdrop-filter: blur(9px); backdrop-filter: blur(9px);
  -webkit-mask-image: radial-gradient(140% 140% at 50% 42%, #000 55%, transparent 97%);
  mask-image: radial-gradient(140% 140% at 50% 42%, #000 55%, transparent 97%); }

.page-hero { padding: clamp(48px, 8vh, 100px) 0; border-bottom: 1px solid var(--hairline); }
.page-hero .ph-title { font-size: var(--type-page-title); line-height: 1.1; max-width: 18em; }
.page-hero .ph-lead { color: var(--slate); font-size: clamp(16.5px, 1.6vw, 19px); max-width: 58ch; margin-top: 16px; }
.ph-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
@media (max-width: 860px) { .ph-grid { grid-template-columns: 1fr; } }

/* ---------- the plate placeholder (descriptions in place of images — the
 * raster-free build, L7: the accepted alt text renders as the plate's
 * written description) ---------- */
.plate { border: 1px solid var(--hairline); border-radius: var(--radius-md); overflow: hidden; }
.plate-body { position: relative; background-color: var(--img-ground);
  background-image: linear-gradient(135deg, var(--plate-sheen), rgba(255, 255, 255, 0) 55%); }
.plate-reg { position: absolute; inset: 10px; border: 1px dashed var(--plate-reg);
  border-radius: 3px; pointer-events: none; }
.plate-pad { position: relative; padding: 20px 22px 22px; min-height: 100%;
  display: flex; flex-direction: column; gap: 10px; justify-content: flex-start; }
.plate-tag { color: var(--plate-tag); }
.plate-desc { color: var(--plate-desc); font-size: var(--type-small); line-height: 1.5; max-width: 58ch; }
.plate-cap { padding: 10px 14px; border-top: 1px solid var(--hairline); color: var(--slate); }
.ar-32 .plate-body { min-height: 0; aspect-ratio: 3 / 2; }
.ar-45 .plate-body { aspect-ratio: 4 / 5; }
.ar-169 .plate-body { aspect-ratio: 16 / 9; }
.ar-11 .plate-body { aspect-ratio: 1 / 1; }
@media (max-width: 640px) { .ar-32 .plate-body, .ar-169 .plate-body { aspect-ratio: auto; min-height: 180px; } }

/* ---------- composed photographic plates (Marketing-Site Imagery
 * Per-Placement Acceptance Test Strategy): the fifteen accepted photographs,
 * each wired as a <picture> filling the same plate-body box the placeholder
 * used. The wired class keeps a fixed aspect box at every viewport width —
 * unlike the placeholder, a photograph collapsing to min-height: auto below
 * 640px would crop or distort it, so .plate-wired restates the ratio inside
 * the same breakpoint that un-wires it above. ---------- */
.plate-wired .plate-body { background-image: none; }
.plate-wired .plate-body picture { display: contents; }
.plate-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px) {
  .plate-wired.ar-32 .plate-body { aspect-ratio: 3 / 2; min-height: 0; }
  .plate-wired.ar-169 .plate-body { aspect-ratio: 16 / 9; min-height: 0; }
}

/* the value-arc worked-example group (decisions-and-consequences.html): four
 * plates across, following .cadence's own breakpoint ladder (4 -> 2 -> 1) */
.arc-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
@media (max-width: 720px) { .arc-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 430px) { .arc-grid { grid-template-columns: 1fr; } }
.arc-group .fig-cap { text-align: center; }

/* ---------- record rows ---------- */
.rows { border-top: 1px solid var(--hairline); max-width: 860px; }
.row-item { border-bottom: 1px solid var(--hairline); padding: 18px 4px; display: grid;
  grid-template-columns: 56px 1fr; gap: 16px; align-items: baseline; }
.row-num { color: var(--teal); font-family: var(--sans); font-weight: 500; font-size: var(--type-record); letter-spacing: 0.08em; }
.row-text { font-size: clamp(16.5px, 1.7vw, 19px); line-height: 1.5; max-width: 46em; }
.row-sub { color: var(--slate); font-size: var(--type-secondary); margin-top: 6px; }

/* ---------- two windows / statement panels ---------- */
.windows { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.window { border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: clamp(20px, 3vw, 34px); }
.window .mono, .window .mono-sm { color: var(--teal-700); margin-bottom: 12px; }
@media (max-width: 760px) { .windows { grid-template-columns: 1fr; } }
p.statement, .statement { font-family: var(--serif); font-weight: 500;
  font-size: var(--type-statement); line-height: 1.5; }
.statement-panel { background: color-mix(in srgb, var(--panel) 72%, transparent);
  border: 1px solid var(--hairline); border-radius: var(--radius-md);
  padding: clamp(20px, 3vw, 34px); }

/* ---------- the card shell + quiet aside ---------- */
.card { border: 1px solid var(--hairline); border-radius: var(--radius-md);
  background: var(--ground); padding: clamp(20px, 2.6vw, 30px);
  display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.card-quiet { background: var(--panel); }

/* ---------- figures & diagram chrome ---------- */
.fig-cap { color: var(--slate); margin-top: 14px; }
.fig-cap:not(:last-child) { margin-bottom: 34px; }
.fig-cap .fig-record { display: block; }
.fig-cap .fig-intent { display: block; font-family: var(--sans); font-size: 14px;
  font-weight: 400; line-height: 1.55; letter-spacing: 0; text-transform: none;
  color: var(--slate); max-width: 62ch; margin-top: 14px; }
.replay { font-family: var(--sans); font-weight: 500; font-size: var(--type-record-sm); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate); background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--hairline); text-underline-offset: 3px;
  padding: 6px 0; min-height: 44px; min-width: 44px; }
.ctl-row { display: flex; align-items: center; gap: 18px; margin-top: 14px; flex-wrap: wrap; }
.pausectl { font-family: var(--sans); font-weight: 600; font-size: var(--type-record-sm); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-700); background: var(--ground);
  border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: 10px 14px; cursor: pointer; box-shadow: var(--shadow-1); min-height: 44px; }
.pausectl:hover { border-color: var(--teal); }
.legend { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 10px; }
.key { display: inline-flex; align-items: center; gap: 8px; font-family: var(--sans); font-weight: 500;
  font-size: var(--type-record-sm); letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.sw { display: inline-block; width: 18px; height: 0; border-top-style: solid; }

/* the diagram draw grammar: --dd defaults inside the ruled 600–900ms draw
 * band (c5f8c73a ruling 4 device law, verbatim); element entrances bind the
 * slate (queue §4: fadeIn/.lp-beat 400 -> --motion-slow; pop/fillUp 500 ->
 * --motion-slow; pair-panel rise 700 -> --motion-slower) */
.d-line { stroke-dasharray: 1; stroke-dashoffset: 1; }
.run .d-line { animation: draw var(--dd, 900ms) var(--ease-move) both; animation-delay: var(--dl, 0ms); }
@keyframes draw { to { stroke-dashoffset: 0; } }
.d-fade { opacity: 0; }
.run .d-fade { animation: fadeIn var(--motion-slow) var(--ease-enter) both; animation-delay: var(--dl, 0ms); }
@keyframes fadeIn { to { opacity: 1; } }
.d-pop { opacity: 0; }
.run .d-pop { animation: pop var(--motion-slow) var(--spring) both; animation-delay: var(--dl, 0ms); }
@keyframes pop { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
g.d-pop, g.d-fade { transform-box: fill-box; }
.p-fill { transform: scaleY(0); transform-origin: bottom; transform-box: fill-box; }
.run .p-fill { animation: fillUp var(--motion-slow) var(--spring) both; animation-delay: var(--dl, 0ms); }
@keyframes fillUp { to { transform: scaleY(1); } }
.hop-dot { opacity: 0; }
.hop-dot.on { opacity: 1; }
.lp-beat { opacity: 0.3; transition: opacity var(--motion-slow) var(--ease-enter); }
.lp-beat.on { opacity: 1; }

.pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px; }
.pair-panel { border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: clamp(20px, 2.6vw, 30px); opacity: 0; }
.run .pair-panel { animation: rise var(--motion-slower) var(--spring) both; animation-delay: 0ms; }
.pair-note { font-size: var(--type-small); color: var(--slate); margin-top: 10px; max-width: 40ch; }
@media (max-width: 940px) { .pair { grid-template-columns: minmax(0, 1fr); } }

/* the SVG theme-remap convention (load-bearing; the literal hexes ARE the
 * law — builders emit literal presentation attributes, these selectors
 * re-anchor them onto tokens. Deliberately NOT remapped: the Fork value
 * ramp (#963325 -> #1E7F4C) and the clay venture accent #a86b43 —
 * series/emphasis identity holds across modes.) */
svg [stroke="#13322F"], svg [stroke="#13322f"] { stroke: var(--ink); }
svg [fill="#13322F"], svg [fill="#13322f"] { fill: var(--ink); }
svg [stroke="#14807a"], svg [stroke="#14807A"] { stroke: var(--teal); }
svg [fill="#14807a"], svg [fill="#14807A"] { fill: var(--teal); }
svg [stroke="#52746F"], svg [stroke="#52746f"] { stroke: var(--slate); }
svg [fill="#52746F"], svg [fill="#52746f"] { fill: var(--slate); }
svg [stroke="#97aca9"], svg [stroke="#97ACA9"] { stroke: var(--dia-grey); }
svg [fill="#97aca9"], svg [fill="#97ACA9"] { fill: var(--dia-grey); }
svg [stroke="#D4DEDC"], svg [stroke="#d4dedc"] { stroke: var(--hairline); }
svg [fill="#ffffff"] { fill: var(--ground); }
svg [stop-color="#ffffff"] { stop-color: var(--ground); }
svg [fill="#0c4d49"] { fill: var(--teal-700); }

/* ---------- the decision cascade (Fork class) ---------- */
.fk-charttitle { font-size: clamp(20px, 2.4vw, 26px); line-height: 1.2; margin-bottom: 14px; }
.fk-measure-t { font-family: var(--sans); font-weight: 700; font-size: 15px; letter-spacing: 0.14em; fill: var(--teal-700); }
.fkring { r: 10px; opacity: 0.35; }
/* the decision-awaited pulse: the device record (05773cad §4.4/§5.6) names
 * the pulse but carries NO period constant — bound slate-composed per the
 * queue row: 2·slower + slow = 1600ms, value-preserving */
.fk-pulse-on .fkring { animation: fkpulse calc(2 * var(--motion-slower) + var(--motion-slow)) linear infinite; }
@keyframes fkpulse { from { r: 5px; opacity: 0.7; } to { r: 16px; opacity: 0; } }
.fk-rack { margin-top: 20px; display: flex; flex-direction: column; gap: 14px; }
.fk-week { display: grid; grid-template-columns: 175px 400px minmax(0, 44ch);
  align-items: center; column-gap: 18px; row-gap: 10px;
  visibility: hidden; opacity: 0; transition: opacity var(--motion-base) var(--ease-enter); }
@media (max-width: 1100px) {
  .fk-week { grid-template-columns: 175px minmax(0, 1fr); }
  .fk-why { grid-column: 1 / -1; }
}
@media (max-width: 640px) { .fk-week { grid-template-columns: 1fr; } }
.fk-week.wk-on { visibility: visible; opacity: 1; }
.fk-wklabel { min-width: 170px; color: var(--slate); }
.fk-toggle { display: inline-flex; align-items: center; gap: 12px; }
.fk-opt { font-family: var(--sans); font-weight: 600; font-size: var(--type-record-sm); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--ink); background: var(--ground);
  border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: 10px 14px; min-height: 44px; cursor: pointer; }
.fk-opt:hover { border-color: var(--teal); }
.fk-opt[aria-checked="true"] { border-color: var(--teal); color: var(--teal-700);
  background: var(--panel); box-shadow: var(--shadow-1); }
.fk-mid { position: relative; width: 56px; height: 2px; background: var(--hairline);
  border-radius: 1px; flex: none; }
.fk-knob { position: absolute; top: 50%; left: 50%; width: 10px; height: 10px; border-radius: 50%;
  background: var(--slate); transform: translate(-50%, -50%);
  transition: left var(--motion-base) var(--ease-move), background var(--motion-base) var(--ease-move); }
.fk-week[data-chosen="L"] .fk-knob { left: 0; background: var(--teal); }
.fk-week[data-chosen="R"] .fk-knob { left: 100%; background: var(--teal); }
.fk-note { font-size: var(--type-small); color: var(--slate); grid-column: 2 / -1; }
@media (max-width: 640px) { .fk-note { grid-column: auto; } }
.fk-why { font-size: var(--type-small); line-height: 1.5; color: var(--slate); padding: 10px 14px;
  border: 1px solid var(--hairline); border-radius: var(--radius-md); justify-self: start; }
.fk-why[hidden] { display: none; }
.fk-live { color: var(--teal-700); margin-top: 14px; min-height: 1.5em; }

/* ---------- the founder slot (SD-06 interim) ---------- */
.founder-slot { border: 1px solid var(--hairline); border-radius: var(--radius-md);
  background: var(--panel); padding: 18px 20px; margin-top: 24px; max-width: 420px; }
.founder-slot .mono, .founder-slot .mono-sm { color: var(--slate); }
.founder-line { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.3; margin-top: 6px; }
.founder-note { color: var(--slate); font-size: var(--type-small); margin-top: 8px; max-width: 40ch; }

/* ---------- the data-posture disclosure ---------- */
.posture { border: 1px solid var(--hairline); border-radius: var(--radius-md);
  background: var(--ground); margin-top: 22px; max-width: 620px; }
.posture summary { list-style: none; cursor: pointer; display: flex; gap: 14px;
  align-items: baseline; padding: 16px 18px; min-height: 44px; }
.posture summary::-webkit-details-marker { display: none; }
.posture summary:hover { background: var(--panel); }
.posture .posture-mark { flex: none; width: 20px; align-self: center; color: var(--slate);
  font-family: var(--sans); font-weight: 500; font-size: 15px; }
.posture .posture-mark .ic { transition: transform var(--motion-fast) var(--ease-move); }
.posture[open] .posture-mark .ic { transform: rotate(180deg); }
.posture .posture-q { font-size: clamp(17px, 1.9vw, 20px); line-height: 1.35; }
.posture .posture-a { padding: 0 18px 18px 50px; }
.posture .posture-a p { font-size: var(--type-secondary); line-height: 1.6; margin-top: 10px; max-width: 58ch; }
.posture .posture-a p:first-child { margin-top: 0; }
.posture .posture-route { padding-top: 2px; }

/* ---------- the formal privacy statement ---------- */
.doc-id { color: var(--slate); margin-top: 18px; }
.legal { max-width: 76ch; }
.legal h2 { font-family: var(--serif); font-weight: 500;
  font-size: clamp(20px, 2.2vw, 26px); line-height: 1.25;
  margin-top: 44px; padding-top: 26px; border-top: 1px solid var(--hairline); }
.legal h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
.clause { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 0 14px;
  margin-top: var(--space-rhythm); }
.clause .cnum { font-family: var(--sans); font-weight: 500; font-size: var(--type-record);
  letter-spacing: 0.08em; color: var(--slate); font-variant-numeric: tabular-nums;
  padding-top: 3px; }
.clause p { max-width: 64ch; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hairline); max-width: 860px; }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 4px; display: flex; gap: 14px;
  align-items: baseline; font-weight: 600; font-size: 17px; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .q-mark { color: var(--teal); font-family: var(--sans); font-weight: 500; font-size: var(--type-record); letter-spacing: 0.08em; flex: none; width: 42px; }
.faq summary:hover { background: var(--panel); }
.faq .faq-a { padding: 0 4px 20px 60px; color: var(--ink); max-width: var(--measure); }
.faq .faq-a p { margin-top: 10px; }
.faq .faq-a p:first-child { margin-top: 0; }
.faq-chev { margin-left: auto; align-self: center; color: var(--slate);
  transition: transform var(--motion-fast) var(--ease-move); }
.faq details[open] .faq-chev { transform: rotate(180deg); }

/* ---------- in-prose disclosure (details.fold) ---------- */
details.fold { margin-top: var(--space-rhythm); }
details.fold > summary { list-style: none; cursor: pointer; display: flex; gap: 12px;
  align-items: baseline; min-height: 44px; padding: 8px 0; }
details.fold > summary::-webkit-details-marker { display: none; }
details.fold > summary:hover .fold-q { text-decoration: underline;
  text-decoration-color: var(--hairline); text-underline-offset: 3px; }
details.fold .fold-mark { flex: none; width: 18px; color: var(--slate);
  font-family: var(--sans); font-weight: 500; font-size: 15px; }
details.fold .fold-mark::before { content: '+'; }
details.fold[open] .fold-mark::before { content: '−'; }
details.fold .fold-q { font-family: var(--serif); font-weight: 500;
  font-size: clamp(16.5px, 1.8vw, 19px); line-height: 1.4; }
details.fold > .fold-body { padding: 2px 0 6px 30px; }
details.fold > .fold-body > p, details.fold > .fold-body li { max-width: 62ch; }

/* the route-line device (shared READ ON conversions) */
.route-line { font-size: var(--type-lead); margin-top: var(--space-rhythm); max-width: var(--measure); }

@media print {
  details > *:not(summary) { display: block !important; }
  details.fold .fold-mark, .posture .posture-mark, .faq-chev, .tier-chev { display: none !important; }
  .tip-bub { display: none !important; }
  /* the ambient field and its pause control do not print (ambient spec §8) */
  #plexus, .field-pause { display: none !important; }
}

/* ---------- shared inline-link tooltip ---------- */
.sec:has(.tip) { overflow-x: clip; }
.tip { position: relative; }
.tip-bub { position: absolute; left: 50%; transform: translateX(-50%); bottom: calc(100% + 9px); z-index: 40;
  width: max-content; max-width: min(248px, 68vw);
  background: var(--panel); color: var(--ink);
  border: 1px solid var(--fn-border); border-radius: var(--radius-sm);
  box-shadow: var(--shadow-drawer);
  padding: 7px 11px; font-family: var(--sans); font-size: 13px; line-height: 1.4;
  font-weight: 400; letter-spacing: 0; text-transform: none; white-space: normal;
  pointer-events: none; display: none; }
.tip-bub::after { content: ""; position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  border: 5px solid transparent; border-top-color: var(--fn-border); }
.tip:hover .tip-bub, .tip:focus-within .tip-bub { display: block; }
.tip.tip-off:hover .tip-bub, .tip.tip-off:focus-within .tip-bub { display: none; }

/* ---------- pan containers ---------- */
.pan-wrap { position: relative; }
.pan-wrap::before, .pan-wrap::after { content: ""; position: absolute; top: 0; bottom: 0;
  width: 36px; pointer-events: none; opacity: 0; z-index: 2;
  transition: opacity var(--motion-fast) var(--ease-move); }
.pan-wrap::before { left: 0; background: linear-gradient(to right, var(--ground), transparent); }
.pan-wrap::after { right: 0; background: linear-gradient(to left, var(--ground), transparent); }
.pan-wrap.fade-l::before { opacity: 1; }
.pan-wrap.fade-r::after { opacity: 1; }
.pan-x { overflow-x: auto; overflow-y: hidden; scrollbar-width: none; -ms-overflow-style: none; }
.pan-x::-webkit-scrollbar { display: none; height: 0; }
.pan-x[data-pan] { cursor: grab; }
.pan-x.panning { cursor: grabbing; user-select: none; }
.pan-hint { display: block; color: var(--slate); margin-top: 6px; }
.pan-hint[hidden] { display: none; }

/* ---------- the tier-mark cycle (device law: 1400ms hold + 600ms wipe in
 * site.js; the wipe transition below is the ruled 600ms device constant,
 * verbatim — ba993542 ruling 6) ---------- */
.tier-cycle { position: relative; display: block; width: 48px; height: 48px; }
.tier-cycle svg { position: absolute; inset: 0; width: 48px; height: 48px; }
.tier-cycle svg + svg { visibility: hidden; }
.tier-cycle.tc-live svg { visibility: hidden; }
.tier-cycle.tc-live svg.tc-on { visibility: visible; }
.tier-cycle.tc-live svg.tc-in { visibility: visible; z-index: 2; clip-path: inset(100% 0 0 0); }
.tier-cycle.tc-live svg.tc-in.tc-run { clip-path: inset(0 0 0 0); transition: clip-path 600ms var(--ease-move); }
@media (prefers-reduced-motion: reduce) { .tier-cycle svg { transition: none !important; } }
/* heterogeneous-mark hosts crossfade instead of wiping (queue §4:
 * 320ms + bare ease -> --motion-base + --ease-move) */
.nv-card .tier-cycle.tc-live svg.tc-in { clip-path: none; opacity: 0; transition: opacity var(--motion-base) var(--ease-move); }
.nv-card .tier-cycle.tc-live svg.tc-in.tc-run { clip-path: none; opacity: 1; }
.nv-card .tier-cycle.tc-live:has(svg.tc-in) svg.tc-on { opacity: 0; transition: opacity var(--motion-base) var(--ease-move); }

/* ---------- the commitment device (cadence constants CM_TICK/CM_BREAK/
 * CM_MAX live in site.js as device law; element transitions bind the slate:
 * cm-pip 180 -> --motion-fast (queue §4); cm-sq reveal/settle on the
 * base/fast tiers) ---------- */
:root { --cm-spent: #7f8d8a; }
[data-theme="dark"] { --cm-spent: #6f827d; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) { --cm-spent: #6f827d; }
}
.cm-device { display: flex; flex-wrap: wrap; align-items: flex-start;
  gap: clamp(10px, 1.4vw, 16px); margin-top: clamp(30px, 5vh, 54px); }
.cm-card { border: 1px solid var(--hairline); border-radius: var(--radius-md);
  background: var(--ground); padding: clamp(9px, 1.1vw, 12px);
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.cm-label { font-family: var(--sans); font-weight: 600; font-size: 12px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); }
.cm-fact { font-family: var(--sans); font-weight: 400; font-size: var(--type-record-sm);
  letter-spacing: 0.04em; color: var(--slate); }
.cm-dia { margin-top: 2px; }
.cm-dia svg { display: block; overflow: visible; }
@media (max-width: 940px) {
  .cm-device { flex-direction: column; }
  .cm-card { width: 100%; }
}
.cm-pip { transition: opacity var(--motion-fast) var(--ease-move); }
.cm-broken .cm-pip { opacity: 0; }
.cm-sq { opacity: 0; transform: scale(0.55); transform-box: fill-box; transform-origin: center;
  transition: opacity var(--motion-base) var(--ease-enter), transform var(--motion-base) var(--ease-move),
    fill var(--motion-base) linear, stroke var(--motion-base) linear; }
.cm-sq.cm-solo { opacity: 1; transform: none; }
.cm-broken .cm-sq { opacity: 1; transform: none; }
.cm-sq.spent { fill: var(--cm-spent); stroke: var(--cm-spent); }
@media (prefers-reduced-motion: reduce) { .cm-sq, .cm-pip { transition: none; } }

/* ---------- the Loop ring's per-scheme stops ---------- */
[data-theme="dark"] #loop-svg .lp-wk-stop { stop-color: #21251e; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) #loop-svg .lp-wk-stop { stop-color: #21251e; }
}
#loop-svg .lp-week { fill: color-mix(in srgb, var(--ink) 55%, var(--slate)); }
#loop-svg .lp-hz-stop { stop-color: var(--ink); }

/* ---------- EOI form (contact) ---------- */
.eoi { max-width: 560px; }
.eoi label { display: block; font-family: var(--sans); font-weight: 600; font-size: 11.5px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal-700); margin: 22px 0 8px; }
.eoi .why { display: block; font-weight: 500; text-transform: none; letter-spacing: 0.01em;
  color: var(--slate); font-size: 13px; margin-top: 4px; }
.eoi input, .eoi textarea { width: 100%; font: inherit; color: var(--ink); background: var(--ground);
  border: 1px solid var(--fn-border); border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px; }
.eoi textarea { min-height: 96px; resize: vertical; }
.eoi input:hover, .eoi textarea:hover { border-color: var(--teal); }
.eoi .form-note { color: var(--slate); font-size: var(--type-small); margin-top: 18px; max-width: 52ch; }
.eoi .submit-row { margin-top: 26px; display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
/* critical seats render inside the ruled tinted container (03cd1c3b ruling
 * 5's exhibited color-mix form: the deep critical mixed into the scheme
 * ground, the light critical step as its hairline; message text/marks at
 * the scheme-aware --critical) */
.eoi .err { color: var(--critical); font-size: 14px; margin-top: 12px; display: none;
  align-items: center; gap: 8px;
  background: color-mix(in srgb, #963325 16%, var(--ground));
  border: 1px solid color-mix(in srgb, #e3978c 28%, var(--ground));
  border-radius: var(--radius-sm); padding: 10px 14px; }
.eoi.show-err .err { display: flex; }
.eoi .err .ic { color: var(--critical); }
.eoi-confirm { display: none; border: 1px solid var(--hairline); border-left: 2px solid var(--success);
  background: var(--panel); border-radius: var(--radius-sm); padding: 22px 24px; max-width: 560px; }
.eoi-confirm .serif { font-size: clamp(19px, 2vw, 23px); line-height: 1.35; }
.eoi-confirm p { margin-top: 10px; color: var(--slate); font-size: var(--type-secondary); }
.eoi-confirm .confirm-ic { color: var(--success); flex: none; margin-top: 3px; }
.eoi-confirm .confirm-head { display: flex; gap: 12px; align-items: flex-start; }
.eoi-done .eoi { display: none; }
.eoi-done .eoi-confirm { display: block; }
.notice { border: 1px solid var(--hairline); border-left: 2px solid var(--teal);
  background: var(--panel); border-radius: var(--radius-sm); padding: 16px 18px; margin-top: 22px; max-width: 560px; }
.notice .mono, .notice .mono-sm { color: var(--teal-700); }
.notice p { font-size: var(--type-small); color: var(--ink); margin-top: 8px; max-width: 58ch; }
.notice p:first-child { margin-top: 0; }
.routes { border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: 20px 22px; margin-top: 22px; }
.routes .mono, .routes .mono-sm { color: var(--teal-700); }
.routes p { font-size: var(--type-secondary); margin-top: 10px; max-width: 52ch; }
.routes p:first-child { margin-top: 0; }

/* ---------- ambient field (every real page; the ambient spec governs.
 * Home carries the flagship form: no data-field, random seed, the opaque
 * .field-panel regime, alpha 1 everywhere. body[data-field] marks the
 * twelve deterministic glass-regime pages; the glass damping tokens are
 * read by field.js per node at draw time — the light pair, then the dark
 * partners via both dark selectors incl. the no-JS fallback, matching the
 * design source's after.css shape) ---------- */
#plexus { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
body[data-field] { --plexus-alpha-boost: 3.2; --plexus-alpha-glass: 0.38; }
[data-theme="dark"] body[data-field] { --plexus-alpha-boost: 1.6; --plexus-alpha-glass: 0.85; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) body[data-field] { --plexus-alpha-boost: 1.6; --plexus-alpha-glass: 0.85; }
}
.fg { position: relative; z-index: 1; }
.fg .site-head, .fg .site-foot { background: var(--ground); }
.fg .hero { background: transparent; border-bottom: 0; }
.fg .sec.sec-field { background: transparent; border-bottom: 0; padding: clamp(28px, 5vh, 64px) 0; }
.field-panel { background: var(--ground); border: 1px solid var(--hairline);
  border-radius: var(--radius-md); box-shadow: var(--shadow-1);
  padding: clamp(24px, 4vw, 48px); }
/* the per-section glass regime (ambient spec §7.2, on the data-field pages):
 * each content block — the .page-hero's .wrap and every .sec's .wrap /
 * .wrap-narrow — is its OWN translucent panel, never the whole main column:
 * a genuinely see-through ground (the field ghosts through) + backdrop
 * blur, hairline edge, and the width cap that keeps a crisp field strip on
 * both side margins at every viewport. field.js reads the same three
 * selectors for its under-panel damping rects. */
body[data-field] main .page-hero > .wrap,
body[data-field] main .sec > .wrap,
body[data-field] main .sec > .wrap-narrow {
  background: color-mix(in srgb, var(--ground) 60%, transparent);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  width: calc(100% - clamp(24px, 6vw, 88px));
  padding-block: clamp(28px, 4vh, 48px);
}
/* the panel gap: the section's own padding is the crisp band where the
 * field runs full-strength; the full-bleed hairline separators retire on
 * the glass pages (each panel carries its own edge instead) */
body[data-field] .sec { padding: clamp(16px, 2.6vh, 30px) 0; border-bottom: 0; }
body[data-field] .sec.tight { padding: clamp(14px, 2.2vh, 26px) 0; }
body[data-field] .page-hero { padding: clamp(18px, 3vh, 34px) 0 clamp(16px, 2.6vh, 30px); border-bottom: 0; }
/* the field module's own pause control (field.js creates .field-pause with
 * fixed placement + the 44px floor; the visual register is the sheet's) */
.field-pause { font-family: var(--sans); font-weight: 600; font-size: var(--type-record-sm); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--teal-700); background: var(--ground);
  border: 1px solid var(--hairline); border-radius: var(--radius-sm);
  padding: 10px 14px; cursor: pointer; box-shadow: var(--shadow-1); }
.field-pause:hover { border-color: var(--teal); }
.fg .site-foot { padding-bottom: 150px; }

/* ---------- reduced-motion note ---------- */
.rm-note { display: none; border: 1px solid var(--hairline); border-left: 2px solid var(--teal);
  background: var(--panel); border-radius: var(--radius-sm); padding: 12px 16px;
  margin-top: 16px; font-size: 14px; max-width: var(--measure); }
@media (prefers-reduced-motion: reduce) { .rm-note { display: block; } }

/* ---------- footer ---------- */
.site-foot { border-top: 1px solid var(--hairline); padding: 44px 0 56px; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 4fr) minmax(0, 3fr);
  gap: 32px clamp(28px, 4vw, 64px); align-items: start; }
.foot-label { color: var(--slate); letter-spacing: 0.14em; margin-bottom: 10px; }
.foot-honesty { color: var(--slate); font-size: 14px; max-width: 40ch; margin-top: 14px; }
.foot-route { font-size: var(--type-secondary); color: var(--ink); margin-top: 10px; max-width: 44ch; }
.foot-route:first-of-type { margin-top: 0; }
.site-foot a { overflow-wrap: anywhere; }
/* footer index rows land at the ruled 44px floor at every width (9d7910f1;
 * the sandbox's 32px seat is cured here) */
.foot-index a { font-family: var(--sans); font-weight: 600; font-size: var(--type-record-sm); letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--slate); text-decoration: none; padding: 4px 0;
  min-height: 44px; border-bottom: 1px solid transparent; display: inline-flex; align-items: center; }
.foot-index a:hover { color: var(--ink); border-bottom-color: var(--hairline); }
.foot-index-group { display: grid; grid-template-columns: 1fr; gap: 2px; margin-top: 24px; }
.foot-index-group:first-of-type { margin-top: 0; }
.foot-group-label { color: var(--teal-700); font-weight: 600; letter-spacing: 0.14em;
  padding-bottom: 7px; border-bottom: 1px solid var(--hairline); margin: 0 0 9px; }
.foot-index-direct { display: grid; grid-template-columns: 1fr; gap: 2px;
  margin-top: 14px; border-top: 1px solid var(--hairline); padding-top: 12px; }
.foot-record { margin-top: 40px; border-top: 1px solid var(--hairline); padding-top: 16px;
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px 32px; flex-wrap: wrap; }
.foot-entity { color: var(--slate); }
@media (max-width: 940px) {
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-index-group, .foot-index-direct { grid-template-columns: 1fr 1fr; gap: 0 20px; }
  .foot-group-label { grid-column: 1 / -1; }
  .foot-record { flex-direction: column; align-items: flex-start; }
}

/* ---------- the compact diagram regime (diagram-ladder floors; SVG text is
 * exempt from the page's 12px chrome floor — per-diagram floors govern) ---------- */
.dia-m .axis-text { font-size: 12px; }
.dia-m .sub-text { font-size: 11px; }
.dia-m .node-text { font-size: 13px; }
#loop svg.dia-m { max-width: 460px; }
#flow svg.dia-m { max-width: 400px; }
#flow-tech svg.dia-m { max-width: 380px; }
#net svg.dia-m { max-width: 480px; }
.pp-scroll { overflow-x: auto; }
#judgetree { overflow-x: auto; }
.fk-scrollhint { display: none; color: var(--slate); margin: 4px 0 6px; }
[data-fork] .sub-text { font-size: 12px; }
@media (max-width: 940px) {
  .pair-panel svg { max-width: 440px; }
  .pair-panel .axis-text { font-size: 13px; }
  .pp-scroll svg, #judgetree svg { min-width: 280px; }
  .fk-scroll { overflow-x: auto; }
  #fk-svg { min-width: 780px; }
  [data-fork] .axis-text { font-size: 12px; }
  [data-fork] .sub-text { font-size: 11px; }
  .fk-measure-t { font-size: 17px; }
  .fk-scrollhint { display: block; }
}

/* ---------- mobile chrome: the 12px non-diagram text floor (03cd1c3b
 * ruling 8). Every HTML text role below 12px steps up through the compact
 * regime (the 940px block covers the ruled sub-768 band); SVG text roles
 * are exempt — the diagram ladder governs them. ---------- */
@media (max-width: 940px) {
  .mono-sm, .sec-label, .kicker, .nav a.nav-link, .nav-group-btn, .cm-fact,
  .cta-btn, .replay, .pausectl, .field-pause, .fk-opt, .key, .foot-index a,
  .eoi label { font-size: 12px; }
}
@media (max-width: 600px) {
  .faq summary { gap: 10px; }
  .faq summary .q-mark { width: 30px; }
  .faq .faq-a { padding: 0 4px 20px 44px; }
  .posture .posture-a { padding-left: 18px; }
}
@media (max-width: 480px) {
  .field-panel { padding: 20px 16px; }
  .pair-panel { padding: 14px; }
  .clause { grid-template-columns: 40px minmax(0, 1fr); gap: 0 10px; }
}
@media (max-width: 374px) {
  .fk-mid { width: 34px; }
  .fk-opt { padding: 8px 9px; }
  .fk-toggle { gap: 8px; }
  .fk-wklabel { min-width: 0; }
}

/* ---------- per-page compositions (folded into the one sheet; the mainline
 * build has no per-page style blocks) ---------- */

/* home */
.wwd-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 28px; }
@media (max-width: 900px) { .wwd-grid { grid-template-columns: 1fr; } }
.wwd-card { border: 1px solid var(--hairline); border-radius: var(--radius-md); padding: clamp(20px, 2.6vw, 30px); }
.wwd-card .sec-mark { margin-bottom: 12px; }
.wwd-card h3 { font-family: var(--serif); font-weight: 500; font-size: clamp(18px, 1.9vw, 21px); line-height: 1.3; }
.wwd-card p { margin-top: 10px; font-size: 15.5px; line-height: 1.55; }
.judge-p { max-width: 36em; }
.judge-p + .judge-p { margin-top: 16px; }
.judge-points { margin-top: 10px; padding-left: 1.3em; max-width: 36em; }
.judge-points li { line-height: 1.6; margin-top: 6px; }
.judge-points + .judge-p { margin-top: 16px; }
.nav-surface { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin-top: 26px; align-items: start; }
@media (max-width: 900px) { .nav-surface { grid-template-columns: 1fr; } }
.nv-card .nv-label { color: var(--slate); margin-bottom: 2px; }
.nv-card p a { font-weight: 600; text-decoration-color: currentColor; }

/* workshop */
.cadence { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 30px; border: 1px solid var(--hairline); border-radius: var(--radius-md); overflow: hidden; background: var(--hairline); }
.cad-item { background: var(--ground); padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.cad-k { color: var(--slate); }
.cad-v { font-size: 15px; line-height: 1.45; }
@media (max-width: 720px) { .cadence { grid-template-columns: 1fr 1fr; } }
@media (max-width: 430px) { .cadence { grid-template-columns: 1fr; } }

/* decisions */
.t-reality { max-width: 40em; }
.t-reality + .t-reality { margin-top: var(--space-rhythm); }

/* program */
.tier-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 26px; }
.tier-card { border: 1px solid var(--hairline); border-radius: var(--radius-md); background: var(--ground); padding: 24px 22px 12px; display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.tier-card .sec-mark { margin-bottom: 2px; }
.tier-name { font-size: clamp(20px, 2.2vw, 24px); }
.tier-line { font-size: 16px; line-height: 1.55; }
.tier-anchor { color: var(--slate); font-size: var(--type-secondary); line-height: 1.55; }
.tier-stamp { color: var(--slate); border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 4px 10px; letter-spacing: 0.08em; }
.tier-more { margin-top: auto; width: 100%; border-top: 1px solid var(--hairline); }
.tier-more summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 15px; color: var(--link); }
.tier-more summary::-webkit-details-marker { display: none; }
.tier-more .tier-chev { color: var(--slate); transition: transform var(--motion-fast) var(--ease-move); }
.tier-more[open] .tier-chev { transform: rotate(180deg); }
.tier-more-body { padding: 2px 0 12px; }
.tier-more-body p { font-size: 15px; line-height: 1.65; }
.chip-grid { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; padding: 0; list-style: none; }
.chip { border: 1px solid var(--ink); border-radius: var(--radius-pill); padding: 9px 16px; color: var(--ink); font-size: 15px; line-height: 1.3; }
.integ { max-width: 34em; }
.integ + .integ { margin-top: 18px; }
@media (max-width: 940px) { .tier-grid { grid-template-columns: 1fr; } }

/* pricing */
.pane-head { display: flex; align-items: flex-start; gap: 18px; }
.pane-mark { width: 48px; height: 48px; flex: none; color: var(--ink); margin-top: 2px; }
.ladder { display: grid; grid-template-columns: 1fr 1fr 1.15fr; gap: 18px; align-items: stretch; margin-top: 26px; }
.ladder-card.primary { border: 2px solid var(--ink); }
.ladder-len { color: var(--slate); letter-spacing: 0.14em; }
.ladder-tag { color: var(--ink); letter-spacing: 0.12em; }
.ladder-name { font-size: clamp(20px, 2.2vw, 26px); line-height: 1.15; }
.ladder-body { font-size: 15.5px; line-height: 1.55; }
.ladder-fact { color: var(--slate); font-size: var(--type-small); line-height: 1.5; border-top: 1px solid var(--hairline); padding-top: 10px; margin-top: auto; width: 100%; }
.fc-panel { max-width: 720px; }
.ladder-terms { display: flex; gap: 5px; align-items: center; }
.ladder-terms .ttp { width: 11px; height: 11px; border-radius: 3px; border: 1.5px solid var(--ink); box-sizing: border-box; }
.ladder-terms .ttp.on { background: var(--ink); }
@media (max-width: 900px) { .ladder { grid-template-columns: 1fr; } }

/* technology */
.cap-label { margin: 30px 0 8px; }
.cap-stamp { color: var(--slate); margin-top: 16px; }
#flow-tech svg { color: var(--ink); }
.domain-line { max-width: 40em; margin-top: 26px; }

/* contact */
.fc-note { margin-bottom: 26px; }
.fc-note .mono, .fc-note .mono-sm { color: var(--slate); }

/* philosophy */
.page-hero .prose { margin-top: 24px; }
.page-hero .prose p { color: var(--slate); font-size: 15px; }

/* safety */
.route-rows { margin-top: 22px; }
.route-row { display: flex; align-items: center; gap: 10px; min-height: 44px; font-size: 16px; max-width: var(--measure); }
.route-row .route-ic { flex: none; margin-right: 0; vertical-align: 0; width: 18px; height: 18px; }
.held-line { font-size: clamp(17px, 1.9vw, 20px); line-height: 1.55; max-width: 44em; }
.quiet-close { max-width: 40em; }

/* facilitators */
.fl-ladder { margin: 18px 0 4px; }
.ladder-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ladder-step { font-family: var(--sans); font-size: 13px; letter-spacing: 0.1em; font-weight: 600; color: var(--ink); border: 1px solid var(--hairline); border-radius: var(--radius-pill); padding: 6px 14px; white-space: nowrap; }
.ladder-arrow { width: 16px; height: 16px; color: var(--slate); flex: none; }
.ladder-cap { margin-top: 12px; }
.craft-list { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
.craft-list li { position: relative; padding-left: 20px; max-width: 62ch; }
.craft-list li::before { content: ""; position: absolute; left: 2px; top: 0.62em; width: 6px; height: 6px; border-radius: 50%; background: var(--slate); }

/* ---------- reduced motion: everything complete, nothing loops ---------- */
@media (prefers-reduced-motion: reduce) {
  .a, .in .a, .run .d-line, .run .d-fade, .run .d-pop, .run .p-fill, .run .pair-panel {
    animation: none !important; opacity: 1 !important; transform: none !important;
  }
  .d-line { stroke-dashoffset: 0 !important; }
  .p-fill { transform: scaleY(1) !important; }
  .hop-dot { opacity: 1; }
  .lp-beat { opacity: 1 !important; }
  .pausectl { display: none; }
  .fkring { animation: none !important; }
  .fk-week, .fk-knob { transition: none !important; }
  .nav.open, .nav-menu.open { animation: none !important; }
  .nav-chev, .pan-wrap::before, .pan-wrap::after { transition: none; }
  .cta-btn, .cta-btn:hover, .cta-btn:active { transform: none; transition: none; }
  .posture .posture-mark .ic, .faq-chev, .tier-chev { transition: none; }
}
