/* Silent Ratchet: one visual system for every page.

   Authority, in order: MASTER — Company Operating System v1.1 (truth, claims, scope), BRAND MASTER v1.1 (mark,
   wordmark, colour, lock animation), WEBSITE CREATIVE SYSTEM v1.0 (composition, behaviour, imagery, density, CTA).

   The grammar
   A held line (hairline) and a sprag notch (a short mark leaning 30°, the sprag angle).
   - Orange means Silent Ratchet is engaged: the catch, ownership becoming visible, an intervention, the current step.
     Never decoration, never a fill. Forge Bright #F2601C on Night, Forge Orange #E8571A on Paper.
   - Motion memory: the two positions before a catch stay visible in the echo tones (#A54519 / #652E16):
     the three-mark catch, as the D2 Echo mark does.
   - Held progress: the header line only advances; reached steps stay reached.

   Logo: master files only (brand/*). The D2 lock plays once per page: the homepage hero, and the readout on /demo.

   Type: Source Serif 4 is the voice (headlines, a little reading text). Archivo, the wordmark's family, is the
   mechanism (navigation, states, labels, controls, lists).

   Motion, all of it: the hero lock and the hero line catch, once; the header line; the map catch on /demo; the
   homepage scenario deck (only when the visitor drags or presses next / previous); the CTA notch stepping forward
   on hover or focus. Nothing loops or autoplays; prefers-reduced-motion shows end states.
*/

@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4-latin.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand master colours */
  --night: #0F1012;
  --steel: #ECE9E2;
  --paper: #F4F1EB;
  --ink: #121315;
  --forge: #E8571A;
  --forge-bright: #F2601C;
  --echo-1: #A54519;
  --echo-2: #652E16;
  --echo-1-light: #ED9872;
  --echo-2-light: #F0C0A8;

  /* Working neutrals on Night */
  --text: #D6D3CC;
  --muted: #9C9A94;
  --quiet: #85837D;
  --line: #2A2B2E;
  --line-strong: #44454A;
  --surface: #141518;

  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans: "Archivo", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(1rem, 4.4vw, 5rem);
  --page-max: 92rem;
  --col-gap: clamp(1rem, 2vw, 2rem);
  --measure: 34rem;
  --header-h: 3.75rem;

  /* The sprag: a short mark leaning at the sprag angle */
  --sprag-w: 0.3125rem;
  --sprag-h: 1.125rem;

  color-scheme: dark;
}

@media (min-width: 120em) {
  :root { --page-max: 110rem; }
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  background: var(--night);
  color: var(--steel);
  font-family: var(--serif);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

main { flex: 1 0 auto; }

h1, h2, h3, p, ol, ul, dl, dd, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; }

::selection { background: var(--steel); color: var(--night); }

:focus-visible {
  outline: 2px solid var(--steel);
  outline-offset: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: var(--gutter);
  top: -4rem;
  z-index: 20;
  padding: 0.75rem 1rem;
  background: var(--steel);
  color: var(--night);
  font-family: var(--sans);
  font-size: 0.9375rem;
  text-decoration: none;
}
.skip:focus { top: 0.5rem; }

/* Frame ---------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: calc(var(--page-max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

.grid > * { grid-column: 1 / -1; }

/* The sprag notch. Any element with .sprag is a short mark leaning 30°. */
.sprag {
  display: block;
  width: var(--sprag-w);
  height: var(--sprag-h);
  background: currentColor;
  transform: skewX(-30deg);
}


/* The held line under the header. It advances with the scroll and never gives progress back. */
.ratchet {
  position: relative;
  height: 1px;
  background: var(--line);
}

.ratchet-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 100%;
  background: var(--line-strong);
  transform-origin: left center;
  transform: scaleX(0);
}

.ratchet-head {
  position: absolute;
  top: -0.25rem;
  left: 0;
  color: var(--forge-bright);
  --sprag-h: 0.5625rem;
  --sprag-w: 0.1875rem;
  opacity: 0;
}


.microcopy {
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.text-link {
  color: var(--steel);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
  text-decoration-color: var(--line-strong);
}
.text-link:hover { text-decoration-color: var(--steel); }

/* Shared reading type ------------------------------------------------------- */

.statement {
  font-weight: 330;
  letter-spacing: -0.024em;
  line-height: 1.04;
  text-wrap: balance;
}

/* Two-sentence statements break between the sentences, never inside one. */
.line { display: block; }

.prose p {
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.1875rem);
  line-height: 1.6;
  color: var(--text);
  text-wrap: pretty;
}

.prose p + p { margin-top: 1em; }

.prose .pivot { margin-top: clamp(1.5rem, 4vh, 2.5rem); }

.label {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: var(--muted);
}


.offer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
  margin-top: 2rem;
}

.offer .microcopy { flex: 1 1 12rem; max-width: 18rem; }

/* The held line: a hairline, and the moment it catches. */
.held {
  position: relative;
  height: var(--sprag-h);
  color: var(--forge-bright);
  --at: 50%;
}

.held::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: 50%;
  height: 1px;
  background: var(--line-strong);
}

.held .sprag { position: absolute; top: 0; left: var(--at); }
.held .echo-2 { color: var(--echo-2); margin-left: -1.5rem; }
.held .echo-1 { color: var(--echo-1); margin-left: -0.75rem; }




/* Moves freely, slows, rocks upright into the lock, settles. Mirrors the D2 timeline (spin, rock, settle). */
@keyframes catch {
  0%   { translate: calc(-1 * var(--at)) 0; transform: skewX(-30deg); opacity: 0; animation-timing-function: cubic-bezier(.12,.7,.25,1); }
  8%   { opacity: 1; }
  66%  { translate: 0.35rem 0; transform: skewX(-30deg); animation-timing-function: ease-in-out; }
  84%  { translate: -0.1rem 0; transform: skewX(-12deg); animation-timing-function: ease-out; }
  100% { translate: 0 0; transform: skewX(-30deg); opacity: 1; }
}

@keyframes echo { from { opacity: 0; } to { opacity: 1; } }
@keyframes draw { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* 4. Watch the handoff ------------------------------------------------------------- */

.handoff-section {
  padding-block: clamp(4rem, 12vh, 8rem) clamp(4rem, 12vh, 8rem);
  border-top: 1px solid var(--line);
}

.handoff-intro { row-gap: 1.5rem; margin-bottom: clamp(2.5rem, 7vh, 4rem); }

.handoff-intro h2 {
  max-width: 13em;
  font-size: clamp(2.25rem, 1.2rem + 4vw, 5.25rem);
}

.handoff-intro .prose { max-width: 30rem; }
.handoff-intro .prose p { font-size: 1.0625rem; }

@media (min-width: 64em) {
  .handoff-intro h2 { grid-column: 1 / span 7; }
  .handoff-intro .prose { grid-column: 9 / -1; align-self: end; }
}

/* The instrument: one compressed, operational surface. */
.instrument {
  --lane-gap: clamp(1.25rem, 3vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--line);
}

.inst-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  padding: 1rem clamp(1rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
}

.inst-title { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; align-items: baseline; }
.inst-title .co { font-size: 0.9375rem; font-weight: 600; color: var(--steel); font-stretch: 108%; }
.inst-title .flag { font-size: 0.8125rem; color: var(--muted); }

.inst-controls { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.inst-controls[hidden] { display: none; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: transparent;
  color: var(--steel);
  font-family: var(--sans);
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1;
  cursor: pointer;
}

.btn:hover { border-color: var(--steel); }
.btn:disabled { color: var(--quiet); border-color: var(--line); cursor: default; }
.btn.primary { background: var(--steel); border-color: var(--steel); color: var(--night); font-weight: 600; }
.btn.primary:hover { background: #fff; }
.btn[hidden] { display: none; }

/* Readout: what Silent Ratchet is holding right now. */
.readout {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 1rem clamp(1rem, 2.5vw, 2rem);
  align-items: center;
  padding: 1rem clamp(1rem, 2.5vw, 2rem);
  border-bottom: 1px solid var(--line);
  background: var(--surface);
}

.readout[hidden] { display: none; }

.readout-mark { width: 3.5rem; aspect-ratio: 1; }
.readout-mark svg, .readout-mark img { display: block; width: 100%; height: 100%; }
.readout-mark.is-waiting { visibility: hidden; }

.readout dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem 1.25rem;
  font-family: var(--sans);
}

.readout dl > div { min-width: 0; }

.readout dt {
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--muted);
}

.readout dd {
  position: relative;
  margin-top: 0.2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--steel);
  transition: color 0.6s 0.9s;
}

.readout dd.is-empty { color: var(--quiet); }

/* A field that just changed is the engaged one, then it settles to held. */
.readout dd.is-changed { color: var(--forge-bright); transition: none; }

.readout .field-state { grid-column: 1 / -1; }
.readout .field-state dd { font-size: clamp(1.0625rem, 1rem + 0.4vw, 1.375rem); font-stretch: 108%; font-weight: 600; }

@media (min-width: 48em) {
  .readout dl { grid-template-columns: minmax(0, 1.5fr) repeat(4, minmax(0, 1fr)); }
  .readout .field-state { grid-column: auto; }
  .readout-mark { width: 4rem; }
}

/* Lanes: the customer, Silent Ratchet between, the office. */
.lanes-head { display: none; }

.track { counter-reset: none; }

.row {
  position: relative;
  display: grid;
  gap: 0.875rem;
  padding: 1.25rem clamp(1rem, 2.5vw, 2rem) 1.375rem 2.75rem;
  border-top: 1px solid var(--line);
}

.track:first-of-type > .row:first-child { border-top: 0; }

/* The spine: Silent Ratchet's lane. A held line with one sprag per state. */
.row::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 1.375rem;
  width: 1px;
  background: var(--line);
}

.row .notch {
  position: absolute;
  top: 1.45rem;
  left: calc(1.375rem - 0.125rem);
  color: var(--line-strong);
}

.row-state { display: flex; flex-direction: column; gap: 0.2rem; font-family: var(--sans); }
.row-state .stage { font-size: 0.8125rem; line-height: 1.3; color: var(--muted); }
.row-state .name { font-size: 1rem; font-weight: 600; line-height: 1.3; color: var(--steel); font-stretch: 106%; }

.side-label {
  display: block;
  margin-bottom: 0.3rem;
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--muted);
}

.side p {
  max-width: 30rem;
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}

.side .message {
  padding: 0.75rem 0.9rem;
  border: 1px solid var(--line-strong);
  border-radius: 0.875rem 0.875rem 0.875rem 0.125rem;
  font-family: var(--sans);
  font-size: 0.9375rem;
  line-height: 1.45;
  color: var(--steel);
}

.side .message.reply { border-radius: 0.875rem 0.875rem 0.125rem 0.875rem; }

.path-title {
  position: relative;
  padding: 1.25rem clamp(1rem, 2.5vw, 2rem) 0.25rem 2.75rem;
  border-top: 1px solid var(--line);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.path-title::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 1.375rem;
  width: 1px;
  background: var(--line);
}

.path-title + .track > .row:first-child { border-top: 0; }

.fork {
  position: relative;
  padding: 1.25rem clamp(1rem, 2.5vw, 2rem) 1.375rem 2.75rem;
  border-top: 1px solid var(--line);
}

.fork::before {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  left: 1.375rem;
  width: 1px;
  background: var(--line);
}

.fork-q {
  font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem);
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--steel);
}

.fork-choices { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; }
.fork-choices[hidden] { display: none; }

.inst-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: space-between;
  padding: 1rem clamp(1rem, 2.5vw, 2rem);
  border-top: 1px solid var(--line);
}

.inst-foot .note {
  max-width: 40rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.inst-foot .note strong { color: var(--steel); font-weight: 600; }

@media (min-width: 56em) {
  .lanes-head,
  .row {
    grid-template-columns: minmax(0, 1fr) 14rem minmax(0, 1fr);
    grid-template-areas: "customer state office";
    column-gap: var(--lane-gap);
  }

  .lanes-head {
    display: grid;
    padding: 0.75rem clamp(1rem, 2.5vw, 2rem);
    border-bottom: 1px solid var(--line);
    font-family: var(--sans);
    font-size: 0.75rem;
    color: var(--muted);
  }

  .lanes-head p:nth-child(1) { grid-area: customer; }
  .lanes-head p:nth-child(2) { grid-area: state; padding-left: 1.5rem; color: var(--steel); }
  .lanes-head p:nth-child(3) { grid-area: office; }

  .row { padding: 1.5rem clamp(1rem, 2.5vw, 2rem) 1.625rem; }

  .row .row-state { grid-area: state; padding-left: 1.5rem; }
  .row .customer { grid-area: customer; }
  .row .office { grid-area: office; }

  /* The spine runs down the middle lane. */
  .row::before,
  .fork::before { left: calc(clamp(1rem, 2.5vw, 2rem) + (100% - 2 * clamp(1rem, 2.5vw, 2rem) - 14rem - 2 * var(--lane-gap)) / 2 + var(--lane-gap)); }
  .row .notch,
  .fork .notch { left: calc(clamp(1rem, 2.5vw, 2rem) + (100% - 2 * clamp(1rem, 2.5vw, 2rem) - 14rem - 2 * var(--lane-gap)) / 2 + var(--lane-gap) - 0.125rem); }
  .row .notch { top: 1.75rem; }

  .side-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

  .path-title,
  .fork { padding-left: calc(clamp(1rem, 2.5vw, 2rem) + (100% - 2 * clamp(1rem, 2.5vw, 2rem) - 14rem - 2 * var(--lane-gap)) / 2 + var(--lane-gap) + 1.5rem); }
}

/* States in time. Without the script every state reads as reached. */
.is-live .row .row-state .name,
.is-live .row .side p { transition: color 0.35s; }

.is-live .row:not(.is-reached) .row-state .name,
.is-live .row:not(.is-reached) .side p,
.is-live .row:not(.is-reached) .row-state .stage { color: var(--quiet); }

.is-live .row:not(.is-reached) .message { border-color: var(--line); }

.row.is-reached .notch { color: var(--muted); }
.row.is-echo-2 .notch { color: var(--echo-2); }
.row.is-echo-1 .notch { color: var(--echo-1); }
.row.is-current .notch { color: var(--forge-bright); }
.row.is-current .row-state .name { color: var(--forge-bright); }

.is-live .path[hidden],
.path[hidden] { display: none; }

@media (prefers-reduced-motion: no-preference) {
  .row.is-current .notch { animation: notch-catch 0.5s both; }
}

@keyframes notch-catch {
  0%   { translate: 0 -0.9rem; animation-timing-function: cubic-bezier(.2,.7,.3,1); }
  60%  { translate: 0 0.12rem; transform: skewX(-30deg); }
  80%  { translate: 0 0; transform: skewX(-14deg); }
  100% { translate: 0 0; transform: skewX(-30deg); }
}

/* The readout stays in view while the states scroll past: it is what Silent Ratchet is holding. */
.readout { position: sticky; top: calc(var(--header-h) + 1px); z-index: 2; }

.fork .notch {
  position: absolute;
  top: 1.6rem;
  left: calc(1.375rem - 0.125rem);
  color: var(--line-strong);
}
.is-live .fork:not(.is-reached) .fork-q { color: var(--quiet); }
.fork.is-current .notch { color: var(--forge-bright); }
.fork.is-reached:not(.is-current) .notch { color: var(--muted); }

@media (prefers-reduced-motion: no-preference) {
  .fork.is-current .notch { animation: notch-catch 0.5s both; }
}

@media (min-width: 56em) {
  .fork .notch { left: calc(clamp(1rem, 2.5vw, 2rem) + (100% - 2 * clamp(1rem, 2.5vw, 2rem) - 14rem - 2 * var(--lane-gap)) / 2 + var(--lane-gap) - 0.125rem); }
  .path-title::before { left: calc(clamp(1rem, 2.5vw, 2rem) + (100% - 2 * clamp(1rem, 2.5vw, 2rem) - 14rem - 2 * var(--lane-gap)) / 2 + var(--lane-gap)); }
}

.fork-choices .btn[aria-pressed="true"] { border-color: var(--forge-bright); color: var(--steel); }
.fork-choices .btn[aria-pressed="true"]::before {
  content: "";
  width: 0.1875rem;
  height: 0.75rem;
  background: var(--forge-bright);
  transform: skewX(-30deg);
}

/* 5. The people (Paper) ------------------------------------------------------------ */

.paper {
  --muted: #5E5B55;
  --text: #2C2C2B;
  --line: #D9D4CA;
  --line-strong: #B9B3A8;
  background: var(--paper);
  color: var(--ink);
  color-scheme: light;
}

.paper ::selection { background: var(--ink); color: var(--paper); }
.paper :focus-visible { outline-color: var(--ink); }


/* 7. Questions ---------------------------------------------------------------------- */

.questions { padding-block: clamp(4rem, 12vh, 8rem); border-top: 1px solid var(--line); row-gap: 2rem; }

.questions h2 { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem); max-width: 9em; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }

.faq summary {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  padding-block: 1.125rem;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  color: var(--steel);
  cursor: pointer;
  list-style: none;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "";
  flex: none;
  width: var(--sprag-w);
  height: 0.875rem;
  margin-top: 0.2rem;
  margin-right: 0.25rem;
  background: var(--line-strong);
  transform: skewX(-30deg);
}

.faq details[open] summary::after { background: var(--forge-bright); transform: skewX(0deg); }

.faq summary:hover { color: #fff; }

.faq p {
  max-width: 38rem;
  padding-bottom: 1.375rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
}

@media (min-width: 64em) {
  .questions h2 { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
  .faq { grid-column: 6 / -1; }
}

/* 8. Close ------------------------------------------------------------------------- */

.close { padding-block: clamp(5rem, 16vh, 11rem) clamp(4rem, 10vh, 7rem); row-gap: 0; }

.close h2 {
  max-width: 13em;
  font-size: clamp(2.5rem, 1rem + 5.6vw, 7rem);
  font-weight: 300;
  line-height: 0.97;
  letter-spacing: -0.035em;
}

/* At the end, the line has carried all the way through. */
.close .held { margin-top: clamp(2.5rem, 7vh, 4.5rem); --at: calc(100% - var(--sprag-w) - 0.25rem); }

.close .answer { margin-top: clamp(1.75rem, 4vh, 2.5rem); }

.close .answer .lead {
  max-width: 32rem;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.55;
  color: var(--text);
}

@media (min-width: 64em) {
  .close h2 { grid-column: 1 / span 10; }
  .close .answer { grid-column: 7 / -1; }
}

/* Footer ---------------------------------------------------------------------------- */

.colophon { border-top: 1px solid var(--line); }

.colophon .wrap {
  display: grid;
  gap: 1.5rem var(--col-gap);
  padding-block: 2rem 2.5rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--muted);
}

.colophon .sign { display: flex; align-items: center; gap: 0.875rem; color: var(--steel); }
.colophon .sign img { width: 1.75rem; height: 1.75rem; flex: none; }

.colophon nav { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; }
.colophon nav a { padding-block: 0.3rem; color: var(--muted); text-decoration: none; }
.colophon nav a:hover,
.colophon nav a[aria-current="page"] { color: var(--steel); }

@media (min-width: 56em) {
  .colophon .wrap { grid-template-columns: repeat(12, minmax(0, 1fr)); align-items: center; }
  .colophon .sign { grid-column: 1 / span 5; }
  .colophon nav { grid-column: 6 / span 5; }
  .colophon .rights { grid-column: 11 / -1; justify-self: end; }
}

/* /demo ------------------------------------------------------------------------------ */

.demo-head { padding-block: clamp(3.5rem, 11vh, 7rem) clamp(2rem, 6vh, 3.5rem); row-gap: 1.75rem; }

.demo-head h1 {
  max-width: 10em;
  font-size: clamp(3rem, 1rem + 7vw, 8.5rem);
  font-weight: 300;
  line-height: 0.93;
  letter-spacing: -0.038em;
}

.demo-head .prose { max-width: var(--measure); }

@media (min-width: 64em) {
  .demo-head h1 { grid-column: 1 / span 8; }
  .demo-head .prose { grid-column: 9 / -1; align-self: end; }
}

.demo-page .handoff-section { border-top: 0; padding-top: 0; }

.phone-demo { padding-block: clamp(4rem, 12vh, 7rem); border-top: 1px solid var(--line); row-gap: 1.75rem; }

.phone-demo h2 { font-size: clamp(1.875rem, 1.2rem + 2.4vw, 3.25rem); max-width: 12em; }

@media (min-width: 64em) {
  .phone-demo .label { grid-column: 1 / span 3; padding-top: 0.6rem; }
  .phone-demo h2 { grid-column: 4 / span 7; }
  .phone-demo .later { grid-column: 4 / span 6; }
}

.later {
  max-width: var(--measure);
  padding: 1.25rem 1.25rem 1.375rem;
  border: 1px dashed var(--line-strong);
}

.later p { font-size: 1.0625rem; line-height: 1.55; color: var(--text); }
.later p + p { margin-top: 0.75em; }
.later strong { color: var(--steel); font-family: var(--sans); font-weight: 600; font-size: 0.9375rem; }

/* Layer 2 request form (rendered only when [data-phone-demo] is set to available) */
.demo-form { display: grid; gap: 1rem; max-width: var(--measure); }
.demo-form .field-label { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; color: var(--steel); }
.demo-form input[type="tel"] {
  min-height: 3rem; padding: 0 0.875rem; border: 1px solid var(--muted); border-radius: 0;
  background: transparent; color: var(--steel); font: 1.0625rem/1.4 var(--sans);
}
.demo-form .consent { display: grid; grid-template-columns: auto 1fr; gap: 0.75rem; align-items: start; }
.demo-form .consent input { width: 1.25rem; height: 1.25rem; margin: 0.15rem 0 0; accent-color: var(--forge-bright); }
.demo-form .consent label, .demo-form .fine { font-family: var(--sans); font-size: 0.9375rem; line-height: 1.5; color: var(--text); }
.demo-form .fine a { color: var(--steel); }
.demo-form .cta { justify-self: start; }
.demo-form .cta:disabled { opacity: 0.6; cursor: default; }
.demo-status { font-family: var(--sans); font-size: 0.9375rem; color: var(--steel); min-height: 1.5em; }
.later[data-status="available"] { border-style: solid; border-color: var(--line); }

/* Documents: privacy, terms, not found ------------------------------------------------- */

.document { padding-block: clamp(3.5rem, 11vh, 7rem) clamp(3rem, 8vh, 5rem); }

.document > h1 {
  max-width: 12em;
  font-size: clamp(2.75rem, 1.4rem + 4.6vw, 5.75rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.document .meta {
  margin-top: 1.5rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  color: var(--muted);
}

.document .held { margin-top: clamp(2rem, 6vh, 3.5rem); --at: 0%; color: var(--line-strong); }

.document .intro,
.document section {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--col-gap);
}

.document .intro { margin-top: clamp(2rem, 5vh, 3rem); }
.document section { margin-top: 0; padding-block: 1.75rem; border-top: 1px solid var(--line); }
.document .intro + section { margin-top: clamp(2rem, 5vh, 3rem); }

.document h2 {
  grid-column: 1 / -1;
  margin-bottom: 0.75rem;
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.005em;
  color: var(--steel);
}

.document .body { grid-column: 1 / -1; max-width: 38rem; }

.document .body p {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--text);
  text-wrap: pretty;
}

.document .body p + p { margin-top: 0.9em; }

.document .body a {
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--muted);
}

.document .body a:hover { text-decoration-color: var(--steel); }

@media (min-width: 52em) {
  .document h2 { grid-column: 1 / span 3; margin-bottom: 0; padding-right: 1rem; }
  .document .body { grid-column: 4 / -1; }
  .document .intro .body { grid-column: 4 / -1; }
}

.document .actions { display: flex; flex-wrap: wrap; gap: 1rem 1.5rem; align-items: center; margin-top: 2rem; }

/* Legal documents: privacy notice and website terms — single column, plain hierarchy. ------- */

.document.legal { padding-block: clamp(3rem, 9vh, 5.5rem) clamp(3.5rem, 9vh, 6rem); }

.legal-doc { max-width: 42rem; }

.legal-head { padding-bottom: 1.75rem; margin-bottom: 2rem; border-bottom: 1px solid var(--line-strong); }

.legal-doc h1 {
  font-size: clamp(2.125rem, 1.55rem + 2.2vw, 3rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--steel);
}

.legal-doc .meta {
  margin-top: 0.75rem;
  font-family: var(--sans);
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  color: var(--muted);
}

.legal-doc h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.005em;
  color: var(--steel);
}

.legal-doc p,
.legal-doc li {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  text-wrap: pretty;
}

.legal-doc p + p { margin-top: 1em; }
.legal-doc p strong { font-weight: 600; color: var(--steel); }

.legal-doc ul { margin-top: 0.5em; padding-left: 1.25rem; list-style: disc; }
.legal-doc ul + p { margin-top: 1em; }
.legal-doc li + li { margin-top: 0.35em; }
.legal-doc li::marker { color: var(--muted); }

.legal-doc a {
  color: var(--steel);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  text-decoration-color: var(--muted);
  overflow-wrap: anywhere;
}

.legal-doc a:hover { text-decoration-color: var(--steel); }

@media (max-width: 30em) {
  .legal-doc p, .legal-doc li { font-size: 1rem; line-height: 1.65; }
  .legal-doc h2 { margin-top: 2rem; }
}

@media print {
  .legal-doc h1, .legal-doc h2, .legal-doc p, .legal-doc li, .legal-doc strong, .legal-doc a, .legal-doc .meta { color: #000; }
  .legal-head { border-color: #999; }
}

/* Not found: the inquiry that slipped is the one with no sprag on the line. */
.not-found .held .sprag { display: none; }

/* Reduced motion and print ---------------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  .readout dd { transition: none; }
}

@media print {
  .masthead { position: static; }
  .ratchet, .skip, .inst-controls, .fork-choices { display: none; }
  body, .paper { background: #fff; color: #000; }
  .prose p, .document .body p, .colophon, .colophon a, .document .meta, .side p { color: #000; }
  .is-live .row:not(.is-reached) .side p { color: #000; }
}

/* While the example plays itself, the due time waits for a choice, then nobody calls. */
.fork-hint {
  margin-top: 0.75rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted);
}
.fork-hint[hidden] { display: none; }
.inst-controls .btn.primary { text-decoration: none; }


/* ==========================================================================================
   Conversion pass (2026-10-02). Acquisition.com-style discipline: the first screen answers what this is,
   why it matters and what to click; proof comes next; detail lives in Questions.
   ========================================================================================== */

/* Calls to action (Website V1, 2026-10-02) ----------------------------------------------------
   One button system on every page. Paper fill, Ink type, a 2 px radius, Archivo, tracked (labels are typed in
   capitals exactly as the Website V1 lock gives them). The Forge Orange notch is
   the sprag at rest (one mark = available). On hover or keyboard focus it steps forward and its echo appears
   behind it (two marks = engaged). The button itself never turns orange. Three sizes: small (header), default
   (hero and page closes), large (the homepage's final close). */
.btn-cta,
.cta {
  --notch-x: 1.125rem;
  --notch-h: 0.875rem;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0 1.375rem 0 2.25rem;
  border: 0;
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.btn-cta::before,
.btn-cta::after,
.cta::before,
.cta::after {
  content: "";
  position: absolute;
  left: var(--notch-x);
  top: 50%;
  width: 0.1875rem;
  height: var(--notch-h);
  margin-top: calc(var(--notch-h) / -2);
  transform: skewX(-30deg);
  pointer-events: none;
}
.btn-cta::after, .cta::after { background: var(--forge); }                 /* the notch */
.btn-cta::before, .cta::before { background: var(--echo-1-light); opacity: 0; } /* its echo */

.btn-cta:hover, .btn-cta:focus-visible, .cta:hover, .cta:focus-visible { background: #fff; }
.btn-cta:hover::after, .btn-cta:focus-visible::after, .cta:hover::after, .cta:focus-visible::after { translate: 0.3125rem 0; }
.btn-cta:hover::before, .btn-cta:focus-visible::before, .cta:hover::before, .cta:focus-visible::before { opacity: 1; }
.btn-cta:focus-visible, .cta:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
.paper .btn-cta:focus-visible { outline-color: var(--ink); }
.paper .btn-cta { background: var(--ink); color: var(--paper); }
.paper .btn-cta:hover, .paper .btn-cta:focus-visible { background: #000; }
.paper .btn-cta::before { background: var(--echo-1); }

@media (prefers-reduced-motion: no-preference) {
  .btn-cta::after, .cta::after { transition: translate 0.22s cubic-bezier(.2,.7,.2,1); }
  .btn-cta::before, .cta::before { transition: opacity 0.12s 0.08s; }
}

.btn-cta span, .cta span { position: relative; }

.btn-cta.small { --notch-x: 0.9375rem; --notch-h: 0.75rem; min-height: 2.375rem; padding: 0 1rem 0 1.875rem; font-size: 0.75rem; }
.btn-cta.large { --notch-x: 1.375rem; --notch-h: 1rem; min-height: 3.5rem; padding: 0 1.75rem 0 2.75rem; font-size: 0.875rem; }

/* Header ----------------------------------------------------------------------------------- */

:root { --header-h: 4.25rem; }

.masthead {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--night);
}

.masthead .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
}

.brand { display: block; line-height: 0; text-decoration: none; flex: none; }

/* Small-size lockup (Brand Master v1.1), 1074.34 x 184. 28 px tall = 163 px wide; 32 px = 187 px. */
.brand img { display: block; width: auto; height: 1.75rem; }

@media (min-width: 48em) {
  .brand img { height: 2rem; }
}

.brand:focus-visible { outline-offset: 6px; }

.nav { font-family: var(--sans); }

.nav-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem clamp(1rem, 2.2vw, 2rem);
  font-size: 0.9375rem;
  font-weight: 500;
}

.nav-menu a { text-decoration: none; }

.nav-menu li:not(.nav-cta-item) a {
  display: inline-block;
  padding-block: 0.6rem;
  color: var(--text);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
}

.nav-menu li:not(.nav-cta-item) a:hover,
.nav-menu a[aria-current="page"] { color: #fff; }

.nav-menu a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.4em; text-decoration-thickness: 1px; }

.nav-cta-item { margin-left: 0.5rem; }

.nav-toggle {
  align-items: center;
  gap: 0.6rem;
  min-height: 2.75rem;
  padding: 0 0.9rem;
  border: 1px solid var(--line-strong);
  background: transparent;
  color: var(--steel);
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
  cursor: pointer;
}

.nav-toggle::before {
  content: "";
  width: 0.875rem;
  height: 0.5625rem;
  border-block: 1.5px solid currentColor;
  background: linear-gradient(currentColor, currentColor) center / 100% 1.5px no-repeat;
}

.nav-toggle { display: none; }

@media (max-width: 63.99em) {
  .js .nav-toggle { display: inline-flex; }
  /* Without the script the links stay visible and wrap under the lockup; the hero carries the CTA. */
  html:not(.js) .masthead .wrap { flex-wrap: wrap; padding-block: 0.75rem; }
  html:not(.js) .nav { width: 100%; }
  html:not(.js) .nav-menu { justify-content: flex-start; }
  html:not(.js) .nav-cta-item { display: none; }
}

/* Narrow screens: the links fold behind Menu (only when the script is there to open it). */
@media (max-width: 63.99em) {
  .js .nav-menu {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem var(--gutter) 1.25rem;
    background: var(--night);
    border-bottom: 1px solid var(--line);
    font-size: 1.0625rem;
  }
  .js .menu-open .nav-menu { display: flex; }
  .js .nav-menu li:not(.nav-cta-item) a { display: block; padding-block: 0.85rem; border-bottom: 1px solid var(--line); }
  .js .nav-cta-item { margin: 1rem 0 0; }
  .js .nav-cta-item .btn-cta { width: 100%; min-height: 3rem; font-size: 0.8125rem; }
}



/* Shared type -------------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.text-link {
  font-family: var(--sans);
  font-size: 0.9375rem;
  font-weight: 500;
}


/* Homepage (Website V1 lock, 2026-10-02) ----------------------------------------------------------------
   Controlling spec: Notion › WEBSITE COPY LOCKBOOK › FINAL WEBSITE PAGE LOCK — v1. Order: header → hero with the
   evidence strip in the fold → Keep the humans (Paper) → dark scenario section (rail, headline, four-card deck) →
   Revenue Recovery (Paper, dark carryover) → Why Silent Ratchet exists → final close. Questions live on /questions. */

.brand img { height: 1.875rem; }                 /* 30 px tall = 175 px wide */
@media (min-width: 48em) { .brand img { height: 2.25rem; } }   /* 36 px tall = 210 px wide; small-cut range */


/* 1. The fold ------------------------------------------------------------------------------------
   One complete composition, exactly one screen tall: message, explanation, relief CTA, the D2 lock, the line with
   the catch, and the three-step strip. Nothing below it shows until you scroll. The room comes from height, not
   from more content. */

.hero {
  --mark: clamp(10rem, min(17vw, 34svh), 17rem);
  --mark-pad: clamp(0rem, 4vw, 4rem);
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h) - 1px);
  min-height: calc(100svh - var(--header-h) - 1px);
  padding-block: clamp(2rem, 6vh, 4.5rem) clamp(1.75rem, 5vh, 3.25rem);
}

.hero-grid { flex: 1 0 auto; display: grid; gap: 1.5rem var(--col-gap); align-content: center; }

.hero h1 {
  max-width: 12em;
  margin-top: 1rem;
  font-size: clamp(2.5rem, min(1.3rem + 4.2vw, 11svh), 6.75rem);
  font-weight: 300;
  line-height: 0.98;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.hero-lead {
  max-width: 31rem;
  margin-top: clamp(1rem, 2.5vh, 1.5rem);
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.5;
  color: var(--text);
  text-wrap: pretty;
}

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.875rem 1.5rem; margin-top: clamp(1.5rem, 4vh, 2.25rem); }

.hero-visual { display: none; }
.hero-mark { width: var(--mark); aspect-ratio: 1; }
.hero-mark svg, .hero-mark img { display: block; width: 100%; height: 100%; }

@media (min-width: 56em) {
  .hero-grid { grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
  /* The mark sits on the lower edge of the copy, lifted a little so it reads with the headline, not the button. */
  .hero-visual { display: flex; align-self: end; justify-content: flex-end; padding-right: var(--mark-pad); margin-bottom: clamp(1.5rem, 7vh, 4rem); transform: translateY(-2rem); }
}

.hero-foot { margin-top: clamp(2rem, 6vh, 3.5rem); }

.hero-held { --at: 62%; }

@media (min-width: 56em) {
  /* The catch sits under the mark. */
  .hero-held { --at: calc(100% - var(--mark) / 2 - var(--mark-pad) + 1.5rem); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-held .catch { animation: catch 1.25s 1.1s both; }
  .hero-held .echo-1 { animation: echo 0.2s 1.93s both; }
  .hero-held .echo-2 { animation: echo 0.2s 1.81s both; }
  .hero-held::before { animation: draw 0.9s 0.8s both cubic-bezier(.2,.7,.2,1); transform-origin: left center; }
}

/* 3. Evidence strip: in the fold, in the footprint of the old three-step strip. Two equal cells: a label, the
   number, one line, and the original source, linked (opens in a new tab). External survey findings, never
   Silent Ratchet results. */
.hero-eyebrow { color: var(--text); }

.evidence {
  display: grid;
  gap: 1.25rem var(--col-gap);
  width: min(100%, 64rem);
  margin: 1.25rem auto 0;
}

.ev {
  display: flex;
  flex-direction: column;
  padding-left: 0.875rem;
  border-left: 1px solid var(--line-strong);
}

.ev-k {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.ev-stat {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  margin-top: 0.35rem;
  margin-bottom: 0.3rem;
}

.ev-n {
  flex: none;
  font-size: clamp(2rem, 1.55rem + 1.2vw, 2.75rem);
  font-weight: 300;
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--paper);
}

.ev-t {
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.25rem);
  font-weight: 340;
  line-height: 1.3;
  color: var(--steel);
  text-wrap: pretty;
}

.ev-src {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  align-self: flex-start;
  min-height: 1.5rem;
  margin-top: auto;
  font-family: var(--sans);
  font-size: 0.75rem;
  line-height: 1.3;
  color: var(--muted);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.22em;
}
.ev-src:hover, .ev-src:focus-visible { color: var(--steel); text-decoration-color: currentColor; }
.ev-src:focus-visible { outline-offset: 2px; }
.ev-arrow { flex: none; font-family: system-ui, "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans", sans-serif; font-size: 0.75rem; line-height: 1; text-decoration: none; }

@media (min-width: 48em) {
  .evidence { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Short laptop screens: the evidence strip stays inside the fold. */
@media (min-width: 56em) and (max-height: 760px) {
  .hero { padding-block: 1.5rem 1.25rem; }
  .hero-foot { margin-top: 1.25rem; }
  .actions { margin-top: 1.25rem; }
  .hero-visual { transform: translateY(-1rem); }
}


/* 4. Keep the humans (Paper) -----------------------------------------------------------------------
   Predominantly white. The Founder's hand-drawn editorial illustration sits in the right column (under the copy on
   phones). Its paper background was removed so the ink and the orange line sit straight on Paper. */

.humans { padding-block: clamp(2.75rem, 8vh, 5rem); }
.humans-grid { display: grid; gap: 2.5rem clamp(2rem, 5vw, 5rem); align-items: center; }
.humans h2 { font-size: clamp(2.25rem, 1.1rem + 3.6vw, 4.5rem); font-weight: 300; line-height: 1; letter-spacing: -0.012em; }
.humans-copy p { max-width: 32rem; margin-top: clamp(1.25rem, 3vh, 1.75rem); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.55; color: var(--text); text-wrap: pretty; }
.humans-art { margin: 0; }
.humans-art img { display: block; width: 100%; height: auto; }

@media (min-width: 64em) {
  .humans-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .humans h2 { font-size: clamp(2.25rem, 0.9rem + 2.9vw, 4rem); }
}



/* 5. The dark scenario section ----------------------------------------------------------------------
   Dark and continuous: no white banner or balancing block inside it. The compact mechanism rail
   (Acknowledged → Owned → Moving, its marks stepping from echo to Forge Bright like the three-mark catch), the
   headline in strong white type, then the four-card deck. */

.scenes { padding-block: clamp(3.5rem, 9vh, 6rem) clamp(4rem, 10vh, 6.5rem); }
.scenes:focus { outline: none; }
/* A card sent off to the right must never widen the page, even mid-flight. clip (not hidden) keeps sticky working. */
.scenes { overflow-x: clip; }
.scenes-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2.25rem var(--col-gap); align-items: start; }
.scenes-grid > * { min-width: 0; }

.rail {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.12em;
  color: var(--steel);
}
.rail-arrow { margin-inline: 0.15rem 0.4rem; font-family: system-ui, "Segoe UI Symbol", "Apple Symbols", "DejaVu Sans", sans-serif; font-size: 1.1rem; font-weight: 400; letter-spacing: 0; color: var(--muted); }
.rail-mk { flex: none; display: block; width: 0.25rem; height: 1rem; background: currentColor; transform: skewX(-30deg); }
.rail-mk.m-2 { color: var(--echo-2); }
.rail-mk.m-1 { color: var(--echo-1); }
.rail-mk.m-0 { color: var(--forge-bright); }
@media (max-width: 29.99em) {
  /* Phones: the rail stays on one row. */
  .rail { gap: 0.45rem; font-size: 0.6875rem; letter-spacing: 0.1em; }
  .rail-arrow { margin-inline: 0 0.15rem; font-size: 0.8125rem; }
  .rail-mk { width: 0.1875rem; height: 0.75rem; }
}
@media (max-width: 22.49em) {
  .rail { gap: 0.375rem; letter-spacing: 0.07em; }
}

.scenes-head h2 {
  margin-top: clamp(1.25rem, 3vh, 1.75rem);
  max-width: 17em;
  font-size: clamp(1.875rem, 1rem + 2.3vw, 3.25rem);
  font-weight: 300;
  line-height: 1.04;
  letter-spacing: -0.01em;
  color: var(--paper);
}

/* The cards. Compact portrait cards, like a premium deck: minimal chrome, the situation, then the two paths.
   Without the script they simply sit side by side, every card readable. */
.deck-cards { display: grid; gap: 1rem; }

.card {
  /* The words fill the card. Every size inside the card is set from the card's own width (container units), so
     the proportions hold at any card size: the longest card fills its 5 / 7 face and the shorter ones share the
     spare room evenly between the parts. --k = body size as a percentage of the card's inner width. */
  --k: 5.8;
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  aspect-ratio: 5 / 7;
  padding: 7% 7.5% 7.5%;
  border: 1px solid var(--line-strong);
  border-radius: 0.625rem;
  background: var(--surface);
  color: var(--steel);
}

.card-t {
  font-family: var(--sans);
  font-size: max(0.8125rem, calc(var(--k) * 0.92cqi));
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fff;
}

.card-scene {
  margin-top: 0.4em;
  padding-bottom: 0.75em;
  font-size: max(1.125rem, calc(var(--k) * 1.5cqi));
  font-weight: 340;
  line-height: 1.16;
  letter-spacing: -0.012em;
  color: var(--paper);
  text-wrap: pretty;
}

.path { font-size: max(0.75rem, calc(var(--k) * 1cqi)); padding-top: 0.6em; }
.path.is-without { margin-top: auto; padding-bottom: 1em; border-top: 1px dashed var(--line-strong); }
.path.is-with { margin-top: auto; border-top: 1px solid var(--line-strong); }

.path-k {
  display: flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--sans);
  font-size: max(0.6875rem, 0.8em);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.is-with .path-k { color: var(--forge-bright); }
.path-mk { flex: none; display: block; width: 0.28em; height: 1.05em; background: var(--forge-bright); transform: skewX(-30deg); }

.path-t {
  margin-top: 0.3em;
  font-size: 0.95em;
  line-height: 1.42;
  color: var(--text);
  text-wrap: pretty;
}
.is-with .path-t { color: var(--steel); }

/* The stack (script on). Every card shares one grid cell, so the deck is as tall as its longest card and every
   card is the same size. The two cards behind show only their offset edges, stepped like the D2 Echo layers. */
.deck.is-stacked .deck-cards {
  grid-template-areas: "stack";
  gap: 0;
  width: min(100%, 27.5rem);
  padding: 1.25rem 1.25rem 0 0;
}
.deck.is-stacked .card {
  grid-area: stack;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
}
.deck.is-stacked .card[data-pos="0"] { z-index: 4; cursor: grab; }
.deck.is-stacked .card[data-pos="1"] { z-index: 3; transform: translate(0.625rem, -0.625rem); border-color: #5A3A2A; }
.deck.is-stacked .card[data-pos="2"] { z-index: 2; transform: translate(1.25rem, -1.25rem); border-color: #3E2C23; }
.deck.is-stacked .card[data-pos="3"] { z-index: 1; transform: translate(1.25rem, -1.25rem); opacity: 0; }
.deck.is-stacked .card.is-leaving { z-index: 5; }
.deck.is-stacked .card.is-dragging { cursor: grabbing; }

@media (prefers-reduced-motion: no-preference) {
  .deck.is-stacked .card { transition: transform 0.42s cubic-bezier(.2,.7,.2,1), opacity 0.3s ease, border-color 0.3s ease; }
  .deck.is-stacked .card.is-dragging,
  .deck.is-stacked .card.no-anim { transition: none; }
  .card.is-arriving .path-mk { animation: settle 0.45s 0.15s ease-out; }
}

.deck-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
  width: min(100%, 27.5rem);
  margin-top: 1.25rem;
  padding-right: 1.25rem;
}
.deck-controls[hidden] { display: none; }

.deck-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--steel);
  cursor: pointer;
}
.deck-btn svg { width: 1rem; height: 0.625rem; fill: none; stroke: currentColor; stroke-width: 1.3; }
.deck-btn:hover { border-color: var(--steel); color: #fff; }
.deck-btn:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }

.deck-count {
  min-width: 3.5rem;
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-align: center;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

@media (min-width: 40em) {
  html:not(.js) .deck-cards, .deck:not(.is-stacked) .deck-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Laptop and up: the whole section fits one screen under the header. The rail is centred across the top; the
   headline sits on the left and the deck on the right. The deck is sized from the height that is left (never
   wider than 27.5rem, cards stay 5 / 7); the card type follows the card's size. */
@media (min-width: 64em) {
  .scenes {
    --scenes-pad: clamp(1.5rem, 4svh, 3rem);
    --rail-gap: clamp(1.25rem, 3svh, 2.25rem);
    --card-h: calc(100svh - var(--header-h) - 1px - 2 * var(--scenes-pad) - 1.625rem - var(--rail-gap) - 5.25rem);
    --deck-w: clamp(17.5rem, calc(var(--card-h) * 5 / 7 + 1.25rem), 27.5rem);
    padding-block: var(--scenes-pad);
  }
  .scenes-grid { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); column-gap: clamp(2rem, 5vw, 5rem); row-gap: var(--rail-gap); align-items: center; }
  .scenes-head { display: contents; }
  .rail { grid-column: 1 / -1; grid-row: 1; justify-self: center; justify-content: center; min-width: 0; }
  .scenes-head h2 { grid-column: 1; grid-row: 2; margin-top: 0; min-width: 0; }
  .deck-area { grid-column: 2; grid-row: 2; justify-self: center; width: var(--deck-w); }
}

/* 6. Revenue Recovery (Paper) -------------------------------------------------------------------------
   The light fold straight after the dark deck: a shallow dark carryover steps in from the left and stops at a
   Forge Orange notch, then the plan-clarity layout. Orange marks what Silent Ratchet handles; Ink marks what stays
   yours. No price, no checkout, no SaaS feature cards. */

.rr { --carry-w: 72%; padding-bottom: clamp(4rem, 11vh, 7rem); }
.rr-carry {
  position: relative;
  height: clamp(1.75rem, 4vw, 3rem);
  background: linear-gradient(to right, var(--night) 0 var(--carry-w), transparent var(--carry-w));
}
.rr-notch { position: absolute; left: calc(var(--carry-w) + 0.75rem); top: 50%; margin-top: calc(var(--sprag-h) / -2); color: var(--forge); }

.rr > .wrap { padding-top: clamp(3.25rem, 9vh, 5.5rem); }

.rr-head .eyebrow { color: var(--muted); }
.rr-head {
  width: min(100%, 58rem);
  margin-inline: auto;
  text-align: center;
}
.rr-head h2 {
  margin-top: 0;
  font-size: clamp(2rem, 1.1rem + 2.8vw, 3.75rem);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.rr-setup {
  max-width: 38rem;
  margin: clamp(1rem, 2.5vh, 1.5rem) auto 0;
  font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  line-height: 1.45;
  color: var(--text);
  text-wrap: pretty;
}

.rr-plan { display: grid; gap: 1.25rem; margin-top: clamp(2.25rem, 6vh, 3.5rem); }

.rr-col { padding: 1.5rem 1.375rem 1.75rem; }
.rr-handles {
  border: 1px solid rgba(232, 87, 26, 0.48);
  border-top: 3px solid var(--forge);
  background: transparent;
}
.rr-yours {
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--ink);
  background: var(--steel);
}

.rr-k {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 0.9rem;
}

.rr-list { display: grid; column-gap: 2rem; margin-top: 0.75rem; }
.rr-list li { position: relative; padding: 0.875rem 0 0.875rem 1.375rem; border-top: 1px solid var(--line); }
.rr-list li::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 1.15rem;
  width: 0.1875rem;
  height: 0.8125rem;
  background: var(--forge);
  transform: skewX(-30deg);
}
.rr-yours .rr-list li::before { background: var(--ink); }
.rr-list strong {
  display: block;
  font-size: clamp(1.2rem, 1.08rem + 0.35vw, 1.45rem);
  font-weight: 600;
  line-height: 1.22;
  color: var(--ink);
}
.rr-list span {
  display: block;
  margin-top: 0.4rem;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--muted);
  text-wrap: pretty;
}

.rr-close {
  max-width: 24em;
  margin-top: clamp(2.25rem, 6vh, 3.5rem);
  font-size: clamp(1.375rem, 1.1rem + 1vw, 2.125rem);
  font-weight: 340;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--ink);
}

@media (min-width: 48em) {
  .rr-col { padding: 1.75rem 2rem 2rem; }
  .rr-handles .rr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 64em) {
  .rr { --carry-w: 58.333%; }
  .rr-plan { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .rr-handles .rr-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}


/* Questions page --------------------------------------------------------------------------------- */

.qpage { padding-block: clamp(3rem, 9vh, 6rem); border-top: 0; }
.questions-grid { display: grid; gap: 1.5rem var(--col-gap); }
.questions-grid .faq { grid-column: auto; }
.qpage h1 { margin-top: 0.75rem; font-size: clamp(1.875rem, 1.1rem + 1.6vw, 2.75rem); font-weight: 300; line-height: 1.05; letter-spacing: -0.01em; text-wrap: balance; }
.faq-group + .faq-group { margin-top: clamp(2.25rem, 5vh, 3.25rem); }
.questions .faq-k { position: static; max-width: none; padding-bottom: 0.9rem; font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: 0.1em; color: var(--steel); }
.faq details[open] summary { color: #fff; }
.q-head p { max-width: 24rem; margin-top: 1rem; font-size: 1.0625rem; line-height: 1.55; color: var(--text); }
.q-head .eyebrow { max-width: none; font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
.faq summary { padding-block: 0.95rem; }
.faq p { padding-bottom: 1.2rem; font-size: 1rem; }

@media (min-width: 64em) {
  .questions-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .q-head { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}

.q-close h2 { font-size: clamp(2rem, 1rem + 3.6vw, 4.5rem); letter-spacing: -0.01em; }


/* 8. Why Silent Ratchet exists. An institutional note, not a founder story: the label, the lead, the reasoning,
   one emphasis line held by the orange catch. */
.origin { padding-block: clamp(4.5rem, 12vh, 8rem); }
.origin-grid { display: grid; gap: 1.75rem clamp(2rem, 5vw, 5rem); }
.origin-lead { margin-top: 1rem; max-width: 13em; font-size: clamp(2rem, 1.1rem + 2.7vw, 3.5rem); font-weight: 300; letter-spacing: -0.035em; color: var(--paper); }
.origin-body p { max-width: 34rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.6; color: var(--text); text-wrap: pretty; }
.origin-body p + p { margin-top: 1em; }
.origin-body .origin-em {
  position: relative;
  margin-block: 1.5em;
  padding-left: 1.75rem;
  font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem);
  font-weight: 340;
  line-height: 1.35;
  color: var(--paper);
}
.origin-body .origin-em::before {
  content: "";
  position: absolute;
  left: 0.5rem;
  top: 0.32em;
  width: var(--sprag-w);
  height: 0.85em;
  background: var(--forge-bright);
  transform: skewX(-30deg);
  box-shadow: -0.375rem 0 0 var(--echo-1), -0.75rem 0 0 var(--echo-2);
}
@media (min-width: 64em) {
  .origin-grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
  .origin-body { padding-top: 2.4rem; }
}


/* Close: a short closing hit. The line, the catch, one relief button. */
.close { padding-block: clamp(3rem, 8vh, 5rem) clamp(2.75rem, 7vh, 4.5rem); border-top: 1px solid var(--line); }
.close h2 { font-size: clamp(2rem, 1rem + 3.4vw, 4.5rem); }
.close .held { margin-top: clamp(1.5rem, 4vh, 2.5rem); }
.close .answer { margin-top: clamp(1.25rem, 3vh, 1.75rem); }
.close .offer { margin-top: 0; }
.close .offer .microcopy { max-width: 22rem; }

@media (min-width: 56em) {
  .colophon .sign { grid-column: 1 / span 4; }
  .colophon nav { grid-column: 5 / span 6; }
}

@media (min-width: 64em) {
  /* Closing hit: the line and the button on one row under it, so the close stays short. */
  .close-hit h2 { grid-column: 1 / span 9; grid-row: 1; }
  .close-hit .answer { grid-column: 10 / -1; grid-row: 1; align-self: end; justify-self: end; margin-top: 0; }
  .close-hit .held { grid-row: 2; }
}

/* 9. Final close (homepage). The headline, then the decisive button with its supporting line, then the held
   line carried to the end. The /questions and /demo closes keep .close-hit. */
.close-final { padding-block: clamp(4rem, 11vh, 7rem) clamp(3rem, 8vh, 5rem); }
.close-final h2 { max-width: 14em; font-size: clamp(2.25rem, 1rem + 4vw, 5rem); }
.close-final .answer { margin-top: clamp(1.75rem, 4.5vh, 2.75rem); }
.close-final .offer { gap: 1.25rem 2rem; margin-top: 0; }
.close-support { flex: 1 1 16rem; max-width: 30rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--text); text-wrap: pretty; }
.close-final .held { margin-top: clamp(2.5rem, 6vh, 4rem); }
@media (min-width: 64em) {
  .close-final h2 { grid-column: 1 / span 10; }
  .close-final .answer, .close-final .held { grid-column: 1 / -1; }
}


/* Hero mark as a control: tap or click to replay the lock. */
.hero-mark { display: block; padding: 0; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.hero-mark:focus-visible { outline: 2px solid var(--steel); outline-offset: 8px; }

/* How it works (/demo) ---------------------------------------------------------------------------
   Fold 1: one covered request on the held line, ten stages in five chapters, and a panel that explains whichever
   stage the visitor selects (Back / Next, arrow keys). Nothing plays by itself. Then what is always on underneath,
   and the close. */

.hiw {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - var(--header-h) - 1px);
  min-height: calc(100svh - var(--header-h) - 1px);
  padding-block: clamp(1.75rem, 5vh, 3.5rem) clamp(1.5rem, 4vh, 2.75rem);
}
.hiw-wrap { flex: 1 0 auto; display: flex; flex-direction: column; gap: clamp(1.5rem, 4.5vh, 2.75rem); }

.hiw-head { display: grid; gap: 0.75rem var(--col-gap); align-items: end; }
.hiw-head .eyebrow { grid-column: 1 / -1; }
.hiw-head h1 { margin-top: 0.75rem; max-width: 15em; font-size: clamp(2.125rem, min(1.2rem + 2.6vw, 7svh), 3.75rem); font-weight: 300; line-height: 1.02; letter-spacing: -0.01em; text-wrap: balance; }
.hiw-lead { max-width: 30rem; font-size: 1.0625rem; line-height: 1.5; color: var(--text); text-wrap: pretty; }
.hiw-note { max-width: 30rem; margin-top: 0.75rem; font-size: 1rem; line-height: 1.5; color: var(--steel); text-wrap: pretty; }
.hiw-disclosure { margin-top: 0.75rem; font-family: var(--sans); font-size: 0.8125rem; line-height: 1.4; color: var(--muted); }
@media (min-width: 64em) { .hiw-head { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); } .hiw-head h1 { margin-top: 0; } }

/* The map: ten stages on one held line, in five chapters. Selecting a stage moves the orange catch to it and shows
   its explanation below. Laptop and up: chapter names over each pair, stage names under the line. Narrower: the same
   line with numbered stops; the stage name and chapter appear in the panel. */
.map { position: relative; --chh: 2.75rem; --ring: 1.25rem; --ring-gap: 0.875rem; --catch-place: above; }
.map-nodes { position: relative; display: flex; align-items: flex-start; justify-content: space-between; }
.map-ch { display: flex; flex: 1 1 0; min-width: 0; }
.map-ch + .map-ch { margin-left: clamp(0.25rem, 1.5vw, 0.75rem); }
.map-ch-k { display: none; }

.node {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 1rem 0 0.5rem;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-align: center;
  cursor: pointer;
}
.node:focus-visible { outline: 2px solid var(--steel); outline-offset: 2px; }

.ring {
  position: relative;
  z-index: 1;
  display: block;
  flex: none;
  width: 1rem;
  height: 1rem;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--night);
}
.node-k { display: block; margin-top: 0.45rem; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.04em; color: var(--muted); font-variant-numeric: tabular-nums; }
.node-v { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.node:hover .node-k, .node:hover .node-v { color: var(--steel); }
.node[aria-selected="true"] .node-k, .node[aria-selected="true"] .node-v { color: #fff; }
.node[aria-selected="true"] .ring { border-color: var(--forge-bright); background: var(--forge-bright); box-shadow: inset 0 0 0 3px var(--night); }

.map-line { position: absolute; left: 0; right: 0; top: 1.5rem; height: 1px; background: var(--line-strong); pointer-events: none; }

/* The catch moves to whatever is selected: Silent Ratchet engaging there. Positioned by site.js. */
.map-catch { display: none; position: absolute; z-index: 2; left: 0; top: 0; width: 0.875rem; height: 0.625rem; color: var(--forge-bright); --sprag-h: 0.625rem; --sprag-w: 0.1875rem; pointer-events: none; }
.js .map-catch.is-placed { display: block; }
.map-catch .sprag { position: absolute; top: 0; }
.map-catch .echo-2 { left: 0; color: var(--echo-2); }
.map-catch .echo-1 { left: 0.3rem; color: var(--echo-1); }
.map-catch .now { left: 0.6rem; }
@media (prefers-reduced-motion: no-preference) {
  .map-catch.is-moving { transition: left 0.55s cubic-bezier(.2,.7,.2,1), top 0.55s cubic-bezier(.2,.7,.2,1); }
  .map-catch.is-settling .now { animation: settle 0.45s ease-out; }
}
@keyframes settle { 0% { transform: skewX(-30deg); } 45% { transform: skewX(-10deg); } 100% { transform: skewX(-30deg); } }

/* Laptop and up: chapter names above each pair of stages, the stage names under the line. */
@media (min-width: 70em) {
  .map { --catch-place: left; }
  .map-nodes { justify-content: stretch; }
  .map-ch + .map-ch { margin-left: 0; }
  .map-ch { flex: 1 1 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-content: start; gap: 0; }
  .map-ch-k {
    display: flex;
    align-items: flex-end;
    grid-column: 1 / -1;
    height: var(--chh);
    padding: 0 0.75rem 0.15rem;
    border-left: 1px solid var(--line-strong);
    font-family: var(--sans);
    font-size: 0.6875rem;
    font-weight: 600;
    line-height: 1.35;
    letter-spacing: 0.1em;
    color: var(--muted);
  }
  .node { display: grid; flex: none; align-content: start; justify-items: center; min-width: 0; padding: var(--ring-gap) 0.375rem 0.25rem; }
  .ring { width: var(--ring); height: var(--ring); margin: 0 0 0.75rem; }
  .node[aria-selected="true"] .ring { box-shadow: inset 0 0 0 4px var(--night); }
  .node-k, .node-v { display: block; position: static; width: auto; height: auto; overflow: visible; clip-path: none; white-space: normal; margin: 0; font-family: var(--sans); font-size: 0.75rem; font-weight: 600; line-height: 1.35; letter-spacing: 0.06em; color: var(--text); }
  .node-k { margin-bottom: 0.2rem; color: var(--muted); }
  .map-line { top: calc(var(--chh) + var(--ring-gap) + var(--ring) / 2); }
  .map-catch { width: 1.25rem; height: 0.875rem; --sprag-h: 0.875rem; --sprag-w: 0.25rem; }
  .map-catch .echo-1 { left: 0.5rem; }
  .map-catch .now { left: 1rem; }
}

/* The explanation panel */
.map-panels { position: relative; min-height: 9.5rem; }
.panel h2 { font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.125rem); font-weight: 340; line-height: 1.12; letter-spacing: -0.018em; }
.panel p { max-width: 34rem; margin-top: 0.6rem; font-size: 1.0625rem; line-height: 1.5; color: var(--text); }
.panel .ex { margin-top: 0.75rem; font-size: 1rem; color: var(--muted); }
.panel .ex span { margin-right: 0.5rem; font-weight: 600; color: var(--steel); }
.panel .panel-stage { max-width: none; margin: 0 0 0.35rem; font-family: var(--sans); font-size: 0.8125rem; font-weight: 700; line-height: 1.4; letter-spacing: 0.1em; color: var(--steel); }
.panel .panel-em { font-weight: 600; color: var(--steel); }
.js .map-panels { display: grid; align-items: start; }
.js .panel { grid-column: 1; grid-row: 1; }
.js .panel[hidden] { display: block; visibility: hidden; }
.js .map-controls { grid-column: 1; grid-row: 2; }
.panel:focus-visible { outline: 2px solid var(--steel); outline-offset: 6px; }
html:not(.js) .panel + .panel { margin-top: 1.75rem; }
.panel-step { font-family: var(--sans); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.panel .panel-step { max-width: none; margin: 0 0 0.4rem; font-family: var(--sans); font-size: 0.75rem; line-height: 1.4; color: var(--muted); }

/* Step controls: clearly a control, quieter than the sales buttons. */
.map-controls { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.25rem; margin-top: 1.25rem; }
.map-controls[hidden] { display: none; }
.step-btn { font-family: var(--sans); font-size: 0.9375rem; font-weight: 600; line-height: 1; cursor: pointer; }
.step-next {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  min-height: 3rem;
  padding: 0 1.25rem;
  border: 1px solid var(--steel);
  background: transparent;
  color: var(--steel);
}
.step-next:hover { background: var(--steel); color: var(--night); }
.step-next:focus-visible, .step-prev:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
.step-prev { min-height: 3rem; padding: 0 0.25rem; border: 0; background: none; color: var(--muted); }
.step-prev:hover { color: var(--steel); }
.step-prev:disabled { opacity: 0.35; cursor: default; }
.step-prev:disabled:hover { color: var(--muted); }
@media (max-width: 63.99em) { .step-next { order: -1; } }

@media (min-width: 64em) {
  .map-panels { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); column-gap: var(--col-gap); align-items: end; }
  .panel, .js .panel { grid-column: 1; grid-row: 1; }
  .map-controls, .js .map-controls { grid-column: 2; grid-row: 1; margin-top: 0; }
}

/* Always underneath the workflow: what is always on, and the rules it runs inside. */
.hiw-under { padding-block: clamp(3.5rem, 9vh, 6rem) clamp(2.5rem, 6vh, 4rem); border-top: 1px solid var(--line); }
.under-grid { display: grid; gap: 2.25rem clamp(2rem, 5vw, 5rem); margin-top: clamp(1.5rem, 4vh, 2.25rem); }
.under-k { margin-bottom: 0.9rem; font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.3; letter-spacing: 0.1em; color: var(--steel); }
.under-list li { position: relative; padding: 0.875rem 0 0.875rem 1.375rem; border-top: 1px solid var(--line); }
.under-list li:last-child { border-bottom: 1px solid var(--line); }
.under-list li::before { content: ""; position: absolute; left: 0.25rem; top: 1.15rem; width: 0.1875rem; height: 0.8125rem; background: var(--forge-bright); transform: skewX(-30deg); }
.under-list strong { display: block; font-size: clamp(1.2rem, 1.08rem + 0.35vw, 1.45rem); font-weight: 600; line-height: 1.22; color: var(--steel); }
.under-list span { display: block; margin-top: 0.4rem; font-size: 1rem; line-height: 1.5; color: var(--text); text-wrap: pretty; }
.under-rules { max-width: 30rem; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); font-weight: 340; line-height: 1.35; color: var(--paper); text-wrap: pretty; }
.under-em { max-width: 30rem; margin-top: 1.25rem; font-size: 1.0625rem; font-weight: 600; line-height: 1.5; color: var(--steel); text-wrap: pretty; }
@media (min-width: 64em) { .under-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Fold 2: the close */
.hiw-close h2 { font-size: clamp(1.875rem, 1rem + 2.8vw, 3.75rem); max-width: 16em; letter-spacing: -0.01em; }
.hiw-close-copy p { max-width: 34rem; margin-top: 1rem; font-size: 1.0625rem; line-height: 1.55; color: var(--text); }
@media (min-width: 64em) {
  .hiw-close .hiw-close-copy { grid-column: 1 / span 9; grid-row: 1; }
}

/* Traces: the quiet infrastructure under the dark sections. Faint orange paths enter from an edge, pass behind the
   composition and fade; a few end in a mark (one = a possible step, two = open, three = caught and held).
   Static on purpose. Laptop and up only, where they can stay clear of text. The white section has none. */
.hero, .scenes, .origin, .qpage, .hiw { position: relative; }
.traces { display: none; position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.traces svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.traces path { fill: none; stroke-width: 1; vector-effect: non-scaling-stroke; }
.traces stop { stop-color: var(--forge-bright); }
.traces svg { opacity: 0.2; }
.trace-mark { position: absolute; width: 1.25rem; height: 0.75rem; margin: -0.375rem 0 0 -0.125rem; color: var(--forge-bright); opacity: 0.55; --sprag-h: 0.75rem; --sprag-w: 0.1875rem; }
.trace-mark .sprag { position: absolute; top: 0; }
.trace-mark .now { left: 0; }
.trace-mark.m2 .echo-1, .trace-mark.m3 .echo-1 { left: -0.4rem; color: var(--echo-1); }
.trace-mark.m3 .echo-2 { left: -0.8rem; color: var(--echo-2); }
.has-traces > .wrap, .hero > .wrap, .scenes > .wrap, .origin > .wrap, .qpage > .wrap { position: relative; z-index: 1; }
@media (min-width: 64em) { .traces { display: block; } }

/* How it works: the map's line arrives faintly from the edge of the page, the same infrastructure. */
@media (min-width: 56em) {
  .map-line::before { content: ""; position: absolute; right: 100%; top: 0; width: 100vw; height: 1px; background: linear-gradient(to right, transparent, var(--forge-bright)); opacity: 0.2; }
}
@media (min-width: 56em) and (max-height: 700px) {
  .hiw { padding-top: 1.5rem; }
  .hiw-wrap { gap: 1.25rem; }
  .map-panels { min-height: 0; }
}

/* The scroll marker never pushes past the page edge. */
.ratchet { overflow-x: clip; }

/* Pricing (/pricing) ----------------------------------------------------------------------------
   A light page: the heading, two large plan cards, then what happens next. Each card is one link to the form
   (stretched over the card); MORE INFO is a separate button that opens the plan's detail in a modal dialog.
   Revenue Recovery carries the only orange: a thin Forge top edge. */

.pr-page { padding-block: clamp(3.5rem, 11vh, 7rem) clamp(4rem, 12vh, 8rem); }
.wrap.pr-inner { max-width: calc(62rem + 2 * var(--gutter)); }

.pr-title {
  font-size: clamp(1.875rem, 1.1rem + 1.6vw, 2.75rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--ink);
}

.pr-cards { display: grid; gap: 1.25rem; margin-top: clamp(1.75rem, 5vh, 3rem); }
@media (min-width: 48em) { .pr-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2rem); } }

.pr-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  min-height: clamp(20rem, 42vh, 25rem);
  padding: clamp(1.75rem, 3.5vw, 2.75rem);
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--line-strong);
  border-radius: 2px;
  transition: background-color 0.15s, border-color 0.15s;
}
.pr-card-rr { border-color: rgba(232, 87, 26, 0.48); border-top-color: var(--forge); }
.pr-card:hover { background: var(--steel); border-color: var(--ink); }
.pr-card-rr:hover { border-color: var(--forge); }

.pr-name {
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.pr-link { color: inherit; text-decoration: none; }
/* The link covers the whole card. */
.pr-link::after { content: ""; position: absolute; inset: -3px -1px -1px; z-index: 1; border-radius: 2px; cursor: pointer; }
.pr-link:focus-visible { outline: none; }
.pr-link:focus-visible::after { outline: 2px solid var(--ink); outline-offset: 3px; }

.pr-price { margin-top: clamp(1.5rem, 4vh, 2.25rem); font-weight: 300; line-height: 1; color: var(--ink); }
.pr-amount { font-size: clamp(3rem, 2.2rem + 2.6vw, 4.5rem); letter-spacing: -0.03em; }
.pr-per { font-size: clamp(1.25rem, 1.1rem + 0.5vw, 1.5rem); letter-spacing: -0.005em; }
.pr-setup { margin-top: 0.75rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.4; color: var(--muted); }
.pr-desc { margin-top: clamp(1.25rem, 3vh, 1.75rem); font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--text); }

.pr-more {
  display: none;
  position: relative;
  z-index: 2;
  align-items: center;
  min-height: 2.75rem;
  margin-top: auto;
  padding: 0 1.25rem;
  border: 1px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.1em;
  cursor: pointer;
}
.js .pr-more { display: inline-flex; }
.js .pr-more[hidden] { display: none; }
.pr-card .pr-desc { margin-bottom: 1.75rem; }
.pr-more:hover { background: var(--ink); color: var(--paper); }
.pr-more:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* What happens next */
.pr-next { margin-top: clamp(4rem, 11vh, 7rem); }
.pr-next-grid { display: grid; gap: 1.5rem var(--col-gap); }
.pr-next-title {
  font-size: clamp(1.5rem, 1.1rem + 1.1vw, 2.125rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.pr-steps li { padding: 1.25rem 0 1.375rem; border-top: 1px solid var(--line); }
.pr-steps li:last-child { border-bottom: 1px solid var(--line); }
.pr-steps h3 {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.pr-steps p { max-width: 36rem; margin-top: 0.45rem; font-size: 1.0625rem; line-height: 1.55; color: var(--text); text-wrap: pretty; }
@media (min-width: 64em) {
  .pr-next-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .pr-next-title { padding-top: 1.1rem; }
}

/* MORE INFO dialog */
.pr-dialog {
  width: min(40rem, calc(100vw - 2rem));
  max-width: none;
  max-height: min(46rem, calc(100svh - 2rem));
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line-strong);
  border-top: 3px solid var(--line-strong);
  border-radius: 2px;
  background: var(--paper);
  color: var(--ink);
}
.pr-dialog-rr { border-color: rgba(232, 87, 26, 0.48); border-top-color: var(--forge); }
.pr-dialog::backdrop { background: rgba(15, 16, 18, 0.72); }
.pr-dialog-panel { position: relative; padding: clamp(1.5rem, 4vw, 2.75rem); }
.pr-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.pr-close svg { width: 0.875rem; height: 0.875rem; fill: none; stroke: currentColor; stroke-width: 1.5; }
.pr-close:hover { border-color: var(--ink); }
.pr-close:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.pr-dialog-title {
  padding-right: 3.5rem;
  font-family: var(--sans);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.1em;
  color: var(--ink);
}
.pr-dialog-lead { margin-top: 1rem; font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--text); text-wrap: pretty; }
.pr-dialog-list { margin-top: 1.25rem; }
.pr-dialog-list li { position: relative; padding: 0.7rem 0 0.7rem 1.375rem; border-top: 1px solid var(--line); font-size: 1.0625rem; line-height: 1.5; color: var(--ink); }
.pr-dialog-list li::before { content: ""; position: absolute; left: 0.25rem; top: 1.05rem; width: 0.1875rem; height: 0.8125rem; background: var(--ink); transform: skewX(-30deg); }


/* Homepage V2.1 Phase 1 (2026-10-21) --------------------------------------------------------------------
   Copy + cleanup only. The scenario deck and Revenue Recovery sections are retired from the homepage; their
   rules above are left in place (Ink Orbit lands in Phase 2) and are no longer matched by index.html. */

/* Hero headline is longer and set in capitals: step the size down so it holds ~3 lines. */
.hero h1 { max-width: 13em; font-size: clamp(2.125rem, min(1rem + 3.6vw, 9svh), 5.25rem); }

/* Human-first fold: kicker + headline, the three short lines, tighter vertical rhythm. */
.humans-kicker { margin-bottom: 0.875rem; }
.humans h2 { text-transform: none; }
.humans-copy p + p { margin-top: 0.875rem; }
.humans-copy .actions { margin-top: clamp(1.25rem, 3vh, 1.75rem); }

/* Why pick Silent Ratchet: one editorial column, bold carries the argument. */
.origin { padding-block: clamp(3.5rem, 9vh, 6rem); }
.origin-grid { gap: 1.5rem clamp(2rem, 5vw, 5rem); }
.origin-body strong { font-weight: 600; color: var(--paper); }
.origin-body p { max-width: 36rem; }
.origin-body .origin-q { margin: 0 0 clamp(1.5rem, 4vh, 2.25rem); padding: 0; }
.origin-body .origin-q p { max-width: 24em; font-size: clamp(1.5rem, 1.05rem + 1.6vw, 2.375rem); font-weight: 300; line-height: 1.2; letter-spacing: -0.02em; color: var(--paper); }
.origin-body .origin-q p strong { font-weight: 300; }
.origin-body .origin-q p + p { margin-top: 0.75em; }
.origin-body .origin-pay { font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); line-height: 1.35; color: var(--paper); }
.origin-body .origin-pay { margin-top: 1.5em; }
.origin-body .origin-pay-last { margin-top: 0.25em; }
.origin-body .origin-pay-last strong { color: var(--forge-bright); }
@media (min-width: 64em) {
  .origin-grid { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
  .origin-grid > .eyebrow { position: sticky; top: calc(var(--header-h) + 1.5rem); align-self: start; padding-top: 0.6rem; }
  .origin-body { padding-top: 0; }
}

/* Final CTA: headline, bridge, body, primary + subdued secondary. */
.close-final h2 { max-width: 13em; font-size: clamp(2.125rem, 1rem + 3.6vw, 4.5rem); }
.close-bridge { max-width: 30rem; font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.625rem); font-weight: 340; line-height: 1.35; color: var(--paper); text-wrap: balance; }
.close-final .close-support { flex: none; margin-top: 0.875rem; }
.close-actions { margin-top: clamp(1.5rem, 4vh, 2.25rem); }
.btn-quiet {
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--text);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
  text-underline-offset: 0.45em;
  padding-block: 0.875rem;
}
.btn-quiet:hover, .btn-quiet:focus-visible { color: #fff; text-decoration-color: currentColor; }
.btn-quiet:focus-visible { outline: 2px solid var(--steel); outline-offset: 3px; }
@media (max-width: 23.75em) { .btn-cta { white-space: normal; text-align: left; } }

/* Design system (Oct 22, desktop polish) ------------------------------------------------------------------
   One scale for every page, taken from the homepage, which sets the reference. Pages keep their personality
   through composition, not through their own type sizes.
     --t-display     page titles                                  ~68px at 1440
     --t-section     a section's headline (capitals sit ~0.85x)    ~56px
     --t-close       closing headlines (capitals: --t-close-caps)  ~43px / ~39px
     --t-lead        leads and reading text                        20px
     --sp-section    a content section's vertical padding          ~81px at 900px tall
     --sp-close      a closing band's vertical padding             ~72px
   Light and dark: Night for openings, cinematic scenes and closings; Paper (.paper) for the one explanatory
   band on each page. Forge stays for what Silent Ratchet does and what needs a person. */
:root {
  --t-display: clamp(2.125rem, min(1rem + 3.6vw, 9svh), 5.25rem);
  --t-section: clamp(2rem, 0.9rem + 2.9vw, 3.75rem);
  --t-section-caps: clamp(1.75rem, 1.2rem + 2vw, 3rem);
  --t-close: clamp(1.75rem, 1.1rem + 1.75vw, 2.75rem);
  --t-close-caps: clamp(1.625rem, 1.15rem + 1.4vw, 2.375rem);
  --t-lead: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem);
  --sp-section: clamp(3.5rem, 9vh, 6rem);
  --sp-close: clamp(3rem, 8vh, 5rem);
}

/* The quiet secondary action on Paper: ink, with the same underline behaviour as on Night. */
.paper .btn-quiet { color: var(--ink); text-decoration-color: var(--line-strong); }
.paper .btn-quiet:hover, .paper .btn-quiet:focus-visible { color: var(--ink); text-decoration-color: currentColor; }
.paper .btn-quiet:focus-visible { outline-color: var(--ink); }

/* Mobile pass (Oct 24, RC3): thumbs, not cursors. On phones the footer becomes a short two-column list whose rows are a
   full 44 px to tap (the address takes a row of its own), and the logo link reaches the same height without moving
   the header. */
@media (max-width: 47.99em) {
  .brand { padding-block: 0.4375rem; margin-block: -0.4375rem; }
  .colophon nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.5rem; }
  .colophon nav a { display: flex; align-items: center; min-height: 2.75rem; padding-block: 0; border-bottom: 1px solid var(--line); }
  .colophon nav a[href^="mailto:"] { grid-column: 1 / -1; order: 1; }
  .colophon nav a[href="/privacy"], .colophon nav a[href="/terms"] { order: 2; border-bottom: 0; }
}

/* Mobile pass (Oct 24, RC3): the phone menu is a sheet, not a dropdown. It covers the page under the header (no page
   showing through below the last link), the four destinations are set in the display serif at a size you can hit
   without looking, and the one action sits at the foot of the sheet. The page behind does not scroll while it is
   open; the toggle reads Close. */
@media (max-width: 63.99em) {
  .js .menu-open .nav-menu {
    height: calc(100vh - var(--header-h) - 2px); height: calc(100dvh - var(--header-h) - 2px); overflow-y: auto; overscroll-behavior: contain;
    padding: 0.75rem var(--gutter) calc(1.5rem + env(safe-area-inset-bottom));
  }
  .js .nav-menu li:not(.nav-cta-item) a {
    display: flex; align-items: center; min-height: 3.75rem; padding-block: 0.5rem;
    font-family: var(--serif); font-weight: 360; font-variation-settings: "opsz" 36; font-size: 1.75rem; letter-spacing: -0.01em; text-transform: none; color: var(--paper);
  }
  .js .nav-menu a[aria-current="page"] { text-decoration: none; }
  .js .nav-menu a[aria-current="page"]::after {
    content: ""; width: var(--sprag-w, 0.25rem); height: 1rem; margin-left: 0.875rem; background: var(--forge-bright); transform: skewX(-30deg);
  }
  .js .nav-cta-item { margin-top: auto; padding-top: 1.5rem; }
  .js .nav-cta-item .btn-cta { min-height: 3.25rem; }
  .js .menu-open .nav-toggle::before { height: 0.875rem; border: 0; background:
    linear-gradient(45deg, transparent calc(50% - 0.75px), currentColor calc(50% - 0.75px) calc(50% + 0.75px), transparent calc(50% + 0.75px)),
    linear-gradient(-45deg, transparent calc(50% - 0.75px), currentColor calc(50% - 0.75px) calc(50% + 0.75px), transparent calc(50% + 0.75px)); }
  html.menu-locked, html.menu-locked body { overflow: hidden; }
}
