:root {
  --bg: #f1ece2;
  --bg-deep: #e6dfd1;
  --panel: rgba(255, 252, 247, 0.78);
  --panel-strong: rgba(20, 20, 18, 0.92);
  --panel-soft: rgba(255, 255, 255, 0.46);
  --text: #121212;
  --muted: #5f594f;
  --muted-strong: #413c34;
  --line: rgba(18, 18, 18, 0.12);
  --line-strong: rgba(18, 18, 18, 0.2);
  --shadow: 0 24px 80px rgba(33, 25, 13, 0.08);
  --shadow-tight: 0 14px 44px rgba(33, 25, 13, 0.12);
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Baskerville,
    "Times New Roman", serif;
  --sans: "Avenir Next", "Helvetica Neue", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(169, 127, 82, 0.24), transparent 28%),
    radial-gradient(circle at top right, rgba(77, 96, 108, 0.14), transparent 26%),
    linear-gradient(180deg, #f7f3eb 0%, var(--bg) 42%, var(--bg-deep) 100%);
  font-family: var(--sans);
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(18, 18, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(18, 18, 18, 0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  opacity: 0.28;
  pointer-events: none;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.32), transparent 88%);
}

a {
  color: inherit;
}

img {
  max-width: 100%;
}

.site-shell {
  position: relative;
  width: min(1220px, calc(100% - 40px));
  margin: 0 auto;
  padding-bottom: 48px;
}

.topbar {
  position: sticky;
  top: 18px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 22px 0 42px;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(247, 243, 235, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(18, 18, 18, 0.06);
}

.topbar-links,
.footer-links,
.inline-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  text-decoration: none;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(18, 18, 18, 0.16);
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 0.98rem;
  letter-spacing: 0.04em;
}

.brand-wordmark,
.topbar-link,
.eyebrow,
.section-label,
.panel-label,
.process-kicker,
.card-index,
.resource-label {
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.topbar-link,
.inline-links a,
.footer-links a {
  font-size: 0.84rem;
  text-decoration: none;
}

.topbar-link-strong {
  color: var(--text);
}

.hero,
.section-grid,
.cta-frame,
.subpage-hero {
  display: grid;
  grid-template-columns: 1.14fr 1fr;
  gap: 34px;
}

.hero {
  align-items: center;
  min-height: calc(100vh - 160px);
  padding: 24px 0 56px;
}

.hero-copy h1,
.section-intro h2,
.cta-frame h2,
.subpage-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-copy h1,
.subpage-copy h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 10vw, 8rem);
}

.section-intro h2,
.cta-frame h2 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5vw, 4.6rem);
}

.narrow h2 {
  max-width: 12ch;
}

.hero-text,
.hero-subtext,
.editorial-copy p,
.editorial-copy li,
.card p,
.process-step p,
.audience-panel p,
.cta-copy,
.cta-note,
.footer p,
.resource-card p,
.subpage-copy p,
.support-note p,
.policy-block p,
.policy-block li {
  color: var(--muted);
  font-size: 1.06rem;
  line-height: 1.76;
}

.hero-text {
  max-width: 58ch;
  margin: 28px 0 0;
  font-size: 1.18rem;
}

.hero-subtext {
  max-width: 52ch;
  margin: 18px 0 0;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.inline-links {
  margin-top: 22px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.button:hover,
.button:focus-visible,
.resource-card:hover,
.resource-card:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  background: var(--text);
  color: #f7f3eb;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #000;
}

.button-secondary {
  border-color: rgba(18, 18, 18, 0.14);
  background: rgba(255, 255, 255, 0.32);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(18, 18, 18, 0.24);
  background: rgba(255, 255, 255, 0.58);
}

.hero-stage {
  display: grid;
  gap: 18px;
}

.gallery-wall,
.hero-dossier,
.card,
.process-step,
.audience-panel,
.cta-frame,
.resource-card,
.support-note,
.policy-block {
  border: 1px solid var(--line);
  background: var(--panel);
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.gallery-wall {
  display: grid;
  grid-template-columns: repeat(10, minmax(0, 1fr));
  gap: 14px;
  padding: 22px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 253, 248, 0.88), rgba(237, 229, 214, 0.82)),
    radial-gradient(circle at top left, rgba(105, 65, 34, 0.12), transparent 36%);
}

.gallery-piece {
  position: relative;
  min-height: 168px;
  padding: 12px;
  border: 1px solid rgba(18, 18, 18, 0.16);
  border-radius: 8px;
  background: #cabaa2;
  box-shadow: var(--shadow-tight);
  overflow: hidden;
}

.gallery-piece::before {
  position: absolute;
  inset: 12px;
  border: 1px solid rgba(18, 18, 18, 0.14);
  border-radius: 3px;
  content: "";
}

.gallery-piece p {
  position: absolute;
  left: 20px;
  bottom: 16px;
  z-index: 1;
  margin: 0;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 248, 238, 0.86);
}

.gallery-piece-tall {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 360px;
}

.gallery-piece-wide {
  grid-column: span 6;
}

.piece-grid {
  background:
    linear-gradient(135deg, rgba(18, 18, 18, 0.12), rgba(18, 18, 18, 0.02)),
    radial-gradient(circle at 30% 24%, rgba(255, 202, 137, 0.56), transparent 26%),
    linear-gradient(180deg, #30343d 0%, #15191f 48%, #0d0f12 100%);
}

.piece-road {
  background:
    linear-gradient(180deg, rgba(241, 236, 226, 0.16), transparent 38%),
    linear-gradient(115deg, #71818f 0%, #232a33 44%, #101216 100%);
}

.piece-road::after {
  position: absolute;
  inset: auto 26px 28px 26px;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #e8c47e 18%, transparent 36%, #e8c47e 54%, transparent 72%);
  content: "";
}

.piece-stair {
  grid-column: span 4;
  background:
    linear-gradient(135deg, rgba(249, 246, 239, 0.12), rgba(255, 255, 255, 0)),
    linear-gradient(180deg, #6f5a43 0%, #2e261f 100%);
}

.piece-stair::after {
  position: absolute;
  inset: 28px 28px 40px auto;
  width: 72px;
  background:
    linear-gradient(180deg, transparent 0 18%, rgba(246, 234, 217, 0.84) 18% 22%, transparent 22% 40%, rgba(246, 234, 217, 0.84) 40% 44%, transparent 44% 62%, rgba(246, 234, 217, 0.84) 62% 66%, transparent 66%);
  content: "";
  opacity: 0.78;
}

.piece-night {
  grid-column: span 6;
  background:
    radial-gradient(circle at 76% 22%, rgba(255, 226, 173, 0.6), transparent 16%),
    linear-gradient(160deg, #20303a 0%, #0e151c 58%, #070a0e 100%);
}

.piece-water {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 28%),
    radial-gradient(circle at 32% 18%, rgba(211, 235, 255, 0.48), transparent 26%),
    linear-gradient(180deg, #728f91 0%, #37555d 42%, #15252a 100%);
}

.hero-dossier {
  padding: 26px 28px;
  border-radius: 26px;
  background:
    linear-gradient(180deg, rgba(14, 14, 13, 0.95), rgba(28, 28, 25, 0.9)),
    radial-gradient(circle at top right, rgba(196, 153, 89, 0.18), transparent 34%);
  color: #f5efe5;
}

.dossier-row {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.dossier-row span,
.dossier-note {
  color: rgba(239, 229, 215, 0.72);
}

.dossier-row strong {
  max-width: 16ch;
  text-align: right;
  font-size: 0.98rem;
  font-weight: 500;
}

.dossier-note {
  margin: 18px 0 0;
  line-height: 1.7;
}

.section,
.subpage-section {
  padding: 84px 0;
}

.section-grid {
  align-items: start;
}

.section-label,
.panel-label,
.eyebrow,
.process-kicker,
.card-index,
.resource-label {
  margin: 0 0 18px;
  font-size: 0.78rem;
}

.editorial-copy {
  display: grid;
  gap: 18px;
  padding-top: 10px;
}

.manifesto-list,
.policy-list {
  display: grid;
  gap: 12px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.manifesto-list li,
.policy-list li {
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
}

.card-grid,
.process-grid,
.audience-grid,
.resource-grid,
.subpage-grid {
  display: grid;
  gap: 18px;
  margin-top: 34px;
}

.card-grid-four,
.audience-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.process-grid-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.resource-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.subpage-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.card,
.process-step,
.audience-panel,
.resource-card,
.support-note,
.policy-block {
  min-height: 100%;
  padding: 28px;
  border-radius: 24px;
}

.card h3,
.audience-panel h3,
.resource-card h3,
.policy-block h2,
.support-note h2 {
  margin: 0 0 10px;
  font-size: 1.22rem;
  font-weight: 600;
  color: var(--text);
}

.process-step {
  position: relative;
  overflow: hidden;
}

.process-step::after {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(131, 93, 58, 0.24);
  border-radius: 50%;
  content: "";
}

.resource-card {
  text-decoration: none;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.resource-card:hover,
.resource-card:focus-visible {
  border-color: var(--line-strong);
  background: rgba(255, 252, 247, 0.92);
}

.cta-frame {
  align-items: center;
  padding: 36px;
  border-radius: 32px;
  background:
    linear-gradient(120deg, rgba(255, 253, 250, 0.82), rgba(242, 234, 220, 0.94)),
    radial-gradient(circle at bottom right, rgba(143, 95, 52, 0.18), transparent 32%);
}

.cta-note {
  margin: 2px 0 0;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.subpage-hero {
  align-items: start;
  padding: 10px 0 30px;
}

.subpage-copy h1 {
  max-width: 11ch;
}

.support-note,
.policy-block {
  background: rgba(255, 252, 247, 0.86);
}

.support-note {
  background:
    linear-gradient(180deg, rgba(18, 18, 18, 0.96), rgba(28, 28, 25, 0.92)),
    radial-gradient(circle at top right, rgba(196, 153, 89, 0.18), transparent 34%);
  color: #f5efe5;
}

.support-note h2,
.support-note p,
.support-note li,
.support-note a {
  color: #f5efe5;
}

.support-note .policy-list li {
  border-top-color: rgba(255, 255, 255, 0.12);
}

.back-link {
  display: inline-flex;
  margin-bottom: 22px;
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  color: var(--muted);
}

.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1120px) {
  .card-grid-four,
  .process-grid-four,
  .audience-grid-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .hero,
  .section-grid,
  .cta-frame,
  .subpage-hero,
  .resource-grid,
  .subpage-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 10px 0 48px;
  }

  .hero-copy h1,
  .subpage-copy h1 {
    max-width: 11ch;
  }

  .section,
  .subpage-section {
    padding: 66px 0;
  }

  .section-intro h2,
  .cta-frame h2 {
    max-width: none;
  }

  .footer {
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  .topbar {
    align-items: flex-start;
    border-radius: 28px;
  }

  .topbar,
  .topbar-links {
    flex-direction: column;
  }

  .gallery-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-piece,
  .gallery-piece-tall,
  .gallery-piece-wide,
  .piece-stair,
  .piece-night {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 180px;
  }

  .card-grid-four,
  .process-grid-four,
  .audience-grid-four {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-shell {
    width: min(100% - 24px, 1220px);
  }

  .topbar {
    top: 12px;
    margin: 12px 0 24px;
    padding: 12px 14px;
  }

  .brand-wordmark {
    display: none;
  }

  .hero-copy h1,
  .subpage-copy h1 {
    font-size: clamp(3rem, 15vw, 5.2rem);
  }

  .hero-text,
  .hero-subtext,
  .editorial-copy p,
  .editorial-copy li,
  .card p,
  .process-step p,
  .audience-panel p,
  .cta-copy,
  .cta-note,
  .footer p,
  .resource-card p,
  .subpage-copy p,
  .support-note p,
  .policy-block p,
  .policy-block li {
    font-size: 1rem;
  }

  .gallery-wall,
  .hero-dossier,
  .card,
  .process-step,
  .audience-panel,
  .resource-card,
  .cta-frame,
  .support-note,
  .policy-block {
    padding: 22px;
    border-radius: 22px;
  }

  .button {
    width: 100%;
  }
}

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

  .fade-up,
  .fade-up.is-visible,
  .button,
  .resource-card {
    transition: none;
    transform: none;
    opacity: 1;
  }
}
