:root {
  --ink: #0a1f1c;
  --muted: #58706b;
  --paper: #f4f5ef;
  --white: #fff;
  --evergreen: #0b4036;
  --evergreen-2: #126453;
  --ember: #e2914b;
  --line: rgba(10,31,28,.14);
  --shadow: 0 24px 70px rgba(4, 31, 26, .14);
  --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "DM Sans", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 110px 0; position: relative; overflow: hidden; }
.section-light { background: #fbfcf8; }
.section-dark { background: #071a18; color: #f6faf7; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 999; background: white; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 16px; }

.site-header { position: fixed; top: 0; inset-inline: 0; z-index: 50; padding: 18px 0; transition: .25s ease; }
.site-header.scrolled { background: rgba(244,245,239,.88); backdrop-filter: blur(18px); border-bottom: 1px solid var(--line); padding: 10px 0; }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 12px; font: 700 14px/1 "Manrope"; text-decoration: none; letter-spacing: -.01em; }
.brand-mark { width: 42px; height: 42px; border-radius: 13px; display: grid; place-items: center; color: white; background: var(--evergreen); font-size: 13px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a { text-decoration: none; font-weight: 600; font-size: 14px; color: #24443e; }
.site-nav a:hover { color: var(--evergreen-2); }
.menu-toggle { display:none; border:0; background:transparent; font:700 14px "DM Sans"; }

.hero { min-height: 100vh; display: grid; align-items: center; padding-top: 150px; background: radial-gradient(circle at 20% 20%, rgba(226,145,75,.18), transparent 35%), linear-gradient(135deg, #f7f7f1 0%, #edf2eb 100%); }
.hero-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.eyebrow { margin: 0 0 18px; text-transform: uppercase; letter-spacing: .2em; font-size: 12px; font-weight: 800; color: var(--evergreen-2); }
h1, h2, h3 { font-family: "Manrope", sans-serif; letter-spacing: -.045em; margin-top: 0; }
h1 { font-size: clamp(48px, 6.3vw, 86px); line-height: .98; margin-bottom: 28px; max-width: 940px; }
h2 { font-size: clamp(38px, 4.6vw, 62px); line-height: 1.05; margin-bottom: 20px; }
h3 { line-height: 1.15; }
.hero-lede { font-size: 19px; color: #405a55; max-width: 760px; margin: 0 0 34px; }
.hero-actions, .connect-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 22px; border-radius: 999px; text-decoration: none; font-weight: 700; transition: .2s ease; }
.button.primary { color: white; background: var(--evergreen); box-shadow: 0 14px 28px rgba(11,64,54,.18); }
.button.primary:hover { transform: translateY(-2px); background: var(--evergreen-2); }
.button.secondary { border: 1px solid var(--line); background: rgba(255,255,255,.55); }
.button.secondary:hover { transform: translateY(-2px); background: white; }
.button.secondary.light { color:white; border-color: rgba(255,255,255,.28); background: rgba(255,255,255,.05); }
.hero-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 42px; }
.hero-meta span { padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; color: #4b635e; font-size: 12px; font-weight: 700; background: rgba(255,255,255,.42); }
.portrait-card { position: relative; z-index: 2; padding: 14px; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.85); box-shadow: var(--shadow); border-radius: 34px; backdrop-filter: blur(14px); transform: rotate(1.5deg); }
.portrait-frame { overflow: hidden; border-radius: 24px; aspect-ratio: 1/1.08; background: #dfe5e2; }
.portrait-frame img { width:100%; height:100%; object-fit:cover; }
.portrait-caption { display:flex; justify-content:space-between; align-items:center; padding:18px 8px 8px; gap: 14px; }
.portrait-caption strong, .portrait-caption span { display:block; }
.portrait-caption strong { font-family:"Manrope"; }
.portrait-caption div span { color: var(--muted); font-size: 12px; }
.status { font-size: 11px; color: var(--evergreen-2); font-weight: 700; white-space: nowrap; }
.status i { display:inline-block; width:8px; height:8px; background:#35b66f; border-radius:50%; margin-right:6px; box-shadow: 0 0 0 5px rgba(53,182,111,.12); }
.hero-orb { position:absolute; border-radius:50%; filter: blur(2px); opacity:.6; }
.orb-one { width: 320px; height: 320px; right: -100px; top: 80px; border: 1px solid rgba(11,64,54,.18); }
.orb-two { width: 180px; height: 180px; left: -80px; bottom: 60px; background: rgba(226,145,75,.1); }

.about-grid { display:grid; grid-template-columns: .8fr 1.2fr; gap:100px; }
.section-heading { max-width: 760px; }
.section-heading.split { max-width:none; display:flex; justify-content:space-between; align-items:flex-end; gap:40px; margin-bottom:46px; }
.section-heading.split > * { max-width: 650px; }
.about-copy > p { font-size: 19px; color: var(--muted); }
.expertise-grid { display:grid; grid-template-columns:1fr 1fr; gap:1px; margin-top:44px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.expertise-grid article { background:#fbfcf8; padding:32px; }
.expertise-grid span { font-size:12px; font-weight:800; color:var(--ember); }
.expertise-grid h3 { font-size:22px; margin:14px 0 8px; }
.expertise-grid p { margin:0; color:var(--muted); font-size:14px; }

.filters { display:flex; flex-wrap:wrap; gap:8px; justify-content:flex-end; }
.filter { border:1px solid var(--line); background:transparent; border-radius:999px; padding:9px 14px; font:700 12px "DM Sans"; cursor:pointer; color:#46605a; }
.filter.active, .filter:hover { background:var(--evergreen); color:white; border-color:var(--evergreen); }
.project-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:18px; }
.project-card { min-height: 330px; padding:28px; border-radius:var(--radius); border:1px solid var(--line); background:rgba(255,255,255,.52); display:flex; flex-direction:column; transition:.25s ease; }
.project-card:hover { transform:translateY(-7px); box-shadow:var(--shadow); background:white; }
.project-card.featured { background:var(--evergreen); color:white; }
.project-card.hidden { display:none; }
.project-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:58px; }
.project-index { font-weight:800; color:var(--ember); }
.tag { font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.1em; border:1px solid var(--line); border-radius:999px; padding:5px 9px; }
.featured .tag { border-color:rgba(255,255,255,.28); }
.project-card h3 { font-size:28px; margin-bottom:12px; }
.project-card p { color:var(--muted); margin:0 0 28px; }
.project-card.featured p { color:rgba(255,255,255,.75); }
.project-card a { margin-top:auto; text-decoration:none; font-weight:800; color:var(--evergreen-2); }
.project-card.featured a { color:white; }
.project-card a span { transition:.2s ease; display:inline-block; }
.project-card a:hover span { transform:translate(3px,-3px); }

.research-grid { display:grid; grid-template-columns:.8fr 1.2fr; gap:90px; }
.section-dark .eyebrow { color:#69c5a9; }
.heading-note { color:var(--muted); font-size:17px; }
.section-dark .heading-note { color:rgba(255,255,255,.62); }
.profile-links { display:flex; flex-wrap:wrap; gap:12px; margin-top:30px; }
.profile-links a { color:white; text-decoration:none; border-bottom:1px solid rgba(255,255,255,.35); padding-bottom:4px; font-weight:700; }
.publication-list { border-top:1px solid rgba(255,255,255,.16); }
.publication { padding:28px 0; border-bottom:1px solid rgba(255,255,255,.16); display:grid; grid-template-columns:1.2fr .8fr; gap:36px; }
.publication span { color:#69c5a9; font-size:11px; letter-spacing:.1em; text-transform:uppercase; font-weight:800; }
.publication h3 { font-size:21px; margin:8px 0 0; }
.publication p { margin:26px 0 0; color:rgba(255,255,255,.58); font-size:14px; }

.document-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.document-card { display:grid; grid-template-columns:auto 1fr auto; gap:20px; align-items:center; padding:26px; border:1px solid var(--line); border-radius:20px; text-decoration:none; background:white; transition:.2s ease; }
.document-card:hover { transform:translateY(-4px); box-shadow:0 18px 44px rgba(4,31,26,.09); }
.doc-type { display:grid; place-items:center; width:48px; height:48px; border-radius:14px; background:#edf4f0; color:var(--evergreen); font-size:11px; font-weight:900; }
.document-card h3 { margin:0 0 5px; font-size:20px; }
.document-card p { margin:0; color:var(--muted); font-size:13px; }
.download { font-size:26px; color:var(--evergreen-2); }

.ecosystem { background:linear-gradient(180deg,#f4f5ef,#e9efea); }
.ecosystem-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; margin-top:40px; }
.ecosystem-card { min-height:360px; padding:40px; border-radius:30px; text-decoration:none; color:white; display:flex; flex-direction:column; background:linear-gradient(145deg,#0c4a3e,#071a18); transition:.25s ease; }
.ecosystem-card:nth-child(2) { background:linear-gradient(145deg,#72502f,#25180e); }
.ecosystem-card:hover { transform:translateY(-6px); box-shadow:var(--shadow); }
.ecosystem-card > span { font-size:11px; letter-spacing:.16em; text-transform:uppercase; font-weight:800; opacity:.7; }
.ecosystem-card h3 { font-size:40px; margin:45px 0 14px; }
.ecosystem-card p { max-width:540px; color:rgba(255,255,255,.72); }
.ecosystem-card b { margin-top:auto; }

.connect-section { background:#071a18; color:white; padding-top:0; }
.connect-card { background:linear-gradient(135deg,#0f5a49,#0a332c); border:1px solid rgba(255,255,255,.12); border-radius:34px; padding:64px; display:flex; align-items:flex-end; justify-content:space-between; gap:50px; }
.connect-card > div:first-child { max-width:720px; }
.connect-card h2 { margin-bottom:14px; }
.connect-card p:not(.eyebrow) { color:rgba(255,255,255,.68); }
.connect-section .eyebrow { color:#82d7ba; }
.connect-actions { justify-content:flex-end; }
.connect-actions .primary { background:white; color:var(--evergreen); }

.site-footer { background:#071a18; color:rgba(255,255,255,.58); padding:28px 0; border-top:1px solid rgba(255,255,255,.1); font-size:12px; }
.footer-grid { display:grid; grid-template-columns:1fr 1fr auto; gap:20px; align-items:center; }
.site-footer a { color:white; text-decoration:none; }

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

@media (max-width: 980px) {
  .hero-grid, .about-grid, .research-grid { grid-template-columns:1fr; gap:55px; }
  .hero { min-height:auto; }
  .portrait-card { max-width:560px; }
  .project-grid { grid-template-columns:1fr 1fr; }
  .section-heading.split { align-items:flex-start; flex-direction:column; }
  .filters { justify-content:flex-start; }
  .publication { grid-template-columns:1fr; gap:0; }
  .publication p { margin-top:14px; }
  .connect-card { align-items:flex-start; flex-direction:column; }
}

@media (max-width: 720px) {
  .container { width:min(100% - 28px,1180px); }
  .section { padding:78px 0; }
  .site-header { padding:12px 0; }
  .menu-toggle { display:block; }
  .site-nav { position:absolute; top:66px; left:14px; right:14px; flex-direction:column; align-items:stretch; padding:14px; gap:4px; background:rgba(251,252,248,.96); border:1px solid var(--line); border-radius:18px; box-shadow:var(--shadow); opacity:0; transform:translateY(-12px); pointer-events:none; transition:.2s ease; }
  .site-nav.open { opacity:1; transform:none; pointer-events:auto; }
  .site-nav a { padding:12px; }
  .hero { padding-top:115px; }
  h1 { font-size:clamp(43px,13vw,62px); }
  h2 { font-size:38px; }
  .hero-meta { margin-top:30px; }
  .portrait-caption { align-items:flex-start; flex-direction:column; }
  .expertise-grid, .project-grid, .document-grid, .ecosystem-grid { grid-template-columns:1fr; }
  .project-card { min-height:280px; }
  .project-top { margin-bottom:38px; }
  .connect-card { padding:38px 24px; border-radius:24px; }
  .connect-actions { width:100%; }
  .connect-actions .button { width:100%; }
  .footer-grid { grid-template-columns:1fr; text-align:center; }
}

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