:root {
  --ink: #16221d;
  --ink-soft: #52615a;
  --paper: #f3f1e9;
  --paper-deep: #e7e3d7;
  --line: #c9c9be;
  --moss: #365b46;
  --moss-dark: #1c382c;
  --lichen: #b8c58f;
  --ochre: #c88a4a;
  --clay: #a8563a;
  --night: #17231e;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --sans: "Manrope", system-ui, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --shell: min(1180px, calc(100% - 48px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--ochre);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  transform: translateY(-180%);
  padding: 10px 14px;
  color: var(--ink);
  background: #fff;
}

.skip-link:focus {
  transform: translateY(0);
}

.page-shell,
.nav-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(243, 241, 233, 0.16);
  color: var(--paper);
  background: var(--night);
}

.nav-shell {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand > span:last-child {
  display: grid;
  gap: 1px;
}

.brand strong {
  font-size: 18px;
  letter-spacing: -0.02em;
}

.brand small {
  color: #aeb9b1;
  font: 10px/1.3 var(--mono);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: block;
  flex: 0 0 auto;
  color: var(--lichen);
}

.dodecahedron-mark {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.dodecahedron-mark .outer-edge,
.dodecahedron-mark .inner-edge,
.dodecahedron-mark .rear-edge {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}

.dodecahedron-mark .outer-edge { stroke-width: 1.8; }
.dodecahedron-mark .inner-edge { stroke-width: 1.35; }
.dodecahedron-mark .rear-edge { opacity: 0.42; stroke-width: 1; }
.dodecahedron-mark .dodecahedron-face { fill: currentColor; fill-opacity: 0.07; stroke: none; }

.site-header nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 30px);
  white-space: nowrap;
  font: 11px var(--mono);
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.site-header nav a {
  position: relative;
  padding: 10px 0;
  color: #c8d0cb;
  text-decoration: none;
}

.site-header nav a:hover,
.site-header nav a:focus-visible,
.site-header nav a[aria-current="page"] {
  color: #fff;
}

.site-header nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  background: var(--lichen);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero {
  overflow: hidden;
  color: var(--paper);
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    var(--night);
  background-size: 42px 42px;
}

.hero-grid {
  min-height: 670px;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.55fr);
  align-items: end;
  gap: clamp(50px, 8vw, 120px);
  padding-block: 104px 112px;
}

.eyebrow,
.section-label,
.card-index,
.hero-note > span,
.footer-bottom,
.site-footer nav > span {
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  color: var(--lichen);
}

.eyebrow span {
  width: 26px;
  height: 1px;
  background: currentColor;
}

h1 {
  max-width: 800px;
  margin-bottom: 23px;
  font-family: var(--serif);
  font-size: clamp(48px, 5.8vw, 78px);
  font-weight: 400;
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.hero-subtitle {
  max-width: 680px;
  margin-bottom: 18px;
  color: var(--lichen);
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 29px);
  line-height: 1.35;
}

.hero-lede {
  max-width: 680px;
  margin-bottom: 33px;
  color: #c0c9c3;
  font-size: 16px;
  line-height: 1.75;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 12px 19px;
  border: 1px solid var(--lichen);
  color: var(--night);
  background: var(--lichen);
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.button:hover,
.button:focus-visible {
  background: #cad4a6;
}

.hero-copy .button + .button { margin-left: 10px; }

.hero-note {
  padding: 24px 0 0 24px;
  border-top: 1px solid #59675f;
  border-left: 1px solid #59675f;
}

.hero-note > span {
  display: block;
  margin-bottom: 22px;
  color: var(--lichen);
}

.hero-note p {
  margin: 0;
  color: #c0c9c3;
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.55;
}

.section {
  padding-block: 108px;
}

.section-heading h2,
.collaboration-grid h2 {
  margin-bottom: 18px;
  font-family: var(--serif);
  font-size: clamp(38px, 4.3vw, 58px);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.section-heading > p:last-child {
  max-width: 720px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.75;
}

.section-heading-wide {
  max-width: 860px;
  margin-bottom: 55px;
}

.section-label {
  margin-bottom: 16px;
  color: var(--clay);
}

.section-label-light {
  color: var(--lichen);
}

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

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 1.15fr);
  gap: clamp(60px, 10vw, 150px);
}

.problem-copy > p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.8;
}

.problem-copy .statement {
  margin: 34px 0;
  padding: 22px 24px;
  border-left: 5px solid var(--lichen);
  color: var(--ink);
  background: var(--paper-deep);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
}

.materials {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.materials li {
  padding: 8px 11px;
  border: 1px solid var(--line);
  color: var(--ink-soft);
  font: 10px var(--mono);
  text-transform: uppercase;
}

.conditions-section {
  color: var(--paper);
  background: var(--night);
}

.conditions-section .section-heading > p:last-child {
  color: #aeb9b2;
}

.conditions-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-top: 1px solid #56635c;
  list-style: none;
}

.conditions-list li {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 18px;
  padding: 31px 32px 31px 0;
  border-bottom: 1px solid #56635c;
}

.conditions-list li:nth-child(odd) {
  border-right: 1px solid #56635c;
}

.conditions-list li:nth-child(even) {
  padding-left: 32px;
}

.conditions-list li > span,
.lifecycle li > span {
  color: var(--lichen);
  font: 9px var(--mono);
}

.conditions-list h3 {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 600;
}

.conditions-list p {
  margin: 0;
  color: #aeb9b2;
  font-size: 13px;
  line-height: 1.7;
}

.infrastructure-callout {
  max-width: 900px;
  margin: 58px 0 0 auto;
  padding-left: 30px;
  border-left: 1px solid var(--ochre);
  color: var(--paper);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.35;
}

.lifecycle-section {
  background: #ebe9df;
}

.lifecycle {
  position: relative;
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
  list-style: none;
}

.lifecycle::before {
  content: "";
  position: absolute;
  top: 62px;
  right: 7%;
  left: 7%;
  height: 1px;
  background: var(--moss);
}

.lifecycle li {
  position: relative;
  min-height: 272px;
  padding: 22px 16px 25px;
  border-right: 1px solid var(--line);
}

.lifecycle li:last-child { border-right: 0; }

.lifecycle li > span {
  width: 28px;
  height: 28px;
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  margin: 26px 0 45px;
  border: 1px solid var(--moss);
  border-radius: 50%;
  color: var(--moss);
  background: #ebe9df;
}

.lifecycle h3 {
  margin-bottom: 9px;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
}

.lifecycle p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.6;
}

.people-section {
  color: var(--paper);
  background: #26372f;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.people-grid article {
  min-height: 480px;
  padding: 27px 26px 30px;
  border: 1px solid #617068;
  background: #1f3028;
}

.card-index {
  margin-bottom: 58px;
  color: var(--lichen);
}

.people-grid h3 {
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 400;
}

.people-grid ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.people-grid li {
  position: relative;
  padding: 13px 0 13px 20px;
  border-top: 1px solid #46574e;
  color: #bdc7c0;
  font-size: 13px;
  line-height: 1.6;
}

.people-grid li::before {
  content: "";
  position: absolute;
  top: 21px;
  left: 0;
  width: 6px;
  height: 6px;
  border: 1px solid var(--lichen);
  border-radius: 50%;
}

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

.collaboration-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.55fr);
  gap: clamp(50px, 9vw, 140px);
}

.collaboration-grid > div {
  max-width: 790px;
}

.collaboration-grid h2 {
  margin-bottom: 30px;
}

.collaboration-grid div p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.site-footer {
  padding-top: 70px;
  color: var(--paper);
  background: var(--night);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.55fr 0.9fr;
  gap: 70px;
  padding-bottom: 60px;
}

.footer-brand + p,
.footer-statement {
  max-width: 360px;
  margin: 24px 0 0;
  color: #9faea5;
  font-size: 12px;
  line-height: 1.7;
}

.site-footer nav {
  display: grid;
  align-content: start;
  gap: 13px;
}

.site-footer nav > span {
  margin-bottom: 6px;
  color: var(--lichen);
}

.site-footer nav a {
  width: fit-content;
  color: #bdc7c0;
  font-size: 12px;
  text-underline-offset: 4px;
}

.site-footer nav a[aria-current="page"] {
  color: #fff;
}

.footer-statement {
  margin-top: 0;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-block: 22px;
  border-top: 1px solid #44524a;
  color: #84938a;
}

@media (max-width: 980px) {
  .nav-shell {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
    padding-block: 18px 16px;
  }

  .site-header nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero-grid,
  .problem-grid,
  .collaboration-grid {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    align-items: start;
    padding-block: 82px;
  }

  .hero-note {
    max-width: 620px;
  }

  .problem-grid,
  .collaboration-grid {
    gap: 42px;
  }

  .lifecycle {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .lifecycle::before { display: none; }
  .lifecycle li { min-height: 235px; border-bottom: 1px solid var(--line); }
  .lifecycle li:nth-child(4) { border-right: 0; }
  .lifecycle li > span { margin: 12px 0 32px; }

  .footer-grid {
    grid-template-columns: 1.2fr 0.8fr;
  }

  .footer-statement {
    grid-column: 1 / -1;
  }
}

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 32px, 1180px);
  }

  .site-header nav {
    gap: 14px;
    overflow-x: auto;
    padding-bottom: 2px;
    font-size: 9px;
  }

  .section {
    padding-block: 78px;
  }

  .hero-grid {
    gap: 48px;
    padding-block: 70px 78px;
  }

  h1 {
    font-size: clamp(42px, 12vw, 60px);
  }

  .button {
    width: 100%;
  }

  .conditions-list,
  .people-grid {
    grid-template-columns: 1fr;
  }

  .conditions-list li,
  .conditions-list li:nth-child(even) {
    padding: 26px 0;
    border-right: 0;
  }

  .lifecycle {
    grid-template-columns: 1fr;
    border-bottom: 0;
  }

  .lifecycle li,
  .lifecycle li:nth-child(4) {
    min-height: 0;
    display: grid;
    grid-template-columns: 44px 90px 1fr;
    align-items: start;
    gap: 14px;
    padding: 25px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .lifecycle li > span {
    margin: 0;
  }

  .lifecycle h3 {
    margin: 3px 0 0;
  }

  .people-grid article {
    min-height: 0;
  }

  .card-index {
    margin-bottom: 38px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-statement {
    grid-column: auto;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 440px) {
  .brand small {
    display: none;
  }

  .site-header nav {
    gap: 11px;
    letter-spacing: 0.03em;
  }

  .hero-note {
    padding-left: 18px;
  }
}

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