:root {
  --blue-950: #091a38;
  --blue-900: #102d63;
  --blue-800: #173f8a;
  --blue-700: #2558a7;
  --blue-100: #e8eef8;
  --blue-050: #f3f6fb;
  --gold-600: #b9831f;
  --gold-500: #d5a43b;
  --gold-300: #edcc7c;
  --gold-100: #f8edcf;
  --ink: #17202b;
  --muted: #647083;
  --line: #dbe2ec;
  --paper: #fffefa;
  --canvas: #f4f1e9;
  --sans: "Manrope", "Aptos", "Helvetica Neue", Arial, sans-serif;
  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  font-size: 16px;
}

* {
  box-sizing: border-box;
}

html {
  min-width: 20rem;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

a {
  color: inherit;
  text-decoration-color: rgb(185 131 31 / 50%);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--blue-700);
  text-decoration-color: var(--gold-500);
}

a:focus-visible {
  outline: 3px solid var(--gold-500);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 20;
  transform: translateY(-200%);
  border-radius: 0.3rem;
  padding: 0.65rem 0.9rem;
  color: #fff;
  background: var(--blue-950);
  font-size: 0.8rem;
  font-weight: 700;
}

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

.site-header {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 4rem), 68rem);
  transform: translateX(-50%);
  padding: 1.6rem 0;
  color: var(--blue-950);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.wordmark span {
  display: grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgb(16 45 99 / 32%);
  border-radius: 50%;
  color: var(--gold-300);
  font: 600 0.8rem/1 var(--serif);
}

.wordmark:hover,
.site-nav a:hover {
  color: var(--gold-300);
}

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

.site-nav a {
  color: var(--blue-900);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 15rem;
  align-items: center;
  min-height: 39rem;
  overflow: hidden;
  padding: 9rem max(2rem, calc((100vw - 68rem) / 2)) 6rem;
  color: var(--ink);
  background:
    linear-gradient(90deg, rgb(213 164 59 / 7%) 1px, transparent 1px) 0 0 / 7rem 100%,
    var(--canvas);
}

.hero::before {
  position: absolute;
  z-index: -1;
  right: -14rem;
  bottom: -19rem;
  width: 37rem;
  height: 37rem;
  border: 1px solid rgb(16 45 99 / 8%);
  border-radius: 50%;
  box-shadow:
    0 0 0 5rem rgb(16 45 99 / 2%),
    0 0 0 10rem rgb(16 45 99 / 1.5%);
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 52rem;
  animation: reveal 700ms ease-out both;
}

.eyebrow,
.section-index,
.project-domain,
.foundation-label {
  margin: 0;
  color: var(--gold-500);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 42rem;
  margin: 1.3rem 0 1.6rem;
  color: var(--blue-950);
  font: 500 clamp(2.5rem, 3.4vw, 3.25rem) / 1.08 var(--serif);
  letter-spacing: -0.035em;
}

.hero h1 em {
  color: var(--gold-300);
  font-weight: 500;
}

.hero-lede {
  max-width: 38rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.75;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid currentColor;
  border-radius: 0;
  padding: 0 0 0.15rem;
  font-size: 0.75rem;
  font-weight: 800;
  text-decoration: none;
}

.button-primary {
  color: var(--blue-800);
  background: none;
}

.button-primary:hover {
  color: var(--gold-600);
  background: none;
}

.button-secondary {
  border: 0;
  border-bottom: 1px solid currentColor;
  color: var(--blue-800);
  background: none;
}

.button-secondary:hover {
  border-color: var(--gold-600);
  color: var(--gold-600);
  background: none;
}

.text-link {
  margin-left: 0.35rem;
  color: var(--blue-800);
  font-size: 0.75rem;
  font-weight: 700;
}

.text-link:hover {
  color: var(--gold-300);
}

.hero-visual {
  position: relative;
  justify-self: end;
  width: min(23vw, 15rem);
  aspect-ratio: 1;
  animation: reveal 900ms 120ms ease-out both;
}

.portrait-frame {
  position: absolute;
  inset: 14%;
  overflow: hidden;
  border: 1px solid rgb(16 45 99 / 20%);
  border-radius: 50%;
  box-shadow: 0 1.2rem 3rem rgb(16 45 99 / 12%);
}

.portrait-frame::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, transparent 50%, rgb(16 45 99 / 34%));
  content: "";
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.orbit {
  position: absolute;
  border: 1px solid rgb(16 45 99 / 18%);
  border-radius: 50%;
}

.orbit-one {
  inset: 4%;
}

.orbit-two {
  inset: 0 20%;
  transform: rotate(58deg);
}

.orbit-three {
  inset: 20% 0;
  transform: rotate(-38deg);
}

.particle {
  position: absolute;
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--gold-300);
  box-shadow: 0 0 1.2rem rgb(237 204 124 / 80%);
}

.particle-one {
  top: 11%;
  left: 28%;
}

.particle-two {
  right: 4%;
  bottom: 34%;
}

.particle-three {
  bottom: 8%;
  left: 30%;
  width: 0.32rem;
  height: 0.32rem;
}

.section-shell {
  width: min(calc(100% - 4rem), 68rem);
  margin: 0 auto;
}

.introduction {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 3rem;
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.introduction .section-index {
  padding-top: 0.65rem;
  color: var(--blue-700);
}

.lead {
  max-width: 55rem;
  margin: 0;
  color: var(--blue-950);
  font: 500 clamp(1.55rem, 2.2vw, 2.05rem) / 1.24 var(--serif);
  letter-spacing: -0.015em;
}

.intro-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.5rem;
  margin-top: 2.6rem;
  color: var(--muted);
}

.intro-columns p {
  margin: 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 3rem;
  align-items: start;
  padding: 6rem 0 2.5rem;
  border-top: 1px solid var(--line);
}

.section-heading .section-index {
  padding-top: 0.55rem;
  color: var(--blue-700);
}

.section-heading h2 {
  margin: 0;
  color: var(--blue-950);
  font: 500 clamp(2rem, 3vw, 2.8rem) / 1.08 var(--serif);
  letter-spacing: -0.025em;
}

.section-heading > div > p {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
}

.project {
  position: relative;
  display: grid;
  display: block;
  overflow: visible;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 3.5rem 0;
  background: transparent;
}

.project-featured {
  min-height: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
}

.project-number {
  display: none;
}

.project-domain {
  color: var(--gold-600);
}

.project-featured .project-domain {
  color: var(--gold-600);
}

.project h3 {
  margin: 0.55rem 0 0;
  color: var(--blue-950);
  font: 600 clamp(1.9rem, 3vw, 2.6rem) / 1.05 var(--serif);
  letter-spacing: -0.025em;
}

.project-featured h3 {
  color: var(--blue-950);
}

.project-summary {
  margin: 0.65rem 0 1.8rem;
  color: var(--blue-700);
  font-size: 0.88rem;
  font-weight: 700;
}

.project-featured .project-summary {
  color: var(--blue-700);
}

.project-prose {
  max-width: 43rem;
}

.project-prose p {
  margin: 0 0 1rem;
  color: var(--muted);
}

.project-featured .project-prose p {
  color: var(--muted);
}

.paper-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-top: 2rem;
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
}

.project-featured .paper-row {
  border-color: var(--line);
}

.paper-row strong,
.paper-row span {
  display: block;
}

.paper-row strong {
  max-width: 34rem;
  color: var(--blue-950);
  font-size: 0.78rem;
  line-height: 1.5;
}

.project-featured .paper-row strong {
  color: var(--blue-950);
}

.paper-row > div > span {
  margin-top: 0.18rem;
  color: var(--muted);
  font-size: 0.68rem;
  font-weight: 600;
}

.project-featured .paper-row > div > span {
  color: var(--muted);
}

.paper-links {
  display: flex;
  flex-shrink: 0;
  gap: 0.8rem;
}

.paper-links a {
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 800;
  text-decoration: none;
}

.project-featured .paper-links a {
  color: var(--blue-700);
}

.project-mark {
  display: none;
}

.project-mark-density span {
  position: absolute;
  border: 1px solid rgb(237 204 124 / 22%);
  border-radius: 50%;
}

.project-mark-density span:nth-child(1) {
  inset: 0;
}

.project-mark-density span:nth-child(2) {
  inset: 15%;
  border-color: rgb(255 255 255 / 18%);
}

.project-mark-density span:nth-child(3) {
  inset: 31%;
  border-color: rgb(237 204 124 / 55%);
  background: rgb(213 164 59 / 8%);
}

.project-mark-density span:nth-child(4),
.project-mark-density span:nth-child(5) {
  width: 0.7rem;
  height: 0.7rem;
  border: 0;
  background: var(--gold-300);
  box-shadow: 0 0 1.5rem rgb(237 204 124 / 80%);
}

.project-mark-density span:nth-child(4) {
  top: 14%;
  left: 25%;
}

.project-mark-density span:nth-child(5) {
  right: 6%;
  bottom: 34%;
  width: 0.42rem;
  height: 0.42rem;
}

.project-grid {
  display: block;
  margin: 0 0 6rem;
}

.project-grid .project {
  display: block;
}

.project-grid .project h3 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.project-grid .paper-row {
  align-items: flex-start;
}

.foundations {
  color: var(--ink);
  background: var(--blue-050);
}

.foundations-inner {
  width: min(calc(100% - 4rem), 68rem);
  margin: 0 auto;
  padding-bottom: 7rem;
}

.section-heading-light {
  border-color: var(--line);
}

.section-heading-light .section-index {
  color: var(--blue-700);
}

.section-heading-light h2 {
  color: var(--blue-950);
}

.section-heading-light > div > p {
  color: var(--muted);
}

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

.foundation-card {
  border: 0;
  border-top: 2px solid var(--gold-500);
  border-radius: 0;
  padding: 2.2rem 0 0;
  background: transparent;
}

.foundation-label {
  color: var(--gold-600);
}

.foundation-card h3 {
  max-width: 30rem;
  margin: 0.7rem 0 1.3rem;
  font: 500 clamp(1.55rem, 2.2vw, 2rem) / 1.15 var(--serif);
  letter-spacing: -0.015em;
}

.foundation-card > p:not(.foundation-label) {
  margin: 0;
  color: var(--muted);
}

.selected-papers {
  margin: 2.3rem 0 0;
  padding: 0;
  list-style: none;
}

.selected-papers li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
  padding: 1rem 0;
}

.selected-papers strong,
.selected-papers span {
  display: block;
}

.selected-papers strong {
  font-size: 0.75rem;
  line-height: 1.45;
}

.selected-papers div > span {
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 600;
}

.selected-papers a {
  flex-shrink: 0;
  color: var(--blue-700);
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: none;
}

.thesis-link {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 1.4rem;
  border: 0;
  border-top: 1px solid var(--line);
  border-radius: 0;
  padding: 1.5rem 0;
  color: var(--blue-950);
  background: transparent;
  text-decoration: none;
}

.thesis-link span {
  color: var(--gold-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.thesis-link strong {
  font: 500 1.4rem/1.2 var(--serif);
}

.thesis-link:hover {
  color: var(--blue-700);
  background: transparent;
}

.site-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  width: min(calc(100% - 4rem), 68rem);
  margin: 0 auto;
  padding: 3.5rem 0;
}

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

.site-footer strong {
  color: var(--blue-950);
  font: 600 1.2rem/1.2 var(--serif);
}

.site-footer span {
  margin-top: 0.25rem;
  color: var(--muted);
  font-size: 0.7rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.4rem;
}

.site-footer nav a {
  color: var(--blue-700);
  font-size: 0.7rem;
  font-weight: 800;
}

@keyframes reveal {
  from {
    transform: translateY(1rem);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@media (max-width: 64rem) {
  .hero {
    grid-template-columns: minmax(0, 1fr) 17rem;
  }

  .hero-visual {
    width: 17rem;
  }

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

  .project-mark {
    display: none;
  }

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

@media (max-width: 48rem) {
  :root {
    font-size: 15px;
  }

  .site-header {
    width: calc(100% - 2.5rem);
  }

  .wordmark {
    font-size: 0;
  }

  .wordmark span {
    font-size: 0.8rem;
  }

  .site-nav {
    gap: 1rem;
  }

  .site-nav a:nth-child(1),
  .site-nav a:nth-child(2) {
    display: none;
  }

  .hero {
    display: block;
    min-height: auto;
    padding: 9rem 1.25rem 5rem;
  }

  .hero h1 {
    font-size: clamp(2.35rem, 10vw, 2.8rem);
  }

  .hero-visual {
    width: min(72vw, 19rem);
    margin: 3.5rem auto 0;
  }

  .section-shell,
  .foundations-inner,
  .site-footer {
    width: calc(100% - 2.5rem);
  }

  .introduction,
  .section-heading {
    display: block;
  }

  .introduction {
    padding: 5rem 0;
  }

  .introduction .section-index,
  .section-heading .section-index {
    margin-bottom: 1.4rem;
  }

  .intro-columns,
  .foundation-grid {
    grid-template-columns: 1fr;
  }

  .intro-columns {
    gap: 1rem;
  }

  .section-heading {
    padding: 5rem 0 2.8rem;
  }

  .project,
  .project-featured,
  .project-grid .project {
    display: block;
    padding: 1.7rem;
  }

  .project-number {
    margin-bottom: 1.4rem;
  }

  .project h3 {
    font-size: 2.2rem;
  }

  .paper-row {
    display: block;
  }

  .paper-links {
    margin-top: 0.8rem;
  }

  .project-grid {
    margin-bottom: 5rem;
  }

  .foundations-inner {
    padding-bottom: 5rem;
  }

  .foundation-card {
    padding: 1.7rem;
  }

  .thesis-link {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem 1rem;
    padding: 1.4rem;
  }

  .thesis-link strong {
    order: 2;
    width: 100%;
  }

  .site-footer {
    display: block;
  }

  .site-footer nav {
    margin-top: 1.5rem;
  }
}

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

  .hero-copy,
  .hero-visual {
    animation: none;
  }
}
