:root {
  --bg: #ffffff;
  --ink: #0d1117;
  --muted: #5d6877;
  --line: #d9e7f5;
  --line-strong: #9ec4ea;
  --accent: #7db3e6;
  --accent-dark: #3a6f9d;
  --card: #f8fbff;
  --shadow: 0 14px 40px rgba(30, 52, 82, 0.08);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(125, 179, 230, 0.12), transparent 28%),
    radial-gradient(circle at top right, rgba(125, 179, 230, 0.08), transparent 24%),
    var(--bg);
  color: var(--ink);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.page-shell {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 18px 0 48px;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 8px 0 24px;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  border: 1px solid var(--line-strong);
  background: linear-gradient(180deg, #ffffff, #eef6fd);
  color: var(--accent-dark);
  font-weight: 800;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

.brand-text small {
  color: var(--muted);
  font-size: 0.86rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  border: 1px solid transparent;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: rgba(125, 179, 230, 0.12);
  border-color: rgba(125, 179, 230, 0.3);
}

.menu-button {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 14px;
  padding: 0;
}

.menu-button span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  margin: 4px auto;
  border-radius: 2px;
}

.hero,
.page-hero,
.content-section,
.stats-strip {
  animation: fadeUp 0.65s ease both;
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr;
  gap: 28px;
  padding: 56px 0 30px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 14px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.75rem;
  color: var(--accent-dark);
  font-weight: 700;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
}

h1,
.page-hero h1,
.split-copy h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 7vw, 5.3rem);
  letter-spacing: -0.03em;
  font-weight: 600;
}

.hero-copy .lede,
.page-hero .lede,
.split-copy p,
.info-card p,
.publication-card p,
.split-note p,
.contact-banner p {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy {
  padding-right: 20px;
}

.hero-copy .lede {
  max-width: 62ch;
  margin: 22px 0 0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.text-link:hover {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--ink);
  color: #fff;
}

.button-primary:hover {
  background: #1f2937;
}

.button-secondary {
  background: rgba(125, 179, 230, 0.12);
  color: var(--ink);
  border-color: rgba(125, 179, 230, 0.35);
}

.hero-panel {
  display: grid;
  gap: 14px;
}

.panel-card,
.info-card,
.publication-card,
.split-note,
.contact-banner,
.stats-strip {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow);
}

.panel-card {
  padding: 20px;
  border-radius: var(--radius);
}

.panel-card-top {
  background: linear-gradient(180deg, rgba(125, 179, 230, 0.18), rgba(255, 255, 255, 0.92));
}

.panel-kicker,
.publication-meta {
  display: inline-block;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  color: var(--accent-dark);
  font-weight: 800;
}

.panel-card h2 {
  font-family: "Cormorant Garamond", serif;
  font-size: 2.4rem;
}

.panel-card h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 10px 0 42px;
  padding: 18px;
  border-radius: 26px;
}

.stats-strip div {
  padding: 8px 4px;
}

.stats-strip strong {
  display: block;
  font-size: 1.05rem;
}

.stats-strip span {
  display: block;
  color: var(--muted);
  margin-top: 4px;
}

.content-section {
  margin-top: 34px;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 18px;
}

.section-heading h2,
.contact-banner h2 {
  font-size: clamp(1.9rem, 4vw, 3rem);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.info-card {
  padding: 22px;
  border-radius: 20px;
  min-height: 190px;
}

.info-card h3,
.publication-card h3,
.split-note h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.split-section {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 16px;
  align-items: stretch;
}

.split-copy {
  padding: 30px 18px 30px 0;
}

.split-copy p:last-child {
  max-width: 58ch;
}

.split-note {
  border-radius: 22px;
  padding: 24px;
}

.split-note p {
  margin: 0 0 12px;
}

.contact-banner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 26px;
  border-radius: 26px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 32px 0 8px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  margin-top: 42px;
}

.page-hero {
  padding: 58px 0 16px;
  max-width: 760px;
}

.page-hero .lede {
  max-width: 64ch;
  margin-top: 18px;
}

.publication-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.publication-card {
  padding: 22px;
  border-radius: 20px;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--accent-dark);
  font-weight: 700;
}

.blank-page {
  min-height: 100vh;
  width: min(860px, calc(100% - 48px));
  margin: 0 auto;
  padding: 48px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.blank-page::before {
  content: "";
  width: 78px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--line-strong), transparent);
  margin-bottom: 10px;
}

.blank-page h1 {
  max-width: 12ch;
}

.blank-page p {
  margin: 0;
  max-width: 58ch;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.7;
}

.blank-page .eyebrow {
  margin-bottom: 2px;
}

.blank-page-home {
  letter-spacing: 0.01em;
}

.blank-page-research h1 {
  text-transform: lowercase;
}

.blank-page-contact h1 {
  text-transform: none;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 920px) {
  .hero,
  .split-section,
  .card-grid,
  .publication-list,
  .stats-strip {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 34px;
  }

  .split-copy {
    padding-right: 0;
  }
}

@media (max-width: 720px) {
  .page-shell {
    width: min(100% - 24px, 1180px);
  }

  .site-header {
    align-items: flex-start;
  }

  .menu-button {
    display: inline-block;
  }

  .site-nav {
    display: none;
    width: 100%;
    padding-top: 10px;
  }

  .site-nav.open {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions,
  .contact-banner,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  h1,
  .page-hero h1,
  .split-copy h2 {
    font-size: clamp(2.45rem, 12vw, 4.2rem);
  }
}
