:root {
  --ink: #07111f;
  --ink-soft: #12253d;
  --paper: #f5f7f2;
  --white: #ffffff;
  --maize: #ffcb05;
  --cyan: #62e5ff;
  --blue: #00274c;
  --line: rgba(7, 17, 31, 0.17);
  --muted: #607082;
  --max: 1240px;
  --display: "Arial Narrow", "Aptos Display", "Helvetica Neue", sans-serif;
  --body: "Aptos", "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}
a { color: inherit; }
img, svg { display: block; max-width: 100%; }
button, input, textarea { font: inherit; }
::selection { background: var(--maize); color: var(--ink); }

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  background: var(--maize);
  color: var(--ink);
  transform: translateY(-160%);
}
.skip-link:focus { transform: translateY(0); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid rgba(255,255,255,0.12);
  background: rgba(7,17,31,0.76);
  color: var(--white);
  backdrop-filter: blur(18px);
}
.nav-shell {
  width: min(calc(100% - 2rem), var(--max));
  min-height: 74px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
}
.brand-mark {
  width: 38px;
  height: 38px;
  aspect-ratio: 1;
  flex: 0 0 38px;
}
.nav-links { display: flex; align-items: center; gap: 1.55rem; }
.nav-links a {
  position: relative;
  color: rgba(255,255,255,0.74);
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--white); }
.nav-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.55rem;
  height: 2px;
  background: var(--maize);
}
.menu-toggle {
  display: none;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: var(--white);
  padding: 0.55rem 0.75rem;
}

.hero {
  min-height: 100svh;
  display: grid;
  align-items: end;
  position: relative;
  overflow: hidden;
  padding: 8rem max(1rem, calc((100vw - var(--max)) / 2)) 4rem;
  color: var(--white);
  background:
    radial-gradient(circle at 78% 25%, rgba(98,229,255,0.18), transparent 31%),
    radial-gradient(circle at 90% 80%, rgba(255,203,5,0.13), transparent 25%),
    var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.16;
  background-image: linear-gradient(rgba(255,255,255,0.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 90%);
}
.hero-grid {
  width: 100%;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: clamp(2rem, 7vw, 8rem);
  align-items: end;
}
.hero-grid > * { min-width: 0; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.4rem;
  color: var(--maize);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 2px; background: currentColor; }
.hero h1 {
  max-width: 900px;
  margin: 0;
  font-family: var(--display);
  font-size: clamp(4rem, 9.5vw, 9.2rem);
  line-height: 0.82;
  letter-spacing: -0.075em;
  text-transform: uppercase;
}
.hero h1 span { color: var(--cyan); }
.hero-copy { max-width: 570px; margin-top: 2rem; color: rgba(255,255,255,0.72); font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 52px;
  padding: 0.75rem 1.15rem;
  border: 1px solid currentColor;
  text-decoration: none;
  font-size: 0.79rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  transition: 180ms ease;
}
.button.primary { background: var(--maize); border-color: var(--maize); color: var(--ink); }
.button:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(0,0,0,0.2); }
.button .arrow { font-size: 1.2rem; }

.orbit-card {
  margin: 0;
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}
.orbit-card::before, .orbit-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  animation: drift 15s linear infinite;
}
.orbit-card::before { width: 360px; height: 360px; }
.orbit-card::after { width: 255px; height: 255px; animation-direction: reverse; animation-duration: 11s; }
.peptide-ring { width: min(100%, 360px); filter: drop-shadow(0 30px 70px rgba(0,0,0,0.34)); }
.peptide-ring text { fill: var(--white); font: 700 13px var(--body); text-anchor: middle; dominant-baseline: central; }
.peptide-ring .bond { stroke: rgba(98,229,255,0.5); stroke-width: 2; }
.peptide-ring .node { fill: var(--ink-soft); stroke: var(--cyan); stroke-width: 2; }
.peptide-ring .hot { stroke: var(--maize); }
@keyframes drift { to { transform: rotate(360deg); } }

.section { padding: clamp(5rem, 9vw, 9rem) max(1rem, calc((100vw - var(--max)) / 2)); }
.section.dark { background: var(--ink); color: var(--white); }
.section.blue { background: var(--blue); color: var(--white); }
.section.maize { background: var(--maize); }
.section-head { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 3rem; margin-bottom: 4rem; }
.kicker { color: var(--muted); font-size: 0.78rem; font-weight: 850; letter-spacing: 0.14em; text-transform: uppercase; }
.dark .kicker, .blue .kicker { color: var(--cyan); }
.section h2, .page-hero h1 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(2.9rem, 6vw, 6.6rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
  text-transform: uppercase;
}
.section-lede { max-width: 820px; margin: 1.3rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 1.5vw, 1.35rem); }
.dark .section-lede, .blue .section-lede { color: rgba(255,255,255,0.68); }

.statement { max-width: 1120px; font-family: var(--serif); font-size: clamp(2rem, 4.6vw, 5rem); line-height: 1.08; letter-spacing: -0.045em; }
.statement em { color: var(--blue); font-style: normal; box-shadow: inset 0 -0.2em 0 var(--maize); }

.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,0.2); }
.project-card {
  min-height: 500px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255,255,255,0.2);
  color: var(--white);
  text-decoration: none;
  overflow: hidden;
  position: relative;
  isolation: isolate;
}
.project-card:last-child { border-right: 0; }
.project-card::before {
  content: "";
  position: absolute;
  inset: 100% 0 0;
  z-index: -1;
  background: var(--cyan);
  transition: inset 420ms cubic-bezier(.2,.7,.2,1);
}
.project-card:nth-child(2)::before { background: var(--maize); }
.project-card:nth-child(3)::before { background: #a8ffc7; }
.project-card:hover { color: var(--ink); }
.project-card:hover::before { inset: 0; }
.project-number { font-size: 0.78rem; letter-spacing: 0.15em; }
.project-icon { margin: auto; width: 160px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-family: var(--serif); font-size: 3rem; }
.project-card h3 { max-width: 320px; margin: 1.5rem 0 0.7rem; font-family: var(--display); font-size: clamp(1.8rem, 3vw, 3rem); line-height: 0.98; letter-spacing: -0.04em; text-transform: uppercase; }
.project-card p { max-width: 33rem; margin: 0; color: rgba(255,255,255,0.66); }
.project-card:hover p { color: rgba(7,17,31,0.72); }

.metrics { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.metric { min-height: 230px; padding: 2rem; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.metric strong { display: block; font-family: var(--display); font-size: clamp(3rem, 6vw, 6rem); line-height: 1; letter-spacing: -0.06em; }
.metric span { display: block; margin-top: 1rem; color: var(--muted); font-weight: 700; }

.timeline { border-top: 1px solid rgba(255,255,255,0.2); }
.timeline-row { display: grid; grid-template-columns: 0.45fr 1fr 2fr; gap: 2rem; padding: 2rem 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.timeline-row .year { color: var(--maize); font-weight: 850; }
.timeline-row h3 { margin: 0; font-size: 1.25rem; }
.timeline-row p { margin: 0; color: rgba(255,255,255,0.64); }

.publication-list { border-top: 1px solid var(--line); }
.pub {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 2rem;
  align-items: start;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}
.pub:hover h3 { color: var(--blue); text-decoration: underline; text-decoration-color: var(--maize); text-decoration-thickness: 0.18em; text-underline-offset: 0.12em; }
.pub .year { color: var(--muted); font-weight: 850; }
.pub h3 { margin: 0 0 0.45rem; font-family: var(--serif); font-size: clamp(1.1rem, 2vw, 1.55rem); line-height: 1.3; }
.pub p { margin: 0; color: var(--muted); }
.pub .out { font-size: 1.35rem; }

.impact-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: clamp(2rem, 7vw, 7rem); align-items: end; }
.impact-grid blockquote { margin: 0; font-family: var(--serif); font-size: clamp(2.2rem, 5vw, 5.5rem); line-height: 1; letter-spacing: -0.05em; }
.impact-grid p { margin: 0; font-size: 1.18rem; }

.page-hero { min-height: 62vh; padding: 11rem max(1rem, calc((100vw - var(--max)) / 2)) 5rem; display: grid; align-items: end; background: var(--ink); color: var(--white); }
.page-hero .intro { max-width: 850px; margin: 2rem 0 0; color: rgba(255,255,255,0.68); font-size: clamp(1.1rem, 2vw, 1.45rem); }
.content-grid { display: grid; grid-template-columns: 0.55fr 1.45fr; gap: clamp(2rem, 7vw, 7rem); }
.content-grid + .content-grid { margin-top: 6rem; padding-top: 6rem; border-top: 1px solid var(--line); }
.content-grid h2 { position: sticky; top: 110px; align-self: start; font-size: clamp(2.2rem, 4vw, 4rem); }
.prose { max-width: 820px; }
.prose p { margin: 0 0 1.4rem; font-size: 1.1rem; }
.prose h3 { margin: 2.8rem 0 0.8rem; font-family: var(--display); font-size: 2rem; line-height: 1; text-transform: uppercase; }
.tag-list { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 2rem; }
.tag { padding: 0.55rem 0.8rem; border: 1px solid var(--line); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; }

.photo-story {
  padding: 0 max(1rem, calc((100vw - var(--max)) / 2));
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 0.8fr;
  gap: 1rem;
  transform: translateY(-2rem);
}
.photo-story figure { margin: 0; position: relative; overflow: hidden; min-height: 320px; background: var(--ink-soft); }
.photo-story figure:first-child { min-height: 440px; }
.photo-story img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; transition: transform 500ms ease; }
.photo-story figure:nth-child(2) img { object-position: 58% 50%; }
.photo-story figure:nth-child(3) img { object-position: 50% 42%; }
.photo-story figure:hover img { transform: scale(1.025); }
.photo-story figcaption { position: absolute; inset: auto 0 0; padding: 2.8rem 1.2rem 1rem; color: var(--white); background: linear-gradient(transparent, rgba(3,9,16,0.9)); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }

.initiative-logos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 2.5rem 0 3rem; }
.initiative-logo { min-height: 230px; padding: 2rem; display: grid; place-items: center; background: var(--white); border: 1px solid var(--line); }
.initiative-logo img { width: 100%; max-height: 180px; object-fit: contain; }
.initiative-logo:last-child img { max-height: 135px; }

.research-motion { display: flex; justify-content: center; margin: 2.2rem 0 1.6rem; }
.research-motion video { width: min(100%, 420px); height: auto; display: block; background: var(--paper); }

.writing-intro { max-width: 920px; }
.writing-feature {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.writing-feature-meta { padding: 2.4rem 2rem 2.4rem 0; border-right: 1px solid var(--line); }
.writing-feature-meta span { display: block; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.11em; text-transform: uppercase; }
.writing-feature-meta span + span { margin-top: 0.65rem; }
.writing-feature-body { padding: clamp(2.4rem, 6vw, 5rem); }
.writing-feature-body h2 { max-width: 900px; font-family: var(--serif); font-size: clamp(2.4rem, 5.5vw, 5.6rem); line-height: 0.98; letter-spacing: -0.055em; text-transform: none; }
.writing-feature-body h2 a { text-decoration: none; }
.writing-feature-body h2 a:hover { text-decoration: underline; text-decoration-color: var(--maize); text-decoration-thickness: 0.13em; text-underline-offset: 0.08em; }
.writing-feature-body p { max-width: 760px; margin: 1.6rem 0 0; color: var(--muted); font-size: 1.12rem; }
.writing-categories { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2.5rem; }
.writing-categories span { padding: 0.6rem 0.85rem; border: 1px solid var(--line); font-size: 0.76rem; font-weight: 800; letter-spacing: 0.07em; text-transform: uppercase; }
.writing-teaser { background: var(--paper); border-top: 10px solid var(--maize); }
.writing-teaser-grid { display: grid; grid-template-columns: 0.6fr 1.4fr; gap: clamp(2rem, 7vw, 7rem); }
.writing-teaser h2 { max-width: 920px; text-transform: none; }
.writing-teaser p { max-width: 720px; margin: 1.5rem 0 0; font-size: 1.15rem; }
.writing-teaser .button { margin-top: 2rem; }

.article-hero { min-height: auto; padding-bottom: clamp(4rem, 8vw, 7rem); }
.article-hero-inner { width: min(100%, 1080px); }
.article-hero h1 { max-width: 1050px; font-family: var(--serif); font-size: clamp(3rem, 7.2vw, 7.4rem); line-height: 0.96; letter-spacing: -0.06em; text-transform: none; }
.article-deck { max-width: 800px; margin: 2rem 0 0; color: rgba(255,255,255,0.72); font-size: clamp(1.15rem, 2vw, 1.5rem); }
.article-meta { display: flex; flex-wrap: wrap; gap: 0.6rem 1.2rem; margin-top: 2.2rem; color: rgba(255,255,255,0.58); font-size: 0.8rem; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; }
.article-shell { width: min(calc(100% - 2rem), 1120px); margin: 0 auto; padding: clamp(4rem, 8vw, 8rem) 0; display: grid; grid-template-columns: 190px minmax(0, 760px); gap: clamp(2rem, 8vw, 7rem); justify-content: center; }
.article-aside { align-self: start; position: sticky; top: 110px; }
.article-aside p { margin: 0; color: var(--muted); font-size: 0.78rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; }
.article-aside a { display: inline-block; margin-top: 1.3rem; text-decoration: none; font-weight: 800; }
.article-aside a:hover { text-decoration: underline; text-decoration-color: var(--maize); text-decoration-thickness: 0.18em; }
.article-body { font-family: var(--serif); font-size: clamp(1.15rem, 1.8vw, 1.32rem); line-height: 1.82; }
.article-body p { margin: 0 0 1.75rem; }
.article-body p:first-child::first-letter { float: left; margin: 0.12em 0.12em 0 0; color: var(--blue); font-family: var(--display); font-size: 4.6em; font-weight: 800; line-height: 0.72; }
.article-next { background: var(--blue); color: var(--white); }
.article-next .kicker { color: var(--cyan); }
.article-next h2 { max-width: 900px; text-transform: none; }
.article-next p { max-width: 720px; color: rgba(255,255,255,0.7); font-size: 1.1rem; }

.contact-email { color: var(--blue); font-weight: 800; font-size: 1.25rem !important; }
.profile-list { display: flex; flex-wrap: wrap; gap: 0.65rem; margin-top: 2rem; }
.profile-list a { display: inline-flex; align-items: center; gap: 0.55rem; padding: 0.7rem 0.85rem; border: 1px solid var(--line); text-decoration: none; font-size: 0.78rem; font-weight: 800; letter-spacing: 0.04em; text-transform: uppercase; }
.profile-list a:hover { border-color: var(--blue); color: var(--blue); }
.profile-list img { width: 1.1rem; height: 1.1rem; }

.footer { padding: 5rem max(1rem, calc((100vw - var(--max)) / 2)) 2rem; background: #030910; color: var(--white); }
.footer-call { display: flex; align-items: end; justify-content: space-between; gap: 2rem; padding-bottom: 4rem; border-bottom: 1px solid rgba(255,255,255,0.18); }
.footer-call h2 { max-width: 800px; margin: 0; font-family: var(--display); font-size: clamp(3rem, 7vw, 7.5rem); line-height: 0.86; letter-spacing: -0.06em; text-transform: uppercase; }
.footer-call h2 span { color: var(--maize); }
.footer-meta { padding-top: 2rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem 2rem; color: rgba(255,255,255,0.6); font-size: 0.88rem; }
.social-links { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; }
.social-links a { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,0.22); border-radius: 50%; color: rgba(255,255,255,0.78); transition: 180ms ease; }
.social-links a:hover { border-color: var(--maize); color: var(--maize); transform: translateY(-2px); }
.social-links img { width: 17px; height: 17px; filter: brightness(0) invert(1); opacity: 0.82; }
.social-links a:hover img { filter: brightness(0) saturate(100%) invert(82%) sepia(96%) saturate(1172%) hue-rotate(357deg) brightness(102%) contrast(102%); opacity: 1; }

[data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity 700ms ease, transform 700ms ease; }
[data-reveal].visible { opacity: 1; transform: translateY(0); }

@media (max-width: 900px) {
  .menu-toggle { display: block; }
  .nav-links { display: none; position: absolute; inset: 74px 0 auto; padding: 1.5rem 1rem 2rem; background: var(--ink); flex-direction: column; align-items: flex-start; }
  .nav-links.open { display: flex; }
  .hero-grid, .section-head, .content-grid, .impact-grid, .writing-teaser-grid { grid-template-columns: 1fr; }
  .orbit-card { width: 100%; min-height: 315px; order: -1; opacity: 0.9; transform: translateX(-0.9rem); }
  .peptide-ring { width: 285px; }
  .photo-story { grid-template-columns: 1fr 1fr; transform: none; padding-top: 1rem; }
  .photo-story figure:first-child { grid-column: 1 / -1; min-height: 420px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { min-height: 420px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .timeline-row { grid-template-columns: 100px 1fr; }
  .timeline-row p { grid-column: 2; }
  .content-grid h2 { position: static; }
  .research-motion { justify-content: center; }
  .writing-feature { grid-template-columns: 1fr; }
  .writing-feature-meta { padding: 1.5rem 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .article-shell { grid-template-columns: 1fr; }
  .article-aside { position: static; display: flex; align-items: center; justify-content: space-between; gap: 1rem; border-bottom: 1px solid var(--line); padding-bottom: 1.5rem; }
  .article-aside a { margin-top: 0; }
}

@media (max-width: 600px) {
  .hero { padding-top: 7rem; }
  .hero h1 { max-width: 100%; font-size: clamp(3rem, 16vw, 4.5rem); line-height: 0.88; letter-spacing: -0.08em; }
  .hero .eyebrow { position: relative; display: block; max-width: 100%; padding-left: 2.1rem; font-size: 0.7rem; line-height: 1.75; letter-spacing: 0.13em; }
  .hero .eyebrow::before { position: absolute; left: 0; top: 0.62rem; width: 1.5rem; }
  .hero-copy { max-width: 100%; font-size: 1.05rem; overflow-wrap: break-word; }
  .orbit-card { min-height: 270px; transform: translateX(-1.1rem); }
  .orbit-card::before { width: 250px; height: 250px; }
  .orbit-card::after { width: 185px; height: 185px; }
  .peptide-ring { width: 255px; }
  .initiative-logos { grid-template-columns: 1fr; }
  .photo-story { grid-template-columns: 1fr; }
  .photo-story figure, .photo-story figure:first-child { grid-column: auto; min-height: 300px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { min-height: 170px; }
  .pub { grid-template-columns: 64px 1fr; gap: 1rem; }
  .pub .out { display: none; }
  .timeline-row { grid-template-columns: 1fr; gap: 0.5rem; }
  .timeline-row p { grid-column: auto; }
  .footer-call { align-items: flex-start; flex-direction: column; }
  .research-motion video { width: min(82vw, 300px); }
  .footer-meta { align-items: center; }
  .writing-feature-body { padding: 2.5rem 0; }
  .article-hero { padding-top: 9rem; }
  .article-hero h1 { font-size: clamp(2.8rem, 13vw, 4.5rem); }
  .article-body { font-size: 1.08rem; line-height: 1.76; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
