/* =========================================================
   Ten Headz — Prospectus Vol. I
   Editorial / institutional typography system
   ========================================================= */

:root {
  /* Palette */
  --paper:        #F2ECDF;
  --paper-2:      #EADFCB;
  --paper-3:      #E1D5BD;

  --ink:          #0D1B2A;
  --ink-2:        #1A2638;
  --ink-mute:     #545569;
  --ink-faint:    #8C8574;

  --accent:       #B8451F;   /* burnt sienna / cricket-leather */
  --accent-2:     #D78451;   /* warm tan highlight */
  --accent-soft:  #F3D9C4;

  --rule:         rgba(13, 27, 42, 0.14);
  --rule-strong:  rgba(13, 27, 42, 0.34);
  --rule-inverse: rgba(242, 236, 223, 0.22);

  /* Type */
  --font-display: "Fraunces", ui-serif, Georgia, serif;
  --font-body:    "Instrument Sans", ui-sans-serif, -apple-system, system-ui, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  /* Layout */
  --max:          1280px;
  --gutter:       clamp(1.5rem, 4vw, 3rem);
  --section-y:    clamp(5rem, 12vw, 10rem);

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

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.62;
  color: var(--ink);
  background: var(--paper);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

/* Paper grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 120;
  opacity: 0.35;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='280' height='280'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.82' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.05  0 0 0 0 0.11  0 0 0 0 0.17  0 0 0 0.08 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  margin: 0;
  color: var(--ink);
}
h1 { font-variation-settings: "opsz" 120, "SOFT" 50; }
h2 { font-variation-settings: "opsz" 80,  "SOFT" 40; }
h3 { font-variation-settings: "opsz" 32,  "SOFT" 40; }

em {
  font-style: italic;
  font-family: var(--font-display);
  font-variation-settings: "opsz" 60, "SOFT" 90;
  font-weight: 380;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease);
}

ul, ol { list-style: none; padding: 0; margin: 0; }

.mono {
  font-family: var(--font-mono);
  font-feature-settings: "tnum", "zero";
}

.skip-link {
  position: absolute; top: -100px; left: 1rem;
  background: var(--ink); color: var(--paper);
  padding: .5rem .75rem; border-radius: 4px;
  font-size: .85rem;
}
.skip-link:focus { top: 1rem; z-index: 999; }

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

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  backdrop-filter: blur(8px) saturate(1.1);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  background: rgba(242, 236, 223, 0.65);
  border-bottom: 1px solid transparent;
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease);
}
.site-header[data-scrolled="true"] {
  background: rgba(242, 236, 223, 0.92);
  border-bottom-color: var(--rule);
}

.site-header__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.1rem var(--gutter);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  gap: .6rem;
  color: var(--ink);
}
.wordmark__glyph {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.03em;
  position: relative;
  font-variation-settings: "opsz" 144, "SOFT" 20;
}
.wordmark__dot {
  display: inline-block;
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 1px;
  transform: translateY(-0.28em);
}
.wordmark__text {
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 500;
}

.site-nav { justify-self: center; }
.site-nav ul {
  display: flex;
  gap: clamp(1rem, 2.4vw, 2.2rem);
  align-items: center;
}
.site-nav a {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  display: inline-flex;
  align-items: baseline;
  gap: 0.35rem;
  position: relative;
  padding-bottom: 0.35rem;
}
.nav-num {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--ink-faint);
  letter-spacing: 0;
  transition: color 0.3s var(--ease);
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.35s var(--ease);
}
.site-nav a:hover::after { right: 0; }
.site-nav a:hover .nav-num { color: var(--accent); }

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 0.68rem 1.15rem;
  border-radius: 999px;
  border: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.cta:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}
.cta svg { transition: transform 0.3s var(--ease); }
.cta:hover svg { transform: translateX(3px); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  width: 32px; height: 26px;
  padding: 0;
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  display: block;
  width: 100%; height: 1.5px;
  background: var(--ink);
  margin: 7px 0;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 9rem var(--gutter) 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}
.hero::before {
  /* Subtle radial warm glow */
  top: -10%; right: -15%;
  width: 60vw; height: 60vw;
  background: radial-gradient(circle at center, rgba(184, 69, 31, 0.08), transparent 65%);
  filter: blur(40px);
}
.hero::after {
  /* Hairline diagonal */
  inset: 0;
  background:
    linear-gradient(to bottom, transparent calc(100% - 1px), var(--rule) calc(100% - 1px));
}

.hero__grid {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  flex: 1;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "meta   orbit"
    "head   orbit"
    "lede   orbit"
    "footer footer";
  gap: clamp(1.5rem, 3vw, 2.5rem) clamp(2rem, 4vw, 4rem);
  align-items: start;
  position: relative;
  z-index: 2;
}

.hero__meta { grid-area: meta; padding-top: 1rem; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}
.eyebrow__dash {
  width: 2rem; height: 1px;
  background: var(--accent);
  display: inline-block;
}

.hero__headline {
  grid-area: head;
  font-size: clamp(3rem, 9vw, 8.5rem);
  line-height: 0.94;
  font-weight: 350;
  letter-spacing: -0.028em;
  font-variation-settings: "opsz" 144, "SOFT" 20;
  margin-top: 1.2rem;
  margin-bottom: 1rem;
}
.hero__headline span { display: block; }
.reveal--italic {
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  color: var(--accent);
  padding-left: clamp(1rem, 4vw, 3rem);
}

.hero__lede {
  grid-area: lede;
  max-width: 48ch;
  font-size: clamp(1.05rem, 1.25vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  padding-right: 2rem;
}
.hero__lede em { color: var(--accent); font-weight: 420; }

/* Orbit diagram */
.hero__orbit {
  grid-area: orbit;
  align-self: end;
  justify-self: end;
  width: min(48vw, 520px);
  aspect-ratio: 1 / 1;
  position: relative;
}
.orbit {
  width: 100%; height: 100%;
  overflow: visible;
}
.orbit__ring {
  fill: none;
  stroke: var(--rule-strong);
  stroke-width: 0.6;
}
.orbit__ring--outer { stroke-dasharray: 2 4; animation: slow-rot 120s linear infinite; transform-origin: 200px 200px; }
.orbit__ring--mid   { stroke: var(--rule); }
.orbit__ring--inner { stroke-dasharray: 1 3; animation: slow-rot 80s linear infinite reverse; transform-origin: 200px 200px; }

.orbit__spoke {
  stroke: var(--rule);
  stroke-width: 0.6;
}
.orbit__spoke--diag { stroke-dasharray: 2 3; opacity: 0.55; }

.orbit__hub {
  fill: var(--paper);
  stroke: var(--ink);
  stroke-width: 1;
}
.orbit__hub-dot { fill: var(--accent); }
.orbit__hub-label {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.15em;
  fill: var(--ink);
  font-weight: 500;
}

.orbit__node circle {
  fill: var(--ink);
  stroke: var(--paper);
  stroke-width: 2;
  transform-box: fill-box;
  transform-origin: center;
  animation: node-pulse 4.5s var(--ease) infinite;
  animation-delay: var(--delay);
}
.orbit__node text {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  fill: var(--ink-2);
}

.orbit__sat {
  fill: var(--accent);
  animation: sat-pulse 3s var(--ease) infinite;
  animation-delay: var(--delay);
}

@keyframes slow-rot { to { transform: rotate(360deg); } }
@keyframes node-pulse {
  0%, 100% { transform: scale(1); }
  50%      { transform: scale(1.5); }
}
@keyframes sat-pulse {
  0%, 100% { opacity: 0.2; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.6); }
}

.orbit__caption {
  position: absolute;
  bottom: -2.2rem;
  right: 0;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.orbit__caption-num { color: var(--accent); }

.hero__footer {
  grid-area: footer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4rem 0 2rem;
  border-top: 1px solid var(--rule);
  margin-top: 2rem;
}

.scroll-hint {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  position: relative;
}
.scroll-hint__line {
  display: inline-block;
  width: 64px; height: 1px;
  background: var(--ink);
  position: relative;
  overflow: hidden;
}
.scroll-hint__line::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-100%);
  animation: line-sweep 2.4s var(--ease) infinite;
}
@keyframes line-sweep {
  0%   { transform: translateX(-100%); }
  50%  { transform: translateX(0); }
  100% { transform: translateX(100%); }
}

.hero__marginalia {
  display: flex;
  gap: 2rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* Ticker */
.hero__ticker {
  position: relative;
  margin-top: -1px;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  overflow: hidden;
  background: var(--paper-2);
  padding: 1.2rem 0;
}
.ticker-track {
  display: flex;
  gap: 3rem;
  white-space: nowrap;
  animation: ticker 80s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 350;
  font-size: 1.2rem;
  color: var(--ink-2);
  font-variation-settings: "opsz" 48, "SOFT" 100;
}
.ticker-track span { display: inline-flex; }
.ticker-track span::before {
  content: "•";
  color: var(--accent);
  margin-right: 0.4em;
  font-style: normal;
}
@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: reveal 1s var(--ease) forwards;
  animation-delay: var(--d, 0s);
}
@keyframes reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   SECTIONS — shared
   ========================================================= */
.section {
  padding: var(--section-y) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  position: relative;
}

.section__header {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding-bottom: 2rem;
  margin-bottom: 3.5rem;
  border-bottom: 1px solid var(--rule);
}
.section__num {
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  color: var(--accent);
  font-weight: 600;
}
.section__label {
  font-size: 0.82rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-mute);
  font-weight: 500;
}

.section__title {
  font-size: clamp(2.25rem, 5.5vw, 4.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 340;
  max-width: 18ch;
  font-variation-settings: "opsz" 120, "SOFT" 30;
}
.section__title em { color: var(--accent); font-weight: 400; }
.section__title--centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 20ch;
}

.section__lede {
  font-size: 1.22rem;
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 54ch;
  margin-top: 2rem;
}

/* =========================================================
   THESIS
   ========================================================= */
.thesis__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.thesis__body {
  padding-top: 0.7rem;
  font-size: 1.05rem;
  color: var(--ink-2);
  max-width: 44ch;
}
.thesis__body .lede {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 380;
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
  margin-bottom: 1.8rem;
  font-variation-settings: "opsz" 60, "SOFT" 100;
}

.thesis__stats {
  grid-column: 1 / -1;
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
}
.stat {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border-top: 1px solid var(--accent);
  padding-top: 1.2rem;
}
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.6rem);
  line-height: 1;
  letter-spacing: -0.025em;
  font-weight: 340;
  font-variation-settings: "opsz" 144, "SOFT" 20;
  color: var(--ink);
  display: flex;
  align-items: baseline;
}
.stat__unit { font-size: 0.55em; color: var(--accent); margin-left: 0.1em; }
.stat__label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--ink-mute);
  line-height: 1.35;
  max-width: 22ch;
}

/* =========================================================
   VERTICALS — the core editorial grid for V1–V5
   ========================================================= */
.verticals {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.vert {
  grid-column: span 2;
  background: var(--paper);
  padding: clamp(1.75rem, 2.6vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  position: relative;
  transition: background 0.4s var(--ease);
}
.vert:nth-child(4) { grid-column: 1 / span 3; }
.vert:nth-child(5) { grid-column: 4 / span 3; }
.vert:hover { background: var(--paper-2); }
.vert:hover .vert__name { color: var(--accent); }

.vert__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
}
.vert__tag {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
}
.vert__fn {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.vert__name {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 2.6vw, 2.4rem);
  line-height: 1.08;
  font-weight: 360;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 120, "SOFT" 30;
  margin-top: 0.2rem;
  transition: color 0.4s var(--ease);
}
.vert__tagline {
  font-family: var(--font-display);
  font-size: 1.04rem;
  color: var(--ink-mute);
  margin: 0;
}
.vert__tagline em {
  color: var(--accent);
  font-variation-settings: "opsz" 60, "SOFT" 100;
  font-weight: 400;
}
.vert__body {
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 48ch;
}
.vert__facts {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--rule-strong);
  display: grid;
  grid-template-columns: repeat(3, auto);
  gap: 0.4rem 1.4rem;
}
.vert__facts li {
  font-size: 0.8rem;
  color: var(--ink-2);
  line-height: 1.4;
}
.vert__facts .mono {
  display: block;
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.1rem;
}

/* =========================================================
   DISCIPLINES
   ========================================================= */
.disciplines__index {
  margin-top: 5rem;
  border-top: 1px solid var(--rule-strong);
  counter-reset: disc;
}
.disciplines__index li {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 2rem;
  align-items: baseline;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--rule);
  position: relative;
  transition: padding 0.45s var(--ease), background 0.45s var(--ease);
  cursor: default;
}
.disciplines__index li::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.disciplines__index li:hover {
  padding-left: 1rem;
}
.disciplines__index li:hover::before { width: 100%; }
.disciplines__index li:hover .d-name { color: var(--accent); }

.d-num {
  font-size: 0.78rem;
  color: var(--ink-faint);
  letter-spacing: 0.06em;
}
.d-name {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  font-weight: 360;
  letter-spacing: -0.015em;
  font-variation-settings: "opsz" 60, "SOFT" 40;
  transition: color 0.35s var(--ease);
}
.d-range {
  font-size: 0.82rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.disciplines__note {
  margin-top: 3rem;
  padding: 1.5rem 1.8rem;
  border-left: 2px solid var(--accent);
  background: var(--paper-2);
  font-size: 0.92rem;
  color: var(--ink-2);
  max-width: 70ch;
  line-height: 1.6;
}
.disciplines__note .mono {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 0.4rem;
}

/* =========================================================
   COMPOUND — dark chapter section showing vertical flow
   ========================================================= */
.section--compound {
  max-width: 100%;
  padding-left: 0;
  padding-right: 0;
  background: var(--ink);
  color: var(--paper);
  margin: var(--section-y) 0;
  position: relative;
  overflow: hidden;
}
.section--compound::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 80% 30%, rgba(184, 69, 31, 0.20), transparent 55%),
    radial-gradient(ellipse at 15% 80%, rgba(215, 132, 81, 0.12), transparent 60%);
}
.section--compound > * {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
  position: relative;
  z-index: 2;
}
.section--compound .section__header { border-bottom-color: var(--rule-inverse); }
.section--compound .section__num { color: var(--accent-2); }
.section--compound .section__label { color: rgba(242, 236, 223, 0.6); }
.section--compound .section__title,
.section--compound .section__title em {
  color: var(--paper);
}
.section--compound .section__title em { color: var(--accent-2); }
.section--compound .section__lede {
  color: rgba(242, 236, 223, 0.78);
  margin-left: auto;
  margin-right: auto;
  max-width: 62ch;
}
.section__lede--centered { text-align: center; }

.compound {
  margin-top: 5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: stretch;
  gap: 1rem;
}
.compound__step {
  flex: 1 1 0;
  min-width: 180px;
  background: rgba(242, 236, 223, 0.04);
  border: 1px solid var(--rule-inverse);
  border-top: 2px solid var(--accent-2);
  padding: 1.4rem 1.25rem 1.4rem;
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
}
.compound__step:hover {
  background: rgba(242, 236, 223, 0.08);
  border-top-color: var(--paper);
}
.compound__tag {
  font-size: 0.82rem;
  color: var(--accent-2);
  font-weight: 600;
  letter-spacing: 0.06em;
  padding-top: 0.25rem;
}
.compound__step h4 {
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.15vw, 1.2rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--paper);
  margin: 0 0 0.35rem;
  overflow-wrap: anywhere;
  hyphens: auto;
  min-width: 0;
}
.compound__step > div { min-width: 0; flex: 1; }
.compound__step p {
  font-size: 0.88rem;
  color: rgba(242, 236, 223, 0.72);
  line-height: 1.45;
  margin: 0;
}
.compound__arrow {
  flex: 0 0 auto;
  align-self: center;
  color: var(--accent-2);
  font-family: var(--font-display);
  font-size: 1.8rem;
  line-height: 1;
  padding: 0 0.2rem;
  opacity: 0.7;
}

.compound__quote {
  margin: 4rem auto 0;
  max-width: 70ch;
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 120, "SOFT" 100;
  font-size: clamp(1.35rem, 2.4vw, 2rem);
  line-height: 1.34;
  text-align: center;
  color: var(--paper);
  font-weight: 340;
  letter-spacing: -0.008em;
}
.pullquote__mark {
  color: var(--accent-2);
  font-size: 1.4em;
  line-height: 0;
  vertical-align: -0.15em;
}

/* =========================================================
   CREDENTIAL
   ========================================================= */
.credential__stack {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1rem, 2.5vw, 2rem);
  position: relative;
}
.credential__stack::before {
  content: "";
  position: absolute;
  left: 10%; right: 10%;
  top: 50%;
  height: 1px;
  background: var(--rule-strong);
  z-index: 0;
}
.cred-card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: transform 0.5s var(--ease), border-color 0.4s var(--ease);
  z-index: 1;
}
.cred-card:nth-child(2) { transform: translateY(1.5rem); }
.cred-card:nth-child(3) { transform: translateY(3rem); }
.cred-card:hover { transform: translateY(-0.5rem); border-color: var(--accent); }
.cred-card:nth-child(2):hover { transform: translate(0, 1rem); border-color: var(--accent); }
.cred-card:nth-child(3):hover { transform: translate(0, 2.5rem); border-color: var(--accent); }
.cred-card__num {
  font-size: 2rem;
  color: var(--accent);
  font-weight: 500;
}
.cred-card h3 {
  font-size: 1.5rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.01em;
  max-width: 14ch;
}
.cred-card p {
  color: var(--ink-2);
  font-size: 0.98rem;
}

/* =========================================================
   JOURNEY
   ========================================================= */
.journey {
  margin-top: 5rem;
  counter-reset: journey;
  position: relative;
  padding-left: 3rem;
}
.journey::before {
  content: "";
  position: absolute;
  left: 1rem; top: 1.4rem; bottom: 1.4rem;
  width: 1px;
  background: linear-gradient(to bottom, var(--accent) 0%, var(--rule-strong) 100%);
}

.journey__stage {
  position: relative;
  padding: 1.8rem 0 2rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  border-bottom: 1px solid var(--rule);
}
.journey__stage::before {
  content: "";
  position: absolute;
  left: -2rem; top: 2.5rem;
  width: 11px; height: 11px;
  border-radius: 50%;
  background: var(--paper);
  border: 1.5px solid var(--accent);
  transform: translateX(-50%);
  transition: background 0.4s var(--ease), transform 0.4s var(--ease);
}
.journey__stage:hover::before { background: var(--accent); transform: translateX(-50%) scale(1.3); }
.journey__roman {
  font-family: var(--font-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100;
  font-size: 3.2rem;
  line-height: 1;
  color: var(--ink-mute);
  font-weight: 360;
  min-width: 4ch;
  transition: color 0.4s var(--ease);
}
.journey__stage:hover .journey__roman { color: var(--accent); }
.journey__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 0.85rem;
  flex-wrap: wrap;
}
.journey__head h3 {
  font-size: 1.9rem;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.012em;
}
.journey__duration {
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.journey__body p {
  color: var(--ink-2);
  font-size: 1.02rem;
  max-width: 62ch;
  line-height: 1.62;
}

/* (Unit Economics section intentionally removed — kept for private decks only.) */

/* =========================================================
   TEAM
   ========================================================= */
.team {
  margin-top: 5rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
}
.member {
  background: var(--paper);
  padding: clamp(1.75rem, 2.6vw, 2.6rem);
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  transition: background 0.4s var(--ease);
}
.member::before {
  /* Animated corner-mark that accents on hover — ritualised editorial flourish */
  content: "";
  position: absolute;
  top: 0; right: 0;
  width: 0; height: 2px;
  background: var(--accent);
  transition: width 0.5s var(--ease);
}
.member:hover {
  background: var(--paper-2);
}
.member:hover::before { width: 100%; }
.member:hover .member__name { color: var(--accent); }

.member__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--rule);
  gap: 1rem;
}
.member__num {
  font-size: 0.8rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 0.08em;
}
.member__mark {
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
  text-align: right;
}

.member__name {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.2vw, 2.1rem);
  line-height: 1.1;
  font-weight: 380;
  letter-spacing: -0.018em;
  font-variation-settings: "opsz" 80, "SOFT" 40;
  transition: color 0.4s var(--ease);
  margin-top: 0.3rem;
}
.member__role {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.98rem;
  color: var(--ink-mute);
  font-weight: 400;
  font-variation-settings: "opsz" 48, "SOFT" 100;
  margin: 0 0 0.4rem;
}
.member__bio {
  font-size: 0.95rem;
  color: var(--ink-2);
  line-height: 1.6;
  max-width: 40ch;
}
.member__owns {
  margin-top: auto;
  padding-top: 1.1rem;
  border-top: 1px dashed var(--rule-strong);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.member__owns li {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
  padding-left: 0.9rem;
  position: relative;
}
.member__owns li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.5rem;
  width: 5px; height: 1px;
  background: var(--accent);
}

.team__note {
  margin-top: 3rem;
  padding: 1.5rem 1.8rem;
  border-left: 2px solid var(--accent);
  background: var(--paper-2);
  font-size: 0.92rem;
  color: var(--ink-2);
  max-width: 70ch;
  line-height: 1.6;
}
.team__note .mono {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-right: 0.4rem;
}

/* =========================================================
   CONNECT
   ========================================================= */
.connect__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.connect__about p {
  margin-top: 2rem;
  font-size: 1.08rem;
  color: var(--ink-2);
  max-width: 46ch;
  line-height: 1.62;
}

.connect__cards {
  display: grid;
  gap: 0.75rem;
}
.connect-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 1.75rem 1.85rem;
  background: var(--paper);
  border: 1px solid var(--rule-strong);
  transition: background 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}
.connect-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, var(--accent-soft) 50%, transparent);
  transform: translateX(-100%);
  opacity: 0;
  transition: transform 0.6s var(--ease), opacity 0.4s var(--ease);
}
.connect-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}
.connect-card:hover::before { opacity: 0.7; transform: translateX(100%); }
.connect-card > * { position: relative; z-index: 1; }
.connect-card__num {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  font-weight: 600;
}
.connect-card h3 {
  font-size: 1.55rem;
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.15;
}
.connect-card p {
  font-size: 0.95rem;
  color: var(--ink-2);
  max-width: 38ch;
  margin-bottom: 0.5rem;
}
.connect-card__addr {
  font-size: 0.78rem;
  color: var(--ink-mute);
  letter-spacing: 0.02em;
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(3rem, 7vw, 5rem) var(--gutter) 2.5rem;
  margin-top: 0;
  position: relative;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.6;
}
.site-footer__inner {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "brand stmt nav"
    "meta  meta meta";
  gap: 3rem 4rem;
  align-items: start;
}

.site-footer__brand {
  grid-area: brand;
  display: inline-flex;
  align-items: baseline;
  gap: 0.6rem;
}
.site-footer .wordmark__glyph { color: var(--paper); font-size: 1.7rem; }
.site-footer .wordmark__text  { color: rgba(242, 236, 223, 0.78); }
.site-footer .wordmark__dot   { background: var(--accent-2); }

.site-footer__stmt {
  grid-area: stmt;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.45;
  font-weight: 380;
  max-width: 28ch;
  color: var(--paper);
  font-variation-settings: "opsz" 60, "SOFT" 60;
}
.site-footer__stmt em { color: var(--accent-2); }

.site-footer__nav { grid-area: nav; }
.site-footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.site-footer__nav a {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 236, 223, 0.72);
  transition: color 0.3s var(--ease);
}
.site-footer__nav a:hover { color: var(--accent-2); }

.site-footer__meta {
  grid-area: meta;
  padding-top: 2.5rem;
  margin-top: 2rem;
  border-top: 1px solid var(--rule-inverse);
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(242, 236, 223, 0.5);
}

/* =========================================================
   SCROLL-TRIGGERED REVEAL (progressive enhancement)
   Default state is visible; the JS bootstrap adds .js-reveal
   on <html>, which then gates the hidden starting state. That
   way, if JS is disabled or the screenshotter fails to tick
   the observer, content is still shown.
   ========================================================= */
[data-animate] {
  opacity: 1;
  transform: none;
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.js-reveal [data-animate] {
  opacity: 0;
  transform: translateY(24px);
}
.js-reveal [data-animate].in-view {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .hero__grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "meta"
      "head"
      "lede"
      "orbit"
      "footer";
  }
  .hero__orbit { justify-self: center; width: min(70vw, 380px); align-self: center; }
  .reveal--italic { padding-left: 0; }

  .thesis__grid { grid-template-columns: 1fr; }
  .thesis__stats { grid-template-columns: repeat(2, 1fr); }

  .verticals { grid-template-columns: 1fr; }
  .vert, .vert:nth-child(4), .vert:nth-child(5) { grid-column: 1 / -1; }
  .team { grid-template-columns: 1fr; }

  .compound { flex-direction: column; }
  .compound__arrow { transform: rotate(90deg); align-self: flex-start; padding: 0.3rem 0 0 1.8rem; }

  .credential__stack { grid-template-columns: 1fr; gap: 1rem; }
  .credential__stack::before { display: none; }
  .cred-card:nth-child(2),
  .cred-card:nth-child(3) { transform: none; }
  .cred-card:nth-child(2):hover,
  .cred-card:nth-child(3):hover { transform: translateY(-0.5rem); }

  .outcomes { grid-template-columns: repeat(2, 1fr); }
  .connect__grid { grid-template-columns: 1fr; }

  .site-footer__inner {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "stmt"
      "nav"
      "meta";
    gap: 2rem;
  }
}

@media (max-width: 720px) {
  .site-nav { display: none; }
  .nav-toggle { display: block; }
  .cta--pill span { display: none; }
  .cta--pill { padding: 0.55rem 0.75rem; }

  .hero { padding-top: 7rem; }
  .hero__headline { font-size: clamp(2.5rem, 11vw, 4.5rem); }

  .disciplines__index li {
    grid-template-columns: 48px 1fr;
    gap: 1rem;
  }
  .d-range {
    grid-column: 2 / -1;
    font-size: 0.76rem;
    color: var(--ink-faint);
  }

  .thesis__stats { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
  .stat { padding-top: 0.8rem; }

  .journey { padding-left: 2rem; }
  .journey__stage { grid-template-columns: 1fr; gap: 0.5rem; }
  .journey__roman { font-size: 2.5rem; }

  .site-header__inner { grid-template-columns: auto auto; }
  .cta { justify-self: end; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
