/* EthicsNet self-hosted fonts. License texts are published beside the files. */
@font-face {
  font-family: "Instrument Serif";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-400.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-400-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-variable-latin.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-400.woff2") format("woff2");
}

/* ═══════════════════════════════════════════════
   RESET & FOUNDATIONS
   ═══════════════════════════════════════════════ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg-deep:      #080C16;
  --bg-dark:      #0A0F1A;
  --bg-warm:      #F5F3EF;
  --bg-white:     #FFFFFF;
  --text-light:   #E0DCD4;
  --text-muted:   #9B978F;
  --text-dark:    #1A1A1A;
  --text-mid:     #4A4640;
  --accent:       #6B8F71;
  --accent-hover: #4E6B52;
  --bronze:       #8B7355;
  --bronze-dark:  #6E5A42;
  --bronze-lift:  #A18A67;
  --accent-deep:  #3E5641;
  --gold:         #C4A35A;
  --gold-dark:    #B08D3E;
  --surface-1:    rgba(255,255,255,0.02);
  --surface-2:    rgba(255,255,255,0.045);
  --rule:         rgba(255,255,255,0.08);
  --rule-dark:    rgba(0,0,0,0.08);
  --serif:        'Instrument Serif', Georgia, serif;
  --sans:         'Inter', system-ui, -apple-system, sans-serif;
  --mono:         'JetBrains Mono', monospace;
  --max-w:        1140px;
  --text-w:       720px;
}

html { scroll-behavior: smooth; font-size: 17px; }

body {
  font-family: var(--sans);
  color: var(--text-dark);
  background: var(--bg-deep);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}
img { max-width: 100%; display: block; }

::selection { background: rgba(107,143,113,0.4); }

h1, h2 { text-wrap: balance; }
p { text-wrap: pretty; }

.skip-link {
  position: absolute; top: -100%; left: 1rem;
  background: var(--accent-hover); color: #fff;
  padding: 0.5rem 1rem; border-radius: 4px;
  font-size: 0.85rem; font-weight: 600;
  z-index: 200;
}
.skip-link:focus { top: 0.5rem; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2rem; }
.narrow { max-width: var(--text-w); }

/* ═══════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(8, 12, 22, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--rule);
  transition: background 0.3s;
}
nav .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.nav-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  letter-spacing: -0.02em;
}
.nav-logo img { flex-shrink: 0; }
.nav-links { display: flex; gap: 2rem; align-items: center; }
.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text-light); }
.nav-links .nav-cta {
  background: var(--accent-hover);
  color: #fff;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 600;
  transition: background 0.2s;
}
.nav-links .nav-cta:hover { background: var(--accent-deep); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 0.5rem; }
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--text-muted); margin: 5px 0;
  transition: all 0.3s;
}

/* ═══════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  background: var(--bg-deep);
  padding: 8rem 0 6rem;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -20%; right: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(107,143,113,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -15%; left: -5%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(196,163,90,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.1;
  letter-spacing: -0.01em;
  max-width: 880px;
  margin-bottom: 1.8rem;
}
.hero h1 em {
  font-style: italic;
  color: var(--accent);
  font-weight: 400;
}
.hero .hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: var(--text-w);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  border-radius: 4px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.btn-primary { background: var(--accent-hover); color: #fff; }
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid rgba(255,255,255,0.15);
}
.btn-ghost:hover { color: var(--text-light); border-color: rgba(255,255,255,0.3); }

/* ═══════════════════════════════════════════════
   SECTION FOUNDATIONS
   ═══════════════════════════════════════════════ */
section { padding: 7rem 0; }
.section-dark { background: var(--bg-dark); color: var(--text-light); }
.section-deep { background: var(--bg-deep); color: var(--text-light); }
.section-warm { background: var(--bg-warm); color: var(--text-dark); }
.section-white { background: var(--bg-white); color: var(--text-dark); }

.section-label {
  display: inline-flex;
  align-items: center;
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  margin-bottom: 1rem;
}
.section-label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin-right: 0.75rem;
  border-radius: 1px;
  flex-shrink: 0;
}
.section-dark .section-label,
.section-deep .section-label { color: var(--bronze-lift); }

h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}
.section-dark h2, .section-deep h2 { color: var(--text-light); }

.section-intro {
  font-size: 1.1rem;
  line-height: 1.75;
  max-width: var(--text-w);
  margin-bottom: 3.5rem;
}
.section-dark .section-intro,
.section-deep .section-intro { color: var(--text-muted); }
.section-warm .section-intro { color: var(--text-mid); }

/* ═══════════════════════════════════════════════
   EXPLAINER VIDEO
   ═══════════════════════════════════════════════ */
.video-frame {
  position: relative;
  max-width: 920px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-deep);
  box-shadow: 0 24px 60px rgba(8,12,22,0.28);
}
.video-frame video { display: block; width: 100%; height: auto; }
.video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  background: rgba(8,12,22,0.32);
  border: 0;
  cursor: pointer;
  font-family: var(--sans);
  color: var(--text-light);
  transition: background 0.25s ease;
}
.video-overlay:hover, .video-overlay:focus-visible { background: rgba(8,12,22,0.18); }
.video-overlay.hidden { display: none; }
.play-button {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, background 0.25s ease;
}
.video-overlay:hover .play-button, .video-overlay:focus-visible .play-button {
  background: var(--accent-hover);
  transform: scale(1.06);
}
.play-button::after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 15px 0 15px 26px;
  border-color: transparent transparent transparent var(--bg-warm);
  margin-left: 6px;
}
.video-overlay .video-duration {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--text-light);
  background: rgba(8,12,22,0.65);
  padding: 0.15rem 0.55rem;
  border-radius: 4px;
}
.video-error { margin-top: 1rem; font-size: 0.95rem; color: var(--text-mid); }
.video-error a { color: var(--accent-hover); border-bottom: 1px solid var(--rule-dark); }

/* ═══════════════════════════════════════════════
   BILATERAL THESIS SECTION
   ═══════════════════════════════════════════════ */
.thesis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.thesis-card {
  padding: 2.5rem;
  border-radius: 8px;
  border: 1px solid var(--rule);
  background: var(--surface-1);
  transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.thesis-card:hover {
  background: var(--surface-2);
  border-color: rgba(196,163,90,0.32);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.thesis-card h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--text-light);
}
.thesis-card p {
  color: var(--text-muted);
  line-height: 1.75;
  font-size: 0.95rem;
}
.thesis-card .card-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}
.thesis-connector {
  text-align: center;
  padding: 2.5rem 0 0.5rem;
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.01em;
  position: relative;
}
.thesis-connector .weave {
  display: block;
  width: 200px;
  height: auto;
  margin: 0 auto 1.2rem;
}

/* ═══════════════════════════════════════════════
   PROJECT CARDS
   ═══════════════════════════════════════════════ */
.projects-stream { margin-top: 3rem; }

.project-cluster {
  margin-bottom: 4rem;
}
.cluster-label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze-dark);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--rule-dark);
}
.cluster-label svg { flex-shrink: 0; }
.project-tag.tag-gold {
  color: var(--gold-dark);
  background: rgba(196,163,90,0.12);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.project-grid.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.project-card {
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--bg-white);
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
}
.project-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.14);
  transform: translateY(-3px);
  border-color: rgba(107,143,113,0.28);
}
.project-card.has-paper { border-color: rgba(107,143,113,0.24); }
.project-card h3.card-title {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}
.project-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}
.project-card .project-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(107,143,113,0.08);
  padding: 0.2rem 0.6rem;
  border-radius: 3px;
  margin-top: 0.8rem;
}
.project-card h3.card-title a:hover {
  border-bottom-color: var(--accent) !important;
  color: var(--accent) !important;
}
.project-cite {
  font-size: 0.78rem;
  color: var(--text-mid);
  font-style: italic;
  margin-top: 0.6rem;
  opacity: 0.7;
}

/* ═══════════════════════════════════════════════
   CORPUS (PAPERS + BOOKS)
   ═══════════════════════════════════════════════ */
.corpus-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  margin-top: 3rem;
}
.corpus-section h3 {
  font-family: var(--sans);
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.paper-entry {
  padding: 1.25rem 1rem;
  margin: 0 -1rem;
  border-radius: 6px;
  border-bottom: 1px solid var(--rule);
  transition: background 0.25s;
}
.paper-entry:hover { background: var(--surface-1); }
.paper-entry:last-child { border-bottom: none; }
.paper-title {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--text-light);
  line-height: 1.3;
  margin-bottom: 0.5rem;
}
.paper-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: var(--mono);
}
.paper-meta a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.paper-meta a:hover { color: var(--accent-hover); }

.book-entry {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.9rem 0.75rem;
  margin: 0 -0.75rem;
  border-bottom: 1px solid var(--rule);
  border-left: 3px solid transparent;
  border-radius: 4px;
  transition: border-left-color 0.25s, background 0.25s;
}
.book-entry:hover {
  border-left-color: var(--gold);
  background: var(--surface-1);
}
.book-entry:last-child { border-bottom: none; }
.book-title {
  font-family: var(--sans);
  font-style: italic;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light);
}
.book-status {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
}
a.book-title:hover { border-bottom-color: var(--accent) !important; color: var(--accent) !important; }
.status-published { color: var(--gold); }
.status-ready { color: var(--text-muted); }
.status-awarded { color: var(--gold); }

/* ═══════════════════════════════════════════════
   PUBLIC GOODS PRINCIPLES
   ═══════════════════════════════════════════════ */
.principles-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--rule-dark);
}
.principle {
  text-align: center;
  padding: 1.5rem;
}
.principle::before {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background: var(--accent);
  margin: 0 auto 1.2rem;
  border-radius: 1px;
}
.principle h3 {
  font-family: var(--sans);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
}
.principle p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   TEAM
   ═══════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 3rem;
}
.team-member {
  position: relative;
  z-index: 1;
}
.team-avatar {
  width: 104px;
  height: 104px;
  border-radius: 50%;
  background: rgba(107,143,113,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--accent);
  letter-spacing: 0.02em;
  margin-bottom: 1rem;
  border: 1px solid rgba(107,143,113,0.2);
}
img.team-avatar {
  object-fit: cover;
  object-position: center 25%;
  display: block;
  transform-origin: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
img.team-avatar:hover {
  position: relative;
  z-index: 5;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35);
}
.team-member h3 {
  font-family: var(--sans);
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 1rem;
}
.team-bio {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--text-muted);
}
.team-credentials {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.75;
  line-height: 1.55;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.35rem 1.5rem;
}
.team-credentials li {
  list-style: none;
  padding-left: 0.9rem;
  position: relative;
}
.team-credentials li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--bronze);
}
@media (max-width: 560px) {
  .team-credentials { grid-template-columns: 1fr; }
}
.fiscal-note {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--rule);
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   CTA SECTION
   ═══════════════════════════════════════════════ */
.cta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.cta-card {
  padding: 2rem;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--bg-white);
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
}
.cta-card:hover {
  border-color: rgba(107,143,113,0.28);
  box-shadow: 0 6px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}
.cta-card h3 {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--text-dark);
}
.cta-card p {
  font-size: 0.88rem;
  color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.cta-link {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  transition: gap 0.2s;
}
.cta-link:hover { gap: 0.5rem; color: var(--accent-hover); }

/* ═══════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════ */
footer {
  background: var(--bg-deep);
  border-top: 1px solid var(--rule);
  padding: 4rem 0 3rem;
}
footer .container {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 3rem;
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-light);
  letter-spacing: -0.02em;
  margin-bottom: 0.9rem;
}
.footer-brand img { flex-shrink: 0; }
.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 24ch;
}
.footer-col h2 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze-lift);
  margin-bottom: 1rem;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  font-size: 0.85rem;
}
footer a { color: var(--text-muted); transition: color 0.2s; }
footer a:hover { color: var(--text-light); }
.footer-legal {
  margin-top: 1.2rem;
  font-size: 0.76rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .thesis-grid,
  .corpus-grid,
  .team-grid { grid-template-columns: 1fr; }

  .cta-grid { grid-template-columns: 1fr 1fr; }
  .principles-row { grid-template-columns: 1fr; gap: 1rem; }
}

@media (max-width: 640px) {
  html { font-size: 16px; }
  section { padding: 4.5rem 0; }
  .container { padding: 0 1.25rem; }

  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: rgba(8,12,22,0.97);
    padding: 1.5rem 2rem;
    gap: 1rem;
    border-bottom: 1px solid var(--rule);
  }
  .nav-toggle { display: block; }

  .hero { min-height: auto; padding: 7rem 0 4rem; }
  .hero h1 { font-size: 2.5rem; }

  .project-grid, .project-grid.grid-2 { grid-template-columns: 1fr; }
  .cta-grid { grid-template-columns: 1fr; }

  footer .container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ═══════════════════════════════════════════════
   SCROLL REVEAL
   ═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════════════════════════════════
   NAV ACTIVE STATE
   ═══════════════════════════════════════════════ */
.nav-links a.active {
  color: var(--text-light);
}

/* ═══════════════════════════════════════════════
   HERO MARK, LATTICE, CREDIBILITY
   ═══════════════════════════════════════════════ */
.hero .container { position: relative; z-index: 2; }
.hero-lattice {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><g stroke='%236B8F71' stroke-width='0.6' fill='none'><path d='M24 34L96 66L168 28M96 66L120 148L44 176M120 148L196 168M168 28L188 96'/></g><g fill='%236B8F71'><circle cx='24' cy='34' r='1.8'/><circle cx='96' cy='66' r='2.3'/><circle cx='168' cy='28' r='1.6'/><circle cx='120' cy='148' r='2.1'/><circle cx='44' cy='176' r='1.6'/><circle cx='196' cy='168' r='1.8'/><circle cx='188' cy='96' r='1.5'/></g></svg>");
  background-repeat: repeat;
}
.hero-mark {
  width: 72px;
  height: 72px;
  display: block;
  margin-bottom: 1.8rem;
}
.hero-mark .strand-sage {
  stroke-dasharray: 116;
  stroke-dashoffset: 116;
  animation: strand-draw 1.1s cubic-bezier(0.65, 0, 0.35, 1) 0.2s forwards;
}
.hero-mark .strand-gold {
  stroke-dasharray: 82.7;
  stroke-dashoffset: 82.7;
  animation: strand-draw 1.3s cubic-bezier(0.5, 0, 0.1, 1) 0.75s forwards;
}
.hero-mark .torc-weave {
  opacity: 0;
  animation: torc-weave-reveal 0.4s ease-out 1.72s forwards;
}
.hero-mark .torc-weave-light { --weave-opacity: 0.34; }
.hero-mark .torc-weave-shadow { --weave-opacity: 0.2; }
/* Heart draws whole; the weave cutout appears just as the torc crosses it */
.hero-mark .gap-cut {
  animation: gap-appear 0.15s 1.3s backwards;
}
/* Sharp tip wedge sets in place just as the heart's draw closes back at the tip */
.hero-mark .tip-spike {
  animation: gap-appear 0.2s 1.25s backwards;
}
/* Terminal buffers grow out of the stroke where and when the draw starts and finishes */
.hero-mark .terminal-a,
.hero-mark .terminal-b {
  transform-box: fill-box;
  transform-origin: center;
}
.hero-mark .terminal-a { animation: terminal-grow 0.3s cubic-bezier(0.34, 1.4, 0.64, 1) 0.7s backwards; }
.hero-mark .terminal-b { animation: terminal-grow 0.45s cubic-bezier(0.34, 1.4, 0.64, 1) 1.75s backwards; }
@keyframes strand-draw { to { stroke-dashoffset: 0; } }
@keyframes torc-weave-reveal { to { opacity: var(--weave-opacity); } }
@keyframes gap-appear { from { opacity: 0; } to { opacity: 1; } }
@keyframes terminal-grow { from { opacity: 0; transform: scale(0); } to { opacity: 1; transform: scale(1); } }

/* ═══════════════════════════════════════════════
   GRAIN TEXTURE (dark grounds)
   ═══════════════════════════════════════════════ */
.grain { position: relative; }
.grain > .container { position: relative; z-index: 1; }
.grain::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='140' height='140'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/></filter><rect width='140' height='140' filter='url(%23n)'/></svg>");
}

/* ═══════════════════════════════════════════════
   STAGGERED REVEAL (grid children)
   ═══════════════════════════════════════════════ */
.reveal > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.visible > * { opacity: 1; transform: none; }
.reveal.visible > *:nth-child(1) { transition-delay: 0.04s; }
.reveal.visible > *:nth-child(2) { transition-delay: 0.12s; }
.reveal.visible > *:nth-child(3) { transition-delay: 0.20s; }
.reveal.visible > *:nth-child(4) { transition-delay: 0.28s; }
.reveal.visible > *:nth-child(5) { transition-delay: 0.36s; }
.reveal.visible > *:nth-child(n+6) { transition-delay: 0.44s; }

/* ═══════════════════════════════════════════════
   EDITORIAL POLISH
   A warmer, more dimensional expression of the brand
   ═══════════════════════════════════════════════ */
:root {
  --bg-deep: #070B14;
  --bg-dark: #0B111C;
  --bg-warm: #F2EFE8;
  --bg-white: #FBFAF7;
  --text-light: #F1EDE5;
  --text-muted: #ACA79D;
  --text-dark: #171A18;
  --text-mid: #55544F;
  --surface-1: rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.07);
  --rule: rgba(255,255,255,0.11);
  --rule-dark: rgba(23,26,24,0.11);
  --max-w: 1240px;
  --text-w: 760px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 30px;
  --shadow-soft: 0 16px 28px rgba(25,31,27,0.10);
  --shadow-dark: 0 20px 32px rgba(0,0,0,0.28);
}

.container {
  width: min(var(--max-w), calc(100% - 64px));
  padding: 0;
}

nav {
  background: rgba(7,11,20,0.93);
  border-bottom-color: rgba(255,255,255,0.07);
  backdrop-filter: blur(22px) saturate(1.2);
  -webkit-backdrop-filter: blur(22px) saturate(1.2);
}

nav .container { height: 76px; }

.nav-logo {
  gap: 0.7rem;
  font-size: 1.05rem;
  letter-spacing: -0.025em;
}

.nav-logo img {
  width: 32px;
  height: 32px;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.28));
}

.nav-links { gap: 2.25rem; }

.nav-links a {
  position: relative;
  padding: 0.35rem 0;
  font-size: 0.78rem;
  letter-spacing: 0.055em;
}

.nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 1px;
  background: var(--accent);
  transition: right 0.25s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after { right: 0; }

.nav-links .nav-cta {
  padding: 0.62rem 1.15rem;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 999px;
  background: rgba(107,143,113,0.76);
  box-shadow: 0 8px 24px rgba(31,55,37,0.22);
}

.hero {
  min-height: 900px;
  padding: 9.25rem 0 6.5rem;
  isolation: isolate;
}

.hero::before {
  top: -22%;
  right: -4%;
  width: 820px;
  height: 820px;
  background: radial-gradient(circle, rgba(107,143,113,0.13), rgba(107,143,113,0.025) 45%, transparent 72%);
}

.hero::after {
  bottom: -30%;
  left: -14%;
  width: 780px;
  height: 780px;
  background: radial-gradient(circle, rgba(196,163,90,0.075), transparent 68%);
}

.hero-lattice {
  opacity: 0.08;
  background-size: 270px 270px;
  mask-image: linear-gradient(90deg, transparent 2%, #000 48%, #000 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 2%, #000 48%, #000 100%);
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.92fr);
  align-items: center;
  gap: clamp(3rem, 6vw, 6.5rem);
}

.hero-copy {
  position: relative;
  z-index: 3;
  max-width: 740px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1.8rem;
  color: #B9C8BA;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.hero-eyebrow span {
  width: 34px;
  height: 1px;
  background: var(--accent);
}

.hero h1 {
  max-width: 760px;
  margin-bottom: 1.65rem;
  font-size: clamp(3.6rem, 5.7vw, 5.6rem);
  line-height: 0.97;
  letter-spacing: -0.035em;
}

.hero h1 em {
  color: #7EAA85;
}

.hero .hero-sub {
  max-width: 670px;
  margin-bottom: 2.15rem;
  color: #B1ACA4;
  font-size: clamp(1rem, 1.25vw, 1.16rem);
  line-height: 1.75;
}

.hero-buttons { gap: 0.8rem; }

.btn {
  min-height: 50px;
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  color: #F7F5F0;
  background: #4E6B52;
  box-shadow: 0 12px 30px rgba(0,0,0,0.24);
}

.btn-primary:hover {
  background: #456049;
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(0,0,0,0.3);
}

.btn-ghost {
  color: #C9C4BB;
  border-color: rgba(255,255,255,0.13);
  background: rgba(255,255,255,0.035);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.btn-ghost:hover {
  background: rgba(255,255,255,0.07);
  transform: translateY(-2px);
}

.hero-visual {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.hero-visual::before {
  content: '';
  position: absolute;
  width: 72%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,143,113,0.17), rgba(196,163,90,0.055) 43%, transparent 70%);
  filter: blur(18px);
}

.orbit {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(196,163,90,0.16);
}

.orbit-outer {
  width: 520px;
  height: 520px;
  border-style: dashed;
  animation: orbit-spin 42s linear infinite;
}

.orbit-inner {
  width: 370px;
  height: 370px;
  border-color: rgba(107,143,113,0.22);
  animation: orbit-spin 30s linear infinite reverse;
}

.orbit-node {
  position: absolute;
  z-index: 2;
  width: 8px;
  height: 8px;
  border: 2px solid var(--bg-deep);
  border-radius: 50%;
  background: var(--gold);
}

.node-one { top: 12.5%; right: 23%; }
.node-two { bottom: 16%; left: 19%; background: var(--accent); }
.node-three { top: 32%; left: 7%; width: 6px; height: 6px; }

.hero-mark-shell {
  position: relative;
  z-index: 3;
  width: 310px;
  height: 310px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background:
    radial-gradient(circle at 42% 35%, rgba(255,255,255,0.08), transparent 42%),
    rgba(13,20,31,0.74);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.07),
    0 32px 54px rgba(0,0,0,0.34);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  animation: mark-float 8s ease-in-out infinite;
}

.hero-mark {
  width: 210px;
  height: 210px;
  margin: 0;
  filter:
    drop-shadow(0 16px 24px rgba(0,0,0,0.32));
}

.orbit-label-track {
  position: absolute;
  z-index: 4;
  width: 500px;
  height: 500px;
  --orbit-label-radius: 245px;
  animation: orbit-label-turn 88s linear infinite;
}

.orbit-outer,
.orbit-inner,
.hero-mark-shell,
.orbit-label-track,
.orbit-tag {
  will-change: transform;
  backface-visibility: hidden;
}

.hero.motion-paused .orbit-outer,
.hero.motion-paused .orbit-inner,
.hero.motion-paused .hero-mark-shell,
.hero.motion-paused .orbit-label-track,
.hero.motion-paused .orbit-tag {
  animation-play-state: paused;
  will-change: auto;
}

.orbit-label-position {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  transform: rotate(var(--angle)) translateX(var(--orbit-label-radius));
  transform-origin: 0 0;
}

.orbit-tag {
  display: flex;
  align-items: center;
  gap: 0.48rem;
  width: max-content;
  padding: 0.48rem 0.75rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 999px;
  color: #D5D0C7;
  background: rgba(12,18,29,0.68);
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle)));
  animation: orbit-label-level 88s linear infinite;
}

.orbit-tag svg {
  width: 15px;
  height: 15px;
  flex: 0 0 auto;
  color: #9AB89F;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.tag-safety { --angle: -154deg; }
.tag-welfare { --angle: 12deg; }
.tag-open { --angle: 106deg; }
.tag-welfare .orbit-tag svg { color: #D8BA70; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }
@keyframes orbit-label-turn { to { transform: rotate(360deg); } }
@keyframes orbit-label-level {
  from { transform: translate(-50%, -50%) rotate(calc(-1 * var(--angle))); }
  to { transform: translate(-50%, -50%) rotate(calc(-360deg - var(--angle))); }
}
@keyframes mark-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

section {
  position: relative;
  padding: clamp(6.5rem, 10vw, 9.5rem) 0;
  scroll-margin-top: 72px;
}

.section-warm {
  background-color: var(--bg-warm);
}

.section-dark,
.section-deep { overflow: hidden; }

.section-dark::before,
.section-deep::before {
  content: '';
  position: absolute;
  width: 560px;
  height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107,143,113,0.055), transparent 70%);
  pointer-events: none;
}

.section-dark::before { top: -260px; right: -160px; }
.section-deep::before { bottom: -260px; left: -180px; }

.section-label {
  gap: 0.65rem;
  margin-bottom: 1.15rem;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.cluster-label a,
.card-title a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule-dark);
}

.section-label::before {
  width: 31px;
  height: 1px;
  margin-right: 0;
}

h2 {
  max-width: 920px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.7rem, 5vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-intro {
  max-width: 730px;
  margin-bottom: 4rem;
  font-size: clamp(1rem, 1.45vw, 1.15rem);
}

.explainer-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  align-items: center;
  gap: clamp(3rem, 8vw, 7rem);
}

.explainer-copy .section-intro { margin-bottom: 2.1rem; }

.film-topics {
  display: grid;
  gap: 0.65rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
}

.film-topics span {
  color: var(--bronze-dark);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.035em;
}

.video-column {
  position: relative;
}

.video-frame {
  max-width: none;
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: var(--radius-lg);
  box-shadow:
    0 28px 46px rgba(8,12,22,0.24),
    0 0 0 10px rgba(255,255,255,0.38);
}

.video-overlay {
  background:
    radial-gradient(circle at 50% 50%, rgba(8,12,22,0.08), rgba(8,12,22,0.47)),
    rgba(8,12,22,0.08);
}

.play-button {
  width: 86px;
  height: 86px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(78,107,82,0.94);
  box-shadow: 0 18px 42px rgba(8,12,22,0.36);
}

.thesis-grid {
  gap: 1.25rem;
  margin-top: 4.25rem;
}

.thesis-card {
  min-height: 340px;
  padding: 2.65rem;
  border: 1px solid rgba(255,255,255,0.105);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(255,255,255,0.018));
  box-shadow: none;
}

.thesis-card:first-child { border-top: 2px solid rgba(107,143,113,0.62); }
.thesis-card:last-child { border-top: 2px solid rgba(196,163,90,0.55); }

.thesis-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,255,255,0.18);
  border-left-color: rgba(255,255,255,0.18);
  box-shadow: 0 22px 32px rgba(0,0,0,0.2);
}

.thesis-card h3 {
  max-width: 19ch;
  margin-top: 2.8rem;
  font-size: clamp(1.8rem, 2.6vw, 2.45rem);
  line-height: 1.05;
}

.thesis-card p { font-size: 0.92rem; }

.thesis-card .card-label {
  display: inline-flex;
  padding: 0.38rem 0.65rem;
  border: 1px solid rgba(107,143,113,0.2);
  border-radius: 999px;
  background: rgba(107,143,113,0.09);
}

.thesis-card:last-child .card-label {
  color: var(--gold);
  border-color: rgba(196,163,90,0.2);
  background: rgba(196,163,90,0.08);
}

.thesis-connector { padding-top: 3.8rem; }

.projects-stream {
  margin-top: 5rem;
  counter-reset: project;
}

.project-cluster { margin-bottom: 5.5rem; }
.project-cluster:last-child { margin-bottom: 0; }

.cluster-label {
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  color: var(--bronze-dark);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.project-grid,
.project-grid.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.project-card {
  counter-increment: project;
  position: relative;
  min-height: 285px;
  padding: 2.15rem;
  overflow: hidden;
  border: 1px solid rgba(23,26,24,0.075);
  border-radius: var(--radius-md);
  background: rgba(251,250,247,0.86);
  box-shadow: 0 1px 0 rgba(255,255,255,0.8);
}

.project-card::before {
  content: counter(project, decimal-leading-zero);
  position: absolute;
  top: 1.45rem;
  right: 1.6rem;
  color: rgba(78,107,82,0.26);
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.project-card::after {
  content: '';
  position: absolute;
  right: -70px;
  bottom: -92px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(107,143,113,0.08);
  border-radius: 50%;
}

.project-card > * {
  position: relative;
  z-index: 1;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(107,143,113,0.25);
  box-shadow: var(--shadow-soft);
}

.project-card.has-paper {
  border-left: 1px solid rgba(23,26,24,0.075);
  background:
    linear-gradient(140deg, rgba(107,143,113,0.11), rgba(251,250,247,0.94) 42%);
}

.project-card h3.card-title {
  max-width: calc(100% - 3rem);
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.12;
}

.project-card p {
  max-width: 58ch;
  font-size: 0.86rem;
}

.project-card .project-tag {
  margin-top: 1.25rem;
  padding: 0.33rem 0.6rem;
  border: 1px solid rgba(107,143,113,0.13);
  border-radius: 999px;
  color: var(--accent-deep);
  background: rgba(107,143,113,0.065);
  font-size: 0.75rem;
  letter-spacing: 0.035em;
  text-transform: none;
}

.project-card .project-tag.tag-gold { color: var(--bronze-dark); }

.corpus-grid {
  gap: 1.2rem;
  margin-top: 4.25rem;
}

.corpus-section {
  padding: 2.35rem;
  border: 1px solid rgba(255,255,255,0.105);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.032);
  box-shadow: 0 20px 32px rgba(0,0,0,0.11);
}

.corpus-section h3 {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--rule);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: none;
}

.corpus-section h3.subsection-heading { margin-top: 2.5rem; }

.paper-entry {
  margin: 0;
  padding: 1.35rem 0.25rem;
  border-radius: var(--radius-sm);
}

.paper-title {
  font-size: 1.3rem;
  line-height: 1.3;
}

.book-title {
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.book-coauthor {
  color: var(--text-muted);
  font-size: 0.8rem;
  font-style: normal;
  font-weight: 400;
}

.book-entry {
  align-items: flex-start;
  margin: 0;
  padding: 1.1rem 0.25rem;
  border-radius: 0;
}

.book-entry:hover {
  padding-left: 0.75rem;
  border-left-color: var(--gold);
}

.book-title { font-size: 0.9rem; }
.book-status {
  font-size: 0.75rem;
  letter-spacing: 0.035em;
  text-transform: none;
}

.principles-row {
  gap: 0;
  margin-top: 4.25rem;
  padding-top: 0;
  border-top: 1px solid var(--rule-dark);
  counter-reset: principle;
}

.principles-intro-first { margin-bottom: 1.5rem; }

.principle {
  counter-increment: principle;
  position: relative;
  min-height: 280px;
  padding: 2.3rem 2rem;
  text-align: left;
  border-right: 1px solid var(--rule-dark);
}

.principle:last-child { border-right: 0; }

.principle::before {
  content: '0' counter(principle);
  width: auto;
  height: auto;
  margin: 0 0 3.5rem;
  color: var(--accent-hover);
  background: transparent;
  font-family: var(--mono);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

.principle h3 {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
}

.team-grid {
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: 4.25rem;
}

.team-member {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 0 2.2rem;
  padding: 2rem;
  border: 1px solid rgba(255,255,255,0.105);
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.035);
}

.team-member > :not(.team-avatar) { grid-column: 2; }

.team-avatar,
img.team-avatar {
  grid-column: 1;
  grid-row: 1 / span 5;
  width: 170px;
  height: 220px;
  margin: 0;
  border-color: rgba(255,255,255,0.12);
  border-radius: var(--radius-md);
  object-position: center 20%;
  box-shadow: 0 18px 45px rgba(0,0,0,0.22);
}

img.team-avatar:hover {
  z-index: 1;
  box-shadow: 0 24px 55px rgba(0,0,0,0.3);
}

.team-member h3 {
  align-self: end;
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 400;
}

.team-name-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--rule);
}

.team-role {
  margin-bottom: 0.8rem;
  font-size: 0.75rem;
  letter-spacing: 0.045em;
  text-transform: none;
}

.team-bio {
  max-width: 80ch;
  font-size: 0.88rem;
}

.team-credentials {
  margin-top: 1.1rem;
  opacity: 0.82;
}

.credential-sources {
  margin-top: 1rem;
  color: var(--text-muted);
  font-size: 0.78rem;
  line-height: 1.55;
}

.credential-sources a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.fiscal-note {
  margin-top: 2rem;
  padding: 1.2rem 1.4rem;
  border: 1px solid rgba(255,255,255,0.09);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.025);
}

.fiscal-link {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

#participate {
  color: var(--text-light);
  background:
    radial-gradient(circle at 82% 4%, rgba(107,143,113,0.11), transparent 30rem),
    var(--bg-dark);
}

#participate .section-label { color: var(--bronze-lift); }
#participate h2 { color: var(--text-light); }
#participate .section-intro { color: var(--text-muted); }

.cta-grid {
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-top: 4rem;
  counter-reset: action;
}

.cta-card {
  counter-increment: action;
  position: relative;
  min-height: 245px;
  padding: 2.2rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.045);
}

.cta-card::before {
  content: '0' counter(action);
  position: absolute;
  top: 1.7rem;
  right: 1.8rem;
  color: rgba(196,163,90,0.45);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.cta-card:hover {
  transform: translateY(-5px);
  border-color: rgba(107,143,113,0.32);
  background: rgba(255,255,255,0.065);
  box-shadow: var(--shadow-dark);
}

.cta-card h3 {
  max-width: calc(100% - 3rem);
  color: var(--text-light);
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 400;
}

.cta-card p {
  max-width: 52ch;
  color: var(--text-muted);
  font-size: 0.86rem;
}

.cta-link { color: #8DB494; }
.cta-link:hover { color: #A8C9AE; }

footer {
  padding: 5rem 0 4rem;
}

footer .container {
  gap: 5rem;
}

.footer-brand { font-size: 1.15rem; }
.footer-brand img { width: 30px; height: 30px; }

/* Content remains available before animation and in full-page captures. */
.reveal {
  opacity: 1;
  transform: translateY(12px);
}

.reveal > * {
  opacity: 1;
  transform: translateY(8px);
}

.reveal.visible,
.reveal.visible > * { transform: none; }

@media (max-width: 1050px) {
  .hero {
    min-height: auto;
    padding-top: 9rem;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .hero-copy {
    max-width: 850px;
    text-align: center;
    margin: 0 auto;
  }

  .hero h1,
  .hero .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-buttons { justify-content: center; }
  .hero-visual { min-height: 520px; }
}

@media (max-width: 820px) {
  .container { width: min(var(--max-w), calc(100% - 40px)); }

  .explainer-grid { grid-template-columns: 1fr; gap: 3rem; }
  .explainer-copy { max-width: 680px; }

  .project-grid,
  .project-grid.grid-2 { grid-template-columns: 1fr; }

  .team-member {
    grid-template-columns: 140px minmax(0, 1fr);
    gap: 0 1.6rem;
  }

  .team-avatar,
  img.team-avatar {
    width: 140px;
    height: 182px;
  }

  .principles-row { grid-template-columns: 1fr; }
  .principle {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid var(--rule-dark);
  }
  .principle:last-child { border-bottom: 0; }
  .principle::before { margin-bottom: 1.8rem; }
}

@media (max-width: 640px) {
  .container { width: min(var(--max-w), calc(100% - 32px)); }

  nav .container { height: 68px; }
  .nav-links.open {
    top: 68px;
    padding: 1.25rem 1.5rem 1.5rem;
    gap: 0.7rem;
    background: rgba(7,11,20,0.98);
    backdrop-filter: blur(22px);
    -webkit-backdrop-filter: blur(22px);
  }
  .nav-links.open a {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
  }
  .nav-links.open .nav-cta {
    width: fit-content;
    padding: 0.55rem 1rem;
  }

  .hero {
    padding: 7.4rem 0 4.2rem;
  }

  .hero h1 {
    font-size: clamp(3rem, 14vw, 4.15rem);
  }

  .hero-eyebrow {
    margin-bottom: 1.35rem;
    font-size: 0.75rem;
  }

  .hero .hero-sub {
    font-size: 0.98rem;
    line-height: 1.68;
  }

  .hero-visual {
    min-height: 390px;
    margin: 0 -0.5rem;
  }

  .orbit-outer { width: 340px; height: 340px; }
  .orbit-inner { width: 245px; height: 245px; }
  .hero-mark-shell { width: 205px; height: 205px; }
  .hero-mark { width: 138px; height: 138px; }
  .orbit-label-track {
    width: 300px;
    height: 300px;
    --orbit-label-radius: 118px;
  }
  .orbit-tag {
    gap: 0.35rem;
    padding: 0.4rem 0.58rem;
    font-size: 0.6rem;
    letter-spacing: 0.075em;
  }
  .orbit-tag svg { width: 13px; height: 13px; }

  section { padding: 5.6rem 0; }
  h2 { font-size: clamp(2.5rem, 12vw, 3.55rem); }
  .section-intro { margin-bottom: 2.8rem; }

  .video-frame {
    border-radius: var(--radius-md);
    box-shadow: 0 22px 52px rgba(8,12,22,0.22), 0 0 0 5px rgba(255,255,255,0.4);
  }
  .play-button { width: 66px; height: 66px; }
  .play-button::after { border-width: 11px 0 11px 19px; }

  .thesis-grid,
  .projects-stream,
  .corpus-grid,
  .team-grid,
  .cta-grid { margin-top: 3rem; }

  .thesis-card {
    min-height: 0;
    padding: 2rem;
  }
  .thesis-card h3 { margin-top: 2rem; }

  .project-card {
    min-height: 0;
    padding: 1.75rem;
  }

  .project-card h3.card-title { font-size: 1.5rem; }

  .corpus-section { padding: 1.5rem; border-radius: var(--radius-md); }
  .book-entry { flex-direction: column; gap: 0.35rem; }
  .book-status { white-space: normal; }

  .team-member {
    display: block;
    padding: 1.5rem;
    border-radius: var(--radius-md);
  }
  .team-avatar,
  img.team-avatar {
    width: 112px;
    height: 146px;
    margin-bottom: 1.35rem;
  }
  .team-member h3 { font-size: 1.75rem; }

  .cta-grid { grid-template-columns: 1fr; }
  .cta-card { min-height: 0; padding: 1.75rem; }

  footer .container { gap: 2.4rem; }
}

@media (prefers-reduced-transparency: reduce) {
  nav,
  .hero-mark-shell,
  .orbit-tag,
  .btn-ghost {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  nav { background: var(--bg-deep); }
  .hero-mark-shell,
  .orbit-tag { background: #101724; }
}

@media (prefers-contrast: more) {
  :root {
    --text-muted: #D4D0C8;
    --rule: rgba(255,255,255,0.28);
    --rule-dark: rgba(0,0,0,0.28);
  }
}

@media print {
  nav, .skip-link, .hero-buttons, .nav-toggle { display: none; }
  .hero { min-height: auto; padding: 2rem 0; }
  body, .section-dark, .section-deep, .section-warm, .section-white {
    background: #fff !important;
    color: #1A1A1A !important;
  }
  .hero h1, .hero h1 em, .section-dark h2, .section-deep h2,
  .thesis-card h3, .paper-title, .book-title, .team-member h3 {
    color: #1A1A1A !important;
  }
  .hero .hero-sub, .section-intro, .thesis-card p, .team-bio,
  .paper-meta, .team-credentials, .fiscal-note,
  .footer-tagline, .footer-legal, footer a {
    color: #4A4640 !important;
  }
  .section-label, .card-label, .cluster-label, .team-role, .project-tag {
    color: #4A4640 !important;
  }
  section { padding: 2rem 0; }
  .thesis-card, .project-card, .cta-card {
    border-color: #ccc !important;
    background: #fff !important;
  }
  .reveal, .reveal > * { opacity: 1 !important; transform: none !important; }
  .grain::after, .hero-lattice { display: none; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 0.75em; color: #666; }
  a[href^="#"]::after, a[href^="mailto"]::after, .nav-logo::after, .footer-links a::after { content: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .reveal,
  .reveal > * {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .reveal.visible > * { transition-delay: 0s; }
  .hero-mark .strand-sage,
  .hero-mark .strand-gold,
  .hero-mark .torc-weave {
    animation: none;
    stroke-dashoffset: 0;
  }
  .hero-mark .torc-weave { opacity: var(--weave-opacity); }
  .hero-mark .gap-cut,
  .hero-mark .tip-spike,
  .hero-mark .terminal-a,
  .hero-mark .terminal-b {
    animation: none;
    opacity: 1;
  }
  .orbit-label-track,
  .orbit-tag {
    animation: none;
  }
  html { scroll-behavior: auto; }
}

/* ═══════════════════════════════════════════════
   SHARED PAGE, DIRECTORY, AND POLICY COMPONENTS
   ═══════════════════════════════════════════════ */

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin-top: auto;
  padding-top: 1.25rem;
  border-top: 1px solid var(--rule-dark);
}

.project-actions a {
  color: var(--accent-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.025em;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

.project-actions a:hover { color: #263C2B; }

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.15rem;
}

.project-meta span,
.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0.24rem 0.65rem;
  border: 1px solid rgba(62,86,65,0.2);
  border-radius: 999px;
  background: rgba(107,143,113,0.08);
  color: var(--accent-deep);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.status-pill.gold,
.project-meta .gold {
  border-color: rgba(176,141,62,0.28);
  background: rgba(196,163,90,0.1);
  color: #6F571F;
}

.status-pill.neutral,
.project-meta .neutral {
  border-color: rgba(23,26,24,0.16);
  background: rgba(23,26,24,0.045);
  color: #55544F;
}

.project-card {
  display: flex;
  flex-direction: column;
}

.project-card > p:last-of-type:not(.project-cite) { margin-bottom: 0; }

.transcript-disclosure {
  margin-top: 1.5rem;
  border-top: 1px solid var(--rule-dark);
  padding-top: 1.25rem;
}

.transcript-disclosure summary {
  width: fit-content;
  cursor: pointer;
  color: var(--accent-deep);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
}

.transcript-disclosure summary::marker { color: var(--gold-dark); }

.transcript-body {
  max-width: 68ch;
  margin-top: 1.25rem;
  color: var(--text-mid);
  font-size: 0.92rem;
  line-height: 1.75;
}

.transcript-body p + p { margin-top: 1rem; }

body.subpage {
  background: var(--bg-warm);
  color: var(--text-dark);
}

.page-hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  padding: 10.5rem 0 6.5rem;
  background:
    radial-gradient(circle at 78% 16%, rgba(107,143,113,0.16), transparent 30rem),
    radial-gradient(circle at 14% 84%, rgba(196,163,90,0.08), transparent 28rem),
    var(--bg-deep);
  color: var(--text-light);
}

.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><g stroke='%236B8F71' stroke-width='0.6' fill='none'><path d='M24 34L96 66L168 28M96 66L120 148L44 176M120 148L216 188M168 28L208 96'/></g><g fill='%23C4A35A'><circle cx='24' cy='34' r='1.8'/><circle cx='96' cy='66' r='2.3'/><circle cx='168' cy='28' r='1.6'/><circle cx='120' cy='148' r='2.1'/><circle cx='44' cy='176' r='1.6'/><circle cx='216' cy='188' r='1.8'/><circle cx='208' cy='96' r='1.5'/></g></svg>");
}

.page-hero .container { position: relative; z-index: 1; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2rem;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.breadcrumb a { color: #B8D0BC; text-underline-offset: 0.2em; }

.page-hero h1 {
  max-width: 920px;
  font-family: var(--serif);
  font-size: clamp(3.8rem, 8vw, 7rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: -0.045em;
}

.page-hero .page-lede {
  max-width: 700px;
  margin-top: 1.8rem;
  color: var(--text-muted);
  font-size: clamp(1.02rem, 1.5vw, 1.2rem);
  line-height: 1.72;
}

.page-main { min-height: 45vh; }
.page-main > section { padding: 6.5rem 0; }
.page-main > section + section { border-top: 1px solid var(--rule-dark); }

.page-main h2 {
  max-width: 900px;
  color: var(--text-dark);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
}

.page-main h3 {
  color: var(--text-dark);
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  font-weight: 400;
  line-height: 1.15;
}

.page-main p,
.page-main li {
  color: var(--text-mid);
  line-height: 1.75;
}

.page-main a { color: var(--accent-deep); text-underline-offset: 0.2em; }
.page-main a:hover { color: #263C2B; }

.prose {
  max-width: 74ch;
  margin-top: 2rem;
}

.prose > * + * { margin-top: 1.25rem; }
.prose h2, .prose h3 { margin-top: 2.8rem; }
.prose ul, .prose ol { padding-left: 1.35rem; }
.prose li + li { margin-top: 0.55rem; }
.prose blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 3px solid var(--gold-dark);
  background: rgba(255,255,255,0.55);
  color: var(--text-mid);
}

.prose code,
.prose pre {
  font-family: var(--mono);
  font-size: 0.86em;
}

.prose pre {
  overflow-x: auto;
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  background: #111824;
  color: #E9E5DC;
}

.notice {
  max-width: 74ch;
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border: 1px solid rgba(176,141,62,0.3);
  border-radius: var(--radius-sm);
  background: rgba(196,163,90,0.09);
  color: #5D4A23;
  font-size: 0.9rem;
  line-height: 1.7;
}

.directory-grid,
.detail-grid,
.policy-grid,
.timeline-grid,
.action-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 3rem;
}

.directory-card,
.detail-card,
.policy-card,
.timeline-card,
.action-card {
  padding: 2rem;
  border: 1px solid var(--rule-dark);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.68);
  box-shadow: 0 12px 28px rgba(25,31,27,0.055);
}

.directory-card,
.action-card {
  display: flex;
  flex-direction: column;
}

.directory-card p,
.detail-card p,
.policy-card p,
.timeline-card p,
.action-card p { margin-top: 0.9rem; }

.directory-card .project-actions,
.action-card .project-actions { margin-top: auto; }

.directory-card.wide,
.detail-card.wide { grid-column: 1 / -1; }

.definition-list {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr);
  gap: 0;
  margin-top: 2.5rem;
  border-top: 1px solid var(--rule-dark);
}

.definition-list dt,
.definition-list dd {
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--rule-dark);
}

.definition-list dt {
  padding-right: 1.25rem;
  color: var(--text-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.definition-list dd { color: var(--text-mid); line-height: 1.7; }

.timeline-card time {
  display: block;
  margin-bottom: 1rem;
  color: var(--accent-deep);
  font-family: var(--mono);
  font-size: 0.76rem;
  font-weight: 700;
}

.archive-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.3rem;
  margin-top: 1.3rem;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.75rem;
}

.release-gate {
  padding: 1.15rem 1.35rem;
  border-left: 3px solid var(--gold-dark);
  background: rgba(196,163,90,0.09);
}

.release-gate strong { color: #604B1F; }

.site-updated {
  margin-top: 1.2rem;
  color: var(--text-muted);
  font-family: var(--mono);
  font-size: 0.72rem;
}

#work .site-updated { color: #625D55; }

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.no-js .nav-toggle { display: none; }

@media (max-width: 640px) {
  .no-js .nav-links {
    display: flex;
    position: static;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 0.4rem 1rem;
    padding-left: 1rem;
    background: transparent;
  }

  .no-js .nav-links a { font-size: 0.72rem; }
  .no-js .nav-links .nav-cta { padding: 0.45rem 0.75rem; }
  .no-js .video-overlay { display: none; }
}

@media (max-width: 820px) {
  .directory-grid,
  .detail-grid,
  .policy-grid,
  .timeline-grid,
  .action-grid { grid-template-columns: 1fr; }

  .directory-card.wide,
  .detail-card.wide { grid-column: auto; }
}

@media (max-width: 640px) {
  body.navigation-open { overflow: hidden; }

  .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);
  }

  .page-hero {
    min-height: 440px;
    padding: 8.5rem 0 4.5rem;
  }

  .page-hero h1 { font-size: clamp(3.2rem, 16vw, 4.7rem); }
  .page-main > section { padding: 4.8rem 0; }
  .directory-card,
  .detail-card,
  .policy-card,
  .timeline-card,
  .action-card { padding: 1.45rem; }

  .definition-list { grid-template-columns: 1fr; }
  .definition-list dt { padding-bottom: 0.25rem; border-bottom: 0; }
  .definition-list dd { padding-top: 0.25rem; }
}

@media (forced-colors: active) {
  a,
  button,
  summary { forced-color-adjust: auto; }

  .btn,
  .nav-cta,
  .project-card,
  .thesis-card,
  .cta-card,
  .directory-card,
  .detail-card,
  .policy-card,
  .timeline-card,
  .action-card,
  .status-pill,
  .project-meta span { border: 1px solid CanvasText; }

  .grain::after,
  .hero-lattice,
  .page-hero::after { display: none; }
}

/* Soft page-to-page cross-fade, matching nellwatson.com. Browsers without
   cross-document View Transitions keep their normal navigation behaviour. */
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*),
  ::view-transition-old(*),
  ::view-transition-new(*) { animation: none !important; }
}
