:root {
  --bg: #0b0d10;
  --bg-soft: #11151a;
  --panel: #141920;
  --text: #f5f7f8;
  --muted: #a7b0ba;
  --line: rgba(255,255,255,.12);
  --accent: #c8f0db;
  --accent-strong: #9fe5c4;
  --ink: #0c1110;
  --max: 1180px;
  --radius: 22px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 85% 8%, rgba(159,229,196,.08), transparent 30%),
    var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font: inherit; }

.skip-link {
  position: fixed;
  left: 12px;
  top: -60px;
  z-index: 999;
  background: var(--text);
  color: var(--bg);
  padding: 10px 14px;
  border-radius: 8px;
}
.skip-link:focus { top: 12px; }

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(14px);
  background: rgba(11,13,16,.78);
  transition: border-color .25s ease, background .25s ease;
}
.site-header.scrolled { border-color: var(--line); background: rgba(11,13,16,.93); }

.nav-wrap {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 650; letter-spacing: -.01em; }
.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(200,240,219,.5);
  border-radius: 10px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 20px;
}

.brand-text {
  font-size: 20px;
  line-height: 1.1;
}

.nav-links { display: flex; align-items: center; gap: 28px; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }
.nav-cta {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 9px 15px;
  color: var(--text) !important;
}
.nav-toggle { display: none; background: none; border: 0; width: 38px; height: 38px; padding: 8px; }
.nav-toggle span { display: block; height: 1px; background: var(--text); margin: 7px 0; }

.hero { min-height: 86vh; display: grid; align-items: center; padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.12fr .88fr; gap: 74px; align-items: center; }
.eyebrow, .section-kicker {
  margin: 0 0 20px;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: .2em;
  color: var(--accent);
  font-weight: 700;
}

h1, h2, h3, p { margin-top: 0; }
h1 {
  margin-bottom: 28px;
  font-size: clamp(56px, 7vw, 96px);
  line-height: .91;
  letter-spacing: -.065em;
  font-weight: 540;
}
.hero-tagline {
  margin: -8px 0 28px;
  max-width: 760px;
  font-size: clamp(27px, 3.3vw, 46px);
  line-height: 1.08;
  letter-spacing: -.035em;
  color: var(--accent);
  font-weight: 500;
}

.hero-lead {
  max-width: 660px;
  font-size: clamp(18px, 2vw, 22px);
  color: #c6cdd4;
  line-height: 1.55;
}
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 34px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  border: 1px solid var(--line);
  font-weight: 650;
  font-size: 14px;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.button-primary:hover { background: var(--accent-strong); }
.button-secondary:hover { border-color: rgba(255,255,255,.28); }

.hero-visual {
  position: relative;
  aspect-ratio: 1;
  color: var(--accent);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,240,219,.08), transparent 63%);
}
.hero-visual svg { width: 100%; height: 100%; animation: drift 13s ease-in-out infinite alternate; }
.visual-label {
  position: absolute;
  inset: auto 12% 6%;
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 11px;
  letter-spacing: .1em;
  text-transform: uppercase;
}
@keyframes drift { from { transform: rotate(-2deg) scale(.985); } to { transform: rotate(2deg) scale(1.01); } }

.section { padding: 112px 0; border-top: 1px solid var(--line); }
.statement-grid { display: grid; grid-template-columns: .42fr 1.58fr; gap: 60px; }
h2 {
  font-size: clamp(38px, 5vw, 66px);
  line-height: 1.02;
  letter-spacing: -.045em;
  font-weight: 530;
  margin-bottom: 30px;
}
.large-copy { max-width: 790px; font-size: clamp(19px, 2vw, 25px); color: #c2cad1; }
.section-heading { margin-bottom: 48px; }
.section-heading h2 { margin-bottom: 0; }
.muted { color: var(--muted); }

.research-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.research-card {
  min-height: 300px;
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.018));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  transition: transform .25s ease, border-color .25s ease, background .25s ease;
}
.research-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,240,219,.25);
  background: linear-gradient(180deg, rgba(200,240,219,.06), rgba(255,255,255,.02));
}
.card-index { font-size: 12px; color: var(--accent); margin-bottom: 58px; letter-spacing: .14em; }
.research-card h3 { font-size: 28px; letter-spacing: -.03em; margin-bottom: 14px; }
.research-card p { color: var(--muted); max-width: 520px; }
.card-tag {
  margin-top: auto;
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 10px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #c9d0d6;
}

.principles-list { border-top: 1px solid var(--line); }
.principle {
  display: grid;
  grid-template-columns: 72px 1fr 1fr;
  gap: 28px;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.principle > span { color: var(--accent); font-size: 12px; }
.principle h3 { font-size: 24px; letter-spacing: -.02em; margin: 0; }
.principle p { color: var(--muted); margin: 0; }

.publication-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; align-items: center; }
.publication-placeholder {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 42px;
  min-height: 250px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(255,255,255,.02);
}
.pub-line { height: 1px; background: rgba(255,255,255,.15); margin-bottom: 22px; }
.pub-line.short { width: 62%; }
.publication-placeholder p { color: var(--muted); margin: 14px 0 0; }

.contact-section { padding-bottom: 130px; }
.contact-card {
  border-radius: 30px;
  background: var(--accent);
  color: var(--ink);
  padding: clamp(34px, 6vw, 70px);
}
.contact-card .section-kicker { color: #315747; }
.contact-card h2 { max-width: 830px; }
.contact-card > p { max-width: 680px; color: #30453d; font-size: 18px; }
.contact-actions { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin-top: 34px; }
.button-light { background: var(--ink); color: var(--text); border-color: var(--ink); }
.contact-note { color: #446258; font-size: 13px; }

.site-footer { padding: 42px 0 56px; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.footer-brand { color: var(--text); margin-bottom: 12px; }
.footer-grid p { margin: 6px 0; font-size: 13px; }
.footer-meta { text-align: right; }

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

@media (max-width: 860px) {
  .hero { min-height: auto; padding-top: 48px; }
  .hero-grid, .statement-grid, .publication-layout { grid-template-columns: 1fr; }
  .hero-grid { gap: 24px; }
  .hero-visual { max-width: 520px; margin: 0 auto; }
  .statement-grid { gap: 16px; }
  .research-grid { grid-template-columns: 1fr; }
  .principle { grid-template-columns: 48px 1fr; }
  .principle p { grid-column: 2; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 20px;
    right: 20px;
    flex-direction: column;
    align-items: stretch;
    background: rgba(17,21,26,.98);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 7px 3px; }
  .footer-grid { flex-direction: column; }
  .footer-meta { text-align: left; }
}

@media (max-width: 540px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header .container { width: min(calc(100% - 24px), var(--max)); }
  .brand-text { font-size: 16px; }
  .hero { padding-bottom: 68px; }
  h1 { font-size: clamp(44px, 12vw, 62px); }
  .hero-tagline { font-size: clamp(24px, 7.5vw, 36px); }
  .section { padding: 78px 0; }
  .research-card { min-height: 270px; padding: 24px; }
  .principle { gap: 12px; }
  .contact-card { border-radius: 22px; }
}

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