@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans-Regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans-Medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Public Sans";
  src: url("fonts/PublicSans-SemiBold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --navy: #112e51;
  --navy-2: #205493;
  --ink: #212121;
  --muted: #5b616b;
  --teal: #0071bc;
  --accent: #ffbe2e;
  --mint: #e1f3f8;
  --ice: #f5fbfc;
  --paper: #ffffff;
  --line: #d6d7d9;
  --coral: #e31c3d;
  --white: #ffffff;
  --shadow: 0 12px 28px rgba(17, 46, 81, .10);
  --shadow-soft: 0 4px 14px rgba(17, 46, 81, .07);
  --radius: 0;
  --max: 1180px;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  scrollbar-gutter: stable;
  scrollbar-color: var(--accent) var(--navy);
  scrollbar-width: auto;
  overflow-y: scroll;
}
::-webkit-scrollbar { width: 12px; }
::-webkit-scrollbar-track { background: var(--navy); }
::-webkit-scrollbar-thumb {
  border: 2px solid var(--navy);
  border-radius: 0;
  background: var(--accent);
}
::-webkit-scrollbar-thumb:hover { background: #e6a800; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  cursor: url("cursor-default.svg?v=20260722") 3 2, auto;
  color: var(--ink);
  background: var(--paper);
  font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a,
button,
summary {
  cursor: url("cursor-pointer.svg?v=20260722") 13 2, pointer;
}
main { flex: 1 0 auto; }
#site-footer { flex-shrink: 0; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input { font: inherit; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: 8px;
  left: 8px;
  z-index: 100;
  transform: translateY(-150%);
  background: var(--navy);
  color: white;
  padding: 10px 16px;
  border-radius: 0;
}
.skip-link:focus { transform: translateY(0); }

#site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--navy-2);
  background: rgba(17, 46, 81, .98);
  backdrop-filter: blur(18px);
}
.nav-wrap {
  width: min(calc(100% - 40px), var(--max));
  height: 60px;
  margin: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  text-decoration: none;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.02em;
  white-space: nowrap;
}
.brand b { color: var(--accent); }
.brand-mark { width: 38px; height: 38px; }
.brand-mark svg { width: 100%; }
.brand-mark rect { fill: var(--white); }
.brand-mark path {
  fill: none;
  stroke: var(--teal);
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.primary-nav {
  display: flex;
  justify-content: center;
  align-items: stretch;
  height: 60px;
  gap: 6px;
}
.primary-nav a {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 11px;
  color: #d9e8f2;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s ease;
}
.primary-nav a::after {
  content: "";
  position: absolute;
  left: 50%;
  right: 50%;
  bottom: -1px;
  height: 3px;
  border-radius: 0;
  background: var(--teal);
  transition: left .2s ease, right .2s ease;
}
.primary-nav a:hover,
.primary-nav a.active { color: var(--white); }
.primary-nav a:hover::after,
.primary-nav a.active::after { left: 10px; right: 10px; }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid #6f91ad;
  border-radius: 0;
  background: transparent;
  padding: 10px;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  border-radius: 2px;
  background: var(--white);
}

.container { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.section { padding: 26px 0; }
.section-tight { padding: 18px 0; }
.section-alt { background: var(--ice); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 8px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .13em;
  text-transform: uppercase;
}
.eyebrow::before {
  display: none;
}
h1, h2, h3, h4 {
  margin: 0;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.035em;
}
h1 { font-size: clamp(40px, 5vw, 64px); }
h2 { font-size: clamp(28px, 3.5vw, 40px); }
h3 { font-size: 22px; }
p { margin: 0 0 1em; }
.lead {
  max-width: 720px;
  color: #435664;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.65;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
  margin-bottom: 10px;
}
.section-heading p { max-width: 590px; color: var(--muted); margin: 0; }
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal);
  font-weight: 600;
  text-decoration: none;
}
.text-link::after { content: "→"; transition: transform .2s ease; }
.text-link:hover::after { transform: translateX(4px); }
.button-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 44px;
  padding: 0 18px;
  border: 1px solid var(--navy);
  border-radius: 0;
  background: var(--navy);
  color: white;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 9px 22px rgba(17, 46, 81, .14);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: var(--navy-2); }
.button.secondary {
  background: transparent;
  color: var(--navy);
  box-shadow: none;
}
.button.secondary:hover { background: var(--white); }
.button.light { background: white; color: var(--navy); border-color: white; }
.button svg { width: 18px; fill: currentColor; }
.tag-row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.tag {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid #c8dfe2;
  border-radius: 0;
  background: rgba(255, 255, 255, .75);
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 28px 0 24px;
  background:
    radial-gradient(circle at 78% 25%, rgba(2, 191, 231, .10), transparent 24%),
    linear-gradient(145deg, #ffffff 0%, #f5fbfc 58%, #e1f3f8 100%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -12%;
  right: -12%;
  bottom: -120px;
  height: 260px;
  border: 1px solid rgba(0, 113, 188, .13);
  border-radius: 50%;
  box-shadow: 0 -28px 0 rgba(0, 113, 188, .035), 0 -56px 0 rgba(0, 113, 188, .025);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to right, rgba(0, 62, 143, 0.9) 0%, rgba(0, 62, 143, 0.9) 56%, rgba(0, 62, 143, 0.9) 56%);
}
.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 24px;
}
.hero h1 { color: var(--white); }
.hero h1 span { color: #7fc7f0; }
.hero .lead { max-width: 650px; margin-top: 18px; color: #d9e8f2; }
.hero .button.secondary { background: var(--white); }
.award-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 0;
  margin-top: 13px;
  color: var(--muted);
  font-size: 12px;
}
.hero .award-facts { color: #d9e8f2; }
.award-facts span {
  padding: 0 10px;
  border-left: 1px solid var(--line);
}
.award-facts span:first-child { padding-left: 0; border-left: 0; }
.award-facts b { color: var(--navy); font-weight: 600; }
.hero .award-facts b { color: var(--white); }
.signal-stage {
  position: relative;
  min-height: 292px;
  display: grid;
  place-items: center;
}
.hero-illustration {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.card-grid.three { grid-template-columns: repeat(3, 1fr); }
.card {
  position: relative;
  overflow: hidden;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--teal), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.card:hover::before { transform: scaleX(1); }
.card p { color: var(--muted); }
.card .meta {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.card-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  margin-bottom: 8px;
  border-radius: 0;
  background: var(--mint);
  color: var(--teal);
  font-size: 22px;
}
.card h3 { margin-bottom: 12px; }
.card .authors { margin: -6px 0 10px; color: var(--muted); font-size: 12.5px; font-style: italic; }
.card .text-link { margin-top: 10px; }
.feature-band {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 34px;
  padding: 18px;
  border-radius: 0;
  background: var(--navy);
  color: white;
  box-shadow: var(--shadow);
}
.feature-band h2 { color: white; font-size: clamp(28px, 4vw, 43px); }
.feature-band p { margin: 13px 0 0; color: #c9dbe6; }
.wip {
  display: inline-flex;
  margin-left: 9px;
  padding: 5px 9px;
  vertical-align: middle;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 26px 0 22px;
  background: linear-gradient(145deg, #ffffff, #e1f3f8);
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 340px;
  height: 340px;
  right: 7%;
  top: -170px;
  border: 1px solid rgba(0,113,188,.15);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(0,113,188,.03), 0 0 0 96px rgba(0,113,188,.025);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 { max-width: 880px; font-size: clamp(38px, 5vw, 58px); }
.page-hero .lead { margin-top: 8px; }
.breadcrumbs {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}
.breadcrumbs a { color: var(--teal); text-decoration: none; }

.publication-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.publication {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 13px 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
}
.publication p { margin: 0; }
.publication cite { font-style: normal; }
.pub-status {
  display: inline-flex;
  white-space: nowrap;
  padding: 5px 9px;
  border-radius: 0;
  background: var(--mint);
  color: var(--teal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.pub-status.review { background: #fff3db; color: #946114; }
.notice {
  margin-bottom: 26px;
  padding: 14px 18px;
  border-left: 3px solid var(--coral);
  border-radius: 0;
  background: #fff7f5;
  color: #6a504b;
  font-size: 14px;
}

.repo-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.repo-card {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  gap: 10px 12px;
  align-items: start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}
.repo-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: var(--navy);
  color: var(--accent);
}
.repo-icon svg { width: 24px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.repo-card > div:nth-child(2) { grid-column: 2; min-width: 0; }
.repo-card h2 { font-size: 20px; word-break: break-word; }
.repo-card p { margin: 7px 0 0; color: var(--muted); font-size: 14px; line-height: 1.5; }
.repo-card .tag-row { gap: 4px; margin-top: 9px; }
.repo-card .tag { padding: 3px 6px; font-size: 11px; }
.repo-action {
  grid-column: 1 / -1;
  align-self: end;
  margin-top: auto;
}
.repo-action .button { width: 100%; min-height: 38px; padding: 0 12px; font-size: 13px; }

.people-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.person-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
  box-shadow: var(--shadow-soft);
}
.person-photo { position: relative; height: 265px; background: var(--ice); overflow: hidden; }
.person-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .5s ease; }
.person-card:hover .person-photo img { transform: scale(1.025); }
.person-card:first-child .person-photo img { object-position: 62% 34%; }
.person-body { padding: 14px; }
.person-role { color: var(--teal); font-size: 12px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.person-body h2 { margin: 8px 0 12px; font-size: 31px; }
.person-body p { color: var(--muted); }
.affiliation { padding-top: 18px; border-top: 1px solid var(--line); color: #40525f !important; }
.person-links { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 20px; }
.person-links a { color: var(--teal); font-size: 14px; font-weight: 500; text-decoration: none; }
.photo-credit { margin-top: 14px; color: #87949d; font-size: 12px; }
.photo-credit a { color: inherit; }

.book-intro {
  display: block;
  max-width: 860px;
}
.book-summary {
  padding: 22px;
  border-radius: 0;
  background: var(--navy);
  color: white;
}
.book-summary h2 { color: white; font-size: 26px; }
.book-summary p { margin: 14px 0 0; color: #cbdce6; }
.book-meta { display: grid; grid-template-columns: 1fr; gap: 8px; margin-top: 16px; }
.book-meta div { padding: 12px; border: 1px solid rgba(255,255,255,.15); border-radius: 0; }
.book-meta strong { display: block; color: var(--accent); font-size: 22px; }
.book-meta span { color: #cbdce6; font-size: 12px; }
.chapter-list { display: grid; gap: 4px; margin-top: 14px; }
.chapter {
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
  overflow: hidden;
}
.chapter summary {
  display: grid;
  grid-template-columns: 48px 1fr 24px;
  align-items: center;
  gap: 14px;
  min-height: 52px;
  padding: 15px 22px;
  cursor: pointer;
  list-style: none;
  color: var(--navy);
  font-weight: 600;
}
.chapter summary::-webkit-details-marker { display: none; }
.chapter-number {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 0;
  background: var(--mint);
  color: var(--teal);
  font-size: 13px;
}
.chapter summary::after { content: "+"; color: var(--teal); font-size: 25px; font-weight: 400; }
.chapter[open] summary::after { content: "−"; }
.chapter-content { padding: 0 18px 12px 84px; }
.chapter-content ol { margin: 0; padding-left: 20px; color: var(--muted); }
.chapter-content li { padding: 4px 0; }
.chapter-content ol ol { margin-top: 4px; }

.event-hero-card {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
  box-shadow: var(--shadow);
}
.event-copy { padding: 18px; }
.event-copy h2 { margin-bottom: 18px; }
.event-copy p { color: var(--muted); }
.event-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  background: var(--navy);
  color: white;
}
.event-detail { display: grid; grid-template-columns: 28px 1fr; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.13); }
.event-detail:last-child { border-bottom: 0; }
.event-detail span:first-child { color: var(--accent); }
.event-detail small { display: block; color: #9fc0d0; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; }
.event-detail strong { display: block; margin-top: 2px; color: white; }
.topic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.topic {
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: white;
}
.topic h3 { font-size: 18px; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 34px; }
.milestone { position: relative; padding: 34px 20px 0 0; border-top: 2px solid #cfe0e2; }
.milestone::before {
  content: "";
  position: absolute;
  top: -7px;
  left: 0;
  width: 12px;
  height: 12px;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 2px var(--teal);
}
.milestone strong { display: block; color: var(--navy); }
.milestone span { color: var(--muted); font-size: 14px; }

#site-footer { padding: 18px 0; border-top: 1px solid var(--navy-2); background: var(--navy); color: var(--white); }
.footer-inner {
  width: min(calc(100% - 40px), var(--max));
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.footer-brand { color: var(--white); font-size: 18px; font-weight: 600; text-decoration: none; }
.footer-inner p { margin: 4px 0 0; color: #c7d9e6; font-size: 13px; }
.footer-meta { display: flex; flex-direction: column; align-items: end; color: #c7d9e6; font-size: 12px; }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1060px) {
  .nav-wrap { grid-template-columns: auto 1fr; }
  .menu-toggle { display: block; grid-column: 2; justify-self: end; }
  .primary-nav {
    position: fixed;
    inset: 60px 0 auto 0;
    height: calc(100vh - 60px);
    display: none;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 16px 22px;
    background: rgba(17,46,81,.99);
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { display: flex; min-height: 48px; padding: 0 12px; border-bottom: 1px solid #416b8c; color: #d9e8f2; font-size: 17px; }
  .primary-nav a::after { display: none; }
  .hero-grid { gap: 30px; }
  .signal-stage { min-height: 260px; }
  .card-grid.three, .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .repo-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
  .container, .nav-wrap, .footer-inner { width: min(calc(100% - 30px), var(--max)); }
  .nav-wrap { gap: 12px; }
  .brand { font-size: 16px; }
  .brand-mark { width: 34px; height: 34px; }
  .menu-toggle { grid-column: 2; }
  .hero { padding: 26px 0 22px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { background: rgba(255, 255, 255, .9); }
  .hero .button-row { flex-direction: column; align-items: stretch; }
  .hero .button { width: 100%; }
  .award-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 14px; }
  .award-facts span { padding: 0; border-left: 0; }
  .signal-stage { min-height: auto; margin-top: 8px; }
  .section, .section-tight { padding: 24px 0; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 13px; }
  .section-heading .text-link { margin-top: 16px; }
  .card-grid, .card-grid.three, .people-grid, .topic-grid { grid-template-columns: 1fr; }
  .repo-list { grid-template-columns: 1fr; }
  .feature-band { grid-template-columns: 1fr; padding: 32px; }
  .page-hero { padding: 24px 0 20px; }
  .publication { grid-template-columns: 1fr; gap: 8px; }
  .publication .pub-status { grid-column: 1; justify-self: start; }
  .person-photo { height: 290px; }
  .book-intro, .event-hero-card { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr; gap: 0; }
  .milestone { padding: 12px 0 24px 28px; border-top: 0; border-left: 2px solid #cfe0e2; }
  .milestone::before { top: 16px; left: -7px; }
  .chapter summary { grid-template-columns: 42px 1fr 18px; padding: 14px; }
  .chapter-content { padding: 0 18px 20px 70px; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .footer-meta { align-items: start; }
}

@media (max-width: 430px) {
  .brand span:last-child { max-width: 112px; white-space: normal; line-height: 1.05; }
  .button { width: 100%; }
  .event-copy, .event-panel { padding: 28px; }
  .publication { padding: 20px; }
}
