:root {
  --ink: #1a1f22;
  --muted: #5c656b;
  --line: #d8d3cb;
  --paper: #f4f1eb;
  --white: #fbfaf7;
  --teal: #005c7c;
  --teal-dark: #00445c;
  --focus: #0a7aa0;
  --radius: 2px;
  --max: 1120px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-dark); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 3px; }

.wrap {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.wrap-wide {
  width: min(calc(100% - 40px), 1280px);
  margin-inline: auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--nav-h);
  gap: 16px;
}
.logo {
  display: flex;
  align-items: center;
  height: 22px;
}
.logo img { height: 22px; width: auto; }
.logo:hover { opacity: .75; }

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .02em;
}
.nav a[aria-current="page"] { color: var(--teal); }
.nav a:hover { color: var(--teal); }
.nav .cta {
  border: 1px solid var(--ink);
  padding: 8px 14px;
  color: var(--ink);
}
.nav .cta:hover { background: var(--ink); color: var(--white); }

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px;
  height: 44px;
  padding: 10px;
  cursor: pointer;
}
.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  height: 1.5px;
  background: var(--ink);
  position: relative;
}
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
}
.menu-toggle span::before { top: -7px; }
.menu-toggle span::after { top: 7px; }

/* Hero */
.hero {
  padding: 64px 0 40px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: end;
}
.kicker {
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 16px;
}
h1, h2, h3 {
  font-family: "IBM Plex Serif", Georgia, serif;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0;
}
h1 { font-size: clamp(2rem, 4.4vw, 3.35rem); max-width: 18ch; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
h3 { font-size: 1.2rem; }
.lede {
  margin: 22px 0 0;
  color: var(--muted);
  max-width: 42ch;
  font-size: 1.05rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: .03em;
}
.btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.btn-ghost {
  background: transparent;
  color: var(--ink);
}
.btn-ghost:hover { background: var(--ink); color: var(--white); }

.hero-figure { margin: 0; }
.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.caption {
  margin: 10px 0 0;
  font-size: 12px;
  color: var(--muted);
  letter-spacing: .04em;
}

/* Sections */
.section { padding: 80px 0; }
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 36px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.section-head p { margin: 0; color: var(--muted); max-width: 42ch; }

.page-hero {
  padding: 56px 0 28px;
}
.page-hero h1 { max-width: 20ch; }
.page-hero .lede { margin-top: 16px; }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.card {
  background: var(--white);
  border: 1px solid var(--line);
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  text-decoration: none;
  color: inherit;
}
a.card:hover { border-color: var(--teal); }
.card .num {
  font-size: 12px;
  letter-spacing: .14em;
  color: var(--teal);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; flex: 1; }
.card .more {
  margin-top: 18px;
  font-size: 13px;
  color: var(--teal);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.split img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.prose p { color: var(--muted); }
.prose p + p { margin-top: 14px; }
.prose ul {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}
.prose li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--ink);
}
.prose li span { color: var(--muted); display: block; font-size: 15px; }

/* Approach list */
.method {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: start;
}
.method ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: step;
}
.method li {
  counter-increment: step;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 12px;
}
.method li::before {
  content: counter(step, decimal-leading-zero);
  font-size: 13px;
  color: var(--teal);
  letter-spacing: .08em;
  padding-top: 4px;
}
.method h3 { font-size: 1.15rem; margin-bottom: 6px; }
.method p { margin: 0; color: var(--muted); font-size: 15px; }

.sectors {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.sectors span {
  border: 1px solid var(--line);
  padding: 6px 10px;
  font-size: 13px;
  color: var(--muted);
}

/* Form */
.form {
  display: grid;
  gap: 14px;
  max-width: 560px;
}
label { font-size: 13px; color: var(--muted); }
input, textarea, select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font: inherit;
  padding: 12px 12px;
  border-radius: var(--radius);
}
textarea { min-height: 140px; resize: vertical; }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-note { font-size: 13px; color: var(--muted); }
.form-success {
  display: none;
  background: var(--white);
  border: 1px solid var(--line);
  padding: 20px;
}
.form-success.is-on { display: block; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 36px 0 28px;
  font-size: 14px;
  color: var(--muted);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 24px;
}
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--teal); }
.legal { margin-top: 28px; font-size: 12px; }

/* Mobile */
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .nav {
    display: none;
    position: absolute;
    inset: var(--nav-h) 0 auto 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 12px 20px 20px;
    gap: 14px;
  }
  .nav.is-open { display: flex; }
  .hero-grid, .split, .method, .cards, .footer-grid, .form-row {
    grid-template-columns: 1fr;
  }
  .hero { padding-top: 36px; }
  .section { padding: 56px 0; }
  .hero-figure img, .split img { aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
