:root {
  --paper: #f6f3ea;
  --sheet: #fffdf7;
  --ink: #111111;
  --muted: #5f5d58;
  --red: #b3261e;
  --red-deep: #8d1d17;
  --brass: #b08a3e;
  --cyan: #008c9c;
  --graphite: #6b6b6b;
  --rule: #c9c4b8;
  --shadow: 0 18px 46px rgba(17,17,17,.08);
  --max: 1120px;
  --reading: 70ch;
  --serif: "EB Garamond", "Cormorant Garamond", Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
}
html[data-theme="ink"] {
  --paper: #111111;
  --sheet: #1b1c1a;
  --ink: #f6f3ea;
  --muted: #c3bfb5;
  --red: #d64a3f;
  --red-deep: #e2675d;
  --brass: #c8a55f;
  --cyan: #26b8c7;
  --graphite: #9b9992;
  --rule: #43433e;
  --shadow: 0 18px 48px rgba(0,0,0,.32);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.62;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
a:hover { color: var(--red); }
img, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
button, .button { min-height: 44px; }
:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; background: var(--ink); color: var(--paper); padding: .7rem 1rem; }
.skip-link:focus { top: 1rem; }
.wrap { width: min(calc(100% - 4rem), var(--max)); margin-inline: auto; }
.site-header { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--paper) 94%, transparent); backdrop-filter: blur(14px); border-bottom: 1px solid var(--rule); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; align-items: center; flex: 0 0 auto; text-decoration: none; width: 224px; }
.brand svg { display: block; width: 100%; height: auto; overflow: visible; }
.brand .brand-ink { fill: var(--ink); }
.brand .brand-rule { stroke: var(--ink); }
.brand .brand-red { fill: var(--red); stroke: var(--red); }
.nav { display: flex; align-items: center; justify-content: flex-end; gap: 1.25rem; min-width: 0; }
.nav a { flex: 0 0 auto; text-decoration: none; font-weight: 650; font-size: .9rem; white-space: nowrap; }
.nav a[aria-current="page"] { color: var(--red); }
.header-tools { display: flex; align-items: center; gap: .65rem; flex: 0 0 auto; }
.icon-button, .menu-button { display: inline-flex; align-items: center; justify-content: center; width: auto; border: 1px solid var(--rule); background: transparent; color: var(--ink); border-radius: 4px; padding: .55rem .8rem; cursor: pointer; white-space: nowrap; }
.menu-button { display: none; }
.button { display: inline-flex; width: max-content; max-width: 100%; flex: 0 0 auto; align-items: center; justify-content: center; border: 1px solid var(--red); border-radius: 4px; background: var(--red); color: #fff; padding: .76rem 1.15rem; text-decoration: none; font-weight: 750; line-height: 1.15; white-space: nowrap; }
.button:hover { background: var(--red-deep); color: #fff; }
.button.secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.button.secondary:hover { color: var(--red); border-color: var(--red); }
main { min-width: 0; }
.hero { padding: clamp(4.5rem, 7vw, 6.5rem) 0 clamp(4.5rem, 7vw, 6rem); border-bottom: 1px solid var(--rule); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: clamp(3rem, 6vw, 5.5rem); align-items: center; }
.hero-grid > *, .section-head > *, .constitution > *, .subbrand > * { min-width: 0; }
.eyebrow { color: var(--red); font-size: .76rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; margin: 0 0 1.15rem; }
h1, h2, h3 { display: block; font-family: var(--serif); font-weight: 500; line-height: 1.04; margin: 0; text-wrap: balance; }
h1 { max-width: 12ch; font-size: clamp(3.5rem, 6.1vw, 5.6rem); letter-spacing: -.04em; }
h2 { font-size: clamp(2.55rem, 4.2vw, 4rem); letter-spacing: -.026em; }
h3 { font-size: clamp(1.55rem, 2vw, 2rem); }
.lede { max-width: 62ch; color: var(--muted); font-size: clamp(1.08rem, 1.35vw, 1.24rem); line-height: 1.55; margin: 1.5rem 0 0; }
.actions { display: flex; align-items: center; flex-wrap: wrap; gap: .85rem; margin-top: 2rem; }
.hero-mark { background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow); padding: clamp(2rem, 4vw, 3.25rem); min-height: 300px; display: grid; place-items: center; position: relative; }
.hero-mark::before, .hero-mark::after { content:""; position: absolute; width: 34px; height: 34px; border-color: var(--cyan); opacity: .7; }
.hero-mark::before { left: 1rem; top: 1rem; border-left: 1px solid; border-top: 1px solid; }
.hero-mark::after { right: 1rem; bottom: 1rem; border-right: 1px solid; border-bottom: 1px solid; }
.hero-mark svg { display: block; width: 100%; }
.section { padding: clamp(4.75rem, 7vw, 6.5rem) 0; border-bottom: 1px solid var(--rule); }
.section-head { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 2.25rem; align-items: start; margin-bottom: 2.75rem; }
.folio { color: var(--red); font-family: var(--mono); font-size: .73rem; letter-spacing: .11em; text-transform: uppercase; padding-top: .55rem; }
.section-copy { max-width: 820px; }
.section-copy h2 { max-width: 20ch; }
.section-copy p { max-width: var(--reading); color: var(--muted); font-size: 1.06rem; line-height: 1.62; margin: 1rem 0 0; }
.rule-top { border-top: 7px solid var(--red); padding-top: 2rem; }
.constitution { background: var(--ink); color: var(--paper); padding: clamp(2.5rem, 5vw, 4.25rem); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.constitution .eyebrow { color: var(--red); }
.constitution h2 { max-width: 12ch; }
.constitution p { max-width: 58ch; color: color-mix(in srgb, var(--paper) 78%, transparent); font-size: 1.08rem; line-height: 1.62; margin: .15rem 0 0; }
.pillars, .cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.pillar, .card { min-height: 0; padding: clamp(1.7rem, 3vw, 2.4rem); border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.pillar .index, .card .index { font-family: var(--mono); color: var(--red); font-size: .76rem; }
.pillar h3, .card h3 { margin-top: 1.45rem; }
.pillar p, .card p { max-width: 48ch; color: var(--muted); margin: .8rem 0 0; }
.path { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--rule); border: 1px solid var(--rule); }
.path-step { min-width: 0; background: var(--paper); padding: 1.8rem; min-height: 0; }
.path-step .state { color: var(--cyan); font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; }
.path-step h3 { margin-top: .65rem; font-size: 1.48rem; }
.path-step p { color: var(--muted); margin-bottom: 0; }
.quote { margin: 0; font-family: var(--serif); font-size: clamp(2.25rem, 3.6vw, 3.7rem); line-height: 1.12; max-width: 22ch; }
.subbrand { display: grid; grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr); gap: clamp(2.5rem, 5vw, 4rem); align-items: start; }
.subbrand-mark { border: 1px solid var(--rule); background: var(--sheet); padding: clamp(2rem, 4vw, 3rem); box-shadow: var(--shadow); }
.subbrand-mark .name { font-family: var(--serif); font-size: clamp(2.5rem, 4vw, 4rem); line-height: 1.05; }
.subbrand-mark .byline { color: var(--muted); }
.record-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2rem; }
.record { border-left: 3px solid var(--cyan); padding: 1.15rem 1.25rem; background: var(--sheet); }
.record h3 { font-family: var(--sans); font-size: 1rem; font-weight: 800; }
.record p { color: var(--muted); margin-bottom: 0; font-size: .93rem; }
.notice { max-width: var(--reading); border-left: 5px solid var(--red); background: var(--sheet); padding: 1.4rem 1.6rem; margin: 2rem 0; }
.notice strong { display: block; margin-bottom: .35rem; }
.page-hero { padding: clamp(4rem, 6vw, 5.5rem) 0 clamp(3rem, 5vw, 4.25rem); border-bottom: 1px solid var(--rule); }
.page-hero h1 { max-width: 15ch; font-size: clamp(3.35rem, 5.7vw, 5.25rem); }
.page-hero .lede { max-width: 66ch; }
.prose { max-width: var(--reading); }
.prose h2 { max-width: 20ch; font-size: clamp(2.2rem, 3.5vw, 3.25rem); margin: 3.25rem 0 1rem; }
.prose h3 { margin: 2.3rem 0 .7rem; font-family: var(--sans); font-size: 1.04rem; font-weight: 800; color: var(--red); text-transform: uppercase; letter-spacing: .06em; }
.prose p, .prose li { color: var(--muted); }
.prose blockquote { border-left: 4px solid var(--red); margin: 2.5rem 0; padding: .3rem 0 .3rem 1.5rem; font-family: var(--serif); font-size: clamp(1.7rem, 3vw, 2.2rem); color: var(--ink); }
.method-list { counter-reset: method; max-width: 940px; }
.method { counter-increment: method; display: grid; grid-template-columns: 100px minmax(0, 1fr); gap: 2rem; padding: 2.5rem 0; border-top: 1px solid var(--rule); }
.method::before { content: counter(method, decimal-leading-zero) " /"; font-family: var(--mono); color: var(--red); }
.method h2 { max-width: 18ch; font-size: clamp(2rem, 3.3vw, 3.1rem); }
.method p { max-width: 64ch; }
.method .consequence { margin-top: 1.1rem; border-left: 2px solid var(--cyan); padding-left: 1rem; color: var(--muted); }
.form-shell { max-width: 820px; background: var(--sheet); border: 1px solid var(--rule); box-shadow: var(--shadow); padding: clamp(1.75rem, 4vw, 3rem); }
.form-shell > h2 { margin: 0 0 1.5rem; font-size: clamp(2rem, 3vw, 2.8rem); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.2rem 1.35rem; }
.field { margin-bottom: 1.25rem; }
.field.full { grid-column: 1 / -1; }
fieldset { border: 0; padding: 0; margin: 0 0 1.5rem; }
legend, label { display: block; font-weight: 750; margin-bottom: .45rem; }
label.inline { display: flex; align-items: flex-start; gap: .65rem; font-weight: 500; }
input[type="text"], input[type="email"], select, textarea { width: 100%; border: 1px solid var(--rule); background: var(--paper); color: var(--ink); border-radius: 3px; padding: .82rem .9rem; }
textarea { min-height: 150px; resize: vertical; }
.check-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem 1rem; }
.check { display: flex; gap: .6rem; align-items: flex-start; }
.help { color: var(--muted); font-size: .88rem; margin-top: .35rem; }
.honeypot { position: absolute !important; left: -9999px !important; }
.release { display: grid; grid-template-columns: 130px minmax(0,1fr); gap: 2rem; padding: 2.25rem 0; border-top: 1px solid var(--rule); }
.release time { font-family: var(--mono); color: var(--red); font-size: .8rem; }
.release h2 { max-width: 24ch; font-size: clamp(1.85rem, 2.8vw, 2.65rem); }
.release p { max-width: 66ch; color: var(--muted); }
.site-footer { padding: 4rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .85fr); gap: 4rem; padding-bottom: 3rem; }
.footer-brand { max-width: 520px; }
.footer-brand h2 { font-size: 3rem; }
.footer-brand p { color: var(--muted); }
.footer-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.5rem; align-content: start; }
.footer-nav a { text-decoration: none; }
.legal { border-top: 1px solid var(--rule); padding-top: 1.3rem; color: var(--muted); font-size: .78rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.legacy { color: var(--muted); font-size: .82rem; }
@media (max-width: 980px) {
  .wrap { width: min(calc(100% - 3rem), var(--max)); }
  .nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: none; flex-direction: column; align-items: stretch; gap: .35rem; padding: 1rem 1.5rem 1.35rem; background: var(--paper); border-bottom: 1px solid var(--rule); }
  .nav a { padding: .65rem 0; }
  .nav[data-open="true"] { display: flex; }
  .menu-button { display: inline-flex; }
  .hero-grid, .constitution, .subbrand, .footer-grid { grid-template-columns: 1fr; }
  .hero-grid { gap: 3.25rem; }
  .hero-mark { max-width: 620px; min-height: 250px; }
  .section-head { grid-template-columns: 1fr; gap: .55rem; }
  .folio { padding-top: 0; }
  .path, .record-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .constitution h2 { max-width: 18ch; }
}
@media (max-width: 640px) {
  .wrap { width: calc(100% - 2.5rem); }
  body { font-size: 16px; }
  .brand { width: 188px; }
  .header-inner { min-height: 68px; gap: .8rem; }
  .header-tools { gap: .45rem; }
  .icon-button, .menu-button { padding: .5rem .65rem; }
  h1 { max-width: 13ch; font-size: clamp(3rem, 14vw, 3.9rem); }
  h2 { font-size: clamp(2.25rem, 11vw, 3.2rem); }
  .hero { padding: 3.75rem 0 4rem; }
  .hero-mark { min-height: 210px; padding: 1.6rem; }
  .section { padding: 3.75rem 0; }
  .section-head { margin-bottom: 2rem; }
  .constitution { padding: 2.15rem 1.4rem; gap: 1.6rem; }
  .pillars, .cards, .path, .record-grid, .form-grid, .check-grid { grid-template-columns: 1fr; }
  .method, .release { grid-template-columns: 1fr; gap: .55rem; }
  .method { padding: 2rem 0; }
  .pillar, .card, .path-step { padding: 1.5rem; }
  .page-hero { padding: 3.5rem 0 3rem; }
  .page-hero h1 { font-size: clamp(3rem, 13vw, 3.8rem); }
  .actions { align-items: stretch; }
  .actions .button { width: 100%; }
  .footer-nav { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
