@font-face { font-family: "DM Mono"; src: url("/assets/fonts/dm-mono-400.woff2") format("woff2"); font-style: normal; font-weight: 400; font-display: swap; }
@font-face { font-family: "DM Mono"; src: url("/assets/fonts/dm-mono-500.woff2") format("woff2"); font-style: normal; font-weight: 500; font-display: swap; }
@font-face { font-family: "Newsreader"; src: url("/assets/fonts/newsreader.woff2") format("woff2"); font-style: normal; font-weight: 400 500; font-display: swap; }

:root {
  --paper: #f3f0e8;
  --ink: #14252b;
  --signal: #087f70;
  --line: rgba(20, 37, 43, 0.18);
  --measure: 72rem;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Newsreader", Georgia, serif;
  font-size: 19px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-color: var(--signal); text-underline-offset: .2em; }
a:hover { color: var(--signal); }

.shell { width: min(calc(100% - 40px), var(--measure)); margin-inline: auto; }
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 88px;
  border-bottom: 1px solid var(--line);
}
.brand { font: 500 1.05rem/1 "DM Mono", monospace; letter-spacing: -.04em; text-decoration: none; }
.brand-mark { color: var(--signal); }
.nav { display: flex; gap: clamp(18px, 3vw, 38px); }
.nav a, .eyebrow, .label, .status, .site-footer, .button {
  font-family: "DM Mono", monospace;
  font-size: .72rem;
  letter-spacing: .045em;
}
.nav a { text-decoration: none; }

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(260px, .65fr);
  gap: clamp(48px, 9vw, 120px);
  padding: clamp(80px, 12vw, 150px) 0 clamp(72px, 10vw, 120px);
  align-items: end;
}
.eyebrow { margin: 0 0 22px; text-transform: uppercase; color: var(--signal); }
h1, h2, h3 { font-weight: 400; line-height: .98; letter-spacing: -.045em; margin-top: 0; }
h1 { font-size: clamp(3.7rem, 9vw, 8.7rem); margin-bottom: 28px; max-width: 9ch; }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); max-width: 11ch; }
h3 { font-size: 1.55rem; line-height: 1.1; letter-spacing: -.025em; }
.lede { font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.42; max-width: 31em; margin: 0; }
.status-panel { border-top: 3px solid var(--signal); padding-top: 18px; }
.status { display: block; margin-bottom: 32px; text-transform: uppercase; }
.status-panel p { margin: 0; }

.band { border-top: 1px solid var(--line); }
.section { padding: clamp(72px, 10vw, 120px) 0; }
.split { display: grid; grid-template-columns: .85fr 1.4fr; gap: clamp(48px, 10vw, 140px); }
.section-copy { max-width: 38rem; }
.section-copy > p:first-child { margin-top: 0; font-size: 1.32rem; }

.principles { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); }
.principle { padding: 34px clamp(20px, 3vw, 42px) 24px 0; }
.principle + .principle { border-left: 1px solid var(--line); padding-left: clamp(20px, 3vw, 42px); }
.number { display: block; font: .7rem/1 "DM Mono", monospace; color: var(--signal); margin-bottom: 65px; }
.principle p { margin-bottom: 0; }

.callout { background: var(--ink); color: var(--paper); }
.callout .section { display: grid; grid-template-columns: 1.4fr .6fr; gap: 60px; align-items: end; }
.callout h2 { max-width: 13ch; margin-bottom: 0; }
.button { display: inline-block; border: 1px solid var(--paper); padding: 15px 18px; text-decoration: none; text-align: center; }
.button:hover { background: var(--paper); color: var(--ink); }

.site-footer { display: flex; justify-content: space-between; gap: 30px; padding: 34px 0 45px; border-top: 1px solid var(--line); }
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; }

.page-head { padding: clamp(70px, 10vw, 120px) 0 60px; border-bottom: 1px solid var(--line); }
.page-head h1 { max-width: 12ch; font-size: clamp(3.4rem, 8vw, 7rem); }
.page-head .lede { max-width: 38rem; }
.document { display: grid; grid-template-columns: 220px minmax(0, 680px); gap: clamp(40px, 9vw, 120px); padding: 70px 0 110px; }
.document aside { font: .7rem/1.6 "DM Mono", monospace; }
.document article h2 { font-size: 2.1rem; line-height: 1.1; margin: 2.5em 0 .6em; max-width: none; }
.document article h2:first-child { margin-top: 0; }
.document article h3 { margin-top: 2em; }
.document article p, .document article li { max-width: 42rem; }
.document li + li { margin-top: .45em; }
.meta { color: var(--signal); }

@media (max-width: 760px) {
  body { font-size: 17px; }
  .site-header { align-items: flex-start; padding: 24px 0; }
  .nav { gap: 13px; flex-wrap: wrap; justify-content: flex-end; }
  .hero, .split, .callout .section, .document { grid-template-columns: 1fr; }
  .hero { gap: 55px; }
  .principles { grid-template-columns: 1fr; }
  .principle + .principle { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
  .number { margin-bottom: 30px; }
  .site-footer { flex-direction: column; }
  .document { gap: 24px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero > *, .page-head > * { animation: reveal .7s both; }
  .hero > *:last-child { animation-delay: .12s; }
  @keyframes reveal { from { opacity: 0; transform: translateY(16px); } }
}
