/* ============================================================
   Ashoka NextGen Leaders — styles.css
   Legacy editorial / private members club design system
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
  --navy-deep: #081830;
  --navy: #102840;
  --slate: #384050;
  --silver: #c8cbc6;
  --ivory: #f8f7f1;
  --ivory-warm: #fffdf7;
  --gold: #c7a44d;
  --gold-deep: #a9883a;

  --ink: var(--navy-deep);
  --body: #46505e;
  --hairline: rgba(8, 24, 48, 0.14);
  --hairline-dark: rgba(248, 247, 241, 0.16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: Georgia, "Times New Roman", "Times", serif;

  --max: 1180px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 84px;
}

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

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--body);
  background: var(--ivory-warm);
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, figure, p { margin: 0; }

a { color: inherit; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

::selection { background: rgba(199, 164, 77, 0.28); }

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

.measure { max-width: 62ch; }
.measure-narrow { max-width: 48ch; }

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.eyebrow--center { justify-content: center; }
.eyebrow--center::after {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
  flex: none;
}

.display {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -0.015em;
  font-size: clamp(2.4rem, 5.4vw, 4.1rem);
  text-wrap: balance;
}

.title {
  font-family: var(--serif);
  font-weight: 400;
  color: var(--ink);
  line-height: 1.16;
  letter-spacing: -0.01em;
  font-size: clamp(1.75rem, 3.4vw, 2.6rem);
  text-wrap: balance;
}

.subtitle {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  font-size: 1.3rem;
  line-height: 1.35;
}

.lede {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  line-height: 1.75;
  color: var(--body);
}

.on-dark { color: var(--ivory); }
.on-dark .eyebrow, .theme-dark .eyebrow { color: var(--gold); }
.on-dark .display, .on-dark .title,
.theme-dark .display, .theme-dark .title { color: var(--ivory); }
.on-dark .lede, .theme-dark .lede { color: rgba(248, 247, 241, 0.78); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 1.9rem;
  border: 1px solid transparent;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy-deep);
}
.btn--gold:hover { background: var(--ivory); color: var(--navy-deep); }

.btn--ghost-dark {
  border-color: rgba(248, 247, 241, 0.4);
  color: var(--ivory);
}
.btn--ghost-dark:hover { border-color: var(--gold); color: var(--gold); }

.btn--ghost-light {
  border-color: rgba(8, 24, 48, 0.35);
  color: var(--navy-deep);
}
.btn--ghost-light:hover { border-color: var(--gold-deep); color: var(--gold-deep); }

.btn--navy {
  background: var(--navy-deep);
  color: var(--ivory);
}
.btn--navy:hover { background: var(--navy); }

.text-link {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy-deep);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 0.3rem;
  transition: color 0.3s var(--ease);
}
.text-link:hover { color: var(--gold-deep); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 253, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}

.site-header::before {
  content: "";
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold) 50%, var(--gold-deep));
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  text-decoration: none;
  min-width: 0;
}

.brand-mark { width: 52px; height: 52px; flex: none; }

.brand-text { display: flex; flex-direction: column; line-height: 1.25; }

.brand-name {
  font-family: var(--serif);
  font-size: 1.06rem;
  font-weight: 500;
  color: var(--navy-deep);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.brand-sub {
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
}

.site-nav > a,
.nav-drop-toggle {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.25s var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-nav > a::after,
.nav-drop-toggle::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}

.site-nav > a:hover,
.site-nav > a.is-active,
.nav-dropdown.is-active .nav-drop-toggle,
.nav-drop-toggle:hover { color: var(--navy-deep); }

.site-nav > a:hover::after,
.site-nav > a.is-active::after,
.nav-dropdown.is-active .nav-drop-toggle::after,
.nav-drop-toggle:hover::after { right: 0; }

.nav-cta {
  border: 1px solid var(--gold);
  padding: 0.65rem 1.2rem !important;
  color: var(--navy-deep) !important;
  white-space: nowrap;
  transition: background 0.3s var(--ease), color 0.3s var(--ease) !important;
}
.nav-cta::after { display: none; }
.nav-cta:hover { background: var(--gold); }

/* Dropdown */
.nav-dropdown { position: relative; }

.nav-drop-toggle .caret {
  width: 9px;
  height: 9px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.25s var(--ease);
}

.nav-dropdown.is-open .caret { transform: rotate(225deg) translateY(-2px); }

.nav-drop-menu {
  position: absolute;
  top: calc(100% + 0.9rem);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 200px;
  background: var(--ivory-warm);
  border: 1px solid var(--hairline);
  border-top: 2px solid var(--gold);
  box-shadow: 0 18px 40px -18px rgba(8, 24, 48, 0.35);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
}

.nav-dropdown.is-open .nav-drop-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.nav-drop-menu a {
  display: block;
  padding: 0.65rem 1.4rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--slate);
  transition: color 0.2s, background 0.2s;
}

.nav-drop-menu a:hover,
.nav-drop-menu a.is-active {
  color: var(--navy-deep);
  background: rgba(199, 164, 77, 0.1);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  align-items: center;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--navy-deep);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.nav-toggle.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero: homepage ---------- */
.hero-home {
  position: relative;
  background: var(--navy-deep);
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-home::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(16, 40, 64, 0.55), transparent 65%),
    radial-gradient(ellipse 70% 60% at 80% 0%, rgba(16, 40, 64, 0.5), transparent 60%);
  pointer-events: none;
}

.hero-home .wrap {
  position: relative;
  z-index: 2;
  padding-top: clamp(4rem, 9vh, 7rem);
  padding-bottom: clamp(4rem, 9vh, 7rem);
  width: 100%;
}

.hero-emblem {
  width: clamp(74px, 9vw, 96px);
  height: auto;
  margin-bottom: 2.2rem;
  filter: drop-shadow(0 8px 30px rgba(0, 0, 0, 0.45));
}

.hero-home .display { max-width: 17ch; }

.hero-home .lede {
  margin-top: 1.8rem;
  max-width: 56ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.6rem;
}

.hero-rule {
  margin-top: clamp(3rem, 6vh, 4.5rem);
  padding-top: 2.2rem;
  border-top: 1px solid var(--hairline-dark);
  display: flex;
  flex-wrap: wrap;
  gap: clamp(2rem, 6vw, 5rem);
}

.stat { min-width: 130px; position: relative; }

/* Animated gold line beneath each stat */
.stat::after {
  content: "";
  position: absolute;
  left: 0;
  top: calc(100% + 0.95rem);
  width: 1px;
  height: 2.6rem;
  background: linear-gradient(to bottom, var(--gold), transparent);
  transform-origin: top;
  animation: statLine 3s var(--ease) infinite;
}
.stat:nth-child(2)::after { animation-delay: 0.5s; }
.stat:nth-child(3)::after { animation-delay: 1s; }

@keyframes statLine {
  0%        { transform: scaleY(0); opacity: 0; transform-origin: top; }
  28%       { transform: scaleY(1); opacity: 1; transform-origin: top; }
  62%, 100% { transform: scaleY(0); opacity: 0; transform-origin: bottom; }
}

@media (prefers-reduced-motion: reduce) {
  .stat::after { animation: none; transform: scaleY(1); opacity: 0.7; }
}

.stat-number {
  font-family: var(--serif);
  font-size: clamp(2rem, 3.6vw, 2.9rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1;
  display: flex;
  align-items: baseline;
}

.stat-suffix { font-size: 0.6em; margin-left: 2px; }

.stat-label {
  margin-top: 0.55rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 1px;
  height: 52px;
  background: linear-gradient(to bottom, transparent, var(--gold));
  animation: cueDrop 2.6s var(--ease) infinite;
}

@keyframes cueDrop {
  0% { transform: translateX(-50%) scaleY(0); transform-origin: top; opacity: 0; }
  35% { transform: translateX(-50%) scaleY(1); transform-origin: top; opacity: 1; }
  70%, 100% { transform: translateX(-50%) scaleY(0); transform-origin: bottom; opacity: 0.4; }
}

/* ---------- Hero: dark cover (About, Governance) ---------- */
.hero-cover {
  position: relative;
  background: var(--navy-deep);
  padding: clamp(5rem, 11vh, 8.5rem) 0;
  overflow: hidden;
}

/* Animated lineage / succession tree — draws top to bottom, looping */
.hero-lineage {
  position: absolute;
  top: 0;
  bottom: 0;
  right: clamp(-40px, -2vw, 0px);
  width: clamp(360px, 40vw, 560px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

.hero-lineage svg { width: 100%; height: 100%; display: block; }

.hero-lineage .ln {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  animation: lineageDraw 7s ease-in-out infinite;
}
.hero-lineage .g0 { animation-delay: 0s; }
.hero-lineage .g1 { animation-delay: 0.55s; }
.hero-lineage .g2 { animation-delay: 1.1s; }
.hero-lineage .g3 { animation-delay: 1.65s; }

.hero-lineage .nd {
  opacity: 0;
  animation: lineageNode 7s ease-in-out infinite;
}
.hero-lineage .n0 { animation-delay: 0.1s; }
.hero-lineage .n1 { animation-delay: 0.55s; }
.hero-lineage .n2 { animation-delay: 1.1s; }
.hero-lineage .n3 { animation-delay: 1.65s; }
.hero-lineage .n4 { animation-delay: 2.1s; }

@keyframes lineageDraw {
  0%   { stroke-dashoffset: 1; opacity: 0; }
  6%   { opacity: 1; }
  40%  { stroke-dashoffset: 0; opacity: 1; }
  80%  { stroke-dashoffset: 0; opacity: 1; }
  93%  { opacity: 0; }
  100% { stroke-dashoffset: 1; opacity: 0; }
}

@keyframes lineageNode {
  0%, 5% { opacity: 0; }
  16%    { opacity: 1; }
  80%    { opacity: 1; }
  93%    { opacity: 0; }
  100%   { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-lineage .ln { animation: none; stroke-dashoffset: 0; }
  .hero-lineage .nd { animation: none; opacity: 1; }
}

.hero-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 90% at 15% 50%, rgba(16, 40, 64, 0.6), transparent 70%);
  pointer-events: none;
}

.hero-cover .wrap { position: relative; z-index: 2; }

.hero-cover .lede { margin-top: 1.8rem; max-width: 56ch; }

/* ---------- Hero: light editorial page ---------- */
.hero-page {
  padding: clamp(4rem, 8vh, 6.5rem) 0 clamp(3rem, 6vh, 4.5rem);
  background: var(--ivory);
  border-bottom: 1px solid var(--hairline);
}

.hero-page .lede { margin-top: 1.6rem; max-width: 58ch; }

/* ---------- Sections & chapters ---------- */
.section { padding: var(--section-y) 0; }

.section--ivory { background: var(--ivory); }
.section--warm { background: var(--ivory-warm); }
.section--dark { background: var(--navy-deep); }
.section--navy { background: var(--navy); }
.section--line-top { border-top: 1px solid var(--hairline); }

.chapter-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.6rem 2.4rem;
  align-items: start;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}

.chapter-no {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 4.5vw, 3.6rem);
  font-weight: 300;
  color: var(--gold);
  line-height: 1;
  padding-top: 0.2rem;
}

.chapter-no::after {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  background: var(--gold);
  margin-top: 0.8rem;
}

.chapter-body .lede { margin-top: 1.4rem; }

.section--dark .chapter-no, .section--navy .chapter-no { color: var(--gold); }

/* Prose blocks */
.prose p + p { margin-top: 1.3em; }
.prose { color: var(--body); }
.section--dark .prose, .section--navy .prose { color: rgba(248, 247, 241, 0.78); }

/* ---------- Editorial columns (pillars) ---------- */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--hairline);
}

.pillar {
  padding: 2.4rem 2.2rem 2.4rem 0;
  border-right: 1px solid var(--hairline);
  position: relative;
}

.pillar:not(:first-child) { padding-left: 2.2rem; }
.pillar:last-child { border-right: 0; padding-right: 0; }

.pillar::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 3rem;
  height: 2px;
  background: var(--gold);
}

.pillar:not(:first-child)::before { left: 2.2rem; }

.pillar-index {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: var(--gold-deep);
  letter-spacing: 0.06em;
  margin-bottom: 1.3rem;
  display: block;
}

.pillar h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.45rem;
  color: var(--ink);
  margin-bottom: 0.7rem;
}

.pillar .subtitle { font-size: 1.05rem; margin-bottom: 0.6rem; color: var(--ink); }
.pillar p { font-size: 0.98rem; }

.section--dark .pillars { border-color: var(--hairline-dark); }
.section--dark .pillar { border-color: var(--hairline-dark); }
.section--dark .pillar h3 { color: var(--ivory); }
.section--dark .pillar p { color: rgba(248, 247, 241, 0.72); }

/* ---------- Quote band ---------- */
.quote-band {
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
  background: var(--navy-deep);
  position: relative;
  overflow: hidden;
}

.quote-band--light {
  background: var(--ivory);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.quote-band .wrap { position: relative; z-index: 1; }

/* Faded speaker portrait — renders only when a band sets --portrait.
   Bleeds off the right edge, grayscale duotone, masked toward the text. */
.quote-band::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: clamp(280px, 42%, 560px);
  background-image: var(--portrait);
  background-size: cover;
  background-position: var(--portrait-pos, center top);
  background-repeat: no-repeat;
  filter: grayscale(1) contrast(1.04);
  opacity: var(--portrait-opacity, 0.14);
  mix-blend-mode: screen;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 35%, transparent 95%);
  mask-image: linear-gradient(to left, #000 0%, #000 35%, transparent 95%);
  pointer-events: none;
}

.quote-band--light::after {
  filter: grayscale(1) contrast(1.02);
  opacity: var(--portrait-opacity, 0.1);
  mix-blend-mode: multiply;
}

@media (max-width: 700px) {
  .quote-band::after {
    width: clamp(160px, 55%, 300px);
    bottom: auto;
    height: 60%;
    opacity: 0.08;
    -webkit-mask-image: linear-gradient(to bottom left, #000 0%, transparent 80%);
    mask-image: linear-gradient(to bottom left, #000 0%, transparent 80%);
  }
  .quote-band--light::after { opacity: 0.07; }
}

.quote-mark {
  font-family: var(--serif);
  font-size: 7rem;
  line-height: 0.6;
  color: var(--gold);
  opacity: 0.5;
  display: block;
  margin-bottom: 1.6rem;
}

.quote-band blockquote {
  margin: 0;
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.35rem, 2.8vw, 2rem);
  line-height: 1.45;
  color: var(--ivory);
  max-width: 30ch;
  letter-spacing: -0.005em;
}

.quote-band--light blockquote { color: var(--navy-deep); }

.quote-band figcaption {
  margin-top: 2rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.quote-band figcaption::before {
  content: "";
  width: 2.4rem;
  height: 1px;
  background: var(--gold);
}

.quote-band--light figcaption { color: var(--gold-deep); }

/* ---------- Entry points (home footer trio) ---------- */
.entry-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--hairline-dark);
  border: 1px solid var(--hairline-dark);
}

.entry-point {
  background: var(--navy-deep);
  padding: 2.6rem 2.2rem;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  transition: background 0.35s var(--ease);
}

.entry-point:hover { background: var(--navy); }

.entry-point .ep-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.entry-point h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ivory);
}

.entry-point p { color: rgba(248, 247, 241, 0.65); font-size: 0.95rem; }

.entry-point .ep-arrow {
  margin-top: auto;
  padding-top: 1.2rem;
  color: var(--gold);
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease);
}

.entry-point:hover .ep-arrow { transform: translateX(8px); }

/* ---------- Programming timeline ---------- */
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2.8rem;
  align-items: center;
}

.filter-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.filter-label {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin-right: 0.5rem;
}

.filter-btn {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border: 1px solid var(--hairline);
  color: var(--slate);
  background: transparent;
  transition: all 0.25s var(--ease);
}

.filter-btn:hover { border-color: var(--gold); color: var(--navy-deep); }

.filter-btn.is-active {
  background: var(--navy-deep);
  border-color: var(--navy-deep);
  color: var(--ivory);
}

.timeline { border-top: 1px solid var(--hairline); }

.event {
  display: grid;
  grid-template-columns: 150px 1fr auto;
  gap: 1.5rem 2.5rem;
  padding: 1.9rem 0;
  border-bottom: 1px solid var(--hairline);
  align-items: start;
  transition: opacity 0.3s var(--ease);
}

.event.is-hidden { display: none; }

.event-when {
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  line-height: 1.6;
  padding-top: 0.35rem;
}

.event-when small {
  display: block;
  color: var(--slate);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  font-weight: 500;
}

.event h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.event p { font-size: 0.96rem; max-width: 56ch; }

.event-tag {
  display: inline-block;
  margin-top: 0.8rem;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
  border: 1px solid var(--hairline);
  padding: 0.3rem 0.7rem;
}

.rsvp-btn {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid var(--gold);
  color: var(--navy-deep);
  padding: 0.7rem 1.3rem;
  white-space: nowrap;
  transition: all 0.25s var(--ease);
  align-self: center;
}

.rsvp-btn:hover { background: var(--gold); }

.rsvp-btn.is-done {
  border-color: var(--hairline);
  color: var(--slate);
  background: var(--ivory);
  cursor: default;
}

.timeline-note {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: var(--slate);
  display: flex;
  gap: 0.8rem;
  align-items: baseline;
}

.timeline-note::before {
  content: "";
  width: 0.55rem;
  height: 0.55rem;
  background: var(--gold);
  flex: none;
  transform: translateY(1px);
}

/* ---------- Verticals strip (home) ---------- */
.verticals-strip { border-top: 1px solid var(--hairline-dark); }

.vertical-row {
  display: grid;
  grid-template-columns: 64px 200px 1fr auto;
  gap: 1.5rem 2.5rem;
  align-items: center;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--hairline-dark);
  text-decoration: none;
  transition: padding-left 0.3s var(--ease), background 0.3s var(--ease);
}

.vertical-row:hover { padding-left: 1.2rem; }

.vertical-row .v-no {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--gold);
}

.vertical-row .v-name {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--ivory);
}

.vertical-row .v-desc { color: rgba(248, 247, 241, 0.65); font-size: 0.95rem; }

.vertical-row .v-arrow {
  color: var(--gold);
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  font-size: 1.2rem;
}

.vertical-row:hover .v-arrow { opacity: 1; }

/* ---------- Vertical explorer ---------- */
.explorer {
  display: grid;
  grid-template-columns: 280px 1fr;
  border: 1px solid var(--hairline);
  background: var(--ivory-warm);
}

.explorer-nav {
  border-right: 1px solid var(--hairline);
  display: flex;
  flex-direction: column;
}

.explorer-tab {
  text-align: left;
  padding: 1.5rem 1.8rem;
  border-bottom: 1px solid var(--hairline);
  display: flex;
  align-items: baseline;
  gap: 1rem;
  transition: background 0.25s var(--ease);
  position: relative;
}

.explorer-tab:last-child { border-bottom: 0; }

.explorer-tab .t-no {
  font-family: var(--serif);
  font-size: 0.85rem;
  color: var(--gold-deep);
}

.explorer-tab .t-name {
  font-family: var(--serif);
  font-size: 1.18rem;
  color: var(--ink);
}

.explorer-tab::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: var(--gold);
  transform: scaleY(0);
  transition: transform 0.25s var(--ease);
}

.explorer-tab:hover { background: rgba(199, 164, 77, 0.07); }

.explorer-tab.is-active { background: var(--ivory); }
.explorer-tab.is-active::before { transform: scaleY(1); }

.explorer-panel { padding: clamp(1.8rem, 4vw, 3.2rem); }

.explorer-panel .panel-kicker {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
}

.explorer-panel h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--ink);
  margin-bottom: 1.1rem;
}

.explorer-panel .panel-copy { margin-bottom: 1.8rem; max-width: 58ch; }

.panel-meta {
  display: grid;
  gap: 1.2rem;
  border-top: 1px solid var(--hairline);
  padding-top: 1.6rem;
}

.panel-meta dt {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.3rem;
}

.panel-meta dd { margin: 0; font-size: 0.96rem; }

/* ---------- Quiz ---------- */
.quiz-shell {
  border: 1px solid var(--hairline-dark);
  background: var(--navy);
  padding: clamp(2rem, 5vw, 3.5rem);
  position: relative;
  overflow: hidden;
}

.quiz-shell::before {
  content: "";
  position: absolute;
  bottom: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  background: url("assets/ang-logo.png") center / contain no-repeat;
  opacity: 0.06;
  pointer-events: none;
}

.quiz-progress {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 2rem;
}

.quiz-progress span {
  height: 2px;
  flex: 1;
  background: rgba(248, 247, 241, 0.18);
  transition: background 0.3s var(--ease);
}

.quiz-progress span.is-done { background: var(--gold); }

.quiz-question {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  color: var(--ivory);
  margin-bottom: 1.8rem;
  max-width: 34ch;
}

.quiz-options { display: grid; gap: 0.7rem; position: relative; z-index: 1; }

.quiz-option {
  text-align: left;
  border: 1px solid rgba(248, 247, 241, 0.22);
  padding: 1.05rem 1.4rem;
  color: rgba(248, 247, 241, 0.85);
  font-size: 0.98rem;
  transition: all 0.25s var(--ease);
  display: flex;
  gap: 1rem;
  align-items: baseline;
}

.quiz-option .o-key {
  font-family: var(--serif);
  color: var(--gold);
  font-size: 0.85rem;
  flex: none;
}

.quiz-option:hover {
  border-color: var(--gold);
  background: rgba(199, 164, 77, 0.08);
  color: var(--ivory);
}

.quiz-step { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1rem; }

.quiz-result-kicker {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

.quiz-result-name {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 1.2rem;
}

.quiz-result-copy { color: rgba(248, 247, 241, 0.78); max-width: 56ch; margin-bottom: 2rem; }

.quiz-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

/* ---------- Governance tree ---------- */
.gov-tree { text-align: center; }

.tree-tier {
  display: flex;
  justify-content: center;
  gap: clamp(0.8rem, 2vw, 1.6rem);
  flex-wrap: wrap;
}

.tree-connector {
  width: 1px;
  height: 44px;
  background: var(--hairline-dark);
  margin: 0 auto;
}

.tree-spread {
  height: 1px;
  background: var(--hairline-dark);
  margin: 0 auto;
}

.tree-spread--exec { width: min(420px, 70%); }
.tree-spread--verticals { width: min(760px, 92%); }

.tree-drops {
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}

.tree-drops--exec { width: min(420px, 70%); }
.tree-drops--verticals { width: min(760px, 92%); }

.tree-drops span { width: 1px; height: 28px; background: var(--hairline-dark); }

.tree-node {
  border: 1px solid rgba(248, 247, 241, 0.25);
  background: var(--navy);
  padding: 1.1rem 1.6rem;
  min-width: 150px;
  transition: all 0.3s var(--ease);
  position: relative;
}

.tree-node .n-role {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--ivory);
  display: block;
}

.tree-node .n-sub {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--silver);
}

.tree-node:hover { border-color: var(--gold); transform: translateY(-2px); }

.tree-node.is-active {
  border-color: var(--gold);
  background: rgba(199, 164, 77, 0.12);
}

.tree-node.is-active .n-sub { color: var(--gold); }

.tree-node--small { padding: 0.9rem 1.1rem; min-width: 118px; }
.tree-node--small .n-role { font-size: 0.95rem; }

.tree-node--advisor {
  border-style: dashed;
  border-color: rgba(199,164,77,0.45);
  background: rgba(199,164,77,0.06);
}
.tree-node--advisor .n-sub { color: rgba(199,164,77,0.72); }
.tree-node--advisor:hover { border-color: var(--gold); background: rgba(199,164,77,0.12); }
.tree-node--advisor.is-active { border-color: var(--gold); background: rgba(199,164,77,0.15); }

.tree-eyebrow {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(199,164,77,0.6);
  margin-bottom: 1.2rem;
}
.tree-section-gap { margin-top: 0.4rem; }

.tree-detail {
  margin: 3rem auto 0;
  max-width: 640px;
  border-top: 1px solid var(--gold);
  padding-top: 1.8rem;
  text-align: left;
  min-height: 110px;
}

.tree-detail .d-role {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--ivory);
  margin-bottom: 0.6rem;
}

.tree-detail p { color: rgba(248, 247, 241, 0.75); font-size: 0.98rem; }

.d-incumbent {
  display: flex;
  align-items: baseline;
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.di-label {
  flex-shrink: 0;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}

.di-name {
  display: inline-block;
  min-width: 200px;
  color: var(--ivory);
  font-family: var(--serif);
  font-size: 1.02rem;
  padding-bottom: 2px;
}

.di-name.is-vacant {
  min-height: 1.3em;
  border-bottom: 1px dashed rgba(199, 164, 77, 0.5);
}

.di-name.is-vacant::after {
  content: "To be confirmed";
  color: rgba(248, 247, 241, 0.38);
  font-style: italic;
  font-size: 0.9rem;
}

/* ---------- Governance cards (ledger) ---------- */
.ledger {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.ledger-cell {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 2.4rem 2.2rem;
}

.ledger-cell h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.35rem;
  color: var(--ink);
  margin-bottom: 0.8rem;
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
}

.ledger-cell h3 .l-no {
  font-size: 0.8rem;
  color: var(--gold-deep);
}

.ledger-cell p { font-size: 0.97rem; }

/* ---------- Journey (membership) ---------- */
.journey-track {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  position: relative;
  margin-bottom: 2.6rem;
}

.journey-track::before {
  content: "";
  position: absolute;
  top: 10px;
  left: calc(100% / 12);
  right: calc(100% / 12);
  height: 1px;
  background: var(--hairline);
}

.journey-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  position: relative;
  padding-top: 0;
}

.journey-step .j-dot {
  width: 21px;
  height: 21px;
  border-radius: 50%;
  border: 1px solid var(--hairline);
  background: var(--ivory-warm);
  position: relative;
  z-index: 1;
  transition: all 0.3s var(--ease);
}

.journey-step .j-dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: var(--gold);
  transform: scale(0);
  transition: transform 0.3s var(--ease);
}

.journey-step:hover .j-dot { border-color: var(--gold); }

.journey-step.is-active .j-dot { border-color: var(--gold); }
.journey-step.is-active .j-dot::after { transform: scale(1); }

.journey-step .j-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate);
  text-align: center;
  transition: color 0.3s var(--ease);
}

.journey-step.is-active .j-label { color: var(--navy-deep); }

.journey-detail {
  border-left: 2px solid var(--gold);
  padding: 0.4rem 0 0.4rem 1.8rem;
  max-width: 620px;
  min-height: 84px;
}

.journey-detail .jd-title {
  font-family: var(--serif);
  font-size: 1.3rem;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

/* ---------- Founder blocks ---------- */
.founders {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
}

.founder {
  border-top: 1px solid var(--hairline);
  padding-top: 2rem;
}

.founder-seal {
  width: 64px;
  height: 64px;
  margin-bottom: 1.6rem;
  opacity: 0.92;
}

.founder-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center top;
  margin-bottom: 1.6rem;
  border: 2px solid rgba(199, 164, 77, 0.35);
}

.section--dark .founder-photo {
  border-color: rgba(199, 164, 77, 0.5);
}

.founder .f-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.6rem;
  color: var(--ink);
}

.founder .f-role {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0.5rem 0 1.1rem;
}

.founder .f-meta {
  font-size: 0.85rem;
  color: var(--slate);
  margin-bottom: 1rem;
  font-style: italic;
  font-family: var(--serif);
}

.founder p { font-size: 0.98rem; }

.section--dark .founder { border-color: var(--hairline-dark); }
.section--dark .founder .f-name { color: var(--ivory); }
.section--dark .founder .f-meta { color: var(--silver); }
.section--dark .founder .f-role { color: var(--gold); }
.section--dark .founder p { color: rgba(248, 247, 241, 0.75); }

/* ---------- "Not" list (About) ---------- */
.not-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--hairline-dark);
  max-width: 720px;
}

.not-list li {
  list-style: none;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--hairline-dark);
  font-family: var(--serif);
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: rgba(248, 247, 241, 0.55);
  display: flex;
  gap: 1.4rem;
  align-items: baseline;
}

.not-list li::before {
  content: "✕";
  color: rgba(199, 164, 77, 0.6);
  font-family: var(--sans);
  font-size: 0.8em;
  flex: none;
}

.not-list li.is-affirm {
  color: var(--ivory);
  font-style: italic;
}

.not-list li.is-affirm::before {
  content: "—";
  color: var(--gold);
}

ul.not-list { margin: 0; padding: 0; }

/* Light-page variant of the editorial list (Membership: who belongs here) */
ul.belong-list {
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--hairline);
  max-width: 720px;
}

.belong-list li {
  list-style: none;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--hairline);
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--ink);
  display: flex;
  gap: 1.4rem;
  align-items: baseline;
}

.belong-list li::before {
  content: "—";
  color: var(--gold-deep);
  flex: none;
}

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--hairline); }

.faq details { border-bottom: 1px solid var(--hairline); }

.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.6rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  font-family: var(--serif);
  font-size: 1.2rem;
  color: var(--ink);
  transition: color 0.25s var(--ease);
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary:hover { color: var(--gold-deep); }

.faq summary .faq-toggle {
  flex: none;
  width: 14px;
  height: 14px;
  position: relative;
}

.faq summary .faq-toggle::before,
.faq summary .faq-toggle::after {
  content: "";
  position: absolute;
  background: var(--gold-deep);
  transition: transform 0.3s var(--ease);
}

.faq summary .faq-toggle::before {
  top: 50%; left: 0; right: 0; height: 1px;
}

.faq summary .faq-toggle::after {
  left: 50%; top: 0; bottom: 0; width: 1px;
}

.faq details[open] summary .faq-toggle::after { transform: scaleY(0); }

.faq .faq-body {
  padding: 0 0 1.7rem;
  max-width: 60ch;
  font-size: 0.98rem;
}

/* ---------- Resource branches ---------- */
.branches { display: grid; gap: 1px; background: var(--hairline); border: 1px solid var(--hairline); }

.branch {
  background: var(--ivory-warm);
  display: grid;
  grid-template-columns: auto 220px 1fr auto;
  gap: 1.2rem 2.5rem;
  align-items: center;
  padding: 2.2rem 2.4rem;
  text-decoration: none;
  transition: background 0.3s var(--ease);
}

.branch:hover { background: var(--ivory); }

.branch .b-no {
  font-family: var(--serif);
  font-size: 1rem;
  color: var(--gold-deep);
}

.branch .b-name {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 400;
  color: var(--ink);
}

.branch .b-kicker {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.35rem;
}

.branch .b-copy { font-size: 0.96rem; max-width: 52ch; }

.branch .b-arrow {
  color: var(--gold-deep);
  font-size: 1.3rem;
  transition: transform 0.3s var(--ease);
}

.branch:hover .b-arrow { transform: translateX(8px); }

/* ---------- Status note ---------- */
.status-note {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
  border: 1px solid var(--hairline);
  border-left: 3px solid var(--gold);
  padding: 1.1rem 1.6rem;
  font-size: 0.9rem;
  color: var(--slate);
  background: var(--ivory);
}

.status-note strong {
  color: var(--navy-deep);
  font-weight: 600;
}

/* ---------- Library preview ---------- */
.library-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--hairline);
  border-left: 1px solid var(--hairline);
}

.library-item {
  border-right: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding: 2rem 1.8rem;
}

.library-item h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.library-item p { font-size: 0.9rem; }

/* ---------- Subpage hero / archive empty state ---------- */
.archive-empty {
  border: 1px dashed rgba(8, 24, 48, 0.25);
  padding: clamp(2.5rem, 6vw, 4rem);
  text-align: center;
}

.archive-empty .emblem-faint {
  width: 72px;
  margin: 0 auto 1.5rem;
  opacity: 0.35;
}

.archive-empty h3 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.5rem;
  color: var(--ink);
  margin-bottom: 0.6rem;
}

.archive-empty p { max-width: 46ch; margin: 0 auto; font-size: 0.95rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-deep);
  color: rgba(248, 247, 241, 0.7);
  padding: clamp(3.5rem, 7vw, 5.5rem) 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  display: block;
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--hairline-dark);
}

.footer-brand { display: flex; flex-direction: column; gap: 1.2rem; align-items: flex-start; }

.footer-brand img { width: 100px; }

.footer-brand .fb-name {
  font-family: var(--serif);
  font-size: 1.25rem;
  color: var(--ivory);
}

.footer-brand p { font-size: 0.88rem; max-width: 30ch; }

/* Type accent convention: gold = primary accent, silver = secondary/metadata on dark */
.footer-col h4 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--silver);
  margin-bottom: 1.2rem;
}

.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.65rem; }

.footer-col a {
  text-decoration: none;
  font-size: 0.92rem;
  color: rgba(248, 247, 241, 0.7);
  transition: color 0.25s var(--ease);
}

.footer-col a:hover { color: var(--gold); }

.footer-note {
  padding-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.78rem;
  color: rgba(248, 247, 241, 0.45);
}

.footer-note .tagline {
  font-family: var(--serif);
  font-style: italic;
  color: var(--silver);
}

/* ---------- Reveal animations ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

[data-reveal="fade"] { transform: none; }

/* ---------- 404 ---------- */
.lost {
  min-height: calc(100vh - var(--header-h));
  background: var(--navy-deep);
  display: flex;
  align-items: center;
  text-align: center;
}

.lost .wrap { width: 100%; }

.lost-code {
  font-family: var(--serif);
  font-size: clamp(5rem, 14vw, 9rem);
  color: var(--gold);
  line-height: 1;
  opacity: 0.85;
}

.lost h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--ivory);
  margin: 1.4rem 0 1rem;
}

.lost p { color: rgba(248, 247, 241, 0.7); max-width: 44ch; margin: 0 auto 2.4rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1020px) {
  .pillars { grid-template-columns: 1fr; }
  .pillar { border-right: 0; border-bottom: 1px solid var(--hairline); padding: 2rem 0; }
  .pillar:not(:first-child) { padding-left: 0; }
  .pillar:not(:first-child)::before { left: 0; }
  .section--dark .pillar { border-color: var(--hairline-dark); }
  .library-grid { grid-template-columns: repeat(2, 1fr); }
  .branch { grid-template-columns: auto 1fr auto; }
  .branch .b-copy { grid-column: 2; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  :root { --header-h: 72px; }

  .nav-toggle { display: flex; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--navy-deep);
    flex-direction: column;
    align-items: flex-start;
    padding: 2.5rem var(--gutter);
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    overflow-y: auto;
    z-index: 99;
  }

  .site-nav.is-open { transform: translateX(0); }

  .site-nav > a,
  .nav-drop-toggle {
    color: var(--ivory);
    font-size: 1rem;
    padding: 1.1rem 0;
    width: 100%;
    border-bottom: 1px solid var(--hairline-dark);
  }

  .site-nav > a.is-active { color: var(--gold); }

  .nav-dropdown { width: 100%; }

  .nav-drop-toggle { justify-content: space-between; }

  .nav-drop-menu {
    position: static;
    transform: none;
    background: transparent;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    display: none;
    padding: 0 0 0.5rem 1.2rem;
  }

  .nav-dropdown.is-open .nav-drop-menu { display: block; transform: none; }

  .nav-drop-menu a { color: var(--silver); padding: 0.8rem 0; }
  .nav-drop-menu a:hover, .nav-drop-menu a.is-active { background: none; color: var(--gold); }

  .nav-cta {
    margin-top: 1.8rem;
    border-color: var(--gold) !important;
    color: var(--gold) !important;
    width: auto;
    border-bottom: 1px solid var(--gold) !important;
  }

  .brand-name { font-size: 0.95rem; }
  .brand-mark { width: 44px; height: 44px; }

  .chapter-head { grid-template-columns: 1fr; gap: 1.2rem; }
  .chapter-no { font-size: 2rem; display: flex; align-items: center; gap: 1rem; }
  .chapter-no::after { width: 3rem; margin-top: 0; }

  .event { grid-template-columns: 1fr; gap: 0.6rem; }
  .rsvp-btn { justify-self: start; align-self: start; }

  .vertical-row { grid-template-columns: auto 1fr; gap: 0.4rem 1.4rem; }
  .vertical-row .v-desc { grid-column: 2; }
  .vertical-row .v-arrow { display: none; }

  .explorer { grid-template-columns: 1fr; }
  .explorer-nav { flex-direction: row; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--hairline); }
  .explorer-tab { border-bottom: 0; border-right: 1px solid var(--hairline); white-space: nowrap; padding: 1.1rem 1.4rem; }
  .explorer-tab::before { top: auto; left: 0; right: 0; bottom: 0; width: auto; height: 3px; transform: scaleX(0); }
  .explorer-tab.is-active::before { transform: scaleX(1); }

  .entry-points { grid-template-columns: 1fr; }
  .ledger { grid-template-columns: 1fr; }
  .founders { grid-template-columns: 1fr; }

  .journey-track { grid-template-columns: repeat(3, 1fr); gap: 1.6rem 0; }
  .journey-track::before { display: none; }

  .branch { padding: 1.8rem 1.4rem; }
}

@media (max-width: 560px) {
  .library-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .brand-sub { display: none; }
  .journey-track { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-cue { display: none; }
}
