:root {
  color-scheme: dark;
  --bg: #02030a;
  --bg-2: #070818;
  --panel: rgba(8, 11, 28, 0.86);
  --panel-strong: rgba(12, 16, 38, 0.96);
  --text: #f7f2ff;
  --muted: #b9b4cc;
  --soft: #89839f;
  --line: rgba(255, 255, 255, 0.105);
  --gold: #f7c86a;
  --gold-2: #f9e2a8;
  --violet: #9b7cff;
  --pink: #ff66c4;
  --blue: #77d5ff;
  --green: #75f0b5;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 16px;
  --max: 1180px;
}

* { box-sizing: border-box; }

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(111, 74, 255, 0.18), transparent 34rem),
    radial-gradient(circle at 90% 10%, rgba(247, 200, 106, 0.10), transparent 32rem),
    radial-gradient(circle at 50% 110%, rgba(119, 213, 255, 0.075), transparent 44rem),
    linear-gradient(180deg, var(--bg), #01020a 62%, #050411);
  color: var(--text);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 86px 86px;
  mask-image: linear-gradient(to bottom, black, transparent 78%);
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid rgba(249, 226, 168, 0.92);
  outline-offset: 4px;
}

p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.04rem;
  overflow-wrap: anywhere;
}

h1, h2, h3 {
  margin: 0;
  letter-spacing: -0.045em;
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7.5rem);
  line-height: 0.89;
  max-width: 980px;
}

h2 {
  font-size: clamp(2rem, 4.8vw, 4.6rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.22rem;
  line-height: 1.15;
}

#starfield {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100vw;
  height: 100vh;
  opacity: 0.62;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 50;
  width: min(var(--max), calc(100% - 28px));
  margin: 14px auto 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0.8rem 0.72rem 1rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(3, 4, 13, 0.86);
  backdrop-filter: blur(18px);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.22);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-direction: row;
  justify-content: center;
  gap: 0.6rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  min-width: auto;
  text-align: left;
}

.brand-mark {
  width: 30px;
  height: 30px;
  border-radius: 9px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 0 12px rgba(247, 200, 106, 0.24);
}

.brand span {
  display: block;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.16rem;
}

.site-nav a,
.nav-toggle {
  border-radius: 999px;
  padding: 0.68rem 0.78rem;
  color: var(--muted);
  font-size: 0.88rem;
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.site-nav .nav-cta {
  color: #140e02;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-weight: 800;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--text);
}

.section-pad {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
  padding: 110px 0;
}

.page-shell {
  width: min(var(--max), calc(100% - 36px));
  margin-inline: auto;
  padding: 86px 0 34px;
}

.page-hero {
  display: grid;
  gap: 1.2rem;
  padding: clamp(3rem, 7vw, 6rem) 0 clamp(2rem, 5vw, 4rem);
}

.page-hero h1 {
  max-width: 1080px;
  font-size: clamp(3rem, 6.7vw, 6.8rem);
}

.page-lede {
  max-width: 850px;
  margin: 0;
  font-size: clamp(1.08rem, 2vw, 1.32rem);
}

.page-section {
  padding: clamp(2rem, 6vw, 4.8rem) 0;
  border-top: 1px solid var(--line);
}

.page-section:first-of-type {
  border-top: 0;
}

.section-heading.compact h2 {
  max-width: 920px;
  font-size: clamp(2rem, 4.2vw, 4.1rem);
}

.hero {
  min-height: calc(100vh - 85px);
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.6rem;
  padding-top: 80px;
}

.hero-content {
  width: 100%;
}

.hero h1 {
  max-width: none;
  font-size: clamp(3rem, 7.2vw, 7.2rem);
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.2rem;
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.78rem;
  font-weight: 800;
}

.hero-lede {
  max-width: 920px;
  margin: 1.6rem 0 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.hero-actions,
.contact-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.86rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 850;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button.primary {
  color: #130e02;
  background: linear-gradient(135deg, var(--gold), #fff1bd);
  border-color: rgba(255, 255, 255, 0.1);
}

.button.secondary {
  color: var(--text);
  background: rgba(255, 255, 255, 0.045);
}

.proof-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 2.4rem;
  max-width: 930px;
}

.proof-strip div {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.032);
  padding: 1rem;
}

.proof-strip strong {
  display: block;
  margin-bottom: 0.38rem;
  color: var(--text);
}

.proof-strip span {
  color: var(--soft);
  font-size: 0.9rem;
  line-height: 1.45;
}

pre {
  margin: 0;
  padding: 1.4rem;
  overflow-x: auto;
  color: #dce8ff;
  font-size: 0.88rem;
  line-height: 1.58;
}

.paper-diagram {
  width: min(100%, 760px);
  margin: 1.35rem auto;
  border: 1px solid rgba(247, 200, 106, 0.2);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 16% 0%, rgba(247, 200, 106, 0.11), transparent 30%),
    rgba(255, 255, 255, 0.035);
  color: var(--soft);
}

.split-section {
  display: grid;
  grid-template-columns: 0.34fr 1fr;
  gap: 4rem;
  align-items: start;
}

.section-copy > p,
.centered > p,
.section-heading > p:not(.eyebrow) {
  max-width: 760px;
}

.mission-grid,
.capability-grid,
.lab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 2rem;
}

.mission-grid article,
.capability-card,
.lab-card,
.founder-profile,
.founder-credentials,
.contact-card,
.content-panel,
.route-card,
.stat-card,
.principle-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.028)),
    var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.mission-grid article,
.capability-card,
.lab-card,
.founder-profile,
.founder-credentials,
.content-panel,
.route-card,
.stat-card {
  padding: 1.35rem;
}

.route-grid,
.stat-grid {
  display: grid;
  gap: 1rem;
}

.route-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 2rem;
}

.stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.route-card {
  min-height: 210px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.route-card:hover,
.route-card:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(247, 200, 106, 0.32);
  background:
    radial-gradient(circle at 20% 0%, rgba(247,200,106,.13), transparent 42%),
    var(--panel);
}

.route-card span,
.content-panel span,
.stat-card span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.route-card h3,
.content-panel h3,
.stat-card strong {
  color: var(--text);
}

.route-card p,
.content-panel p,
.stat-card p {
  margin-bottom: 0;
}

.route-card .link-arrow {
  margin-top: auto;
  color: var(--gold-2);
  font-weight: 850;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.58fr);
  gap: 1rem;
  align-items: start;
}

.content-panel.feature {
  padding: clamp(1.5rem, 4vw, 2.8rem);
  background:
    radial-gradient(circle at 14% 0%, rgba(247,200,106,.16), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.026)),
    var(--panel);
}

.content-panel.feature p {
  font-size: 1.08rem;
}

.feature-list {
  display: grid;
  gap: 0.8rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  border: 1px solid rgba(255,255,255,.085);
  border-radius: var(--radius-md);
  padding: 0.9rem 1rem;
  color: var(--muted);
  background: rgba(255,255,255,.026);
  line-height: 1.55;
}

.feature-list strong {
  color: var(--text);
}

.research-program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.program-card,
.paper-library-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 18% 0%, rgba(247,200,106,.12), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.024)),
    var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.program-card {
  display: grid;
  gap: 1.1rem;
  padding: clamp(1.2rem, 3vw, 1.85rem);
}

.program-card h3,
.paper-library-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
}

.program-summary,
.paper-abstract {
  margin: 0;
  color: var(--muted);
}

.program-detail-grid {
  display: grid;
  gap: 0.7rem;
}

.program-detail {
  border: 1px solid rgba(255,255,255,.085);
  border-radius: var(--radius-md);
  padding: 0.85rem;
  background: rgba(255,255,255,.025);
}

.program-detail span,
.paper-label {
  display: block;
  margin-bottom: 0.38rem;
  color: var(--gold-2);
  font-size: 0.7rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.program-detail p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.55;
}

.fellow-ladder {
  position: relative;
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.fellow-ladder::before {
  content: "";
  position: absolute;
  top: 2rem;
  bottom: 2rem;
  left: 29px;
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--gold), rgba(155,124,255,.85), rgba(119,213,255,.72));
  box-shadow: 0 0 24px rgba(247, 200, 106, 0.18);
}

.fellow-level {
  position: relative;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.fellow-level-marker {
  position: sticky;
  top: 96px;
  z-index: 1;
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  color: #120e04;
  background: linear-gradient(135deg, var(--gold), #fff1bd);
  box-shadow: 0 12px 34px rgba(247, 200, 106, 0.16);
  font-weight: 950;
}

.fellow-level-card {
  display: grid;
  gap: 1rem;
  padding: clamp(1.2rem, 3vw, 1.85rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 0%, rgba(247,200,106,.13), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.024)),
    var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.fellow-level-top {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: start;
}

.fellow-level-top span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fellow-level-top h3 {
  font-size: clamp(1.65rem, 3vw, 2.65rem);
}

.fellow-level-badge {
  flex: 0 0 auto;
  border: 1px solid rgba(247, 200, 106, 0.24);
  border-radius: 999px;
  padding: 0.52rem 0.78rem;
  color: var(--gold-2);
  background: rgba(247, 200, 106, 0.08);
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

.fellow-level-card > p {
  max-width: 760px;
  margin: 0;
}

.fellow-level-card .program-summary strong {
  color: var(--text);
}

.fellow-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
}

.fellow-detail-grid section {
  border: 1px solid rgba(255,255,255,.085);
  border-radius: var(--radius-md);
  padding: 0.95rem;
  background: rgba(255,255,255,.025);
}

.fellow-detail-grid h4 {
  margin: 0 0 0.75rem;
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.fellow-detail-grid ul {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1rem;
  color: var(--muted);
  line-height: 1.48;
  font-size: 0.94rem;
}

.fellow-track-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.fellow-track-card,
.criteria-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 16% 0%, rgba(247,200,106,.11), transparent 40%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.024)),
    var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.2);
}

.fellow-track-card {
  min-height: 220px;
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.fellow-track-card span,
.criteria-card span {
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fellow-track-card h3 {
  font-size: clamp(1.28rem, 2vw, 1.65rem);
}

.fellow-track-card p,
.criteria-card p {
  margin: 0;
}

.criteria-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 2rem;
}

.criteria-card {
  min-height: 142px;
  padding: 1.05rem;
  display: grid;
  align-content: start;
  gap: 0.65rem;
}

.criteria-card-wide {
  grid-column: span 2;
}

.fellow-home-section {
  padding-top: 60px;
}

.fellow-mini-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.fellow-mini-card {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  background:
    radial-gradient(circle at 16% 0%, rgba(247,200,106,.12), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.032), rgba(255,255,255,.024)),
    var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.18);
}

.fellow-mini-card span {
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fellow-mini-card p {
  margin: 0;
  font-size: 1rem;
}

.trust-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 4vw, 2.8rem);
  background:
    radial-gradient(circle at 12% 0%, rgba(247,200,106,.14), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.034), rgba(255,255,255,.024)),
    var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.2);
}

.trust-card h2 {
  max-width: 880px;
}

.trust-card > p:not(.eyebrow) {
  max-width: 820px;
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 2rem;
}

.trust-grid article {
  min-height: 150px;
  display: grid;
  align-content: start;
  gap: 0.65rem;
  border: 1px solid rgba(255,255,255,.085);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(255,255,255,.03);
}

.trust-grid span {
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.trust-grid p,
.trust-grid a {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.trust-grid a {
  color: var(--gold-2);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.fellow-cta-strip,
.fellow-application {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 0%, rgba(247,200,106,.16), transparent 42%),
    linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.024)),
    var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.fellow-cta-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: clamp(2rem, 5vw, 4rem);
  padding: 1.05rem 1.15rem;
}

.route-grid + .fellow-cta-strip {
  margin-top: 1rem;
}

.fellow-cta-strip span {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--gold-2);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fellow-cta-strip p {
  margin: 0;
  font-size: 0.98rem;
}

.fellow-cta-strip .button {
  flex: 0 0 auto;
}

.fellow-application {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  padding: clamp(1.35rem, 4vw, 2.6rem);
}

.fellow-application h2 {
  max-width: 760px;
}

.fellow-application p:not(.eyebrow) {
  max-width: 840px;
}

.fellow-credibility-note {
  border-left: 2px solid rgba(247, 200, 106, 0.6);
  padding-left: 1rem;
  color: var(--soft);
  font-size: 0.96rem;
}

.fellow-application-actions {
  display: grid;
  gap: 0.75rem;
  min-width: 230px;
}

.paper-library {
  display: grid;
  gap: clamp(2.1rem, 4.6vw, 3rem);
  margin-top: clamp(2.2rem, 4vw, 3rem);
}

.publications-library-heading {
  margin-bottom: 1.35rem;
}

.publication-types {
  display: grid;
  gap: 1.35rem;
}

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

.publication-category-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1.1rem;
  background:
    radial-gradient(circle at 18% 0%, rgba(247,200,106,.12), transparent 48%),
    rgba(255,255,255,.028);
}

.publication-category-card span {
  display: block;
  color: var(--text);
  font-weight: 900;
  margin-bottom: 0.45rem;
}

.publication-category-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.publication-filter {
  display: flex;
  flex-wrap: wrap;
  column-gap: 0.72rem;
  row-gap: 0.85rem;
  align-items: center;
  margin-bottom: clamp(2.2rem, 4.6vw, 3.1rem);
  padding-bottom: clamp(1.1rem, 2.6vw, 1.55rem);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.publication-filter-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.72rem 0.95rem;
  color: var(--muted);
  background: rgba(255,255,255,.036);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 850;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.publication-filter-tab:hover,
.publication-filter-tab:focus-visible {
  color: var(--text);
  border-color: rgba(247, 200, 106, 0.35);
  transform: translateY(-1px);
}

.publication-filter-tab.is-active,
.publication-filter-tab[aria-pressed="true"] {
  color: #130e02;
  border-color: rgba(255,255,255,.12);
  background: linear-gradient(135deg, var(--gold), #fff1bd);
}

.publication-empty {
  margin: 1rem 0 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: var(--muted);
  background: rgba(255,255,255,.028);
}

.publication-collection {
  display: grid;
  gap: clamp(1.25rem, 2.6vw, 1.75rem);
}

.publication-collection[hidden] {
  display: none;
}

.publication-collection-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding-top: 0.15rem;
}

.publication-collection-header h2 {
  margin: 0;
  max-width: 820px;
  font-size: clamp(1.45rem, 3.2vw, 2.35rem);
  letter-spacing: 0;
}

.publication-collection-header p:not(.eyebrow) {
  max-width: 860px;
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.publication-collection-count {
  flex: 0 0 auto;
  border: 1px solid rgba(247, 200, 106, 0.28);
  border-radius: 999px;
  padding: 0.5rem 0.72rem;
  color: var(--cream);
  background: rgba(247, 200, 106, 0.08);
  font-size: 0.82rem;
  font-weight: 850;
  white-space: nowrap;
}

.publication-collection-grid {
  display: grid;
  gap: clamp(1.6rem, 4vw, 2.4rem);
}

.paper-library-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: center;
  padding: clamp(1.35rem, 3vw, 2rem);
}

.paper-library-card.is-filtered-out {
  display: none !important;
}

.paper-library-main {
  display: grid;
  gap: 0.85rem;
  max-width: 860px;
}

.paper-library-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.paper-library-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.42rem 0.62rem;
  color: var(--muted);
  background: rgba(255,255,255,.032);
  font-size: 0.78rem;
  font-weight: 800;
  white-space: nowrap;
}

.paper-library-meta .publication-type-badge {
  color: #0e0b05;
  border-color: transparent;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.publication-type-badge.type-whitepaper {
  background: linear-gradient(135deg, #b9e6ff, #77d5ff 48%, #d7c7ff);
}

.publication-type-badge.type-strategic {
  background: linear-gradient(135deg, var(--gold), #fff1bd);
}

.paper-audience {
  margin: 0;
  color: var(--soft);
  font-size: 0.96rem;
  line-height: 1.55;
}

.paper-library-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  min-width: 176px;
}

.paper-library-actions .button {
  min-height: 42px;
  padding: 0.72rem 0.95rem;
  font-size: 0.88rem;
}

.section-link-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
}

.section-link-row .section-heading {
  max-width: 780px;
}

.centered {
  text-align: center;
  display: grid;
  justify-items: center;
}

.flow {
  display: grid;
  grid-template-columns: 1fr 36px 1fr 36px 1fr 36px 1fr 36px 1fr;
  align-items: center;
  gap: 0.4rem;
  margin: 2.6rem auto;
  max-width: 1000px;
}

.flow div {
  min-height: 64px;
  display: grid;
  place-items: center;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.038);
  color: var(--text);
  font-weight: 800;
}

.flow span {
  height: 2px;
  background: linear-gradient(90deg, var(--violet), var(--gold));
  position: relative;
}

.flow span::after {
  content: "";
  position: absolute;
  right: -1px;
  top: -4px;
  width: 10px;
  height: 10px;
  border-top: 2px solid var(--gold);
  border-right: 2px solid var(--gold);
  transform: rotate(45deg);
}

.capability-card ul {
  padding-left: 1.1rem;
  color: var(--muted);
  line-height: 1.9;
}

.lab-card {
  position: relative;
  overflow: hidden;
}

.labs-section {
  width: min(1280px, calc(100% - 36px));
}

.labs-section .lab-grid {
  gap: 0.85rem;
}

.labs-section .lab-card {
  padding: 1.2rem;
}

.lab-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(circle at 25% 0%, rgba(247,200,106,.2), transparent 38%);
  pointer-events: none;
}

.lab-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.6rem;
  color: var(--soft);
  font-size: 0.82rem;
}

.lab-badge {
  display: inline-flex;
  border-radius: 999px;
  padding: 0.42rem 0.7rem;
  font-weight: 900;
  color: #0b0610;
}

.lab-badge.radar { background: linear-gradient(135deg, #c394ff, #ffd1f0); }
.lab-badge.firefish { background: linear-gradient(135deg, #ff68c8, #ffc36a); }
.lab-badge.candles { background: linear-gradient(135deg, #75f0b5, #77d5ff); }
.lab-badge.beacon { background: linear-gradient(135deg, var(--gold), var(--gold-2)); }

.labs-section .beacon-lab-card .tag-row {
  flex-wrap: wrap;
}

/* Beacon reuses the site's panels, typography and controls. */
.beacon-page section[id] {
  scroll-margin-top: 110px;
}

.beacon-skip-link {
  position: fixed;
  top: 0.5rem;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  color: var(--bg);
  background: var(--gold-2);
  transform: translateY(-160%);
}

.beacon-skip-link:focus {
  transform: translateY(0);
}

.beacon-boundary {
  max-width: 850px;
  margin: 0;
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
}

.beacon-connection,
.beacon-client-guide {
  margin-top: 1.5rem;
}

.beacon-endpoint-label {
  display: block;
  margin-bottom: 0.75rem;
  color: var(--gold-2);
  font-weight: 800;
}

.beacon-endpoint-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
}

.beacon-endpoint {
  display: block;
  flex: 1 1 24rem;
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 4.5rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-2);
  color: var(--text);
  font: 1rem/1.6 ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
  resize: vertical;
}

.beacon-endpoint:focus-visible {
  outline: 2px solid var(--gold-2);
  outline-offset: 4px;
}

#copy-beacon-endpoint {
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.beacon-copy-status {
  min-height: 1.7em;
}

.beacon-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1.1rem 1.6rem;
  margin: 1.8rem 0;
}

.beacon-facts dt {
  margin-bottom: 0.3rem;
  color: var(--gold-2);
  font-weight: 800;
}

.beacon-facts dd {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.beacon-client-guide a {
  color: var(--gold-2);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.beacon-steps {
  padding-left: 1.4rem;
  color: var(--gold-2);
}

.beacon-steps li {
  padding-left: 0.4rem;
  margin-bottom: 1.5rem;
}

.beacon-page code {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  overflow-wrap: anywhere;
}

.beacon-command {
  max-width: 100%;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--bg-2);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}

.beacon-tools {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
}

.beacon-tools h3 {
  font-size: 1.05rem;
  line-height: 1.55;
  letter-spacing: 0;
}

.beacon-resource h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.15;
}

.beacon-resource-uri {
  color: var(--gold-2);
}

.beacon-examples {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr));
}

.beacon-flow {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1rem;
  padding: 0;
  margin: 2rem 0;
  list-style: none;
  counter-reset: beacon-step;
}

.beacon-flow li {
  counter-increment: beacon-step;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--panel);
}

.beacon-flow li::before {
  content: counter(beacon-step, decimal-leading-zero);
  display: block;
  margin-bottom: 0.8rem;
  color: var(--gold-2);
  font-weight: 800;
}

.beacon-flow small {
  display: block;
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.beacon-publication-badge {
  align-self: flex-start;
  padding: 0.4rem 0.6rem;
  border: 1px solid rgba(247, 200, 106, 0.3);
  border-radius: 999px;
  color: var(--gold-2);
  background: rgba(247, 200, 106, 0.06);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.beacon-publication-badge:hover {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.2rem;
}

.tag-row span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.4rem 0.62rem;
  color: var(--muted);
  font-size: 0.78rem;
  background: rgba(255,255,255,.028);
}

.labs-section .tag-row {
  flex-wrap: nowrap;
  gap: 0.35rem;
}

.labs-section .tag-row span {
  padding: 0.36rem 0.55rem;
  font-size: 0.76rem;
  white-space: nowrap;
}

.lab-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  margin-top: 1.25rem;
  border-bottom: 1px solid rgba(247, 200, 106, 0.55);
  color: var(--gold-2);
  font-size: 0.9rem;
  font-weight: 850;
  transition: color 180ms ease, border-color 180ms ease;
}

.lab-link:hover,
.lab-link:focus-visible {
  color: var(--gold);
  border-color: var(--gold);
}

.founder-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(460px, 1.05fr);
  gap: clamp(1rem, 2vw, 1.35rem);
  margin-top: 1.4rem;
  align-items: stretch;
}

.founder-page .page-section {
  padding-block: clamp(2.6rem, 6vw, 5.4rem);
}

.founder-hero {
  max-width: 1080px;
  padding-top: clamp(4.2rem, 8vw, 7rem);
  padding-bottom: clamp(2.8rem, 6vw, 5.2rem);
}

.founder-hero h1 {
  max-width: 960px;
}

.founder-hero .page-lede {
  max-width: 900px;
}

.founder-belief {
  width: min(100%, 760px);
  margin-top: 0.45rem;
  padding: clamp(1rem, 2.2vw, 1.3rem) clamp(1.05rem, 2.4vw, 1.55rem);
  border: 1px solid rgba(247, 200, 106, 0.28);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 8% 0%, rgba(247,200,106,.16), transparent 38%),
    rgba(255,255,255,.035);
  color: var(--text);
  font-weight: 760;
}

.founder-profile,
.founder-credentials {
  padding: clamp(1.4rem, 3vw, 2.2rem);
}

.founder-nameplate {
  display: flex;
  align-items: center;
  margin-bottom: 1.35rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.founder-nameplate h3 {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
}

.founder-nameplate span {
  display: block;
  margin-top: 0.22rem;
  color: var(--gold-2);
  font-size: 0.88rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.founder-profile p {
  max-width: 760px;
  line-height: 1.72;
}

.founder-profile p + p {
  margin-top: 1.05rem;
}

.founder-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.founder-credentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
}

.founder-credentials article {
  min-height: 152px;
  display: block;
  padding: clamp(1rem, 2vw, 1.18rem);
  border: 1px solid rgba(255,255,255,.095);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 18% 0%, rgba(247,200,106,.12), transparent 52%),
    rgba(255,255,255,.026);
}

.founder-credentials span {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.11em;
  line-height: 1.25;
  text-transform: uppercase;
}

.founder-credentials strong {
  display: block;
  max-width: 54ch;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.52;
}

.founder-labs-grid {
  align-items: stretch;
}

.founder-lab-card {
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.35rem, 2.4vw, 1.7rem);
}

.founder-lab-card h3 {
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  margin-bottom: 0.85rem;
}

.founder-lab-card p {
  margin-bottom: 0;
  line-height: 1.65;
}

.founder-page .content-grid {
  gap: clamp(1rem, 2vw, 1.35rem);
}

.founder-page .content-panel.feature {
  min-height: 100%;
}

.founder-final-section {
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.founder-final-cta {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: end;
}

.founder-final-cta .section-heading {
  margin: 0;
}

.founder-final-cta .founder-actions {
  min-width: 320px;
  justify-content: flex-end;
}

.whitepaper-feature {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
  padding: clamp(1.35rem, 4vw, 2.6rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 0%, rgba(247,200,106,.16), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.026)),
    var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.whitepaper-row-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.whitepaper-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(1rem, 2vw, 1.35rem);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 16% 0%, rgba(247,200,106,.08), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.028), rgba(255,255,255,.024)),
    var(--panel);
  box-shadow: 0 14px 52px rgba(0, 0, 0, 0.18);
}

.whitepaper-row.available {
  border-color: rgba(247, 200, 106, 0.22);
}

.paper-row-index {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #140e02;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.04em;
}

.paper-row-copy h3 {
  margin-bottom: 0.32rem;
  font-size: clamp(1.35rem, 2vw, 2rem);
  line-height: 1.05;
}

.paper-row-copy p {
  max-width: 860px;
  margin: 0;
  font-size: 0.98rem;
}

.paper-row-copy .paper-meta {
  margin-top: 0.75rem;
}

.paper-row-copy .paper-meta span {
  font-size: 0.76rem;
}

.whitepaper-row .whitepaper-card-actions {
  justify-content: flex-end;
  margin-top: 0;
  min-width: 210px;
}

.whitepaper-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.95rem;
  margin-top: 2rem;
}

.whitepaper-card {
  min-height: 460px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  padding: 1.15rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 0%, rgba(247,200,106,.13), transparent 38%),
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.026)),
    var(--panel);
  box-shadow: 0 18px 70px rgba(0, 0, 0, 0.22);
}

.whitepaper-card.available {
  border-color: rgba(247, 200, 106, 0.24);
}

.whitepaper-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.3rem;
}

.paper-sequence,
.paper-status,
.paper-coming {
  display: inline-flex;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.38rem 0.58rem;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.paper-sequence {
  color: var(--gold-2);
  background: rgba(247,200,106,.08);
  border-color: rgba(247,200,106,.22);
}

.paper-status {
  color: var(--soft);
  background: rgba(255,255,255,.028);
}

.paper-status.ready {
  color: #101009;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  border-color: rgba(255,255,255,.14);
}

.whitepaper-card h3 {
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.05;
}

.whitepaper-card p {
  margin-bottom: 0;
  font-size: 0.98rem;
}

.whitepaper-card .paper-meta {
  margin-top: auto;
}

.whitepaper-card .paper-meta span {
  font-size: 0.76rem;
}

.whitepaper-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.15rem;
}

.whitepaper-card-actions .button {
  min-height: 42px;
  padding: 0.72rem 0.95rem;
  font-size: 0.88rem;
}

.paper-coming {
  color: var(--muted);
  background: rgba(255,255,255,.032);
}

.whitepaper-copy {
  max-width: 780px;
}

.whitepaper-copy h3 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
}

.paper-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.paper-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.46rem 0.68rem;
  color: var(--muted);
  background: rgba(255,255,255,.032);
  font-size: 0.82rem;
  font-weight: 750;
}

.whitepaper-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  min-width: 190px;
}

.paper-page {
  width: min(940px, calc(100% - 36px));
  margin-inline: auto;
  padding: 82px 0 30px;
}

.paper-document {
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 50% 0%, rgba(247,200,106,.12), transparent 24rem),
    rgba(8, 11, 28, 0.88);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.paper-hero {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: clamp(2rem, 5vw, 4.4rem) clamp(1.35rem, 4vw, 4rem) clamp(1.4rem, 3vw, 2.3rem);
  border-bottom: 1px solid var(--line);
}

.paper-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 20px;
  margin-bottom: 1rem;
  box-shadow: 0 0 34px rgba(247, 200, 106, 0.28);
}

.paper-hero h1 {
  font-size: clamp(2.7rem, 7vw, 5.5rem);
  max-width: 760px;
}

.paper-subtitle {
  max-width: 720px;
  margin: 1.1rem auto 0;
  font-size: clamp(1.08rem, 2vw, 1.35rem);
}

.paper-byline {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.3rem;
  color: var(--muted);
}

.paper-byline span {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.46rem 0.68rem;
  background: rgba(255,255,255,.032);
  font-size: 0.84rem;
  font-weight: 760;
}

.paper-controls {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  margin-top: 1.8rem;
}

.paper-section {
  padding: clamp(1.3rem, 3.2vw, 2.4rem) clamp(1.35rem, 4vw, 4rem);
  border-bottom: 1px solid rgba(255,255,255,.075);
}

.paper-section:last-child {
  border-bottom: none;
}

.paper-section h2 {
  max-width: 760px;
  margin-inline: auto;
  margin-bottom: 1rem;
  font-size: clamp(1.6rem, 3vw, 2.6rem);
}

.paper-section h3 {
  max-width: 760px;
  margin: 1.55rem auto 0.75rem;
  color: var(--text);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.paper-section h2 + h3 {
  margin-top: 0;
}

.paper-section p {
  max-width: 760px;
  margin: 0 auto 1rem;
  font-size: 1.05rem;
}

.paper-document-longform .paper-section {
  padding-block: clamp(1.9rem, 3.7vw, 3rem);
}

.paper-document-longform .paper-section h2 {
  margin-bottom: 1.15rem;
  font-size: clamp(1.75rem, 2.8vw, 2.45rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.paper-document-longform .paper-section p {
  font-size: clamp(1rem, 1.4vw, 1.09rem);
  line-height: 1.82;
}

.paper-document-longform .paper-section p + p {
  margin-top: 1.05rem;
}

.paper-document-longform .paper-section h3 {
  max-width: 760px;
  margin: 1.25rem auto 0.65rem;
  color: var(--gold-2);
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  line-height: 1.28;
  letter-spacing: 0;
}

.paper-comparison {
  max-width: 760px;
  margin: 1.5rem auto 0;
}

.paper-document-longform .paper-comparison .paper-comparison-kicker {
  max-width: none;
  margin: 0 0 0.75rem;
  color: var(--gold-2);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.1em;
  line-height: 1.2;
  text-transform: uppercase;
}

.paper-comparison-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.paper-comparison-grid article {
  padding: 1rem;
  border: 1px solid rgba(247, 200, 106, 0.16);
  border-radius: 16px;
  background:
    radial-gradient(circle at 12% 0%, rgba(247, 200, 106, 0.1), transparent 38%),
    rgba(255, 255, 255, 0.045);
}

.paper-comparison-grid h4 {
  margin: 0 0 0.5rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.25;
}

.paper-document-longform .paper-comparison-grid p {
  max-width: none;
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.55;
}

.paper-document-longform .paper-comparison-grid p + p {
  margin-top: 0.55rem;
}

.paper-section-label {
  display: block;
  max-width: 760px;
  margin: 0 auto 0.55rem;
  color: var(--gold-2);
  font-size: 0.74rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.paper-chapter-section {
  background: linear-gradient(180deg, rgba(247, 200, 106, 0.035), rgba(12, 13, 25, 0) 58%);
}

.paper-chapter-section .paper-section-label {
  margin-bottom: 0.7rem;
}

.paper-chapter-break,
.paper-appendix-heading {
  max-width: 760px;
  margin: 2.1rem auto 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(247, 200, 106, 0.22);
}

.paper-chapter-break .paper-section-label,
.paper-appendix-heading .paper-section-label {
  margin-inline: 0;
}

.paper-document-longform .paper-chapter-break h2,
.paper-document-longform .paper-appendix-heading h2 {
  margin: 0;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
}

.paper-section p:last-child {
  margin-bottom: 0;
}

.paper-callout {
  display: grid;
  gap: 0.35rem;
  max-width: 760px;
  margin: 1.35rem auto;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(247,200,106,.22);
  border-radius: var(--radius-md);
  background: rgba(247,200,106,.075);
}

.paper-callout strong {
  color: var(--text);
}

.paper-callout span {
  color: var(--muted);
  line-height: 1.55;
}

.decision-example {
  display: grid;
  gap: 1rem;
  max-width: 760px;
  margin: 1.45rem auto 0;
  padding: clamp(1rem, 2.4vw, 1.35rem);
  border: 1px solid rgba(247, 200, 106, 0.22);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 12% 0%, rgba(247,200,106,.12), transparent 32%),
    rgba(255,255,255,.034);
}

.decision-example-header,
.decision-example-grid,
.decision-reasons {
  display: grid;
  gap: 0.55rem;
}

.decision-example-header {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.decision-example-header span,
.decision-example-grid span,
.decision-reasons > span {
  color: var(--gold-2);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.decision-example-header strong {
  border-radius: 999px;
  padding: 0.52rem 0.75rem;
  color: #120c02;
  background: linear-gradient(135deg, var(--gold), var(--gold-2));
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
}

.decision-example-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.decision-example-grid div {
  display: grid;
  gap: 0.35rem;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255,255,255,.028);
}

.decision-example-grid strong {
  color: var(--text);
  font-size: 1.05rem;
}

.decision-reasons div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.decision-reasons strong {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.48rem 0.65rem;
  color: var(--soft);
  background: rgba(255,255,255,.032);
  font-size: 0.84rem;
  line-height: 1.2;
}

.paper-table {
  width: min(100%, 760px);
  margin: 1.25rem auto;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.48;
}

.paper-table th,
.paper-table td {
  padding: 0.85rem;
  border-bottom: 1px solid rgba(255,255,255,.075);
  vertical-align: top;
}

.paper-table th {
  color: var(--gold-2);
  text-align: left;
  background: rgba(247,200,106,.06);
}

.paper-table tr:last-child td {
  border-bottom: 0;
}

.paper-list {
  display: grid;
  gap: 0.75rem;
  max-width: 760px;
  margin: 1rem auto 1.35rem;
  padding-left: 1.25rem;
  color: var(--muted);
  line-height: 1.65;
}

.paper-list + p {
  margin-top: 1.2rem;
}

.paper-list strong,
.paper-close {
  color: var(--gold-2);
}

.legal-copy {
  max-width: 920px;
  display: grid;
  gap: 1rem;
}

.legal-copy h2 {
  margin-top: 0.8rem;
  font-size: clamp(1.55rem, 3vw, 2.4rem);
}

.legal-copy p,
.legal-copy li {
  color: var(--muted);
  line-height: 1.72;
  font-size: 1.02rem;
}

.legal-copy ul {
  display: grid;
  gap: 0.65rem;
  margin: 0.2rem 0 0;
  padding-left: 1.25rem;
}

.legal-note {
  border: 1px solid rgba(247,200,106,.22);
  border-radius: var(--radius-md);
  padding: 1rem;
  background: rgba(247,200,106,.06);
  color: var(--gold-2);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;
  gap: 2rem;
  padding: clamp(1.4rem, 4vw, 3rem);
}

.principle-card {
  padding: clamp(1.7rem, 5vw, 4.2rem);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(247,200,106,.16), transparent 44%),
    rgba(255,255,255,.028);
}

.principle-logo {
  display: block;
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 16px;
  margin: 0 auto 0.8rem;
  box-shadow: 0 0 30px rgba(247, 200, 106, 0.24);
}

.principle-card span {
  color: var(--gold-2);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: clamp(0.9rem, 1.35vw, 1.18rem);
  font-weight: 900;
}

.principle-card h2 {
  margin: 1rem auto 0;
  max-width: 980px;
}

.contact-card {
  align-items: center;
}

.contact-actions {
  justify-content: end;
  margin-top: 0;
}

.site-footer {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem 2rem;
  color: var(--soft);
  border-top: 1px solid var(--line);
}

.site-footer strong,
.site-footer span {
  display: block;
}

.site-footer strong {
  color: var(--text);
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-footer a {
  color: var(--gold-2);
  font-weight: 800;
}

.footer-brand {
  display: grid;
  gap: 0.4rem;
}

.footer-email {
  width: fit-content;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 0.35rem 0.8rem;
  max-width: 560px;
}

.footer-links a {
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold-2);
}

.footer-bottom {
  grid-column: 1 / -1;
  color: var(--soft);
  font-size: 0.88rem;
}

.footer-mark {
  width: 28px;
  height: 28px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 0 18px rgba(247, 200, 106, 0.24);
}

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 700ms ease, transform 700ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.delay-1 { transition-delay: 100ms; }
.delay-2 { transition-delay: 190ms; }


.related-publications > p {
  max-width: 760px;
  margin-inline: auto;
}

.related-publication-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 760px;
  margin: 1.4rem auto 0;
}

.related-publication-card {
  display: grid;
  align-content: start;
  gap: 0.55rem;
  min-height: 190px;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 16% 0%, rgba(247,200,106,.11), transparent 44%),
    rgba(255,255,255,.03);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.related-publication-card:hover,
.related-publication-card:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(247, 200, 106, 0.32);
  background:
    radial-gradient(circle at 16% 0%, rgba(247,200,106,.16), transparent 46%),
    rgba(255,255,255,.04);
}

.related-publication-card span {
  color: var(--gold-2);
  font-size: 0.68rem;
  font-weight: 950;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.related-publication-card strong {
  color: var(--text);
  line-height: 1.2;
}

.related-publication-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.methodology-grid .route-card {
  min-height: 230px;
}

.methodology-content {
  margin-top: 2rem;
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 0.8rem;
    border: 1px solid var(--line);
    border-radius: 26px;
    background: rgba(3, 4, 13, 0.98);
  }
  .site-nav.open { display: flex; }
  .hero,
  .split-section,
  .founder-layout,
  .contact-card,
  .whitepaper-feature,
  .content-grid,
  .founder-final-cta {
    grid-template-columns: 1fr;
  }
  .route-grid,
  .stat-grid,
  .research-program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .publication-categories {
    grid-template-columns: 1fr;
  }
  .related-publication-grid { grid-template-columns: 1fr; }
  .publication-collection-header {
    align-items: start;
    flex-direction: column;
  }
  .publication-collection-count {
    width: fit-content;
  }
  .paper-library-card {
    grid-template-columns: 1fr;
  }
  .paper-library-actions {
    min-width: 0;
    align-items: start;
  }
  .fellow-cta-strip,
  .fellow-application {
    grid-template-columns: 1fr;
  }
  .fellow-cta-strip {
    align-items: stretch;
    flex-direction: column;
  }
  .fellow-cta-strip .button,
  .fellow-application-actions {
    width: 100%;
  }
  .fellow-detail-grid {
    grid-template-columns: 1fr;
  }
  .fellow-track-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .fellow-mini-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .criteria-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .whitepaper-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .whitepaper-row {
    grid-template-columns: 48px minmax(0, 1fr);
    align-items: center;
  }
  .whitepaper-row .whitepaper-card-actions {
    grid-column: 2;
    justify-content: start;
    margin-top: 0.25rem;
    min-width: 0;
  }
  .founder-credentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .founder-credentials article {
    min-height: auto;
  }
  .founder-final-cta .founder-actions {
    min-width: 0;
    justify-content: start;
  }
  .proof-strip,
  .mission-grid,
  .capability-grid,
  .lab-grid,
  .whitepaper-feature {
    grid-template-columns: 1fr;
  }
  .flow {
    grid-template-columns: 1fr;
  }
  .flow span {
    width: 2px;
    height: 28px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--violet), var(--gold));
  }
  .flow span::after {
    right: -4px;
    top: auto;
    bottom: -1px;
    transform: rotate(135deg);
  }
  .contact-actions { justify-content: start; }
  .whitepaper-actions { align-items: start; }
}

@media (max-width: 640px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }
  .section-pad {
    width: calc(100% - 44px);
    max-width: calc(100vw - 44px);
    padding: 78px 0;
  }
  .page-shell,
  .site-footer {
    width: calc(100% - 44px);
    max-width: calc(100vw - 44px);
  }
  .hero {
    padding-top: 70px;
    min-height: auto;
  }
  .hero,
  .hero-content,
  .section-heading,
  .route-grid,
  .proof-strip,
  .paper-library-card,
  .publication-collection,
  .publication-collection-grid,
  .research-program-grid,
  .program-card,
  .content-panel,
  .trust-card {
    max-width: 100%;
    min-width: 0;
  }
  .site-header {
    width: calc(100% - 32px);
    max-width: calc(100vw - 32px);
    border-radius: 24px;
    padding: 0.62rem;
  }
  .brand span { display: none; }
  .nav-toggle {
    padding: 0.64rem 0.78rem;
  }
  .eyebrow,
  .section-kicker {
    display: block;
    max-width: 100%;
    line-height: 1.45;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }
  h1,
  .hero h1,
  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(2rem, 8.6vw, 2.35rem);
    line-height: 1.04;
    letter-spacing: -0.035em;
    overflow-wrap: normal;
    word-break: normal;
  }
  .hero-lede,
  .page-lede {
    max-width: 100%;
    font-size: 1rem;
    line-height: 1.62;
  }
  .founder-hero {
    padding-top: 78px;
  }
  .founder-belief {
    width: 100%;
    padding: 1rem;
    border-left-width: 3px;
    font-size: 0.98rem;
  }
  h2 {
    font-size: clamp(1.9rem, 9vw, 2.8rem);
    line-height: 1.02;
  }
  .hero-actions,
  .contact-actions,
  .founder-actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }
  .button {
    width: 100%;
  }
  .lab-top {
    flex-direction: column;
    align-items: flex-start;
  }
  .labs-section .tag-row {
    flex-wrap: wrap;
  }
  .route-grid,
  .stat-grid,
  .research-program-grid {
    grid-template-columns: 1fr;
  }
  .founder-credentials {
    grid-template-columns: 1fr;
  }
  .founder-lab-card {
    min-height: auto;
  }
  .founder-final-cta .founder-actions {
    width: 100%;
  }
  .fellow-ladder::before {
    left: 21px;
  }
  .fellow-level {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.75rem;
  }
  .fellow-level-marker {
    position: relative;
    top: 0;
    width: 42px;
    height: 42px;
    border-radius: 14px;
    font-size: 0.86rem;
  }
  .fellow-level-card {
    padding: 1.15rem;
  }
  .fellow-level-top {
    flex-direction: column;
    gap: 0.75rem;
  }
  .fellow-level-badge {
    width: fit-content;
  }
  .fellow-track-grid,
  .criteria-grid,
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .fellow-track-card {
    min-height: auto;
  }
  .fellow-mini-card {
    min-height: auto;
  }
  .criteria-card,
  .criteria-card-wide {
    grid-column: auto;
    min-height: auto;
  }
  .fellow-application-actions {
    min-width: 0;
  }
  .section-link-row {
    align-items: stretch;
    flex-direction: column;
  }
  .publication-filter {
    align-items: stretch;
    flex-direction: column;
  }
  .publication-filter-tab {
    width: 100%;
  }
  .paper-library-actions,
  .paper-library-actions .button {
    width: 100%;
  }
  .whitepaper-grid { grid-template-columns: 1fr; }
  .whitepaper-card { min-height: auto; }
  .whitepaper-row {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 0.85rem;
  }
  .paper-row-index {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }
  .whitepaper-row .whitepaper-card-actions {
    grid-column: 1 / -1;
  }
  .decision-example-header,
  .decision-example-grid {
    grid-template-columns: 1fr;
  }
  .paper-comparison-grid {
    grid-template-columns: 1fr;
  }
  .paper-table {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 0;
    background: transparent;
    overflow: visible;
  }
  .paper-table thead {
    display: none;
  }
  .paper-table tbody {
    display: grid;
    gap: 0.85rem;
  }
  .paper-table tr {
    display: grid;
    gap: 0.7rem;
    padding: 0.95rem;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background:
      radial-gradient(circle at 10% 0%, rgba(247, 200, 106, 0.08), transparent 36%),
      rgba(255,255,255,.032);
  }
  .paper-table th,
  .paper-table td {
    border: 0;
    padding: 0;
  }
  .paper-table td {
    display: grid;
    grid-template-columns: minmax(7.4rem, 36%) minmax(0, 1fr);
    gap: 0.7rem;
    align-items: start;
  }
  .paper-table td[data-label]::before {
    content: attr(data-label);
    color: var(--gold-2);
    font-size: 0.68rem;
    font-weight: 950;
    letter-spacing: 0.09em;
    line-height: 1.25;
    text-transform: uppercase;
  }
  .paper-table td:first-child {
    color: var(--text);
    font-weight: 850;
  }
  .site-footer {
    grid-template-columns: 1fr;
  }
  .footer-links {
    justify-content: start;
  }
}

@media print {
  @page { margin: 0.55in; }
  * {
    background: transparent !important;
    box-shadow: none !important;
    color: #111 !important;
  }
  body {
    background: #fff !important;
    color: #111 !important;
    font-family: Georgia, "Times New Roman", serif;
  }
  #starfield,
  .site-header,
  .site-footer,
  .paper-controls {
    display: none !important;
  }
  .paper-page {
    width: 100%;
    padding: 0;
  }
  .paper-document {
    border: 0;
    border-radius: 0;
  }
  .paper-hero {
    padding: 0 0 0.18in;
    border-bottom: 1px solid #bbb;
  }
  .paper-logo {
    width: 0.62in;
    height: 0.62in;
    margin-bottom: 0.08in;
  }
  .eyebrow {
    margin-bottom: 0.07in;
    font-size: 8.5pt;
    letter-spacing: 0.08em;
  }
  .paper-hero h1 {
    font-size: 24pt;
    line-height: 1;
  }
  .paper-subtitle,
  .paper-byline span {
    font-size: 10pt;
  }
  .paper-subtitle {
    margin-top: 0.08in;
  }
  .paper-byline {
    margin-top: 0.08in;
  }
  .paper-byline span {
    border: 0;
    padding: 0;
  }
  .paper-section {
    padding: 0.13in 0;
    border-bottom: 0;
    break-inside: avoid;
  }
  .paper-section h2 {
    margin-bottom: 0.05in;
    font-size: 14pt;
    line-height: 1.12;
  }
  .paper-section p,
  .paper-list,
  .paper-callout span {
    font-size: 9.6pt;
    line-height: 1.34;
  }
  .paper-section p {
    margin-bottom: 0.06in;
  }
  .paper-callout {
    border: 1px solid #bbb;
    margin: 0.08in 0;
    padding: 0.07in;
  }
  .paper-list {
    gap: 0.04in;
    margin-top: 0.05in;
  }
  a[href]::after {
    content: "";
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
