/* ============================================================
   vectorio.io — engineering annual report
   Paper surfaces · ink type · one vermilion accent.
   Google Sans Flex for voice, Google Sans Code for measurement.
   ============================================================ */

/* Self-hosted, sovereign — no Google Fonts CDN call. OFL-licensed
   latin-subset variable woff2 (wght axis); one file per face covers
   every weight. Files live next to this stylesheet. */
@font-face {
  font-family: "Google Sans Flex";
  font-style: normal;
  font-weight: 1 1000;
  font-display: swap;
  src: url("fonts/GoogleSansFlex.woff2") format("woff2");
}
@font-face {
  font-family: "Google Sans Code";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("fonts/GoogleSansCode.woff2") format("woff2");
}

:root {
  /* Vectorio CI 2026 — navy spine · white/bone surfaces · ONE signal (Vectorio red).
     Variable names kept so every existing rule re-skins; only values remapped. */
  /* ── surfaces — clean white + warm-neutral bone ── */
  --paper:        #FFFFFF;
  --paper-2:      #F4F3EE;
  --paper-3:      #ECEDEA;
  --paper-tint:   #FAFAF8;
  --card:         #FFFFFF;

  /* ── ink (near-black, faint navy undertone) ── */
  --ink:          #0B0E14;
  --ink-2:        #2A2F39;
  --ink-3:        #5B616C;
  --ink-4:        #9AA0A9;
  --ink-inverse:  #FFFFFF;

  /* ── rules ── */
  --rule:         rgba(11,14,20,0.10);
  --rule-strong:  rgba(11,14,20,0.22);
  --rule-ink:     #0B0E14;

  /* ── signal accent — Vectorio red. Emphasis + interaction, SPARINGLY ── */
  --vermilion:        #C01800;
  --vermilion-hover:  #A01400;
  --vermilion-soft:   rgba(255, 38, 0, 0.16);
  --vermilion-strong: rgba(255, 38, 0, 0.18);
  /* the bright POWER signal — for dark grounds (hero) where the dim cut would mute it */
  --sig-power:        #FF2600;

  /* ── navy — the structural brand colour (this slot was --teal) ── */
  --teal:         #112A46;
  --teal-bright:  #FF2600;
  --teal-soft:    rgba(17, 42, 70, 0.10);

  /* ── functional signals — error kept clearly OFF the brand red ── */
  --ok:           #16A34A;
  --warn:         #B7791F;
  --err:          #BE123C;

  /* ── type — change --brand-face (one line) to swap the whole brand typeface ── */
  --brand-face: "Google Sans Flex";
  --sans:    var(--brand-face), -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --display: var(--brand-face), -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono:    "Google Sans Code", "SF Mono", ui-monospace, Menlo, Consolas, monospace;

  /* ── motion ── */
  --ease:   cubic-bezier(0.2, 0.7, 0.2, 1);
  --fast:   140ms;
  --base:   240ms;
  --slow:   480ms;

  /* ── geometry ── */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 14px;
  --col-max: 1240px;
  --gutter:  32px;

  --shadow-card:
    0 0 0 0.5px rgba(14, 14, 12, 0.06),
    0 1px 2px rgba(14, 14, 12, 0.04),
    0 18px 36px -22px rgba(14, 14, 12, 0.18);
}

/* ── per-product skins — set the signal accent per product page. The interactive/
   text accent (--vermilion) uses the DIM cut (legible on white per the CI rule);
   the soft/strong washes + selection carry the bright POWER signal. ── */
body.protor-skin {
  --vermilion:        #606300;                 /* Protor dim — legible olive cut of signal-yellow */
  --vermilion-hover:  #4C5200;
  --vermilion-soft:   rgba(229, 236, 0, 0.16);
  --vermilion-strong: rgba(229, 236, 0, 0.30);
  --sig-power:        #E5EC00;                 /* bright signal-yellow for the hero / dark grounds */
  --teal-bright:      #E5EC00;                 /* accent on dark grounds (surf-ink) — matches the skin signal */
}
body.indago-skin {
  --vermilion:        #00596B;                 /* Indago dim — dark-teal cut of electric cyan */
  --vermilion-hover:  #00455A;
  --vermilion-soft:   rgba(0, 212, 255, 0.16);
  --vermilion-strong: rgba(0, 212, 255, 0.26);
  --sig-power:        #00D4FF;                 /* bright electric cyan for the hero / dark grounds */
  --teal-bright:      #00D4FF;                 /* accent on dark grounds (surf-ink) — matches the skin signal */
}

* , *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "ss01", "kern", "liga";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  /* faint paper grain */
  background-image:
    radial-gradient(rgba(14,14,12,0.025) 1px, transparent 1px),
    radial-gradient(rgba(14,14,12,0.018) 1px, transparent 1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1px 2px;
}

a { color: var(--ink); text-decoration: none; border-bottom: 1px solid transparent; transition: color var(--fast) var(--ease), border-color var(--fast) var(--ease); }
a:hover { color: var(--vermilion); border-bottom-color: var(--vermilion); }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--vermilion-strong); color: var(--ink); }
code, kbd, samp { font-family: var(--mono); font-size: 0.92em; }
hr { border: 0; border-top: 1px solid var(--rule); margin: 0; }

/* ============================================================
   masthead — hairline bar, paper-glass blur on scroll
   ============================================================ */
.masthead {
  position: sticky; top: 0; z-index: 30;
  background: rgba(242, 239, 230, 0.82);
  backdrop-filter: saturate(160%) blur(16px);
  -webkit-backdrop-filter: saturate(160%) blur(16px);
  border-bottom: 1px solid var(--rule);
}
.masthead-inner {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 16px var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); border: 0; }
.brand:hover { color: var(--ink); border: 0; }
.brand .mark { width: 22px; height: 22px; }
.brand .mark path { fill: currentColor; }
.brand .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.brand .rule-v { width: 1px; height: 16px; background: var(--rule-strong); }
.brand .kicker {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.nav { display: flex; justify-content: center; gap: 4px; flex-wrap: wrap; }
.nav a {
  color: var(--ink-2);
  font-size: 13.5px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--r-sm);
  border: 0;
  transition: color var(--fast) var(--ease), background var(--fast) var(--ease);
}
.nav a:hover { color: var(--ink); background: var(--paper-3); border: 0; }
.nav a.active { color: var(--vermilion); }

.top-actions { display: flex; align-items: center; gap: 10px; }
.top-cta {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 9px 16px;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-sm);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  border: 1px solid var(--ink);
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), transform var(--fast) var(--ease);
  white-space: nowrap;
}
.top-cta:hover { background: var(--vermilion); color: var(--paper); border-color: var(--vermilion); transform: translateY(-1px); }
.top-cta.secondary { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.top-cta.secondary:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.top-cta .arrow { font-family: var(--mono); }

/* ============================================================
   page shell
   ============================================================ */
.page { max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter); }

section.block {
  padding: clamp(100px, 13vw, 184px) 0;
  border-top: 1px solid var(--rule);
  position: relative;
}
section.block:first-of-type { border-top: 0; }

/* dateline pill — mono, restrained */
.dateline {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--ink-2);
  letter-spacing: 0.10em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 28px;
}
.dateline::before {
  content: "";
  width: 28px; height: 1px;
  background: var(--vermilion);
  display: inline-block;
}

/* ============================================================
   headlines
   ============================================================ */
h1.hero-headline {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(56px, 9vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.045em;
  color: var(--ink);
  margin: 0 0 32px;
  max-width: 14ch;
}
h1.hero-headline em {
  font-style: italic;
  color: var(--vermilion);
  font-weight: 700;
}
h1.hero-headline .tick {
  display: inline-block;
  color: var(--vermilion);
  font-style: normal;
  font-family: var(--mono);
  font-weight: 500;
  font-size: 0.42em;
  vertical-align: 0.65em;
  margin-left: 6px;
  letter-spacing: 0;
}

h2.section-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.032em;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 22ch;
}
h2.section-title em { font-style: italic; color: var(--vermilion); font-weight: 700; }

h3.card-title {
  font-family: var(--display);
  font-weight: 600;
  font-size: 22px;
  letter-spacing: -0.018em;
  margin: 0 0 8px;
}

p.lead {
  font-family: var(--sans);
  font-size: 19px;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 56ch;
  margin: 0 0 36px;
}
p.lead em { font-style: italic; color: var(--ink); }

p { margin: 0 0 14px; }

/* section-eyebrow — small mono label that opens a section */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
  display: flex; align-items: center; gap: 10px;
}
.eyebrow .num { color: var(--vermilion); }

/* ============================================================
   buttons
   ============================================================ */
.btn-row { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-weight: 500;
  border: 1px solid transparent;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease), transform var(--fast) var(--ease);
}
.btn .arrow { font-family: var(--mono); transition: transform var(--fast) var(--ease); }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn-primary:hover { background: var(--vermilion); border-color: var(--vermilion); color: var(--paper); }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.btn-outline:hover { color: var(--ink); border-color: var(--ink); background: var(--paper-tint); }
.btn-text { color: var(--ink); padding: 13px 4px; border-bottom: 1px solid var(--rule-strong); border-radius: 0; }
.btn-text:hover { color: var(--vermilion); border-bottom-color: var(--vermilion); }

/* ============================================================
   the SIGNATURE — throughput rail
   horizontal strip of live-ticking measurements under hero
   ============================================================ */
.throughput-rail {
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule);
  margin: 56px 0 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.throughput-rail .cell {
  padding: 22px 24px 22px 0;
  border-right: 1px solid var(--rule);
  position: relative;
}
.throughput-rail .cell:last-child { border-right: 0; }
.throughput-rail .cell:not(:first-child) { padding-left: 24px; }
.throughput-rail .kicker {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
  display: flex; gap: 8px; align-items: center;
}
.throughput-rail .kicker .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
  animation: pulse 1.8s var(--ease) infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.9); }
}
.throughput-rail .value {
  font-family: var(--mono);
  font-size: clamp(26px, 3.4vw, 36px);
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 6px;
  font-variant-numeric: tabular-nums;
}
.throughput-rail .value .unit {
  font-size: 13px; color: var(--ink-3); font-weight: 500;
}
.throughput-rail .footnote {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  margin-top: 6px;
  letter-spacing: 0.02em;
}

/* ============================================================
   hero
   ============================================================ */
.hero {
  padding: 96px 0 0;
  position: relative;
}
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 64px;
  align-items: end;
}
@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* the moving "ledger" panel that floats on the right of hero */
.ledger {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 18px;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-2);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.ledger header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--rule);
}
.ledger header .title { font-weight: 500; color: var(--ink); letter-spacing: 0.04em; text-transform: uppercase; font-size: 10.5px; }
.ledger header .live { display: flex; gap: 6px; align-items: center; font-size: 10.5px; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; }
.ledger header .live .dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-soft);
  animation: pulse 1.6s var(--ease) infinite;
}
.ledger ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.ledger li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 4px 0;
  border-bottom: 1px dashed var(--rule);
}
.ledger li:last-child { border-bottom: 0; }
.ledger li .ts { color: var(--ink-3); font-size: 10.5px; }
.ledger li .label { color: var(--ink); }
.ledger li .v { color: var(--vermilion); font-variant-numeric: tabular-nums; }
.ledger li .v.ok { color: var(--ok); }

/* sparkline strip at bottom of ledger */
.spark { height: 36px; margin-top: 14px; }
.spark path { fill: none; stroke: var(--teal); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.spark .area { fill: var(--teal-soft); stroke: none; }

/* ============================================================
   product / capability cards
   ============================================================ */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;                       /* hairline shows as the bg color */
  background: var(--rule);
  border: 1px solid var(--rule);
}
.cards.two { grid-template-columns: repeat(2, 1fr); }
.cards.four { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 920px) { .cards, .cards.two, .cards.four { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  padding: 32px;
  display: flex; flex-direction: column;
  min-height: 280px;
  position: relative;
  transition: background var(--base) var(--ease);
}
.card:hover { background: var(--card); }
.card .num {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--vermilion);
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.card .desc {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0 0 18px;
  flex: 1;
}
.card .meta {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
  display: flex; flex-wrap: wrap; gap: 8px 14px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
}
.card .more {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink);
  letter-spacing: 0.04em;
  display: inline-flex; gap: 8px; align-items: center;
}
.card .more .arrow { transition: transform var(--fast) var(--ease); }
.card:hover .more .arrow { transform: translateX(4px); color: var(--vermilion); }

/* ============================================================
   "big numbers" panel
   ============================================================ */
.figures {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--rule);
  border-top: 1px solid var(--rule-ink);
  border-bottom: 1px solid var(--rule);
}
@media (max-width: 920px) { .figures { grid-template-columns: repeat(2, 1fr); } }
.figures .fig {
  background: var(--paper);
  padding: 36px 28px;
}
.figures .fig .label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 14px;
}
.figures .fig .n {
  font-family: var(--mono);
  font-size: clamp(36px, 4.6vw, 56px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  display: flex; align-items: baseline; gap: 8px;
}
.figures .fig .n .unit { font-size: 16px; color: var(--ink-3); }
.figures .fig .desc { color: var(--ink-2); font-size: 13.5px; margin-top: 12px; max-width: 28ch; }

/* ============================================================
   architecture map — hairline ASCII-style
   ============================================================ */
.arch-map {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: var(--r-md);
  padding: 36px 32px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-2);
  position: relative;
  overflow-x: auto;
}
.arch-map .row { display: flex; align-items: stretch; gap: 24px; flex-wrap: wrap; padding: 14px 0; }
.arch-map .row + .row { border-top: 1px dashed var(--rule); }
.arch-map .label {
  min-width: 120px;
  color: var(--ink-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 10.5px;
  padding-top: 8px;
}
.arch-map .nodes { display: flex; flex-wrap: wrap; gap: 8px; flex: 1; align-items: center; }
.arch-map .node {
  border: 1px solid var(--rule-strong);
  background: var(--paper);
  padding: 6px 12px;
  border-radius: var(--r-sm);
  color: var(--ink);
  font-weight: 500;
  font-size: 12px;
  white-space: nowrap;
}
.arch-map .node.accent { border-color: var(--vermilion); color: var(--vermilion); }
.arch-map .arrow { color: var(--ink-3); }

/* ============================================================
   code block
   ============================================================ */
.code {
  background: #0E0E0C;
  color: #EAE7DD;
  border-radius: var(--r-md);
  padding: 24px 28px;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.65;
  overflow-x: auto;
  position: relative;
  box-shadow: var(--shadow-card);
}
.code .filename {
  position: absolute; top: 12px; right: 16px;
  font-size: 10.5px;
  color: rgba(242,239,230,0.45);
  letter-spacing: 0.10em;
  text-transform: uppercase;
}
.code .k { color: #E89060; }   /* keyword */
.code .s { color: #B5D7AE; }   /* string */
.code .n { color: #D6CFA8; }   /* number */
.code .c { color: #6A675F; font-style: italic; } /* comment */
.code .p { color: #BFBBB0; }   /* punctuation */

/* ============================================================
   list rail — bulletted with hairline tick
   ============================================================ */
ul.tick-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
ul.tick-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: baseline;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--rule);
}
ul.tick-list li::before {
  content: "→";
  font-family: var(--mono);
  color: var(--vermilion);
}
ul.tick-list li strong {
  color: var(--ink);
  font-weight: 600;
  display: inline-block;
  margin-right: 10px;
}
ul.tick-list li .meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  display: block;
  margin-top: 4px;
  letter-spacing: 0.04em;
}

/* ============================================================
   sector chips
   ============================================================ */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border: 1px solid var(--rule-strong);
  border-radius: 99px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  background: var(--paper-tint);
  transition: all var(--fast) var(--ease);
}
.chip:hover { color: var(--ink); border-color: var(--ink); }
.chip .badge { color: var(--vermilion); font-size: 10.5px; }

/* ============================================================
   footer
   ============================================================ */
footer.site-foot {
  margin-top: 120px;
  border-top: 1px solid var(--rule-ink);
  background: var(--paper-2);
}
.foot-grid {
  max-width: var(--col-max);
  margin: 0 auto;
  padding: 56px var(--gutter) 24px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 48px;
}
@media (max-width: 920px) { .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
.foot-grid h4 {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
  font-weight: 500;
}
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-grid a { font-size: 14px; color: var(--ink-2); }
.foot-grid a:hover { color: var(--vermilion); }
.foot-grid .word {
  font-family: var(--display);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0 0 14px;
}
.foot-grid p { color: var(--ink-2); font-size: 14px; max-width: 38ch; }

.foot-bottom {
  border-top: 1px solid var(--rule);
  padding: 18px var(--gutter);
  max-width: var(--col-max);
  margin: 0 auto;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  letter-spacing: 0.04em;
}
.foot-bottom .where { display: inline-flex; align-items: center; gap: 8px; }
.foot-bottom .where .dot { width: 6px; height: 6px; background: var(--vermilion); border-radius: 50%; }

/* ============================================================
   reveal animation (page load)
   ============================================================ */
.reveal { opacity: 0; transform: translateY(14px); animation: rise var(--slow) var(--ease) forwards; }
.reveal.d1 { animation-delay: 60ms; }
.reveal.d2 { animation-delay: 140ms; }
.reveal.d3 { animation-delay: 220ms; }
.reveal.d4 { animation-delay: 300ms; }
.reveal.d5 { animation-delay: 380ms; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* in-view reveal (added by JS on scroll) */
.in-view { opacity: 1 !important; transform: none !important; transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease); }
.io-init { opacity: 0; transform: translateY(20px); }

/* ============================================================
   PORTABLE EDITORIAL SYSTEM (shared with the INDAGO site)
   Section surfaces · takeaway bands · staggered reveal · primitives.
   Token-only — drops into any Vectorio-family stylesheet unchanged.
   Reveal here piggybacks on site.js (.io → io-init + in-view); no
   js-reveal flag is needed, unlike the INDAGO build.
   ============================================================ */

/* ── staggered reveal: children of an .io[data-stagger] grid cascade ── */
@media (prefers-reduced-motion: no-preference) {
  .io[data-stagger] { opacity: 1 !important; transform: none !important; }   /* parent visible; beats io-init */
  /* gate the child-hide on io-init (JS-applied) so no-JS leaves children visible */
  .io[data-stagger].io-init > * {
    opacity: 0; transform: translateY(20px);
    transition: opacity .62s var(--ease), transform .62s var(--ease);
    will-change: opacity, transform;
  }
  .io[data-stagger].in-view > * { opacity: 1; transform: none; }
  .io[data-stagger].in-view > *:nth-child(1)   { transition-delay: 0ms;   }
  .io[data-stagger].in-view > *:nth-child(2)   { transition-delay: 70ms;  }
  .io[data-stagger].in-view > *:nth-child(3)   { transition-delay: 140ms; }
  .io[data-stagger].in-view > *:nth-child(4)   { transition-delay: 210ms; }
  .io[data-stagger].in-view > *:nth-child(5)   { transition-delay: 280ms; }
  .io[data-stagger].in-view > *:nth-child(6)   { transition-delay: 350ms; }
  .io[data-stagger].in-view > *:nth-child(n+7) { transition-delay: 410ms; }
}

/* ── section surfaces: full-bleed bands so each section is its own scene ── */
section.block.surf-ink { border-top: 0; }
section.block[class*="surf-"]::before {
  content: ""; position: absolute; z-index: -1;
  top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%);
}
.surf-2::before {
  background: var(--paper-2);
  box-shadow: inset 0 18px 26px -24px rgba(14,14,12,.28),
              inset 0 -18px 26px -24px rgba(14,14,12,.28);
}
.surf-tint::before { background: var(--paper-tint); }
.surf-ink::before  { background: var(--ink); }
.surf-ink { color: var(--paper); }
.surf-ink h2.section-title { color: var(--paper); }
.surf-ink h2.section-title em { color: var(--teal-bright, var(--teal)); }
/* selector strong enough to beat the homepage's inline main.page p.lead (0,2,2) */
section.block.surf-ink p.lead, section.block.surf-ink p,
.surf-ink p.lead, .surf-ink p { color: rgba(242,239,230,.80); }
.surf-ink p em, .surf-ink p.lead em { color: var(--paper); font-style: italic; }
.surf-ink .muted, section.block.surf-ink .muted { color: rgba(242,239,230,.58); }
.surf-ink .dateline { color: rgba(242,239,230,.58); }
.surf-ink .dateline::before { background: var(--teal-bright, var(--teal)); }
.surf-ink .caption { color: rgba(242,239,230,.5); }
.surf-ink code { background: rgba(56,214,193,.14); color: var(--teal-bright, var(--teal)); }
.surf-ink .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.surf-ink .btn-primary:hover { background: var(--teal-bright, var(--teal)); border-color: var(--teal-bright, var(--teal)); color: var(--ink); }
.surf-ink .btn-outline { color: var(--paper); border-color: rgba(242,239,230,.40); }
.surf-ink .btn-outline:hover { color: var(--paper); border-color: var(--paper); background: rgba(242,239,230,.08); }

/* ── takeaway band: three big numbers that state a section's conclusion ── */
.takeaway {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 1px; background: var(--rule); border: 1px solid var(--rule);
  border-radius: var(--r-md); overflow: hidden; margin: 4px 0 8px;
}
@media (max-width: 760px) { .takeaway { grid-template-columns: 1fr; } }
.takeaway .stat { background: var(--card); padding: clamp(22px,2.4vw,30px) clamp(20px,2vw,28px); }
.takeaway .stat .n {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em;
  font-size: clamp(28px, 3.2vw, 42px); line-height: 1; color: var(--ink); display: block;
}
.takeaway .stat .n em { color: var(--teal); font-style: normal; }
.takeaway .stat .l { display: block; margin-top: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.4; }

/* ============================================================
   tables (used on engine + project pages)
   ============================================================ */
table.bench {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--mono);
  font-size: 13px;
}
table.bench th, table.bench td {
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--rule);
}
table.bench th {
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 500;
  border-bottom-color: var(--rule-ink);
  background: var(--paper-tint);
}
table.bench td.n { text-align: right; font-variant-numeric: tabular-nums; color: var(--ink); }
table.bench td.n .delta { color: var(--vermilion); font-size: 11px; margin-left: 6px; }
table.bench tr:hover td { background: var(--card); }

/* ============================================================
   forms (contact)
   ============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 720px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.field input, .field textarea, .field select {
  background: var(--paper);
  border: 0;
  border-bottom: 1px solid var(--rule-strong);
  padding: 12px 0;
  font-size: 16px;
  color: var(--ink);
  border-radius: 0;
  transition: border-color var(--fast) var(--ease);
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline: 0;
  border-bottom-color: var(--vermilion);
}
.field textarea { min-height: 140px; resize: vertical; font-family: var(--sans); }

/* ============================================================
   Indago landing tints (cyan/teal accent wink)
   ============================================================ */
.indago-skin .dateline::before,
.indago-skin h1.hero-headline em,
.indago-skin h2.section-title em,
.indago-skin .card .num,
.indago-skin ul.tick-list li::before {
  color: var(--teal);
}
.indago-skin .throughput-rail .value,
.indago-skin .figures .fig .n { color: var(--ink); }
.indago-skin .btn-primary { background: var(--ink); border-color: var(--ink); }
.indago-skin .btn-primary:hover { background: var(--teal); border-color: var(--teal); }
.indago-skin a:hover { color: var(--teal); border-bottom-color: var(--teal); }

/* ============================================================
   misc utilities
   ============================================================ */
.muted { color: var(--ink-3); }
.mono { font-family: var(--mono); }
.cap { letter-spacing: 0.10em; text-transform: uppercase; font-size: 11.5px; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
@media (max-width: 920px) { .split { grid-template-columns: 1fr; gap: 32px; } }
.split-1-2 { display: grid; grid-template-columns: 1fr 2fr; gap: 64px; }
@media (max-width: 920px) { .split-1-2 { grid-template-columns: 1fr; gap: 32px; } }
.spacer-l { height: 64px; }
.spacer-m { height: 32px; }

/* paper margin marker — thin vermilion vertical line in the gutter */
.margin-mark {
  position: absolute; left: 0; top: 0; bottom: 0;
  width: 2px;
  background: var(--vermilion);
}

/* tag — like a code label */
.tag {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding: 3px 8px;
  border: 1px solid var(--rule-strong);
  border-radius: 3px;
  background: var(--paper-tint);
  display: inline-block;
}
.tag.ok { color: var(--ok); border-color: rgba(31,122,58,0.3); background: rgba(31,122,58,0.06); }
.tag.warn { color: var(--warn); border-color: rgba(176,115,0,0.3); background: rgba(176,115,0,0.06); }

/* small caption used under figures */
.caption {
  font-family: var(--mono);
  font-size: 11.5px;
  color: var(--ink-3);
  margin-top: 12px;
  letter-spacing: 0.02em;
}

/* "from the lab" — featured projects strip */
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
@media (max-width: 920px) { .lab-grid { grid-template-columns: 1fr; } }
.lab-card {
  background: var(--paper);
  padding: 28px;
  position: relative;
  overflow: hidden;
  display: flex; flex-direction: column;
  min-height: 320px;
  transition: background var(--base) var(--ease);
}
.lab-card:hover { background: var(--card); border: 0; }
.lab-card .visual {
  height: 120px;
  margin-bottom: 18px;
  background: var(--paper-tint);
  border: 1px solid var(--rule);
  border-radius: var(--r-sm);
  position: relative;
  overflow: hidden;
}
.lab-card .visual svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.lab-card .topic {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--vermilion);
  margin-bottom: 8px;
}
.lab-card h3 {
  font-family: var(--display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.018em;
  margin: 0 0 8px;
  color: var(--ink);
}
.lab-card p { color: var(--ink-2); font-size: 14px; margin: 0 0 14px; }
.lab-card .stats {
  margin-top: auto;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-3);
  display: flex; gap: 14px; flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px dashed var(--rule);
}
.lab-card .stats b { color: var(--ink); font-weight: 500; }

/* ============================================================
   SHARED INNER-PAGE CHROME — v7 masthead + single static banner.
   Opted into via <body class="page-shell"> so the homepage (which
   carries its own inline masthead) is never touched. Mirrors the
   homepage's transparent-over-photo masthead + PNG Vectorio mark.
   ============================================================ */
.page-shell .masthead {
  background: transparent; border-bottom: 0;
  backdrop-filter: none; -webkit-backdrop-filter: none;
  position: absolute; left: 0; right: 0; top: 0; z-index: 30;
}
.page-shell .masthead .brand,
.page-shell .masthead .nav a,
.page-shell .masthead .top-cta.secondary { color: var(--paper); }
.page-shell .masthead .brand .word { color: var(--paper); font-size: 16px; }
.page-shell .masthead .brand .kicker { color: rgba(242,239,230,.70); }
.page-shell .masthead .brand .rule-v { background: rgba(242,239,230,.30); }
.page-shell .masthead .nav a:hover { background: rgba(242,239,230,.10); color: var(--paper); }
.page-shell .masthead .nav a.active { color: var(--vermilion); }
.page-shell .masthead .top-cta { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.page-shell .masthead .top-cta:hover { background: var(--vermilion); color: var(--paper); border-color: var(--vermilion); }
.page-shell .masthead .top-cta.secondary { background: transparent; color: var(--paper); border-color: rgba(242,239,230,.40); }
.page-shell .masthead .top-cta.secondary:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
/* the real Vectorio mark (PNG, black-on-transparent) inverted to white on the dark banner */
.page-shell .masthead .brand .mark { width: 38px; height: 38px; display: inline-block; filter: brightness(0) invert(1); opacity: .96; }
.page-shell .masthead .brand:hover .mark { opacity: 1; }
@media (max-width: 1100px) { .page-shell .masthead .brand .kicker, .page-shell .masthead .brand .rule-v { display: none; } }

/* hamburger + drawer */
.page-shell .masthead .hamburger { display: none; width: 36px; height: 36px; padding: 6px; flex-direction: column; justify-content: center; gap: 5px; background: transparent; border: 0; cursor: pointer; }
.page-shell .masthead .hamburger span { display: block; width: 100%; height: 2px; background: var(--paper); border-radius: 1px; transition: transform .26s var(--ease), opacity .2s var(--ease); transform-origin: center; }
.page-shell .masthead .hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.page-shell .masthead .hamburger.open span:nth-child(2) { opacity: 0; }
.page-shell .masthead .hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.page-shell .nav-drawer { position: absolute; top: 100%; left: 0; right: 0; background: rgba(14,14,12,.96); backdrop-filter: saturate(140%) blur(18px); -webkit-backdrop-filter: saturate(140%) blur(18px); border-bottom: 1px solid rgba(242,239,230,.10); border-top: 1px solid rgba(242,239,230,.08); padding: 8px var(--gutter) 24px; display: none; flex-direction: column; z-index: 29; }
.page-shell .nav-drawer.open { display: flex; }
.page-shell .nav-drawer > a { padding: 16px 0; font-family: var(--sans); font-size: 18px; font-weight: 500; color: rgba(242,239,230,.85); border: 0; border-bottom: 1px solid rgba(242,239,230,.08); }
.page-shell .nav-drawer > a:hover { color: var(--paper); border-bottom-color: rgba(242,239,230,.18); }
.page-shell .nav-drawer > a.active { color: var(--vermilion); }
.page-shell .nav-drawer .drawer-actions { margin-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.page-shell .nav-drawer .drawer-actions a { padding: 13px 18px; text-align: center; border-radius: 4px; font-size: 14.5px; font-weight: 500; border-bottom: 0; color: var(--paper); }
.page-shell .nav-drawer .drawer-actions .cta-sec { background: transparent; border: 1px solid rgba(242,239,230,.30); }
.page-shell .nav-drawer .drawer-actions .cta-pri { background: var(--paper); color: var(--ink); }
.page-shell .nav-drawer .drawer-actions .cta-pri:hover { background: var(--vermilion); color: var(--paper); }
@media (max-width: 920px) {
  .page-shell .masthead-inner { grid-template-columns: 1fr auto; gap: 16px; }
  .page-shell .masthead .nav, .page-shell .masthead .top-actions { display: none; }
  .page-shell .masthead .hamburger { display: flex; }
}

/* single static banner — the inner-page counterpart to the homepage cinema */
.page-banner { position: relative; min-height: 520px; padding-top: 104px; display: flex; align-items: flex-end; background: #0a0a08; color: var(--paper); overflow: hidden; }
@media (max-width: 920px) { .page-banner { padding-top: 88px; } }
.page-banner .bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(.58) contrast(1.06) saturate(.9); }
.page-banner .scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,8,.55) 0%, rgba(10,10,8,.12) 38%, rgba(10,10,8,.9) 100%); }
.page-banner .inner { position: relative; z-index: 2; width: 100%; max-width: var(--col-max); margin: 0 auto; padding: 0 var(--gutter) clamp(40px, 6vw, 66px); }
.page-banner .eyebrow { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: rgba(242,239,230,.72); display: inline-flex; align-items: center; gap: 10px; margin: 0 0 18px; }
.page-banner .eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--sig-power); display: inline-block; }
.page-banner h1 { font-family: var(--display); font-weight: 700; font-size: clamp(40px, 6vw, 76px); line-height: .98; letter-spacing: -0.03em; margin: 0; max-width: 18ch; color: var(--paper); }
.page-banner h1 em { font-style: italic; color: var(--sig-power); }
.page-banner p.lead { color: rgba(242,239,230,.82); font-size: clamp(16px, 1.6vw, 19px); max-width: 58ch; margin: 18px 0 0; }
@media (max-width: 720px) { .page-banner { min-height: 392px; } }
/* buttons sit on the dark banner — invert like the surf-ink finale */
.page-banner .btn-primary { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.page-banner .btn-primary:hover { background: var(--vermilion); border-color: var(--vermilion); color: var(--paper); }
.page-banner .btn-outline { color: var(--paper); border-color: rgba(242,239,230,.42); }
.page-banner .btn-outline:hover { color: var(--paper); border-color: var(--paper); background: rgba(242,239,230,.08); }

/* ============================================================
   workflow showcase — VXL code window + live canvas image
   ============================================================ */
.flow-split { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 30px; align-items: stretch; }
@media (max-width: 900px) { .flow-split { grid-template-columns: 1fr; } }
.flow-pane { margin: 0; display: flex; flex-direction: column; min-width: 0; }
.flow-pane figcaption {
  font-family: var(--mono); font-size: 11px; letter-spacing: .06em; color: var(--ink-3);
  margin: 0 0 10px; display: flex; align-items: center; gap: 8px;
}
.flow-pane figcaption .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--ink-4); flex: none; }
.flow-pane figcaption .dot.live { background: var(--ok); box-shadow: 0 0 0 3px rgba(31,122,58,.18); }
.flow-pane .code { flex: 1; margin: 0; overflow: auto; }
.flow-pane img {
  width: 100%; height: 100%; min-height: 280px; object-fit: cover; object-position: left top;
  border: 1px solid var(--rule); border-radius: var(--r-md); box-shadow: var(--shadow-card); display: block; background: #14161c;
}
/* surf-2 band: lift the panes a touch */
.surf-2 .flow-pane img { border-color: var(--rule-strong); }

/* extra .code token classes for VXL (type path + property name + boolean) */
.code .t { color: #8FD0C8; }   /* type path  */
.code .a { color: #CFC9BA; }   /* .Property  */
.code .b { color: #C99BE6; }   /* boolean    */

/* ============================================================
   sector PHOTO tiles — moved out of index.html's inline <style>
   so the protor.html "Any sector" section (relocated here) keeps
   its compact photo-grid styling.
   ============================================================ */
.sectors-tiles {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px;
  background: var(--rule); border: 1px solid var(--rule);
  margin-top: 28px;
}
@media (max-width: 920px) { .sectors-tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .sectors-tiles { grid-template-columns: 1fr; } }
.sector-tile {
  background: var(--paper); padding: 0;
  display: flex; flex-direction: column;
  aspect-ratio: 5 / 4; position: relative; overflow: hidden;
  transition: transform var(--base) var(--ease); border: 0;
}
.sector-tile:hover { transform: translateY(-2px); }
.sector-tile .ph { width: 100%; aspect-ratio: 16/9; overflow: hidden; border-bottom: 1px solid var(--rule); background: var(--paper-tint); }
.sector-tile .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.04) saturate(.95); transition: filter var(--base) var(--ease), transform var(--base) var(--ease); }
.sector-tile:hover .ph img { filter: grayscale(0) contrast(1.06) saturate(1); transform: scale(1.02); }
.sector-tile .meta { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.sector-tile .meta .badge { font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--vermilion); font-weight: 600; }
.sector-tile .meta .name { font-family: var(--display); font-weight: 600; font-size: 17px; letter-spacing: -0.012em; color: var(--ink); line-height: 1.18; }
.sector-tile .meta .note { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: .02em; margin-top: auto; }

/* CSS-only tabbed code window (VXL / JSON) for the workflow showcase */
.codetabs { position: relative; height: 100%; display: flex; flex-direction: column; }
.codetabs > input { position: absolute; width: 0; height: 0; opacity: 0; pointer-events: none; }
.codetabs .tabbar { display: flex; align-items: center; gap: 6px; margin-bottom: 10px; }
.codetabs .tab {
  font-family: var(--mono); font-size: 11px; letter-spacing: .04em;
  padding: 6px 13px; border: 1px solid var(--rule-strong); border-radius: 99px;
  color: var(--ink-3); cursor: pointer; background: transparent;
  transition: background var(--fast) var(--ease), color var(--fast) var(--ease), border-color var(--fast) var(--ease);
}
.codetabs .tab:hover { color: var(--ink); }
.codetabs .tab-note { font-family: var(--mono); font-size: 10.5px; color: var(--ink-4); margin-left: auto; }
.codetabs #fmt-vxl:checked  ~ .tabbar label[for="fmt-vxl"],
.codetabs #fmt-json:checked ~ .tabbar label[for="fmt-json"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.codetabs .pane { display: none; flex: 1; margin: 0; }
.codetabs #fmt-vxl:checked  ~ .pane-vxl  { display: block; }
.codetabs #fmt-json:checked ~ .pane-json { display: block; }
.code .j { color: #8FD0C8; }   /* JSON key */

/* ============================================================
   product-card previews on the homepage — "what you get" in one image
   ============================================================ */
.card .card-preview {
  display: block; width: 100%; height: 176px; overflow: hidden;
  border-radius: var(--r-sm); border: 1px solid var(--rule);
  margin: 2px 0 18px; background: #14161c;
}
.card .card-preview img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
/* indago variant — a ranked-results mock */
.card .card-preview.results {
  background: #0f1115; padding: 14px 16px; display: flex; flex-direction: column;
  gap: 9px; justify-content: center;
}
.card .card-preview .q { font-family: var(--mono); font-size: 11px; color: var(--teal); }
.card .card-preview .hit { font-family: var(--mono); font-size: 11.5px; color: rgba(242,239,230,.74); display: flex; gap: 9px; align-items: baseline; }
.card .card-preview .hit .rk { color: var(--vermilion); font-weight: 600; }
.card .card-preview .hit .sc { margin-left: auto; color: rgba(242,239,230,.5); }

/* ============================================================
   Contact form — honeypot + async submit status (contact.php)
   ============================================================ */
.form-grid .hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 14px 0 0; font-family: var(--mono); font-size: 12.5px; line-height: 1.5; }
.form-status.pending { color: var(--ink-3); }
.form-status.ok  { color: var(--ok); }
.form-status.err { color: var(--err); }

/* ============================================================
   GDPR consent checkbox — contact form (contact.php)
   ============================================================ */
.consent { display: flex; gap: 12px; align-items: flex-start; margin: 4px 0 4px;
  font-family: var(--mono); font-size: 12px; line-height: 1.6; color: var(--ink-3); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent .box { flex: 0 0 18px; width: 18px; height: 18px; margin-top: 1px;
  border: 1.5px solid var(--rule-strong); border-radius: 4px; display: grid; place-items: center;
  transition: background var(--fast) var(--ease), border-color var(--fast) var(--ease); }
.consent .box::after { content: ""; width: 9px; height: 5px; margin-top: -2px;
  border-left: 2px solid var(--paper); border-bottom: 2px solid var(--paper);
  transform: rotate(-45deg) scale(0); transition: transform var(--fast) var(--ease); }
.consent input:checked + .box { background: var(--vermilion); border-color: var(--vermilion); }
.consent input:checked + .box::after { transform: rotate(-45deg) scale(1); }
.consent input:focus-visible + .box { box-shadow: 0 0 0 3px var(--vermilion-soft); }
.consent a { color: var(--ink); border-bottom: 1px solid var(--rule-strong); }
.consent a:hover { color: var(--vermilion); border-bottom-color: var(--vermilion); }

/* ============================================================
   Value pillar band — Indago page (4 outcomes under the hero)
   ============================================================ */
.pillar-band { background: var(--ink); color: var(--paper); border-top: 3px solid var(--sig-power); }
.pillar-band .inner { max-width: var(--col-max); margin: 0 auto; padding: 40px var(--gutter) 24px;
  display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 30px; align-items: start; }
@media (max-width: 920px) { .pillar-band .inner { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pillar-band .inner { grid-template-columns: 1fr; } }
.pillar-band .pillar { display: flex; flex-direction: column; gap: 6px;
  border-top: 2px solid var(--sig-power); padding-top: 14px; }
.pillar-band .pillar .ix { font-family: var(--mono); font-size: 11px; font-weight: 700;
  letter-spacing: .12em; color: var(--sig-power); }
.pillar-band .pillar strong { font-family: var(--display); font-size: 18px; font-weight: 700;
  letter-spacing: -.012em; color: var(--paper); line-height: 1.2; }
.pillar-band .pillar span { font-size: 13.5px; line-height: 1.45; color: rgba(242,239,230,.7); }
.pillar-band .pillar em { font-style: italic; color: var(--sig-power); font-weight: 600; }
.pillar-band .wrap { max-width: var(--col-max); margin: 0 auto; padding: 14px var(--gutter) 30px;
  font-family: var(--mono); font-size: 13px; letter-spacing: .02em; color: rgba(242,239,230,.6);
  border-top: 1px solid rgba(242,239,230,.10); }
.pillar-band .wrap .ar { color: var(--sig-power); margin-right: 6px; }
.pillar-band .wrap b { color: var(--paper); font-weight: 700; }

/* ============================================================
   MOBILE POLISH (2026-07-03) — site-wide. Desktop scale collapses on
   phones: hero floors at 56px, section titles at 32px, leads fixed 19px,
   section padding towers. Pull the floors down, restore whitespace.
   (Homepage hero/leads live in index.html's inline <style> — mirrored there.)
   ============================================================ */
@media (max-width: 680px) {
  :root { --gutter: 20px; }
  section.block { padding: clamp(52px, 12vw, 80px) 0; }
  h1.hero-headline { font-size: clamp(40px, 11vw, 64px); line-height: 0.98; margin-bottom: 24px; }
  h2.section-title { font-size: clamp(25px, 7.4vw, 36px); line-height: 1.06; margin-bottom: 16px; }
  h3.card-title { font-size: 18px; }
  p.lead { font-size: 16px; line-height: 1.5; margin-bottom: 22px; }
  .page-banner h1 { font-size: clamp(34px, 9vw, 52px); }
  .page-banner p.lead { font-size: 15.5px; }
}
@media (max-width: 420px) {
  h1.hero-headline { font-size: 36px; }
  h2.section-title { font-size: 23px; }
  p.lead { font-size: 15.5px; }
}
