:root {
  --green: #0d6b3a;
  --green-dark: #074726;
  --yellow: #f2d52e;
  --blue: #173f8f;
  --red: #b5332d;
  --ink: #101713;
  --muted: #5f685f;
  --paper: #f5f1e7;
  --paper-2: #ebe4d6;
  --white: #fffdf7;
  --line: #1b231d;
  --shadow: 8px 8px 0 rgba(16, 23, 19, .14);
  --radius: 2px;
  --shell: min(1180px, calc(100vw - 40px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
  text-rendering: optimizeLegibility;
}
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, select { cursor: pointer; }
img, svg { max-width: 100%; }
::selection { background: var(--yellow); color: var(--ink); }

.skip-link { position: fixed; top: 10px; left: 10px; z-index: 99; background: var(--ink); color: white; padding: 10px 14px; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.shell { width: var(--shell); margin: 0 auto; }
.status-ticker { overflow: hidden; background: var(--yellow); border-bottom: 2px solid var(--ink); font: 800 11px/1 monospace; letter-spacing: .12em; }
.status-ticker__track { display: flex; width: max-content; animation: ticker 28s linear infinite; }
.status-ticker span { padding: 9px 24px; border-right: 1px solid rgba(0,0,0,.4); }
@keyframes ticker { to { transform: translateX(-50%); } }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(245,241,231,.94); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(16,23,19,.28); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; width: 46px; height: 46px; background: var(--green); color: white; border: 2px solid var(--ink); font-weight: 900; letter-spacing: -.06em; transform: rotate(-2deg); }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 15px; letter-spacing: .08em; }
.brand-copy small { margin-top: 5px; font: 700 9px/1 monospace; letter-spacing: .13em; color: var(--muted); }
.main-nav { display: flex; align-items: center; gap: 24px; font-size: 13px; font-weight: 750; }
.main-nav a { text-decoration: none; }
.main-nav a:not(.nav-cta):hover { text-decoration: underline; text-underline-offset: 4px; }
.nav-cta { background: var(--ink); color: white; padding: 11px 15px; border: 2px solid var(--ink); }
.nav-cta:hover { background: var(--yellow); color: var(--ink); }

.hero { position: relative; overflow: hidden; border-bottom: 2px solid var(--ink); background:
  linear-gradient(rgba(16,23,19,.045) 1px, transparent 1px),
  linear-gradient(90deg, rgba(16,23,19,.045) 1px, transparent 1px), var(--paper);
  background-size: 32px 32px;
}
.hero-grid { min-height: 720px; display: grid; grid-template-columns: 1.08fr .92fr; gap: 70px; align-items: center; padding: 82px 0 90px; }
.eyebrow, .kicker { font: 800 11px/1.2 monospace; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 24px; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 4px rgba(13,107,58,.12); }
.hero h1, .section h2, .legal-page h1 { margin: 0; font-weight: 950; letter-spacing: -.065em; line-height: .87; text-transform: uppercase; }
.hero h1 { font-size: clamp(58px, 7.3vw, 104px); max-width: 760px; }
.hero h1 span { color: var(--blue); }
.hero-lede { max-width: 690px; margin: 32px 0 0; font-size: clamp(19px, 2vw, 26px); line-height: 1.28; font-weight: 560; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 34px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 18px; min-height: 52px; padding: 0 18px; border: 2px solid var(--ink); text-decoration: none; font: 900 13px/1 monospace; letter-spacing: .04em; box-shadow: 4px 4px 0 var(--ink); transition: transform .15s ease, box-shadow .15s ease, background .15s ease; }
.button:hover { transform: translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.button-primary { background: var(--yellow); }
.button-dark { background: var(--ink); color: white; }
.text-link { font-size: 14px; font-weight: 800; text-underline-offset: 4px; }
.hero-note { max-width: 640px; margin: 25px 0 0; color: var(--muted); font-size: 12px; }
.hero-art { position: relative; min-height: 520px; display: grid; place-items: center; }
.paper-stack { position: absolute; inset: 70px 20px 20px 50px; border: 2px solid var(--ink); background: #dcd4c5; transform: rotate(5deg); }
.protocol-card { position: relative; width: min(430px, 94%); min-height: 470px; padding: 26px; background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow); transform: rotate(-2deg); }
.protocol-card:before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .15; background-image: repeating-linear-gradient(0deg, transparent 0 22px, #000 23px); }
.protocol-top { position: relative; display: flex; justify-content: space-between; align-items: flex-start; padding-bottom: 16px; border-bottom: 2px solid var(--ink); font: 800 10px/1.2 monospace; letter-spacing: .07em; }
.protocol-top strong { color: var(--blue); }
.protocol-number { position: relative; margin: 24px 0; font: 900 clamp(28px,4vw,45px)/1 monospace; letter-spacing: -.07em; }
.protocol-grid { position: relative; display: grid; grid-template-columns: 1fr 1fr; margin: 0; border-top: 1px solid var(--ink); border-left: 1px solid var(--ink); }
.protocol-grid div { padding: 12px; border-right: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.protocol-grid dt { font: 800 9px/1 monospace; letter-spacing: .1em; color: var(--muted); }
.protocol-grid dd { margin: 7px 0 0; font: 900 12px/1 monospace; }
.stamp { position: relative; width: 142px; height: 90px; margin: 28px 18px 12px auto; display: grid; place-items: center; text-align: center; border: 5px double currentColor; border-radius: 50%; font: 950 17px/.95 monospace; letter-spacing: .02em; transform: rotate(-11deg); opacity: .86; }
.stamp-yellow { color: #a88900; }
.barcode { position: relative; width: 150px; height: 34px; margin-top: -44px; background: repeating-linear-gradient(90deg, var(--ink) 0 2px, transparent 2px 4px, var(--ink) 4px 5px, transparent 5px 9px); }
.micro { position: relative; margin: 18px 0 0; max-width: 220px; font: 600 8px/1.3 monospace; text-transform: uppercase; }
.queue-ticket { position: absolute; right: 0; bottom: 6px; width: 154px; background: var(--yellow); border: 2px solid var(--ink); padding: 14px; font: 800 10px/1.1 monospace; transform: rotate(5deg); box-shadow: 4px 4px 0 var(--ink); }
.queue-ticket strong { display: block; margin: 8px 0 4px; font-size: 33px; letter-spacing: -.08em; }
.queue-ticket small { font-size: 8px; }

.manifest-strip { background: var(--green); color: white; border-bottom: 2px solid var(--ink); }
.manifest-strip__grid { display: grid; grid-template-columns: 1fr auto; gap: 35px; align-items: center; min-height: 122px; }
.manifest-strip p { max-width: 900px; margin: 0; font-size: clamp(16px,2vw,22px); }
.manifest-strip__badge { width: 94px; height: 74px; display: grid; place-items: center; text-align: center; border: 3px double white; border-radius: 50%; font: 800 9px/1.05 monospace; transform: rotate(8deg); }

.section { padding: 110px 0; border-bottom: 2px solid var(--ink); }
.section-heading { margin-bottom: 52px; }
.section-heading h2, .legal-page h1 { font-size: clamp(48px, 6vw, 82px); }
.section-heading > p { max-width: 650px; margin: 18px 0 0; font-size: 18px; color: var(--muted); }
.kicker { display: inline-block; margin-bottom: 16px; color: var(--blue); }
.split-heading { display: grid; grid-template-columns: 1fr .75fr; align-items: end; gap: 60px; }
.split-heading > p { margin: 0; }

.process-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.process-list li { display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 20px; min-height: 126px; border-bottom: 1px solid var(--ink); transition: background .16s ease, padding .16s ease; }
.process-list li:hover { background: var(--white); padding: 0 12px; }
.step-no { font: 900 28px/1 monospace; color: var(--green); }
.process-list strong { font-size: 22px; }
.process-list p { margin: 5px 0 0; color: var(--muted); }
.status-tag { justify-self: end; border: 2px solid var(--green); color: var(--green); padding: 8px 11px; font: 900 10px/1 monospace; transform: rotate(-2deg); }
.status-tag--blue { border-color: var(--blue); color: var(--blue); }
.status-tag--red { border-color: var(--red); color: var(--red); }
.footnote { margin: 14px 0 0; font: 600 10px/1.4 monospace; color: var(--muted); }

.classics { background: var(--ink); color: white; }
.classics .kicker { color: var(--yellow); }
.classics .section-heading > p { color: #c6cdc8; }
.classic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.classic-card { min-height: 300px; padding: 25px; display: flex; flex-direction: column; background: var(--paper); color: var(--ink); border: 2px solid white; position: relative; }
.classic-card--yellow { background: var(--yellow); }
.classic-card--blue { background: var(--blue); color: white; }
.classic-card--green { background: var(--green); color: white; }
.classic-card--paper { background: #fffaf0; }
.card-code { font: 800 9px/1 monospace; letter-spacing: .1em; opacity: .7; }
.classic-card blockquote { margin: 52px 0 14px; font-size: clamp(24px,2.5vw,35px); line-height: 1.02; font-weight: 900; letter-spacing: -.04em; }
.classic-card p { margin: 0; font-size: 13px; opacity: .78; }
.mini-stamp { margin: auto 0 0 auto; padding: 6px 8px; border: 2px solid currentColor; font: 900 9px/1 monospace; transform: rotate(-4deg); }
.mini-stamp--light { color: var(--yellow); }

.index-section { background: var(--yellow); }
.index-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; align-items: start; }
.index-intro h2 { font-size: clamp(58px,7vw,92px); }
.index-intro p { max-width: 490px; font-size: 18px; }
.index-disclaimer { font: 600 10px/1.5 monospace !important; border-top: 1px solid var(--ink); padding-top: 16px; }
.metrics { border-top: 2px solid var(--ink); }
.metric { padding: 20px 0; border-bottom: 1px solid var(--ink); }
.metric-label { display: flex; justify-content: space-between; gap: 20px; font-weight: 900; }
.metric-label strong { font: 900 18px/1 monospace; }
.meter { display: grid; grid-template-columns: repeat(5,1fr); gap: 6px; margin: 12px 0 8px; }
.meter i { height: 15px; background: var(--ink); border: 1px solid var(--ink); }
.meter i.off { background: transparent; }
.metric small { font: 700 9px/1 monospace; text-transform: uppercase; }

.story-section { background: var(--blue); color: white; }
.story-section .kicker { color: var(--yellow); }
.story-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 74px; align-items: start; }
.story-copy h2 { font-size: clamp(58px,7vw,90px); }
.story-copy > p { font-size: 18px; color: #dfe6f6; }
.privacy-note { margin-top: 38px; padding: 18px; border: 1px solid rgba(255,255,255,.5); background: rgba(255,255,255,.06); }
.privacy-note p { margin: 6px 0 0; font-size: 13px; color: #dfe6f6; }
.complaint-form { background: var(--paper); color: var(--ink); border: 2px solid var(--ink); padding: 28px; box-shadow: 8px 8px 0 rgba(0,0,0,.32); }
.form-header { display: flex; justify-content: space-between; gap: 15px; padding-bottom: 17px; margin-bottom: 24px; border-bottom: 2px solid var(--ink); font: 800 10px/1 monospace; }
.form-row { display: grid; gap: 16px; }
.form-row--2 { grid-template-columns: 1fr 1fr; }
.form-row--3 { grid-template-columns: 1fr 1fr 1fr; }
.complaint-form label { display: block; margin-bottom: 17px; font-size: 12px; font-weight: 850; }
.complaint-form label small { color: var(--muted); font-weight: 600; }
input, select, textarea { width: 100%; margin-top: 7px; border: 1.5px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink); padding: 12px 13px; }
textarea { resize: vertical; min-height: 145px; }
.check-label { display: grid !important; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; padding: 14px; border: 1px dashed var(--ink); }
.check-label input { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--green); }
.form-actions { display: flex; align-items: center; gap: 20px; margin-top: 20px; }
.form-small { font: 600 9px/1.3 monospace; color: var(--muted); }
.form-error, .form-success { margin-top: 16px; padding: 12px 14px; border: 2px solid var(--red); background: #f7d9d6; font-weight: 800; font-size: 13px; }
.form-success { border-color: var(--green); background: #d8eddf; }

.community { background: var(--white); }
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 30px; }
.filter { border: 1px solid var(--ink); background: transparent; padding: 8px 12px; font: 800 10px/1 monospace; text-transform: uppercase; }
.filter:hover, .filter.is-active { background: var(--ink); color: white; }
.complaints-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.complaint-card { padding: 22px; border: 2px solid var(--ink); background: var(--paper); min-height: 250px; display: flex; flex-direction: column; }
.complaint-card__meta { display: flex; justify-content: space-between; gap: 12px; font: 800 9px/1 monospace; text-transform: uppercase; }
.complaint-card blockquote { margin: 35px 0 20px; font-size: 19px; line-height: 1.35; font-weight: 700; }
.complaint-card__bottom { margin-top: auto; display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid var(--ink); padding-top: 12px; font-size: 11px; }
.local-badge { color: var(--blue); font-weight: 900; }
.empty-state { min-height: 250px; display: grid; grid-template-columns: auto 1fr; gap: 44px; align-items: center; border: 2px dashed var(--ink); padding: 34px; }
.empty-state[hidden] { display: none; }
.empty-state h3 { margin: 0 0 8px; font-size: 28px; }
.empty-state p { max-width: 680px; margin: 0; color: var(--muted); }
.empty-stamp { width: 120px; height: 90px; display: grid; place-items: center; border: 5px double var(--red); color: var(--red); border-radius: 50%; text-align: center; font: 900 12px/1 monospace; transform: rotate(-7deg); }

.why { background: var(--green-dark); color: white; }
.why .kicker { color: var(--yellow); }
.why-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 100px; }
.why-title h2 { font-size: clamp(58px,7vw,96px); }
.why-copy { font-size: 18px; color: #dce8df; }
.why-copy .lead { margin-top: 0; font-size: clamp(23px,2.5vw,34px); line-height: 1.2; color: white; font-weight: 750; letter-spacing: -.03em; }
.principles { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.principles span { border: 1px solid rgba(255,255,255,.6); padding: 7px 9px; font: 800 9px/1 monospace; }

.site-footer { background: var(--ink); color: white; padding: 58px 0 22px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto auto; gap: 60px; align-items: start; }
.brand--footer .brand-mark { background: var(--yellow); color: var(--ink); }
.brand--footer .brand-copy small { color: #aab1ac; }
.footer-disclaimer { max-width: 690px; margin: 24px 0 0; color: #b8c0ba; font-size: 12px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; font-size: 13px; font-weight: 750; }
.footer-stamp { width: 90px; height: 70px; display: grid; place-items: center; text-align: center; border: 4px double var(--yellow); color: var(--yellow); border-radius: 50%; font: 900 11px/1 monospace; transform: rotate(6deg); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 50px; padding-top: 16px; border-top: 1px solid #39403b; color: #8e9891; font: 600 9px/1.3 monospace; text-transform: uppercase; }

.legal-page { min-height: 70vh; padding: 90px 0 110px; }
.legal-shell { width: min(850px, calc(100vw - 40px)); margin: 0 auto; }
.legal-page .kicker { margin-bottom: 20px; }
.legal-page h1 { margin-bottom: 30px; }
.legal-page .intro { font-size: 20px; color: var(--muted); }
.legal-page h2 { margin: 45px 0 10px; font-size: 24px; letter-spacing: -.03em; }
.legal-page p, .legal-page li { color: #39413b; }
.legal-page .notice { margin: 35px 0; padding: 18px 20px; border: 2px solid var(--ink); background: var(--yellow); font-weight: 700; }
.contact-card { margin-top: 32px; padding: 26px; border: 2px solid var(--ink); background: var(--white); box-shadow: 6px 6px 0 var(--ink); }
.contact-card p { margin-bottom: 0; }

@media (max-width: 920px) {
  :root { --shell: min(100% - 30px, 760px); }
  .main-nav a:not(.nav-cta) { display: none; }
  .hero-grid, .story-grid, .index-grid, .why-grid, .split-heading { grid-template-columns: 1fr; }
  .hero-grid { gap: 20px; padding-top: 60px; }
  .hero-art { min-height: 500px; }
  .split-heading { gap: 18px; }
  .classic-grid, .complaints-list { grid-template-columns: 1fr 1fr; }
  .index-grid, .story-grid, .why-grid { gap: 55px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-stamp { grid-column: 2; grid-row: 1; justify-self: end; }
}

@media (max-width: 620px) {
  .status-ticker span { padding-inline: 18px; }
  .nav-wrap { min-height: 70px; }
  .nav-cta { padding: 10px 11px; font-size: 10px; }
  .hero-grid { min-height: auto; padding-bottom: 65px; }
  .hero h1 { font-size: clamp(52px, 16vw, 75px); }
  .hero-lede { font-size: 19px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-art { min-height: 430px; }
  .protocol-card { width: 96%; min-height: 410px; padding: 20px; }
  .protocol-number { font-size: 30px; }
  .queue-ticket { right: -5px; width: 135px; }
  .manifest-strip__grid { grid-template-columns: 1fr; padding: 28px 0; }
  .manifest-strip__badge { display: none; }
  .section { padding: 78px 0; }
  .section-heading { margin-bottom: 36px; }
  .section-heading h2 { font-size: 50px; }
  .process-list li { grid-template-columns: 52px 1fr; gap: 14px; padding: 22px 0; }
  .process-list li:hover { padding: 22px 8px; }
  .status-tag { grid-column: 2; justify-self: start; }
  .classic-grid, .complaints-list { grid-template-columns: 1fr; }
  .classic-card { min-height: 260px; }
  .form-row--2, .form-row--3 { grid-template-columns: 1fr; gap: 0; }
  .complaint-form { padding: 20px; }
  .form-header { flex-direction: column; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .empty-state { grid-template-columns: 1fr; gap: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }
  .footer-stamp { grid-column: auto; grid-row: auto; justify-self: start; }
  .footer-bottom { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
