@charset "UTF-8";
/*
 * PointNow — "Certificate"
 *
 * The visual world is security printing: a blue intaglio plate on porcelain
 * stock, with a gold seal. That is not decoration — what PointNow sells is an
 * issued reading that a third party underwrites against, so the page is built
 * to look like something that gets issued.
 *
 * Two rules that are load-bearing, not preferences:
 *
 *   1. NOTHING ON THIS PAGE IS EVER RED OR GREEN. Risk is encoded as ink
 *      density in the rosette (see rosette.js) and as full-vs-ghosted ink on
 *      probe rows. A screenshot of a bad score has to read as "measured
 *      precisely", never as "you failed", because these end up in decks.
 *
 *   2. DARK BLOCKS ARE NEUTRAL GRAPHITE, NEVER NAVY. The prototype at
 *      pointnow.vercel.app is a dark navy console and is a separate product.
 *      The site links to it and must not look like it.
 *
 * Sections below run in page order after the system. Section padding is owned
 * by .band and its modifiers only — no element selector may set it, or the
 * cascade starts fighting itself.
 */

/* ═══════════════════════════════════════════════════════════════ fonts ══ */

@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Archivo";
  src: url("assets/fonts/archivo-var-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-stretch: 100% 125%;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrumentsans-var.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrumentsans-var-ext.woff2") format("woff2");
  font-weight: 400 700;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Plex Mono";
  src: url("assets/fonts/plexmono-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Plex Mono";
  src: url("assets/fonts/plexmono-500.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

/* ═════════════════════════════════════════════════ animatable properties ══ */

/* Registered so they interpolate. --p is the scrub value every scroll-linked
   thing on the page reads from; --ink drives the §11 colour change. */
@property --p    { syntax: "<number>"; inherits: true;  initial-value: 0; }
@property --ink  { syntax: "<number>"; inherits: true;  initial-value: 0; }
@property --rail { syntax: "<number>"; inherits: true;  initial-value: 0; }

/* ═══════════════════════════════════════════════════════════════ tokens ══ */

:root {
  /* ground */
  --porcelain: #edf0ef;   /* cool, faintly green-grey. Zero yellow — not cream. */
  --chalk:     #fafcfb;
  --putty:     #ddd7c8;
  --putty-lo:  #e7e2d7;

  /* ink */
  --graphite:  #15181a;   /* neutral near-black. Never navy. */
  --graphite-2:#4a5250;   /* 6.9:1 on porcelain */
  --rule:      #d4d9d7;
  --rule-2:    #c3cac7;
  --on-dark:   #e6eae8;
  --on-dark-2: #9aa4a1;

  /* brand */
  --ultra:      #2b3df5;  /* 5.9:1 on porcelain — safe for body copy */
  --ultra-deep: #1d29ad;
  --ultra-lift: #8e9bff;  /* the only blue allowed to carry text on graphite */
  --ultra-tint: #e3e6fe;
  --ultra-wash: #f0f2ff;

  /* accent — fills, seals and marks only. Never text on a light ground. */
  --amber:      #e8a02e;
  --amber-deep: #8a5a0c;  /* 4.9:1 on porcelain, for the rare amber-ish word */
  --amber-tint: #fbf0dc;

  /* type */
  --display: "Archivo", ui-sans-serif, system-ui, sans-serif;
  --body: "Instrument Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --mono: "Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;

  /* metrics */
  --wrap: 1200px;
  --gut: clamp(20px, 5vw, 64px);
  --r: 6px;
  --r-lg: 10px;
  --shadow: 0 1px 2px rgb(21 24 26 / 0.04), 0 8px 24px -12px rgb(21 24 26 / 0.10);
  --shadow-lg: 0 1px 2px rgb(21 24 26 / 0.05), 0 20px 48px -22px rgb(21 24 26 / 0.20);

  --ease: cubic-bezier(0.22, 0.68, 0.28, 1);
  --dur: 620ms;

  color-scheme: light;
}

/* ════════════════════════════════════════════════════════════════ reset ══ */

*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* The nav is sticky, so anchored sections must clear it. */
  scroll-padding-top: 96px;
}

body {
  background: var(--porcelain);
  color: var(--graphite);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Kill the 300ms double-tap-zoom delay on every control, and pick the tap
   flash deliberately rather than inheriting Chrome's grey box. */
a, button, summary, [role="radio"] {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgb(43 61 245 / 0.14);
}

img, svg { display: block; max-width: 100%; }
button, input, select { font: inherit; color: inherit; }
button { background: none; border: 0; cursor: pointer; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; }

:where(a, button, [tabindex]):focus-visible {
  outline: 2px solid var(--ultra);
  outline-offset: 3px;
  border-radius: 2px;
}
.band--dark :where(a, button, [tabindex]):focus-visible,
.band--ultra :where(a, button, [tabindex]):focus-visible {
  outline-color: var(--amber);
}

.skip {
  position: fixed;
  top: 8px; left: 8px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--graphite);
  color: var(--on-dark);
  border-radius: var(--r);
  transform: translateY(-160%);
  transition: transform 180ms var(--ease);
}
.skip:focus { transform: none; }

.vh {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* ══════════════════════════════════════════════════════ type primitives ══ */

.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ultra);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 18px; height: 1px;
  background: currentColor;
  flex: none;
}
.band--dark .eyebrow { color: var(--ultra-lift); }
.band--ultra .eyebrow { color: var(--amber); }

.h1, .h2, .h3, .h4 {
  font-family: var(--display);
  font-weight: 600;
  font-stretch: 112%;
  letter-spacing: -0.022em;
  text-wrap: balance;
}

.h1 {
  font-size: clamp(2.35rem, 5.3vw, 4.35rem);
  line-height: 0.98;
  font-weight: 620;
}
.h2 {
  font-size: clamp(1.95rem, 3.9vw, 3.05rem);
  line-height: 1.04;
}
.h3 {
  font-size: clamp(1.2rem, 1.9vw, 1.5rem);
  line-height: 1.14;
  letter-spacing: -0.015em;
}
.h4 {
  font-size: 1.02rem;
  line-height: 1.25;
  font-stretch: 108%;
  letter-spacing: -0.008em;
}

.lede {
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
  line-height: 1.5;
  color: var(--graphite-2);
  max-width: 60ch;
  text-wrap: pretty;
}
.band--dark .lede, .band--ultra .lede { color: var(--on-dark-2); }
.band--ultra .lede { color: rgb(255 255 255 / 0.76); }

.fig {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "zero" 1;
}

.cite {
  font-family: var(--mono);
  font-size: 0.62em;
  vertical-align: super;
  line-height: 0;
  color: var(--ultra);
  text-decoration: none;
  padding-inline: 1px;
}
.cite:hover { text-decoration: underline; }
.band--dark .cite { color: var(--ultra-lift); }

/* ════════════════════════════════════════════════════════════ structure ══ */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gut);
}

/* The single owner of vertical rhythm. */
.band {
  padding-block: clamp(76px, 10.5vw, 152px);
  position: relative;
}
.band--tight  { padding-block: clamp(56px, 7vw, 92px); }
.band--chalk  { background: var(--chalk); }
.band--putty  { background: var(--putty-lo); }
.band--dark   { background: var(--graphite); color: var(--on-dark); }
.band--ultra  { background: var(--ultra); color: #fff; }

/* Wide enough that a display headline breaks where the sentence wants to,
   rather than where a body-copy measure forces it. The lede keeps its own
   narrower measure. */
.band__head { max-width: 78ch; }
.band__head .h2 { margin-top: 18px; }
.band__head .lede { margin-top: 20px; }

.rule {
  height: 1px;
  background: var(--rule);
  border: 0;
}
.band--dark .rule { background: rgb(255 255 255 / 0.12); }

/* Modular block. The page's one container idiom. */
.card {
  background: var(--chalk);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  box-shadow: var(--shadow);
}
.band--chalk .card { background: #fff; }
.band--dark .card {
  background: #1c2023;
  border-color: rgb(255 255 255 / 0.10);
  box-shadow: none;
}

/* ═══════════════════════════════════════════════════════════════ motion ══ */

/*
 * One metaphor: scrolling the page is the plate being inked and the document
 * being issued. Two mechanisms only —
 *
 *   .rise / .wipe   one-shot entrances, driven by IntersectionObserver adding
 *                   .is-in. Universal support, never reversed.
 *   --p / --ink     scrubbed values, driven by CSS scroll-driven timelines
 *                   where available and by a rAF fallback in main.js where
 *                   not. main.js sets html.no-sdt when it has to take over.
 *
 * Everything is transform and opacity. Nothing animates layout.
 */

.js .rise { will-change: opacity, transform; }

.js .rise {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity var(--dur) var(--ease) var(--d, 0ms),
    transform var(--dur) var(--ease) var(--d, 0ms);
}
.js .rise.is-in { opacity: 1; transform: none; }

/*
 * The engraving wipe: the plate printing left to right, with a soft leading
 * edge. Deliberately a MASK and not clip-path — clip-path collapses the
 * element's visual rect to zero, which makes IntersectionObserver unable to
 * ever see it, so the reveal that depends on the observer can never fire. A
 * mask changes what is painted without touching the box.
 */
.js .wipe {
  -webkit-mask-image: linear-gradient(90deg, #000 0 46%, rgb(0 0 0 / 0) 62%);
  mask-image: linear-gradient(90deg, #000 0 46%, rgb(0 0 0 / 0) 62%);
  -webkit-mask-size: 240% 100%;
  mask-size: 240% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: 100% 0;
  mask-position: 100% 0;
  transition:
    -webkit-mask-position 900ms var(--ease) var(--d, 0ms),
    mask-position 900ms var(--ease) var(--d, 0ms);
}
.js .wipe.is-in { -webkit-mask-position: 0 0; mask-position: 0 0; }

.js .rise.is-in { will-change: auto; }

/* The reading rail — scroll progress as an instrument reading. */
.railbar {
  position: fixed;
  inset: 0 0 auto 0;
  height: 2px;
  z-index: 120;
  background: transparent;
  pointer-events: none;
}
.railbar i {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ultra);
  transform-origin: 0 50%;
  transform: scaleX(var(--rail, 0));
}
.railbar i::after {
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 2px; height: 6px;
  background: var(--amber);
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    html:not(.no-sdt) .railbar i {
      animation: railfill linear both;
      animation-timeline: scroll(root block);
    }
  }
}
@keyframes railfill { from { --rail: 0; } to { --rail: 1; } }

/* ═════════════════════════════════════════════════════ buttons and links ══ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  background: var(--ultra);
  color: #fff;
  border-radius: var(--r);
  font-weight: 600;
  font-size: 0.94rem;
  letter-spacing: -0.005em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background 200ms var(--ease), transform 200ms var(--ease);
}
/* The amber wipe: the seal being pressed. */
.btn::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 320ms var(--ease);
}
.btn:hover { background: var(--ultra-deep); }
.btn:hover::after { transform: scaleX(1); }
.btn:active { transform: translateY(1px); }

.btn--lg { padding: 16px 28px; font-size: 1rem; }
.btn--sm { padding: 9px 15px; font-size: 0.86rem; }

.btn--ghost {
  background: transparent;
  color: var(--ultra);
  border: 1px solid var(--rule-2);
}
.btn--ghost:hover { background: var(--ultra-wash); border-color: var(--ultra); }

.band--dark .btn--ghost {
  color: var(--on-dark);
  border-color: rgb(255 255 255 / 0.22);
}
.band--dark .btn--ghost:hover { background: rgb(255 255 255 / 0.06); border-color: var(--on-dark); }

.band--ultra .btn {
  background: #fff;
  color: var(--ultra-deep);
}
.band--ultra .btn:hover { background: var(--amber-tint); }

.arrow {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--ultra);
  text-decoration: none;
  padding-block: 4px;
  background-image: linear-gradient(var(--amber), var(--amber));
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: 0% 2px;
  transition: background-size 300ms var(--ease);
}
.arrow:hover { background-size: 100% 2px; }
.arrow span:last-child { transition: transform 260ms var(--ease); }
.arrow:hover span:last-child { transform: translateX(3px); }
.band--dark .arrow { color: var(--ultra-lift); }
.band--ultra .arrow { color: #fff; }

.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 26px;
}

/* ══════════════════════════════════════════════════════════════════ nav ══ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgb(237 240 239 / 0.82);
  backdrop-filter: saturate(1.6) blur(14px);
  -webkit-backdrop-filter: saturate(1.6) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 260ms var(--ease), background 260ms var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--rule);
  background: rgb(237 240 239 / 0.94);
}
.nav__in {
  max-width: var(--wrap);
  margin-inline: auto;
  padding: 14px var(--gut);
  display: flex;
  align-items: center;
  gap: 24px;
  transition: padding 260ms var(--ease);
}
.nav.is-stuck .nav__in { padding-block: 9px; }

.mark {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
  font-family: var(--display);
  font-weight: 620;
  font-stretch: 112%;
  font-size: 1.16rem;
  letter-spacing: -0.03em;
  margin-right: auto;
}
.mark svg { width: 22px; height: 22px; color: var(--ultra); flex: none; }
.mark em { font-style: normal; color: var(--ultra); }

.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
}
.nav__links a:not(.btn) {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--graphite-2);
  text-decoration: none;
  transition: color 180ms var(--ease);
}
.nav__links a:not(.btn):hover { color: var(--ultra); }

.nav__burger { display: none; }

/* ═════════════════════════════════════════════════════════════════ hero ══ */

.hero {
  padding-block: clamp(44px, 6vw, 88px) clamp(64px, 8vw, 116px);
}
/* The headline runs the full measure, then copy and the issued profile sit
   side by side beneath it. A display face this large needs the whole grid —
   boxed into a half column it wraps to eight lines and stops being a hero. */
.hero__in { display: grid; gap: clamp(32px, 4.5vw, 60px); }
.hero__h1 { margin-top: 22px; max-width: 17ch; }
/* Two statements, two blocks. Letting the second sentence begin mid-line
   reads as a wrap accident rather than a turn in the argument. */
.hero__h1 em {
  display: block;
  font-style: normal;
  color: var(--ultra);
}
.hero__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.82fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.hero__sub {
  font-size: clamp(1.05rem, 1.35vw, 1.19rem);
  line-height: 1.55;
  color: var(--graphite-2);
  max-width: 52ch;
  text-wrap: pretty;
}
.hero__sub strong { color: var(--graphite); font-weight: 600; }
.hero .cta-row { margin-top: 30px; }

.hero__proof {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid var(--rule);
  display: flex;
  gap: 12px;
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--graphite-2);
  max-width: 50ch;
}
.hero__proof b {
  font-family: var(--mono);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--graphite);
  background: var(--amber);
  padding: 3px 7px;
  border-radius: 3px;
  height: fit-content;
  white-space: nowrap;
  flex: none;
}

/* ─────────────────────────────────────────────── the risk profile card ── */

/* Not a .rise — main.js writes transform on this element for the page's one
   parallax drift, and the two would fight. Entry is opacity only. */
.js .hero__gauge { opacity: 0; animation: cardin 700ms var(--ease) 140ms forwards; }
@keyframes cardin { to { opacity: 1; } }

.profile {
  background: var(--chalk);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  position: relative;
}
/* The plate edge: a hairline inset, the way a certificate is bordered. */
.profile::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid var(--ultra-tint);
  border-radius: 4px;
  pointer-events: none;
  z-index: 1;
}
.profile__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--graphite-2);
  position: relative;
  z-index: 2;
}
.profile__seal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px 3px 6px;
  background: var(--amber);
  color: var(--graphite);
  border-radius: 3px;
  font-weight: 500;
  letter-spacing: 0.09em;
}
.profile__seal::before {
  content: "";
  width: 6px; height: 6px;
  border-radius: 50%;
  background: currentColor;
}
.profile__id { margin-left: auto; color: var(--rule-2); }

.profile__stage {
  padding: clamp(8px, 2vw, 20px);
  display: grid;
  place-items: center;
  position: relative;
  z-index: 2;
}

.profile__foot {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--rule);
  position: relative;
  z-index: 2;
}
.profile__cell {
  padding: 14px 16px;
  border-right: 1px solid var(--rule);
}
.profile__cell:last-child { border-right: 0; }
.profile__k {
  display: block;
  font-family: var(--mono);
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite-2);
}
.profile__v {
  display: block;
  margin-top: 5px;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--graphite);
}

/* ══════════════════════════════════════════════════════════════ rosette ══ */

.ros {
  position: relative;
  width: 100%;
  max-width: 460px;
  aspect-ratio: 1;
  margin-inline: auto;
  container-type: inline-size;
  --p: 1;
  --ros-ground: var(--chalk);
}
.ros__knock { opacity: var(--p); }
.ros__svg { width: 100%; height: 100%; overflow: visible; }

.ros__field {
  fill: none;
  stroke: var(--ultra);
  stroke-width: var(--ros-weight, 0.34);
  opacity: var(--ros-ink, 0.5);
  transition: opacity 500ms var(--ease), stroke-width 500ms var(--ease);
}
/* Each petal appears as the scrub value passes its index — the plate inking
   up one pass at a time. clamp() does the thresholding CSS can't otherwise do. */
.ros__field > use {
  opacity: clamp(0, calc(var(--p) * (var(--ros-n) + 6) - var(--ros-i)), 1);
}

.ros__ticks line { stroke: var(--ultra); stroke-width: 0.5; opacity: 0.28; }
.ros__ticks .ros__tick--maj { stroke-width: 0.8; opacity: 0.5; }
.ros__spokes line { stroke: var(--ultra); stroke-width: 0.4; opacity: 0.16; }

.ros__fill {
  fill: var(--ultra);
  opacity: calc(0.07 * var(--p));
  transition: d 520ms var(--ease);
}
.ros__echo {
  fill: none;
  stroke: var(--ultra);
  stroke-width: 0.45;
  opacity: calc(0.22 * var(--p));
  transition: d 520ms var(--ease);
}
.ros__line {
  fill: none;
  stroke: var(--ultra);
  stroke-width: 1.05;
  stroke-linejoin: round;
  stroke-dasharray: var(--ros-len, 700);
  stroke-dashoffset: calc(var(--ros-len, 700) * (1 - var(--p)));
  transition: d 520ms var(--ease);
}
.ros__dots circle {
  fill: var(--chalk);
  stroke: var(--ultra);
  stroke-width: 1;
  opacity: var(--p);
}
.ros__mark line { stroke: var(--amber); stroke-width: 1.6; opacity: var(--p); }
.ros__markdot { fill: var(--amber); stroke: var(--chalk); stroke-width: 1; opacity: var(--p); }

.ros__read {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  text-align: center;
  pointer-events: none;
  line-height: 1;
}
.ros__num {
  font-family: var(--display);
  font-weight: 640;
  font-stretch: 112%;
  font-size: clamp(2.4rem, 8cqw, 3.4rem);
  letter-spacing: -0.04em;
  font-variant-numeric: tabular-nums;
}
.ros__unit {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--graphite-2);
  margin-top: 3px;
}
.ros__lab {
  font-family: var(--mono);
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ultra);
  margin-top: 9px;
}

/* annotated variant — labels are real HTML so they stay legible and selectable */
.ros--annotated { max-width: 540px; }
.ros__labels { position: absolute; inset: 0; }
.ros__label {
  position: absolute;
  transform: translate(-50%, -50%);
  display: grid;
  gap: 1px;
  padding: 5px 9px;
  background: var(--chalk);
  border: 1px solid var(--rule);
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  transition: border-color 200ms var(--ease), background 200ms var(--ease);
}
.ros__label:hover, .ros__label[aria-current="true"] {
  border-color: var(--ultra);
  background: var(--ultra-wash);
}
.ros__lname {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}
.ros__lscore {
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.68rem;
  color: var(--ultra);
}

/* rosette on a dark ground */
.band--dark .ros__field,
.band--dark .ros__ticks line,
.band--dark .ros__spokes line,
.band--dark .ros__echo,
.band--dark .ros__line,
.band--dark .ros__fill { stroke: var(--ultra-lift); fill: none; }
.band--dark .ros__fill { fill: var(--ultra-lift); stroke: none; }
.band--dark .ros__dots circle { fill: var(--graphite); stroke: var(--ultra-lift); }
.band--dark .ros__lab { color: var(--ultra-lift); }
.band--dark .ros__unit { color: var(--on-dark-2); }
.band--dark .ros, .band--dark .card .ros { --ros-ground: #1c2023; }
.band--putty .ros { --ros-ground: var(--putty-lo); }

/* ═══════════════════════════════════════════════════════════ §3 why now ══ */

.why__grid {
  margin-top: clamp(40px, 5vw, 68px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.beat {
  background: var(--porcelain);
  padding: 26px 22px 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}
.beat__date {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ultra);
}
.beat__dot {
  position: absolute;
  top: -4px; left: 22px;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--rule-2);
}
.beat__body {
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--graphite-2);
  margin-top: auto;
}
.beat--now { background: var(--graphite); color: var(--on-dark); }
.beat--now .beat__date { color: var(--amber); }
.beat--now .beat__dot { background: var(--amber); }
.beat--now .beat__body { color: var(--on-dark-2); }
.beat--now .h4 { color: #fff; }

.stats {
  margin-top: clamp(40px, 5vw, 64px);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
}
.stat__v {
  font-family: var(--display);
  font-weight: 620;
  font-stretch: 112%;
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  line-height: 1;
  letter-spacing: -0.035em;
  font-variant-numeric: tabular-nums;
  color: var(--ultra);
}
.stat__l {
  margin-top: 10px;
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 24ch;
}
.stat__s {
  margin-top: 7px;
  font-family: var(--mono);
  font-size: 0.68rem;
  line-height: 1.4;
  color: var(--graphite-2);
}

/* ═════════════════════════════════════════════════════════ §4 incident ══ */

.incident {
  margin-top: clamp(36px, 4.5vw, 60px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.92fr);
  gap: clamp(30px, 4.5vw, 64px);
  align-items: start;
}

.beats { display: grid; gap: 16px; counter-reset: b; }
.beats li {
  display: grid;
  grid-template-columns: 26px 1fr;
  gap: 14px;
  align-items: baseline;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--on-dark);
}
.beats li::before {
  counter-increment: b;
  content: counter(b, decimal-leading-zero);
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--ultra-lift);
}
.beats em { font-style: italic; color: #fff; }

.verdict {
  margin-top: 30px;
  padding: 22px 24px;
  background: rgb(255 255 255 / 0.05);
  border-left: 2px solid var(--amber);
  border-radius: 0 var(--r) var(--r) 0;
}
.verdict p { font-size: 1.06rem; line-height: 1.48; }
.verdict cite {
  display: block;
  margin-top: 12px;
  font-family: var(--mono);
  font-size: 0.72rem;
  font-style: normal;
  color: var(--on-dark-2);
}

/* the replay */
.chat { display: grid; }
.chat__bar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 16px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--on-dark-2);
}
.chat__live { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; color: var(--amber); }
.chat__live i {
  width: 6px; height: 6px; border-radius: 50%;
  background: currentColor;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.25; } }

.chat__log {
  padding: 18px 16px;
  display: grid;
  gap: 14px;
  min-height: 268px;
  align-content: start;
}
.msg {
  max-width: 88%;
  padding: 12px 15px;
  border-radius: var(--r);
  font-size: 0.93rem;
  line-height: 1.5;
}
.msg--user {
  justify-self: end;
  background: rgb(255 255 255 / 0.08);
}
.msg--bot {
  justify-self: start;
  background: var(--ultra);
  color: #fff;
}
.msg--sys {
  justify-self: stretch;
  max-width: none;
  background: transparent;
  border: 1px dashed var(--amber);
  color: var(--amber);
  font-family: var(--mono);
  font-size: 0.74rem;
  line-height: 1.5;
  padding: 10px 13px;
}
.msg .caret {
  display: inline-block;
  width: 2px; height: 1em;
  background: currentColor;
  vertical-align: -2px;
  animation: blink 1s steps(2) infinite;
}
@keyframes blink { 50% { opacity: 0; } }

.chat__foot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-top: 1px solid rgb(255 255 255 / 0.1);
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--on-dark-2);
}
.chat__again { margin-left: auto; color: var(--ultra-lift); font-family: var(--mono); font-size: 0.72rem; }
.chat__again:hover { text-decoration: underline; }

.replay-note {
  margin-top: 16px;
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--on-dark-2);
}
.replay-note strong { color: #fff; font-weight: 600; }

/* ══════════════════════════════════════════════════════════════ §5 gap ══ */

.gap {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  overflow: hidden;
  margin-top: clamp(34px, 4vw, 52px);
}
.gap__half { background: var(--chalk); padding: clamp(26px, 3.4vw, 40px); }
.gap__tag {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--graphite-2);
}
.gap__big {
  margin-top: 14px;
  font-family: var(--display);
  font-weight: 620;
  font-stretch: 112%;
  font-size: clamp(1.9rem, 3.4vw, 2.7rem);
  line-height: 1;
  letter-spacing: -0.035em;
}
.gap__half--alt .gap__big { color: var(--ultra); }
.gap__note { margin-top: 10px; color: var(--graphite-2); font-size: 0.95rem; }

.thesis { margin-top: clamp(34px, 4vw, 52px); max-width: 68ch; }
.thesis__line {
  font-family: var(--display);
  font-weight: 620;
  font-stretch: 112%;
  font-size: clamp(1.5rem, 2.9vw, 2.25rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
}
.thesis__sub { margin-top: 16px; color: var(--graphite-2); }

/* ═══════════════════════════════════════════════════════════ §6 steps ══ */

/*
 * The page's one pinned moment. The artifact column sticks while the three
 * text panels scroll past it and the artifact transforms through the
 * sequence. Pure position:sticky, so it degrades to a normal two-column
 * layout wherever sticky is unavailable, and unpins entirely on narrow
 * screens (see the responsive block).
 */
.steps {
  margin-top: clamp(40px, 5vw, 68px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: start;
}
.steps__panels { display: grid; gap: clamp(60px, 14vh, 140px); }
.step { max-width: 46ch; }
.step__n {
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--rule-2);
  transition: color 320ms var(--ease);
}
.step.is-active .step__n { color: var(--ultra); }
.step .h3 { margin-top: 10px; }
.step__lead { margin-top: 12px; font-size: 1.08rem; font-weight: 500; }
.step__body { margin-top: 12px; color: var(--graphite-2); font-size: 0.97rem; }
.step__out {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--graphite);
  background: var(--ultra-tint);
  padding: 5px 10px;
  border-radius: 3px;
}
.step__out::before { content: "→"; color: var(--ultra); }

.steps__stage {
  position: sticky;
  top: clamp(96px, 22vh, 168px);
}
.stage {
  position: relative;
  background: var(--chalk);
  border: 1px solid var(--rule);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  aspect-ratio: 1 / 0.92;
  overflow: hidden;
}
.stage__pane {
  position: absolute;
  inset: 0;
  padding: clamp(20px, 3vw, 32px);
  display: grid;
  align-content: center;
  gap: 12px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  pointer-events: none;
}
.stage__pane.is-on { opacity: 1; transform: none; }

/* pane 1 — the audit sheet */
.qrow {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 11px 14px;
  border: 1px solid var(--rule);
  border-radius: 4px;
  background: #fff;
  font-size: 0.86rem;
}
.qrow__a {
  font-family: var(--mono);
  font-size: 0.74rem;
  color: var(--ultra);
  white-space: nowrap;
}
.qrow--mult { border-color: var(--ultra-tint); background: var(--ultra-wash); }

/* pane 2 — the probe stream */
.prow {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 0.76rem;
}
.prow__id { color: var(--graphite); }
.prow__sev { color: var(--graphite-2); font-size: 0.68rem; letter-spacing: 0.08em; text-transform: uppercase; }
.prow__v { font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase; }
.prow[data-v="pass"] { opacity: 0.32; }
.prow[data-v="pass"] .prow__v { color: var(--graphite-2); }
.prow[data-v="fail"] .prow__id,
.prow[data-v="fail"] .prow__v { color: var(--ultra); font-weight: 500; }

/* pane 3 — the issued certificate */
.issued { display: grid; gap: 14px; justify-items: center; text-align: center; }
.issued__seal {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 12px;
  background: var(--amber);
  color: var(--graphite);
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.issued__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: 4px;
  overflow: hidden;
  width: 100%;
}
.issued__cell { background: #fff; padding: 11px 8px; }

/* ═════════════════════════════════════════════════════════ §7 equation ══ */

.eq {
  margin-top: clamp(28px, 3.4vw, 44px);
  font-family: var(--display);
  font-weight: 620;
  font-stretch: 112%;
  font-size: clamp(1.7rem, 4.4vw, 3.2rem);
  line-height: 1;
  letter-spacing: -0.035em;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.3em;
}
.eq b { font-weight: inherit; color: var(--ultra); }
.eq i { font-style: normal; color: var(--rule-2); }

.machine {
  margin-top: clamp(34px, 4vw, 54px);
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
.knobs { display: grid; gap: 26px; }
.knob__label { font-weight: 600; font-size: 1rem; }
.knob__hint { margin-top: 4px; font-size: 0.86rem; color: var(--graphite-2); }
.seg {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.seg button {
  padding: 8px 13px;
  border: 1px solid var(--rule-2);
  border-radius: 4px;
  background: var(--chalk);
  font-size: 0.85rem;
  font-weight: 500;
  transition:
    background 180ms var(--ease),
    border-color 180ms var(--ease),
    color 180ms var(--ease);
}
.seg button:hover { border-color: var(--ultra); color: var(--ultra); }
.seg button[aria-checked="true"] {
  background: var(--ultra);
  border-color: var(--ultra);
  color: #fff;
}
.seg .mult {
  font-family: var(--mono);
  font-size: 0.74rem;
  opacity: 0.62;
  margin-left: 6px;
}

.machine__out { display: grid; justify-items: center; gap: 16px; }
.machine__read {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--graphite-2);
  text-align: center;
  max-width: 32ch;
  min-height: 3em;
}
.machine__read b { color: var(--graphite); font-weight: 600; }

.method-note {
  margin-top: clamp(28px, 3.4vw, 44px);
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--graphite-2);
  max-width: 74ch;
}
.wt {
  display: inline-block;
  font-family: var(--mono);
  font-size: 0.76rem;
  padding: 2px 7px;
  border: 1px solid var(--rule-2);
  border-radius: 3px;
  margin-right: 4px;
  color: var(--graphite);
  white-space: nowrap;
}
.method-note code {
  font-family: var(--mono);
  font-size: 0.86em;
  background: var(--ultra-wash);
  color: var(--ultra-deep);
  padding: 2px 6px;
  border-radius: 3px;
}

/* ═════════════════════════════════════════════════════════════ §8 axes ══ */

.axes {
  margin-top: clamp(34px, 4vw, 56px);
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 5vw, 68px);
  align-items: center;
}
.axtable { width: 100%; border-collapse: collapse; }
.axtable caption {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--graphite-2);
  padding-bottom: 10px;
}
.axtable th {
  text-align: left;
  font-family: var(--mono);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--graphite-2);
  padding: 8px 10px;
  border-bottom: 1px solid var(--rule-2);
}
.axtable th:not(:first-child) { text-align: right; }
.axtable td {
  padding: 13px 10px;
  border-bottom: 1px solid var(--rule);
  vertical-align: top;
  font-size: 0.92rem;
}
.axtable td:not(:first-child) {
  text-align: right;
  font-family: var(--mono);
  font-variant-numeric: tabular-nums;
  font-size: 0.86rem;
  white-space: nowrap;
}
.axtable tr { transition: background 180ms var(--ease); cursor: default; }
.axtable tbody tr:hover, .axtable tr[aria-current="true"] { background: var(--ultra-wash); }
.axtable .axname { font-weight: 600; }
.axtable .axblurb {
  display: block;
  margin-top: 3px;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--graphite-2);
  max-width: 34ch;
}
.axtable .axscore { color: var(--ultra); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════ §9 player ══ */

.player { margin-top: clamp(32px, 4vw, 52px); }
.player__target {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  padding: clamp(20px, 2.6vw, 28px);
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.player__target > div { flex: 1 1 320px; }
.player__tname { font-weight: 600; font-size: 1.04rem; display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.tag {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 7px;
  border-radius: 3px;
  background: var(--amber);
  color: var(--graphite);
  font-weight: 500;
}
.player__tmeta { margin-top: 6px; font-size: 0.88rem; color: var(--on-dark-2); }

.player__stage { padding: clamp(18px, 2.4vw, 26px); }
.player__meter { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.meter {
  flex: 1 1 200px;
  height: 3px;
  background: rgb(255 255 255 / 0.12);
  border-radius: 2px;
  overflow: hidden;
}
.meter i {
  display: block;
  height: 100%;
  width: 0;
  background: var(--ultra-lift);
  transition: width 180ms linear;
}
.player__count { font-family: var(--mono); font-size: 0.78rem; color: var(--on-dark-2); font-variant-numeric: tabular-nums; }
.player__skip { font-family: var(--mono); font-size: 0.76rem; color: var(--ultra-lift); }
.player__skip:hover { text-decoration: underline; }

.feed {
  margin-top: 18px;
  display: grid;
  gap: 0;
  max-height: 340px;
  overflow: hidden;
}
.feed li {
  display: grid;
  grid-template-columns: 84px 1fr auto auto;
  gap: 14px;
  align-items: center;
  padding: 9px 2px;
  border-bottom: 1px solid rgb(255 255 255 / 0.07);
  font-family: var(--mono);
  font-size: 0.78rem;
  animation: feedin 260ms var(--ease) both;
}
@keyframes feedin { from { opacity: 0; transform: translateY(-6px); } }
.feed .f-dim { color: var(--on-dark-2); font-size: 0.72rem; letter-spacing: 0.04em; }
.feed .f-sev { font-size: 0.66rem; letter-spacing: 0.09em; text-transform: uppercase; color: var(--on-dark-2); }
.feed .f-v { font-size: 0.68rem; letter-spacing: 0.1em; text-transform: uppercase; }
/* No red, no green. A pass recedes to a hairline; a failure gets full ink. */
.feed li[data-v="pass"] { opacity: 0.3; }
.feed li[data-v="pass"] .f-v { color: var(--on-dark-2); }
.feed li[data-v="fail"] .f-id,
.feed li[data-v="fail"] .f-v { color: var(--ultra-lift); font-weight: 500; }
.feed li[data-v="fail"] { border-bottom-color: rgb(142 155 255 / 0.28); }

.result {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  padding: clamp(20px, 3vw, 34px);
}
.result__head { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.02em; }
.result__rem { margin-top: 16px; font-size: 0.95rem; color: var(--on-dark-2); line-height: 1.55; }
.result__rem b { color: var(--amber); font-family: var(--mono); font-weight: 500; }

.findings { padding: 0 clamp(20px, 3vw, 34px) clamp(24px, 3vw, 34px); }
.findings__head {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--on-dark-2);
  padding-bottom: 12px;
  border-bottom: 1px solid rgb(255 255 255 / 0.1);
}
.finding { padding: 18px 0; border-bottom: 1px solid rgb(255 255 255 / 0.07); display: grid; gap: 10px; }
.finding__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-family: var(--mono); font-size: 0.72rem; color: var(--on-dark-2); }
.finding__id { color: var(--ultra-lift); }
.finding__sev { border: 1px solid rgb(255 255 255 / 0.2); padding: 2px 7px; border-radius: 3px; letter-spacing: 0.08em; text-transform: uppercase; font-size: 0.64rem; }
.finding__q { font-size: 0.92rem; color: var(--on-dark-2); }
.finding__q::before { content: "→ "; color: var(--ultra-lift); }
.finding__a { font-size: 0.95rem; line-height: 1.5; padding: 12px 15px; background: rgb(255 255 255 / 0.05); border-radius: var(--r); border-left: 2px solid var(--ultra-lift); }
.finding__why { font-size: 0.86rem; color: var(--on-dark-2); font-style: italic; }

.honesty {
  margin-top: clamp(28px, 3.4vw, 40px);
  padding: clamp(20px, 2.6vw, 26px);
  border: 1px dashed rgb(255 255 255 / 0.24);
  border-radius: var(--r);
  display: grid;
  gap: 12px;
  max-width: 74ch;
}
.honesty__h {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--amber);
}
.honesty p:not(.honesty__h) { font-size: 0.92rem; line-height: 1.6; color: var(--on-dark-2); }
.honesty strong { color: #fff; font-weight: 600; }

.player__out {
  margin-top: clamp(28px, 3.4vw, 44px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
}
.player__expect { font-size: 0.88rem; color: var(--on-dark-2); max-width: 40ch; }

/* ══════════════════════════════════════════════════ §10 the deliverable ══ */

.deliver {
  margin-top: clamp(36px, 4.5vw, 60px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
.deliver__card { padding: clamp(24px, 3vw, 36px); }
.deliver__tag {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ultra);
  padding: 4px 9px;
  border: 1px solid var(--ultra-tint);
  background: var(--ultra-wash);
  border-radius: 3px;
}
.deliver__who { margin-top: 16px; }
.deliver__list { margin-top: 20px; display: grid; gap: 14px; }
.deliver__list li {
  display: grid;
  grid-template-columns: 16px 1fr;
  gap: 12px;
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--graphite-2);
}
.deliver__list li::before {
  content: "";
  width: 7px; height: 7px;
  margin-top: 0.5em;
  border: 1px solid var(--ultra);
  border-radius: 1px;
  transform: rotate(45deg);
}
.deliver__list b { color: var(--graphite); font-weight: 600; font-family: var(--mono); font-variant-numeric: tabular-nums; }

.boundary {
  margin-top: clamp(32px, 4vw, 52px);
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--rule-2);
  border-left: 3px solid var(--amber);
  border-radius: var(--r);
  background: var(--chalk);
  max-width: 74ch;
}
.boundary__line {
  font-family: var(--display);
  font-weight: 620;
  font-stretch: 112%;
  font-size: clamp(1.3rem, 2.3vw, 1.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
}
.boundary__sub { margin-top: 10px; color: var(--graphite-2); font-size: 0.98rem; }

/* ══════════════════════════════════════════════ §11 audiences and wedge ══ */

/*
 * The plate inks up here. Deliberately NOT a background-colour fade — white
 * type over a half-mixed ground is unreadable for the whole transition. What
 * scrubs in is the engraving itself: concentric hairlines, the way a security
 * print is built up in passes. Opacity only, so it composites.
 */
.band--ultra { background: var(--ultra); --ink: 1; }
.band--ultra::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: calc(var(--ink, 1) * 0.5);
  background-image:
    repeating-radial-gradient(circle at 86% 8%,  rgb(255 255 255 / 0.16) 0 1px, transparent 1px 11px),
    repeating-radial-gradient(circle at 12% 96%, rgb(255 255 255 / 0.12) 0 1px, transparent 1px 15px);
}
.band--ultra > * { position: relative; }
.band--ultra .h2, .band--ultra .h3 { color: #fff; }

.who {
  margin-top: clamp(36px, 4.5vw, 60px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  background: rgb(255 255 255 / 0.22);
  border: 1px solid rgb(255 255 255 / 0.22);
  border-radius: var(--r);
  overflow: hidden;
}
.who__col {
  background: var(--ultra);
  padding: clamp(24px, 3vw, 34px);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.who__lead { font-weight: 600; font-size: 1.06rem; color: #fff; }
.who__body { font-size: 0.95rem; line-height: 1.55; color: rgb(255 255 255 / 0.78); }
.who__col .arrow { margin-top: auto; padding-top: 14px; }

.wedge {
  margin-top: clamp(44px, 5.5vw, 76px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 3.4vw, 40px);
}
.wedge__item { display: grid; gap: 9px; }
.wedge__h {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.wedge__h::before {
  content: "";
  width: 14px; height: 1px;
  background: currentColor;
  flex: none;
  transform: translateY(-4px);
}
.wedge__b { font-size: 0.97rem; line-height: 1.55; color: rgb(255 255 255 / 0.8); }

.market {
  margin-top: clamp(40px, 5vw, 64px);
  padding-top: clamp(28px, 3.4vw, 40px);
  border-top: 1px solid rgb(255 255 255 / 0.24);
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 28px 48px;
}
.market__v {
  font-family: var(--display);
  font-weight: 620;
  font-stretch: 112%;
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #fff;
}
.market__l { margin-top: 10px; font-size: 0.92rem; color: rgb(255 255 255 / 0.78); max-width: 30ch; }
.market__note { flex: 1 1 300px; font-size: 1.02rem; line-height: 1.5; color: #fff; max-width: 42ch; }

/* ══════════════════════════════════════════════════ §12 phases and team ══ */

.phases {
  margin-top: clamp(34px, 4vw, 56px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(18px, 2.4vw, 28px);
}
.phase {
  padding: clamp(22px, 2.8vw, 30px);
  border: 1px solid var(--rule);
  border-radius: var(--r);
  background: var(--chalk);
  position: relative;
  display: grid;
  gap: 10px;
  align-content: start;
}
.phase--now { border-color: var(--amber); box-shadow: var(--shadow); }
.phase__here {
  position: absolute;
  top: -10px; left: clamp(22px, 2.8vw, 30px);
  background: var(--amber);
  color: var(--graphite);
  font-family: var(--mono);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 3px;
}
.phase__n {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--ultra);
}
.phase__b { font-size: 0.95rem; line-height: 1.55; color: var(--graphite-2); }

.team {
  margin-top: clamp(34px, 4vw, 52px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.6vw, 32px);
}
.member { display: grid; gap: 14px; }
.member__ph {
  aspect-ratio: 4 / 5;
  border-radius: var(--r);
  overflow: hidden;
  background: var(--ultra-wash);
  border: 1px solid var(--rule);
  display: grid;
  place-items: center;
  position: relative;
}
.member__ph img { width: 100%; height: 100%; object-fit: cover; }

/* Placeholder state. A monogram alone in an empty square reads as a broken
   image; struck over the guilloche it reads as a plate prepared and waiting
   for its portrait. Delete nothing when the photos land — setting `photo` in
   data.js replaces the whole contents. */
.member__ph:has(.member__mono)::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    repeating-radial-gradient(circle at 50% 46%, rgb(43 61 245 / 0.13) 0 1px, transparent 1px 7px),
    repeating-radial-gradient(circle at 24% 78%, rgb(43 61 245 / 0.09) 0 1px, transparent 1px 10px);
}
.member__mono {
  position: relative;
  font-family: var(--display);
  font-weight: 620;
  font-stretch: 112%;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: -0.04em;
  color: var(--ultra-deep);
  opacity: 0.5;
}
.member__name { font-weight: 600; font-size: 1.06rem; letter-spacing: -0.015em; }
.member__role {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--ultra);
  margin-top: 3px;
}
.member__detail { margin-top: 8px; font-size: 0.92rem; color: var(--graphite-2); line-height: 1.5; }
.member__li { margin-top: 8px; font-size: 0.84rem; }

.team__note {
  margin-top: clamp(26px, 3vw, 38px);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 0.98rem;
  color: var(--graphite-2);
}
.team__ev {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  border: 1px solid var(--rule-2);
  padding: 4px 10px;
  border-radius: 3px;
  color: var(--graphite);
}

/* ══════════════════════════════════════════════════════════════════ FAQ ══ */

.faq { margin-top: clamp(30px, 3.6vw, 46px); max-width: 82ch; border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 40px 20px 0;
  position: relative;
  font-weight: 600;
  font-size: 1.04rem;
  letter-spacing: -0.012em;
  transition: color 180ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ultra); }
.faq summary::after {
  content: "";
  position: absolute;
  right: 6px; top: 50%;
  width: 11px; height: 11px;
  margin-top: -6px;
  border-right: 1.5px solid var(--ultra);
  border-bottom: 1.5px solid var(--ultra);
  transform: rotate(45deg);
  transition: transform 260ms var(--ease);
}
.faq details[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.faq__a { padding: 0 0 22px; color: var(--graphite-2); font-size: 0.98rem; line-height: 1.6; max-width: 68ch; }

/* ════════════════════════════════════════════════════════════════ close ══ */

.close__body { margin-top: 20px; font-size: clamp(1.05rem, 1.5vw, 1.2rem); color: var(--on-dark-2); max-width: 52ch; }
.close .cta-row { margin-top: 34px; }
.close__mail { margin-top: 26px; font-size: 0.92rem; color: var(--on-dark-2); }
.close__mail a { color: var(--ultra-lift); }

/* ═══════════════════════════════════════════════════════════════ footer ══ */

.foot { background: var(--graphite); color: var(--on-dark-2); padding-block: clamp(48px, 6vw, 76px) 32px; }
.foot__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: clamp(30px, 5vw, 64px);
}
.foot .mark { color: var(--on-dark); font-size: 1.1rem; }
.foot .mark svg, .foot .mark em { color: var(--ultra-lift); }
.foot__tag { margin-top: 12px; font-size: 0.92rem; line-height: 1.5; max-width: 30ch; }
.foot__links { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 0.88rem; }
.foot__links a { color: var(--ultra-lift); text-decoration: none; }
.foot__links a:hover { text-decoration: underline; }

.foot__sh {
  font-family: var(--mono);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-dark);
  padding-bottom: 12px;
  border-bottom: 1px solid rgb(255 255 255 / 0.12);
}
.foot__list { margin-top: 14px; display: grid; gap: 8px; }
.foot__list li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 8px;
  font-size: 0.8rem;
  line-height: 1.45;
}
.foot__list li::before {
  content: attr(data-n);
  font-family: var(--mono);
  color: var(--ultra-lift);
}
.foot__legal {
  margin-top: clamp(36px, 4vw, 52px);
  padding-top: 22px;
  border-top: 1px solid rgb(255 255 255 / 0.12);
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: 0.78rem;
}

/* ══════════════════════════════════════════════════════════ sticky bar ══ */

.stickybar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 110;
  display: none;
  align-items: center;
  gap: 12px;
  padding: 11px 16px calc(11px + env(safe-area-inset-bottom));
  background: rgb(21 24 26 / 0.96);
  backdrop-filter: blur(10px);
  transform: translateY(110%);
  transition: transform 320ms var(--ease);
}
.stickybar.is-on { transform: none; }
.stickybar__alt { color: var(--on-dark); font-size: 0.86rem; text-decoration: none; }
.stickybar__x { margin-left: auto; color: var(--on-dark-2); font-size: 1.3rem; line-height: 1; padding: 4px 8px; }

/* ═══════════════════════════════════════════════════════════ responsive ══ */

@media (max-width: 1040px) {
  /* Headline, then the artifact, then the explanation. The card is the hook,
     so it comes before the paragraph rather than after it. */
  .hero__row { grid-template-columns: 1fr; }
  .hero__gauge { order: -1; }
  .hero__row > div:not(.hero__gauge) { order: 1; }
  .why__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .incident, .machine, .axes, .result, .steps { grid-template-columns: 1fr; }
  .steps__stage { position: static; }
  .steps__panels { gap: 44px; }
  .stage { aspect-ratio: 1 / 0.75; }
  .foot__in { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    padding: 0 var(--gut);
    background: var(--porcelain);
    font-size: 1.5rem;
    /* Parks ABOVE the viewport, not to the right. A fixed element pushed off
       to the right adds to scrollWidth and gives the whole page a horizontal
       scrollbar; content above the top edge never does.

       Closed state is `inert` (set in main.js), not `visibility: hidden`.
       inert takes it out of the tab order and the accessibility tree without
       making it unfocusable mid-transition — hiding it by visibility means
       the focus() that should move into the sheet on open lands one frame
       before the transition starts and is silently dropped. */
    transform: translateY(-100%);
    transition: transform 340ms var(--ease);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .nav__links.is-open { transform: none; }
  .nav__links[inert] { pointer-events: none; }
  .nav__links a:not(.btn) {
    font-size: 1.5rem;
    font-family: var(--display);
    font-weight: 600;
    font-stretch: 112%;
    letter-spacing: -0.025em;
    color: var(--graphite);
    padding-block: 10px;
  }
  .nav__links .btn { margin-top: 20px; }
  .nav__burger {
    display: grid;
    gap: 5px;
    padding: 10px 4px;
    z-index: 2;
  }
  .nav__burger span {
    display: block;
    width: 22px; height: 1.5px;
    background: var(--graphite);
    transition: transform 280ms var(--ease), opacity 200ms var(--ease);
  }
  .nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  .who, .deliver, .phases, .team, .wedge, .gap { grid-template-columns: 1fr; }
  .who__col { padding-block: 26px; }
  .stickybar { display: flex; }
  .profile__foot { grid-template-columns: 1fr; }
  .profile__cell { border-right: 0; border-bottom: 1px solid var(--rule); }
  .profile__cell:last-child { border-bottom: 0; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .why__grid, .stats { grid-template-columns: 1fr; }
  .beat { padding: 22px 18px 26px; }
  .feed li { grid-template-columns: 76px 1fr auto; }
  .feed .f-sev { display: none; }
  .ros__label { padding: 3px 6px; }
  .ros__lname { font-size: 0.62rem; }
  .ros__lscore { font-size: 0.6rem; }
  .eq { font-size: 1.5rem; }
}

/* ════════════════════════════════════════════════════════ reduced motion ══ */

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

  *, *::before, *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
    scroll-behavior: auto !important;
  }

  /* Everything renders at its final state, not a faster version of the show. */
  .js .rise { opacity: 1; transform: none; }
  .js .wipe { -webkit-mask-image: none; mask-image: none; }
  .js .hero__gauge { opacity: 1; animation: none; }
  .band--ultra::before { opacity: 0.5; }
  .ros { --p: 1; }
  .railbar { display: none; }
  .stage__pane { position: relative; inset: auto; opacity: 1; transform: none; }
  .stage { aspect-ratio: auto; }
  .steps__stage { position: static; }
  .chat__live i { animation: none; }
  .msg .caret { display: none; }
}
