:root {
  --ink: #1d211c;
  --paper: #f7f4eb;
  --paper-deep: #eee8d9;
  --muted: #656a5e;
  --rule: #d8d1bf;
  --forest: #274739;
  --forest-deep: #173126;
  --moss: #71806a;
  --gold: #a78445;
  --white: #fffef9;
  --status-demonstrated: #2d6650;
  --status-development: #9a6d28;
  --status-proposed: #6d657d;
  --status-review: #8b4d3f;
  --content: 72rem;
  --reading: 47rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--forest-deep); text-underline-offset: .18em; }
a:hover { color: #000; }
h1, h2, h3, .brand, blockquote {
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
}
h1, h2, h3 { line-height: 1.12; text-wrap: balance; }
p, li { text-wrap: pretty; }
.shell { width: min(var(--content), calc(100% - 2rem)); margin-inline: auto; }
.reading { max-width: var(--reading); }
.skip-link { position: absolute; left: -9999px; top: 1rem; }
.skip-link:focus {
  left: 1rem; z-index: 100; padding: .65rem 1rem; background: var(--ink); color: var(--white);
}

body.minimal-page {
  min-height: 100vh;
  background: #fff;
}
body.minimal-page .skip-link,
body.minimal-page .site-header,
body.minimal-page .site-footer {
  display: none;
}
.minimal-home-content {
  width: min(48rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) 0;
}
.minimal-home-content section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.minimal-home-content section + section {
  border-top: 1px solid #d9d9d4;
}
.minimal-home-content h1,
.minimal-home-content h2,
.minimal-home-content p {
  max-width: none;
  margin: 0;
}
.minimal-home-brand {
  color: var(--ink);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
}
.minimal-home-brand span { color: var(--forest); }
.minimal-home-brand sup { margin-left: .08em; font-size: .54em; }
.minimal-home-content h2,
.minimal-home-label {
  color: #274739;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.minimal-home-statement,
.minimal-home-content h1 {
  margin-top: 1rem;
  color: #20231f;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.45;
}
.minimal-page-link {
  margin-top: 1.25rem !important;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.5;
}
.minimal-page-link a {
  color: var(--forest-deep);
  text-decoration-thickness: 1px;
}

.minimal-method-content {
  width: min(48rem, calc(100% - 3rem));
  margin: 0 auto;
  padding: clamp(4rem, 10vw, 8rem) 0;
}
.minimal-method-content > section {
  padding: clamp(2rem, 5vw, 3.5rem) 0;
}
.minimal-method-content > section + section {
  border-top: 1px solid #d9d9d4;
}
.minimal-method-content h1,
.minimal-method-content h2,
.minimal-method-content h3,
.minimal-method-content p {
  max-width: none;
  margin: 0;
}
.minimal-method-label {
  color: #274739;
  font-size: .82rem;
  font-weight: 800;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
}
.minimal-method-content h1,
.minimal-method-content h2 {
  margin-top: 1rem;
  color: #20231f;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  font-weight: 400;
  letter-spacing: normal;
  line-height: 1.45;
}
.minimal-method-intro,
.minimal-method-body {
  margin-top: 1.25rem !important;
  color: #41463f;
  font-size: 1.08rem;
  line-height: 1.65;
}
.minimal-sequence {
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}
.minimal-sequence li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0;
  border-top: 1px solid #e2e2dd;
}
.minimal-sequence li > span {
  padding-top: .15rem;
  color: var(--forest);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
}
.minimal-sequence h3 {
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.35;
}
.minimal-sequence p {
  margin-top: .45rem;
  color: #41463f;
  font-size: 1rem;
  line-height: 1.6;
}
.minimal-method-note {
  margin-top: 1.5rem !important;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e2dd;
  color: #41463f;
  font-size: 1.08rem;
  line-height: 1.65;
}
.minimal-method-note strong { color: var(--forest-deep); }

.site-header {
  position: sticky; top: 0; z-index: 20;
  background: var(--paper);
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--rule);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; justify-content: space-between; min-height: 4.5rem; }
.brand { flex: 0 0 auto; color: var(--ink); font-size: 1.12rem; font-weight: 700; text-decoration: none; }
.brand span { color: var(--forest); }
.brand sup { font-size: .54em; margin-left: .08em; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: .35rem 1rem; flex-wrap: wrap; }
.primary-nav a { color: var(--muted); font-size: .83rem; font-weight: 650; text-decoration: none; }
.primary-nav a:hover, .primary-nav a[aria-current="page"] { color: var(--forest-deep); }

.hero { overflow: hidden; padding: clamp(2.5rem, 6vw, 5rem) 0; background: linear-gradient(135deg, #f5f0e2 0%, #f0ede1 62%, #e4eadf 100%); border-bottom: 1px solid var(--rule); }
.page-hero { padding: clamp(4.5rem, 10vw, 8rem) 0 clamp(3.5rem, 8vw, 6rem); }
.eyebrow {
  color: var(--forest); font-size: .73rem; font-weight: 800; letter-spacing: .14em;
  text-transform: uppercase;
}
.hero-copy { max-width: 64rem; }
.hero h1, .page-hero h1 { max-width: 58rem; margin: .65rem 0 1.25rem; letter-spacing: -.035em; }
.hero h1 { max-width: 64rem; margin: .45rem 0 0; font-size: clamp(3rem, 6vw, 4.5rem); }
.page-hero h1 { max-width: 52rem; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.hero .lede, .page-hero .lede { max-width: 47rem; margin: 0; color: #343a32; font-size: clamp(1.15rem, 2.4vw, 1.45rem); }
.hero-note { max-width: 44rem; margin: 1.35rem 0 0; color: var(--muted); font-size: .98rem; }
.primary-action {
  display: inline-flex; align-items: center; margin-top: 2rem; padding: .82rem 1.2rem;
  border-radius: .35rem; background: var(--forest-deep); color: var(--white); font-weight: 750;
  text-decoration: none;
}
.primary-action:hover { background: #0c2218; color: #fff; }
.purpose-block + .purpose-block { margin-top: clamp(2rem, 4vw, 3rem); padding-top: clamp(1.75rem, 3vw, 2.5rem); border-top: 1px solid color-mix(in srgb, var(--forest) 20%, var(--rule)); }
.purpose-label { margin: 0 0 .65rem; color: var(--forest); font-size: .8rem; font-weight: 850; letter-spacing: .14em; text-transform: uppercase; }
.purpose-issue { max-width: 52rem; margin: 0; color: #343a32; font-size: clamp(1.3rem, 2.4vw, 1.65rem); line-height: 1.5; }
.purpose-major { margin: 0; font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-size: clamp(1.9rem, 3.5vw, 2.7rem); line-height: 1.2; text-wrap: balance; }

.section { padding: clamp(3rem, 6vw, 5rem) 0; border-bottom: 1px solid var(--rule); }
.section.alt { background: var(--paper-deep); }
.section h2 { margin: .35rem 0 1rem; font-size: clamp(2rem, 4.5vw, 3.3rem); letter-spacing: -.02em; }
.section h3 { margin: 0 0 .55rem; font-size: 1.45rem; }
.section-intro { max-width: 46rem; color: #3e433b; font-size: 1.16rem; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 2rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
.card {
  padding: 1.45rem; border: 1px solid var(--rule); border-radius: .55rem;
  background: var(--white); box-shadow: 0 8px 30px rgba(33, 43, 35, .035);
}
.card p { margin: 0; color: #42473f; }
.card a.stretched { display: inline-block; margin-top: .85rem; font-weight: 750; }
.number { display: block; margin-bottom: .6rem; color: var(--gold); font-size: .78rem; font-weight: 850; letter-spacing: .1em; }

.comparison { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 2rem; border: 1px solid var(--rule); border-radius: .6rem; overflow: hidden; background: var(--white); }
.comparison > div { padding: 1.4rem; border-right: 1px solid var(--rule); }
.comparison > div:last-child { border-right: 0; }
.comparison .label { display: block; margin-bottom: .45rem; color: var(--forest); font-size: .74rem; font-weight: 850; letter-spacing: .1em; text-transform: uppercase; }

.status-list { display: grid; gap: .85rem; margin-top: 2rem; }
.status-row { display: grid; grid-template-columns: 11rem 1fr; gap: 1.2rem; padding: 1.2rem 0; border-top: 1px solid var(--rule); }
.status-tag { align-self: start; width: fit-content; padding: .25rem .55rem; border-radius: 99px; color: #fff; font-size: .72rem; font-weight: 850; letter-spacing: .04em; }
.demonstrated { background: var(--status-demonstrated); }
.development { background: var(--status-development); }
.proposed { background: var(--status-proposed); }
.review { background: var(--status-review); }
.status-row p { margin: 0; }
.compact-status { max-width: 55rem; }
.section-link { margin: 1.5rem 0 0; font-weight: 750; }

.callout { margin: 2rem 0 0; padding: 1.4rem 1.5rem; border-left: .28rem solid var(--gold); background: var(--white); }
.callout p { margin: 0; }
.principle-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2.5rem; padding: 0; list-style: none; }
.principle-list li { padding-top: 1rem; border-top: 1px solid var(--rule); }
.principle-list strong { display: block; margin-bottom: .3rem; color: var(--forest-deep); }
.timeline { margin: 2rem 0 0; padding-left: 1.25rem; border-left: 2px solid var(--rule); }
.timeline article { position: relative; padding: 0 0 2rem 1.4rem; }
.timeline article::before { content: ""; position: absolute; left: -1.64rem; top: .35rem; width: .72rem; height: .72rem; border-radius: 50%; background: var(--forest); }
.timeline h3 { margin-bottom: .4rem; }
.timeline p { margin: 0; }

.site-footer { padding: 2.5rem 0 3rem; background: var(--forest-deep); color: #e7eadf; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 44rem); }
.footer-small { margin: 0; color: #c9d0c8; font-size: .9rem; }

@media (max-width: 850px) {
  .header-inner { align-items: flex-start; flex-direction: column; padding: .9rem 0; gap: .55rem; }
  .primary-nav { justify-content: flex-start; }
  .card-grid, .comparison { grid-template-columns: 1fr; }
  .comparison > div { border-right: 0; border-bottom: 1px solid var(--rule); }
  .comparison > div:last-child { border-bottom: 0; }
}

@media (max-width: 620px) {
  body { font-size: 1rem; }
  .primary-nav { gap: .3rem .75rem; }
  .primary-nav a { font-size: .76rem; }
  .card-grid.two, .principle-list, .footer-grid { grid-template-columns: 1fr; }
  .status-row { grid-template-columns: 1fr; gap: .7rem; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 3rem); }
  .page-hero h1 { font-size: clamp(2.55rem, 13vw, 4rem); }
  .minimal-home-content { width: min(100% - 2rem, 48rem); padding: 2rem 0 3rem; }
  .minimal-method-content { width: min(100% - 2rem, 48rem); padding: 2rem 0 3rem; }
}

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