:root {
  --ink: #07111f;
  --ink-2: #122033;
  --ink-3: #1c2c3c;
  --paper: #ffffff;
  --mist: #f3f7f7;
  --line: rgba(7, 17, 31, 0.14);
  --muted: #5b6775;
  --gold: #d9aa16;
  --gold-2: #f0c84b;
  --teal: #008f95;
  --teal-2: #00a9a5;
  --orange: #d15f2c;
  --red: #d91f26;
  --shadow: 0 22px 70px rgba(7, 17, 31, 0.2);
  --radius: 8px;
  --max: 1180px;
  --header: 142px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-size: 16px;
  line-height: 1.55;
}

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

a {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

button,
input,
select,
textarea {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 1000;
  padding: 10px 14px;
  color: var(--paper);
  background: var(--ink);
  border-radius: 4px;
  transform: translateY(-140%);
  transition: transform 0.2s ease;
}

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

body.modal-open {
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.coalition-bar {
  color: var(--paper);
  background:
    linear-gradient(90deg, rgba(7, 17, 31, 0.96), rgba(18, 32, 51, 0.9)),
    url("Dogs%20in%20cages%20horiz.jpg") center 44% / cover;
}

.coalition-inner,
.nav-inner,
.section-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.coalition-inner {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.std-logo,
.maat-logo {
  text-decoration: none;
  font-weight: 950;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: 0;
}

.std-logo {
  display: inline-grid;
  color: var(--paper);
  font-size: 1.02rem;
}

.std-logo span {
  display: block;
}

.std-logo strong {
  color: var(--red);
}

.coalition-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.88rem;
  font-weight: 750;
}

.coalition-links a {
  text-decoration: none;
}

.coalition-links a:hover {
  color: var(--paper);
}

.donate-button {
  padding: 10px 16px;
  color: var(--ink);
  background: var(--paper);
  border-radius: 8px;
  font-weight: 900;
  text-decoration: none;
}

.nav-inner {
  min-height: 84px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 26px;
}

.maat-logo {
  display: inline-flex;
  width: 86px;
  height: 72px;
  align-items: center;
}

.maat-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.primary-nav {
  display: flex;
  justify-content: center;
  gap: clamp(8px, 1.15vw, 18px);
  align-items: center;
  font-size: 0.84rem;
  font-weight: 900;
  text-transform: uppercase;
}

.primary-nav a {
  position: relative;
  padding: 12px 0;
  text-decoration: none;
  white-space: nowrap;
}

.primary-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.primary-nav a:hover::after,
.primary-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  color: var(--ink);
  font-size: 1.45rem;
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: calc(100vh - var(--header));
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
  display: grid;
  align-items: end;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-media video,
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.18), rgba(7, 17, 31, 0.45) 48%, rgba(7, 17, 31, 0.82)),
    linear-gradient(90deg, rgba(7, 17, 31, 0.3), transparent 28%, transparent 72%, rgba(7, 17, 31, 0.22));
}

.hero-content {
  position: relative;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(90px, 14vh, 150px) 0 44px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--gold-2);
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.8rem;
}

.hero h1,
.page-hero h1 {
  margin: 0;
  font-size: clamp(3rem, 8vw, 6.6rem);
  line-height: 0.98;
  letter-spacing: 0;
  text-wrap: balance;
}

.route-line {
  margin: 24px 0 0;
  font-size: clamp(1.8rem, 4.2vw, 4rem);
  line-height: 1.1;
  font-weight: 500;
}

.hero-meta {
  margin: 22px 0 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  color: var(--paper);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-weight: 850;
}

.hero-copy {
  max-width: 900px;
  margin: 26px auto 0;
  font-size: clamp(1.14rem, 2vw, 1.55rem);
  line-height: 1.35;
  text-wrap: balance;
}

.hero-actions,
.button-row {
  margin-top: 28px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.button,
.button-light,
.button-ghost,
.button-dark {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  font-weight: 950;
  text-decoration: none;
  line-height: 1.1;
  cursor: pointer;
}

.button {
  color: var(--paper);
  background: var(--teal);
}

.button:hover {
  background: #007c82;
}

.button-light {
  color: var(--ink);
  background: var(--gold);
}

.button-light:hover {
  background: var(--gold-2);
}

.button-ghost {
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.08);
}

.button-dark {
  color: var(--paper);
  background: var(--ink);
}

.button:disabled,
.button[disabled] {
  color: rgba(7, 17, 31, 0.52);
  background: #d3d9de;
  cursor: not-allowed;
}

.button-small {
  justify-self: start;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 850;
  cursor: pointer;
}

.section {
  position: relative;
  padding: clamp(64px, 8vw, 104px) 0;
}

.section-tight {
  padding: clamp(44px, 6vw, 72px) 0;
}

.section-dark {
  color: var(--paper);
  background:
    radial-gradient(circle at 70% 30%, rgba(217, 170, 22, 0.22), transparent 34%),
    linear-gradient(120deg, var(--ink), #151023 44%, #07111f);
}

.section-muted {
  background: var(--mist);
}

.cta-section {
  padding: clamp(44px, 6vw, 74px) 0;
  color: var(--paper);
  background:
    radial-gradient(circle at 70% 30%, rgba(217, 170, 22, 0.22), transparent 34%),
    linear-gradient(120deg, var(--ink), #151023 44%, #07111f);
}

.cta-section + .section {
  padding-top: clamp(44px, 6vw, 76px);
}

.section-image {
  color: var(--ink);
  background:
    linear-gradient(rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.78)),
    url("Dogs%20in%20cages%20horiz%20w%20screen.jpg") center / cover;
}

.section-image.dark-copy {
  color: var(--paper);
  background:
    linear-gradient(rgba(7, 17, 31, 0.62), rgba(7, 17, 31, 0.78)),
    url("Dogs%20in%20cages%20horiz.jpg") center / cover;
}

.section-image:not(.dark-copy) .eyebrow {
  color: var(--ink);
  font-size: 0.94rem;
}

.section-header {
  max-width: 820px;
  margin-bottom: 34px;
}

.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-title {
  margin: 0;
  font-size: clamp(2.1rem, 4.8vw, 4.75rem);
  line-height: 1;
  letter-spacing: 0;
  text-wrap: balance;
}

.section-lede {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.45;
  text-wrap: balance;
}

.muted-copy {
  color: var(--muted);
}

.section-dark .section-lede,
.dark-copy .section-lede {
  color: rgba(255, 255, 255, 0.78);
}

.section-video-bg {
  position: relative;
  overflow: hidden;
  color: var(--paper);
  background: var(--ink);
}

.section-video-bg .section-inner {
  position: relative;
  z-index: 1;
}

.section-bg-video {
  position: absolute;
  inset: 0;
}

.section-bg-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.section-bg-video::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 17, 31, 0.62), rgba(7, 17, 31, 0.76)),
    linear-gradient(90deg, rgba(7, 17, 31, 0.28), rgba(7, 17, 31, 0.1));
}

.section-video-bg .section-lede {
  color: rgba(255, 255, 255, 0.84);
}

.cta-strip {
  color: var(--paper);
  background: #05080e;
  padding: 30px 0;
  text-align: center;
}

.cta-strip h2 {
  margin: 0;
  color: var(--gold);
  font-size: clamp(1.6rem, 3.8vw, 2.8rem);
  text-transform: uppercase;
  letter-spacing: 0;
}

.cta-strip p {
  margin: 8px 0 0;
  font-size: clamp(1.1rem, 2.4vw, 1.55rem);
  font-weight: 850;
}

.cta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  align-items: stretch;
}

.cta-card,
.card,
.stat-card,
.form-panel,
.resource-card,
.faq-item,
.timeline-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 12px 32px rgba(7, 17, 31, 0.08);
}

.cta-card {
  min-height: 220px;
  padding: 28px;
  display: grid;
  gap: 16px;
  align-content: start;
  text-align: center;
}

.cta-card .button {
  width: 100%;
  min-height: 64px;
  font-size: 1.25rem;
  text-transform: uppercase;
}

.cta-card p {
  margin: 0;
  max-width: 31rem;
  color: var(--ink);
  font-size: 1.08rem;
  line-height: 1.35;
  font-weight: 750;
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}

.content-stack > * + * {
  margin-top: 20px;
}

.content-stack p {
  margin-bottom: 0;
  font-size: 1.08rem;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  background: var(--ink);
}

.image-frame img {
  width: 100%;
  min-height: 380px;
  object-fit: cover;
}

.feature-media-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
  gap: clamp(24px, 5vw, 58px);
  align-items: center;
  margin-bottom: 32px;
}

.stats-grid,
.cards-grid,
.resources-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

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

.stat-card,
.card,
.resource-card,
.timeline-card {
  padding: 24px;
}

.stat-card strong {
  display: block;
  color: var(--teal);
  font-size: clamp(2rem, 4vw, 3.1rem);
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-weight: 800;
}

.section-video-bg .stat-card {
  border-color: rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.9);
}

.card h3,
.resource-card h3,
.timeline-card h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.2;
}

.card p,
.resource-card p,
.timeline-card p {
  margin: 0;
  color: var(--muted);
}

.coalition-section {
  overflow: hidden;
}

.coalition-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
}

.coalition-copy .section-title {
  max-width: 720px;
}

.coalition-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.coalition-stats div {
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.coalition-stats strong,
.coalition-stats span {
  display: block;
}

.coalition-stats strong {
  color: var(--gold);
  font-size: clamp(1.7rem, 3vw, 2.65rem);
  line-height: 1;
}

.coalition-stats span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.72);
  font-weight: 800;
  line-height: 1.25;
}

.coalition-board {
  display: grid;
  gap: 16px;
}

.coalition-card {
  padding: clamp(22px, 3.4vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.18);
}

.coalition-card p {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0;
}

.coalition-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coalition-tags span {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.08);
  font-weight: 850;
}

.partners-section {
  background:
    linear-gradient(180deg, var(--paper), var(--mist));
}

.partners-section .section-header {
  max-width: 900px;
}

.partners-section .eyebrow {
  color: var(--teal);
}

.partners-section .section-lede {
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}

.partner-logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(178px, 1fr));
  gap: 14px;
  align-items: stretch;
}

.partner-logo-tile {
  min-height: 142px;
  display: grid;
  place-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 14px 38px rgba(7, 17, 31, 0.08);
}

.partner-logo-tile img {
  width: 100%;
  max-height: 94px;
  object-fit: contain;
}

.endorsement-carousel {
  max-width: 980px;
  margin: clamp(30px, 5vw, 52px) auto 0;
}

.endorsement-slides {
  display: grid;
}

.endorsement-quote {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border-left: 6px solid var(--gold);
  background: rgba(7, 17, 31, 0.045);
}

.endorsement-carousel .endorsement-quote {
  max-width: none;
}

.endorsement-quote[hidden] {
  display: none;
}

.endorsement-quote blockquote {
  margin: 0;
}

.endorsement-quote p {
  margin: 0;
  color: var(--ink);
  font-size: clamp(1.08rem, 1.8vw, 1.45rem);
  line-height: 1.45;
  font-weight: 760;
}

.endorsement-quote figcaption {
  margin-top: 18px;
  color: var(--muted);
  font-weight: 850;
}

.endorsement-quote cite {
  font-style: italic;
}

.endorsement-controls {
  margin-top: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

.carousel-button {
  width: 42px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--paper);
  font-weight: 950;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(7, 17, 31, 0.08);
}

.carousel-button:hover {
  color: var(--paper);
  background: var(--ink);
}

.carousel-dots {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.carousel-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 1px solid rgba(7, 17, 31, 0.28);
  border-radius: 999px;
  background: transparent;
  cursor: pointer;
}

.carousel-dot.is-active {
  border-color: var(--teal);
  background: var(--teal);
}

.action-center {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 34px;
  align-items: start;
}

.action-list {
  display: grid;
  gap: 14px;
}

.action-link {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  align-items: center;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  color: var(--paper);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.07);
}

.action-link:hover {
  background: rgba(255, 255, 255, 0.12);
}

.action-icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--gold);
  font-weight: 950;
}

.action-link strong,
.action-link span {
  display: block;
}

.action-link span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.94rem;
}

.quote-band {
  padding: clamp(44px, 7vw, 74px) 0;
  text-align: center;
  color: var(--paper);
  background: var(--ink);
}

.quote-band blockquote {
  max-width: 880px;
  margin: 0 auto;
  font-size: clamp(1.55rem, 3.4vw, 3.1rem);
  line-height: 1.16;
  font-weight: 850;
  text-wrap: balance;
}

.quote-band blockquote p {
  margin: 0;
}

.quote-band cite {
  display: block;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 1rem;
  font-style: normal;
  font-weight: 800;
}

.page-hero {
  color: var(--paper);
  background:
    linear-gradient(110deg, rgba(7, 17, 31, 0.93), rgba(7, 17, 31, 0.72)),
    url("Dogs%20in%20cages%20horiz.jpg") center / cover;
  padding: clamp(72px, 10vw, 118px) 0;
}

.page-hero .section-lede {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.placeholder-panel {
  max-width: 900px;
  padding: clamp(26px, 5vw, 46px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.anchor-nav {
  position: sticky;
  top: var(--header);
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
}

.anchor-nav .section-inner {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding: 12px 0;
}

.anchor-nav a {
  flex: 0 0 auto;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: var(--mist);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 850;
}

.article-section {
  padding: 54px 0;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: calc(var(--header) + 58px);
}

.article-section h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.article-section p {
  max-width: 900px;
  margin: 0 0 18px;
  font-size: 1.08rem;
}

.goal-list,
.check-list,
.plain-list {
  padding: 0;
  margin: 20px 0 0;
  list-style: none;
}

.goal-list {
  display: grid;
  gap: 16px;
}

.goal-list li {
  padding: 18px;
  border-left: 5px solid var(--gold);
  background: var(--mist);
  border-radius: var(--radius);
}

.check-list {
  display: grid;
  gap: 10px;
}

.check-list li,
.plain-list li {
  position: relative;
  padding-left: 28px;
}

.check-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.7em;
  width: 10px;
  height: 10px;
  background: var(--teal);
}

.coming-soon {
  display: inline-flex;
  margin-bottom: 20px;
  padding: 7px 10px;
  color: var(--ink);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 950;
  text-transform: uppercase;
}

.route-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 28px;
  align-items: start;
}

.map-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: var(--radius);
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.9), rgba(0, 143, 149, 0.56)),
    url("Dogs%20in%20cages%20horiz%20w%20screen.jpg") center / cover;
  box-shadow: var(--shadow);
}

.map-card-live {
  height: clamp(360px, 38vw, 470px);
  min-height: 0;
  background: #dfe9e7;
}

.route-map {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  min-height: 0;
}

.map-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 32px;
  color: var(--paper);
  background:
    linear-gradient(135deg, rgba(7, 17, 31, 0.9), rgba(0, 143, 149, 0.64)),
    url("Dogs%20in%20cages%20horiz%20w%20screen.jpg") center / cover;
}

.map-fallback h2,
.map-fallback p {
  max-width: 420px;
  margin: 0;
}

.map-card-live.is-loaded .map-fallback {
  display: none;
}

.map-pin {
  display: block;
  width: 24px;
  height: 24px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 8px 18px rgba(7, 17, 31, 0.28);
}

.map-pin.end {
  background: var(--orange);
}

.map-pin.action {
  background: var(--red);
}

.route-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.route-stats div {
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.route-stats strong {
  display: block;
  color: var(--teal);
  font-size: 2rem;
  line-height: 1;
}

.route-stats span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 850;
  text-transform: uppercase;
}

.route-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: 0 12px 32px rgba(7, 17, 31, 0.08);
}

.route-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.route-table caption {
  padding: 14px 16px;
  color: var(--muted);
  text-align: left;
  font-weight: 850;
}

.route-table th,
.route-table td {
  padding: 12px 14px;
  border-top: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.route-table th {
  color: var(--paper);
  background: var(--ink);
  font-size: 0.82rem;
  text-transform: uppercase;
}

.route-table td:first-child,
.route-table td:nth-child(5),
.route-table td:nth-child(6) {
  font-weight: 850;
}

.route-table a {
  color: var(--teal);
  font-weight: 850;
}

/* Local fallback for Leaflet's structural CSS if the CDN stylesheet is unavailable. */
.leaflet-container {
  position: relative;
  overflow: hidden;
  font: inherit;
  outline-offset: 1px;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow,
.leaflet-tile-container,
.leaflet-pane > svg,
.leaflet-pane > canvas,
.leaflet-zoom-box,
.leaflet-image-layer,
.leaflet-layer {
  position: absolute;
  top: 0;
  left: 0;
}

.leaflet-tile,
.leaflet-marker-icon,
.leaflet-marker-shadow {
  user-select: none;
  -webkit-user-drag: none;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
  display: block;
}

.leaflet-tile-pane {
  z-index: 200;
}

.leaflet-overlay-pane {
  z-index: 400;
}

.leaflet-shadow-pane {
  z-index: 500;
}

.leaflet-marker-pane {
  z-index: 600;
}

.leaflet-tooltip-pane {
  z-index: 650;
}

.leaflet-popup-pane {
  z-index: 700;
}

.leaflet-control {
  position: relative;
  z-index: 800;
  pointer-events: auto;
}

.leaflet-top,
.leaflet-bottom {
  position: absolute;
  z-index: 1000;
  pointer-events: none;
}

.leaflet-top {
  top: 0;
}

.leaflet-right {
  right: 0;
}

.leaflet-bottom {
  bottom: 0;
}

.leaflet-left {
  left: 0;
}

.leaflet-left .leaflet-control {
  float: left;
  clear: both;
}

.leaflet-right .leaflet-control {
  float: right;
  clear: both;
}

.leaflet-top .leaflet-control {
  margin-top: 10px;
}

.leaflet-bottom .leaflet-control {
  margin-bottom: 10px;
}

.leaflet-left .leaflet-control {
  margin-left: 10px;
}

.leaflet-right .leaflet-control {
  margin-right: 10px;
}

.leaflet-control-attribution {
  padding: 0 6px;
  color: #334155;
  background: rgba(255, 255, 255, 0.84);
  font-size: 0.68rem;
}

.leaflet-control-attribution a {
  color: var(--teal);
}

.leaflet-popup-content-wrapper {
  border-radius: 8px;
}

.route-line-art {
  position: absolute;
  inset: 20%;
  border-top: 6px solid var(--gold);
  transform: rotate(-12deg);
}

.route-dot {
  position: absolute;
  width: 24px;
  height: 24px;
  border: 5px solid var(--paper);
  border-radius: 50%;
  background: var(--teal);
}

.route-dot.start {
  left: 16%;
  top: 58%;
}

.route-dot.end {
  right: 18%;
  top: 34%;
  background: var(--orange);
}

.map-label {
  position: absolute;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(7, 17, 31, 0.72);
  font-weight: 900;
}

.map-label.start {
  left: 8%;
  bottom: 18%;
}

.map-label.end {
  right: 6%;
  top: 18%;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-panel {
  padding: clamp(22px, 4vw, 34px);
}

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label,
.checkbox-group legend {
  font-weight: 850;
  font-size: 0.94rem;
}

.form-panel .field > label::after,
.form-panel .repeat-list > label::after,
.form-panel .checkbox-group > legend::after {
  content: "Optional";
  display: inline-flex;
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-panel .field > label:has(+ input[required])::after,
.form-panel .field > label:has(+ select[required])::after,
.form-panel .field > label:has(+ textarea[required])::after,
.form-panel .checkbox-group:has(input[required]) > legend::after {
  content: "Required";
  color: var(--teal);
}

.field input,
.field select,
.field textarea,
.repeat-row input,
.option-details input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 12px 13px;
  background: var(--paper);
}

.field input[data-phone-input]:invalid:not(:placeholder-shown) {
  border-color: #b64c42;
}

.state-input {
  text-transform: uppercase;
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.checkbox-group {
  grid-column: 1 / -1;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 16px;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 12px;
}

.date-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.date-grid .event-checkbox {
  grid-column: span 2;
  white-space: nowrap;
}

.checkbox-section-label {
  grid-column: 1 / -1;
  margin: 6px 0 0;
  font-weight: 850;
}

.checkbox-grid label,
.agreement,
.single-checkbox label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
}

.checkbox-grid input[type="checkbox"],
.checkbox-grid input[type="radio"],
.single-checkbox input[type="checkbox"],
.agreement-check input[type="checkbox"] {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  padding: 0;
}

.form-note {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.repeat-list {
  display: grid;
  gap: 10px;
}

.repeat-list > label {
  font-weight: 850;
  font-size: 0.94rem;
}

.repeat-items {
  display: grid;
  gap: 10px;
}

.repeat-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.minor-row {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) 96px;
}

.conditional-field[hidden] {
  display: none;
}

.support-options {
  display: grid;
  gap: 14px;
  margin-top: 12px;
}

.support-option {
  display: grid;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(243, 247, 247, 0.72);
}

.support-option label {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-weight: 850;
}

.support-option label span {
  color: var(--muted);
  font-weight: 700;
}

.option-details {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.agreement-copy {
  display: grid;
  gap: 10px;
}

.agreement-copy > .form-note {
  margin: 0 0 4px;
  padding: 0;
}

.agreement-copy details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(243, 247, 247, 0.72);
}

.agreement-copy summary {
  padding: 13px 15px;
  font-weight: 900;
  cursor: pointer;
}

.agreement-copy p {
  margin: 0;
  padding: 0 15px 14px;
  color: var(--muted);
  font-size: 0.94rem;
}

.agreement-copy strong {
  color: var(--ink);
}

.agreement-list {
  margin: -2px 0 14px;
  padding: 0 28px 0 36px;
  color: var(--muted);
  font-size: 0.94rem;
}

.agreement-list li + li {
  margin-top: 8px;
}

.agreement-check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  margin: 0 15px 15px;
  padding-top: 13px;
  border-top: 1px solid var(--line);
  font-weight: 850;
}

.agreement-check::after {
  content: "Required";
  display: inline-flex;
  margin-left: 2px;
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.form-status {
  margin-top: 12px;
  min-height: 24px;
  color: var(--teal);
  font-weight: 850;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
}

.faq-item button {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px;
  border: 0;
  color: var(--ink);
  background: transparent;
  text-align: left;
  font-weight: 950;
  cursor: pointer;
}

.faq-item button span {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  color: var(--paper);
  background: var(--teal);
}

.faq-item .answer {
  display: none;
  padding: 0 20px 20px;
  color: var(--muted);
}

.faq-item.is-open .answer {
  display: block;
}

.faq-item.is-open button span {
  background: var(--gold);
  color: var(--ink);
}

.site-footer {
  color: var(--paper);
  background: #05080e;
  padding: 52px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1.2fr) repeat(3, minmax(150px, 0.7fr));
  gap: 28px;
}

.footer-grid h2,
.footer-grid h3 {
  margin: 0 0 12px;
}

.footer-grid p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.footer-grid a {
  display: block;
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--paper);
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.footer-social-column {
  margin-top: 20px;
}

.footer-grid .social-link {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.82);
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.footer-grid .social-link:hover,
.footer-grid .social-link:focus-visible {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink);
}

.social-link svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.social-link .social-icon-fill {
  fill: currentColor;
  stroke: none;
}

.contact-grid .resource-card a {
  color: var(--teal);
  font-weight: 850;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.9rem;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(7, 17, 31, 0.72);
}

.modal.is-open {
  display: flex;
}

.modal-panel {
  width: min(540px, 100%);
  padding: 28px;
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: var(--shadow);
}

.modal-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: start;
}

.modal-top h2 {
  margin: 0;
  font-size: 1.8rem;
  line-height: 1;
}

.modal-close {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  cursor: pointer;
}

@media (max-width: 1020px) {
  :root {
    --header: 122px;
  }

  .coalition-links {
    display: none;
  }

  .nav-inner {
    min-height: 64px;
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .maat-logo {
    width: 76px;
    height: 60px;
  }

  .primary-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .primary-nav.is-open {
    display: flex;
  }

  .primary-nav a {
    padding: 14px 0;
  }

  .nav-toggle {
    display: inline-grid;
    place-items: center;
    justify-self: end;
  }

  .cta-cards,
  .cards-grid,
  .resources-grid,
  .stats-grid,
  .two-column,
  .feature-media-grid,
  .action-center,
  .route-panel,
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .coalition-layout {
    grid-template-columns: 1fr;
  }

  .two-column,
  .action-center,
  .route-panel {
    align-items: start;
  }
}

@media (max-width: 720px) {
  :root {
    --header: 116px;
  }

  body {
    overflow-x: hidden;
  }

  .coalition-inner,
  .nav-inner,
  .section-inner,
  .hero-content {
    width: min(calc(100% - 28px), var(--max));
  }

  .nav-inner {
    grid-template-columns: minmax(0, 1fr) 44px;
    gap: 12px;
  }

  .maat-logo {
    width: 72px;
    height: 58px;
  }

  .hero {
    min-height: calc(100vh - var(--header));
  }

  .hero h1,
  .page-hero h1 {
    font-size: clamp(1.78rem, 7.8vw, 2.05rem);
    max-width: 100%;
    overflow-wrap: break-word;
    text-wrap: wrap;
  }

  .page-hero h1,
  .page-hero .section-lede {
    max-width: 340px;
  }

  .section-title {
    font-size: clamp(1.62rem, 6.8vw, 2rem);
    overflow-wrap: break-word;
    text-wrap: wrap;
  }

  .section-lede {
    font-size: 1rem;
    overflow-wrap: break-word;
    text-wrap: wrap;
  }

  .check-list li,
  .plain-list li {
    font-size: 0.96rem;
    padding-right: 12px;
  }

  .route-line {
    max-width: 330px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(1.45rem, 7vw, 2rem);
  }

  .hero-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 340px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-meta .pill {
    justify-content: center;
    padding: 7px 9px;
    font-size: 0.88rem;
    text-align: center;
    white-space: normal;
  }

  .hero-meta .pill:nth-child(3),
  .hero-meta .pill:nth-child(4) {
    grid-column: 1 / -1;
  }

  .hero-copy {
    max-width: 320px;
    font-size: 0.96rem;
    text-wrap: wrap;
  }

  .hero-actions .button,
  .hero-actions .button-light,
  .hero-actions .button-ghost,
  .button-row .button,
  .button-row .button-light,
  .button-row .button-ghost,
  .button-row .button-dark {
    width: 100%;
  }

  .cta-cards,
  .cards-grid,
  .resources-grid,
  .stats-grid,
  .two-column,
  .feature-media-grid,
  .coalition-layout,
  .coalition-stats,
  .route-stats,
  .action-center,
  .route-panel,
  .footer-grid,
  .form-grid,
  .checkbox-grid,
  .repeat-row,
  .option-details {
    grid-template-columns: 1fr;
  }

  .page-hero {
    padding: 64px 0;
  }

  .date-grid .event-checkbox {
    grid-column: 1 / -1;
  }

  .anchor-nav {
    top: var(--header);
  }

  .action-link {
    grid-template-columns: 42px 1fr;
  }

  .action-link::after {
    display: none;
  }
}

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

  video {
    animation: none !important;
  }
}

@media (forced-colors: active) {
  .button,
  .button-light,
  .button-ghost,
  .button-dark,
  .button-small,
  .donate-button,
  .faq-item button,
  .modal-close {
    border: 2px solid ButtonText;
  }

  .pill,
  .card,
  .cta-card,
  .stat-card,
  .resource-card,
  .support-option,
  .checkbox-group,
  .agreement-copy details {
    border: 1px solid CanvasText;
  }
}
