:root {
  --brand: #004b7d;
  --brand-dark: #00385e;
  --brand-mid: #0b6ea8;
  --brand-soft: rgba(0, 75, 125, 0.08);
  --accent: #d9a441;
  --accent-soft: rgba(217, 164, 65, 0.16);
  --ink: #173042;
  --muted: #5b6f81;
  --line: rgba(0, 75, 125, 0.14);
  --surface: rgba(255, 255, 255, 0.94);
  --bg: #eef5fa;
  --shadow: 0 24px 60px rgba(17, 47, 74, 0.12);
  --shadow-soft: 0 14px 32px rgba(17, 47, 74, 0.08);
  --radius: 24px;
  --radius-sm: 16px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Avenir Next", "Aptos", "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  background:
    radial-gradient(circle at top left, rgba(0, 75, 125, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(217, 164, 65, 0.16), transparent 30%),
    linear-gradient(180deg, #f9fcfe 0%, #e8f1f8 100%);
}

body.nav-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

.logo {
    max-width: 50px;
}

p {
  margin: 0;
}

ul {
  margin: 0;
}

:focus-visible {
  outline: 3px solid rgba(0, 75, 125, 0.28);
  outline-offset: 3px;
}

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

.skip-link {
  position: absolute;
  left: -999px;
  top: 12px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  --header-mask-inline: max(20px, calc((100% - var(--max)) / 2));
  --header-mask-top-gap: 14px;
  --header-mask-feather-x: 100px;
  --header-mask-feather-y: 50px;
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 14px 0 0;
  background: transparent;
}

.site-header::before {
  content: "";
  position: absolute;
  top: 0;
  right: calc(var(--header-mask-inline) - var(--header-mask-feather-x));
  left: calc(var(--header-mask-inline) - var(--header-mask-feather-x));
  height: calc(var(--header-mask-top-gap) + 24px + var(--header-mask-feather-y));
  background:
    radial-gradient(circle at top left, rgba(0, 75, 125, 0.14), transparent 28%),
    radial-gradient(circle at bottom right, rgba(217, 164, 65, 0.16), transparent 30%),
    linear-gradient(180deg, #f9fcfe 0%, #e8f1f8 100%);
  background-size: 100vw 100vh;
  background-position: center top;
  background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--header-mask-feather-x), #000 calc(100% - var(--header-mask-feather-x)), transparent 100%), linear-gradient(to bottom, #000 0, #000 calc(100% - var(--header-mask-feather-y)), transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 var(--header-mask-feather-x), #000 calc(100% - var(--header-mask-feather-x)), transparent 100%), linear-gradient(to bottom, #000 0, #000 calc(100% - var(--header-mask-feather-y)), transparent 100%);
  mask-composite: intersect;
  pointer-events: none;
}

.site-header-banner {
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: var(--shadow-soft);
}

.site-header-banner-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 0 18px;
  font-size: 0.82rem;
}

.site-header-banner-inner p {
  color: var(--muted);
  font-weight: 750;
}

.site-header-banner-inner a {
  color: var(--brand);
  font-weight: 900;
}

.header-inner {
  min-height: 86px;
  margin-top: 0;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 248px;
}

.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  box-shadow: 0 14px 30px rgba(0, 75, 125, 0.22);
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.06em;
}

.logo-text strong {
  display: block;
  font-size: 1.03rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.logo-text span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  padding: 10px 12px;
  font-weight: 850;
  cursor: pointer;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.primary-nav a {
  padding: 10px 12px;
  border-radius: 999px;
  color: #274055;
  font-size: 0.92rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  background: var(--brand-soft);
  color: var(--brand);
  border-color: rgba(0, 75, 125, 0.12);
}

.primary-nav .donate-nav {
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 75, 125, 0.18);
}

.primary-nav .donate-nav:hover,
.primary-nav .donate-nav[aria-current="page"] {
  background: linear-gradient(135deg, var(--brand-dark), var(--brand));
  color: #fff;
}

main {
  overflow: hidden;
}

.landing-hero {
  position: relative;
  padding: 58px 0 46px;
}

.landing-hero::before {
  content: "";
  position: absolute;
  inset: 28px 0 0;
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.38)),
    radial-gradient(circle at 84% 20%, rgba(217, 164, 65, 0.22), transparent 34%);
  border: 1px solid rgba(0, 75, 125, 0.09);
  box-shadow: var(--shadow);
  pointer-events: none;
}

.landing-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.06fr) minmax(300px, 0.94fr);
  gap: 46px;
  align-items: center;
  padding: 42px;
}

.landing-copy {
  display: grid;
  gap: 16px;
  max-width: 680px;
}

.landing-copy h1 {
  max-width: 650px;
  margin: 0;
  font-size: clamp(2.7rem, 5vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.065em;
}

.landing-copy .lead {
  max-width: 610px;
}

.landing-visual {
  position: relative;
  min-height: 380px;
  display: grid;
  place-items: center;
}

.landing-orbit {
  position: absolute;
  border: 1px solid rgba(0, 75, 125, 0.16);
  border-radius: 50%;
  transform: rotate(-18deg);
}

.landing-orbit-one {
  width: 88%;
  height: 54%;
}

.landing-orbit-two {
  width: 68%;
  height: 80%;
  transform: rotate(28deg);
  border-color: rgba(217, 164, 65, 0.45);
}

.landing-logo-wrap {
  position: relative;
  z-index: 1;
  width: 194px;
  height: 194px;
  padding: 22px;
  border-radius: 54px;
  background: #fff;
  box-shadow: 0 26px 58px rgba(17, 47, 74, 0.2), 0 0 0 14px rgba(255, 255, 255, 0.48);
}

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

.landing-note {
  position: absolute;
  z-index: 2;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  color: var(--brand);
  font-size: 0.82rem;
  font-weight: 850;
}

.landing-note-top { top: 16%; right: 4%; }
.landing-note-bottom { bottom: 14%; left: 3%; }

.landing-preview {
  padding-top: 20px;
}

.landing-section-header {
  align-items: end;
}

.landing-section-header > p {
  max-width: 420px;
  color: var(--muted);
}

.landing-card {
  min-height: 228px;
}

.landing-card-number {
  display: block;
  margin-bottom: 22px;
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.landing-cta-section {
  padding-top: 24px;
}

.landing-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.hero {
  position: relative;
  padding: 34px 0 18px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 24px 0 0;
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.4)),
    radial-gradient(circle at top right, rgba(217, 164, 65, 0.14), transparent 30%);
  border: 1px solid rgba(0, 75, 125, 0.08);
  box-shadow: var(--shadow);
  pointer-events: none;
}

.hero-grid,
.page-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(290px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  padding: 28px;
}

.hero-copy,
.page-hero-copy {
  display: grid;
  gap: 14px;
  align-content: start;
}

.page-hero-stack {
  grid-template-columns: 1fr;
  gap: 18px;
}

.page-hero-stack .page-hero-copy {
  width: 100%;
}

.page-hero-stack .page-hero-copy h1 {
  max-width: 100%;
}

.page-hero-stack .page-hero-panel {
  width: 100%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(0, 75, 125, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  width: fit-content;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

h1,
h2,
h3,
h4 {
  margin: 0;
  line-height: 1.04;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.65rem, 5vw, 5rem);
  max-width: 16ch;
}

h2 {
  font-size: clamp(1.9rem, 3vw, 2.8rem);
}

h3 {
  font-size: 1.2rem;
}

.lead,
.section-header p,
.panel p,
.card p,
.hero-card-content p,
.page-hero-copy p {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.hero-actions,
.cta-row,
.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 12px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 850;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  color: #fff;
  box-shadow: 0 14px 30px rgba(0, 75, 125, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand);
  border-color: rgba(0, 75, 125, 0.16);
}

.btn-text {
  color: var(--brand);
  padding-left: 0;
  padding-right: 0;
}

.hero-card,
.panel,
.card,
.event-card,
.feature-item,
.stat,
.footer-brand-block,
.footer-link-columns > div,
.notice-box,
.form-panel {
  border: 1px solid rgba(0, 75, 125, 0.12);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(250, 253, 255, 0.96));
  box-shadow: var(--shadow);
}

.hero-card,
.panel,
.card,
.event-card,
.feature-item,
.notice-box,
.form-panel {
  border-radius: 28px;
}

.hero-card {
  display: grid;
  grid-template-rows: minmax(240px, 1fr) auto;
  overflow: hidden;
}

.hero-image {
  min-height: 280px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(217, 164, 65, 0.14), transparent 28%),
    linear-gradient(180deg, rgba(0, 75, 125, 0.05), rgba(255, 255, 255, 0.04));
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-card-content {
  display: grid;
  gap: 8px;
  padding: 20px 22px 22px;
}

.hero-card-content strong {
  color: var(--brand);
  font-size: 1rem;
}

.section {
  padding: 24px 0;
}

.section.band {
  padding-top: 0;
}

.section-header {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 18px;
}

.section-header > div {
  display: grid;
  gap: 8px;
}

.grid-3,
.grid-2,
.split,
.feature-list,
.event-list,
.stat-strip,
.timeline,
.faq-list {
  display: grid;
  gap: 16px;
}

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

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

.stat-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 18px;
}

.stat {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(240, 247, 252, 0.94);
}

.stat strong,
.metric {
  display: block;
  color: var(--brand);
  font-size: 1.65rem;
  line-height: 1;
  font-weight: 900;
}

.stat span {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.45;
}

.card,
.panel,
.notice-box,
.form-panel {
  padding: 28px;
}

.icon-card {
  display: grid;
  gap: 12px;
}

.icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.feature-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 22px;
  align-items: start;
  background: rgba(255, 255, 255, 0.88);
}

.check {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--brand-soft);
  color: var(--brand);
  font-weight: 900;
}

.feature-item h3,
.event-card h3,
.card h3 {
  margin: 0 0 8px;
}

.event-card {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: start;
  padding: 22px;
  background: rgba(255, 255, 255, 0.9);
}

.event-date {
  display: grid;
  place-items: center;
  gap: 4px;
  min-height: 92px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(0, 75, 125, 0.08), rgba(217, 164, 65, 0.08));
  color: var(--brand);
}

.event-date span {
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.event-date strong {
  font-size: 2rem;
  line-height: 1;
}

.event-meta {
  color: var(--muted);
  font-size: 0.92rem;
  margin: 0 0 8px;
}

.page-hero {
  padding: 44px 0 18px;
}

.page-hero .hero::before {
  display: none;
}

.page-hero-grid {
  border: 1px solid rgba(0, 75, 125, 0.1);
  border-radius: 30px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.46)),
    radial-gradient(circle at top right, rgba(217, 164, 65, 0.16), transparent 30%);
  box-shadow: var(--shadow);
}

.page-hero h1 {
  max-width: 18ch;
}

.page-hero-panel {
  align-self: stretch;
}

.placeholder-footer {
  width: 100%;
}

.placeholder-footer-panel {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  min-height: 86px;
  padding: 16px 22px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.placeholder-footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  max-width: 650px;
}

.placeholder-footer-brand .footer-brand-copy {
  display: grid;
  gap: 6px;
  max-width: 350px;
}

.placeholder-footer-brand .footer-brand-copy p {
  color: var(--muted);
}

.placeholder-footer-connect {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-left: auto;
  text-align: left;
}

.placeholder-footer-connect h4 {
  margin: 0;
  color: var(--brand);
}

.placeholder-grid > .panel {
  display: flex;
  flex-direction: column;
}

.placeholder-grid > .panel .btn {
  align-self: flex-start;
  margin-top: auto;
}

.email-action-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: auto;
}

.email-action-row .btn {
  margin-top: 0;
}

.placeholder-email-address {
  margin: 0;
  color: var(--brand);
  font-weight: 850;
}

#how-to-donate {
  scroll-margin-top: 120px;
}

#how-to-donate.is-highlighted {
  position: relative;
  z-index: 2;
  animation: donate-highlight 5s ease-out both;
}

.placeholder-grid > .panel {
  transition: filter 0.45s ease, opacity 0.45s ease, transform 0.45s ease;
}

.placeholder-grid.is-focus-mode > .panel:not(#how-to-donate) {
  animation: surrounding-soften 5s ease-out both;
}

@keyframes surrounding-soften {
  0% {
    filter: blur(4px);
    opacity: 0.55;
    transform: scale(0.985);
  }
  100% {
    filter: blur(0);
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes donate-highlight {
  0% {
    border-color: rgba(0, 110, 168, 0.95);
    box-shadow: 0 0 0 2px rgba(0, 110, 168, 0.7), 0 0 18px 7px rgba(0, 110, 168, 0.36), 0 0 46px 16px rgba(0, 110, 168, 0.18), var(--shadow);
  }
  70% {
    border-color: rgba(0, 110, 168, 0.7);
    box-shadow: 0 0 0 2px rgba(0, 110, 168, 0.38), 0 0 16px 6px rgba(0, 110, 168, 0.2), 0 0 40px 14px rgba(0, 110, 168, 0.1), var(--shadow);
  }
  100% {
    border-color: rgba(0, 75, 125, 0.12);
    box-shadow: var(--shadow);
  }
}

.placeholder-footnote {
  max-width: 620px;
  color: var(--muted);
  font-size: 0.88rem;
}

.clean-list {
  display: grid;
  gap: 10px;
  padding-left: 1.1rem;
  color: var(--muted);
}

.timeline {
  counter-reset: step;
}

.timeline .card {
  position: relative;
  padding-left: 72px;
}

.timeline .card::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 24px;
  top: 24px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.faq-list details {
  padding: 20px 22px;
  border: 1px solid rgba(0, 75, 125, 0.12);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.faq-list summary {
  cursor: pointer;
  color: var(--brand);
  font-weight: 900;
}

.faq-list p {
  margin-top: 10px;
  color: var(--muted);
}

.form-grid {
  display: grid;
  gap: 14px;
}

.form-grid label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-weight: 800;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid rgba(0, 75, 125, 0.16);
  border-radius: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--ink);
  font: inherit;
}

.form-grid textarea {
  min-height: 132px;
  resize: vertical;
}

.field-hint {
  color: var(--muted);
  font-weight: 600;
}

[data-status="success"] {
  color: #0f766e;
  font-weight: 800;
}

[data-status="error"] {
  color: #b42318;
  font-weight: 800;
}

[data-status="info"] {
  color: var(--brand);
  font-weight: 800;
}

.notice-box {
  display: grid;
  gap: 10px;
  background: linear-gradient(180deg, rgba(255, 250, 237, 0.94), rgba(255, 255, 255, 0.95));
}

.givebutter-widget-panel {
  margin-top: 18px;
  padding: 24px;
}

.givebutter-widget-embed {
  display: block;
  width: 100%;
  min-height: 420px;
}

.contact-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  display: grid;
  gap: 3px;
  min-width: 190px;
  max-width: min(240px, calc(100vw - 44px));
  padding: 14px 16px;
  border: 1px solid rgba(0, 75, 125, 0.16);
  border-radius: 18px;
  background: linear-gradient(135deg, var(--brand), var(--brand-mid));
  color: #fff;
  box-shadow: 0 18px 38px rgba(0, 75, 125, 0.24);
}

.contact-fab span {
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.88;
}

.contact-fab strong {
  font-size: 1rem;
  line-height: 1.1;
}

.contact-fab small {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.82rem;
  line-height: 1.3;
}

body.has-contact-fab main {
  padding-bottom: 104px;
}

.footer-widget-copy {
  display: grid;
  gap: 6px;
}

.site-footer {
  margin: 24px 0 0;
  padding: 26px 0 18px;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 0.95fr) minmax(0, 1.6fr);
  gap: 24px;
}

.footer-brand-block {
  display: grid;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 28px;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-brand-copy {
  display: grid;
  gap: 6px;
}

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

.footer-contact {
  display: grid;
  gap: 14px;
}

.footer-contact > div {
  display: grid;
  gap: 4px;
}

.footer-label {
  color: var(--brand);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.footer-contact a,
.footer-contact strong {
  color: var(--ink);
  font-weight: 700;
}

.footer-link-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.footer-link-columns > div {
  padding: 22px 22px 18px;
  border-radius: 28px;
}

.footer-link-columns h4 {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.92rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 6px;
}

.footer-links a,
.footer-links span {
  color: var(--muted);
  font-weight: 650;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(0, 75, 125, 0.1);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 0.92rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
}

.social-link img {
    width: 24px;
    height: 24px;
    display: block;
}

.footer-logo-link {
  display: inline-flex;
  align-items: center;
}

.footer-logo-link .logo {
  width: 52px;
  max-width: 52px;
}

.adoption-followup {
  margin-bottom: 16px;
}

.event-year-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.year-pill {
  min-height: 40px;
  padding: 10px 14px;
  border: 1px solid rgba(0, 75, 125, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--brand);
  font-weight: 850;
  cursor: pointer;
}

.year-pill.is-active {
  background: var(--brand);
  color: #fff;
}

.admin-body {
  background:
    radial-gradient(circle at top left, rgba(0, 75, 125, 0.1), transparent 26%),
    linear-gradient(180deg, #f9fcfe 0%, #edf4f9 100%);
}

.admin-shell .panel,
.admin-shell .notice-box,
.admin-shell .card,
.admin-shell .detail-block,
.admin-shell .stacked-panel,
.admin-shell .event-admin-card {
  border-radius: 20px;
}

.admin-shell .section {
  padding: 48px 0;
}

.admin-shell .section-header {
  margin-bottom: 16px;
}

.table-wrap {
  overflow-x: auto;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.admin-table th,
.admin-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(0, 75, 125, 0.1);
  vertical-align: top;
  text-align: left;
}

.admin-table th {
  color: var(--brand);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.admin-table.compact td {
  padding: 8px 6px;
}

.btn-mini {
  min-height: 36px;
  padding: 8px 12px;
  border-radius: 14px;
  font-size: 0.84rem;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(0, 75, 125, 0.08);
  color: var(--brand);
  font-weight: 800;
  font-size: 0.8rem;
}

.stacked-panel,
.detail-block {
  display: grid;
  gap: 14px;
}

.detail-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: flex-start;
}

.detail-block {
  padding: 18px;
  border: 1px solid rgba(0, 75, 125, 0.12);
  background: rgba(255, 255, 255, 0.92);
}

.admin-input {
  width: 100%;
  border: 1px solid rgba(0, 75, 125, 0.16);
  border-radius: 12px;
  padding: 10px 12px;
  background: #fff;
  font: inherit;
}

.inline-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand);
  font-weight: 800;
}

.event-year-form {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(0, 75, 125, 0.08);
}

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

@media (max-width: 980px) {
  .site-header {
    --header-mask-inline: 12px;
    --header-mask-top-gap: 10px;
    padding-top: 10px;
  }

  .header-inner {
    position: relative;
    flex-wrap: wrap;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .primary-nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding-top: 8px;
  }

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

  .primary-nav a {
    border-radius: 14px;
  }

  .hero-grid,
  .page-hero-grid,
  .landing-hero-grid,
  .split,
  .grid-2,
  .grid-3,
  .section-header,
  .footer-grid,
  .footer-link-columns,
  .event-card,
  .detail-head {
    grid-template-columns: 1fr;
  }

  .contact-fab {
    display: none;
  }

  .hero-grid,
  .page-hero-grid,
  .landing-hero-grid,
  .page-hero-stack {
    padding: 18px;
  }

  .landing-hero {
    padding-top: 32px;
  }

  .landing-visual {
    min-height: 300px;
  }

  .stat-strip {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 700px) {
  .container {
    width: min(var(--max), calc(100% - 24px));
  }

  .site-header-banner-inner {
    min-height: auto;
    padding: 10px 14px;
    flex-direction: column;
    align-items: flex-start;
  }

  .header-inner {
    padding: 14px;
  }

  .placeholder-footer-panel {
    align-items: flex-start;
    flex-direction: column;
  }

  .placeholder-footer-connect {
    justify-items: start;
    margin-left: 0;
    text-align: left;
  }

  .brand-link {
    min-width: 0;
  }

  .logo-text span {
    display: none;
  }

  .hero {
    padding-top: 22px;
  }

  .landing-hero {
    padding-top: 18px;
  }

  .landing-hero::before {
    inset: 14px 0 0;
  }

  .landing-hero-grid {
    padding: 24px 12px;
  }

  .landing-copy h1 {
    font-size: clamp(2.5rem, 13vw, 4rem);
  }

  .landing-visual {
    min-height: 250px;
  }

  .landing-logo-wrap {
    width: 150px;
    height: 150px;
    padding: 17px;
    border-radius: 42px;
  }

  .landing-note {
    font-size: 0.74rem;
  }

  .landing-note-top { top: 8%; right: 0; }
  .landing-note-bottom { bottom: 8%; left: 0; }

  .landing-cta {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero::before {
    inset: 14px 0 0;
  }

  h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem);
    max-width: none;
  }

  .section {
    padding: 58px 0;
  }

  .card,
  .panel,
  .hero-card,
  .notice-box,
  .form-panel,
  .footer-brand-block,
  .footer-link-columns > div {
    padding: 22px;
  }
}
