/* ==========================================================================
   Gothic Holdings — site.css
   Dark charcoal ground · ivory type · silver keylines · deep violet accent
   ========================================================================== */

/* --- Fonts ---------------------------------------------------------------- */

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant Garamond";
  src: url("../fonts/cormorant-garamond-italic-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

/* --- Reset ---------------------------------------------------------------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* Clears the 74px sticky header when an in-page anchor is targeted. */
  scroll-padding-top: 90px;
}

body,
h1, h2, h3, h4, h5, h6,
p, figure, blockquote, dl, dd, ul, ol {
  margin: 0;
  padding: 0;
}

ul[class], ol[class] { list-style: none; }

img, svg, video { display: block; max-width: 100%; }

button, input, select, textarea {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
}

button { cursor: pointer; }

a { color: inherit; text-decoration: none; }

table { border-collapse: collapse; width: 100%; }

/* --- Tokens --------------------------------------------------------------- */

:root {
  /* Ground — near-black charcoal ramp */
  --ink-1000: #050506;
  --ink-950:  #08080A;
  --ink-900:  #0B0B0E;
  --ink-850:  #101014;
  --ink-800:  #15151A;
  --ink-750:  #1B1B21;
  --ink-700:  #22222A;

  /* Ivory ramp — every value below --ivory-deco carries text and clears
     WCAG AA (>=4.5:1) against the darkest ground it is used on (#050506).
     --ivory-deco is for non-text ornament only (dots, inert glyph fills). */
  --ivory:      #EEEAE1;  /* 16.9:1 on #08080A */
  --ivory-soft: #D6D1C6;  /* 13.0:1 */
  --ivory-dim:  #9C978C;  /*  6.9:1 */
  --ivory-mute: #8A857B;  /*  5.4:1 — labels, eyebrows, table headers */
  --ivory-faint:#807B71;  /*  4.7:1 — form hint text, fine print */
  --ivory-deco: #494640;  /* ornament only — never text */

  /* Deep violet accent — used sparingly */
  --violet:       #7C5CE6;
  --violet-bright:#9E85F5;
  --violet-deep:  #4A34A0;
  --violet-ink:   #1A1330;
  --violet-glow:  rgba(124, 92, 230, 0.28);

  /* Silver keylines */
  --rule:        rgba(238, 234, 225, 0.11);
  --rule-soft:   rgba(238, 234, 225, 0.06);
  --rule-strong: rgba(238, 234, 225, 0.20);

  /* Type families */
  --display: "Cormorant Garamond", "Times New Roman", Times, serif;
  --body: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;

  /* Fluid type scale — 1.25 modular, clamped.
     Rule of the house: --fs-base is the size of *any* running copy, in every
     component on every page. --fs-sm and below are for metadata, captions,
     table cells and keyline labels — never for sentences the reader must read. */
  --fs-mono:  0.6875rem;              /* 11px labels */
  --fs-xs:    0.75rem;                /* 12px */
  --fs-sm:    0.8125rem;              /* 13px */
  --fs-base:  clamp(0.9375rem, 0.9rem + 0.18vw, 1.0625rem);
  --fs-lede:  clamp(1.0625rem, 0.98rem + 0.42vw, 1.3125rem);
  --fs-h4:    clamp(1.125rem, 1.05rem + 0.35vw, 1.375rem);
  --fs-h3:    clamp(1.375rem, 1.2rem + 0.85vw, 2rem);
  --fs-h2:    clamp(2rem, 1.6rem + 1.9vw, 3.5rem);
  --fs-h1:    clamp(2.75rem, 1.8rem + 4.4vw, 6.25rem);
  --fs-num:   clamp(2.75rem, 1.9rem + 3.9vw, 5.25rem);

  /* Spacing scale */
  --s-1:  0.25rem;
  --s-2:  0.5rem;
  --s-3:  0.75rem;
  --s-4:  1rem;
  --s-5:  1.5rem;
  --s-6:  2rem;
  --s-7:  2.75rem;
  --s-8:  3.5rem;
  --s-9:  4.5rem;
  --s-10: 6rem;
  --s-11: 8rem;
  --s-12: 11rem;

  --section-y: clamp(4.5rem, 3rem + 7vw, 9rem);

  /* Containers */
  --w-page: 1320px;
  --w-text: 62ch;
  /* Measure for component running copy. 56ch of Archivo resolves to roughly
     66 rendered characters per line — inside the 60–70 comfortable band. */
  --measure-copy: 56ch;
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3.5rem);

  /* Radii — Gothic barely rounds anything */
  --r-0: 0px;
  --r-1: 2px;
  --r-2: 4px;
  --r-arch: 999px 999px 0 0;

  /* Shadows / glows */
  --shadow-lift: 0 24px 60px -28px rgba(0, 0, 0, 0.9);
  --shadow-panel: 0 1px 0 rgba(238,234,225,0.04) inset, 0 40px 80px -50px rgba(0,0,0,1);
  --glow-violet: 0 0 60px -12px var(--violet-glow);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 620ms;
}

/* --- Base ----------------------------------------------------------------- */

body {
  background-color: var(--ink-950);
  color: var(--ivory-soft);
  font-family: var(--body);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.62;
  letter-spacing: 0.002em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}
/* Note: there is deliberately no `overflow-x: hidden` here. Every layout is
   verified to fit at 360px on its own; masking the axis would make that
   check unfalsifiable for whoever edits this next. */

/* Stone-grain atmosphere: faint vertical ribbing + a single violet bloom */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -18%, rgba(124, 92, 230, 0.16), transparent 62%),
    repeating-linear-gradient(90deg,
      rgba(238, 234, 225, 0.016) 0 1px,
      transparent 1px 4px);
}

body > * { position: relative; z-index: 1; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  color: var(--ivory);
  line-height: 1.04;
  letter-spacing: -0.014em;
  text-wrap: balance;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); line-height: 1.14; }
h4 { font-size: var(--fs-h4); line-height: 1.2; letter-spacing: -0.008em; }

p { text-wrap: pretty; }

strong { font-weight: 600; color: var(--ivory); }

em { font-style: italic; }

::selection {
  background: var(--violet-deep);
  color: var(--ivory);
}

:focus-visible {
  outline: 2px solid var(--violet-bright);
  outline-offset: 3px;
  border-radius: var(--r-1);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--gutter);
  z-index: 100;
  padding: 0.7rem 1.1rem;
  background: var(--ivory);
  color: var(--ink-950);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: top 180ms var(--ease);
}
.skip-link:focus { top: 0.75rem; }

/* --- Layout primitives ---------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--w-page);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Manuscript margin rules — thin silver keylines flanking the page */
.ruled {
  position: relative;
}
.ruled::before,
.ruled::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--rule-soft);
  pointer-events: none;
}
.ruled::before { left: var(--gutter); }
.ruled::after { right: var(--gutter); }

.section {
  padding-block: var(--section-y);
  border-top: 1px solid var(--rule);
}

.section--flush { border-top: 0; }

.section--tint {
  background:
    linear-gradient(180deg, rgba(124, 92, 230, 0.045), transparent 40%),
    var(--ink-900);
}

.lede {
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--ivory-soft);
  letter-spacing: -0.004em;
}

.measure { max-width: var(--w-text); }
.measure-narrow { max-width: 46ch; }

/* Eyebrow / label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--body);
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--violet);
  flex: none;
}
.eyebrow--plain::before { display: none; }

/* Section header: label left, heading right — asymmetric editorial grid */
.sec-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--s-5);
  margin-bottom: var(--s-8);
}
@media (min-width: 900px) {
  .sec-head {
    grid-template-columns: minmax(150px, 1fr) minmax(0, 3.1fr);
    gap: var(--s-7);
    align-items: start;
  }
  .sec-head .eyebrow { padding-top: 0.85rem; }
}
.sec-head__body > * + * { margin-top: var(--s-4); }

/* Arch — the recurring pointed-arch motif */
.arch {
  border-radius: 50% 50% 0 0 / 34% 34% 0 0;
}

.hairline {
  height: 1px;
  background: var(--rule);
  border: 0;
  margin: 0;
}

/* --- Buttons & links ------------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.95rem 1.6rem;
  font-family: var(--body);
  font-size: var(--fs-xs);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: var(--r-1);
  transition: background-color 260ms var(--ease), color 260ms var(--ease),
              border-color 260ms var(--ease), box-shadow 260ms var(--ease),
              transform 260ms var(--ease);
  will-change: transform;
}

.btn__arrow {
  display: inline-block;
  transition: transform 320ms var(--ease);
}
.btn:hover .btn__arrow { transform: translateX(4px); }

.btn--primary {
  background: var(--ivory);
  color: var(--ink-1000);
  border: 1px solid var(--ivory);
}
.btn--primary:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: var(--ivory);
  box-shadow: var(--glow-violet);
}

.btn--ghost {
  border: 1px solid var(--rule-strong);
  color: var(--ivory);
}
.btn--ghost:hover {
  border-color: var(--violet-bright);
  color: var(--ivory);
  background: rgba(124, 92, 230, 0.10);
}

/* Underline-reveal text link */
.link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ivory);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding-bottom: 0.35rem;
}
.link::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--rule-strong);
  transform-origin: left;
  transition: transform 420ms var(--ease), background-color 420ms var(--ease);
}
.link:hover::after {
  background: var(--violet-bright);
  transform: scaleX(1.0);
}
.link:hover { color: var(--ivory); }
.link .btn__arrow { transition: transform 320ms var(--ease); }
.link:hover .btn__arrow { transform: translateX(4px); }

.inline-link {
  color: var(--ivory);
  border-bottom: 1px solid var(--violet);
  padding-bottom: 1px;
  transition: color 200ms var(--ease), border-color 200ms var(--ease);
}
.inline-link:hover { color: var(--violet-bright); border-color: var(--violet-bright); }

/* --- Header / nav --------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(8, 8, 10, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom: 1px solid var(--rule);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-5);
  min-height: 74px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  flex: none;
}
.brand__mark { width: 22px; height: 30px; flex: none; }
.brand__mark path,
.brand__mark line { transition: stroke 320ms var(--ease); }
.brand:hover .brand__mark .mark-accent { stroke: var(--violet-bright); }
.brand__word {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: 0.1em;
  color: var(--ivory);
}
.brand__sub {
  font-family: var(--body);
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin-top: 0.22rem;
}

.nav { display: none; }
@media (min-width: 880px) {
  .nav {
    display: flex;
    align-items: center;
    gap: clamp(1.5rem, 2.6vw, 2.75rem);
  }
}
.nav__link {
  position: relative;
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
  padding-block: 0.4rem;
  transition: color 240ms var(--ease);
}
.nav__link:hover { color: var(--ivory); }
.nav__link::after {
  content: "";
  position: absolute;
  left: 50%; bottom: -2px;
  width: 4px; height: 4px;
  transform: translateX(-50%) rotate(45deg) scale(0);
  background: var(--violet);
  transition: transform 300ms var(--ease);
}
.nav__link[aria-current="page"] { color: var(--ivory); }
.nav__link[aria-current="page"]::after { transform: translateX(-50%) rotate(45deg) scale(1); }

.nav__cta { margin-left: 0.5rem; padding: 0.7rem 1.15rem; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px; height: 44px;
  padding: 0 10px;
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-1);
  flex: none;
}
@media (min-width: 880px) { .nav-toggle { display: none; } }
.nav-toggle span {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--ivory);
  transition: transform 300ms var(--ease), opacity 200ms var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  border-top: 1px solid var(--rule);
  background: var(--ink-900);
}
.mobile-nav[data-open="true"] { display: block; }
@media (min-width: 880px) { .mobile-nav { display: none !important; } }
.mobile-nav ul { padding-block: var(--s-4) var(--s-6); }
.mobile-nav li + li { border-top: 1px solid var(--rule-soft); }
.mobile-nav a {
  display: block;
  padding: 1.05rem 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.mobile-nav a[aria-current="page"] { color: var(--ivory); }
.mobile-nav .btn { margin-top: var(--s-4); width: 100%; justify-content: center; }

/* --- Hero ----------------------------------------------------------------- */

.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--rule);
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 240px;
  background: linear-gradient(180deg, transparent, rgba(5,5,6,0.75));
  pointer-events: none;
}

.hero__inner {
  display: grid;
  gap: var(--s-8);
  padding-block: clamp(3.5rem, 2rem + 8vw, 7.5rem) clamp(3rem, 2rem + 5vw, 5.5rem);
  align-items: center;
}
@media (min-width: 1000px) {
  .hero__inner {
    grid-template-columns: minmax(0, 1.32fr) minmax(300px, 0.85fr);
    gap: clamp(2rem, 5vw, 5rem);
  }
}

.hero__title {
  margin-top: var(--s-5);
  font-size: var(--fs-h1);
  font-weight: 600;
  letter-spacing: -0.022em;
  line-height: 0.98;
}
.hero__title em {
  font-style: italic;
  font-weight: 300;
  color: var(--ivory);
}

.hero__thesis {
  margin-top: var(--s-6);
  max-width: 52ch;
  font-size: var(--fs-lede);
  color: var(--ivory-soft);
  line-height: 1.52;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-7);
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0 clamp(1.25rem, 3vw, 2.5rem);
  margin-top: var(--s-8);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.hero__meta span { padding-block: 0.35rem; }

/* Cathedral-window artwork */
.window-art {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 400px;
  filter: drop-shadow(0 0 70px rgba(124, 92, 230, 0.24));
}
.window-art svg { width: 100%; height: auto; }

/* --- Numbers band --------------------------------------------------------- */

.numbers {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    linear-gradient(90deg, rgba(124,92,230,0.09), transparent 45%, rgba(124,92,230,0.07)),
    var(--ink-900);
}
.numbers__grid {
  display: grid;
  grid-template-columns: 1fr;
}
@media (min-width: 760px) {
  .numbers__grid { grid-template-columns: repeat(3, 1fr); }
}
.numbers__item {
  padding: clamp(2rem, 1.2rem + 3vw, 3.5rem) 0;
  border-top: 1px solid var(--rule-soft);
}
.numbers__item:first-child { border-top: 0; }
@media (min-width: 760px) {
  .numbers__item {
    border-top: 0;
    border-left: 1px solid var(--rule);
    padding-inline: clamp(1.25rem, 3vw, 2.75rem);
  }
  .numbers__item:first-child { border-left: 0; padding-left: 0; }
  .numbers__item:last-child { padding-right: 0; }
}
.numbers__value {
  font-family: var(--display);
  font-size: var(--fs-num);
  font-weight: 600;
  line-height: 0.9;
  color: var(--ivory);
  letter-spacing: -0.03em;
  font-variant-numeric: lining-nums;
}
.numbers__value sup {
  font-size: 0.42em;
  vertical-align: super;
  color: var(--violet-bright);
  letter-spacing: 0;
}
.numbers__label {
  margin-top: var(--s-4);
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.numbers__note {
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  color: var(--ivory-dim);
  max-width: 30ch;
}

/* --- Tenets (what we look for) -------------------------------------------- */

.tenets {
  display: grid;
  gap: 0;
  counter-reset: tenet;
}
@media (min-width: 900px) {
  .tenets { grid-template-columns: repeat(3, 1fr); }
}
.tenet {
  counter-increment: tenet;
  position: relative;
  padding: var(--s-7) 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .tenet {
    padding: var(--s-7) clamp(1.25rem, 2.4vw, 2.5rem) var(--s-6);
    border-left: 1px solid var(--rule);
    border-top: 1px solid var(--rule);
  }
  .tenet:first-child { border-left: 0; padding-left: 0; }
  .tenet:last-child { padding-right: 0; }
}
.tenet::before {
  content: "0" counter(tenet);
  display: block;
  font-family: var(--body);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--violet-bright);
  margin-bottom: var(--s-5);
}
.tenet h3 { margin-bottom: var(--s-3); }
.tenet p { color: var(--ivory-dim); font-size: var(--fs-base); }
.tenet__tag {
  display: inline-block;
  margin-top: var(--s-5);
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  border: 1px solid var(--rule);
  padding: 0.35rem 0.7rem;
  border-radius: var(--r-1);
}

/* --- Portfolio sector tiles ----------------------------------------------- */

.sectors {
  display: grid;
  gap: var(--s-5);
}
@media (min-width: 700px) { .sectors { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1120px) { .sectors { grid-template-columns: repeat(4, 1fr); gap: var(--s-4); } }

.sector {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid var(--rule);
  border-radius: 120px 120px var(--r-2) var(--r-2);
  background: linear-gradient(180deg, rgba(124,92,230,0.07), transparent 42%), var(--ink-900);
  padding: var(--s-6) var(--s-5) var(--s-5);
  overflow: hidden;
  transition: border-color 360ms var(--ease), transform 360ms var(--ease),
              background-color 360ms var(--ease);
}
.sector::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -1px;
  width: 78%;
  aspect-ratio: 1 / 1.25;
  transform: translateX(-50%);
  border: 1px solid var(--rule-soft);
  border-radius: 120px 120px 0 0;
  pointer-events: none;
  transition: border-color 360ms var(--ease);
}
.sector:hover {
  border-color: rgba(124, 92, 230, 0.42);
  transform: translateY(-4px);
}
.sector:hover::before { border-color: rgba(124, 92, 230, 0.24); }

.sector__glyph {
  width: 40px; height: 52px;
  margin: var(--s-3) auto var(--s-6);
  color: var(--violet-bright);
  opacity: 0.85;
}
.sector__name {
  font-size: var(--fs-h4);
  text-align: center;
  margin-bottom: var(--s-2);
}
.sector__count {
  text-align: center;
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin-bottom: var(--s-5);
}
.sector__list { margin-top: auto; }
.sector__list li {
  padding: var(--s-3) 0;
  border-top: 1px solid var(--rule-soft);
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ivory-dim);
}
.sector__list li::before {
  content: "";
  display: inline-block;
  width: 3px; height: 3px;
  background: var(--violet);
  transform: rotate(45deg);
  margin-right: 0.6rem;
  vertical-align: 0.2em;
}

/* --- Feature split (Lab teaser / generic two-up) --------------------------- */

.split {
  display: grid;
  gap: var(--s-8);
  align-items: center;
}
@media (min-width: 1000px) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.18fr); gap: clamp(2.5rem, 5vw, 5.5rem); }
  .split--reverse > :first-child { order: 2; }
}
.split__copy > * + * { margin-top: var(--s-5); }
.split__copy h2 { margin-top: var(--s-4); }
.split__copy p { color: var(--ivory-dim); }

.spec-list { margin-top: var(--s-6) !important; }
.spec-list > li,
.spec-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.15rem;
  padding: var(--s-4) 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 560px) {
  .spec-list > li,
  .spec-list > div { grid-template-columns: 150px minmax(0, 1fr); gap: var(--s-4); align-items: baseline; }
}
.spec-list dt, .spec-list__k {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.spec-list dd, .spec-list__v {
  color: var(--ivory-soft);
  font-size: var(--fs-base);
  line-height: 1.55;
  max-width: 56ch;
  margin: 0;
}
.spec-list--flush { margin-top: 0 !important; }

/* --- Research console (home page graphic) -------------------------------- */

.console {
  border: 1px solid var(--rule-strong);
  border-radius: var(--r-2);
  background: linear-gradient(180deg, var(--ink-850), var(--ink-950));
  box-shadow: var(--shadow-panel), var(--shadow-lift);
  overflow: hidden;
  font-size: var(--fs-xs);
}
.console__bar {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  padding: 0.7rem 0.9rem;
  border-bottom: 1px solid var(--rule);
  background: rgba(238,234,225,0.025);
}
.console__dots { display: flex; gap: 5px; }
.console__dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--ivory-deco);
  display: block;
}
.console__dots i:first-child { background: var(--violet-deep); }
.console__path {
  font-family: var(--body);
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: var(--ivory-mute);
}
.console__path b { color: var(--ivory-soft); font-weight: 600; }
.console__status {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-dim);
}
.console__status::before {
  content: "";
  width: 5px; height: 5px; border-radius: 50%;
  background: #5FD2A0;
  box-shadow: 0 0 8px #5FD2A0;
}

.console__body { padding: var(--s-5); }
.console__row {
  display: grid;
  gap: var(--s-5);
  grid-template-columns: 1fr;
}
@media (min-width: 560px) { .console__row { grid-template-columns: 1.35fr 1fr; } }

.console__kicker {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin-bottom: var(--s-3);
}

.chart {
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-1);
  padding: var(--s-4);
  background: rgba(238,234,225,0.015);
}
.chart svg { width: 100%; height: auto; overflow: visible; }
.chart__legend {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  margin-top: var(--s-3);
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.chart__legend span { display: inline-flex; align-items: center; gap: 0.4rem; }
.chart__legend i { width: 14px; height: 2px; display: block; }
.chart__legend .key-series { background: var(--violet-bright); }
.chart__legend .key-baseline { background: rgba(238, 234, 225, 0.38); }

.gauges { display: grid; gap: var(--s-3); align-content: start; }
.gauge {
  border: 1px solid var(--rule-soft);
  border-radius: var(--r-1);
  padding: 0.7rem 0.8rem;
  background: rgba(238,234,225,0.015);
}
.gauge__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: var(--s-3);
  margin-bottom: 0.5rem;
}
.gauge__name { font-size: 0.6875rem; color: var(--ivory-dim); letter-spacing: 0.04em; }
.gauge__val {
  font-family: var(--display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1;
}
.gauge__track { height: 3px; background: rgba(238,234,225,0.08); border-radius: 2px; overflow: hidden; }
.gauge__fill { height: 100%; background: linear-gradient(90deg, var(--violet-deep), var(--violet-bright)); }

.console__table { margin-top: var(--s-5); }
.console__table table { font-size: 0.6875rem; }
.console__table th {
  text-align: left;
  font-weight: 700;
  font-size: 0.5625rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  padding: 0 0 0.55rem;
  border-bottom: 1px solid var(--rule);
  white-space: nowrap;
}
.console__table td {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--rule-soft);
  color: var(--ivory-dim);
  white-space: nowrap;
}
.console__table td:first-child { color: var(--ivory-soft); }
.console__table th + th, .console__table td + td { padding-left: var(--s-4); text-align: right; }
.console__table .up { color: #6FD9AC; }
.console__table .flat { color: var(--ivory-mute); }
.console__table .tagx {
  display: inline-block;
  padding: 0.15rem 0.45rem;
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  color: var(--violet-bright);
  font-size: 0.5625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
/* 9px caption — takes the brighter of the two muted tokens for headroom. */
.console__foot {
  padding: 0.7rem 0.9rem;
  border-top: 1px solid var(--rule);
  font-size: 0.5625rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  background: rgba(238,234,225,0.02);
}
.table-scroll { overflow-x: auto; }

/* --- Pull quote ----------------------------------------------------------- */

.quote-band {
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  background:
    radial-gradient(90% 130% at 50% 0%, rgba(124,92,230,0.11), transparent 60%),
    var(--ink-900);
}
.quote {
  padding-block: clamp(3.5rem, 2rem + 6vw, 7rem);
  display: grid;
  gap: var(--s-6);
  justify-items: center;
  text-align: center;
}
.quote__mark {
  width: 30px; height: 40px;
  color: var(--violet-bright);
  opacity: 0.7;
}
.quote blockquote {
  font-family: var(--display);
  font-size: clamp(1.5rem, 1rem + 2.3vw, 2.75rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.24;
  letter-spacing: -0.012em;
  color: var(--ivory);
  max-width: 26ch;
}
.quote figcaption {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  line-height: 1.9;
}
.quote figcaption b { display: block; color: var(--ivory-dim); font-weight: 600; }

/* --- CTA + form ----------------------------------------------------------- */

.cta {
  display: grid;
  gap: var(--s-8);
}
@media (min-width: 1000px) {
  .cta { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: start; }
}
.cta__copy h2 { margin-top: var(--s-4); }
.cta__copy p { margin-top: var(--s-5); color: var(--ivory-dim); }
.cta__contacts { margin-top: var(--s-7); }
.cta__contacts li {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem var(--s-4);
  justify-content: space-between;
  min-height: 56px;
  padding: var(--s-3) 0;
  border-top: 1px solid var(--rule);
  font-size: var(--fs-sm);
}
/* The row gets a 44px hit area; the rule moves from the box edge to the text
   itself so growing the target does not detach the underline. */
.cta__contacts a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.cta__contacts .inline-link {
  border-bottom: 0;
  padding-bottom: 0;
  text-decoration: underline;
  text-decoration-color: var(--violet);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.cta__contacts .inline-link:hover { text-decoration-color: var(--violet-bright); }
.cta__contacts .k {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

.form-panel {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 200px 200px var(--r-2) var(--r-2);
  background: linear-gradient(180deg, rgba(124,92,230,0.09), transparent 34%), var(--ink-900);
  padding: clamp(2.5rem, 1.5rem + 3vw, 3.5rem) clamp(1.25rem, 0.8rem + 2.4vw, 2.75rem) clamp(1.75rem, 1rem + 2vw, 2.5rem);
  box-shadow: var(--shadow-lift);
}
.form-panel__head { text-align: center; margin-bottom: var(--s-7); }
.form-panel__head h3 { font-size: var(--fs-h3); margin-bottom: var(--s-3); }
.form-panel__head p { font-size: var(--fs-base); color: var(--ivory-dim); max-width: 34ch; margin-inline: auto; }

.field { margin-bottom: var(--s-5); }
.field label {
  display: block;
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin-bottom: 0.55rem;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 0.85rem 0.9rem;
  background: rgba(5,5,6,0.55);
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  color: var(--ivory);
  font-size: 1rem; /* 16px floor keeps iOS from zooming the viewport on focus */
  font-family: var(--body);
  transition: border-color 220ms var(--ease), background-color 220ms var(--ease);
}
.field textarea { resize: vertical; min-height: 108px; line-height: 1.55; }
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ivory-dim) 50%),
                    linear-gradient(135deg, var(--ivory-dim) 50%, transparent 50%);
  background-position: calc(100% - 18px) 50%, calc(100% - 13px) 50%;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2.25rem;
}
.field select option { background: var(--ink-850); color: var(--ivory); }
.field input::placeholder,
.field textarea::placeholder { color: var(--ivory-faint); }
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--violet);
  background: rgba(124,92,230,0.06);
}
.field[data-invalid="true"] input,
.field[data-invalid="true"] select,
.field[data-invalid="true"] textarea { border-color: #C4676B; }
.field__error {
  display: none;
  margin-top: 0.45rem;
  font-size: var(--fs-xs);
  color: #E0898D;
  letter-spacing: 0.02em;
}
.field[data-invalid="true"] .field__error { display: block; }

.form-row { display: grid; gap: 0 var(--s-4); }
@media (min-width: 560px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-panel .btn { width: 100%; justify-content: center; margin-top: var(--s-2); }
.form-note {
  margin-top: var(--s-4);
  font-size: var(--fs-xs);
  color: var(--ivory-faint);
  text-align: center;
  line-height: 1.55;
}

.form-success {
  display: none;
  text-align: center;
  padding-block: var(--s-6) var(--s-4);
}
.form-success[data-show="true"] { display: block; }
.form-success svg { width: 46px; height: 58px; margin: 0 auto var(--s-5); color: var(--violet-bright); }
.form-success h3 { font-size: var(--fs-h3); margin-bottom: var(--s-4); }
.form-success p { color: var(--ivory-dim); font-size: var(--fs-base); max-width: 34ch; margin-inline: auto; }
.form-success dl {
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  display: grid;
  gap: var(--s-4);
  text-align: left;
  font-size: var(--fs-sm);
}
.form-success dt {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.form-success dd { margin: 0.2rem 0 0; color: var(--ivory-dim); }

/* --- Footer --------------------------------------------------------------- */

.site-footer {
  border-top: 1px solid var(--rule);
  background: var(--ink-1000);
  padding-block: var(--s-9) var(--s-6);
}
.footer__top {
  display: grid;
  gap: var(--s-8);
}
@media (min-width: 860px) {
  .footer__top { grid-template-columns: minmax(0, 1.5fr) repeat(2, minmax(0, 1fr)); gap: var(--s-7); }
}
.footer__statement {
  margin-top: var(--s-5);
  max-width: 34ch;
  font-size: var(--fs-sm);
  color: var(--ivory-dim);
  line-height: 1.6;
}
/* Top-level footer groups are h2 (the footer is a sibling of <main>), styled
   down to keyline scale rather than left at an arbitrary h4. */
.footer__heading {
  font-family: var(--body);
  font-size: var(--fs-mono);
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin-bottom: var(--s-3);
}
/* Footer links carry a real hit area: 44px tall on touch, with the list gap
   sized so adjacent targets are not adjacent by accident. */
.footer__col li + li { margin-top: 0.25rem; }
.footer__col li > span {
  display: inline-block;
  padding-block: 0.55rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
}
.footer__col a {
  display: inline-block;
  min-height: 44px;
  padding-block: 0.68rem;
  font-size: var(--fs-sm);
  line-height: 1.5;
  color: var(--ivory-dim);
  transition: color 200ms var(--ease);
}
.footer__col a:hover { color: var(--ivory); }
.footer__bottom {
  margin-top: var(--s-9);
  padding-top: var(--s-5);
  border-top: 1px solid var(--rule);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-6);
  justify-content: space-between;
  font-size: var(--fs-xs);
  color: var(--ivory-faint);
  letter-spacing: 0.06em;
}
.footer__bottom p { margin: 0; }

/* --- Interior page hero --------------------------------------------------- */

.page-hero {
  position: relative;
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
}
.page-hero__inner {
  padding-block: clamp(3rem, 2rem + 6vw, 6rem) clamp(2.5rem, 1.5rem + 4vw, 4.5rem);
  display: grid;
  gap: var(--s-6);
}
@media (min-width: 980px) {
  .page-hero__inner {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 5rem);
    align-items: end;
  }
}
.page-hero h1 { margin-top: var(--s-5); font-size: clamp(2.5rem, 1.6rem + 3.6vw, 5rem); }
.page-hero h1 em { font-style: italic; font-weight: 300; }
.page-hero__aside { color: var(--ivory-dim); font-size: var(--fs-lede); line-height: 1.5; }
.page-hero__aside p + p { margin-top: var(--s-5); }
.page-hero__note {
  font-size: var(--fs-base);
  color: var(--ivory-dim);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
}

.crumbs {
  display: flex;
  gap: 0.6rem;
  align-items: center;
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-faint);
}
.crumbs a { color: var(--ivory-mute); }
.crumbs a:hover { color: var(--ivory); }

/* --- Two-engines diagram -------------------------------------------------- */

.engines {
  display: grid;
  gap: var(--s-6);
  align-items: stretch;
}
@media (min-width: 900px) { .engines { grid-template-columns: 1fr auto 1fr; align-items: center; } }

.engine {
  position: relative;
  border: 1px solid var(--rule);
  border-radius: 160px 160px var(--r-2) var(--r-2);
  padding: clamp(2.25rem, 1.5rem + 2.4vw, 3.25rem) clamp(1.25rem, 0.8rem + 1.8vw, 2.25rem) clamp(1.5rem, 1rem + 1.5vw, 2.25rem);
  background: linear-gradient(180deg, rgba(124,92,230,0.08), transparent 40%), var(--ink-900);
  text-align: center;
}
.engine__glyph { width: 46px; height: 60px; margin: 0 auto var(--s-5); color: var(--violet-bright); }
.engine h3 { margin-bottom: var(--s-3); }
.engine__role {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  margin-bottom: var(--s-5);
}
.engine p {
  color: var(--ivory-dim);
  font-size: var(--fs-base);
  text-align: left;
  max-width: 50ch;
  margin-inline: auto;
}
.engine__stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: var(--s-6);
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-1);
  overflow: hidden;
}
.engine__stats div { background: var(--ink-900); padding: var(--s-4) var(--s-2); }
.engine__stats b {
  display: block;
  font-family: var(--display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--ivory);
  line-height: 1;
}
.engine__stats span {
  display: block;
  margin-top: 0.45rem;
  font-size: 0.5625rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

.engines__link {
  display: grid;
  place-items: center;
  gap: var(--s-3);
  padding: var(--s-4) 0;
}
.engines__link svg { width: 56px; height: 56px; color: var(--violet); opacity: 0.9; }
@media (max-width: 899px) { .engines__link svg { transform: rotate(90deg); } }
.engines__link span {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  text-align: center;
  max-width: 12ch;
  line-height: 1.7;
}

/* --- Process rail --------------------------------------------------------- */

.rail { display: grid; gap: 0; }
.rail__step {
  position: relative;
  display: grid;
  gap: var(--s-3);
  padding: var(--s-6) 0 var(--s-6) clamp(2.5rem, 6vw, 4.5rem);
  border-top: 1px solid var(--rule);
}
/* Desktop: the day label and the owner stack in one narrow marginal column,
   so the description can run the full remaining width instead of stopping
   short of a third column that would otherwise sit empty. */
@media (min-width: 860px) {
  .rail__step {
    grid-template-columns: clamp(150px, 15vw, 190px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: var(--s-3);
    align-items: start;
  }
  .rail__step > .rail__when { grid-column: 1; grid-row: 1; padding-top: 0.3rem; }
  .rail__step > div         { grid-column: 2; grid-row: 1 / span 2; }
  .rail__step > .rail__who  { grid-column: 1; grid-row: 2; }
}
.rail__step::before {
  content: "";
  position: absolute;
  left: clamp(0.9rem, 2.4vw, 1.65rem);
  top: 0; bottom: 0;
  width: 1px;
  background: var(--rule);
}
.rail__step::after {
  content: "";
  position: absolute;
  left: clamp(0.9rem, 2.4vw, 1.65rem);
  top: calc(var(--s-6) + 0.55rem);
  width: 7px; height: 7px;
  transform: translateX(-3px) rotate(45deg);
  background: var(--violet);
  box-shadow: 0 0 12px var(--violet-glow);
}
.rail__step:last-child::before { bottom: auto; height: calc(var(--s-6) + 0.9rem); }
.rail__when {
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-bright);
}
.rail__step h3 { font-size: var(--fs-h4); font-family: var(--display); }
.rail__step h3 + p { margin-top: var(--s-3); }
.rail__step p { color: var(--ivory-dim); font-size: var(--fs-base); max-width: var(--measure-copy); }
.rail__who {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  line-height: 1.5;
}

/* --- Benefit / principle cards -------------------------------------------- */

.cards { display: grid; gap: var(--s-4); }
@media (min-width: 700px) { .cards--2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 760px) { .cards--3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1080px) { .cards--3 { grid-template-columns: repeat(3, 1fr); } }

.card {
  border: 1px solid var(--rule);
  border-radius: var(--r-2);
  background: var(--ink-900);
  padding: var(--s-6) var(--s-5);
  transition: border-color 320ms var(--ease), background-color 320ms var(--ease);
}
.card:hover { border-color: var(--rule-strong); background: var(--ink-850); }
/* Same shape as .eyebrow — uppercase and letterspaced — but violet, so the
   site has one kicker convention rather than two competing ones. */
.card__idx {
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--violet-bright);
  display: block;
  margin-bottom: var(--s-5);
}
.card h3 { font-size: var(--fs-h4); margin-bottom: var(--s-3); }
.card p { color: var(--ivory-dim); font-size: var(--fs-base); max-width: var(--measure-copy); }
.card__meta {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule-soft);
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

/* --- Ledger (what portfolio companies get) --------------------------------
   Deliberately not a card grid: hairline-ruled rows with a hanging numeral and
   a right-hand figure, so the section reads as a statement of account rather
   than as another set of boxes. */

.ledger { display: grid; gap: 0; border-bottom: 1px solid var(--rule); }
.ledger__row {
  display: grid;
  gap: var(--s-3) var(--s-5);
  grid-template-columns: auto minmax(0, 1fr);
  padding: var(--s-6) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.ledger__idx {
  grid-column: 1;
  font-family: var(--body);
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--violet-bright);
  padding-top: 0.45rem;
}
.ledger__body { grid-column: 2; }
.ledger__body h3 { font-size: var(--fs-h4); margin-bottom: var(--s-3); }
.ledger__body p { color: var(--ivory-dim); font-size: var(--fs-base); max-width: var(--measure-copy); }
.ledger__fig {
  grid-column: 2;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 0.2rem 0.7rem;
  padding-top: var(--s-2);
}
.ledger__fig b {
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(1.75rem, 1.2rem + 1.5vw, 2.5rem);
  line-height: 1;
  color: var(--ivory);
  letter-spacing: -0.02em;
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "kern" 1;
}
.ledger__fig span {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  line-height: 1.5;
  max-width: 22ch;
}

@media (min-width: 900px) {
  .ledger__row {
    grid-template-columns: clamp(46px, 5vw, 68px) minmax(0, 1fr) clamp(190px, 20vw, 260px);
    column-gap: clamp(1.5rem, 3.5vw, 3rem);
    padding: var(--s-7) 0;
  }
  .ledger__fig {
    grid-column: 3;
    grid-row: 1;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.6rem;
    padding-top: 0;
  }
  /* The column itself sets the measure; a ch cap here shreds the label. */
  .ledger__fig span { max-width: none; }
}

/* --- FAQ ------------------------------------------------------------------ */

.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  cursor: pointer;
  list-style: none;
  font-family: var(--display);
  font-size: var(--fs-h4);
  font-weight: 600;
  color: var(--ivory);
  transition: color 220ms var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--violet-bright); }
.faq summary .plus {
  flex: none;
  position: relative;
  width: 14px; height: 14px;
  margin-top: 0.45rem;
}
.faq summary .plus::before,
.faq summary .plus::after {
  content: "";
  position: absolute;
  background: var(--violet-bright);
  transition: transform 300ms var(--ease), opacity 300ms var(--ease);
}
.faq summary .plus::before { left: 0; top: 6px; width: 14px; height: 1px; }
.faq summary .plus::after { top: 0; left: 6px; height: 14px; width: 1px; }
.faq details[open] summary .plus::after { transform: rotate(90deg); opacity: 0; }
.faq__answer { padding: 0 0 var(--s-6); max-width: var(--measure-copy); }
.faq__answer p { color: var(--ivory-dim); font-size: var(--fs-base); }
.faq__answer p + p { margin-top: var(--s-4); }

/* --- Prose / naming essay ------------------------------------------------- */

.prose p { color: var(--ivory-dim); }
.prose p + p { margin-top: var(--s-5); }
/* Two-line cap. The float box is font-size x line-height (4.5 x 0.71 = 3.20em)
   against a 1.62 body line-height, i.e. 1.97 line boxes — so exactly two lines
   are indented, and the glyph's ink height (~3.13em) fills both of them.
   Top padding is deliberately zero: any adds to the float box and tips it to
   three reserved lines with only two filled. */
.prose .drop::first-letter {
  float: left;
  font-family: var(--display);
  font-size: 4.5em;
  line-height: 0.71;
  font-weight: 600;
  color: var(--ivory);
  padding: 0 0.1em 0 0;
}

/* --- Team aggregate ------------------------------------------------------- */

.roster {
  display: grid;
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--r-2);
  overflow: hidden;
}
@media (min-width: 620px) { .roster { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .roster { grid-template-columns: repeat(4, 1fr); } }
.roster__cell {
  background: var(--ink-900);
  padding: var(--s-6) var(--s-5);
}
.roster__n {
  font-family: var(--display);
  font-size: clamp(2.25rem, 1.6rem + 2.2vw, 3.25rem);
  font-weight: 600;
  line-height: 0.9;
  color: var(--ivory);
}
.roster__t {
  margin-top: var(--s-4);
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}
.roster__d { margin-top: var(--s-3); font-size: var(--fs-base); color: var(--ivory-dim); }

/* --- Timeline (about) ----------------------------------------------------- */

.timeline { display: grid; gap: 0; }
.timeline__row {
  display: grid;
  gap: var(--s-2) var(--s-6);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--rule);
}
.timeline__yr {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--violet-bright);
  line-height: 1;
}
.timeline__row p { color: var(--ivory-dim); font-size: var(--fs-base); max-width: var(--measure-copy); }
.timeline__row h3 { font-size: var(--fs-h4); margin-bottom: var(--s-2); }

/* --- Principles (about) --------------------------------------------------- */

.principles { display: grid; gap: 0; }
@media (min-width: 900px) { .principles { grid-template-columns: repeat(3, 1fr); } }
.principle {
  padding: var(--s-7) 0;
  border-top: 1px solid var(--rule);
}
@media (min-width: 900px) {
  .principle {
    padding: var(--s-7) clamp(1.25rem, 2.4vw, 2.5rem);
    border-left: 1px solid var(--rule);
  }
  .principle:first-child { border-left: 0; padding-left: 0; }
  .principle:last-child { padding-right: 0; }
}
.principle__glyph { width: 34px; height: 44px; color: var(--violet-bright); margin-bottom: var(--s-5); opacity: 0.9; }
.principle h3 {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: var(--fs-h3);
  margin-bottom: var(--s-4);
}
.principle p { color: var(--ivory-dim); font-size: var(--fs-base); max-width: 46ch; }

/* Asymmetric triptych: the lead principle becomes an arched panel spanning
   both rows, the other two stack beside it as ruled entries. Keeps this
   section from repeating the home page's three-equal-columns device. */
@media (min-width: 900px) {
  .principles {
    grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr);
    grid-template-rows: auto auto;
    column-gap: clamp(2rem, 4.5vw, 4.5rem);
    align-items: stretch;
  }
  .principle:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--rule);
    border-radius: 220px 220px var(--r-2) var(--r-2);
    background: linear-gradient(180deg, rgba(124, 92, 230, 0.09), transparent 38%), var(--ink-850);
    padding: clamp(3rem, 2rem + 3vw, 4.75rem) clamp(1.75rem, 1rem + 2.4vw, 3rem) clamp(2rem, 1.5rem + 2vw, 3rem);
    text-align: center;
  }
  .principle:first-child .principle__glyph {
    width: 46px; height: 60px;
    margin-inline: auto;
    margin-bottom: var(--s-6);
  }
  .principle:first-child h3 { font-size: var(--fs-h3); }
  .principle:first-child p { max-width: 36ch; margin-inline: auto; text-align: left; }

  .principle:nth-child(2),
  .principle:nth-child(3) {
    grid-column: 2;
    border-left: 0;
    padding-inline: 0;
  }
  .principle:nth-child(2) { grid-row: 1; padding-top: 0; border-top: 0; }
  .principle:nth-child(3) { grid-row: 2; }
}

/* --- Utility -------------------------------------------------------------- */

.stack-6 > * + * { margin-top: var(--s-6); }
.stack-5 > * + * { margin-top: var(--s-5); }
.stack-4 > * + * { margin-top: var(--s-4); }
.text-dim { color: var(--ivory-dim); }

/* Spacing utilities — the stylesheet owns spacing, the markup does not. */
.u-mt-5 { margin-top: var(--s-5); }
.u-mt-6 { margin-top: var(--s-6); }
.u-mt-7 { margin-top: var(--s-7); }
.u-mt-8 { margin-top: var(--s-8); }
.u-mt-9 { margin-top: var(--s-9); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* --- Scroll reveal (JS-gated, safe without JS) ---------------------------- */

.js-reveal.is-armed {
  opacity: 0;
  transform: translateY(18px);
}
.js-reveal.is-armed.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 760ms var(--ease), transform 760ms var(--ease);
}

/* --- Reduced motion ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .js-reveal.is-armed { opacity: 1 !important; transform: none !important; }
}

/* --- Narrow-width corrections --------------------------------------------- */

@media (max-width: 480px) {
  .hero__actions .btn { width: 100%; justify-content: center; }
  .form-panel { border-radius: 120px 120px var(--r-2) var(--r-2); }
  .engine { border-radius: 110px 110px var(--r-2) var(--r-2); }
  .sector { border-radius: 90px 90px var(--r-2) var(--r-2); }
}

@media (min-width: 1600px) {
  :root { --w-page: 1420px; }
}

/* --- Late corrections ----------------------------------------------------- */

.brand { color: var(--ivory); }

.window-art .rose { transform-origin: 160px 152px; animation: rose-breathe 11s ease-in-out infinite; }
@keyframes rose-breathe {
  0%, 100% { opacity: 0.9; }
  50%      { opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .window-art .rose { animation: none; }
}

.form-success dl > div { display: block; }
.form-panel form[hidden] { display: none; }

.tenet { display: flex; flex-direction: column; }
.tenet .tenet__tag { margin-top: auto; align-self: flex-start; }
.tenet h3 { min-height: 0; }
@media (min-width: 900px) { .tenet h3 { min-height: 2.3em; } }

/* --- Refinements (pass 1) ------------------------------------------------- */

ul, ol { list-style: none; }
.prose ul { list-style: disc; padding-left: 1.15rem; }

@media (min-width: 1000px) {
  .split--reverse { grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr); }
}

.console__row { grid-template-columns: 1fr !important; }
.gauges { grid-template-columns: 1fr; }
@media (min-width: 460px) { .gauges { grid-template-columns: 1fr 1fr; } }
.chart svg { min-height: 120px; }

:root { --section-y: clamp(4rem, 2.75rem + 5.6vw, 7.25rem); }

.sector::before {
  width: 70%;
  aspect-ratio: auto;
  height: 172px;
  border-bottom: 0;
  border-color: rgba(238, 234, 225, 0.045);
}
.sector:hover::before { border-color: rgba(124, 92, 230, 0.20); }

/* --- Nave illustration (about) -------------------------------------------- */

.nave { margin: 0; }
.nave svg { width: 100%; height: auto; filter: drop-shadow(0 0 60px rgba(124,92,230,.18)); }
.nave figcaption {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--rule);
  font-size: var(--fs-xs);
  letter-spacing: 0.06em;
  color: var(--ivory-mute);
  font-style: italic;
  font-family: var(--display);
  font-size: 1rem;
}

/* --- Creed (about principles) --------------------------------------------- */

.creed { display: grid; gap: 0; }
.creed__row {
  display: grid;
  gap: var(--s-3) clamp(1.5rem, 4vw, 3.5rem);
  padding: var(--s-7) 0;
  border-top: 1px solid var(--rule);
  align-items: start;
}
.creed__row:last-child { border-bottom: 1px solid var(--rule); }
@media (min-width: 760px) {
  .creed__row { grid-template-columns: clamp(70px, 9vw, 120px) minmax(0, 1fr); align-items: baseline; }
}
.creed__num {
  font-family: var(--display);
  font-size: clamp(2rem, 1.3rem + 2.4vw, 3.25rem);
  font-weight: 600;
  line-height: 0.85;
  color: var(--violet-bright);
  letter-spacing: 0.02em;
}
.creed__row h3 {
  font-family: var(--display);
  font-size: var(--fs-h3);
  margin-bottom: var(--s-3);
}
.creed__row p { color: var(--ivory-dim); font-size: var(--fs-base); max-width: var(--measure-copy); }

/* --- Refinements (pass 2) ------------------------------------------------- */

h1, h2, h3, h4,
.numbers__value, .roster__n, .timeline__yr, .engine__stats b,
.creed__num, .gauge__val, .quote blockquote, .brand__name {
  font-variant-numeric: lining-nums;
  font-feature-settings: "lnum" 1, "kern" 1;
}

.split { align-items: start; }
@media (min-width: 1000px) { .split--reverse { align-items: center; } }

.card { display: flex; flex-direction: column; }
.card__meta { margin-top: auto; padding-top: var(--s-5); }

.timeline__yr { font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem); }

.roster__n { letter-spacing: -0.02em; }

.mobile-nav .btn.btn--primary {
  display: inline-flex;
  color: var(--ink-1000);
  padding: 0.95rem 1.6rem;
  letter-spacing: 0.14em;
  font-size: var(--fs-xs);
}
.mobile-nav .btn.btn--primary:hover { color: var(--ivory); }
.nav-toggle { border-color: rgba(238, 234, 225, 0.28); }

@media (max-width: 520px) {
  .console__body { padding: var(--s-4); }
  .console__table table { font-size: 0.625rem; }
  .console__table th + th,
  .console__table td + td { padding-left: 0.45rem; }
  .console__table .tagx { font-size: 0.5rem; padding: 0.1rem 0.3rem; }
}
/* Below ~400px the delta column is the one that pushes the table past its
   wrapper; it is a derived figure, so it goes rather than the table scrolling. */
@media (max-width: 400px) {
  .console__table th:nth-child(4),
  .console__table td:nth-child(4) { display: none; }
}

/* --- Specificity corrections ---------------------------------------------
   Several modifier classes are applied to <p> elements that also match a
   descendant type selector; these restate them at matching specificity. */

.timeline__row .timeline__yr {
  font-family: var(--display);
  font-size: clamp(1.75rem, 1.4rem + 1vw, 2.25rem);
  font-weight: 600;
  line-height: 1;
  color: var(--violet-bright);
  max-width: none;
}

.rail__step .rail__when {
  font-size: var(--fs-mono);
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--violet-bright);
  max-width: none;
}
.rail__step .rail__who {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  line-height: 1.5;
  max-width: none;
}

.card .card__meta {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  /* .card p caps its measure; the meta rule must still span the full card. */
  max-width: none;
}

.engine .engine__role {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ivory-mute);
}

.split__copy .eyebrow,
.cta__copy .eyebrow {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--ivory-mute);
}

.form-panel__head .form-note { font-size: var(--fs-xs); }

.timeline__row .timeline__tag {
  font-size: var(--fs-mono);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ivory-mute);
  max-width: none;
}
/* Year and tag share the marginal column; the narrative gets the rest. */
@media (min-width: 720px) {
  .timeline__row {
    grid-template-columns: clamp(140px, 14vw, 180px) minmax(0, 1fr);
    grid-template-rows: auto 1fr;
    column-gap: clamp(2rem, 4vw, 3.5rem);
    row-gap: var(--s-3);
    align-items: start;
  }
  .timeline__row > .timeline__yr  { grid-column: 1; grid-row: 1; }
  .timeline__row > div            { grid-column: 2; grid-row: 1 / span 2; }
  .timeline__row > .timeline__tag { grid-column: 1; grid-row: 2; text-align: left; }
}
