: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, h4, 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,
.family-number,
.model-kicker,
.relationship-label,
.footer-bottom,
.site-footer nav > span,
.hero-note > 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: 690px;
  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;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}

.button-primary {
  border-color: var(--lichen);
  color: var(--night);
  background: var(--lichen);
}

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

.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 strong {
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 400;
  line-height: 1.35;
}

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

.section { padding-block: 108px; }

.section-heading h2,
.split-intro h2,
.caution-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); }

.split-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(340px, 0.7fr);
  align-items: end;
  gap: clamp(60px, 10vw, 145px);
  margin-bottom: 64px;
}

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

.editorial-copy p:last-child { margin-bottom: 0; }

.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: 270px;
  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: var(--paper);
  font: 9px var(--mono);
}

.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; }

.families-section { color: var(--paper); background: var(--night); }
.families-section .section-heading > p:last-child { color: #aeb9b2; }
.family-list { border-top: 1px solid #56635c; }

.family-list article {
  display: grid;
  grid-template-columns: 58px minmax(260px, 0.85fr) minmax(300px, 1fr);
  gap: 32px;
  padding: 34px 0;
  border-bottom: 1px solid #56635c;
}

.family-number { color: var(--lichen); }
.family-list h3 { margin-bottom: 11px; font-family: var(--serif); font-size: 27px; font-weight: 400; }
.family-list div p { margin: 0; color: #aeb9b2; font-size: 13px; line-height: 1.7; }

.family-list ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 8px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.family-list li {
  position: relative;
  padding-left: 15px;
  color: #bdc7c0;
  font-size: 12px;
  line-height: 1.55;
}

.family-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 5px;
  height: 5px;
  border: 1px solid var(--lichen);
  border-radius: 50%;
}

.family-caution {
  max-width: 880px;
  margin: 54px 0 0 auto;
  padding-left: 28px;
  border-left: 1px solid var(--ochre);
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.4;
}

.principles-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(70px, 10vw, 140px);
}

.principles-list { border-top: 1px solid var(--line); }

.principles-list article {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 20px;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
}

.principles-list article > span { color: var(--clay); font: 9px var(--mono); }
.principles-list h3 { margin-bottom: 8px; font-size: 18px; }
.principles-list p { margin: 0; color: var(--ink-soft); font-size: 13px; line-height: 1.65; }

.models-section { color: var(--paper); background: #26372f; }
.models-section .section-heading > p:last-child { color: #aeb9b2; }

.category-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.analysis-category {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 28px 30px 30px;
  border: 1px solid #718078;
  background:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    #1d2c25;
  background-size: 20px 20px;
}

.category-future {
  border-color: #56635c;
  background-color: #223229;
}

.category-topline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #84938a;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.status { color: var(--lichen); }
.status i { width: 6px; height: 6px; display: inline-block; margin: 0 7px 1px 0; border-radius: 50%; background: var(--lichen); }
.status-future {
  padding: 3px 7px;
  border: 1px solid #8c765c;
  color: #d6a66f;
  line-height: 1;
  white-space: nowrap;
}

.category-copy {
  display: grid;
  gap: 24px;
  padding-block: 48px 36px;
}

.model-kicker { color: var(--lichen); }
.category-copy h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 3.6vw, 48px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.category-copy > p { margin: 0; color: #bdc7c0; font-size: 14px; line-height: 1.75; }

.category-tools { margin-bottom: 34px; }
.category-tools > p {
  margin-bottom: 10px;
  color: #84938a;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.category-tools ul {
  margin: 0;
  padding: 0;
  border-top: 1px solid #46534c;
  list-style: none;
}

.category-tools li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 0;
  border-bottom: 1px solid #46534c;
  color: #d4dbd6;
  font-size: 12px;
  line-height: 1.55;
}
.category-tools li span {
  flex: 0 0 auto;
  color: #b99a76;
  font: 9px/1.6 var(--mono);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.category-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-top: auto;
  padding-top: 28px;
  border-top: 1px solid #617068;
}

.category-action p { max-width: 420px; margin: 0; color: #aeb9b2; font-size: 12px; line-height: 1.7; }

.button-model {
  flex: 0 0 auto;
  border-color: var(--lichen);
  color: var(--night);
  background: var(--lichen);
}

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

.relationships-section { background: #ebe9df; }
.relationship-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.relationship-grid article { min-height: 340px; display: flex; flex-direction: column; padding: 31px 36px 34px 0; border-right: 1px solid var(--line); }
.relationship-grid article:last-child { padding-right: 0; padding-left: 36px; border-right: 0; }
.relationship-label { color: var(--clay); }
.relationship-grid h3 { margin: 45px 0 14px; font-family: var(--serif); font-size: 34px; font-weight: 400; }
.relationship-grid p:not(.relationship-label) { color: var(--ink-soft); font-size: 13px; line-height: 1.75; }
.relationship-grid a { display: flex; justify-content: space-between; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--line); color: var(--moss); font: 11px var(--mono); text-decoration: none; text-transform: uppercase; }

.caution-section { color: var(--paper); background: var(--moss-dark); }
.caution-grid { display: grid; grid-template-columns: minmax(180px, 0.45fr) minmax(0, 1.55fr); gap: clamp(50px, 9vw, 140px); }
.caution-grid > div { max-width: 790px; }
.caution-grid p:not(.section-label) { color: #bdc7c0; 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,
  .split-intro,
  .principles-grid,
  .caution-grid { grid-template-columns: 1fr; }
  .hero-grid { min-height: auto; align-items: start; padding-block: 82px; }
  .hero-note { max-width: 620px; }
  .split-intro,
  .principles-grid,
  .caution-grid { gap: 44px; }
  .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; }
  .family-list article { grid-template-columns: 50px 1fr; }
  .family-list ul { grid-column: 2; }
  .category-grid { grid-template-columns: 1fr; }
  .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%; }
  .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; }
  .family-list article { grid-template-columns: 38px 1fr; gap: 20px; }
  .family-list ul { grid-template-columns: 1fr; grid-column: 2; }
  .analysis-category { padding: 22px 20px; }
  .relationship-grid { grid-template-columns: 1fr; }
  .category-action { align-items: stretch; flex-direction: column; }
  .relationship-grid article,
  .relationship-grid article:last-child { min-height: 300px; padding: 28px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .relationship-grid article:last-child { border-bottom: 0; }
  .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; }
  .family-list article { grid-template-columns: 1fr; }
  .family-list ul { grid-column: 1; }
  .category-topline { align-items: flex-start; flex-direction: column; }
  .category-tools li { align-items: flex-start; flex-direction: column; gap: 3px; }
}

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