/* Self-hosted variable fonts. No CDN, no external request — ever.
   Both files carry an fvar table, so one file covers the whole weight range. */

@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-400.woff2") format("woff2-variations"),
       url("fonts/source-serif-4-400.woff2") format("woff2");
  /* Instanced to the range the site actually renders (400-600, plus 700 for
     <strong>). The shipped 200-900 axis was a third of the file. */
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("fonts/work-sans-400.woff2") format("woff2-variations"),
       url("fonts/work-sans-400.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   M@dministratie — "De regel"
   One ruled line runs through the site: a ledger row and a rule at once.
   Warm ink foundations, warm paper, one controlled orange accent.
   ========================================================================== */

:root {
  --ink: #14100d;
  --ink-2: #1e1714;
  --paper: #faf6f0;
  --paper-2: #f2ebe1;
  --card: #ffffff;

  --rule: #e3dacd;
  --rule-soft: #ece4d8;
  --rule-ink: rgba(250, 246, 240, 0.13);
  --rule-ink-soft: rgba(250, 246, 240, 0.07);

  --text: #1a1512;
  --muted: #6b5e52;
  --text-ink: #f6f1ea;
  --muted-ink: #a89887;

  --accent: #b04e00;
  --accent-deep: #8a3d00;
  --accent-hot: #ff7a2f;
  --soft: #ffe8d6;

  --ok: #256b45;
  --ok-soft: #e7f4ec;
  --warn: #8a5a00;
  --warn-soft: #fff7df;

  --display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --ui: "Work Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --max: 1180px;
  --gutter: clamp(20px, 4vw, 56px);
  --band: clamp(64px, 9vw, 132px);
  --radius: 4px;

  /* legacy aliases so older pages keep rendering */
  --bg: var(--paper);
  --panel: var(--card);
  --line: var(--rule);
  --accent-dark: var(--accent-deep);
  --warning: var(--warn-soft);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, canvas { max-width: 100%; }
img { height: auto; }

/* Links inside running text are underlined, so they are distinguishable
   without relying on colour (WCAG 1.4.1). Navigational and component links
   below opt out: they are not sitting in a text block, and they carry their
   own affordances. */
a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
a:hover { text-decoration-thickness: 2px; }

.skip-link,
.brand,
.nav-links > a,
.language-link,
.button,
.text-link,
.service,
.footer a,
.ledger a,
.tag { text-decoration: none; }
/* The paper accent is too dark to read on the ink surfaces. */
.ink a,
.hero a { color: var(--accent-hot); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 2px;
}
.ink :focus-visible { outline-color: var(--accent-hot); }

::selection { background: var(--soft); color: var(--accent-deep); }

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  background: var(--ink);
  color: var(--text-ink);
  padding: 12px 18px;
  font-weight: 600;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 14px; text-decoration: none; }

/* --------------------------------------------------------------- typography */

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.3rem, 5.6vw, 4.2rem); }
h2 { font-size: clamp(1.72rem, 3.4vw, 2.85rem); }
h3 { font-size: clamp(1.1rem, 1.7vw, 1.38rem); letter-spacing: -0.012em; }

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

.lead {
  font-size: clamp(1.05rem, 1.45vw, 1.26rem);
  line-height: 1.6;
  color: var(--muted);
  max-width: 62ch;
}
.ink .lead { color: var(--muted-ink); }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
}
.kicker::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  flex: none;
}
.ink .kicker { color: var(--accent-hot); }

.muted { color: var(--muted); }
.ink .muted { color: var(--muted-ink); }

/* ------------------------------------------------------------------ layout */

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

.band { padding: var(--band) 0; }
.band-tight { padding: clamp(40px, 6vw, 76px) 0; }

.ink { background: var(--ink); color: var(--text-ink); }
.ink h1, .ink h2, .ink h3 { color: var(--text-ink); }

.paper-2 { background: var(--paper-2); }
.ruled-top { border-top: 1px solid var(--rule); }
.ink.ruled-top { border-top-color: var(--rule-ink); }

/* Section head: ledger number in the margin, heading beside it. */
.section-head {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0 clamp(16px, 3vw, 40px);
  align-items: start;
  margin-bottom: clamp(32px, 4vw, 56px);
}

.section-head__no {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  padding-top: 0.5em;
  border-top: 2px solid var(--accent);
  font-variant-numeric: tabular-nums;
}
.ink .section-head__no { color: var(--accent-hot); border-top-color: var(--accent-hot); }

.section-head__body { max-width: 48ch; }
.section-head__body h2 { margin-bottom: 0.35em; }
.section-head--wide .section-head__body { max-width: 64ch; }

@media (max-width: 720px) {
  .section-head { grid-template-columns: 1fr; gap: 14px; }
  .section-head__no { display: inline-block; padding-top: 0.4em; }
}

/* ------------------------------------------------------------------ header */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 240, 0.88);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.site-header.is-stuck {
  border-bottom-color: var(--rule);
  background: rgba(250, 246, 240, 0.96);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--display);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.brand:hover { text-decoration: none; }

.brand-logo { width: 38px; height: 38px; object-fit: contain; flex: none; }
.brand-lockup { display: flex; flex-direction: column; line-height: 1.05; }
.brand-tagline {
  font-family: var(--ui);
  font-size: 0.66rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 3px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  font-size: 0.94rem;
}

.nav-links > a { color: var(--text); font-weight: 500; padding: 6px 0; position: relative; }
.nav-links > a:hover { text-decoration: none; color: var(--accent); }

.nav-links > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.28s ease;
}
.nav-links > a:not(.nav-cta):hover::after,
.nav-links > a[aria-current]:not(.nav-cta)::after { right: 0; }

.nav-cta {
  background: var(--ink);
  color: var(--paper) !important;
  padding: 11px 20px;
  font-weight: 600;
  border-radius: var(--radius);
  transition: background 0.2s ease;
}
.nav-cta:hover { background: var(--accent); text-decoration: none; }

.language-switcher {
  display: inline-flex;
  gap: 2px;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  border-left: 1px solid var(--rule);
  padding-left: clamp(12px, 2vw, 18px);
}
.language-link { color: var(--muted); padding: 4px 5px; }
.language-link[aria-current] { color: var(--text); }
.language-link:hover { text-decoration: none; color: var(--accent); }

.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 9px 14px;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}

@media (max-width: 940px) {
  .mobile-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-top: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    padding: 8px var(--gutter) 22px;
  }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 14px 0; border-bottom: 1px solid var(--rule-soft); }
  .nav-links > a:not(.nav-cta)::after { display: none; }
  .nav-cta { margin-top: 16px; text-align: center; border-bottom: 0; }
  .language-switcher { border-left: 0; padding: 14px 0 0; }
}

/* ------------------------------------------------------------------ buttons */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: var(--ink);
  color: var(--paper) !important;
  font-family: var(--ui);
  font-size: 0.96rem;
  font-weight: 600;
  padding: 15px 26px;
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.button:hover {
  background: var(--accent);
  border-color: var(--accent);
  text-decoration: none;
  transform: translateY(-1px);
}

.button.secondary {
  background: transparent;
  color: var(--text) !important;
  border-color: var(--rule);
}
.button.secondary:hover { background: transparent; border-color: var(--ink); color: var(--text) !important; }

.ink .button {
  background: var(--accent-hot);
  border-color: var(--accent-hot);
  color: var(--ink) !important;
}
.ink .button:hover { background: #ff9354; border-color: #ff9354; }

.ink .button.secondary,
.button.dark-secondary {
  background: transparent;
  color: var(--text-ink) !important;
  border-color: rgba(250, 246, 240, 0.32);
}
.ink .button.secondary:hover,
.button.dark-secondary:hover { border-color: var(--text-ink); background: rgba(250, 246, 240, 0.06); }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--accent);
}
.text-link::after { content: "\2192"; transition: transform 0.2s ease; }
.text-link:hover { text-decoration: none; }
.text-link:hover::after { transform: translateX(4px); }
.ink .text-link { color: var(--accent-hot); }

/* Available to screen readers, absent from the page. Used where the visual
   hierarchy already reads but the document still needs the heading. */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* A short specification list: term in the margin, answer beside it. */
.spec { margin: 0; display: grid; gap: 0; }
.spec > div {
  display: grid;
  grid-template-columns: minmax(6.5rem, auto) minmax(0, 1fr);
  gap: 4px 18px;
  padding: 13px 0;
  border-top: 1px solid var(--rule);
}
.spec > div:first-child { border-top: 0; padding-top: 0; }
.spec dt {
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 0.25em;
}
.spec dd { margin: 0; font-size: 0.95rem; line-height: 1.55; }

@media (max-width: 520px) {
  .spec > div { grid-template-columns: 1fr; }
}

/* Routes: the services page set as ruled rows rather than a card grid. The
   number sits in the margin, the offer in the measure, the boundary beside it —
   the same ledger logic as the section heads. */
.routes { border-bottom: 1px solid var(--rule); }

.route {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 0 clamp(18px, 3vw, 44px);
  padding: clamp(34px, 4.5vw, 62px) 0;
  border-top: 1px solid var(--rule);
  scroll-margin-top: 96px;
}

.route__no {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 0.35em;
}

.route__for {
  display: block;
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

.route h3 { font-size: clamp(1.35rem, 2.2vw, 1.85rem); margin-bottom: 0.5em; }
.route__body { color: var(--muted); max-width: 46ch; }

.route__aside { display: grid; align-content: start; gap: 16px; }
.route__aside ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 9px; }
.route__aside li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 10px;
  font-size: 0.93rem;
  line-height: 1.55;
}
.route__aside li::before {
  content: "";
  width: 8px;
  height: 1px;
  background: var(--accent);
  margin-top: 0.72em;
}

.route__limit {
  border-left: 2px solid var(--rule);
  padding-left: 14px;
  font-size: 0.88rem;
  color: var(--muted);
}
.route__limit strong { color: var(--text); font-weight: 600; }

@media (max-width: 900px) {
  .route { grid-template-columns: 3rem minmax(0, 1fr); }
  .route__aside { grid-column: 2; margin-top: 24px; }
}
@media (max-width: 560px) {
  .route { grid-template-columns: 1fr; gap: 14px; }
  .route__aside { grid-column: 1; margin-top: 8px; }
}

/* Phases: what happens, what you get, what is asked of you. Three columns of
   commitment rather than three adjectives. */
.phase__note { margin-bottom: 22px; font-size: 0.9rem; }
.phases { border-bottom: 1px solid var(--rule); }
.ink .phases { border-bottom-color: var(--rule-ink); }

.phase {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr);
  gap: 0 clamp(18px, 3vw, 44px);
  padding: clamp(30px, 4vw, 52px) 0;
  border-top: 1px solid var(--rule);
}
.ink .phase { border-top-color: var(--rule-ink); }

.phase__no {
  font-family: var(--display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 0.3em;
}
.ink .phase__no { color: var(--accent-hot); }

.phase h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); margin-bottom: 0.35em; }
.phase__intro { color: var(--muted); max-width: 54ch; margin-bottom: 26px; }
.ink .phase__intro { color: var(--muted-ink); }

.phase__grid { display: grid; gap: clamp(18px, 2.5vw, 34px); }
@media (min-width: 760px) { .phase__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.phase__grid h4 {
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
  padding-top: 10px;
  border-top: 1px solid var(--rule);
}
.ink .phase__grid h4 { color: var(--muted-ink); border-top-color: var(--rule-ink); }

.phase__grid ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.phase__grid li { font-size: 0.93rem; line-height: 1.55; }
.phase__grid li::before { content: "— "; color: var(--accent); }
.ink .phase__grid li::before { color: var(--accent-hot); }

@media (max-width: 560px) {
  .phase { grid-template-columns: 1fr; gap: 12px; }
}

/* A pull quote for the founder's own words. Used once, deliberately. */
.pull {
  margin: 0;
  border-top: 2px solid var(--accent);
  padding-top: clamp(20px, 3vw, 30px);
  max-width: 26ch;
}
.pull p {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.28;
  letter-spacing: -0.018em;
  color: var(--text);
}
.ink .pull p { color: var(--text-ink); }
.pull footer { font-family: var(--ui); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.ink .pull footer { color: var(--muted-ink); }

/* Example product screens. Real anonymised captures, so they are given room
   rather than shrunk into a card. */
.screens { display: grid; gap: clamp(28px, 4vw, 52px); }

.screen { margin: 0; display: grid; gap: 18px; }
.screen img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  background: var(--card);
}
.screen figcaption { display: grid; gap: 7px; max-width: 62ch; }
.screen__label {
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.screen figcaption strong {
  font-family: var(--display);
  font-size: 1.24rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}
.screen__body { color: var(--muted); font-size: 0.95rem; }
.screen .status-pill { justify-self: start; margin-top: 4px; }

@media (min-width: 900px) {
  .screen { grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: center; }
}

/* --------------------------------------------------------------------- hero */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-ink);
  overflow: hidden;
  padding: clamp(52px, 7.5vw, 100px) 0 clamp(50px, 6.5vw, 88px);
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.9;
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero h1 { margin-bottom: 0.42em; }
.hero h1 em { font-style: normal; color: var(--accent-hot); }
.hero__lead { max-width: 46ch; }

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  margin-top: 34px;
  padding-top: 20px;
  border-top: 1px solid var(--rule-ink);
  font-size: 0.86rem;
  color: var(--muted-ink);
}
.hero__meta span { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta span::before {
  content: "";
  width: 4px;
  height: 4px;
  background: var(--accent-hot);
  flex: none;
}

/* Hero panel: the ledger. */
.ledger {
  border: 1px solid var(--rule-ink);
  background: rgba(250, 246, 240, 0.035);
  padding: clamp(20px, 2.4vw, 30px);
}

.ledger__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 14px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--rule-ink);
}
.ledger__title { font-family: var(--display); font-size: 1.06rem; font-weight: 600; color: var(--text-ink); }
.ledger__note {
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-ink);
}

.ledger__rows { margin: 0; padding: 0; list-style: none; }

/* Ledger rows default to the paper surface so they can be used in any band;
   the ink surfaces below re-state the colours. Without this the rows are
   invisible wherever they appear outside the hero panel. */
.ledger__row {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.ledger__row:last-child { border-bottom: 0; }

.ledger__no {
  font-family: var(--display);
  font-size: 0.82rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.ledger__label { font-size: 0.95rem; font-weight: 500; color: var(--text); }
.ledger__sub { display: block; font-size: 0.82rem; color: var(--muted); font-weight: 400; margin-top: 2px; }

.ledger .ledger__row,
.ink .ledger__row,
.hero .ledger__row { border-bottom-color: var(--rule-ink-soft); }
.ledger .ledger__no,
.ink .ledger__no,
.hero .ledger__no,
.ledger .ledger__sub,
.ink .ledger__sub,
.hero .ledger__sub { color: var(--muted-ink); }
.ledger .ledger__label,
.ink .ledger__label,
.hero .ledger__label { color: var(--text-ink); }

.tag {
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 5px 10px;
  border: 1px solid var(--rule-ink);
  color: var(--muted-ink);
  white-space: nowrap;
}
.tag--action { color: var(--accent-hot); border-color: rgba(255, 122, 47, 0.42); }
.tag--done { color: #8fd3ab; border-color: rgba(143, 211, 171, 0.34); }

.ledger__foot {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--rule-ink);
  font-size: 0.87rem;
  color: var(--muted-ink);
}
.ledger__foot strong { color: var(--text-ink); font-weight: 600; }

@media (max-width: 940px) { .hero__grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------- ticker */

.ticker {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  overflow: hidden;
  padding: 20px 0;
}

.ticker__label {
  display: block;
  text-align: center;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 14px;
}

.ticker__viewport { overflow: hidden; position: relative; }
.ticker__viewport::before,
.ticker__viewport::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 90px;
  z-index: 2;
  pointer-events: none;
}
.ticker__viewport::before { left: 0; background: linear-gradient(90deg, var(--paper), transparent); }
.ticker__viewport::after { right: 0; background: linear-gradient(270deg, var(--paper), transparent); }

.ticker__track { display: flex; width: max-content; animation: ticker-scroll 42s linear infinite; }
.ticker__viewport:hover .ticker__track,
.ticker__viewport:focus-within .ticker__track { animation-play-state: paused; }

.ticker__group {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 52px);
  padding-right: clamp(24px, 4vw, 52px);
  font-family: var(--display);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  color: var(--muted);
  white-space: nowrap;
}
.ticker__sep--legacy { color: var(--accent); font-size: 0.5em; }

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .ticker__track { animation: none; width: 100%; justify-content: center; flex-wrap: wrap; }
  .ticker__group[aria-hidden="true"] { display: none; }
  .ticker__viewport::before, .ticker__viewport::after { display: none; }
}

/* ----------------------------------------------------------- symptom rows */

.symptoms { border-top: 1px solid var(--rule); }

.symptom {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(16px, 3vw, 40px);
  align-items: baseline;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--rule);
}

.symptom__no {
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
}
.symptom__q {
  font-family: var(--display);
  font-size: clamp(1.12rem, 1.85vw, 1.5rem);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  margin: 0;
}
.symptom__a { color: var(--muted); font-size: 0.96rem; margin: 0; }

@media (max-width: 860px) {
  .symptom { grid-template-columns: 2.6rem minmax(0, 1fr); gap: 6px 16px; }
  .symptom__a { grid-column: 2; margin-top: 8px; }
}

/* ------------------------------------------------------------- service rows */

.services-list { border-top: 1px solid var(--rule); }

.service {
  display: block;
  position: relative;
  border-bottom: 1px solid var(--rule);
  padding: clamp(24px, 3vw, 38px) 0;
  color: var(--text);
  transition: background 0.28s ease;
}
.service:hover, .service:focus-visible { text-decoration: none; background: var(--paper-2); }

.service::before {
  content: "";
  position: absolute;
  left: 0;
  top: -1px;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.service:hover::before, .service:focus-visible::before { width: 100%; }

.service__inner {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1.45fr) minmax(0, 1fr) auto;
  gap: clamp(16px, 3vw, 40px);
  align-items: start;
}

.service__no {
  font-family: var(--display);
  font-size: 0.9rem;
  color: var(--accent);
  padding-top: 0.35em;
  font-variant-numeric: tabular-nums;
}

.service__for {
  font-size: 0.72rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
  margin-bottom: 9px;
}
.service__title { margin: 0 0 6px; font-size: clamp(1.22rem, 2vw, 1.58rem); }
.service__body { color: var(--muted); font-size: 0.97rem; margin: 0; }

.service__items { display: flex; flex-wrap: wrap; gap: 6px 8px; margin-top: 14px; }
.service__items span {
  font-size: 0.78rem;
  color: var(--muted);
  border: 1px solid var(--rule);
  padding: 4px 10px;
  border-radius: 999px;
}

.service__go { align-self: center; font-size: 1.3rem; color: var(--accent); transition: transform 0.3s ease; }
.service:hover .service__go { transform: translateX(6px); }

@media (max-width: 940px) {
  .service__inner { grid-template-columns: 2.6rem minmax(0, 1fr); }
  .service__go { display: none; }
  .service__body { grid-column: 2; margin-top: 10px; }
}

/* ---------------------------------------------------------------- approach */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid var(--rule); }

.step {
  padding: clamp(24px, 3vw, 36px) clamp(18px, 2.4vw, 32px) clamp(24px, 3vw, 36px) 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.step:last-child { border-right: 0; }
.step::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 38px;
  height: 2px;
  background: var(--accent);
}
.step__no {
  font-family: var(--display);
  font-size: 0.86rem;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  display: block;
  margin-bottom: 14px;
}
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); font-size: 0.95rem; margin: 0; }

@media (max-width: 820px) {
  .steps { grid-template-columns: 1fr; }
  .step { border-right: 0; border-bottom: 1px solid var(--rule); padding-right: 0; }
  .step:last-child { border-bottom: 0; }
}

/* ------------------------------------------------------------------ systems */

.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(248px, 1fr));
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}

.system {
  background: var(--paper);
  padding: clamp(22px, 2.6vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.system__label { font-size: 0.68rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--muted); }
.system h3 { margin: 0; }
.system p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.system .text-link { margin-top: auto; padding-top: 12px; }

.status-pill {
  align-self: flex-start;
  font-size: 0.67rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.status-pill--pilot { background: var(--warn-soft); color: var(--warn); }
.status-pill--live { background: var(--ok-soft); color: var(--ok); }

/* -------------------------------------------------------------- statements */

.statement-list { list-style: none; margin: 0; padding: 0; }
.statement-list li {
  display: grid;
  grid-template-columns: 22px minmax(0, 1fr);
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid var(--rule);
}
.statement-list li:last-child { border-bottom: 0; }
.statement-list li::before { content: "\2014"; color: var(--accent); font-family: var(--display); }
.ink .statement-list li { border-bottom-color: var(--rule-ink); color: var(--text-ink); }
.ink .statement-list li::before { color: var(--accent-hot); }

/* ------------------------------------------------------------------- about */

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.about-card { border: 1px solid var(--rule); background: var(--card); padding: clamp(22px, 2.6vw, 32px); }

.about-card__top {
  display: flex;
  align-items: center;
  gap: 14px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 18px;
}
.about-card__mark { width: 52px; height: 52px; object-fit: contain; flex: none; }
.about-card__name { font-family: var(--display); font-weight: 600; font-size: 1.06rem; }
.about-card__role { font-size: 0.82rem; color: var(--muted); }

.about-card dl { margin: 0; display: grid; gap: 14px; }
.about-card dt { font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.about-card dd { margin: 3px 0 0; font-size: 0.95rem; }

@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ contact */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 68px);
  align-items: start;
}
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-sheet { display: grid; gap: 16px; }
.contact-sheet__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 620px) { .contact-sheet__grid { grid-template-columns: 1fr; } }

.contact-sheet label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted-ink);
}

.contact-sheet input,
.contact-sheet select,
.contact-sheet textarea {
  width: 100%;
  margin-top: 8px;
  padding: 13px 14px;
  font: inherit;
  font-size: 0.97rem;
  color: var(--text-ink);
  background: rgba(250, 246, 240, 0.05);
  border: 1px solid var(--rule-ink);
  border-radius: var(--radius);
  text-transform: none;
  letter-spacing: normal;
}
.contact-sheet select option { color: #1a1512; }
.contact-sheet textarea { min-height: 130px; resize: vertical; }

/* The tinted glow is decoration; the outline is the accessible signal, so it
   is never suppressed. Keyboard and forced-colors users depend on it. */
.contact-sheet input:focus,
.contact-sheet select:focus,
.contact-sheet textarea:focus {
  border-color: var(--accent-hot);
  box-shadow: 0 0 0 3px rgba(255, 122, 47, 0.18);
}

.contact-sheet__note {
  font-size: 0.84rem;
  color: var(--muted-ink);
  text-transform: none;
  letter-spacing: normal;
  margin: 0;
}
.contact-sheet__status { font-size: 0.87rem; color: var(--accent-hot); margin: 0; min-height: 1.2em; }

.contact-sheet--paper label { color: var(--muted); }
.contact-sheet--paper input,
.contact-sheet--paper select,
.contact-sheet--paper textarea { color: var(--text); background: var(--card); border-color: var(--rule); }
.contact-sheet--paper input:focus,
.contact-sheet--paper select:focus,
.contact-sheet--paper textarea:focus { border-color: var(--accent); box-shadow: 0 0 0 3px rgba(176, 78, 0, 0.14); }
.contact-sheet--paper .contact-sheet__note { color: var(--muted); }
.contact-sheet--paper .contact-sheet__status { color: var(--accent); }

/* ------------------------------------------------------- generic / legacy */

.card { background: var(--card); border: 1px solid var(--rule); padding: clamp(22px, 2.6vw, 30px); }

.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }

.list { margin: 0; padding-left: 1.1em; }
.list li { margin-bottom: 8px; }
.list li::marker { color: var(--accent); }

.clean-list { list-style: none; margin: 0; padding: 0; }
.clean-list li { padding: 12px 0; border-bottom: 1px solid var(--rule); }
.clean-list li:last-child { border-bottom: 0; }

.notice { border-left: 3px solid var(--accent); background: var(--soft); padding: 18px 20px; font-size: 0.95rem; }
.notice.warning { border-left-color: var(--warn); background: var(--warn-soft); }

.page-title { padding: clamp(52px, 7vw, 88px) 0 clamp(20px, 3vw, 34px); }
.section { padding: clamp(40px, 6vw, 76px) 0; }
.section.alt { background: var(--paper-2); }
.section.compact { padding: clamp(28px, 4vw, 44px) 0; }

.eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.prose { max-width: 68ch; }
.prose h2 { margin-top: 2em; font-size: clamp(1.3rem, 2vw, 1.6rem); }
.prose ul { padding-left: 1.1em; }
.prose li { margin-bottom: 8px; }

.step-label { font-family: var(--display); color: var(--accent); font-weight: 600; display: block; margin-bottom: 8px; }
.product-proof img { border: 1px solid var(--rule); background: var(--card); }
.product-proof figcaption { font-size: 0.9rem; color: var(--muted); margin-top: 10px; }
.proof-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.section-heading-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: end; margin-bottom: 32px; }
@media (max-width: 820px) { .section-heading-row { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ footer */

.footer {
  background: var(--ink);
  color: var(--muted-ink);
  padding: clamp(46px, 6vw, 72px) 0 34px;
  font-size: 0.92rem;
}

.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 48px);
  padding-bottom: 34px;
  border-bottom: 1px solid var(--rule-ink);
}
@media (max-width: 860px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 40px; height: 40px; object-fit: contain; }
.footer-brand span { font-family: var(--display); font-size: 1.1rem; color: var(--text-ink); font-weight: 600; }
.footer-intro p { color: var(--muted-ink); max-width: 34ch; font-size: 0.9rem; }

.footer h2,
.footer h4 {
  font-family: var(--ui);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-ink);
  margin: 0 0 14px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 9px; }
.footer a { color: var(--text-ink); }
.footer a:hover { color: var(--accent-hot); text-decoration: none; }

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 26px;
  font-size: 0.85rem;
}
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px; }

/* -------------------------------------------------------------- animation */

@media (prefers-reduced-motion: no-preference) {
  .js .reveal {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1), transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* Drawn rather than typed: neither brand face carries U+25CF, so a literal
   bullet fell back to a system font mid-line. */
.ticker__sep {
  display: inline-block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.55;
  vertical-align: middle;
  font-size: 0;
}

/* ---------------------------------------------------------------------- print
   Buyers forward these pages to an accountant or a partner. Printed, the site
   should read as a document: no dark bands eating toner, no sticky chrome, and
   link destinations spelled out because a printed link is otherwise useless. */
@media print {
  @page { margin: 18mm 16mm; }

  html { scroll-behavior: auto; }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
    line-height: 1.5;
  }

  .site-header,
  .mobile-toggle,
  .nav-links,
  .skip-link,
  .hero__canvas,
  .ticker,
  .actions,
  .footer-top { display: none !important; }

  /* Ink surfaces invert to paper so they cost nothing to print and stay legible. */
  .ink,
  .hero,
  .band.ink,
  .contact-sheet {
    background: #fff !important;
    color: #000 !important;
    border: 0 !important;
  }
  .ink h1, .ink h2, .ink h3,
  .hero h1, .hero h2, .hero h3,
  .ink .lead, .ink .muted, .ink p, .ink li,
  .hero .lead, .hero p { color: #000 !important; }

  .band, .section, .page-title { padding: 14pt 0 !important; }
  .wrap { max-width: none; padding: 0; }

  .paper-2, .card, .about-card, .ledger, .system, .screen img {
    background: #fff !important;
    border-color: #999 !important;
  }

  h1 { font-size: 22pt; }
  h2 { font-size: 15pt; }
  h3 { font-size: 12pt; }

  h1, h2, h3, figure, .route, .phase, .screen { break-inside: avoid; page-break-inside: avoid; }
  h1, h2, h3 { break-after: avoid; page-break-after: avoid; }

  .section-head__no, .route__no, .phase__no, .ledger__no, .symptom__no, .step__no { color: #000 !important; }
  .section-head__no { border-top-color: #000 !important; }

  a { color: #000; text-decoration: underline; }
  /* A printed link with no destination is a dead end. */
  main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 9pt; word-break: break-all; }

  .footer { background: #fff !important; color: #000 !important; border-top: 1px solid #999; }
  .footer-legal { color: #000 !important; }
  .footer-legal span { color: #000 !important; }

  .reveal { opacity: 1 !important; transform: none !important; }
}

/* Value columns. Four equal tracks so the rules line up across the row, and
   each explanation starts at the same baseline regardless of heading length —
   subgrid keeps the heading and body rows aligned rather than each column
   flowing independently. */
.values {
  display: grid;
  gap: clamp(24px, 3vw, 40px);
  grid-template-columns: 1fr;
}

.value {
  display: grid;
  gap: 10px;
  align-content: start;
  padding-top: 16px;
  border-top: 2px solid var(--accent);
}
.ink .value { border-top-color: var(--accent-hot); }

.value h3 {
  font-size: 1.06rem;
  margin: 0;
  /* headings wrap to at most two lines and never leave a single word behind */
  text-wrap: balance;
}
.value p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--muted);
  text-wrap: pretty;
}
.ink .value p { color: var(--muted-ink); }

@media (min-width: 620px) {
  .values { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1000px) {
  .values { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  /* two rows: every heading occupies row 1, every paragraph row 2, so the
     explanations align even when a heading runs onto a second line */
  .values { grid-template-rows: auto auto; }
  .value { display: grid; grid-row: span 2; grid-template-rows: subgrid; row-gap: 10px; }
}
