:root {
  --navy-950: #09162c;
  --navy-900: #0d1b38;
  --navy-800: #17305d;
  --blue-500: #3f73c7;
  --cream-50: #fff9ef;
  --cream-100: #f8f1e2;
  --paper: #fdf7ea;
  --red-600: #c93135;
  --red-700: #a81f27;
  --sand-400: #c9bb9f;
  --ink-900: #11151d;
  --ink-700: #38404f;
  --line: rgba(9, 22, 44, 0.1);
  --shadow: 0 22px 60px rgba(9, 22, 44, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: min(1160px, calc(100vw - 40px));
  --header-offset: 154px;
  --header-offset-mobile: 98px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-offset);
}

body {
  margin: 0;
  font-family: "Montserrat", Arial, sans-serif;
  color: var(--ink-900);
  background:
    radial-gradient(circle at top left, rgba(201, 49, 53, 0.12), transparent 32%),
    radial-gradient(circle at top right, rgba(63, 115, 199, 0.1), transparent 22%),
    linear-gradient(180deg, #fbf6eb 0%, #f7f0df 100%);
}

body.nav-is-open {
  overflow: hidden;
}

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

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

button,
input,
select {
  font: inherit;
}

.page-shell {
  overflow: hidden;
  padding-top: var(--header-offset);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 100;
  background: rgba(253, 247, 234, 0.92);
  border-bottom: 1px solid rgba(9, 22, 44, 0.08);
  box-shadow: 0 14px 30px rgba(9, 22, 44, 0.08);
  backdrop-filter: blur(12px);
}

.utility-bar {
  background:
    linear-gradient(90deg, var(--navy-950), var(--navy-900)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.06) 0,
      rgba(255, 255, 255, 0.06) 22px,
      transparent 22px,
      transparent 42px
    );
  color: white;
}

.utility-inner,
.utility-copy,
.utility-links {
  display: flex;
  align-items: center;
}

.utility-inner {
  justify-content: space-between;
  min-height: 48px;
  gap: 18px;
}

.utility-copy,
.utility-links {
  gap: 18px;
  flex-wrap: wrap;
}

.utility-copy span,
.utility-links a {
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.utility-city-picker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.utility-city-picker span {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.75);
}

.utility-city-picker select {
  min-height: 30px;
  padding: 0 28px 0 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--navy-950);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
}

.utility-links a:hover,
.site-nav a:hover,
.text-link:hover {
  color: var(--red-600);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.brand img {
  width: 118px;
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(9, 22, 44, 0.22));
}

.brand strong {
  display: block;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.55rem;
  line-height: 0.95;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.brand span {
  display: block;
  margin-top: 4px;
  color: var(--ink-700);
  font-size: 0.95rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.site-nav a {
  font-size: 1rem;
  color: var(--navy-900);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  min-height: 50px;
  padding: 0 16px;
  border: 1px solid rgba(9, 22, 44, 0.12);
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy-900);
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(9, 22, 44, 0.12);
}

.menu-toggle-box {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 22px;
}

.menu-toggle-box span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: var(--navy-950);
  transform-origin: center;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-toggle-label {
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-box span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  border: 0;
  padding: 0;
  background: rgba(9, 22, 44, 0.36);
  backdrop-filter: blur(3px);
}

.nav-backdrop.is-open {
  display: block;
}

.button,
.button-light,
.button-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  letter-spacing: 0.01em;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button {
  background: linear-gradient(135deg, var(--red-600), var(--red-700));
  color: white;
  box-shadow: 0 18px 28px rgba(169, 31, 39, 0.22);
}

.button-light {
  background: white;
  color: var(--navy-900);
  border-color: rgba(9, 22, 44, 0.12);
}

.button-outline {
  background: transparent;
  color: var(--navy-900);
  border-color: rgba(9, 22, 44, 0.14);
}

.button:hover,
.button-light:hover,
.button-outline:hover {
  transform: translateY(-2px);
}

.hero-section {
  position: relative;
  display: flex;
  align-items: stretch;
  min-height: calc(100svh - var(--header-offset));
  padding: 0;
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at left center, rgba(201, 49, 53, 0.12), transparent 28%),
    radial-gradient(circle at 82% 22%, rgba(63, 115, 199, 0.18), transparent 20%);
  pointer-events: none;
}

.hero-grid,
.split-layout,
.join-grid,
.volunteer-grid,
.testimonial-grid {
  display: grid;
  gap: 32px;
}

.hero-grid {
  grid-template-columns: 1fr;
  align-items: stretch;
  flex: 1;
  min-height: 100%;
  width: 100%;
  margin: 0;
}

.hero-copy {
  position: absolute;
  top: clamp(36px, 7vh, 88px);
  left: clamp(28px, 4vw, 56px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: min(540px, calc(100% - 120px));
  padding: 0;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 249, 239, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--red-700);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--navy-950);
  font-family: "Oswald", Arial, sans-serif;
  text-transform: uppercase;
}

h1 {
  max-width: 10ch;
  font-size: clamp(4rem, 8.5vw, 6.9rem);
  line-height: 0.88;
  letter-spacing: 0.01em;
  color: white;
  text-shadow: 0 16px 40px rgba(9, 22, 44, 0.45);
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.3rem);
  line-height: 0.95;
}

h3 {
  font-size: 1.6rem;
  line-height: 1.05;
}

.hero-text,
.section-heading p,
.campaign-card p,
.banner-copy p,
.service-card p,
.project-copy p,
.testimonial-card p,
.event-details p,
.site-footer p {
  font-size: 1.08rem;
  line-height: 1.55;
  color: var(--ink-700);
}

.hero-text {
  max-width: 34rem;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.92);
  text-shadow: 0 10px 24px rgba(9, 22, 44, 0.32);
}

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

.mission-panel,
.campaign-card,
.banner-panel,
.service-card,
.project-card,
.testimonial-card,
.team-card,
.event-card,
.volunteer-form {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: var(--shadow);
}

.hero-visual {
  position: relative;
  min-height: calc(100svh - 120px);
  height: 100%;
  display: block;
  width: 100%;
}

.hero-frame {
  position: relative;
  width: 100%;
  min-height: calc(100svh - 120px);
  height: 100%;
  margin-left: 0;
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 0;
  background: #09162c;
}

.hero-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(9, 22, 44, 0.68) 0%, rgba(9, 22, 44, 0.42) 34%, rgba(9, 22, 44, 0.1) 62%, rgba(9, 22, 44, 0.18) 100%),
    linear-gradient(180deg, rgba(9, 22, 44, 0.06), rgba(9, 22, 44, 0.24));
  pointer-events: none;
}

.hero-play {
  position: absolute;
  right: 38px;
  top: 38px;
  width: 142px;
  height: auto;
  display: block;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.hero-play-logo {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 12px 20px rgba(9, 22, 44, 0.22));
}

.hero-cards {
  position: absolute;
  right: 34px;
  bottom: 34px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: min(620px, calc(100% - 120px));
  z-index: 2;
}

.hero-card {
  padding: 26px 26px 24px;
  border-radius: 30px;
  box-shadow: var(--shadow);
}

.hero-card p {
  margin: 14px 0 18px;
  line-height: 1.5;
}

.hero-card a {
  font-weight: 700;
}

.hero-card-light {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(9, 22, 44, 0.08);
}

.hero-card-dark {
  background: linear-gradient(180deg, var(--navy-900), var(--navy-800));
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-card-dark,
.hero-card-dark p,
.hero-card-dark a,
.hero-card-dark .mini-label {
  color: white;
}

.mini-label,
.card-kicker,
.event-meta,
.tag-row span,
.event-location {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
}

.mini-label::before,
.card-kicker::before,
.event-location::before {
  content: "";
  width: 10px;
  height: 10px;
  background: var(--red-600);
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

.section {
  padding: 84px 0;
}

.split-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 440px);
  align-items: start;
}

.section-heading {
  max-width: 700px;
}

.section-heading.centered {
  margin: 0 auto 34px;
  text-align: center;
}

.section-heading.compact {
  max-width: 620px;
}

.prototype-note {
  max-width: 760px;
  margin: -10px 0 28px;
  padding: 14px 18px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(9, 22, 44, 0.08);
  color: var(--ink-700);
  font-size: 0.98rem;
  line-height: 1.55;
}

.section-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 22px;
  margin-bottom: 34px;
}

.mission-panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  position: relative;
}

.brand-panel {
  padding: 18px;
  overflow: hidden;
}

.brand-panel img {
  width: 100%;
  border-radius: 22px;
  border: 1px solid rgba(9, 22, 44, 0.08);
}

.mission-panel::before {
  content: "";
  position: absolute;
  inset: 14px;
  border-radius: calc(var(--radius-xl) - 10px);
  border: 1px solid rgba(9, 22, 44, 0.08);
  pointer-events: none;
}

.mission-copy p {
  margin-bottom: 26px;
}

.goal-item + .goal-item {
  margin-top: 20px;
}

.goal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 9px;
}

.goal-row span {
  font-size: 1rem;
  color: var(--ink-700);
}

.goal-row strong {
  color: var(--navy-950);
}

.progress-bar {
  height: 11px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(9, 22, 44, 0.08);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-600), var(--blue-500));
}

.section-campaigns {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.2)),
    url("assets/background-pattern.png?v=3");
  background-size: auto, 100% 100%;
  background-position: center, center;
  background-repeat: no-repeat, no-repeat;
  padding-top: 96px;
  padding-bottom: 96px;
}

.section-campaigns .section-row {
  padding: 28px 30px;
  border-radius: 28px;
  background: rgba(255, 249, 239, 0.78);
  border: 1px solid rgba(9, 22, 44, 0.08);
  box-shadow: 0 22px 40px rgba(9, 22, 44, 0.1);
}

.section-campaigns .campaign-card {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(9, 22, 44, 0.08);
  box-shadow: 0 22px 38px rgba(9, 22, 44, 0.12);
}

.section-campaigns .campaign-card.featured {
  background:
    linear-gradient(135deg, rgba(9, 22, 44, 0.92), rgba(23, 48, 93, 0.9));
}

.campaign-grid,
.service-grid,
.project-grid,
.testimonial-cards,
.team-grid {
  display: grid;
  gap: 22px;
}

.campaign-grid {
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
}

.campaign-card {
  min-height: 260px;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.section-campaigns .campaign-card.featured {
  background:
    linear-gradient(135deg, rgba(9, 22, 44, 0.96), rgba(23, 48, 93, 0.9)),
    linear-gradient(180deg, rgba(201, 49, 53, 0.28), transparent);
  color: white;
}

.section-campaigns .campaign-card.featured h3,
.section-campaigns .campaign-card.featured p,
.section-campaigns .campaign-card.featured a,
.section-campaigns .campaign-card.featured .card-kicker {
  color: white;
}

.campaign-card h3 {
  margin-top: 18px;
  max-width: 15ch;
}

.campaign-card p {
  margin: 16px 0 22px;
}

.campaign-card a {
  font-weight: 700;
  color: var(--red-700);
}

.join-banner {
  padding-top: 28px;
}

.join-grid {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 420px);
  padding: 34px;
  border-radius: 40px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.2), transparent 26%),
    linear-gradient(115deg, var(--navy-900), #17305d 55%, #20488d);
  color: white;
  box-shadow: var(--shadow);
}

.join-grid .eyebrow {
  background: rgba(255, 255, 255, 0.12);
  color: white;
  border-color: rgba(255, 255, 255, 0.16);
}

.join-grid h2,
.join-grid p,
.banner-stat strong,
.banner-stat span {
  color: white;
}

.banner-panel {
  padding: 20px;
  border-radius: 28px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08) 0,
      rgba(255, 255, 255, 0.08) 10px,
      transparent 10px,
      transparent 22px
    );
}

.banner-stat + .banner-stat {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.banner-stat strong {
  display: block;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  line-height: 1.15;
}

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

.service-card {
  padding: 26px;
  border-radius: var(--radius-lg);
}

.icon-star {
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--red-600), var(--blue-500));
  clip-path: polygon(
    50% 0%,
    61% 35%,
    98% 35%,
    68% 57%,
    79% 91%,
    50% 70%,
    21% 91%,
    32% 57%,
    2% 35%,
    39% 35%
  );
}

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

.project-card {
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.project-media {
  min-height: 220px;
}

.project-media.stripes {
  background:
    linear-gradient(135deg, rgba(9, 22, 44, 0.72), rgba(9, 22, 44, 0.5)),
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.9) 0,
      rgba(255, 255, 255, 0.9) 14px,
      #c93135 14px,
      #c93135 28px
    );
}

.project-media.starfield {
  background:
    radial-gradient(circle at 22px 22px, white 0 4px, transparent 5px) 0 0 / 50px 50px,
    linear-gradient(135deg, #17305d, #244d97);
}

.project-media.ledger {
  background:
    repeating-linear-gradient(
      180deg,
      rgba(9, 22, 44, 0.07) 0,
      rgba(9, 22, 44, 0.07) 1px,
      transparent 1px,
      transparent 32px
    ),
    linear-gradient(135deg, #f3ede2, #efe2ca);
  position: relative;
}

.project-media.ledger::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 0 82%, rgba(201, 49, 53, 0.22) 82% 88%, transparent 88%),
    linear-gradient(90deg, transparent 0 26%, rgba(63, 115, 199, 0.16) 26% 30%, transparent 30%);
}

.project-copy {
  padding: 22px;
}

.tag-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.tag-row span {
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(9, 22, 44, 0.06);
  color: var(--navy-900);
}

.project-copy h3 {
  margin-top: 16px;
}

.testimonial-grid {
  grid-template-columns: 340px minmax(0, 1fr);
  align-items: start;
}

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

.testimonial-card {
  padding: 24px;
  border-radius: var(--radius-lg);
}

.testimonial-card strong {
  display: block;
  margin-top: 20px;
}

.testimonial-card span {
  color: var(--ink-700);
}

.impact-strip {
  padding: 34px 0;
  background:
    linear-gradient(90deg, var(--navy-950), var(--navy-900)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08), transparent 45%);
  color: white;
}

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

.impact-grid article {
  padding: 14px 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.impact-grid strong {
  display: block;
  font-size: 2.6rem;
}

.impact-grid span {
  display: block;
  margin-top: 8px;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}

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

.team-card {
  text-align: left;
  padding: 26px;
  border-radius: var(--radius-lg);
}

.team-card h3 {
  margin-bottom: 14px;
}

.team-card p {
  margin: 0;
  color: var(--ink-700);
  line-height: 1.55;
}

.avatar {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 26px;
  margin-bottom: 20px;
  background-size: cover;
}

.avatar-one,
.avatar-two,
.avatar-three {
  background:
    radial-gradient(circle at 50% 32%, #f3d1b0 0 12%, transparent 12%),
    radial-gradient(circle at 50% 57%, #d84e52 0 18%, transparent 18%),
    radial-gradient(circle at 50% 75%, #17305d 0 28%, transparent 28%),
    linear-gradient(135deg, #f7efe3, #d8e1f3);
}

.avatar-two {
  background:
    radial-gradient(circle at 50% 32%, #e7c29c 0 12%, transparent 12%),
    radial-gradient(circle at 50% 57%, #20488d 0 18%, transparent 18%),
    radial-gradient(circle at 50% 75%, #a81f27 0 28%, transparent 28%),
    linear-gradient(135deg, #f8f0df, #ebd4d0);
}

.avatar-three {
  background:
    radial-gradient(circle at 50% 32%, #e4bda0 0 12%, transparent 12%),
    radial-gradient(circle at 50% 57%, #ffffff 0 18%, transparent 18%),
    radial-gradient(circle at 50% 75%, #17305d 0 28%, transparent 28%),
    linear-gradient(135deg, #f1ebde, #dde8f8);
}

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

.event-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.event-card-link:hover .event-card {
  transform: translateY(-3px);
  box-shadow: 0 26px 42px rgba(9, 22, 44, 0.16);
}

.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.events-location,
.events-source-note {
  margin: 0;
  color: var(--ink-700);
}

.events-location {
  font-weight: 700;
  color: var(--navy-900);
}

.events-source-note {
  margin-bottom: 20px;
  max-width: 760px;
  line-height: 1.5;
}

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

.event-filter {
  min-height: 40px;
  padding: 0 16px;
  border-radius: 999px;
  border: 1px solid rgba(9, 22, 44, 0.12);
  background: rgba(255, 255, 255, 0.7);
  color: var(--navy-900);
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

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

.event-filter.is-active {
  background: var(--navy-900);
  color: white;
}

.event-card {
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 22px;
  padding: 22px;
  border-radius: var(--radius-lg);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.event-date {
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 22px;
  padding: 14px;
  background:
    linear-gradient(135deg, rgba(201, 49, 53, 0.12), rgba(63, 115, 199, 0.12)),
    white;
}

.event-date strong {
  font-size: 2.8rem;
  line-height: 0.85;
  color: var(--navy-950);
}

.event-date span {
  margin-top: 6px;
  letter-spacing: 0.12em;
  font-weight: 700;
}

.event-meta {
  color: var(--red-700);
}

.event-location {
  margin-top: 14px;
  color: var(--navy-900);
}

.event-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.event-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(9, 22, 44, 0.06);
  color: var(--navy-900);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 700;
}

.event-card-loading {
  grid-template-columns: 1fr;
}

.render-debug-panel {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 9999;
  width: min(360px, calc(100vw - 32px));
  padding: 16px;
  border-radius: 18px;
  background: rgba(9, 22, 44, 0.94);
  color: white;
  box-shadow: 0 18px 40px rgba(9, 22, 44, 0.34);
  font-size: 0.92rem;
  line-height: 1.35;
}

.render-debug-panel strong {
  display: block;
  margin-bottom: 10px;
  font-family: "Oswald", Arial, sans-serif;
  font-size: 1.2rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.render-debug-panel p,
.render-debug-panel details,
.render-debug-panel ul {
  margin: 0 0 8px;
}

.render-debug-panel ul {
  padding-left: 18px;
}

.event-detail-page {
  min-height: calc(100svh - 220px);
  background:
    radial-gradient(circle at top left, rgba(201, 49, 53, 0.08), transparent 28%),
    linear-gradient(180deg, #fbf6eb 0%, #f7f0df 100%);
}

.event-detail-shell {
  max-width: 960px;
}

.event-back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  color: var(--navy-900);
  font-weight: 700;
}

.event-detail-card {
  padding: 34px;
  border-radius: 34px;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(9, 22, 44, 0.08);
  box-shadow: var(--shadow);
}

.event-detail-title {
  max-width: 14ch;
  color: var(--navy-950);
  text-shadow: none;
}

.event-detail-description,
.event-detail-panel p,
.event-detail-status {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-700);
}

.event-detail-description {
  max-width: 60ch;
  margin-top: 18px;
}

.event-detail-story {
  margin-top: 26px;
  padding: 26px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid rgba(9, 22, 44, 0.08);
}

.event-detail-story h2 {
  margin-bottom: 12px;
  font-size: 1.45rem;
}

.event-detail-story p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.75;
  color: var(--ink-700);
}

.event-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.event-detail-panel {
  padding: 22px;
  border-radius: 22px;
  background: rgba(255, 249, 239, 0.86);
  border: 1px solid rgba(9, 22, 44, 0.08);
}

.event-detail-panel h2 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.event-detail-panel-wide {
  grid-column: 1 / -1;
}

.event-detail-bullets,
.event-detail-link-list {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-700);
}

.event-detail-bullets li,
.event-detail-link-list li {
  margin-bottom: 10px;
  line-height: 1.6;
}

.event-detail-bullets strong {
  color: var(--navy-950);
}

.event-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.volunteer-grid {
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 420px);
  align-items: center;
}

.volunteer-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  border-radius: var(--radius-xl);
}

.volunteer-form label {
  display: grid;
  gap: 8px;
  color: var(--navy-950);
  font-weight: 600;
}

.volunteer-form input,
.volunteer-form select,
.volunteer-form textarea {
  min-height: 52px;
  border-radius: 14px;
  border: 1px solid rgba(9, 22, 44, 0.12);
  padding: 0 14px;
  background: white;
}

.volunteer-form textarea {
  min-height: 144px;
  padding: 14px;
  resize: vertical;
}

.site-footer {
  padding: 34px 0 40px;
  background: #f4ebd8;
  border-top: 1px solid rgba(9, 22, 44, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.8fr;
  gap: 22px;
}

.footer-grid h3 {
  margin-bottom: 16px;
  font-size: 1.15rem;
}

.footer-grid a,
.footer-grid span {
  display: block;
  margin-bottom: 10px;
  color: var(--ink-700);
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand img {
  width: 136px;
}

.footer-legal {
  display: none;
}

.footer-legal-wide {
  width: var(--container);
  margin: 22px auto 0;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ADD8E6;
  text-align: center;
}

.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  color: var(--navy-900);
  font-weight: 700;
}

@media (max-width: 1080px) {
  html {
    scroll-padding-top: var(--header-offset-mobile);
  }

  .page-shell {
    padding-top: var(--header-offset-mobile);
  }

  .utility-bar {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    position: relative;
    z-index: 60;
    flex-shrink: 0;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    top: var(--header-offset-mobile);
    left: 0;
    right: 0;
    bottom: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-height: calc(100svh - var(--header-offset-mobile));
    padding: 18px 20px 24px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 241, 226, 0.98));
    border-top: 1px solid rgba(9, 22, 44, 0.08);
    box-shadow: 0 18px 40px rgba(9, 22, 44, 0.18);
    z-index: 50;
    overflow-y: auto;
  }

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

  .site-nav a {
    width: 100%;
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(9, 22, 44, 0.08);
  }

  .site-nav .button-outline {
    justify-content: center;
    margin-top: 8px;
    min-height: 48px;
    padding: 0 18px;
    border-bottom: 0;
    width: 100%;
  }

  .nav-wrap {
    position: relative;
    padding: 14px 0;
    gap: 14px;
  }

  .brand {
    gap: 12px;
    min-width: 0;
    max-width: calc(100% - 110px);
  }

  .brand img {
    width: 88px;
  }

  .brand strong {
    font-size: 1.35rem;
  }

  .brand span {
    font-size: 0.84rem;
  }

  .campaign-grid,
  .service-grid,
  .project-grid,
  .testimonial-cards,
  .impact-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-grid,
  .split-layout,
  .testimonial-grid,
  .volunteer-grid,
  .join-grid {
    grid-template-columns: 1fr;
  }

  .campaign-grid .featured {
    grid-column: span 2;
  }

  .hero-visual {
    min-height: auto;
  }

  .hero-frame {
    min-height: 760px;
  }

  .hero-cards {
    right: 24px;
    bottom: 24px;
    width: min(560px, calc(100% - 48px));
    display: none;
  }
}

@media (max-width: 780px) {
  .campaign-grid,
  .service-grid,
  .project-grid,
  .testimonial-cards,
  .impact-grid,
  .team-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .campaign-grid .featured {
    grid-column: auto;
  }

  .utility-inner,
  .section-row {
    align-items: start;
    flex-direction: column;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .hero-section {
    min-height: auto;
    padding-top: 10px;
  }

  .hero-copy {
    top: 22px;
    left: 20px;
    max-width: calc(100% - 40px);
  }

  .hero-visual {
    min-height: auto;
    height: auto;
    padding: 0;
  }

  .hero-frame {
    min-height: 760px;
    border-radius: 0;
  }

  .hero-play {
    right: 20px;
    top: 20px;
    width: 108px;
    height: auto;
  }

  .event-detail-card,
  .event-detail-story {
    padding: 22px;
  }

  .event-detail-grid {
    grid-template-columns: 1fr;
  }

  .event-detail-panel-wide {
    grid-column: auto;
  }

  .event-card {
    grid-template-columns: 1fr;
  }
}
