:root {
  --ink: #123e52;
  --ink-deep: #082b3b;
  --paper: #f6f0e4;
  --paper-light: #fffdf8;
  --ochre: #d99a32;
  --leaf: #5b7048;
  --coral: #c85e46;
  --line: rgba(18, 62, 82, .2);
  --shadow: 0 24px 70px rgba(8, 43, 59, .13);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-deep);
  font-family: var(--sans);
  line-height: 1.6;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .2;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.11'/%3E%3C/svg%3E");
  z-index: 20;
}
a { color: inherit; }
button, input, textarea { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; top: 8px; left: 8px; transform: translateY(-150%); background: white; padding: 10px 16px; z-index: 100; }
.skip-link:focus { transform: none; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  height: 88px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 clamp(22px, 5vw, 78px);
  border-bottom: 1px solid var(--line);
  background: rgba(246, 240, 228, .91);
  backdrop-filter: blur(14px);
  position: sticky;
  top: 0;
  z-index: 10;
}
.wordmark { display: grid; gap: 2px; text-decoration: none; font: .6rem var(--sans); letter-spacing: .14em; line-height: 1; }
.wordmark strong { font-family: var(--serif); font-size: 1rem; letter-spacing: .045em; }
.site-header nav { display: flex; gap: 30px; }
.site-header nav a { text-decoration: none; font-size: .9rem; }
.site-header nav a:hover { text-decoration: underline; text-underline-offset: 5px; }
.share-button { justify-self: end; border: 0; border-bottom: 1px solid currentColor; background: transparent; padding: 5px 0; cursor: pointer; }

.hero {
  min-height: calc(100vh - 88px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .72fr);
  align-items: center;
  gap: clamp(40px, 7vw, 120px);
  padding: clamp(55px, 8vh, 100px) clamp(22px, 7vw, 110px);
  position: relative;
  overflow: hidden;
}
.hero::after { content: ""; position: absolute; width: 38vw; height: 38vw; min-width: 430px; min-height: 430px; border: 1px solid rgba(217,154,50,.35); border-radius: 50%; right: -9vw; top: 8vh; z-index: -1; }
.kicker, .section-number { text-transform: uppercase; letter-spacing: .16em; font-size: .74rem; font-weight: 700; color: var(--coral); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 28px; font: clamp(3.4rem, 7.2vw, 7.5rem)/.92 var(--serif); letter-spacing: -.055em; max-width: 900px; }
h1 em { display: block; color: var(--leaf); font-weight: 400; }
.hero-intro { max-width: 640px; font: clamp(1.12rem, 1.7vw, 1.45rem)/1.55 var(--serif); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 26px; align-items: center; margin-top: 38px; }
.button { min-height: 54px; border: 1px solid transparent; padding: 14px 24px; display: inline-flex; align-items: center; justify-content: center; gap: 14px; text-decoration: none; cursor: pointer; font-weight: 700; transition: transform .18s ease, background .18s ease, box-shadow .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ink); color: white; box-shadow: 8px 8px 0 var(--ochre); }
.button-primary:hover { background: var(--ink-deep); box-shadow: 5px 5px 0 var(--ochre); }
.text-link { text-underline-offset: 5px; }
.privacy-note { margin-top: 30px; font-size: .78rem; color: rgba(8,43,59,.68); }
.privacy-note span { color: var(--leaf); font-size: 1.1rem; }
.hero-visual { margin: 0; position: relative; justify-self: end; max-width: 510px; transform: rotate(1.4deg); }
.hero-visual img { width: 100%; display: block; aspect-ratio: 2 / 3; object-fit: cover; box-shadow: var(--shadow); border: 8px solid var(--paper-light); }
.hero-visual figcaption { position: absolute; left: -28px; bottom: 42px; padding: 13px 20px; background: var(--ochre); color: var(--ink-deep); font: italic 1.05rem var(--serif); transform: rotate(-4deg); box-shadow: 4px 5px 0 rgba(8,43,59,.15); }
.margin-message { position: absolute; right: 20px; top: 50%; writing-mode: vertical-rl; text-transform: uppercase; letter-spacing: .18em; font-size: .65rem; }

.common-ground { background: var(--ink); color: white; display: flex; gap: 24px; align-items: center; justify-content: center; padding: 20px 30px; overflow: hidden; white-space: nowrap; }
.common-ground p { margin: 0; font: italic 1rem var(--serif); }
.common-ground span { color: var(--ochre); }

.participate-section, .voices-section, .manifesto { padding: clamp(80px, 11vw, 165px) clamp(22px, 7vw, 110px); }
.section-heading { display: grid; grid-template-columns: .45fr 1.2fr .65fr; gap: clamp(24px, 5vw, 90px); align-items: start; margin-bottom: 70px; }
.section-heading h2, .manifesto h2, .share-section h2 { font: clamp(2.3rem, 4.5vw, 5rem)/1.02 var(--serif); letter-spacing: -.035em; margin: 0; }
.section-heading > p:last-child { font-size: .95rem; max-width: 420px; }

.survey { max-width: 1180px; margin: 0 auto; background: var(--paper-light); box-shadow: var(--shadow); }
.survey fieldset { border: 0; padding: clamp(28px, 5vw, 65px); margin: 0; }
.selection-status { text-align: right; margin-bottom: 18px; font-size: .82rem; letter-spacing: .06em; }
.selection-status strong { color: var(--coral); font-size: 1.2rem; }
.priority-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.priority { min-height: 120px; display: grid; grid-template-columns: 34px 42px 1fr; gap: 16px; align-items: center; padding: 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); cursor: pointer; transition: background .18s ease, color .18s ease; }
.priority:hover { background: rgba(217,154,50,.1); }
.priority:has(input:checked) { background: var(--ink); color: white; }
.priority input { appearance: none; width: 22px; height: 22px; border: 1px solid currentColor; display: grid; place-content: center; }
.priority input::before { content: ""; width: 10px; height: 10px; background: var(--ochre); transform: scale(0); transition: transform .15s ease; }
.priority input:checked::before { transform: scale(1); }
.priority-icon { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; color: var(--ochre); font: 1.25rem var(--serif); }
.priority strong, .priority small { display: block; }
.priority strong { font: 1.12rem var(--serif); }
.priority small { margin-top: 4px; opacity: .72; line-height: 1.4; }
.form-details { background: var(--ink); color: white; padding: clamp(28px, 5vw, 65px); }
.form-details > label:not(.consent):not(.honeypot), .field-row label { display: grid; gap: 8px; font: 1.06rem var(--serif); }
.form-details label span { opacity: .65; font: .72rem var(--sans); text-transform: uppercase; letter-spacing: .09em; }
.field-row { display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; margin-top: 28px; }
input[type="text"], textarea { width: 100%; color: white; background: transparent; border: 0; border-bottom: 1px solid rgba(255,255,255,.38); padding: 12px 0; outline: none; border-radius: 0; }
textarea { border: 1px solid rgba(255,255,255,.38); padding: 14px; resize: vertical; }
input[type="text"]:focus, textarea:focus { border-color: var(--ochre); box-shadow: 0 2px 0 var(--ochre); }
.consent { display: flex; align-items: flex-start; gap: 12px; margin: 28px 0; font-size: .9rem; cursor: pointer; }
.consent input { margin-top: 5px; accent-color: var(--ochre); }
.consent span { opacity: 1; text-transform: none; letter-spacing: 0; font: inherit; }
.honeypot { position: absolute; left: -10000px; }
.submit-button { background: var(--ochre); color: var(--ink-deep); box-shadow: 7px 7px 0 rgba(255,255,255,.2); }
.form-feedback { min-height: 26px; margin: 18px 0 0; font-weight: 700; color: #ffe1a5; }
.data-note { margin: 8px 0 0; max-width: 650px; opacity: .66; font-size: .75rem; }

.voices-section { background: var(--ink-deep); color: white; }
.section-heading.light .section-number { color: var(--ochre); }
.section-heading.light > p:last-child { color: rgba(255,255,255,.72); }
.results-panel { display: grid; grid-template-columns: .6fr 1.4fr; gap: clamp(35px, 7vw, 100px); border-top: 1px solid rgba(255,255,255,.25); padding-top: 45px; }
.response-total strong { display: block; font: clamp(4rem, 10vw, 9rem)/.9 var(--serif); color: var(--ochre); }
.response-total span { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; }
.results-list { margin: 0; padding: 0; list-style: none; counter-reset: voice; }
.results-list li { counter-increment: voice; display: grid; grid-template-columns: 28px 1fr auto; gap: 14px; border-bottom: 1px solid rgba(255,255,255,.17); padding: 16px 0; }
.results-list li::before { content: counter(voice, decimal-leading-zero); color: var(--ochre); font-size: .72rem; }
.results-list strong { font: 1.12rem var(--serif); }
.results-list b { color: var(--ochre); }
.results-caption { grid-column: 2; color: rgba(255,255,255,.54); font-size: .75rem; }

.manifesto { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px, 10vw, 150px); }
.manifesto-copy { max-width: 590px; font-size: 1.08rem; }
.manifesto-copy > p:first-child { font: italic 1.5rem var(--serif); color: var(--coral); }
blockquote { margin: 45px 0 0; padding: 28px 0 0; border-top: 1px solid var(--ochre); font: italic clamp(1.7rem, 3vw, 2.8rem)/1.25 var(--serif); color: var(--leaf); }
.method-section { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0 clamp(22px, 7vw, 110px) clamp(80px, 11vw, 160px); }
.method-section article { padding: 36px; border: 1px solid var(--line); }
.method-section article + article { border-left: 0; }
.method-section article span { color: var(--coral); }
.method-section h3 { margin: 35px 0 10px; font: 2rem var(--serif); }
.method-section p { margin: 0; }

.share-section { background: var(--ochre); display: grid; grid-template-columns: 1.3fr .7fr; gap: 70px; align-items: end; padding: clamp(65px, 9vw, 120px) clamp(22px, 7vw, 110px); }
.share-section .section-number { color: var(--ink-deep); }
.share-actions { display: grid; gap: 20px; }
.button-light { background: var(--paper-light); color: var(--ink-deep); }
.poster-link { display: flex; justify-content: space-between; padding: 12px 0; border-bottom: 1px solid currentColor; text-decoration: none; }
.poster-link span { font-size: .7rem; letter-spacing: .1em; }
footer { background: var(--ink); color: rgba(255,255,255,.72); display: flex; justify-content: space-between; gap: 30px; padding: 48px clamp(22px, 7vw, 110px); font-size: .78rem; }
footer strong { color: white; letter-spacing: .08em; }
footer p:last-child { text-align: right; font-family: var(--serif); font-style: italic; }

:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: none; }

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; height: 74px; }
  .site-header nav { display: none; }
  .hero { min-height: auto; grid-template-columns: 1fr; padding-top: 70px; }
  .hero-visual { max-width: 440px; justify-self: center; }
  .margin-message { display: none; }
  .section-heading { grid-template-columns: 1fr; gap: 12px; }
  .section-heading h2 { max-width: 760px; }
  .results-panel, .manifesto, .share-section { grid-template-columns: 1fr; }
  .results-caption { grid-column: auto; }
  .method-section { grid-template-columns: 1fr; }
  .method-section article + article { border-left: 1px solid var(--line); border-top: 0; }
}

@media (max-width: 620px) {
  .wordmark { gap: 2px; line-height: 1; }
  .wordmark span { font-size: .52rem; }
  .wordmark strong { font-size: .86rem; }
  .share-button { font-size: .85rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.5rem); }
  .hero { padding-left: 20px; padding-right: 20px; overflow: hidden; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .text-link { text-align: center; }
  .hero-visual { width: 88%; }
  .hero-visual figcaption { left: -18px; bottom: 28px; }
  .common-ground { justify-content: flex-start; }
  .participate-section, .voices-section, .manifesto { padding-left: 18px; padding-right: 18px; }
  .priority-grid { grid-template-columns: 1fr; }
  .priority { grid-template-columns: 28px 38px 1fr; padding: 18px 14px; }
  .field-row { grid-template-columns: 1fr; }
  .submit-button { width: 100%; }
  .results-panel { grid-template-columns: 1fr; }
  .manifesto { gap: 45px; }
  .method-section { padding-left: 18px; padding-right: 18px; }
  .method-section article { padding: 28px; }
  .share-section { gap: 38px; }
  footer { flex-direction: column; }
  footer p:last-child { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
