@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/open-sans-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  font-display: swap;
  src: url("assets/fonts/open-sans-italic-latin.woff2") format("woff2");
}

@font-face {
  font-family: "Actor";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/actor-latin.woff2") format("woff2");
}

:root {
  --blue-deep: #282878;
  --purple: #6f259f;
  --civic-blue: #1c73aa;
  --red: #eb0029;
  --ink: #171727;
  --muted: #555568;
  --line: #ddddeb;
  --paper: #ffffff;
  --soft: #f5f7fb;
  --warm: #fff8ed;
  --green: #1f7a5c;
  --heading-muted: #515166;
  --body-strong: #27273a;
  --surface-page: var(--paper);
  --surface-subtle: var(--soft);
  --surface-warm: var(--warm);
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 4px 14px rgba(22, 22, 45, 0.08);
  --shadow-md: 0 14px 32px rgba(22, 22, 45, 0.1);
  --shadow-lg: 0 18px 45px rgba(22, 22, 45, 0.12);
  --shadow: var(--shadow-lg);
  --section-space: clamp(4rem, 9vw, 7.5rem);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scrollbar-color: var(--purple) #ececf5;
  scrollbar-width: auto;
}

html::-webkit-scrollbar {
  width: 13px;
}

html::-webkit-scrollbar-track {
  background: #ececf5;
}

html::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--purple), var(--civic-blue));
  border: 3px solid #ececf5;
  border-radius: 999px;
}

html::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--red), var(--purple));
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", Arial, sans-serif;
  line-height: 1.6;
}

body.photo-lightbox-open {
  overflow: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(40, 40, 120, 0.05) 1px, transparent 1px),
    linear-gradient(180deg, rgba(40, 40, 120, 0.04) 1px, transparent 1px),
    #ffffff;
  background-size: 72px 72px;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--blue-deep);
  color: #ffffff;
  padding: 0.65rem 0.9rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0.5rem auto 0;
  padding: 0.55rem 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(221, 221, 235, 0.9);
  border-radius: var(--radius-md);
  backdrop-filter: blur(16px);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  padding: 0.2rem;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(221, 221, 235, 0.95);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.brand img {
  display: block;
  width: clamp(132px, 14vw, 180px);
  border-radius: 9px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: clamp(0.35rem, 1.8vw, 1.25rem);
  align-items: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}

.nav-toggle-icon,
.nav-toggle-icon::before,
.nav-toggle-icon::after {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.nav-toggle-icon {
  position: relative;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle-icon::before {
  top: -6px;
}

.nav-toggle-icon::after {
  top: 6px;
}

.site-header.nav-open .nav-toggle-icon {
  background: transparent;
}

.site-header.nav-open .nav-toggle-icon::before {
  transform: translateY(6px) rotate(45deg);
}

.site-header.nav-open .nav-toggle-icon::after {
  transform: translateY(-6px) rotate(-45deg);
}

.site-nav a,
.site-footer a {
  position: relative;
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-nav a::after,
.site-footer a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.28rem;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current]::after,
.site-footer a:hover::after,
.site-footer a:focus-visible::after {
  transform: scaleX(1);
}

.header-cta {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 72px;
  min-height: 42px;
  padding: 0.6rem 0.95rem;
  border-radius: var(--radius-md);
  background: var(--blue-deep);
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: clamp(1.5rem, 5vw, 5.5rem);
  align-items: center;
  min-height: min(620px, calc(100vh - 128px));
  width: min(var(--max), calc(100% - 2rem));
  margin: 1.25rem auto 0;
  padding: clamp(2.25rem, 5vw, 4.5rem) clamp(1.25rem, 4vw, 4.5rem) clamp(1.85rem, 4vw, 3rem);
  overflow: hidden;
  background: var(--surface-warm);
  border: 1px solid rgba(221, 221, 235, 0.95);
  border-radius: var(--radius-md);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    repeating-linear-gradient(135deg, rgba(40, 40, 120, 0.06) 0 1px, transparent 1px 22px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.5));
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 12px;
  background: linear-gradient(90deg, var(--blue-deep), var(--purple), var(--civic-blue), var(--red));
}

.home-hero {
  background: var(--blue-deep);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 60px rgba(22, 22, 45, 0.2);
}

.home-hero::before {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(20, 20, 68, 0.97) 0%, rgba(20, 20, 68, 0.84) 43%, rgba(20, 20, 68, 0.48) 73%, rgba(20, 20, 68, 0.26) 100%),
    linear-gradient(180deg, rgba(20, 20, 68, 0.04), rgba(20, 20, 68, 0.3));
}

.hero-collage {
  position: absolute;
  inset: -1.25rem;
  z-index: -2;
  display: grid;
  grid-template-columns: 0.82fr 1fr 0.9fr 0.84fr;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: clamp(0.35rem, 0.8vw, 0.75rem);
  overflow: hidden;
  background: var(--blue-deep);
  transform: rotate(-0.7deg) scale(1.035);
  pointer-events: none;
}

.hero-collage img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  filter: saturate(0.9) contrast(1.04);
}

.hero-collage-lead {
  grid-column: 1;
  grid-row: 1 / 4;
  object-position: center 38%;
}

.hero-collage img:nth-child(2) {
  grid-column: 2 / 4;
  grid-row: 1;
  object-position: center 48%;
}

.hero-collage img:nth-child(3) {
  grid-column: 4;
  grid-row: 1 / 3;
  object-position: center 46%;
}

.hero-collage img:nth-child(4) {
  grid-column: 2;
  grid-row: 2 / 4;
  object-position: center 38%;
}

.hero-collage img:nth-child(5) {
  grid-column: 3;
  grid-row: 2 / 4;
  object-position: center 36%;
}

.hero-collage img:nth-child(6) {
  grid-column: 4;
  grid-row: 3;
  object-position: center 42%;
}

.home-hero .hero-mark {
  display: none;
}

.home-hero h1,
.home-hero .hero-copy {
  color: #ffffff;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
}

.home-hero .hero-tagline {
  margin: 0.45rem 0 0;
  color: #ffd4dc;
  text-shadow: 0 3px 20px rgba(0, 0, 0, 0.3);
}

.home-hero .eyebrow {
  color: #d9eefa;
}

.home-hero .hero-panel {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(8px);
}

.hero-mark {
  position: absolute;
  right: clamp(-2rem, 4vw, 3rem);
  top: clamp(4rem, 12vw, 7rem);
  z-index: -1;
  width: min(35vw, 360px);
  min-width: 190px;
  opacity: 0.12;
  filter: saturate(1.15);
}

.hero-inner {
  max-width: 760px;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--civic-blue);
  font-family: "Actor", "Open Sans", Arial, sans-serif;
  font-size: 0.82rem;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 0.6rem;
  color: var(--blue-deep);
  font-size: 4.9rem;
  line-height: 0.96;
  letter-spacing: 0;
}

.title-phrase {
  display: inline-block;
  white-space: nowrap;
}

h2 {
  color: var(--blue-deep);
  font-size: clamp(2rem, 4.4vw, 4rem);
  line-height: 1.03;
  letter-spacing: 0;
}

h3 {
  color: var(--blue-deep);
  font-size: clamp(1.12rem, 2vw, 1.45rem);
  line-height: 1.18;
}

.hero-tagline {
  color: var(--purple);
  font-family: "Actor", "Open Sans", Arial, sans-serif;
  font-size: clamp(1.35rem, 2.4vw, 2.1rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.1;
}

.hero-copy {
  max-width: 660px;
  margin: 1rem 0 0;
  color: #33334a;
  font-size: clamp(1.05rem, 1.4vw, 1.22rem);
}

.hero-actions,
.resource-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.82rem 1.08rem;
  border: 2px solid currentColor;
  border-radius: var(--radius-md);
  text-decoration: none;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible,
.header-cta:hover,
.header-cta:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(28, 115, 170, 0.18);
}

.button-primary {
  background: var(--red);
  border-color: var(--red);
  color: #ffffff;
}

.button-secondary {
  background: #ffffff;
  border-color: var(--blue-deep);
  color: var(--blue-deep);
}

.compact-actions {
  justify-items: center;
}

.compact-actions .button {
  min-height: 44px;
  padding: 0.7rem 1rem;
  font-size: 0.9rem;
}

.hero-panel {
  align-self: end;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.panel-label {
  margin-bottom: 0.75rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.schedule-list {
  display: grid;
  gap: 0.75rem;
  margin: 0;
}

.schedule-item {
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.schedule-item h2 {
  margin-bottom: 0;
  color: var(--blue-deep);
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.schedule-item p {
  margin: 0.12rem 0 0;
  color: var(--muted);
}

.action-strip {
  display: grid;
  grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  width: min(var(--max), calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: clamp(1.25rem, 3vw, 2rem);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 16px 34px rgba(22, 22, 45, 0.08);
}

.action-strip h2 {
  margin-bottom: 0.2rem;
  font-size: clamp(1.55rem, 3vw, 2.65rem);
}

.action-intro {
  display: grid;
  align-content: start;
  gap: 0.9rem;
}

.action-copy {
  margin-bottom: 0;
  color: var(--muted);
  font-weight: 650;
}

.action-grid,
.pathway-grid,
.lesson-grid,
.policy-grid,
.pillar-grid {
  display: grid;
  gap: 1rem;
}

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

.action-card {
  display: grid;
  align-content: start;
  min-height: 250px;
  padding: 1rem;
  background: var(--surface-subtle);
  border: 1px solid rgba(221, 221, 235, 0.95);
  border-radius: var(--radius-md);
}

.action-card h3 {
  margin-bottom: 0.55rem;
}

.action-card p {
  color: var(--muted);
}

.action-card a {
  align-self: end;
  width: fit-content;
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration-color: rgba(235, 0, 41, 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.action-label {
  display: block;
  width: fit-content;
  margin-bottom: 0.75rem;
  padding-bottom: 0.28rem;
  border-bottom: 2px solid rgba(235, 0, 41, 0.55);
  color: var(--civic-blue);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.movement-pulse {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  width: min(var(--max), calc(100% - 2rem));
  margin: 1rem auto 0;
  padding: clamp(1.35rem, 3.5vw, 2.4rem);
  background: var(--blue-deep);
  border-radius: var(--radius-md);
  color: #ffffff;
}

.movement-pulse .eyebrow,
.movement-pulse h2,
.movement-pulse h3 {
  color: #ffffff;
}

.pulse-copy p:last-child {
  max-width: 540px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

.movement-pulse h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.85rem, 3.7vw, 3.35rem);
}

.pulse-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.pulse-item {
  min-height: 245px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-md);
}

.pulse-item span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.85rem;
  color: #ffd4dc;
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pulse-item h3 {
  margin-bottom: 0.55rem;
  font-size: clamp(1.05rem, 1.7vw, 1.28rem);
}

.pulse-item p {
  color: rgba(255, 255, 255, 0.82);
}

.pulse-item a {
  color: #ffffff;
  font-weight: 800;
  text-decoration-color: rgba(255, 212, 220, 0.75);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.social-proof {
  padding-top: clamp(3.5rem, 7vw, 5.75rem);
}

.section-lead {
  max-width: 760px;
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
}

.social-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1rem, 4vw, 2rem);
  align-items: end;
  margin-bottom: clamp(1.1rem, 3vw, 1.8rem);
}

.social-intro p {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.16rem);
}

.social-intro a:not(.button) {
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration-color: rgba(235, 0, 41, 0.5);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.instagram-post {
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-height: 100%;
  overflow: hidden;
  background: var(--surface-page);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  color: var(--ink);
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.instagram-post:hover,
.instagram-post:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(40, 40, 120, 0.34);
  box-shadow: 0 22px 46px rgba(22, 22, 45, 0.13);
}

.instagram-post img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  background: var(--soft);
}

.instagram-post span {
  display: inline-flex;
  width: fit-content;
  margin: 1rem 1rem 0.55rem;
  color: var(--purple);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.instagram-post h3 {
  margin: 0;
  padding: 0 1rem 1.15rem;
  color: var(--blue-deep);
  font-size: clamp(1.05rem, 1.55vw, 1.28rem);
  line-height: 1.18;
}

.social-intro .button {
  white-space: nowrap;
}

.explain-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(1.5rem, 3.5vw, 3rem);
  align-items: start;
}

.explain-layout .narrative {
  margin-left: 0;
}

.diagram-panel {
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.45rem);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.diagram-panel h3 {
  margin-bottom: 1rem;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.16;
}

.diagram-kicker {
  margin-bottom: 0.55rem;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.flow-comparison {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.flow-column {
  min-width: 0;
  padding: 0.95rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-top: 6px solid var(--red);
  border-radius: var(--radius-md);
}

.flow-rooted {
  background: #f5fbf7;
  border-top-color: var(--green);
}

.flow-column .diagram-kicker {
  margin-bottom: 0.35rem;
  font-size: 0.68rem;
}

.flow-column h4 {
  margin: 0 0 0.8rem;
  color: var(--blue-deep);
  font-size: 1rem;
  line-height: 1.2;
}

.flow-list {
  display: grid;
  gap: 0.65rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.flow-list li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.65rem;
  align-items: start;
  padding: 0.72rem;
  background: #ffffff;
  border: 1px solid rgba(221, 221, 235, 0.82);
  border-radius: var(--radius-md);
}

.flow-list span {
  display: inline-grid;
  place-items: center;
  width: 1.75rem;
  height: 1.75rem;
  background: var(--blue-deep);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
}

.flow-list strong,
.flow-list em {
  display: block;
}

.flow-list strong {
  color: var(--blue-deep);
  line-height: 1.25;
}

.flow-list em {
  margin-top: 0.14rem;
  color: var(--muted);
  font-size: 0.86rem;
  font-style: normal;
  line-height: 1.35;
}

.section,
.framework,
.final-cta {
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto;
}

section[id] {
  scroll-margin-top: 128px;
}

.section {
  padding: var(--section-space) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(1.25rem, 5vw, 4.5rem);
  align-items: start;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.section-heading .eyebrow {
  color: var(--purple);
  margin: 0;
  padding-left: 0.85rem;
  border-left: 5px solid var(--red);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-style: normal;
  font-weight: 800;
  line-height: 1.08;
  text-transform: none;
}

.section-heading h2 {
  max-width: 860px;
  margin-bottom: 0;
  color: var(--heading-muted);
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
}

.section-heading.narrow {
  display: block;
  max-width: 900px;
}

.narrative {
  max-width: 900px;
  margin-left: auto;
  color: var(--body-strong);
  font-size: clamp(1.02rem, 1.4vw, 1.15rem);
}

.narrative p {
  margin-bottom: 1.05rem;
}

.narrative p:last-child {
  margin-bottom: 0;
}

.narrative strong {
  color: var(--blue-deep);
}

.narrative a {
  color: var(--blue-deep);
  font-weight: 800;
  text-decoration-color: rgba(235, 0, 41, 0.55);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.narrative a.button {
  text-decoration: none;
}

.narrative a.button-primary {
  color: #ffffff;
}

.narrative a.button-secondary {
  color: var(--blue-deep);
}

.framework {
  padding: clamp(3rem, 6vw, 5rem) clamp(1.25rem, 4vw, 3rem);
  background: var(--blue-deep);
  border-radius: var(--radius-md);
  color: #ffffff;
}

.framework-intro {
  display: grid;
  grid-template-columns: minmax(220px, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(1rem, 4vw, 3rem);
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.framework .eyebrow,
.framework h2,
.framework h3 {
  color: #ffffff;
}

.framework-intro .eyebrow {
  margin: 0;
  padding-left: 0.85rem;
  border-left: 5px solid #ff7680;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-style: normal;
  font-weight: 800;
  line-height: 1.08;
  text-transform: none;
}

.framework-intro h2 {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1.45rem, 2.25vw, 2rem);
  font-weight: 700;
  line-height: 1.08;
}

.framework-grid,
.gatherings-grid,
.ecosystem-grid {
  display: grid;
  gap: 1rem;
}

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

.feature-card,
.meeting-card,
.resource-card {
  border-radius: var(--radius-md);
}

.feature-card {
  min-height: 250px;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
}

.feature-number {
  display: inline-flex;
  margin-bottom: 2.2rem;
  color: #ffd4dc;
  font-weight: 800;
}

.feature-card p {
  color: rgba(255, 255, 255, 0.84);
}

.movement-page-hero {
  margin-bottom: 1rem;
}

.movement-page-hero h1 {
  font-size: clamp(3.2rem, 7vw, 6.4rem);
}

.movement-page-hero .title-phrase {
  display: block;
  white-space: normal;
}

.movement-page-panel {
  align-self: end;
}

.movement-hub {
  margin-top: 1rem;
}

.movement-hub-lead {
  max-width: 780px;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 1.4vw, 1.16rem);
}

.strategy-action-grid {
  align-items: stretch;
}

.strategy-action-card {
  display: grid;
  align-content: start;
  min-height: 465px;
}

.strategy-action-card .feature-number {
  margin-bottom: 1.35rem;
}

.strategy-action-card > p {
  margin-bottom: 0;
}

.movement-example {
  margin-top: 1.2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.movement-example span {
  display: inline-flex;
  margin-bottom: 0.45rem;
  color: #ffd4dc;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.movement-example p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.94rem;
}

.strategy-action-card > a {
  align-self: end;
  width: fit-content;
  margin-top: 1.25rem;
  color: #ffffff;
  font-weight: 800;
  text-decoration-color: rgba(255, 212, 220, 0.75);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.strategy-card-links {
  display: grid;
  align-self: end;
  gap: 0.55rem;
  margin-top: 1.25rem;
}

.strategy-card-links a {
  width: fit-content;
  color: #ffffff;
  font-weight: 800;
  text-decoration-color: rgba(255, 212, 220, 0.75);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.16em;
}

.ecosystem-embedded {
  margin-top: clamp(1.5rem, 4vw, 3rem);
  padding: clamp(1.35rem, 4vw, 3rem);
  background: #ffffff;
  border-radius: var(--radius-md);
  color: var(--ink);
}

.ecosystem-embedded .section-heading {
  margin-bottom: clamp(1.35rem, 3vw, 2.2rem);
}

.movement-hub .ecosystem-embedded .eyebrow {
  color: var(--purple);
}

.movement-hub .ecosystem-embedded h2,
.movement-hub .ecosystem-embedded h3 {
  color: var(--blue-deep);
}

.movement-hub .ecosystem-embedded .section-heading h2 {
  color: var(--heading-muted);
}

.movement-hub .ecosystem-embedded .narrative {
  color: var(--body-strong);
}

.movement-hub .ecosystem-embedded .resource-card p {
  color: var(--muted);
}

#ecosystem {
  scroll-margin-top: 128px;
}

.coalition-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(260px, 0.85fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.coalition-layout .narrative {
  margin-left: 0;
}

.quote-block {
  padding: clamp(1.35rem, 3vw, 2.2rem);
  background: var(--soft);
  border-left: 8px solid var(--red);
  border-radius: var(--radius-md);
}

.quote-block p {
  margin: 0;
  color: var(--blue-deep);
  font-size: clamp(1.25rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.18;
}

.photo-story {
  margin-top: clamp(2rem, 5vw, 3.5rem);
}

.community-photo {
  position: relative;
  min-width: 0;
  min-height: 0;
  margin: 0;
  overflow: hidden;
  background: var(--soft);
  border: 1px solid rgba(221, 221, 235, 0.95);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 38px rgba(22, 22, 45, 0.1);
  isolation: isolate;
}

.community-photo::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 48%;
  background: linear-gradient(180deg, transparent, rgba(18, 18, 39, 0.82));
  pointer-events: none;
}

.community-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms ease;
}

.community-photo:hover img {
  transform: scale(1.025);
}

.community-photo figcaption {
  position: absolute;
  right: 1rem;
  bottom: 0.85rem;
  left: 1rem;
  z-index: 2;
  color: #ffffff;
  font-size: clamp(0.86rem, 1.3vw, 1rem);
  font-weight: 800;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.photo-story-picker {
  display: grid;
  grid-auto-flow: column dense;
  grid-template-rows: repeat(2, clamp(195px, 18vw, 250px));
  grid-auto-columns: clamp(66px, 6vw, 90px);
  gap: 0;
  padding: 0;
  overflow-x: auto;
  overflow-y: hidden;
  background: var(--blue-deep);
  border: 0;
  border-radius: 10px;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
  scroll-snap-type: none;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
}

.photo-story-picker.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.photo-story-picker::-webkit-scrollbar {
  display: none;
}

.photo-story-option {
  position: relative;
  grid-column: span var(--photo-span, 3);
  grid-row: span 1;
  min-width: 0;
  min-height: 0;
  padding: 0;
  overflow: hidden;
  background: var(--blue-deep);
  border: 0;
  border-radius: 0;
  color: var(--blue-deep);
  cursor: pointer;
  font: inherit;
  text-align: left;
  box-shadow: none;
  transition: filter 180ms ease;
}

.photo-story-option img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  filter: saturate(0.9) contrast(1.03);
  transition: filter 180ms ease, transform 350ms ease;
}

.photo-story-option:hover,
.photo-story-option:focus-visible {
  z-index: 1;
  outline: 4px solid #ffffff;
  outline-offset: -4px;
}

.photo-story-option:hover img,
.photo-story-option:focus-visible img {
  filter: saturate(1.08) contrast(1.05);
  transform: scale(1.025);
}

.photo-story-option[aria-pressed="true"] {
  filter: brightness(1.04);
}

.photo-story-option[aria-pressed="true"] img {
  filter: saturate(1);
}

.photo-lightbox[hidden] {
  display: none;
}

.photo-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: clamp(0.75rem, 3vw, 2.5rem);
}

.photo-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 25, 0.94);
  backdrop-filter: blur(8px);
}

.photo-lightbox-dialog {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
}

.photo-lightbox-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  margin: 0;
}

.photo-lightbox-frame img {
  display: block;
  max-width: min(100%, 1500px);
  max-height: calc(100vh - 5rem);
  object-fit: contain;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
}

.photo-lightbox-close,
.photo-lightbox-control {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 0;
  border-radius: 999px;
  color: var(--blue-deep);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
  transition: background 180ms ease, transform 180ms ease;
}

.photo-lightbox-close:hover,
.photo-lightbox-close:focus-visible,
.photo-lightbox-control:hover,
.photo-lightbox-control:focus-visible {
  background: #ffffff;
  transform: scale(1.06);
}

.photo-lightbox-close {
  top: 0;
  right: 0;
  width: 48px;
  height: 48px;
  font-size: 1.15rem;
}

.photo-lightbox-control {
  top: 50%;
  width: 56px;
  height: 56px;
  font-size: 1.35rem;
  transform: translateY(-50%);
}

.photo-lightbox-control:hover,
.photo-lightbox-control:focus-visible {
  transform: translateY(-50%) scale(1.06);
}

.photo-lightbox-previous {
  left: 0;
}

.photo-lightbox-next {
  right: 0;
}

.photo-lightbox-counter {
  position: absolute;
  bottom: 0;
  left: 50%;
  margin: 0;
  padding: 0.35rem 0.7rem;
  background: rgba(10, 10, 25, 0.72);
  border-radius: 999px;
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 800;
  transform: translateX(-50%);
}

.strategy-photo-story {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(260px, 0.7fr);
  gap: 0.85rem;
  min-height: 310px;
  margin: clamp(1rem, 3vw, 1.75rem) 0 clamp(2rem, 5vw, 3.5rem);
}

.strategy-photo-story .community-photo:last-child img {
  object-position: center 38%;
}

.gatherings {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.get-involved {
  padding-top: clamp(5rem, 11vw, 9rem);
  border-top: 1px solid var(--line);
}

.get-involved .section-heading {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.get-involved-grid {
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.get-involved-grid .action-card {
  min-height: 235px;
}

.get-involved-close {
  width: 100%;
  margin: 0;
}

.movement-page-cta {
  margin-top: 1rem;
}

.gatherings-grid {
  grid-template-columns: repeat(2, 1fr);
  margin-bottom: 2rem;
}

.pathway-grid {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 2rem;
}

.meeting-card {
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 16px 34px rgba(22, 22, 45, 0.08);
}

.pathway-card,
.lesson-card,
.policy-card,
.pillar-card {
  padding: 1.1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(22, 22, 45, 0.06);
}

.pathway-card {
  border-top: 6px solid var(--civic-blue);
}

.pathway-card p,
.lesson-card p,
.policy-card p {
  color: var(--muted);
}

.meeting-meta {
  display: inline-flex;
  margin-bottom: 1.35rem;
  padding: 0.22rem 0.55rem;
  border-radius: 999px;
  background: rgba(28, 115, 170, 0.12);
  color: var(--civic-blue);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.centered-copy {
  max-width: 940px;
  margin-right: auto;
}

.learning {
  background:
    linear-gradient(180deg, rgba(245, 247, 251, 0.88), rgba(255, 255, 255, 0));
}

.lesson-grid {
  grid-template-columns: repeat(4, 1fr);
}

.lesson-card {
  min-height: 260px;
  border-top: 6px solid var(--green);
}

.lesson-label {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 0.85rem;
  color: var(--purple);
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
}

.tool-prompt {
  margin-top: 1rem;
  margin-bottom: 0;
  padding-top: 0.9rem;
  border-top: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.92rem;
}

.policy {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.policy-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 1.2rem;
}

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

.homepage-teaser-pair {
  width: min(var(--max), calc(100% - 2rem));
  margin-top: clamp(3rem, 7vw, 5.5rem);
  margin-right: auto;
  margin-left: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.homepage-strategy,
.homepage-policy {
  margin: 0;
  padding: clamp(2rem, 4vw, 3rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 94% 10%, rgba(28, 115, 170, 0.13), transparent 34%),
    linear-gradient(135deg, var(--surface-subtle), var(--surface-page));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.homepage-strategy {
  background:
    radial-gradient(circle at 94% 10%, rgba(28, 115, 170, 0.34), transparent 35%),
    linear-gradient(135deg, var(--blue-deep), #38236f);
  border-color: rgba(40, 40, 120, 0.35);
  box-shadow: var(--shadow-md);
  color: #ffffff;
}

.homepage-strategy-inner,
.homepage-policy-inner {
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 1.5rem;
  height: 100%;
  align-items: start;
}

.homepage-strategy .eyebrow,
.homepage-policy .eyebrow {
  margin: 0;
  padding-left: 0.85rem;
  border-left: 5px solid var(--red);
  color: var(--purple);
  font-family: "Open Sans", Arial, sans-serif;
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  font-style: normal;
  font-weight: 800;
  line-height: 1.08;
  text-transform: none;
}

.homepage-strategy .eyebrow {
  border-left-color: #ff7680;
  color: #ffffff;
}

.homepage-strategy-copy h2,
.homepage-policy-copy h2 {
  margin-bottom: 0.7rem;
  color: var(--heading-muted);
  font-size: clamp(1.5rem, 2.4vw, 2.15rem);
  font-weight: 750;
  line-height: 1.08;
}

.homepage-strategy-copy h2 {
  color: #ffffff;
}

.homepage-strategy-copy p,
.homepage-policy-copy p {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
}

.homepage-strategy-copy p {
  color: rgba(255, 255, 255, 0.82);
}

.homepage-strategy-topics,
.homepage-policy-priorities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.homepage-strategy-topics li,
.homepage-policy-priorities li {
  padding: 0.38rem 0.68rem;
  border: 1px solid rgba(111, 37, 159, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}

.homepage-strategy-topics li {
  border-color: rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
}

.homepage-strategy .button,
.homepage-policy .button {
  justify-self: start;
  align-self: end;
  white-space: nowrap;
}

.policy-content {
  min-width: 0;
}

.policy-summary {
  max-width: 820px;
  margin: 0 0 1.25rem auto;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.14rem);
}

.policy-summary p {
  margin-bottom: 0;
}

.policy-card {
  min-height: 220px;
  border-top: 6px solid var(--red);
}

.policy-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.ecosystem-intro {
  max-width: 960px;
  margin: 0 0 2rem auto;
}

.ecosystem-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.58fr);
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: start;
  margin-bottom: 2rem;
}

.ecosystem-intro-layout .ecosystem-intro {
  margin: 0;
}

.map-principle {
  background: var(--warm);
  border-color: rgba(235, 0, 41, 0.22);
  box-shadow: none;
}

.map-principle h3 {
  margin-bottom: 0.85rem;
}

.map-principle ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-left: 1.15rem;
  color: var(--muted);
  font-weight: 650;
}

.subsection-label {
  margin: 0 0 0.8rem;
  color: var(--purple);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.pillar-grid {
  grid-template-columns: repeat(6, 1fr);
  margin-bottom: 1rem;
}

.pillar-card {
  min-height: 140px;
  background: var(--warm);
  box-shadow: none;
}

.pillar-card span {
  display: inline-flex;
  margin-bottom: 1rem;
  color: var(--red);
  font-weight: 800;
}

.pillar-card h3 {
  font-size: 1rem;
}

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

.resource-card {
  display: flex;
  flex-direction: column;
  min-height: 265px;
  padding: 1.25rem;
  background: #ffffff;
  border: 1px solid var(--line);
  box-shadow: 0 14px 30px rgba(22, 22, 45, 0.07);
}

.resource-card span {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.resource-card p {
  margin-bottom: 1.2rem;
  color: var(--muted);
}

.resource-card-button {
  align-self: flex-start;
  min-height: 42px;
  margin-top: auto;
  padding: 0.65rem 0.9rem;
  font-size: 0.86rem;
}

.resource-actions {
  justify-content: center;
}

.public-finance-resources {
  scroll-margin-top: 128px;
  background: #ffffff;
}

.public-finance-intro {
  max-width: 760px;
  margin: 0 0 clamp(1.5rem, 4vw, 2.4rem) auto;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
}

.public-finance-intro p {
  margin-bottom: 0;
}

.finance-resource-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(1.25rem, 4vw, 3rem);
  align-items: end;
  margin-bottom: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 0%, rgba(235, 0, 41, 0.28), transparent 38%),
    var(--blue-deep);
  border-radius: var(--radius-md);
  color: #ffffff;
  box-shadow: var(--shadow);
}

.finance-resource-lead h3 {
  max-width: 830px;
  margin-bottom: 0.8rem;
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 4rem);
}

.finance-resource-lead > div > p:not(.resource-kicker, .resource-meta) {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.82);
}

.finance-resource-lead .button {
  white-space: nowrap;
}

.finance-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.finance-resource-card {
  display: grid;
  align-content: start;
  min-height: 360px;
  padding: clamp(1.35rem, 3vw, 2rem);
  background: #ffffff;
  border: 1px solid var(--line);
  border-top: 6px solid var(--civic-blue);
  border-radius: var(--radius-md);
  box-shadow: 0 14px 30px rgba(22, 22, 45, 0.07);
}

.finance-resource-card h3 {
  margin-bottom: 0.85rem;
  color: var(--blue-deep);
  font-size: clamp(1.5rem, 2.7vw, 2.35rem);
}

.finance-resource-card > p:not(.resource-kicker, .resource-meta) {
  color: var(--muted);
}

.resource-kicker {
  margin-bottom: 0.7rem;
  color: var(--purple);
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.finance-resource-lead .resource-kicker {
  color: #ffd4dc;
}

.resource-meta {
  margin: auto 0 0;
  padding-top: 1rem;
  color: var(--purple);
  font-size: 0.86rem;
  font-weight: 800;
}

.finance-resource-lead .resource-meta {
  color: rgba(255, 255, 255, 0.7);
}

.finance-resource-card > a {
  width: fit-content;
  margin-top: 1.25rem;
  color: var(--civic-blue);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}

.final-cta {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(1rem, 4vw, 2rem);
  align-items: center;
  margin-bottom: 1rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.final-cta img {
  width: clamp(140px, 18vw, 220px);
}

.final-cta h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3.2vw, 3rem);
}

.final-cta .button {
  white-space: nowrap;
}

.final-cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.65rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(var(--max), calc(100% - 2rem));
  margin: 0 auto 2rem;
  padding: 1.25rem 0;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
  font-weight: 800;
}

.site-footer div {
  display: flex;
  gap: 1rem;
}

@media (max-width: 1180px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    min-height: auto;
  }

  .hero-inner,
  .hero-panel {
    min-width: 0;
  }

  h1 {
    max-width: 920px;
    font-size: 4.75rem;
  }

  .hero-panel {
    max-width: 560px;
  }

}

@media (max-width: 1100px) and (min-width: 901px) {
  .policy-page-section .policy-grid {
    grid-template-columns: 1fr;
  }

  .policy-page-section .policy-card {
    min-height: auto;
  }
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }

  h1 {
    font-size: 4rem;
  }

  .action-strip,
  .action-grid,
  .movement-pulse,
  .pulse-list,
  .social-intro,
  .explain-layout,
  .flow-comparison,
  .framework-grid,
  .gatherings-grid,
  .pathway-grid,
  .lesson-grid,
  .policy-grid,
  .homepage-policy-grid,
  .finance-resource-grid,
  .finance-resource-lead,
  .pillar-grid,
  .ecosystem-grid,
  .ecosystem-intro-layout,
  .coalition-layout,
  .strategy-photo-story,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-cta-actions {
    justify-content: flex-start;
  }

  .strategy-photo-story {
    min-height: 0;
  }

  .strategy-photo-story .community-photo {
    min-height: 300px;
  }

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

  .section-heading,
  .framework-intro {
    grid-template-columns: 1fr;
  }

  .homepage-strategy-inner,
  .homepage-policy-inner {
    grid-template-columns: 1fr;
  }

  .homepage-strategy .button,
  .homepage-policy .button {
    justify-self: start;
  }

  .homepage-teaser-pair {
    grid-template-columns: 1fr;
  }

  .final-cta {
    justify-items: start;
  }
}

@media (max-width: 640px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    column-gap: 0.5rem;
    width: calc(100% - 1rem);
    margin-top: 0.5rem;
    padding: 0.65rem;
  }

  .brand img {
    width: 138px;
    transition: width 180ms ease;
  }

  .site-nav {
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.35rem;
    width: 100%;
    overflow: visible;
  }

  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0.5rem 0.65rem;
    background: rgba(245, 247, 251, 0.9);
    border: 1px solid rgba(221, 221, 235, 0.9);
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
  }

  .site-nav a::after {
    right: 0.65rem;
    bottom: 0.3rem;
    left: 0.65rem;
  }

  .site-header.is-menu-ready .nav-toggle {
    display: inline-flex;
    grid-column: 2;
    grid-row: 1;
  }

  .site-header.is-menu-ready .site-nav {
    display: none;
  }

  .site-header.is-menu-ready.nav-open .site-nav {
    display: grid;
  }

  .site-header.is-scrolled:not(.nav-open) .brand img {
    width: 112px;
  }

  .header-cta {
    grid-column: 3;
    grid-row: 1;
    min-width: 62px;
    min-height: 44px;
  }

  section[id],
  #ecosystem,
  #community-photos {
    scroll-margin-top: 96px;
  }

  .hero,
  .action-strip,
  .movement-pulse,
  .section,
  .homepage-teaser-pair,
  .framework,
  .final-cta,
  .site-footer {
    width: calc(100% - 1rem);
  }

  .hero {
    padding: 2.35rem 1rem 2rem;
  }

  .home-hero::before {
    z-index: 1;
    background:
      radial-gradient(circle at 96% 5%, rgba(59, 144, 205, 0.3) 0 4.5rem, transparent 4.6rem),
      radial-gradient(circle at 108% 20%, rgba(139, 55, 173, 0.22) 0 6rem, transparent 6.1rem),
      linear-gradient(135deg, transparent 0 47%, rgba(255, 255, 255, 0.045) 47% 49%, transparent 49% 100%),
      linear-gradient(180deg, rgba(20, 20, 68, 0.04), rgba(20, 20, 68, 0.42));
    background-size: auto, auto, 28px 28px, auto;
  }

  .hero-collage {
    display: none;
  }

  .home-hero .hero-mark {
    display: block;
    top: -0.75rem;
    right: -3.75rem;
    z-index: 0;
    width: 15.5rem;
    min-width: 0;
    opacity: 0.18;
    filter: saturate(0.92);
    transform: rotate(-4deg);
  }

  .home-hero .hero-inner,
  .home-hero .hero-panel {
    position: relative;
    z-index: 2;
  }

  .home-hero::after {
    z-index: 3;
  }

  h1 {
    font-size: 3.05rem;
    line-height: 1;
  }

  .movement-page-hero h1 {
    font-size: 2.6rem;
  }

  .hero-actions,
  .resource-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .section {
    padding: 3.25rem 0;
  }

  .homepage-strategy,
  .homepage-policy {
    padding: 2.5rem 1rem;
  }

  .framework {
    padding: 2rem 1rem;
  }

  .ecosystem-embedded {
    padding: 1.25rem 1rem;
  }

  .photo-story-picker {
    margin-right: -0.5rem;
    margin-left: -0.5rem;
    grid-template-rows: repeat(2, 160px);
    grid-auto-columns: 58px;
    gap: 0;
    padding: 0;
    border-radius: 0;
  }

  .photo-lightbox {
    padding: 0.5rem;
  }

  .photo-lightbox-frame img {
    max-height: calc(100vh - 4rem);
  }

  .photo-lightbox-close {
    top: 0.35rem;
    right: 0.35rem;
  }

  .photo-lightbox-control {
    top: auto;
    bottom: 0.35rem;
    width: 50px;
    height: 50px;
    transform: none;
  }

  .photo-lightbox-control:hover,
  .photo-lightbox-control:focus-visible {
    transform: scale(1.06);
  }

  .photo-lightbox-previous {
    left: 0.35rem;
  }

  .photo-lightbox-next {
    right: 0.35rem;
  }

  .photo-lightbox-counter {
    bottom: 0.8rem;
  }

  .feature-card,
  .meeting-card,
  .action-card,
  .pulse-item,
  .instagram-post,
  .pathway-card,
  .lesson-card,
  .policy-card,
  .pillar-card,
  .resource-card,
  .finance-resource-card {
    min-height: auto;
  }

  .flow-list li {
    grid-template-columns: 1fr;
  }

  .site-footer,
  .site-footer div {
    flex-direction: column;
  }

  .site-footer div {
    gap: 0.2rem;
  }

  .site-footer a,
  .action-card a,
  .strategy-action-card > a,
  .strategy-card-links a,
  .finance-resource-card > a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
  }

  .resource-card-button {
    min-height: 44px;
  }

  .instagram-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  h1 {
    font-size: 2.08rem;
  }

  .movement-page-hero h1 {
    font-size: 2.35rem;
  }

  .photo-story-picker {
    grid-template-rows: repeat(2, 150px);
    grid-auto-columns: 54px;
  }
}

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

  .community-photo img,
  .photo-story-main img,
  .photo-story-control,
  .photo-story-option,
  .photo-story-option img {
    transition: none;
  }
}

@media (max-width: 360px) {
  h1 {
    font-size: 1.9rem;
  }

  .movement-page-hero h1 {
    font-size: 2.1rem;
  }
}
