:root {
  --ink: #12262b;
  --ink-soft: #4a5d62;
  --line: #dde5e6;
  --bg: #ffffff;
  --bg-alt: #f3f7f7;
  --teal: #008695;
  --teal-dark: #006a76;
  --teal-tint: #e3f1f2;
  --amber: #f5b322;
  --radius: 10px;
  --wrap: 1120px;
  --serif: "Source Serif 4", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font: 400 17px/1.65 var(--sans);
  color: var(--ink);
  background: var(--bg);
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 4.5vw, 3.2rem); margin: 0 0 1rem; }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin: 2.5rem 0 1rem; }
h3 { font-size: 1.25rem; margin: 1.75rem 0 0.5rem; }
p { margin: 0 0 1rem; }
address { font-style: normal; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 760px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; padding: 8px 12px; z-index: 10; }

/* Header */
.site-header { border-bottom: 1px solid var(--line); background: #fff; position: sticky; top: 0; z-index: 5; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { display: flex; align-items: center; }
.brand img { height: 60px; width: auto; }
.site-nav ul { list-style: none; display: flex; align-items: center; gap: 28px; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; color: var(--ink-soft); font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover, .site-nav a[aria-current] { color: var(--teal); }
.site-nav .btn { color: #fff; }
.nav-toggle { display: none; }

/* Buttons */
.btn {
  display: inline-block; background: var(--teal); color: #fff; text-decoration: none;
  padding: 12px 22px; border-radius: 999px; font-weight: 600; font-size: 0.95rem; border: 0;
}
.btn:hover { background: var(--teal-dark); color: #fff; }
.btn-small { padding: 8px 16px; }
.btn-ghost { background: transparent; color: var(--teal); box-shadow: inset 0 0 0 1.5px var(--teal); }
.btn-ghost:hover { background: var(--teal-tint); color: var(--teal-dark); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.5rem; }

/* Hero */
.hero { padding: 80px 0 72px; background: linear-gradient(180deg, var(--teal-tint), #fff); }
.hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }
.eyebrow { font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal); margin-bottom: 0.75rem; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36em; }
.hero-figure { border-radius: 16px; overflow: hidden; box-shadow: 0 24px 60px -24px rgba(0, 60, 66, 0.45); background: #2b2b2b; }
.hero-figure img { width: 100%; }

/* Page header */
.page-head { padding: 64px 0 40px; background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.page-head .lede { margin-bottom: 0; }
.crumb { font-size: 0.85rem; margin-bottom: 0.75rem; }
.crumb a { color: var(--ink-soft); }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section h2:first-child { margin-top: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; display: flex; flex-direction: column;
}
.card h3 { margin-top: 0; }
.card p { color: var(--ink-soft); flex: 1; }
.card .tag { font-size: 0.8rem; font-weight: 600; color: var(--teal); text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.5rem; }
.card-link { font-weight: 600; text-decoration: none; }
.card-link::after { content: " \2192"; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 0 0 1rem; }
.ticks li { position: relative; padding-left: 28px; margin-bottom: 0.6rem; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.45em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal); transform: rotate(-45deg);
}
.steps { counter-reset: step; list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { counter-increment: step; position: relative; padding: 18px 20px 18px 64px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.steps li::before {
  content: counter(step); position: absolute; left: 18px; top: 16px; width: 30px; height: 30px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 600; display: grid; place-items: center; font-size: 0.9rem;
}

.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 20px; margin: 1.5rem 0; }
figure { margin: 0; }
.gallery figure, .figure { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 12px; }
.gallery img, .figure img { margin: 0 auto; border-radius: 6px; }
figcaption { font-size: 0.88rem; color: var(--ink-soft); margin-top: 10px; line-height: 1.5; }

.note { border-left: 4px solid var(--amber); background: #fff8ea; padding: 14px 18px; border-radius: 0 var(--radius) var(--radius) 0; font-size: 0.95rem; }

.video { position: relative; padding-top: 56.25%; border-radius: var(--radius); overflow: hidden; background: #000; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.cta { background: var(--teal); color: #fff; border-radius: 16px; padding: 48px; display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.cta h2 { margin: 0 0 0.5rem; color: #fff; }
.cta p { margin: 0; opacity: 0.9; }
.cta .btn { background: #fff; color: var(--teal-dark); }
.cta .btn:hover { background: var(--teal-tint); }

/* Publications */
.pubs { padding-left: 1.4rem; }
.pubs li { margin-bottom: 1.25rem; padding-left: 0.25rem; }
.pubs p { margin: 0; }
.pub-title { font-weight: 600; }
.pub-authors { color: var(--ink-soft); font-size: 0.95rem; }
.pub-source { font-style: italic; font-size: 0.95rem; }

/* News */
.article-meta { color: var(--ink-soft); font-size: 0.95rem; }
blockquote { margin: 1.5rem 0; padding: 0 0 0 20px; border-left: 3px solid var(--teal); font-family: var(--serif); font-size: 1.15rem; }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Footer */
.site-footer { background: #0d1f23; color: #b9c8ca; font-size: 0.92rem; padding: 56px 0 0; margin-top: 0; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 0.8fr 1.4fr; gap: 40px; }
.footer-brand { color: #fff; font-weight: 600; font-size: 1.05rem; }
.footer-head { color: #fff; font-weight: 600; margin-bottom: 0.5rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.4rem; }
.footer-base { border-top: 1px solid #22383d; margin-top: 40px; padding-top: 20px; padding-bottom: 24px; font-size: 0.85rem; }

@media (max-width: 860px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .hero { padding: 48px 0; }
  .hero-grid, .split, .contact-grid, .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cards { grid-template-columns: 1fr; }
  .section { padding: 48px 0; }
  .cta { padding: 32px 24px; }
  .nav-toggle {
    display: block; background: none; border: 1px solid var(--line); border-radius: 8px;
    padding: 6px 12px; font: 500 0.9rem var(--sans); color: var(--ink);
  }
  .site-nav { display: none; position: absolute; top: 80px; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); }
  .nav-open .site-nav { display: block; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 16px 16px; }
  .site-nav li { width: 100%; }
  .site-nav a { display: block; padding: 10px 0; }
  .site-nav .btn { display: inline-block; margin-top: 8px; padding: 8px 16px; }
}
