@charset "UTF-8";

:root {
  --ink: #14251f;
  --paper: #f4eedf;
  --paper-2: #ebe1cd;
  --signal: #e65335;
  --signal-dark: #9e301e;
  --moss: #1d4d3e;
  --acid: #d9ef65;
  --line: rgba(20, 37, 31, 0.24);
  --muted: #53615c;
  --max: 1260px;
  --gutter: clamp(1.1rem, 4vw, 4.5rem);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, serif;
  --sans: "Avenir Next", Avenir, "Century Gothic", Futura, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(20,37,31,.035) 50%, transparent 50.15%) 0 0 / 24px 24px,
    var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}
a { color: inherit; text-underline-offset: .2em; }
a:hover { color: var(--signal-dark); }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--signal); outline-offset: 4px; }
::selection { background: var(--acid); color: var(--ink); }
.skip { position: fixed; z-index: 100; top: .75rem; left: .75rem; transform: translateY(-180%); background: var(--ink); color: white; padding: .65rem 1rem; }
.skip:focus { transform: translateY(0); }

.site-head {
  min-height: 88px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.wordmark { display: inline-flex; gap: .8rem; align-items: center; text-decoration: none; letter-spacing: -.025em; }
.wordmark span { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid currentColor; font-size: .78rem; letter-spacing: -.1em; transform: rotate(-3deg); }
.wordmark b { font-family: var(--serif); font-size: 1.16rem; }
.site-head nav { display: flex; gap: clamp(1.2rem, 3vw, 2.8rem); align-items: center; }
.site-head nav a { position: relative; text-decoration: none; font-size: .79rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.site-head nav a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.55rem; height: 3px; background: var(--signal); transform: rotate(-1deg); }
.nav-toggle { display: none; min-width: 48px; min-height: 44px; border: 1px solid var(--ink); background: transparent; color: var(--ink); }
main { overflow: hidden; }

.hero {
  max-width: var(--max);
  margin: 0 auto;
  min-height: min(770px, calc(100vh - 88px));
  padding: clamp(4.5rem, 10vw, 9rem) var(--gutter) 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(250px, .65fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.hero-copy { animation: rise .65s ease-out both; }
.kicker, .eyebrow { margin: 0 0 1rem; color: var(--signal-dark); font-size: .73rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1, h2, h3, p { text-wrap: pretty; }
h1, h2 { font-family: var(--serif); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.hero h1 { max-width: 900px; margin: 0; font-size: clamp(3.5rem, 8vw, 7.8rem); }
h1 i, h2 i { color: var(--signal-dark); font-weight: 400; }
.lede { max-width: 720px; margin: 2rem 0 0; color: var(--muted); font-size: clamp(1.1rem, 1.8vw, 1.35rem); line-height: 1.55; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2.5rem; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: .78rem 1.2rem; border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font-size: .82rem; font-weight: 800; letter-spacing: .04em; text-decoration: none; }
.button:hover { background: var(--signal); border-color: var(--signal); color: #fff; }
.button-muted { background: transparent; color: var(--ink); }
.quiet-link, .text-link { font-size: .84rem; font-weight: 800; text-decoration-thickness: 1px; }
.signal-board { min-height: 430px; padding: 1.2rem; display: flex; flex-direction: column; justify-content: space-between; background: var(--moss); color: var(--paper); transform: rotate(2deg); box-shadow: 14px 14px 0 var(--acid); animation: rise .65s .12s ease-out both; }
.signal-board span { max-width: 22ch; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; }
.signal-board span:last-child { align-self: flex-end; text-align: right; }
.signal-board strong { align-self: center; color: var(--acid); font-family: var(--serif); font-size: clamp(3.4rem, 6vw, 6rem); font-weight: 400; line-height: .75; text-align: center; }

.manifesto, .boundary, .source-note { max-width: var(--max); margin: 0 auto; padding: clamp(5rem, 10vw, 9rem) var(--gutter); }
.manifesto { display: grid; grid-template-columns: 70px 1.3fr .7fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; border-top: 1px solid var(--line); }
.section-no { margin: 0; color: var(--signal-dark); font-family: var(--serif); font-style: italic; }
.manifesto h2, .section-heading h2, .boundary h2, .source-note h2 { margin: 0; font-size: clamp(2.5rem, 5vw, 5rem); }
.manifesto > p:last-child { margin: 2rem 0 0; color: var(--muted); }
.featured { padding: clamp(5rem, 8vw, 8rem) max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); background: var(--moss); color: var(--paper); }
.featured .eyebrow { color: var(--acid); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.featured-grid { border-top: 1px solid rgba(244,238,223,.3); }
.featured .category-card { grid-template-columns: 1fr 1fr auto; border-color: rgba(244,238,223,.3); }
.featured .category-card p { color: #d2d9cc; }
.featured .category-card .eyebrow { color: var(--acid); }
.featured .badge-demo { color: var(--ink); background: var(--acid); }
.boundary { display: grid; grid-template-columns: .4fr 1fr; column-gap: 4rem; background: var(--paper); }
.boundary .eyebrow { grid-column: 1 / -1; }
.boundary h2 { max-width: 8ch; }
.boundary ul { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.boundary li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.boundary li::before { content: "×"; display: inline-block; width: 2rem; color: var(--signal-dark); font-weight: 800; }

.page-intro { max-width: var(--max); margin: 0 auto; padding: clamp(4.5rem, 10vw, 8rem) var(--gutter) clamp(3rem, 6vw, 5rem); }
.page-intro h1 { max-width: 1000px; margin: 0; font-size: clamp(3.6rem, 8vw, 7.6rem); }
.page-intro > p:last-child { max-width: 700px; margin: 2rem 0 0 auto; color: var(--muted); font-size: 1.08rem; }
.directory-tools { position: relative; z-index: 4; max-width: var(--max); margin: 0 auto 4rem; padding: 1.2rem var(--gutter); display: grid; grid-template-columns: 1fr auto auto; gap: 1.5rem; align-items: end; border-block: 1px solid var(--line); background: rgba(244,238,223,.94); }
.directory-tools label { display: grid; gap: .35rem; color: var(--muted); font-size: .74rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.directory-tools input { width: 100%; min-height: 50px; padding: .65rem 0; border: 0; border-bottom: 2px solid var(--ink); border-radius: 0; background: transparent; color: var(--ink); font-family: var(--serif); font-size: 1.25rem; }
.filter-set { display: flex; gap: .4rem; }
.filter { min-height: 44px; padding: .55rem .8rem; border: 1px solid var(--line); background: transparent; color: var(--ink); cursor: pointer; font-size: .75rem; font-weight: 800; }
.filter.is-active { border-color: var(--ink); background: var(--ink); color: var(--paper); }
#result-count { min-width: 76px; margin: 0 0 .7rem; color: var(--muted); font-size: .76rem; font-weight: 800; text-align: right; }
#category-directory { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 7rem; }
.category-group { display: grid; grid-template-columns: minmax(160px, .36fr) 1fr; gap: clamp(2rem, 6vw, 6rem); margin: 0 0 6rem; }
.group-title { position: sticky; top: 1.5rem; align-self: start; }
.group-title p { margin: 0; color: var(--signal-dark); font-family: var(--serif); font-style: italic; }
.group-title h2 { margin: .5rem 0 0; font-size: clamp(2.2rem, 4vw, 4.5rem); }
.category-list { border-top: 1px solid var(--ink); }
.category-card { padding: 1.6rem 0; display: grid; grid-template-columns: minmax(240px, .85fr) 1fr auto; gap: 2rem; align-items: center; border-bottom: 1px solid var(--line); }
.category-card[hidden], .category-group[hidden] { display: none; }
.category-card h3 { margin: .35rem 0 0; font-family: var(--serif); font-size: clamp(1.45rem, 2.3vw, 2.2rem); font-weight: 500; line-height: 1.05; }
.category-card h3 a { text-decoration: none; }
.category-card p { margin: 0; color: var(--muted); font-size: .9rem; }
.category-card .eyebrow { margin-top: .8rem; font-size: .63rem; }
.badge { display: inline-flex; max-width: fit-content; padding: .28rem .5rem; border: 1px solid currentColor; font-size: .61rem; font-weight: 900; letter-spacing: .055em; line-height: 1.25; text-transform: uppercase; }
.badge-demo { background: var(--acid); color: var(--ink); }
.badge-review { background: transparent; color: var(--signal-dark); }
.empty-state { padding: 5rem 0; font-family: var(--serif); font-size: 2rem; text-align: center; }

.detail { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--gutter); }
.detail-head { min-height: 420px; display: grid; grid-template-columns: 1fr auto; gap: 3rem; align-items: start; border-bottom: 1px solid var(--ink); }
.detail-head h1 { max-width: 900px; margin: 0; font-size: clamp(3.3rem, 8vw, 7rem); }
.detail-head .badge { margin-top: 1.7rem; }
.category-code { margin: 0; color: var(--signal); font-family: var(--serif); font-size: clamp(4rem, 10vw, 9rem); font-style: italic; line-height: .8; opacity: .25; transform: rotate(8deg); }
.detail-grid { padding: clamp(4rem, 8vw, 7rem) 0; display: grid; grid-template-columns: 1.2fr .6fr; gap: clamp(3rem, 8vw, 8rem); }
.detail-grid h2 { max-width: 11ch; margin: 0 0 1.5rem; font-size: clamp(2.5rem, 5vw, 4.5rem); }
.detail-grid > div > p:not(.eyebrow) { max-width: 650px; color: var(--muted); }
.detail-grid .button { margin-top: 1rem; }
.detail-grid aside { align-self: end; padding: 1.5rem; border: 1px solid var(--ink); background: var(--paper-2); transform: rotate(1deg); }
.detail-grid aside p:last-child { margin-bottom: 0; }
.process { padding: 4rem 0; border-block: 1px solid var(--ink); }
.process ol { margin: 2.5rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); list-style: none; }
.process li { min-height: 150px; padding: 1rem; display: flex; flex-direction: column; justify-content: space-between; border-left: 1px solid var(--line); font-family: var(--serif); font-size: 1.2rem; }
.process li:first-child { border-left: 0; }
.process li span { color: var(--signal-dark); font-family: var(--sans); font-size: .7rem; font-weight: 800; }
.detail-nav { margin-top: 3rem; display: flex; justify-content: space-between; gap: 2rem; font-size: .82rem; font-weight: 800; }

.demo-index { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 8rem; display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--ink); }
.demo-index-card { min-height: 300px; padding: 2rem; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-decoration: none; transition: background .2s, color .2s; }
.demo-index-card:nth-child(even) { border-right: 0; }
.demo-index-card:hover { background: var(--moss); color: var(--paper); }
.demo-index-card > span { color: var(--signal-dark); font-family: var(--serif); font-style: italic; }
.demo-index-card h2 { max-width: 12ch; margin: 0; font-size: clamp(2.1rem, 4vw, 4rem); }
.demo-index-card p { margin: 0; }
.demo-detail { max-width: var(--max); margin: 0 auto; padding: clamp(4rem, 8vw, 7rem) var(--gutter); }
.demo-detail > header { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 2rem; }
.demo-detail > header .kicker { flex-basis: 100%; }
.demo-detail h1 { max-width: 900px; margin: 0; font-size: clamp(3.4rem, 7vw, 7rem); }
.disclosure { max-width: 850px; margin: 3rem 0; padding: 1.2rem 1.4rem; border-block: 1px solid var(--ink); font-size: .9rem; }
.demo-canvas { min-height: 520px; padding: clamp(2rem, 5vw, 5rem); background: #fffaf0; border: 1px solid var(--ink); }
.brand-demo { min-height: 370px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; background: #173f35; color: #f3e9d2; }
.brand-mark { display: grid; place-items: center; height: 100%; border-right: 1px solid #f3e9d2; }
.brand-mark span { position: relative; display: grid; place-items: center; width: 170px; height: 170px; border: 2px solid #f3e9d2; border-radius: 52% 48% 68% 32%; color: #d9ef65; font-family: var(--serif); font-size: 7rem; font-style: italic; transform: rotate(-8deg); }
.brand-demo h2 { margin: 0; color: #d9ef65; font-size: clamp(3.2rem, 8vw, 7rem); letter-spacing: .03em; }
.swatches { display: flex; margin: 2rem 0; gap: 1rem; }
.swatches span { padding-top: 3rem; min-width: 90px; border-top: 2.5rem solid var(--swatch); font-size: .7rem; text-transform: uppercase; }
.demo-canvas blockquote { margin: 3rem 0 0; font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); font-style: italic; }
.copy-demo { max-width: 870px; padding: clamp(3rem, 7vw, 7rem) 0; }
.copy-demo h2 { margin: 0; font-size: clamp(3.2rem, 7vw, 6.5rem); }
.copy-demo > p:not(.eyebrow) { max-width: 650px; font-size: 1.2rem; }
.editor-note { margin: 2rem 0 0; padding: 1rem; background: var(--paper-2); font-size: .86rem; }
.translation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--ink); }
.translation-grid > div { padding: clamp(2rem, 5vw, 5rem); }
.translation-grid > div + div { border-left: 1px solid var(--ink); background: var(--moss); color: var(--paper); }
.translation-grid h2 { margin: 0 0 2rem; font-size: clamp(2.2rem, 4vw, 4rem); }
.web-demo { border: 8px solid var(--ink); background: #f1ecd8; box-shadow: 12px 12px 0 var(--signal); }
.web-demo-bar { padding: 1rem 1.5rem; display: flex; justify-content: space-between; border-bottom: 1px solid var(--ink); font-size: .72rem; font-weight: 900; }
.web-demo-hero { padding: clamp(3rem, 7vw, 7rem) clamp(2rem, 5vw, 5rem); background: radial-gradient(circle at 82% 20%, var(--acid) 0 12%, transparent 12.3%); }
.web-demo-hero h2 { max-width: 13ch; margin: .5rem 0 2rem; font-size: clamp(3rem, 7vw, 6.2rem); }
.web-demo-hero button { min-height: 48px; padding: .7rem 1rem; border: 0; background: var(--signal); color: white; font-weight: 800; }
.web-demo-strip { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.web-demo-strip span { padding: 1rem; border-right: 1px solid var(--ink); font-size: .75rem; font-weight: 800; }
.web-demo-strip span:last-child { border: 0; }
.banner-set { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.banner { aspect-ratio: 1; padding: 1.4rem; display: flex; flex-direction: column; justify-content: space-between; border: 1px solid var(--ink); overflow: hidden; }
.banner strong { font-family: var(--serif); font-size: clamp(2rem, 4vw, 4rem); line-height: .8; }
.banner small, .banner span { font-size: .68rem; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.b1 { background: var(--signal); color: #fff5e7; transform: rotate(-1deg); }
.b2 { background: var(--acid); transform: translateY(1rem); }
.b2 strong { align-self: center; writing-mode: vertical-rl; }
.b3 { background: var(--moss); color: var(--paper); transform: rotate(1.5deg); }
.audit-demo { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 5vw, 5rem); }
.audit-demo h2 { margin: 0; font-size: clamp(2.8rem, 5vw, 5rem); }
.audit-demo li { padding: 1rem 0; border-bottom: 1px solid var(--line); }
.pr-draft { padding: 2rem; align-self: center; background: var(--paper-2); transform: rotate(1deg); box-shadow: 10px 10px 0 var(--ink); }
.pr-draft h3 { font-family: var(--serif); font-size: 2rem; line-height: 1.1; }
.pr-draft b { display: block; margin-top: 3rem; color: var(--signal-dark); font-size: .72rem; text-transform: uppercase; }

.method-grid { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 7rem; display: grid; grid-template-columns: repeat(2, 1fr); }
.method-grid > div { min-height: 320px; padding: clamp(2rem, 5vw, 4rem); border-top: 1px solid var(--ink); border-right: 1px solid var(--line); }
.method-grid > div:nth-child(even) { border-right: 0; }
.method-grid h2 { margin: 2rem 0 1rem; font-size: clamp(2rem, 4vw, 4rem); }
.method-grid p:last-child { color: var(--muted); }
.source-note { background: var(--acid); max-width: none; padding-inline: max(var(--gutter), calc((100vw - var(--max)) / 2 + var(--gutter))); }
.source-note h2 { max-width: 12ch; }
.source-note p:last-child { max-width: 760px; }
.not-found { min-height: 70vh; max-width: var(--max); margin: 0 auto; padding: 8rem var(--gutter); }
.not-found h1 { margin: 0 0 2rem; font-size: clamp(3.5rem, 8vw, 8rem); }

footer { max-width: var(--max); margin: 0 auto; padding: 2.2rem var(--gutter); display: flex; justify-content: space-between; gap: 2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
footer p { max-width: 560px; margin: 0; }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .signal-board { min-height: 290px; max-width: 520px; width: calc(100% - 1rem); }
  .manifesto { grid-template-columns: 50px 1fr; }
  .manifesto > p:last-child { grid-column: 2; }
  .category-group { grid-template-columns: 1fr; }
  .group-title { position: static; display: flex; gap: 1rem; align-items: baseline; }
  .category-card, .featured .category-card { grid-template-columns: 1fr auto; }
  .category-card > p { grid-column: 1 / -1; grid-row: 2; }
  .category-card .text-link { grid-column: 2; grid-row: 1; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-grid aside { max-width: 520px; }
  .process ol { grid-template-columns: repeat(2, 1fr); }
  .process li:nth-child(3) { border-left: 0; border-top: 1px solid var(--line); }
  .process li:nth-child(4) { border-top: 1px solid var(--line); }
  .banner-set { gap: .7rem; }
}

@media (max-width: 680px) {
  .site-head { min-height: 72px; }
  .wordmark b { display: none; }
  .wordmark span { width: 44px; height: 44px; }
  .nav-toggle { display: block; }
  .site-head nav { position: absolute; z-index: 20; top: 72px; left: var(--gutter); right: var(--gutter); padding: 1rem; display: none; flex-direction: column; align-items: stretch; gap: 0; border: 1px solid var(--ink); background: var(--paper); box-shadow: 8px 8px 0 var(--ink); }
  .site-head nav.is-open { display: flex; }
  .site-head nav a { min-height: 48px; display: flex; align-items: center; border-bottom: 1px solid var(--line); }
  .site-head nav a:last-child { border: 0; }
  .site-head nav a[aria-current="page"]::after { left: auto; right: .2rem; top: 50%; bottom: auto; width: 8px; height: 8px; border-radius: 50%; }
  .hero { min-height: auto; padding-top: 4.5rem; }
  .hero h1, .page-intro h1, .detail-head h1, .demo-detail h1 { font-size: clamp(3rem, 14vw, 5rem); }
  .signal-board { min-height: 250px; }
  .manifesto, .boundary { grid-template-columns: 1fr; }
  .manifesto .section-no, .manifesto > p:last-child, .boundary .eyebrow { grid-column: 1; }
  .manifesto > p:last-child { margin-top: 0; }
  .section-heading { display: block; }
  .directory-tools { grid-template-columns: 1fr; gap: 1rem; }
  .filter-set { overflow-x: auto; padding-bottom: .3rem; }
  .filter { white-space: nowrap; }
  #result-count { text-align: left; margin: 0; }
  .category-card, .featured .category-card { grid-template-columns: 1fr; gap: 1rem; }
  .category-card > p, .category-card .text-link { grid-column: 1; grid-row: auto; }
  .detail-head { min-height: 360px; grid-template-columns: 1fr; }
  .category-code { display: none; }
  .process ol { grid-template-columns: 1fr; }
  .process li, .process li:nth-child(3), .process li:nth-child(4) { min-height: 110px; border-left: 0; border-top: 1px solid var(--line); }
  .process li:first-child { border-top: 0; }
  .demo-index { grid-template-columns: 1fr; }
  .demo-index-card, .demo-index-card:nth-child(even) { min-height: 240px; border-right: 0; }
  .demo-canvas { padding: 1rem; }
  .brand-demo { grid-template-columns: 1fr; padding: 2rem; }
  .brand-mark { min-height: 260px; border-right: 0; border-bottom: 1px solid #f3e9d2; }
  .translation-grid { grid-template-columns: 1fr; }
  .translation-grid > div + div { border-left: 0; border-top: 1px solid var(--ink); }
  .web-demo { border-width: 4px; box-shadow: 6px 6px 0 var(--signal); }
  .web-demo-strip { grid-template-columns: 1fr; }
  .web-demo-strip span { border-right: 0; border-bottom: 1px solid var(--ink); }
  .banner-set { grid-template-columns: 1fr; padding: 1rem 2rem; }
  .banner { max-width: 360px; width: 100%; margin: auto; }
  .banner strong { font-size: 3.2rem; }
  .audit-demo, .method-grid { grid-template-columns: 1fr; }
  .method-grid > div, .method-grid > div:nth-child(even) { min-height: 260px; border-right: 0; }
  .detail-nav, footer { flex-direction: column; }
}
