/* ============================================================
   NYAVE — base + chrome + components
   Reads tokens.css. Editorial-legal. Multi-page.
   ============================================================ */

*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: var(--t-base);
  line-height: var(--lh-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
/* Focus: keyboard only (:focus-visible), one site-wide ring in the ink colour; bone on navy surfaces. */
a:focus-visible, button:focus-visible, .nav-toggle:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
.footer a:focus-visible, .beta-strip:focus-visible, .dark a:focus-visible, .contact-cta a:focus-visible { outline-color: var(--bone); }
h1,h2,h3,h4,p { margin: 0; }

/* subtle paper grain on the whole page (legal-document texture) */
body::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none; z-index: 1;
  opacity: 0.45;
  background-image:
    repeating-linear-gradient(0deg,
      transparent 0 39px,
      oklch(0.5 0.02 264 / 0.015) 39px 40px);
  mix-blend-mode: multiply;
}

/* ---- shared layout ---------------------------------------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
.measure { max-width: var(--measure); }
.center { text-align: center; }

/* section number + label eyebrow */
.eyebrow {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: var(--s3);
  font-family: var(--sans);
  font-size: var(--t-eyebrow);
  font-weight: 600;
  letter-spacing: var(--tr-label);
  text-transform: uppercase;
  color: var(--ink-3);
}
.eyebrow .num { color: var(--red); font-weight: 600; }
.eyebrow .tick { width: 28px; height: 1px; background: var(--rule-strong); }

.serif { font-family: var(--serif); }
.italic { font-style: italic; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: sticky; top: 0; z-index: 40;
  height: var(--nav-h);
  display: flex; align-items: center;
  background: oklch(0.972 0.011 83 / 0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  width: 100%; max-width: var(--maxw); margin: 0 auto;
  padding-inline: var(--gutter);
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s6);
}
.brand {
  display: inline-flex; align-items: center; gap: var(--s4);
  flex-shrink: 0;
}
.brand-plate {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--navy);
  padding: 9px 14px 11px;
  border-radius: var(--r2);
}
.brand-plate img { height: 22px; width: auto; }
.brand-tag {
  font-family: var(--sans);
  font-size: 11px; font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase;
  color: var(--ink-3);
  border-left: 1px solid var(--rule-strong);
  padding-left: var(--s4);
  white-space: nowrap;
}
.nav-links { display: flex; align-items: center; gap: var(--s5); }
.nav-link {
  font-size: var(--t-xs); font-weight: 500;
  white-space: nowrap; flex-shrink: 0;
  letter-spacing: 0.01em;
  color: var(--ink-2);
  padding: 6px 0; position: relative;
  transition: color var(--t-fast) var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-link.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; background: var(--red);
}
.nav-cta {
  font-size: var(--t-xs); font-weight: 600;
  white-space: nowrap; flex-shrink: 0;
  color: var(--bone); background: var(--navy);
  padding: 9px 16px; border-radius: var(--r-pill);
  transition: background var(--t-fast) var(--ease);
}
.nav-cta:hover { background: var(--navy-deep); }
.nav-toggle { display: none; }

/* ============================================================
   PAGE HEADER (content pages)
   ============================================================ */
.page-head { padding: var(--s11) 0 var(--s8); border-bottom: 1px solid var(--rule); }
.page-head .eyebrow { margin-bottom: var(--s5); }
.page-title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--t-3xl); line-height: var(--lh-tight);
  letter-spacing: var(--tr-tight); color: var(--ink);
  max-width: 18ch;
}
.page-lede {
  margin-top: var(--s6);
  font-size: var(--t-md); line-height: var(--lh-mid);
  color: var(--ink-2); max-width: 56ch;
}

/* ============================================================
   HERO (index)
   ============================================================ */
.hero {
  position: relative;
  padding: clamp(44px, 6vw, 84px) 0 var(--s10);
  overflow: hidden;
}
.hero-eyebrow { margin-bottom: var(--s6); }
.hero-title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--t-3xl); line-height: var(--lh-snug);
  letter-spacing: var(--tr-tight); color: var(--ink);
  max-width: 30ch;
}
.hero-title .accent { color: var(--red); font-style: italic; }
.hero-sub {
  margin-top: var(--s6);
  font-size: var(--t-md); line-height: var(--lh-mid);
  color: var(--ink-2); max-width: 62ch;
}
.hero-meta {
  margin-top: var(--s7);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s6);
  font-family: var(--sans); font-size: var(--t-xs);
  letter-spacing: var(--tr-label); text-transform: uppercase; font-weight: 600;
  color: var(--ink-3);
}
.hero-meta .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.hero-meta b { color: var(--ink); font-weight: 600; }

/* prominent launch callout */
.hero-launch {
  margin-top: var(--s7);
  display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3) var(--s4);
  padding: var(--s4) var(--s6);
  border: 1px solid var(--rule-strong);
  border-left: 3px solid var(--red);
  border-radius: var(--r2);
  background: var(--paper-2);
}
.hero-launch-label {
  font-size: var(--t-eyebrow); font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-3);
}
.hero-launch-date {
  font-family: var(--serif); font-size: var(--t-xl);
  color: var(--red); letter-spacing: var(--tr-snug); line-height: 1;
}
/* the two hero actions, directly under the paragraph */
.hero-ctas {
  margin-top: var(--s7);
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--s4) var(--s7);
}
.btn-secondary {
  display: inline-flex; align-items: center; gap: var(--s2);
  font-family: var(--sans); font-size: var(--t-sm); font-weight: 600;
  letter-spacing: var(--tr-snug); color: var(--navy);
  padding: 4px 0; border-bottom: 2px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.btn-secondary:hover { border-bottom-color: var(--red); }
.try-lede { font-size: var(--t-sm); color: var(--ink-2); line-height: var(--lh-mid); margin-bottom: var(--s4); max-width: 48ch; }

/* faint watermark numeral in hero corner */
.hero-watermark {
  position: absolute; right: calc(-1 * var(--gutter)); top: 50%;
  transform: translateY(-50%);
  font-family: var(--deva);
  font-size: 44vh; line-height: 1; color: var(--ink);
  opacity: 0.030; pointer-events: none; user-select: none;
  z-index: 0;
}
.hero > .wrap { position: relative; z-index: 2; }

/* ============================================================
   QUICK TRACKER (hero) — compact vertical
   ============================================================ */
.qtrack {
  margin-top: var(--s10);
  border-top: 1px solid var(--rule);
  padding-top: var(--s7);
}
.qtrack-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s4); margin-bottom: var(--s6); flex-wrap: wrap;
}
.qtrack-head h2 {
  font-family: var(--sans); font-size: var(--t-eyebrow); font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-3);
}
.qtrack-asof { font-size: var(--t-xs); color: var(--ink-3); }
.qtrack-asof a { color: var(--red); }
.qtrack-list {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border: 1px solid var(--rule-strong); border-radius: var(--r3);
  overflow: hidden; background: var(--paper-2);
}
.qstage {
  padding: var(--s6) var(--s6) var(--s7);
  border-right: 1px solid var(--rule);
  position: relative;
}
.qstage:last-child { border-right: 0; }
.qstage-top {
  display: flex; align-items: center; gap: var(--s3);
  margin-bottom: var(--s4);
}
.qstage-node {
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid var(--next); background: var(--paper-2);
  flex: none;
}
.qstage.is-active .qstage-node { border-color: var(--red); background: var(--red); }
.qstage.is-done   .qstage-node { border-color: var(--done); background: var(--done); }
.qstage.is-target .qstage-node { border-color: var(--ink); }
.qstage-idx {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: var(--tr-label); color: var(--ink-4);
}
.qstage-name {
  font-family: var(--serif); font-size: var(--t-md); line-height: var(--lh-snug);
  color: var(--ink); margin-bottom: var(--s4); letter-spacing: var(--tr-snug);
}
.qstage-prog {
  display: flex; align-items: baseline; gap: var(--s3);
  margin-bottom: var(--s3); flex-wrap: wrap;
}
.qstage-pct {
  font-family: var(--serif); font-size: var(--t-lg); line-height: 1;
  color: var(--ink); letter-spacing: var(--tr-tight);
}
.qstage.is-active .qstage-pct { color: var(--red); }
.qstage-pct.muted { color: var(--ink-4); }
.qbar {
  height: 4px; background: var(--paper-3); border-radius: 2px; overflow: hidden;
}
.qbar-fill { display: block; height: 100%; background: var(--red); border-radius: 2px; }
.qstage.is-done .qbar-fill { background: var(--done); }
.qbar-fill.target { background: var(--ink-4); }
.qstage-status {
  display: inline-block;
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase;
}
.qstage.is-active .qstage-status { color: var(--red); }
.qstage.is-done   .qstage-status { color: var(--done); }
.qstage.is-next   .qstage-status,
.qstage.is-target .qstage-status { color: var(--ink-3); }
.qstage-date { display: block; margin-top: var(--s2); font-size: var(--t-xs); color: var(--ink-3); letter-spacing: 0; text-transform: none; font-weight: 500; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: var(--s12) 0; border-bottom: 1px solid var(--rule); }
.section.tight { padding: var(--s10) 0; }
.section-head { margin-bottom: var(--s9); }
.section-head .eyebrow { margin-bottom: var(--s5); }
.section-title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--t-2xl); line-height: var(--lh-snug);
  letter-spacing: var(--tr-tight); color: var(--ink); max-width: 20ch;
}
.prose { font-size: var(--t-base); line-height: var(--lh-body); color: var(--ink-2); max-width: var(--measure); }
.prose + .prose { margin-top: var(--s5); }
.prose strong { color: var(--ink); font-weight: 600; }
.lead { font-size: var(--t-md); line-height: var(--lh-mid); color: var(--ink); }

/* pulled-out number inside prose */
.stat-inline {
  font-family: var(--serif); font-weight: 500;
  color: var(--red); font-style: normal;
  white-space: nowrap;
}
.stat-inline .ast { font-size: 0.62em; vertical-align: super; color: var(--red); margin-left: 1px; }

/* big pulled-out stat block (evidence) */
.stat-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  gap: var(--s4); margin: var(--s9) 0 var(--s7);
}
.stat-card {
  padding: var(--s6) 0; border-top: 2px solid var(--ink);
}
.stat-fig {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--t-stat); line-height: 0.95; letter-spacing: var(--tr-tight);
  color: var(--ink);
}
.stat-fig.nowrap { white-space: nowrap; }
.stat-eyebrow {
  font-size: var(--t-eyebrow); font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--red);
  margin-bottom: var(--s3);
}
.stat-fig .ast { font-size: 0.34em; vertical-align: super; color: var(--red); }
.stat-fig .unit { font-size: 0.42em; color: var(--ink-3); letter-spacing: 0; }
.stat-label {
  margin-top: var(--s4); font-size: var(--t-sm); line-height: var(--lh-mid);
  color: var(--ink-2); max-width: 26ch;
}

/* footnote (asterisk resolver) */
.footnote {
  margin-top: var(--s8); padding-top: var(--s5);
  border-top: 1px solid var(--rule);
  font-size: var(--t-xs); color: var(--ink-3); line-height: var(--lh-mid);
  max-width: 60ch;
}
.footnote .ast { color: var(--red); }

/* principle list */
.principles { display: grid; gap: var(--s6); margin-top: var(--s8); }
.principle {
  display: grid; grid-template-columns: 48px 1fr; gap: var(--s5);
  padding: var(--s6) 0; border-top: 1px solid var(--rule);
}
.principle-idx {
  font-family: var(--serif); font-size: var(--t-xl); color: var(--red); line-height: 1;
}
.principle h3 {
  font-family: var(--serif); font-weight: 500; font-size: var(--t-lg);
  color: var(--ink); margin-bottom: var(--s3); letter-spacing: var(--tr-snug);
}
.principle p { font-size: var(--t-sm); line-height: var(--lh-mid); color: var(--ink-2); max-width: 58ch; }

/* two-column block */
.cols2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--s10); align-items: start; }
.col-label {
  font-family: var(--sans); font-size: var(--t-eyebrow); font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--red);
  margin-bottom: var(--s5); padding-bottom: var(--s3);
  border-bottom: 1px solid var(--rule);
}

/* ============================================================
   DETAILED TRACKER — vertical timeline (Where We Stand)
   ============================================================ */
.timeline { position: relative; margin-top: var(--s8); padding-left: var(--s8); }
.timeline::before {
  content: ""; position: absolute; left: 11px; top: 8px; bottom: 8px;
  width: 2px; background: var(--rule-strong);
}
.tl-fill {
  position: absolute; left: 11px; top: 8px; width: 2px;
  background: var(--red); border-radius: 2px;
}
.tl-item { position: relative; padding-bottom: var(--s9); }
.tl-item:last-child { padding-bottom: 0; }
.tl-node {
  position: absolute; left: calc(-1 * var(--s8) + 5px); top: 3px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--next); z-index: 2;
}
.tl-item.is-active .tl-node { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 5px var(--red-soft); }
.tl-item.is-done   .tl-node { border-color: var(--done); background: var(--done); }
.tl-item.is-target .tl-node { border-color: var(--ink); background: var(--paper); }
.tl-item.is-live   .tl-node { border-color: var(--red); background: var(--red); box-shadow: 0 0 0 5px var(--red-soft); }
.tl-top { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3) var(--s5); margin-bottom: var(--s4); }
.tl-idx { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: var(--tr-label); color: var(--ink-4); }
.tl-name {
  font-family: var(--serif); font-weight: 500; font-size: var(--t-xl);
  color: var(--ink); letter-spacing: var(--tr-snug);
}
.tl-status {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase;
  padding: 4px 10px; border-radius: var(--r-pill); white-space: nowrap;
}
.tl-item.is-active .tl-status { color: var(--red); background: var(--red-soft); }
.tl-item.is-done   .tl-status { color: var(--done); background: var(--done-soft); }
.tl-item.is-next   .tl-status { color: var(--ink-3); background: var(--paper-3); }
.tl-item.is-target .tl-status { color: var(--ink); background: var(--paper-3); }
.tl-item.is-live   .tl-status { color: var(--bone); background: var(--red); }
.tl-date { font-family: var(--sans); font-size: var(--t-xs); font-weight: 600; color: var(--ink-3); margin-left: auto; }
.tl-desc { font-size: var(--t-sm); line-height: var(--lh-mid); color: var(--ink-2); max-width: 60ch; }
.tl-bar {
  height: 5px; background: var(--paper-3); border-radius: 3px; overflow: hidden;
  margin: var(--s4) 0 0; max-width: 320px;
}
.tl-bar-fill { display: block; height: 100%; border-radius: 3px; background: var(--red); }
.tl-item.is-done .tl-bar-fill { background: var(--done); }

/* roadmap (forward business phases) */
.roadmap { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s6); margin-top: var(--s8); }
.rm-card { padding: var(--s7) var(--s6); background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--r3); }
.rm-phase { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--red); }
.rm-card h3 { font-family: var(--serif); font-weight: 500; font-size: var(--t-lg); color: var(--ink); margin: var(--s3) 0 var(--s4); letter-spacing: var(--tr-snug); }
.rm-card p { font-size: var(--t-sm); line-height: var(--lh-mid); color: var(--ink-2); }


/* ============================================================
   FOUNDER
   ============================================================ */
.founder-grid { display: grid; grid-template-columns: 360px 1fr; gap: var(--s11); align-items: start; }
.founder-photo-wrap { position: sticky; top: calc(var(--nav-h) + var(--s7)); }
.founder-photo {
  width: 100%; border-radius: var(--r3);
  border: 1px solid var(--rule-strong);
  background: var(--paper-2);
  filter: saturate(0.94) contrast(1.02);
}
.founder-namecard { margin-top: var(--s5); }
.founder-name { font-family: var(--serif); font-size: var(--t-xl); color: var(--ink); letter-spacing: var(--tr-snug); }
.founder-role { font-size: var(--t-xs); color: var(--ink-3); letter-spacing: var(--tr-label); text-transform: uppercase; font-weight: 600; margin-top: var(--s2); }
.founder-link {
  display: inline-flex; align-items: center; gap: var(--s2);
  margin-top: var(--s5); font-size: var(--t-xs); font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--red);
}
.founder-link:hover { color: var(--red-deep); }
.founder-link + .founder-link { margin-left: var(--s5); }
.founder-body .prose { max-width: 60ch; }
.founder-body .prose + .prose { margin-top: var(--s6); }
.founder-pull {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: var(--t-xl); line-height: var(--lh-snug); color: var(--ink);
  padding: var(--s6) 0; margin: var(--s7) 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
  max-width: 30ch;
}

/* ============================================================
   GET INVOLVED — asks
   ============================================================ */
.asks { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--rule-strong); border-radius: var(--r3); overflow: hidden; margin-top: var(--s8); }
.ask {
  padding: var(--s8) var(--s7);
  border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
/* the Design Partners ask carries the product action; the other three sit quieter beneath */
.ask-featured { grid-column: 1 / -1; border-right: 0; padding: var(--s9) var(--s8); }
.ask-featured h3 { font-size: var(--t-xl); max-width: 22ch; }
.ask-featured p { font-size: var(--t-base); line-height: var(--lh-body); max-width: 62ch; }
.ask-cta { margin-top: var(--s6); }
.ask-quiet { border-bottom: 0; padding: var(--s7) var(--s6); }
.ask-quiet:last-child { border-right: 0; }
.ask-quiet h3 { font-size: var(--t-md); }
.ask-quiet p { font-size: var(--t-xs); color: var(--ink-3); }
.ask-idx { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: var(--tr-label); color: var(--red); }
.ask h3 { font-family: var(--serif); font-weight: 500; font-size: var(--t-lg); color: var(--ink); margin: var(--s3) 0 var(--s4); letter-spacing: var(--tr-snug); }
.ask p { font-size: var(--t-sm); line-height: var(--lh-mid); color: var(--ink-2); }
.ask-note {
  margin-top: var(--s7); font-size: var(--t-xs); color: var(--ink-3);
  font-style: italic; line-height: var(--lh-mid);
}

.contact-cta {
  margin-top: var(--s9); padding: var(--s9) var(--s8);
  background: var(--navy); border-radius: var(--r3);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s6);
}
.contact-cta h3 { font-family: var(--serif); font-weight: 400; font-size: var(--t-2xl); color: var(--bone); letter-spacing: var(--tr-tight); max-width: 16ch; }
.btn-mail {
  display: inline-flex; align-items: center; gap: var(--s3);
  font-size: var(--t-sm); font-weight: 600; color: var(--navy);
  background: var(--bone); padding: 14px 24px; border-radius: var(--r-pill);
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn-mail:hover { background: #fff; transform: translateY(-1px); }

/* ============================================================
   FOOTER (credibility anchor)
   ============================================================ */
.footer { background: var(--navy); color: var(--bone); position: relative; z-index: 2; }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: var(--s11) var(--gutter) var(--s8); }
.footer-top { display: grid; grid-template-columns: 1.2fr 1fr; gap: var(--s10); align-items: start; padding-bottom: var(--s9); border-bottom: 1px solid var(--navy-rule); }
.footer-logo img { height: 40px; width: auto; }
.footer-entity { margin-top: var(--s6); font-size: var(--t-sm); color: var(--bone-2); line-height: var(--lh-mid); max-width: 40ch; }
.footer-entity b { color: var(--bone); font-weight: 600; }

/* DPIIT credential — real QR, verifiable */
.dpiit {
  display: flex; align-items: center; gap: var(--s6);
  padding: var(--s6); border: 1px solid var(--navy-rule); border-radius: var(--r3);
  background: var(--navy-2);
}
.dpiit-qr {
  flex: none; display: flex; flex-direction: column; align-items: center; gap: var(--s2);
}
.dpiit-qr img {
  width: 104px; height: 104px; display: block;
  background: #fff; padding: 8px; border-radius: var(--r2);
}
.dpiit-qr-cap {
  font-size: 10px; font-weight: 600; letter-spacing: var(--tr-label);
  text-transform: uppercase; color: var(--bone-3);
}
.dpiit-body { min-width: 0; }
.dpiit-body .dpiit-label { font-size: 11px; font-weight: 600; letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--bone-3); }
.dpiit-body .dpiit-id { font-family: var(--serif); font-size: var(--t-lg); color: var(--bone); margin: var(--s2) 0 4px; letter-spacing: 0.01em; line-height: 1.05; overflow-wrap: anywhere; }   /* long recognition numbers wrap on narrow screens instead of overflowing the card */
.dpiit-body .dpiit-date { font-size: var(--t-xs); color: var(--bone-2); }
.dpiit-link {
  display: inline-flex; align-items: center; gap: var(--s2); margin-top: var(--s4);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: 0.04em;
  color: var(--red-bright); border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast) var(--ease);
}
.dpiit-link:hover { border-bottom-color: var(--red-bright); }

/* two recognitions stacked in the footer credibility column */
.recognitions { display: flex; flex-direction: column; gap: var(--s6); }

/* speed-of-recognition sequence */
.seq { margin-top: var(--s6); display: flex; align-items: center; gap: var(--s4); flex-wrap: wrap; font-size: var(--t-xs); color: var(--bone-2); }
.seq b { color: var(--bone); font-weight: 600; }
.seq .arrow { color: var(--red-bright); }
.seq .ast { color: var(--red-bright); font-size: 0.7em; vertical-align: super; margin-left: 1px; }

.footer-bottom {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: var(--s5); padding-top: var(--s7);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: var(--s6); }
.footer-nav a { font-size: var(--t-xs); color: var(--bone-2); letter-spacing: 0.01em; }
.footer-nav a:hover { color: var(--bone); }
.footer-nav-group { display: flex; flex-wrap: wrap; align-items: baseline; gap: var(--s3) var(--s6); margin-top: var(--s4); }
.footer-nav-group .footer-nav-label { font-size: var(--t-eyebrow); font-weight: 600; letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--bone-3); }
.footer-nav-group a { font-size: var(--t-xs); color: var(--bone-2); letter-spacing: 0.01em; }
.footer-nav-group a:hover { color: var(--bone); }
.footer-contact { font-size: var(--t-xs); color: var(--bone-2); }
.footer-contact a { color: var(--red-bright); font-weight: 600; }
.footer-legal { margin-top: var(--s7); font-size: 11px; color: var(--bone-3); line-height: var(--lh-mid); }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--t-slow) var(--ease-out), transform var(--t-slow) var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 920px) {
  .cols2 { grid-template-columns: 1fr; gap: var(--s8); }
  .founder-grid { grid-template-columns: 1fr; gap: var(--s8); }
  .founder-photo-wrap { position: static; max-width: 320px; }
  .roadmap { grid-template-columns: 1fr; }
  .qtrack-list { grid-template-columns: 1fr 1fr; }
  .qstage:nth-child(2n) { border-right: 0; }
  .qstage:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .footer-top { grid-template-columns: minmax(0, 1fr); gap: var(--s8); }   /* the single column may shrink below the cards' min-content width, so the footer never widens the page */
}
/* Compact menu: below the width at which the full header row (mark + descriptor + links + Sign in + pill)
   no longer fits on one line. Measured, see the polish PR record. The brand descriptor is never hidden. */
@media (max-width: 1072px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--paper); border-bottom: 1px solid var(--rule-strong);
    padding: var(--s4) var(--gutter) var(--s6);
  }
  .nav-links.open .nav-link { padding: var(--s4) 0; border-bottom: 1px solid var(--rule); width: 100%; }
  .nav-links.open .nav-cta { margin-top: var(--s4); align-self: flex-start; }
  .nav-toggle {
    display: inline-flex; flex-direction: column; gap: 4px;
    background: none; border: 0; cursor: pointer; padding: 8px;
    flex-shrink: 0;
  }
  .nav-toggle span { width: 22px; height: 2px; background: var(--ink); display: block; }
}
@media (max-width: 680px) {
  :root { --nav-h: 64px; }
  .qtrack-list { grid-template-columns: 1fr; }
  .qstage { border-right: 0; border-bottom: 1px solid var(--rule); }
  .qstage:last-child { border-bottom: 0; }
  .asks { grid-template-columns: 1fr; }
  .ask { border-right: 0; }
  .ask-featured { padding: var(--s8) var(--s6); }
  .ask-quiet { border-bottom: 1px solid var(--rule); }
  .ask-quiet:last-child { border-bottom: 0; }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .contact-cta { flex-direction: column; align-items: flex-start; }
  .section { padding: var(--s10) 0; }
}
@media (max-width: 460px) {
  .stat-row { grid-template-columns: 1fr; }
}

/* ============================================================
   GRANT-SITE ADDITIONS — launch caveat, pipeline link
   ============================================================ */
.hero-launch-note {
  display: block; margin-top: var(--s3);
  font-size: var(--t-xs); color: var(--ink-3); font-style: italic;
}
.hero-launch-date .ast, .qstage-status .ast, .tl-date .ast {
  font-size: 0.5em; vertical-align: super; color: var(--red); margin-left: 1px;
}
.qtrack-link {
  display: inline-block; margin-top: var(--s5);
  font-size: var(--t-xs); font-weight: 600; letter-spacing: var(--tr-label);
  text-transform: uppercase; color: var(--red); text-decoration: none;
}
.qtrack-link:hover { text-decoration: underline; }
.tl-note {
  display: block; margin-top: var(--s2);
  font-size: var(--t-xs); color: var(--ink-3); font-style: italic;
}
.footer-legal a { color: var(--bone-2); text-decoration: underline; text-underline-offset: 2px; }
.footer-legal a:hover { color: var(--bone); }

/* ---- legal page (terms & privacy) ---- */
.legal { max-width: 780px; margin: 0 auto; padding: var(--s9) var(--gutter) var(--s12); }
.legal-updated { font-size: var(--t-xs); color: var(--ink-3); letter-spacing: var(--tr-label); text-transform: uppercase; margin-bottom: var(--s7); }
.legal-lead { font-size: var(--t-md); color: var(--ink-2); line-height: var(--lh-mid); max-width: 64ch; margin-bottom: var(--s6); }
.legal h2 { font-family: var(--serif); font-weight: 500; font-size: var(--t-lg); letter-spacing: var(--tr-snug); color: var(--ink); margin: var(--s8) 0 var(--s3); }
.legal h2 .n { font-family: var(--sans); font-size: var(--t-eyebrow); font-weight: 700; letter-spacing: var(--tr-label); color: var(--red); margin-right: var(--s3); vertical-align: middle; }
.legal p { font-size: var(--t-sm); line-height: var(--lh-body); color: var(--ink-2); max-width: 68ch; margin-bottom: var(--s4); }
.legal ul { margin: 0 0 var(--s4); padding-left: var(--s5); }
.legal li { font-size: var(--t-sm); line-height: var(--lh-mid); color: var(--ink-2); margin-bottom: var(--s3); max-width: 66ch; }
.legal strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--red); }
.legal address { font-style: normal; font-size: var(--t-sm); line-height: var(--lh-mid); color: var(--ink-2); }

/* ============================================================
   WHERE WE STAND — compact stages (index hero)
   ============================================================ */
.stand { margin-top: var(--s9); border-top: 1px solid var(--rule); padding-top: var(--s7); }
.stand-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: var(--s4); margin-bottom: var(--s6); flex-wrap: wrap;
}
.stand-head h2 {
  font-family: var(--sans); font-size: var(--t-eyebrow); font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-3);
}
.stand-asof { font-size: var(--t-xs); color: var(--ink-3); }
.stand-list {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 0;
  border: 1px solid var(--rule-strong); border-radius: var(--r3);
  overflow: hidden; background: var(--paper-2);
}
.stand-item { padding: var(--s6) var(--s6) var(--s7); border-right: 1px solid var(--rule); }
.stand-item:last-child { border-right: 0; }
.stand-top { display: flex; align-items: center; gap: var(--s3); margin-bottom: var(--s4); flex-wrap: wrap; }
.stand-node {
  width: 11px; height: 11px; border-radius: 50%;
  border: 2px solid var(--next); background: var(--paper-2); flex: none;
}
.stand-item.is-done .stand-node   { border-color: var(--done); background: var(--done); }
.stand-item.is-active .stand-node { border-color: var(--red); background: var(--red); }
.stand-item.is-target .stand-node { border-color: var(--ink); }
.stand-idx { font-family: var(--sans); font-size: 11px; font-weight: 600; letter-spacing: var(--tr-label); color: var(--ink-4); }
.stand-status {
  margin-left: auto; font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-3);
}
.stand-item.is-done .stand-status   { color: var(--done); }
.stand-item.is-active .stand-status { color: var(--red); }
.stand-status b { color: var(--ink); font-weight: 600; }
.stand-name {
  font-family: var(--serif); font-size: var(--t-md); line-height: var(--lh-snug);
  color: var(--ink); margin-bottom: var(--s3); letter-spacing: var(--tr-snug);
}
.stand-desc { font-size: var(--t-sm); line-height: var(--lh-mid); color: var(--ink-2); }
@media (max-width: 920px) {
  .stand-list { grid-template-columns: 1fr; }
  .stand-item { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stand-item:last-child { border-bottom: 0; }
}

/* ============================================================
   LIVE ENGINE OUTPUT — demo report (where-we-stand)
   ============================================================ */
.report-wrap {
  margin-top: var(--s8);
  border: 1px solid var(--rule-strong); border-radius: var(--r3);
  background: var(--paper-2); overflow: hidden;
}
.case-card { padding: var(--s7) var(--s7) var(--s6); border-bottom: 1px solid var(--rule-strong); }
.case-kicker {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--red);
  margin-bottom: var(--s4);
}
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 var(--s9); }
.case-row {
  display: grid; grid-template-columns: 132px 1fr; gap: var(--s4);
  padding: var(--s3) 0; border-bottom: 1px solid var(--rule);
  font-size: var(--t-sm); align-items: baseline;
}
.case-row dt {
  color: var(--ink-3); font-weight: 600; font-size: 11px;
  letter-spacing: 0.06em; text-transform: uppercase;
}
.case-row dd { margin: 0; color: var(--ink); line-height: var(--lh-mid); }
.proc-row {
  display: flex; flex-wrap: wrap; gap: var(--s5) var(--s9);
  padding: var(--s6) var(--s7); border-bottom: 1px solid var(--rule-strong);
  background: var(--paper-3);
}
.proc-item {
  font-size: 11px; color: var(--ink-3); text-transform: uppercase;
  letter-spacing: var(--tr-label); font-weight: 600;
}
.proc-item b {
  display: block; font-family: var(--serif); font-size: var(--t-lg);
  color: var(--ink); text-transform: none; letter-spacing: var(--tr-snug);
  margin-top: 3px; font-weight: 400; line-height: var(--lh-snug);
}
.find-sum { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-bottom: 1px solid var(--rule-strong); }
.find-col { padding: var(--s6) var(--s7); }
.find-col + .find-col { border-left: 1px solid var(--rule); }
.find-col h4 {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-3);
  margin-bottom: var(--s4);
}
.find-row {
  display: flex; justify-content: space-between; gap: var(--s4);
  font-size: var(--t-sm); padding: var(--s2) 0;
  border-bottom: 1px solid var(--rule); color: var(--ink-2);
}
.find-row:last-child { border-bottom: 0; }
.find-row b { color: var(--ink); font-family: var(--serif); font-size: var(--t-base); font-weight: 500; }
.top5 { padding: var(--s6) var(--s7) var(--s7); display: grid; gap: var(--s4); }
.top5-label {
  font-family: var(--sans); font-size: 11px; font-weight: 600;
  letter-spacing: var(--tr-label); text-transform: uppercase; color: var(--ink-3);
}
.f-card {
  border: 1px solid var(--rule); border-left: 3px solid var(--rule-strong);
  border-radius: var(--r2); background: var(--paper); padding: var(--s5) var(--s6);
}
.f-card.return { border-left-color: #8B1A1A; }
.f-card.fhigh  { border-left-color: #8B6A00; }
.f-card.flag   { border-left-color: #B08D3A; }
.sev {
  display: inline-block; font-family: var(--sans); font-size: 10.5px; font-weight: 700;
  letter-spacing: var(--tr-label); text-transform: uppercase;
  padding: 3px 10px; border-radius: var(--r1); color: #fff;
}
.sev.return { background: #8B1A1A; }
.sev.fhigh  { background: #8B6A00; }
.sev.flag   { background: #B08D3A; }
.f-title {
  font-family: var(--serif); font-size: var(--t-md); color: var(--ink);
  margin: var(--s3) 0 var(--s2); line-height: var(--lh-snug); letter-spacing: var(--tr-snug);
}
.f-ref {
  font-family: ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  font-size: 12.5px; color: var(--ink-3); letter-spacing: 0.01em; line-height: var(--lh-mid);
}
.f-cons { margin-top: var(--s3); font-size: var(--t-xs); color: var(--ink-2); font-style: italic; }
.report-disclaimer {
  margin-top: var(--s5); font-size: var(--t-xs); color: var(--ink-3);
  line-height: var(--lh-mid); max-width: 72ch;
}
@media (max-width: 920px) {
  .case-grid { grid-template-columns: 1fr; }
  .find-sum { grid-template-columns: 1fr; }
  .find-col + .find-col { border-left: 0; border-top: 1px solid var(--rule); }
}
@media (max-width: 460px) {
  .case-row { grid-template-columns: 1fr; gap: 2px; }
}

/* ============================================================
   ABOUT US — two profiles
   ============================================================ */
.founder-grid + .founder-grid {
  margin-top: var(--s11); padding-top: var(--s10);
  border-top: 1px solid var(--rule);
}

/* ============================================================
   FOOTER polish — spacing, alignment, credential cards
   ============================================================ */
.footer-inner { padding: var(--s10) var(--gutter) var(--s7); }
.footer-top { gap: var(--s9); padding-bottom: var(--s8); align-items: stretch; }
.recognitions { justify-content: center; gap: var(--s5); }
.dpiit { padding: var(--s5) var(--s6); }
.dpiit-qr img { width: 92px; height: 92px; padding: 7px; }
.footer-bottom { padding-top: var(--s6); }
.footer-nav { gap: var(--s5) var(--s6); }
.footer-nav a { transition: color var(--t-fast) var(--ease); }
.footer-legal { margin-top: var(--s6); }
@media (max-width: 460px) {
  .dpiit { flex-direction: row; align-items: center; }
  .dpiit-qr img { width: 80px; height: 80px; }
}

/* ============================================================
   ENGLISH WORDMARK under the Devanagari mark (header + footer)
   ============================================================ */
.brand-plate { flex-direction: column; gap: 3px; padding: 7px 14px 6px; }
.brand-plate img { height: 19px; }
.brand-en {
  font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 10px; letter-spacing: 0.34em; color: var(--bone-2);
  line-height: 1; padding-left: 0.34em;
}
.footer-logo-en {
  display: block; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: 14px; letter-spacing: 0.42em; color: var(--bone-2);
  margin-top: var(--s2); padding-left: 0.42em; line-height: 1;
}

/* ============================================================
   CONTENT-PAGE HEADS — carry the homepage's design language
   ============================================================ */
.page-head {
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--paper-2), var(--paper));
  padding: var(--s11) 0 var(--s9);
}
.page-head .wrap { position: relative; z-index: 2; }
.page-watermark {
  position: absolute; right: calc(-1 * var(--gutter)); top: 50%;
  transform: translateY(-50%);
  font-family: var(--deva); font-size: 36vh; line-height: 1; color: var(--ink);
  opacity: 0.035; pointer-events: none; user-select: none; z-index: 0;
}
.page-title .accent { color: var(--red); font-style: italic; }

/* ============================================================
   SECTION RHYTHM — depth below the heros
   ============================================================ */
.section:nth-of-type(even) { background: var(--paper-2); }
.rm-card { background: var(--paper); border-top: 2px solid var(--navy); }

/* ============================================================
   DARK STATEMENT SECTIONS — navy carries the identity mid-page
   ============================================================ */
.section.dark { background: var(--navy); border-bottom: 1px solid var(--navy-rule); }
.section.dark .eyebrow { color: var(--bone-3); }
.section.dark .eyebrow .tick { background: var(--navy-rule); }
.section.dark .eyebrow .num { color: var(--red-bright); }
.section.dark .col-label { color: var(--red-bright); border-bottom-color: var(--navy-rule); }
.section.dark .section-title,
.section.dark .lead,
.section.dark h3 { color: var(--bone); }
.section.dark .prose { color: var(--bone-2); }
.section.dark .prose strong { color: var(--bone); }
.section.dark .stat-inline { color: var(--red-bright); }
.section.dark .stat-inline .ast { color: var(--red-bright); }
.section.dark .stat-card { border-top-color: var(--bone); }
.section.dark .stat-fig { color: var(--bone); }
.section.dark .stat-fig .unit { color: var(--bone-3); }
.section.dark .stat-fig .ast { color: var(--red-bright); }
.section.dark .stat-label { color: var(--bone-2); }
.section.dark .stat-eyebrow { color: var(--red-bright); }
.section.dark .principle { border-top-color: var(--navy-rule); }
.section.dark .principle-idx { color: var(--red-bright); }
.section.dark .principle p { color: var(--bone-2); }
.section.dark .footnote { color: var(--bone-3); border-top-color: var(--navy-rule); }
.section.dark .footnote .ast { color: var(--red-bright); }
.section.dark .founder-link { color: var(--red-bright); }
.section.dark .founder-link:hover { color: var(--bone); }

/* ============================================================
   TRY NYAVE — primary button + inline form (soft launch)
   ============================================================ */
.btn-primary {
  display: inline-flex; align-items: center; gap: var(--s3);
  font-family: var(--sans); font-size: var(--t-sm); font-weight: 600;
  letter-spacing: var(--tr-snug); color: var(--bone); background: var(--navy);
  padding: 14px 26px; border: 0; border-radius: var(--r-pill); cursor: pointer;
  transition: background var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.btn-primary:hover { background: var(--navy-deep); transform: translateY(-1px); }

.try { margin-top: var(--s7); }
.hero .try { margin-top: var(--s8); }
.contact-cta .btn-primary { color: var(--navy); background: var(--bone); }
.contact-cta .btn-primary:hover { background: #fff; }

.try-form {
  margin-top: var(--s6); max-width: 460px;
  background: var(--paper-2); border: 1px solid var(--rule-strong);
  border-radius: var(--r3); padding: var(--s7) var(--s7) var(--s6);
}
.contact-cta .try-form { background: var(--navy-2); border-color: var(--navy-rule); }
.try-field { margin-bottom: var(--s5); }
.try-field label {
  display: block; font-size: var(--t-xs); font-weight: 600; color: var(--ink-2);
  letter-spacing: var(--tr-label); text-transform: uppercase; margin-bottom: var(--s2);
}
.contact-cta .try-field label { color: var(--bone-2); }
.try-opt { font-weight: 400; text-transform: none; letter-spacing: 0; color: var(--ink-4); }
.try-field input, .try-field textarea {
  width: 100%; box-sizing: border-box; font-family: var(--sans); font-size: var(--t-sm);
  color: var(--ink); background: var(--paper); border: 1px solid var(--rule-strong);
  border-radius: var(--r2); padding: 12px 14px; transition: border-color var(--t-fast) var(--ease);
}
.try-field textarea { resize: vertical; min-height: 76px; line-height: var(--lh-mid); }
.try-field input:focus, .try-field textarea:focus { outline: none; border-color: var(--navy); }
.contact-cta .try-field input, .contact-cta .try-field textarea {
  color: var(--bone); background: var(--navy-deep); border-color: var(--navy-rule);
}
.try-consent {
  display: flex; align-items: flex-start; gap: var(--s3);
  font-size: var(--t-sm); color: var(--ink-2); line-height: var(--lh-mid); margin: var(--s4) 0 var(--s6);
}
.contact-cta .try-consent { color: var(--bone-2); }
.try-consent input { margin-top: 3px; flex: none; }
.try-form .btn-primary { width: auto; }
.try-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.try-status {
  margin-top: var(--s4); font-size: var(--t-sm); line-height: var(--lh-mid); color: var(--ink-3);
}
.try-status.is-ok { color: var(--done); font-weight: 600; }
.try-status.is-err { color: var(--red-deep); }
.contact-cta .try-status { color: var(--bone-3); }
.contact-cta .try-status.is-ok { color: var(--done-soft); }

/* ============================================================
   REPORT VIDEO — hero walkthrough + where-we-stand placement
   ============================================================ */
.videoblock-title {
  font-family: var(--serif); font-weight: 500; font-size: var(--t-2xl); color: var(--ink);
  letter-spacing: var(--tr-tight); line-height: var(--lh-snug); max-width: 18ch;
  margin: var(--s4) 0 var(--s7);
}
.video-frame {
  border: 1px solid var(--rule-strong); border-radius: var(--r3); overflow: hidden;
  background: var(--paper-2); max-width: 960px;
}
.report-video { display: block; width: 100%; height: auto; background: var(--paper-2); }
.videoblock--compact .videoblock-title { font-size: var(--t-xl); margin-bottom: var(--s5); }
.videoblock--compact .video-frame { max-width: 640px; }

/* ============================================================
   BETA STRIP — the launch state, in the design system.
   Navy ground · cream text · small red BETA marker · thin red rule.
   The whole strip is the link.
   ============================================================ */
.beta-strip {
  display: flex; align-items: center; justify-content: center; gap: var(--s3);
  background: var(--navy); color: var(--bone);
  border-bottom: 1px solid var(--red);
  font-family: var(--sans); font-size: var(--t-xs); letter-spacing: 0.01em;
  padding: 9px var(--gutter); text-align: center;
  transition: background var(--t-fast) var(--ease);
}
.beta-strip:hover { background: var(--navy-2); }
.beta-strip-tag {
  font-size: 10px; font-weight: 700; letter-spacing: var(--tr-label); text-transform: uppercase;
  color: var(--bone); background: var(--red); padding: 2px 7px 3px; border-radius: var(--r1); flex: none;
}
.beta-strip-text { font-weight: 500; }
.beta-strip-text::before { content: "\00b7"; color: var(--bone-3); margin-right: var(--s3); }
.beta-strip-cta {
  font-weight: 600; margin-left: var(--s2);
  border-bottom: 1px solid transparent; transition: border-color var(--t-fast) var(--ease);
}
.beta-strip:hover .beta-strip-cta { border-bottom-color: var(--red-bright); }
@media (max-width: 480px) { .beta-strip { flex-wrap: wrap; gap: var(--s2) var(--s3); } }

/* request-access form heading */
.request-title {
  font-family: var(--serif); font-weight: 400;
  font-size: var(--t-xl); color: var(--ink);
  letter-spacing: var(--tr-snug); margin-bottom: var(--s3);
}

/* ============================================================
   WAVE 2 — motion (one orchestrated moment + one motif)
   CSS-first, once-only, 500-700ms, reduced-motion respected,
   no delayed core text, no library. site.js only adds `.js`.
   ============================================================ */

/* --- the orchestrated moment: the home hero entrance (<1s) ---
   Pure CSS on load, so it runs with or without JS. The at-rest
   state is fully visible; the keyframe supplies the brief rise. */
@keyframes heroRise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes heroAccent { from { opacity: 0.35; } to { opacity: 1; } }
.hero-enter > * { animation: heroRise 520ms var(--ease-out) both; }
.hero-enter > *:nth-child(1) { animation-delay: calc(var(--intro-offset, 0ms) + 40ms); }   /* eyebrow */
.hero-enter > *:nth-child(2) { animation-delay: calc(var(--intro-offset, 0ms) + 110ms); }  /* headline */
.hero-enter > *:nth-child(3) { animation-delay: calc(var(--intro-offset, 0ms) + 200ms); }  /* sub */
.hero-enter > *:nth-child(4) { animation-delay: calc(var(--intro-offset, 0ms) + 300ms); }  /* ctas */
.hero-enter > *:nth-child(5) { animation-delay: calc(var(--intro-offset, 0ms) + 380ms); }  /* launch */
.hero-enter > *:nth-child(6) { animation-delay: calc(var(--intro-offset, 0ms) + 420ms); }  /* note */
.hero-enter > *:nth-child(7) { animation-delay: calc(var(--intro-offset, 0ms) + 440ms); }  /* meta */
.hero-enter .hero-title .accent { animation: heroAccent 420ms var(--ease-out) both; animation-delay: calc(var(--intro-offset, 0ms) + 330ms); }

/* --- the motif: a short red line that draws in on entry ---
   Expressed through the existing eyebrow tick + the standalone
   video heading. Grey line at rest (no-JS / reduced-motion),
   draws red once when its section reveals. */
.js .reveal .eyebrow .tick {
  transform: scaleX(0); transform-origin: left center;
  transition: transform 600ms var(--ease-out), background-color 600ms var(--ease-out);
}
.js .reveal.in .eyebrow .tick { transform: scaleX(1); background: var(--red); }
.section.dark .reveal.in .eyebrow .tick { background: var(--red-bright); }

.videoblock-title::before {
  content: ""; display: block; width: 44px; height: 2px; background: var(--red);
  margin-bottom: var(--s5); transform-origin: left center;
}
.js .reveal .videoblock-title::before { transform: scaleX(0); transition: transform 600ms var(--ease-out); }
.js .reveal.in .videoblock-title::before { transform: scaleX(1); }

/* --- the motif, hover expressions --- */
/* Core Principles: the top rule fills red + a small lift */
.principle { transition: transform var(--t-fast) var(--ease), border-top-color var(--t-fast) var(--ease); }
.principle:hover { transform: translateY(-2px); border-top-color: var(--red); }
.section.dark .principle:hover { border-top-color: var(--red-bright); }
/* text links: the red underline extends */
.founder-link, .report-disclaimer a { border-bottom: 1px solid transparent; transition: border-color var(--t-fast) var(--ease), color var(--t-fast) var(--ease); }
.founder-link:hover, .report-disclaimer a:hover { border-bottom-color: currentColor; }

/* --- the section motto (approach: the safety commitment) --- */
.section-motto {
  margin-top: var(--s9); font-family: var(--serif); font-weight: 400;
  font-size: var(--t-xl); line-height: var(--lh-snug); letter-spacing: var(--tr-snug);
  color: var(--ink); max-width: 24ch;
}
.section.dark .section-motto { color: var(--bone); }
.section-motto .accent { color: var(--red); font-style: italic; }
.section.dark .section-motto .accent { color: var(--red-bright); }

/* --- about: photographic plate treatment (mat + thin border) --- */
.founder-photo {
  height: auto;                 /* override the intrinsic height attr; keep the 4:5 ratio */
  border-radius: var(--r1);
  border: 1px solid var(--rule-strong);
  padding: 8px; background: var(--paper);
  box-shadow: 0 1px 2px oklch(0.2 0.02 60 / 0.06);
}

/* --- reduced motion: everything at rest, no transitions/animations --- */
@media (prefers-reduced-motion: reduce) {
  .hero-enter > *, .hero-enter .hero-title .accent { animation: none; }
  .js .reveal .eyebrow .tick { transform: none; transition: none; background: var(--rule-strong); }
  .js .reveal.in .eyebrow .tick { background: var(--red); }
  .js .reveal .videoblock-title::before { transform: none; transition: none; }
  .principle { transition: none; }
}

/* ============================================================
   INTRO CURTAIN (home, first visit only) -- driven entirely by
   html.intro-play (set in <head> by intro.js before first paint).
   Pure CSS: the panel lifts on a timed animation, so it can never
   stay stuck. Hidden by default -> no-JS never sees it. The hero
   entrance is offset by --intro-offset so it rises as the curtain
   lifts (one continuous arrival).
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 9999;
  display: none; align-items: center; justify-content: center;
  background: var(--navy);
}
html.intro-play { --intro-offset: 1050ms; }
html.intro-play .intro {
  display: flex;
  animation: introLift 720ms cubic-bezier(0.76, 0, 0.24, 1) 1080ms forwards;
}
@keyframes introLift {
  to { transform: translateY(-100%); pointer-events: none; visibility: hidden; }
}
.intro-mark {
  display: flex; flex-direction: column; align-items: center; gap: var(--s5);
  opacity: 0; transform: translateY(6px);
  animation: introMark 560ms var(--ease-out) 140ms forwards;
}
@keyframes introMark { to { opacity: 1; transform: none; } }
.intro-mark img { height: 74px; width: auto; }
.intro-word {
  font-family: var(--sans); font-size: var(--t-sm); font-weight: 500;
  letter-spacing: 0.34em; text-transform: lowercase; color: var(--bone);
  padding-left: 0.34em;
}
.intro-rule {
  width: 0; height: 2px; background: var(--red);
  animation: introRule 640ms var(--ease-out) 460ms forwards;
}
@keyframes introRule { to { width: 92px; } }
@media (prefers-reduced-motion: reduce) {
  html.intro-play { --intro-offset: 0ms; }
  html.intro-play .intro { display: none; animation: none; }
}

/* Narrow phones (under 400px): the header's fixed parts (brand plate, descriptor, menu button) were 368px wide
   and overflowed a 360px screen by 8px. Tighter gaps and a slightly tighter descriptor keep every part visible. */
@media (max-width: 400px) {
  .nav-inner { gap: var(--s3); }
  .brand { gap: var(--s2); }
  .brand-tag { padding-left: var(--s2); letter-spacing: 0.10em; }
}

/* links inside the legal text are underlined, so they do not rely on colour alone */
.legal p a, .legal li a { text-decoration: underline; text-underline-offset: 2px; }

/* ---- analytics consent notice (analytics.js) ------------------------------
   Fixed bottom bar, tokens only, no layout shift; hidden until JS shows it. */
.consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--paper-2); color: var(--ink); border-top: 1px solid var(--rule-strong); font-family: var(--sans); }
.consent[hidden] { display: none; }
.consent-inner { max-width: var(--maxw); margin: 0 auto; padding: var(--s4) var(--gutter); display: flex; align-items: center; justify-content: space-between; gap: var(--s6); flex-wrap: wrap; }
.consent p { margin: 0; font-size: var(--t-sm); line-height: var(--lh-mid); color: var(--ink-2); max-width: 62ch; }
.consent p a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.consent-actions { display: flex; align-items: center; gap: var(--s3); flex: none; }
.consent-btn { font: inherit; font-size: var(--t-sm); font-weight: 600; line-height: 1; padding: 12px 18px; min-width: 168px; min-height: 44px; text-align: center; border-radius: 2px; border: 1px solid transparent; cursor: pointer; }
.consent-accept { background: var(--navy); color: var(--bone); }
.consent-accept:hover { background: var(--navy-deep); }
.consent-decline { background: transparent; color: var(--ink); border-color: var(--rule-strong); }
.consent-decline:hover { border-color: var(--ink); }
.consent-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }
@media (max-width: 680px) {
  .consent-inner { flex-direction: column; align-items: stretch; gap: var(--s4); }
  .consent-actions { justify-content: stretch; }
  .consent-btn { flex: 1; }
}
