:root {
  color-scheme: light;
  --paper: #fbfaf7;
  --paper-alt: #f3f6f4;
  --ink: #172224;
  --ink-muted: #4f5f62;
  --ink-soft: #738082;
  --line: #cbd6d3;
  --teal: #1f5f63;
  --teal-dark: #143f42;
  --teal-soft: #e3eeee;
  --amber: #b1782c;
  --white: #ffffff;
  --max: 1180px;
  --radius: 8px;
  --shadow: 0 18px 48px rgba(23, 34, 36, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "IBM Plex Sans", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}

body.is-menu-locked {
  overflow: hidden;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 18px;
  top: -60px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: var(--radius);
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
}

.skip-link:focus-visible {
  top: 18px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(203, 214, 211, 0.72);
  background: rgba(251, 250, 247, 0.92);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(var(--max), calc(100% - 36px));
  min-height: 72px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 24px;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 158px;
  height: 42px;
  padding: 8px 12px;
  border-radius: var(--radius);
  background: var(--ink);
  line-height: 1;
  text-decoration: none;
}

.wordmark__logo {
  width: 134px;
  height: auto;
}

.site-nav {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--ink-muted);
  font-size: 14px;
  font-weight: 650;
}

.site-nav a,
.language-links a,
.site-footer a {
  text-decoration: none;
}

.site-nav a {
  padding: 10px 0;
  border-bottom: 2px solid transparent;
}

.site-nav a.is-active,
.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--teal-dark);
  border-bottom-color: var(--teal);
}

.language-links {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-muted);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
}

.language-links a {
  padding: 7px 9px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
}

.language-links a[aria-current="page"] {
  border-color: var(--teal);
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 19px;
  height: 2px;
  background: currentColor;
  content: "";
}

.nav-toggle span {
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.hero {
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  width: min(var(--max), calc(100% - 36px));
  min-height: min(720px, 78vh);
  margin: 0 auto;
  padding: clamp(70px, 10vw, 128px) 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 7vw, 86px);
  align-items: center;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow,
.card-kicker {
  color: var(--teal-dark);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.legal-document h1,
.legal-document h2 {
  color: var(--ink);
  font-family: "Source Serif 4", Georgia, serif;
  letter-spacing: 0;
}

.hero h1 {
  margin: 16px 0 0;
  font-size: clamp(46px, 6.4vw, 84px);
  line-height: 0.98;
  font-weight: 720;
}

.hero-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-muted);
  font-size: clamp(19px, 2.1vw, 23px);
  line-height: 1.58;
}

.hero-visual {
  margin: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow);
}

.hero-visual img {
  width: 100%;
  height: clamp(340px, 38vw, 520px);
  object-fit: cover;
}

.page-section {
  border-bottom: 1px solid var(--line);
}

.page-section--quiet {
  background: var(--paper-alt);
}

.section-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-heading {
  max-width: 760px;
}

.section-heading h2 {
  margin: 10px 0 0;
  font-size: clamp(34px, 4.4vw, 58px);
  line-height: 1.04;
  font-weight: 720;
}

.initiative-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.initiative-card {
  display: grid;
  grid-template-rows: 230px minmax(0, 1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
}

.initiative-media {
  background: #eef4f3;
  overflow: hidden;
}

.initiative-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.initiative-copy {
  padding: 28px;
}

.icon-mark {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--teal-soft);
  color: var(--teal-dark);
}

.icon-mark svg {
  width: 24px;
  height: 24px;
}

.initiative-copy h3,
.work-list h3 {
  margin: 4px 0 10px;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.2;
}

.initiative-copy p,
.work-list p,
.legal-content p {
  margin: 0;
  color: var(--ink-muted);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  color: var(--teal-dark);
  font-family: "IBM Plex Mono", Consolas, monospace;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.text-link::after {
  content: "->";
}

.work-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 82px);
  align-items: start;
}

.work-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line);
  background: var(--line);
}

.work-list article {
  padding: 26px;
  background: var(--white);
}

.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  width: min(var(--max), calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 14px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner strong {
  color: var(--white);
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.legal-main {
  background: var(--paper-alt);
}

.legal-document {
  width: min(860px, calc(100% - 36px));
  margin: 0 auto;
  padding: clamp(64px, 8vw, 104px) 0;
}

.legal-document__header {
  margin-bottom: 38px;
}

.legal-document h1 {
  margin: 10px 0 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
}

.legal-document__meta {
  margin: 20px 0 0;
  color: var(--ink-muted);
  font-size: 18px;
}

.legal-content {
  display: grid;
  gap: 18px;
}

.legal-block {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.legal-document h2 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.16;
}

.legal-document h3 {
  margin: 22px 0 8px;
  font-size: 20px;
}

@media (max-width: 980px) {
  .header-inner {
    grid-template-columns: auto 1fr auto auto;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
  }

  .js .site-nav {
    position: fixed;
    inset: 72px 0 auto 0;
    display: none;
    max-height: calc(100vh - 72px);
    overflow: auto;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--line);
    background: rgba(251, 250, 247, 0.98);
    box-shadow: var(--shadow);
  }

  .js .site-nav.is-open {
    display: grid;
    gap: 6px;
  }

  .site-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
  }

  .site-nav a {
    padding: 12px 0;
  }

  .hero-inner,
  .initiative-grid,
  .work-grid {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    min-height: auto;
  }

  .hero-visual {
    max-width: 720px;
  }
}

@media (max-width: 660px) {
  body {
    font-size: 16px;
  }

  .header-inner,
  .hero-inner,
  .section-inner,
  .footer-inner,
  .legal-document {
    width: min(var(--max), calc(100% - 24px));
  }

  .header-inner {
    gap: 12px;
  }

  .wordmark {
    width: 136px;
    height: 38px;
    padding: 7px 10px;
  }

  .wordmark__logo {
    width: 114px;
  }

  .language-links {
    font-size: 12px;
  }

  .initiative-card {
    grid-template-rows: 190px minmax(0, 1fr);
  }

  .initiative-copy,
  .work-list article,
  .legal-block {
    padding: 22px;
  }

  .hero h1,
  .section-heading h2,
  .legal-document h1 {
    overflow-wrap: anywhere;
  }

  .footer-inner {
    flex-direction: column;
  }
}

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