/* =========================================================
   Dr Tadiwanashe Muganyi — Design System
   ========================================================= */

:root {
  --charcoal: #151512;
  --olive: #20221A;
  --olive-deep: #191813;
  --ivory: #F5F2E9;
  --bone: #EDE9DD;
  --stone: #8B8579;
  --stone-soft: #A39E92;
  --brass: #A5843A;
  --brass-bright: #C8A95E;
  --ink: #1B1D15;
  --hair: rgba(27, 29, 21, 0.12);
  --hair-light: rgba(245, 242, 233, 0.14);
  --veil: rgba(21, 21, 18, 0.88);

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-serif: "Lora", Georgia, serif;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --wrap: 1220px;
  --gutter: clamp(1.25rem, 4.5vw, 4rem);
  --header-h: 4.25rem;
  --section-y: clamp(5.5rem, 12vh, 9.5rem);

  --ls-label: 0.22em;
  --ls-tight: -0.02em;
}

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

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

body {
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

body.menu-open {
  overflow: hidden;
}

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

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

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

ul,
ol {
  list-style: none;
}

em {
  font-style: normal;
}

cite {
  font-style: normal;
  color: var(--bone);
}

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

:focus-visible {
  outline: 1px solid var(--brass-bright);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: var(--gutter);
  top: -100%;
  z-index: 200;
  padding: 0.75rem 1rem;
  background: var(--ivory);
  color: var(--charcoal);
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.skip-link:focus {
  top: 0.75rem;
}

.wrap {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
}

/* ---------- Typography ---------- */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: clamp(2rem, 4vh, 3.25rem);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: var(--ls-label);
  text-transform: uppercase;
  color: var(--stone);
}

.eyebrow .num {
  color: var(--brass);
  letter-spacing: 0.14em;
}

.eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: currentColor;
  opacity: 0.28;
}

.display {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.35rem, 5.2vw, 4.25rem);
  line-height: 1.08;
  letter-spacing: var(--ls-tight);
  color: var(--charcoal);
  max-width: 14ch;
}

.display em {
  color: var(--brass);
}

.display-light {
  color: var(--ivory);
}

.display-light em {
  color: var(--brass-bright);
}

.section {
  padding: var(--section-y) 0;
}

.section-intro {
  max-width: 58ch;
  font-size: clamp(1.02rem, 1.4vw, 1.125rem);
  color: var(--stone);
  margin-top: clamp(1.75rem, 3vh, 2.5rem);
}

.section-intro strong {
  color: var(--ink);
  font-weight: 500;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid transparent;
  transition: color 0.35s var(--ease), border-color 0.35s var(--ease), gap 0.35s var(--ease);
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brass);
  border-color: rgba(165, 132, 58, 0.45);
  gap: 1rem;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  min-height: 3.5rem;
  padding: 0.85rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease),
    transform 0.4s var(--ease);
}

.btn span {
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: none;
  opacity: 0.72;
}

.btn-solid {
  background: var(--ivory);
  color: var(--charcoal);
  border-color: var(--ivory);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245, 242, 233, 0.45);
}

.btn-line {
  background: transparent;
  color: var(--ivory);
  border-color: rgba(245, 242, 233, 0.32);
}

.btn-line:hover,
.btn-line:focus-visible {
  border-color: var(--brass-bright);
  color: var(--brass-bright);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  transition: background 0.45s var(--ease), border-color 0.45s var(--ease), backdrop-filter 0.45s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(21, 21, 18, 0.82);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom-color: var(--hair-light);
}

.nav-bar {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.monogram {
  position: relative;
  z-index: 2;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--ivory);
  text-transform: uppercase;
}

.monogram span {
  color: var(--brass-bright);
  margin: 0 0.05em;
}

.nav-desktop ul {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.4vw, 2.4rem);
}

.nav-desktop a {
  position: relative;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 233, 0.72);
  transition: color 0.3s var(--ease);
}

.nav-desktop a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.45rem;
  width: 100%;
  height: 1px;
  background: var(--brass-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.nav-desktop a:hover,
.nav-desktop a:focus-visible,
.nav-desktop a.is-active {
  color: var(--ivory);
}

.nav-desktop a.is-active::after,
.nav-desktop a:hover::after,
.nav-desktop a:focus-visible::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
  color: var(--ivory);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.35rem;
  height: 1px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-lines::before { top: -6px; }
.nav-toggle-lines::after { top: 6px; }

body.menu-open .nav-toggle-lines {
  background: transparent;
}

body.menu-open .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Mobile menu */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--charcoal);
  color: var(--ivory);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.45s var(--ease), visibility 0.45s;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-inner {
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin: 0 auto;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  padding: 1.15rem 0 2.5rem;
}

.mobile-menu-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
  margin-bottom: clamp(2.5rem, 8vh, 4rem);
}

.nav-close {
  font-size: 0.6875rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245, 242, 233, 0.7);
  min-height: 2.75rem;
  padding-inline: 0.25rem;
}

.mobile-menu nav ul {
  display: grid;
  gap: 0.15rem;
}

.mobile-menu nav a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--hair-light);
  font-size: clamp(1.75rem, 7vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ivory);
  transform: translateY(0.6rem);
  opacity: 0;
  transition: color 0.3s var(--ease), opacity 0.5s var(--ease), transform 0.5s var(--ease);
}

.mobile-menu.is-open nav a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.is-open nav li:nth-child(1) a { transition-delay: 0.05s; }
.mobile-menu.is-open nav li:nth-child(2) a { transition-delay: 0.09s; }
.mobile-menu.is-open nav li:nth-child(3) a { transition-delay: 0.13s; }
.mobile-menu.is-open nav li:nth-child(4) a { transition-delay: 0.17s; }
.mobile-menu.is-open nav li:nth-child(5) a { transition-delay: 0.21s; }
.mobile-menu.is-open nav li:nth-child(6) a { transition-delay: 0.25s; }

.mobile-menu nav a span {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--brass-bright);
  min-width: 1.5rem;
}

.mobile-menu nav a:hover,
.mobile-menu nav a:focus-visible {
  color: var(--brass-bright);
}

.mobile-menu-meta {
  margin-top: auto;
  padding-top: 2.5rem;
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
}

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

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-rows: 1fr auto;
  background: var(--charcoal);
  color: var(--ivory);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% 22%;
  transform: scale(1.04);
  will-change: transform;
}

.hero-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      95deg,
      rgba(21, 21, 18, 0.94) 0%,
      rgba(21, 21, 18, 0.78) 28%,
      rgba(21, 21, 18, 0.28) 52%,
      rgba(21, 21, 18, 0.05) 68%,
      rgba(21, 21, 18, 0) 82%
    ),
    linear-gradient(
      180deg,
      rgba(21, 21, 18, 0.42) 0%,
      rgba(21, 21, 18, 0) 28%,
      rgba(21, 21, 18, 0) 58%,
      rgba(21, 21, 18, 0.72) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin: 0 auto;
  padding: calc(var(--header-h) + 2.5rem) 0 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-self: stretch;
}

.hero-eyebrow {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.4vw, 5.15rem);
  line-height: 1.04;
  letter-spacing: -0.025em;
  max-width: 11ch;
  color: var(--ivory);
}

.hero-title em {
  color: var(--brass-bright);
}

.hero-roles {
  margin-top: 1.35rem;
  font-size: 0.8125rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(245, 242, 233, 0.72);
}

.hero-sub {
  margin-top: 1.5rem;
  max-width: 42ch;
  font-size: clamp(0.98rem, 1.2vw, 1.0625rem);
  line-height: 1.7;
  color: rgba(245, 242, 233, 0.78);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2.25rem;
}

.hero-footer {
  position: relative;
  z-index: 2;
  width: min(100% - (var(--gutter) * 2), var(--wrap));
  margin: 0 auto;
  padding: 1.25rem 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  border-top: 1px solid rgba(245, 242, 233, 0.12);
}

.hero-locations {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  font-size: 0.6875rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(245, 242, 233, 0.55);
}

.hero-locations li {
  position: relative;
}

.hero-locations li:not(:last-child)::after {
  content: "";
  position: absolute;
  right: -0.95rem;
  top: 50%;
  width: 0.2rem;
  height: 0.2rem;
  border-radius: 50%;
  background: var(--brass);
  transform: translateY(-50%);
  opacity: 0.7;
}

.scroll-cue {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: rgba(245, 242, 233, 0.55);
}

.scroll-cue-line {
  width: 1px;
  height: 1.75rem;
  background: linear-gradient(to bottom, var(--brass-bright), transparent);
  animation: scrollPulse 2.4s var(--ease) infinite;
  transform-origin: top;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.35; transform: scaleY(0.65); }
  50% { opacity: 1; transform: scaleY(1); }
}

/* ---------- About ---------- */

.about {
  background: var(--ivory);
}

.about-lead {
  margin-bottom: clamp(2.5rem, 6vh, 4.5rem);
}

.about-lead .display {
  max-width: 16ch;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5.5rem);
  align-items: start;
  padding-top: 0.5rem;
  border-top: 1px solid var(--hair);
}

.about-position {
  font-family: var(--font-sans);
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.35;
  color: var(--charcoal);
  max-width: 22ch;
  padding-top: 0.35rem;
}

.about-body {
  display: grid;
  gap: 1.25rem;
  font-size: 1.02rem;
  color: rgba(27, 29, 21, 0.82);
  max-width: 54ch;
}

.about-body strong {
  font-weight: 500;
  color: var(--charcoal);
}

.cred-list {
  margin-top: clamp(3rem, 7vh, 5rem);
  border-top: 1px solid var(--hair);
}

.cred {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  gap: 1.5rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--hair);
}

.cred dt {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  padding-top: 0.2rem;
}

.cred dd {
  font-size: 0.98rem;
  color: rgba(27, 29, 21, 0.84);
  max-width: 62ch;
}

/* ---------- Nexcelia ---------- */

.nexcelia {
  background: var(--olive);
  color: var(--ivory);
}

.nexcelia .section-intro {
  color: rgba(245, 242, 233, 0.62);
  max-width: 62ch;
}

.nexcelia .section-intro strong {
  color: var(--ivory);
  font-weight: 500;
}

.thesis-list {
  margin-top: clamp(3rem, 7vh, 4.75rem);
  border-top: 1px solid var(--hair-light);
}

.thesis-item {
  border-bottom: 1px solid var(--hair-light);
}

.thesis-link {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1.25rem 1.75rem;
  align-items: start;
  padding: 1.55rem 0.35rem;
  transition: background 0.4s var(--ease), padding 0.4s var(--ease);
}

.thesis-static {
  cursor: default;
}

.thesis-num {
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  color: var(--brass-bright);
  padding-top: 0.55rem;
}

.thesis-title {
  display: block;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--ivory);
  transition: transform 0.45s var(--ease), color 0.35s var(--ease);
}

.thesis-copy {
  display: block;
  max-width: 52ch;
  margin-top: 0.55rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(245, 242, 233, 0.55);
  opacity: 0.85;
  transform: translateY(0);
  transition: color 0.35s var(--ease), opacity 0.45s var(--ease);
}

.thesis-arrow {
  font-size: 1.15rem;
  color: var(--brass-bright);
  opacity: 0;
  transform: translateX(-0.4rem);
  transition: opacity 0.35s var(--ease), transform 0.45s var(--ease);
  padding-top: 0.45rem;
}

.thesis-link:hover,
.thesis-link:focus-visible {
  background: rgba(245, 242, 233, 0.03);
  padding-left: 0.85rem;
  padding-right: 0.85rem;
}

.thesis-link:hover .thesis-title,
.thesis-link:focus-visible .thesis-title {
  transform: translateX(0.35rem);
  color: var(--brass-bright);
}

.thesis-link:hover .thesis-copy,
.thesis-link:focus-visible .thesis-copy {
  color: rgba(245, 242, 233, 0.72);
}

.thesis-link:hover .thesis-arrow,
.thesis-link:focus-visible .thesis-arrow {
  opacity: 1;
  transform: translateX(0);
}

/* ---------- Fund ---------- */

.fund {
  background: var(--bone);
}

.fund-moment {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-top: 0.5rem;
  padding-bottom: clamp(2rem, 4vh, 3rem);
  border-bottom: 1px solid var(--hair);
}

.fund-figure-block {
  min-width: 0;
}

.fund-figure {
  display: flex;
  align-items: baseline;
  gap: 0.35rem;
  color: var(--charcoal);
  line-height: 0.85;
}

.fund-figure-label {
  margin-top: 0.85rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.fund-currency {
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brass);
  align-self: flex-start;
  margin-top: 0.85rem;
}

.fund-amount {
  font-family: var(--font-sans);
  font-size: clamp(6.5rem, 16vw, 12.5rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.85;
}

.fund-unit {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  color: var(--brass);
  margin-left: 0.1rem;
}

.fund-lede {
  max-width: 36ch;
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  line-height: 1.65;
  color: rgba(27, 29, 21, 0.8);
  padding-bottom: 0.75rem;
}

.fund-lede strong {
  color: var(--charcoal);
  font-weight: 500;
}

.fund-pillars {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem 1.75rem;
  margin-top: 1.75rem;
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--stone);
}

.fund-pillars li {
  position: relative;
}

.fund-pillars li:not(:last-child)::after {
  content: "·";
  position: absolute;
  right: -1.05rem;
  color: var(--brass);
}

.fund-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2.5rem, 5vh, 3.5rem);
  padding: 1.75rem 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}

.fund-facts dt {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1;
  color: var(--charcoal);
  margin-bottom: 0.55rem;
}

.fund-facts dd {
  font-size: 0.875rem;
  color: var(--stone);
  max-width: 22ch;
}

.fund-tracks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  margin-top: clamp(2.75rem, 5vh, 3.75rem);
}

.fund-track {
  padding-top: 1.25rem;
  border-top: 1px solid var(--hair);
}

.track-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin-bottom: 0.85rem;
}

.fund-track h3 {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: 0.85rem;
  color: var(--charcoal);
}

.fund-track p {
  font-size: 0.95rem;
  color: rgba(27, 29, 21, 0.75);
  max-width: 34ch;
}

/* ---------- Research ---------- */

.research {
  background: var(--ivory);
}

.research-facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: clamp(2rem, 4vh, 3rem);
  margin-bottom: clamp(2rem, 4vh, 2.75rem);
}

.research-facts dt {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  line-height: 1;
  color: var(--charcoal);
  margin-bottom: 0.5rem;
}

.research-facts dt sup {
  font-size: 0.45em;
  top: -0.55em;
}

.research-facts dd {
  font-size: 0.875rem;
  color: var(--stone);
  max-width: 20ch;
}

.research-note {
  margin-top: 0;
  margin-bottom: clamp(2.5rem, 5vh, 3.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--hair);
  color: rgba(27, 29, 21, 0.78);
}

.research-note strong {
  color: var(--charcoal);
}

.pub-index {
  border-top: 1px solid var(--hair);
}

.pub {
  display: grid;
  grid-template-columns: 4.5rem 1fr auto;
  gap: 1rem 1.5rem;
  align-items: start;
  padding: 1.45rem 0.5rem;
  border-bottom: 1px solid var(--hair);
  transition:
    background 0.4s var(--ease),
    padding 0.4s var(--ease);
}

.pub-year {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--brass);
  padding-top: 0.3rem;
}

.pub-title {
  display: block;
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--charcoal);
  transition: transform 0.4s var(--ease), color 0.35s var(--ease);
}

.pub-meta {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: var(--stone);
}

.pub-arrow {
  font-size: 1.1rem;
  color: var(--brass);
  opacity: 0;
  transform: translateX(-0.35rem);
  transition: opacity 0.35s var(--ease), transform 0.4s var(--ease);
  padding-top: 0.25rem;
}

a.pub:hover,
a.pub:focus-visible {
  background: rgba(32, 34, 26, 0.03);
  padding-left: 0.9rem;
  padding-right: 0.9rem;
}

a.pub:hover .pub-title,
a.pub:focus-visible .pub-title {
  transform: translateX(0.3rem);
  color: var(--brass);
}

a.pub:hover .pub-arrow,
a.pub:focus-visible .pub-arrow {
  opacity: 1;
  transform: translateX(0);
}

.pub-static {
  cursor: default;
}

/* ---------- Writing / Book ---------- */

.writing {
  background: var(--charcoal);
  color: var(--ivory);
}

.writing .eyebrow {
  color: var(--stone-soft);
}

.book-stage {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 5vh, 3.75rem);
  align-items: start;
  margin-top: clamp(1.5rem, 3vh, 2.5rem);
}

.book-figure {
  position: relative;
  overflow: hidden;
  background: #2a2c1f;
  aspect-ratio: 1024 / 532;
  width: 100%;
}

.book-figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 1.4s var(--ease-out);
}

.book-stage.is-in .book-figure img {
  transform: scale(1.02);
}

.book-editorial {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  grid-template-areas:
    "badge copy"
    "quote copy"
    ".     links";
  gap: 1.25rem clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.book-editorial .book-badge { grid-area: badge; margin-bottom: 0; }
.book-editorial .book-quote { grid-area: quote; margin-bottom: 0; }
.book-editorial .book-copy { grid-area: copy; }
.book-editorial .book-links { grid-area: links; margin-top: 0; }

.book-badge {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-bottom: 1.5rem;
}

.book-quote {
  margin-bottom: 1.75rem;
}

.book-quote p {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-style: italic;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--ivory);
  max-width: 14ch;
}

.book-quote em {
  font-style: italic;
  color: var(--brass-bright);
}

.book-copy {
  display: grid;
  gap: 1.15rem;
  font-size: 0.98rem;
  line-height: 1.7;
  color: rgba(245, 242, 233, 0.68);
  max-width: 48ch;
}

.book-copy strong {
  color: var(--ivory);
  font-weight: 500;
}

.book-links {
  margin-top: 2.25rem;
  border-top: 1px solid var(--hair-light);
}

.book-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--hair-light);
  transition: color 0.35s var(--ease), padding 0.35s var(--ease);
}

.book-link strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.04em;
}

.book-link small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8rem;
  color: rgba(245, 242, 233, 0.45);
}

.book-link > span:last-child {
  color: var(--brass-bright);
  opacity: 0.5;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.book-link:hover,
.book-link:focus-visible {
  color: var(--brass-bright);
  padding-left: 0.35rem;
}

.book-link:hover > span:last-child,
.book-link:focus-visible > span:last-child {
  opacity: 1;
  transform: translateX(0.25rem);
}

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

.footer {
  background: var(--olive-deep);
  color: var(--ivory);
  padding: clamp(5rem, 12vh, 8.5rem) 0 2.5rem;
}

.footer-headline {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: clamp(2.6rem, 6.5vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  max-width: 12ch;
  margin-bottom: clamp(3rem, 7vh, 5rem);
}

.footer-headline em {
  color: var(--brass-bright);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 14rem));
  gap: 2.5rem 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--hair-light);
}

.footer-col h3 {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass-bright);
  margin-bottom: 1.15rem;
}

.footer-col p,
.footer-col a {
  font-size: 0.98rem;
  color: rgba(245, 242, 233, 0.72);
  line-height: 1.9;
}

.footer-col a {
  transition: color 0.3s var(--ease);
}

.footer-col a:hover,
.footer-col a:focus-visible {
  color: var(--brass-bright);
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 1.5rem;
  margin-top: clamp(3.5rem, 8vh, 5.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--hair-light);
  font-size: 0.6875rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(245, 242, 233, 0.4);
}

/* ---------- Reveal motion ---------- */

.reveal {
  opacity: 0;
  transform: translateY(1.35rem);
  transition:
    opacity 0.9s var(--ease-out),
    transform 0.9s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
}

.hero .reveal {
  opacity: 0;
  transform: translateY(1.1rem);
}

.hero.is-ready .reveal {
  opacity: 1;
  transform: translateY(0);
}

.hero.is-ready .hero-eyebrow { transition-delay: 0.1s; }
.hero.is-ready .hero-title { transition-delay: 0.22s; }
.hero.is-ready .hero-roles { transition-delay: 0.34s; }
.hero.is-ready .hero-sub { transition-delay: 0.42s; }
.hero.is-ready .hero-ctas { transition-delay: 0.52s; }

/* Stagger helpers via nth for lists */
.thesis-item.reveal:nth-child(1) { --reveal-delay: 0.02s; }
.thesis-item.reveal:nth-child(2) { --reveal-delay: 0.08s; }
.thesis-item.reveal:nth-child(3) { --reveal-delay: 0.14s; }
.thesis-item.reveal:nth-child(4) { --reveal-delay: 0.2s; }
.thesis-item.reveal:nth-child(5) { --reveal-delay: 0.26s; }
.thesis-item.reveal:nth-child(6) { --reveal-delay: 0.32s; }

.pub.reveal:nth-child(1) { --reveal-delay: 0.02s; }
.pub.reveal:nth-child(2) { --reveal-delay: 0.07s; }
.pub.reveal:nth-child(3) { --reveal-delay: 0.12s; }
.pub.reveal:nth-child(4) { --reveal-delay: 0.17s; }
.pub.reveal:nth-child(5) { --reveal-delay: 0.22s; }

.fund-track.reveal:nth-child(1) { --reveal-delay: 0.02s; }
.fund-track.reveal:nth-child(2) { --reveal-delay: 0.1s; }
.fund-track.reveal:nth-child(3) { --reveal-delay: 0.18s; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .fund-moment {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .book-editorial {
    grid-template-columns: 1fr;
    grid-template-areas:
      "badge"
      "quote"
      "copy"
      "links";
    gap: 0;
  }

  .book-editorial .book-badge { margin-bottom: 1.5rem; }
  .book-editorial .book-quote { margin-bottom: 1.75rem; }
  .book-editorial .book-links { margin-top: 2.25rem; }

  .book-quote p {
    max-width: 18ch;
  }
}

@media (max-width: 900px) {
  .nav-desktop {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about-position {
    max-width: 28ch;
  }

  .fund-tracks,
  .fund-facts,
  .research-facts {
    grid-template-columns: 1fr;
  }

  .fund-facts,
  .research-facts {
    gap: 1.75rem;
  }

  .thesis-link {
    grid-template-columns: 3rem 1fr;
  }

  .thesis-arrow {
    display: none;
  }

  .pub {
    grid-template-columns: 3.5rem 1fr;
  }

  .pub-arrow {
    display: none;
  }

  .cred {
    grid-template-columns: 4.5rem 1fr;
    gap: 1rem;
  }
}

@media (max-width: 720px) {
  .hero {
    grid-template-rows: auto 1fr auto;
  }

  .hero-content {
    padding-top: calc(var(--header-h) + 1.25rem);
    padding-bottom: 1rem;
    justify-content: flex-end;
    min-height: 0;
    position: relative;
  }

  .hero-content::before {
    content: "";
    position: absolute;
    left: -8%;
    right: -8%;
    bottom: -0.5rem;
    top: 28%;
    z-index: -1;
    background: linear-gradient(
      180deg,
      rgba(21, 21, 18, 0) 0%,
      rgba(21, 21, 18, 0.72) 28%,
      rgba(21, 21, 18, 0.92) 100%
    );
    pointer-events: none;
  }

  .hero-media img {
    object-position: 84% 12%;
  }

  .hero-veil {
    background:
      linear-gradient(
        180deg,
        rgba(21, 21, 18, 0.42) 0%,
        rgba(21, 21, 18, 0.12) 18%,
        rgba(21, 21, 18, 0.55) 42%,
        rgba(21, 21, 18, 0.88) 62%,
        rgba(21, 21, 18, 0.96) 100%
      );
  }

  .hero-title {
    max-width: 12ch;
    font-size: clamp(2.4rem, 11vw, 3.4rem);
  }

  .hero-roles {
    color: var(--ivory);
  }

  .hero-sub {
    max-width: 34ch;
    color: rgba(245, 242, 233, 0.92);
  }

  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .hero-footer {
    flex-direction: row;
    align-items: center;
    gap: 1.1rem;
    padding-bottom: 1.25rem;
  }

  .scroll-cue {
    margin-left: auto;
  }

  .display {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  .fund-amount {
    font-size: clamp(5.5rem, 24vw, 8rem);
  }

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

  .footer-headline {
    max-width: 11ch;
  }
}

@media (max-width: 480px) {
  .hero-locations {
    gap: 0.65rem 1.35rem;
  }

  .hero-locations li:not(:last-child)::after {
    right: -0.75rem;
  }

  .cred {
    grid-template-columns: 1fr;
    gap: 0.4rem;
  }

  .book-figure {
    aspect-ratio: 1024 / 532;
  }

  .book-quote p {
    font-size: clamp(1.65rem, 8vw, 2.1rem);
  }
}

@media (min-width: 1440px) {
  .hero-title {
    font-size: 5.35rem;
  }

  .hero-media img {
    object-position: 74% 20%;
  }
}

@media (min-width: 901px) and (max-width: 1100px) {
  .hero-title {
    max-width: 12ch;
  }

  .hero-media img {
    object-position: 84% 20%;
  }
}

/* ---------- 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;
    scroll-behavior: auto !important;
  }

  .reveal,
  .hero .reveal {
    opacity: 1;
    transform: none;
  }

  .hero-media img,
  .book-figure img {
    transform: none !important;
  }
}
