:root {
  --paper: #f4f0e5;
  --ink: #17332d;
  --water: #116b78;
  --water-dark: #0b4e59;
  --sun: #e7b64e;
  --coral: #e97557;
  --line: rgba(23, 51, 45, 0.2);
  --white: #fffdf7;
  --radius: 1.25rem;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
}
a { color: inherit; }
svg { display: block; }
.skip-link {
  position: fixed;
  z-index: 10;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: white;
  transform: translateY(-180%);
}
.skip-link:focus { transform: none; }

.site-header,
main,
footer {
  width: min(1180px, calc(100% - 2.5rem));
  margin-inline: auto;
}
.site-header {
  min-height: 5.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-decoration: none;
}
.brand svg { width: 1.3rem; fill: var(--water); }
.brand svg path:last-child { fill: none; stroke: var(--paper); stroke-linecap: round; stroke-width: 2; }
nav { display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.25rem); }
nav a { font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.nav-cta { border-bottom: 2px solid var(--coral); }

.hero {
  min-height: min(760px, calc(100vh - 5.5rem));
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: clamp(2rem, 7vw, 6rem);
  align-items: center;
  padding-block: clamp(4rem, 9vw, 8rem);
}
.eyebrow,
.section-number,
.format-kicker {
  margin: 0 0 1rem;
  color: var(--water);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1,
h2,
h3,
p { margin-top: 0; }
h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
h1 { max-width: 700px; margin-bottom: 1.6rem; font-size: clamp(4rem, 8vw, 7.7rem); }
h2 { margin-bottom: 1.25rem; font-size: clamp(2.5rem, 5vw, 4.7rem); }
h3 { margin-bottom: 0.75rem; font-size: 1.35rem; line-height: 1.2; }
.lede { max-width: 610px; font-size: clamp(1.1rem, 2vw, 1.35rem); }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem; margin-top: 2rem; }
.button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.3rem;
  border: 1px solid var(--ink);
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}
.button:hover { background: var(--water-dark); }
.button:disabled { cursor: wait; opacity: 0.65; }
.text-link { font-weight: 800; text-underline-offset: 0.25rem; }

.water-map {
  position: relative;
  overflow: hidden;
  min-height: 560px;
  border-radius: 50% 50% 8% 50%;
  background: var(--water);
  color: white;
  transform: rotate(1.5deg);
}
.water-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.water-map .contour { fill: none; stroke: rgba(255, 255, 255, 0.12); stroke-width: 2; }
.water-map .river { fill: none; stroke: var(--sun); stroke-linecap: round; stroke-width: 6; }
.water-map .river--wide { stroke-width: 13; }
.water-map circle { fill: var(--coral); stroke: white; stroke-width: 4; }
.map-label { position: absolute; z-index: 1; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; }
.map-label--north { top: 13%; left: 24%; }
.map-label--west { top: 44%; left: 9%; }
.map-label--south { right: 12%; bottom: 28%; }
.map-note { position: absolute; z-index: 1; right: 8%; bottom: 7%; width: 58%; margin: 0; font-size: 0.85rem; line-height: 1.45; }

.manifesto,
.formats,
.archive,
.participate { padding-block: clamp(5rem, 10vw, 9rem); border-top: 1px solid var(--line); }
.manifesto { display: grid; grid-template-columns: 0.35fr 1fr; gap: 2rem; }
.manifesto > div { max-width: 780px; }
.manifesto > div p { max-width: 660px; font-size: 1.16rem; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: 3rem; }
.section-heading h2 { max-width: 650px; margin: 0; }
.format-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.format-grid article {
  min-height: 330px;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.5);
}
.format-grid article:nth-child(2) { transform: translateY(1.5rem); }
.format-icon { display: block; height: 5.5rem; color: var(--coral); font-family: var(--serif); font-size: 4rem; line-height: 1; }
.format-kicker { margin-bottom: 0.75rem; }
.format-grid p:last-child { margin-bottom: 0; }

.archive { display: grid; grid-template-columns: 1fr 0.85fr; gap: clamp(2rem, 8vw, 7rem); align-items: center; }
.archive h2 { max-width: 650px; }
.empty-state { padding: 2rem; border-radius: var(--radius); background: var(--sun); }
.empty-state > span { color: var(--coral); font-size: 1.5rem; }
.empty-state p { display: grid; margin: 1.5rem 0; }
.empty-state a { font-weight: 800; }

.participate { display: grid; grid-template-columns: 0.75fr 1.25fr; gap: clamp(2rem, 8vw, 7rem); }
.participate-copy { position: sticky; top: 2rem; align-self: start; }
.participate aside { margin-top: 2.5rem; padding: 1.3rem; border-left: 4px solid var(--coral); background: rgba(255, 253, 247, 0.55); }
.participate aside ul { margin-bottom: 0; padding-left: 1.2rem; }
form { display: grid; gap: 1.1rem; padding: clamp(1.5rem, 4vw, 3rem); border-radius: var(--radius); background: var(--white); box-shadow: 0 1.25rem 4rem rgba(23, 51, 45, 0.09); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label { display: grid; gap: 0.4rem; font-size: 0.8rem; font-weight: 800; }
input,
select,
textarea {
  width: 100%;
  padding: 0.85rem 0.95rem;
  border: 1px solid rgba(23, 51, 45, 0.35);
  border-radius: 0.45rem;
  background: white;
  color: var(--ink);
  font: inherit;
}
textarea { resize: vertical; }
input:focus,
select:focus,
textarea:focus { outline: 3px solid rgba(17, 107, 120, 0.2); border-color: var(--water); }
.file-field { position: relative; padding: 1.3rem; border: 1px dashed var(--water); border-radius: 0.6rem; }
.file-field input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.file-button { width: max-content; padding: 0.5rem 0.8rem; border-radius: 999px; background: rgba(17, 107, 120, 0.1); color: var(--water); }
.file-field small { color: rgba(23, 51, 45, 0.7); font-weight: 500; }
.check-field { grid-template-columns: auto 1fr; align-items: start; font-weight: 500; line-height: 1.45; }
.check-field input { width: 1.1rem; margin-top: 0.2rem; }
.honeypot { position: absolute; left: -10000px; }
.form-status { min-height: 1.5rem; margin: 0; font-size: 0.9rem; font-weight: 700; }
.form-status.is-success { color: var(--water-dark); }
.form-status.is-error { color: #a62e1c; }

footer { display: grid; grid-template-columns: 1fr auto auto; gap: 2rem; align-items: center; padding-block: 3rem; border-top: 1px solid var(--line); font-size: 0.83rem; }
footer p { margin: 0; }

@media (max-width: 800px) {
  nav a:not(.nav-cta) { display: none; }
  .hero,
  .manifesto,
  .archive,
  .participate { grid-template-columns: 1fr; }
  .hero { padding-top: 3rem; }
  .water-map { min-height: 430px; }
  .manifesto { gap: 0.5rem; }
  .section-heading { display: block; }
  .format-grid { grid-template-columns: 1fr; }
  .format-grid article:nth-child(2) { transform: none; }
  .participate-copy { position: static; }
  footer { grid-template-columns: 1fr; gap: 0.7rem; }
}

@media (max-width: 520px) {
  .site-header,
  main,
  footer { width: min(100% - 1.5rem, 1180px); }
  .site-header { min-height: 4.5rem; }
  .brand span { font-size: 0.9rem; }
  h1 { font-size: clamp(3.2rem, 18vw, 5rem); }
  .water-map { min-height: 360px; }
  .field-row { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
