@font-face {
  font-family: "Inter";
  src: url("/fonts/inter.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("/fonts/source-serif-4.woff2") format("woff2");
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f1f1a;
  --body: #34433e;
  --muted: #66756f;
  --line: #e3e8e5;
  --bg: #ffffff;
  --tint: #f3f7f5;
  --brand: #1d5c4d;
  --brand-dark: #133f35;
  --brand-soft: #e3efea;
  --sans: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --radius: 14px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font: 400 17px/1.65 var(--sans);
  font-feature-settings: "cv11", "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1, h2, h3 { color: var(--ink); margin: 0; }
p { margin: 0; }
a { color: var(--brand); }
a:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 6px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 20;
  background: var(--brand); color: #fff; padding: 10px 14px; border-radius: 8px;
}
.skip:focus { top: 12px; }

.eyebrow {
  font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--brand);
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-weight: 650; font-size: 1.0625rem; letter-spacing: -0.015em;
}
.mark { width: 30px; height: 30px; flex: none; }
.mark rect { fill: var(--brand); }
.mark path { stroke: #fff; }
.site-header nav { display: flex; gap: 4px; }
.site-header nav a {
  color: var(--body); text-decoration: none;
  font-size: 0.9375rem; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  transition: background-color .15s, color .15s;
}
.site-header nav a:hover { background: var(--tint); color: var(--ink); }
.site-header nav a[aria-current="page"] { background: var(--brand-soft); color: var(--brand-dark); }

/* Hero */
.hero {
  background:
    radial-gradient(900px 400px at 85% -10%, rgba(29, 92, 77, 0.10), transparent 70%),
    linear-gradient(180deg, var(--tint), #fff);
  border-bottom: 1px solid var(--line);
  padding: 96px 0 80px;
}
.hero h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.5rem, 6vw, 4rem); line-height: 1.05; letter-spacing: -0.02em;
  max-width: 14em; margin: 14px 0 22px;
}
.lede { font-size: 1.1875rem; line-height: 1.6; color: var(--body); max-width: 38em; }
.topics { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 32px 0 0; }
.topics li {
  font-size: 0.875rem; font-weight: 500; color: var(--brand-dark);
  background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
}

/* Sections */
.section { padding: 72px 0 88px; }
.section-head { margin-bottom: 28px; }
.section-head h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.875rem; letter-spacing: -0.015em;
}

/* Cards */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 28px; border: 1px solid var(--line); border-radius: var(--radius);
  background: #fff; color: inherit; text-decoration: none;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.card:hover {
  border-color: #c9d6d0;
  box-shadow: 0 1px 2px rgba(15, 31, 26, .04), 0 12px 32px -12px rgba(15, 31, 26, .18);
  transform: translateY(-2px);
}
.chip {
  align-self: flex-start;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.02em;
  color: var(--brand-dark); background: var(--brand-soft);
  padding: 4px 10px; border-radius: 999px;
}
.card-title {
  font-family: var(--serif); font-weight: 600; color: var(--ink);
  font-size: 1.375rem; line-height: 1.25; letter-spacing: -0.01em;
}
.card-summary { color: var(--body); font-size: 0.9875rem; }
.card-meta {
  margin-top: auto; padding-top: 8px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 0.875rem; color: var(--muted);
}
.arrow { color: var(--brand); font-size: 1.1rem; transition: transform .2s; }
.card:hover .arrow { transform: translateX(4px); }

.card-featured {
  margin-bottom: 24px; padding: 44px 48px;
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-color: transparent; color: #dbe9e3;
}
.card-featured:hover { border-color: transparent; }
.card-featured .chip { background: rgba(255,255,255,.14); color: #fff; }
.card-featured .card-title { color: #fff; font-size: clamp(1.75rem, 3.5vw, 2.375rem); max-width: 20em; }
.card-featured .card-summary { color: #cfe2da; font-size: 1.0625rem; max-width: 40em; }
.card-featured .card-meta { color: #a9c7bb; max-width: none; }
.card-featured .arrow { color: #fff; }

/* Values */
.values { background: var(--tint); border-top: 1px solid var(--line); padding: 64px 0; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.values h3 { font-size: 1.0625rem; font-weight: 600; margin-bottom: 6px; }
.values h3::before {
  content: ""; display: block; width: 28px; height: 3px; border-radius: 2px;
  background: var(--brand); margin-bottom: 16px;
}
.values p { color: var(--body); font-size: 0.9875rem; }

/* Page / article header */
.page-head {
  background: linear-gradient(180deg, var(--tint), #fff);
  border-bottom: 1px solid var(--line);
  padding: 72px 0 48px; margin-bottom: 48px;
}
.page-head h1 {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(2.125rem, 5vw, 3.125rem); line-height: 1.1; letter-spacing: -0.02em;
}
.page-head .lede { margin-top: 18px; font-size: 1.1875rem; }
.crumbs {
  display: flex; gap: 10px; align-items: center; margin-bottom: 18px;
  font-size: 0.875rem; font-weight: 500; color: var(--brand);
}
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--brand); }
.crumbs span { color: #b5c1bc; }
.byline { margin-top: 24px; font-size: 0.875rem; color: var(--muted); }

/* Prose */
.prose { font-size: 1.125rem; line-height: 1.75; color: var(--body); }
.prose > * + * { margin-top: 1.15em; }
.prose h2 {
  font-family: var(--serif); font-weight: 600;
  font-size: 1.625rem; line-height: 1.25; letter-spacing: -0.01em;
  margin-top: 2em;
}
.prose h2 + p { margin-top: 0.6em; }
.prose > p:first-child { font-size: 1.25rem; line-height: 1.65; color: var(--ink); }
.prose ul { padding-left: 1.25em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--brand); }
.prose a { text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose .meta { font-size: 0.875rem; color: var(--muted); }

/* More */
.more { margin-top: 88px; padding: 64px 0 8px; border-top: 1px solid var(--line); background: var(--tint); }
.more .eyebrow { margin-bottom: 24px; }
.more .grid { padding-bottom: 64px; }

/* Footer */
.site-footer { background: var(--ink); color: #a6b5af; margin-top: 0; }
main > .prose:last-child, main > .container.prose:last-child { margin-bottom: 96px; }
.site-footer .container { padding-top: 56px; padding-bottom: 36px; }
.foot-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.brand-foot { color: #fff; }
.foot-copy { margin-top: 16px; max-width: 34em; font-size: 0.9rem; line-height: 1.6; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 28px; align-content: flex-start; padding-top: 6px; }
.foot-nav a { color: #dbe5e1; text-decoration: none; font-size: 0.9375rem; font-weight: 500; }
.foot-nav a:hover { color: #fff; }
.foot-legal {
  margin-top: 40px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  font-size: 0.8125rem; color: #7f908a;
}

@media (max-width: 900px) {
  .grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  .container { padding: 0 20px; }
  .bar { height: 60px; }
  .brand span { font-size: 1rem; }
  .site-header nav a { padding: 6px 10px; font-size: 0.875rem; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 48px 0 64px; }
  .grid { grid-template-columns: 1fr; gap: 16px; }
  .card { padding: 24px; }
  .card-featured { padding: 32px 24px; }
  .page-head { padding: 48px 0 36px; margin-bottom: 36px; }
  .prose { font-size: 1.0625rem; }
  .prose > p:first-child { font-size: 1.125rem; }
}
@media (max-width: 420px) {
  .site-header .brand { gap: 8px; }
  .site-header .mark { width: 26px; height: 26px; }
  .site-header .brand span { font-size: 0.9375rem; }
  .site-header nav { gap: 0; }
  .site-header nav a { padding: 6px 8px; font-size: 0.8125rem; }
}
@media (max-width: 340px) {
  .site-header .brand span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
