:root {
  --ink: #10201f;
  --muted: #5d6c69;
  --paper: #f5f1e8;
  --cream: #ebe5d8;
  --forest: #071b1a;
  --forest-2: #0d2926;
  --mint: #a9e8c9;
  --lime: #d8ef84;
  --orange: #ef8c5a;
  --line: rgba(16, 32, 31, 0.14);
  --shell: min(1180px, calc(100vw - 40px));
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: var(--shell); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 100; background: white; padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  color: white;
  background: rgba(7, 27, 26, 0.78);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  backdrop-filter: blur(16px);
}
.nav-wrap { height: 74px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; font-weight: 700; letter-spacing: -0.02em; }
.brand-mark { display: grid; place-items: center; width: 38px; height: 38px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; color: var(--lime); font-size: 13px; letter-spacing: .06em; }
nav { display: flex; gap: 30px; align-items: center; }
nav a { color: rgba(255,255,255,.78); text-decoration: none; font-size: 14px; font-weight: 600; transition: color .2s ease; }
nav a:hover, nav a:focus-visible { color: var(--lime); }
.nav-toggle { display: none; border: 0; background: transparent; color: white; font: inherit; }

.hero { position: relative; overflow: hidden; min-height: 800px; padding: 170px 0 110px; color: white; background: var(--forest); }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .25;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(2px); pointer-events: none; }
.orb-one { width: 500px; height: 500px; right: -180px; top: 70px; background: radial-gradient(circle at 30% 30%, rgba(169,232,201,.24), rgba(169,232,201,0) 65%); border: 1px solid rgba(169,232,201,.13); }
.orb-two { width: 280px; height: 280px; left: 45%; bottom: -160px; background: rgba(239,140,90,.12); border: 1px solid rgba(239,140,90,.25); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, .65fr); gap: clamp(60px, 9vw, 120px); align-items: center; }
.eyebrow { margin: 0 0 18px; color: #377b68; font-size: 12px; line-height: 1.4; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; }
.hero .eyebrow, .section-dark .eyebrow, .contact-card .eyebrow { color: var(--mint); }
h1, h2 { font-family: var(--serif); font-weight: 500; letter-spacing: -.035em; line-height: .98; }
h1 { max-width: 840px; margin: 0; font-size: clamp(42px, 5.2vw, 66px); }
.lede { max-width: 750px; margin: 30px 0 0; color: rgba(255,255,255,.72); font-size: clamp(18px, 2vw, 22px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 38px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; border-radius: 100px; text-decoration: none; font-size: 14px; font-weight: 700; transition: transform .2s ease, background .2s ease, color .2s ease; }
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--lime); color: var(--forest); }
.button.primary:hover { background: #e6f7a4; }
.button.secondary { color: white; border-color: rgba(255,255,255,.25); }
.button.secondary:hover { border-color: rgba(255,255,255,.7); }
.button.ghost { color: white; border-color: rgba(255,255,255,.25); align-self: flex-end; }

.hero-card { position: relative; padding: 28px; border: 1px solid rgba(255,255,255,.13); border-radius: 8px; background: rgba(255,255,255,.055); box-shadow: 0 28px 80px rgba(0,0,0,.26); backdrop-filter: blur(10px); }
.portrait { position: relative; aspect-ratio: 4 / 5; margin-bottom: 26px; overflow: hidden; background: linear-gradient(145deg, #17463e, #0a2421); border-radius: 5px; }
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.card-kicker { margin: 0 0 6px; color: var(--mint); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; }
.hero-card h2 { margin: 0 0 10px; font-family: var(--sans); font-size: 21px; font-weight: 600; letter-spacing: -.02em; }
.hero-card p:not(.card-kicker) { margin: 0 0 20px; color: rgba(255,255,255,.65); }
.text-link { display: inline-flex; gap: 6px; color: inherit; text-underline-offset: 5px; text-decoration-thickness: 1px; font-weight: 700; font-size: 14px; }
.hero-card .text-link { color: var(--lime); }

.signal-strip { position: relative; z-index: 2; margin-top: -1px; color: white; background: var(--forest-2); border-top: 1px solid rgba(255,255,255,.08); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-grid div { display: flex; flex-direction: column; gap: 2px; padding: 30px 4vw; border-right: 1px solid rgba(255,255,255,.1); }
.signal-grid div:first-child { padding-left: 0; }
.signal-grid div:last-child { border-right: 0; }
.signal-grid strong { color: var(--lime); font-family: var(--serif); font-size: 26px; font-weight: 500; }
.signal-grid span { color: rgba(255,255,255,.58); font-size: 13px; }

.section { padding: 120px 0; }
.section-heading { display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: end; margin-bottom: 58px; }
.section-heading h2, .about-copy h2, .contact-card h2 { margin: 0; font-size: clamp(36px, 4.2vw, 58px); }
.section-heading > p { max-width: 540px; margin: 0 0 5px; color: var(--muted); font-size: 18px; }
.overview-figure { margin: 0 0 28px; overflow: hidden; color: white; background: var(--forest); border-radius: 8px; box-shadow: 0 28px 70px rgba(16,32,31,.16); }
.overview-figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.overview-figure figcaption { padding: 15px 20px 17px; color: rgba(255,255,255,.66); font-size: 12px; }
.methods-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.method-card { display: flex; flex-direction: column; min-height: 610px; padding: 30px; background: #ebe5d8; border-radius: 6px; transition: transform .25s ease, box-shadow .25s ease; }
.method-card:nth-child(2) { background: #e3eadf; }
.method-card:nth-child(3) { background: #dce9e5; }
.method-card:hover { transform: translateY(-4px); box-shadow: 0 18px 50px rgba(21,44,40,.1); }
.method-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 56px; }
.index { color: #377b68; font-family: var(--serif); font-size: 18px; }
.method-type { color: var(--muted); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-align: right; text-transform: uppercase; }
.method-card h3 { margin: 0 0 16px; font-family: var(--serif); font-size: 30px; font-weight: 600; line-height: 1.08; letter-spacing: -.03em; }
.method-card > p { margin: 0; color: var(--muted); font-size: 15px; }
.method-papers { margin-top: auto; padding-top: 34px; }
.method-papers > p { margin: 0 0 8px; color: #377b68; font-size: 10px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.method-papers a { display: flex; flex-direction: column; gap: 2px; padding: 12px 0; border-top: 1px solid rgba(16,32,31,.13); text-decoration: none; font-family: var(--serif); font-size: 16px; font-weight: 600; line-height: 1.25; }
.method-papers a:hover { color: #276b59; }
.method-papers a span { color: var(--muted); font-family: var(--sans); font-size: 10px; font-weight: 600; }

.leadership-section { padding-top: 20px; }
.leadership-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.leadership-item { min-height: 265px; padding: 34px; background: #ebe5d8; border-radius: 6px; }
.leadership-item:nth-child(2), .leadership-item:nth-child(3) { background: #e3eadf; }
.item-label { margin: 0 0 48px; color: #377b68; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.leadership-item h3 { margin: 0 0 12px; font-family: var(--serif); font-size: 28px; line-height: 1.12; }
.leadership-item > p:last-child { max-width: 500px; margin: 0; color: var(--muted); font-size: 15px; }

.section-dark { color: white; background: var(--forest); }
.section-dark .section-heading > p { color: rgba(255,255,255,.6); }
.publication-list { border-top: 1px solid rgba(255,255,255,.16); }
.publication { display: grid; grid-template-columns: 190px 1fr 1fr; gap: 36px; padding: 34px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.pub-meta { display: flex; flex-direction: column; color: var(--mint); font-size: 12px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.publication h3 { margin: 0; font-family: var(--serif); font-size: clamp(21px, 2.1vw, 29px); font-weight: 500; line-height: 1.18; }
.publication h3 a { text-decoration: none; }
.publication h3 a:hover { color: var(--lime); }
.publication > p { margin: 0; color: rgba(255,255,255,.55); font-size: 15px; }

.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(70px, 10vw, 140px); align-items: start; }
.about-copy p:not(.eyebrow) { max-width: 700px; color: var(--muted); font-size: 18px; }
.about-copy h2 { margin-bottom: 32px; }
.link-row { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 32px; }
.timeline { border-top: 1px solid var(--line); }
.timeline-item { position: relative; padding: 22px 0 22px 32px; border-bottom: 1px solid var(--line); }
.timeline-item::before { content: ""; position: absolute; left: 0; top: 31px; width: 9px; height: 9px; border: 2px solid #377b68; border-radius: 50%; }
.timeline-item span { color: #377b68; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.timeline-item h3 { margin: 4px 0 2px; font-family: var(--serif); font-size: 21px; line-height: 1.22; }
.timeline-item p { margin: 0; color: var(--muted); font-size: 14px; }

.contact-section { padding: 20px 0 100px; }
.contact-card { display: grid; grid-template-columns: 1fr auto; gap: 60px; align-items: end; padding: clamp(38px, 6vw, 76px); color: white; background: #17463e; border-radius: 8px; box-shadow: 0 30px 80px rgba(16,32,31,.16); }
.contact-card h2 { max-width: 780px; }
.contact-actions { display: flex; flex-direction: column; gap: 12px; }
.button.primary.light { background: var(--lime); color: var(--forest); }
.button.secondary.light { border-color: rgba(255,255,255,.35); }

.site-footer { padding: 30px 0 40px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 50px; color: var(--muted); font-size: 12px; }
.footer-grid p { margin: 0; }
.footer-grid p:last-child { text-align: right; }

.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .hero { min-height: auto; }
  .hero-grid, .section-heading, .about-grid, .contact-card { grid-template-columns: 1fr; }
  .hero-card { max-width: 520px; }
  .methods-grid { grid-template-columns: 1fr; }
  .method-card { min-height: auto; }
  .leadership-grid { grid-template-columns: repeat(2, 1fr); }
  .publication { grid-template-columns: 130px 1fr; }
  .publication > p { grid-column: 2; }
  .section-heading { gap: 28px; }
  .contact-actions { flex-direction: row; flex-wrap: wrap; }
}

@media (max-width: 660px) {
  :root { --shell: min(100% - 28px, 1180px); }
  .nav-toggle { display: block; cursor: pointer; }
  nav { position: absolute; left: 14px; right: 14px; top: 66px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 8px; color: white; background: #0d2926; border: 1px solid rgba(255,255,255,.12); border-radius: 6px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
  nav.open { display: flex; }
  nav a { padding: 13px 12px; }
  .hero { padding: 140px 0 80px; }
  h1 { font-size: clamp(36px, 10vw, 50px); }
  .hero-grid { gap: 55px; }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-grid div, .signal-grid div:first-child { padding: 20px 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .signal-grid div:last-child { border-bottom: 0; }
  .section { padding: 84px 0; }
  .section-heading h2, .about-copy h2, .contact-card h2 { font-size: 35px; }
  .leadership-grid { grid-template-columns: 1fr; }
  .overview-figure { margin-inline: -14px; border-radius: 0; }
  .overview-figure img { aspect-ratio: 4 / 3; }
  .method-head { margin-bottom: 36px; }
  .publication { grid-template-columns: 1fr; gap: 15px; }
  .publication > p { grid-column: 1; }
  .pub-meta { flex-direction: row; gap: 10px; }
  .contact-card { gap: 36px; }
  .contact-actions { flex-direction: column; align-items: stretch; }
  .footer-grid { grid-template-columns: 1fr; gap: 10px; }
  .footer-grid p:last-child { text-align: left; }
}

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