:root {
  --rf-blue: #1c4fa9;
  --rf-blue-deep: #0f2f73;
  --rf-blue-soft: #2a66c9;
  --rf-link: #1a4ca9;
  --rf-link-hover: #123a84;
  --rf-ink: #0f1f35;
  --rf-slate: #415675;
  --rf-slate-2: #465e7f;
  --rf-line: #d5deeb;
  --rf-line-strong: #c2cfe0;
  --rf-paper: #f6f0e4;
  --rf-cream: #f4ecde;
  --rf-gold: #e7ad2f;
  --rf-shadow-sm: 0 8px 22px rgba(11, 29, 66, 0.08);
  --rf-shadow-md: 0 14px 34px rgba(11, 29, 66, 0.12);
}

body {
  background: #ffffff;
  color: var(--rf-ink);
  line-height: 1.5;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
}

.container {
  max-width: 1200px;
}

.site-header {
  background: #000;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
}

.header-inner {
  padding: 12px 18px;
  display: grid;
  grid-template-columns: auto minmax(0,1fr) auto;
  align-items: center;
  gap: 12px;
}

.site-nav {
  gap: clamp(8px, 1.4vw, 16px);
  justify-content: center;
  flex-wrap: nowrap;
  min-width: 0;
}

.site-nav a {
  font-size: clamp(11px, 1.02vw, 14px);
  letter-spacing: 0.028em;
  text-transform: uppercase;
  color: #fff;
  white-space: nowrap;
  text-decoration-thickness: 2px;
  text-underline-offset: 4px;
  transition: color 160ms ease;
}

.donate-btn {
  color: #000;
  border: 1px solid var(--rf-gold);
  background: var(--rf-gold);
  border-radius: 999px;
  padding: 10px 16px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease;
}

.site-nav a:hover {
  color: #ffd96a;
}

.site-nav .nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-bottom: 10px;
  margin-bottom: -10px;
}

.site-nav .nav-dropdown-trigger::after {
  content: "▾";
  margin-left: 6px;
  font-size: 11px;
  line-height: 1;
}

.site-nav .nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 170px;
  padding: 10px 12px;
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: var(--rf-shadow-sm);
  z-index: 40;
}

.site-nav .nav-submenu a {
  display: block;
  padding: 6px 0;
  min-height: 40px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.site-nav .nav-dropdown:hover .nav-submenu,
.site-nav .nav-dropdown:focus-within .nav-submenu {
  display: block;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid #7db3ff;
  outline-offset: 2px;
}

.hero {
  min-height: 640px;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(11, 18, 32, 0.66) 0%, rgba(11, 18, 32, 0.18) 52%, rgba(11, 18, 32, 0.4) 100%);
  pointer-events: none;
}

.hero-overlay {
  z-index: 2;
}

.hero-brand-box {
  background: rgba(6, 10, 17, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px;
}

.hero-btn {
  border-radius: 999px;
}

.mission {
  padding: 70px 0 42px;
}

.home-video-cta-band {
  padding: 18px 0 10px;
}

.home-video-cta-band .container {
  display: flex;
  justify-content: center;
}

.home-video-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 2px solid var(--rf-gold);
  background: var(--rf-gold);
  color: #111;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  font-size: clamp(18px, 2.1vw, 24px);
  letter-spacing: 0.03em;
  box-shadow: var(--rf-shadow-sm);
  transition: filter 160ms ease, transform 160ms ease;
}

.home-video-cta-btn:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
}

.home-video-cta-btn:focus-visible {
  outline: 3px solid #f7cf75;
  outline-offset: 2px;
}

.mission .container {
  max-width: 1200px;
}

.mission-lead {
  max-width: none;
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -0.025em;
  text-transform: none;
}

.mission-body {
  margin-top: 18px;
  max-width: none;
  color: var(--rf-slate-2);
  font-size: 19px;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-weight: 400;
  line-height: 1.72;
}

.learn-more {
  margin-top: 8px;
  font-size: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.mission-divider {
  height: 6px;
  background: #000;
}

.box-section {
  background: #ffffff;
  padding: 22px 0 70px;
}

.box-layout {
  grid-template-columns: 1fr;
  gap: 16px;
}

.v-sep {
  display: none;
}

.box {
  border: 1px solid var(--rf-line);
  border-radius: 14px;
  box-shadow: var(--rf-shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.box:hover {
  transform: translateY(-2px);
  box-shadow: var(--rf-shadow-md);
  border-color: var(--rf-line-strong);
}

.box-primary {
  width: 100%;
  height: auto;
  min-height: 300px;
  background: linear-gradient(138deg, #0b3ea8 0%, #092d78 100%);
}

.box-title {
  font-size: clamp(26px, 3vw, 38px);
}

.box-text {
  color: #52627f;
  font-size: 16px;
  line-height: 1.62;
}

.box-primary .box-text {
  color: rgba(255, 255, 255, 0.95);
}

.box-right-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.box-heart,
.box-homeless,
.box-veteran,
.box-emergency {
  grid-column: auto;
  grid-row: auto;
}

.box-image {
  border-radius: 10px;
  height: 190px;
}

.box-link {
  margin-top: 10px;
  color: var(--rf-blue);
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.subpage-main {
  background: #ffffff;
}

.subpage-hero {
  background: linear-gradient(118deg, #0a2c74 0%, #0b3ea8 52%, #1553d2 100%);
  padding: 78px 0;
  position: relative;
  overflow: hidden;
}

.subpage-hero::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -140px;
  top: -190px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
}

.subpage-hero h1 {
  position: relative;
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.08;
  margin-bottom: 14px;
}

.subpage-hero p {
  position: relative;
  max-width: 860px;
  color: rgba(255, 255, 255, 0.92);
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-size: 19px;
}

.subpage-hero-full {
  min-height: 640px;
  padding: 0;
  overflow: hidden;
}

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

.subpage-hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.subpage-hero-full::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, rgba(11, 18, 32, 0.66) 0%, rgba(11, 18, 32, 0.18) 52%, rgba(11, 18, 32, 0.4) 100%);
  pointer-events: none;
}

.subpage-hero-page-title {
  --hero-offset: 0px;
  opacity: 1;
  animation: none;
}

.subpage-section {
  padding: 42px 0;
}

.subpage-section h2 {
  font-size: clamp(29px, 4vw, 46px);
  margin-bottom: 12px;
}

.subpage-section p,
.subpage-section li {
  color: #4f5f7c;
  font-size: 18px;
  line-height: 1.68;
}

.event-grid {
  gap: 18px;
}

.event-card {
  border: 1px solid var(--rf-line);
  border-radius: 14px;
  box-shadow: var(--rf-shadow-sm);
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.event-card:hover {
  box-shadow: var(--rf-shadow-md);
  transform: translateY(-2px);
  border-color: var(--rf-line-strong);
}

.event-card h2 {
  font-size: 30px;
}

.support-form {
  border: 1px solid var(--rf-line);
  border-radius: 14px;
  box-shadow: var(--rf-shadow-sm);
  padding: 24px;
  gap: 10px;
}

.support-form input,
.support-form textarea {
  box-sizing: border-box;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid #c9d4e8;
  background: #fbfcff;
  transition: border-color 160ms ease, box-shadow 160ms ease, background-color 160ms ease;
}

.support-form input:hover,
.support-form textarea:hover {
  border-color: #a9bbd9;
}

.support-form input:focus,
.support-form textarea:focus {
  border-color: #5c88d3;
  box-shadow: 0 0 0 3px rgba(92, 136, 211, 0.18);
}

.support-form .form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 6px 0 2px;
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
  font-size: 0.98rem;
  text-transform: none;
  letter-spacing: 0;
}

.support-form .form-checkbox input[type="checkbox"] {
  width: auto;
  margin-top: 3px;
}

.form-intent-toggle {
  border: 1px solid #c9d4e8;
  border-radius: 10px;
  padding: 12px;
  margin: 0 0 12px;
}

.form-intent-toggle legend {
  font-family: "Oswald", sans-serif;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 0 6px;
}

.form-intent-options {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.intent-option {
  display: block;
  position: relative;
}

.intent-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.intent-option span {
  display: block;
  text-align: center;
  border: 1px solid #9fb4d8;
  border-radius: 0;
  background: #f2f6ff;
  color: #173a7d;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  font-size: 0.88rem;
  padding: 9px 12px;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease;
}

.intent-option input:checked + span {
  background: #173a7d;
  color: #fff;
  border-color: #173a7d;
}

@media (max-width: 560px) {
  .form-intent-options {
    grid-template-columns: 1fr;
  }
}

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

.partner-logo-grid .partner-logo {
  margin: 0 auto;
}

.events-page-intro {
  margin-bottom: 26px;
}

.btn-primary {
  border-radius: 999px;
  width: fit-content;
  padding: 12px 20px;
}

.form-note {
  font-size: 15px;
  color: #4a5f80;
}

.resource-list {
  padding-left: 22px;
}

.donate-panel {
  border-top: 1px solid var(--rf-line);
  border-bottom: 1px solid var(--rf-line);
  background: linear-gradient(180deg, #f8fbff 0%, #eef4fb 100%);
}

.donate-solid {
  color: var(--rf-ink);
  background: var(--rf-gold);
}

.site-footer {
  background: #0a1326;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-title {
  font-size: 30px;
}

.footer-copy {
  max-width: 640px;
  color: #c8d4ea;
}

.footer-links a {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #f2f6ff;
}

@media (max-width: 1100px) {
  .box-right-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 980px) {
  .header-inner {
    padding: 10px 14px;
    gap: 10px;
  }

  .site-nav a {
    font-size: 11px;
  }
}

@media (max-width: 780px){
  .brand-logo {
    width: 66px;
  }

  .site-nav a {
    font-size: 10px;
  }

  .hero {
    min-height: 520px;
  }

  .mission {
    padding: 42px 0 28px;
  }

  .mission-body {
    font-size: 17px;
  }

  .subpage-hero {
    padding: 56px 0;
  }

  .subpage-section p,
  .subpage-section li {
    font-size: 17px;
  }
}

/* Second-pass editorial layout */
.editorial-section {
  padding: 20px 0 72px;
}

.editorial-row {
  display: grid;
  grid-template-columns: minmax(300px, 1fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: stretch;
  margin-bottom: 24px;
}

.block-panel {
  border: 1px solid var(--rf-line);
  border-radius: 12px;
  padding: 30px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(15, 31, 69, 0.07);
}

.block-kicker {
  margin: 0 0 8px;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rf-blue);
}

.block-title {
  margin: 0 0 14px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.06;
}

.block-body {
  margin: 0 0 14px;
  color: #425370;
  font-size: 18px;
  line-height: 1.62;
}

.editorial-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-transform: uppercase;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: var(--rf-blue);
  text-decoration: none;
  transition: color 160ms ease, transform 160ms ease;
}

.editorial-link:hover {
  color: #082f80;
  transform: translateX(2px);
}

.editorial-media {
  border-radius: 12px;
  overflow: hidden;
  min-height: 290px;
  box-shadow: var(--rf-shadow-md);
}

.editorial-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.04) contrast(1.02);
}

.insider-section {
  background: linear-gradient(132deg, #0a2f82 0%, #0f52cd 56%, #1a66e3 100%);
  padding: 56px 0;
  color: #fff;
}

.insider-grid {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(290px, 0.8fr);
  gap: 26px;
  align-items: center;
}

.insider-title {
  margin: 0 0 10px;
  font-size: clamp(32px, 4vw, 56px);
  line-height: 1.05;
}

.insider-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
}

.insider-form-shell {
  background: rgba(7, 14, 29, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  padding: 18px;
}

.insider-form {
  display: grid;
  gap: 10px;
}

.insider-label {
  font-family: "Oswald", sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 13px;
}

.insider-form input {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 8px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.insider-form input::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.insider-submit {
  border: 0;
  border-radius: 999px;
  padding: 11px 16px;
  background: var(--rf-gold);
  color: #111;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  font-weight: 700;
  transition: filter 160ms ease, transform 160ms ease;
}

.insider-submit:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.insider-status {
  min-height: 1.4em;
  margin: 0;
  color: #f9f9f9;
  font-size: 14px;
}

.donate-jumbo {
  background: #081229;
  color: #fff;
  padding: 76px 0;
}

.donate-jumbo .container {
  max-width: 1200px;
}

.donate-jumbo-inner {
  display: grid;
  gap: 14px;
  justify-items: start;
}

.donate-jumbo-title {
  margin: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-size: clamp(56px, 10vw, 148px);
  line-height: 0.92;
  text-transform: uppercase;
}

.donate-jumbo-btn {
  border-radius: 999px;
  background: var(--rf-gold);
  color: #111;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.06em;
  font-size: 16px;
  padding: 14px 22px;
  font-weight: 700;
  transition: filter 160ms ease, transform 160ms ease;
}

.donate-jumbo-btn:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}

.donate-split {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(300px, 0.95fr);
  gap: 24px;
  align-items: stretch;
}

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

.donate-tier {
  border: 1px solid var(--rf-line);
  border-radius: 10px;
  padding: 16px;
  background: #fff;
  box-shadow: var(--rf-shadow-sm);
  transition: box-shadow 180ms ease, transform 180ms ease, border-color 180ms ease;
}

.donate-tier:hover {
  box-shadow: var(--rf-shadow-md);
  transform: translateY(-2px);
  border-color: var(--rf-line-strong);
}

.donate-tier h3 {
  margin: 0 0 6px;
  font-size: 28px;
}

.donate-tier p {
  margin: 0;
  color: #4a5a75;
}

.donate-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.donate-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 130px;
  padding: 11px 14px;
  border: 2px solid var(--rf-blue);
  border-radius: 999px;
  text-decoration: none;
  color: var(--rf-blue);
  font-family: "Oswald", sans-serif;
}

.donate-cta-pill.primary {
  border-color: var(--rf-gold);
  background: var(--rf-gold);
  color: #111;
}

.site-footer {
  padding: 38px 0 16px;
}

.footer-extended {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 24px;
}

.footer-col h3 {
  margin: 0 0 10px;
  font-size: 20px;
  color: #fff;
}

.footer-col p {
  margin: 0;
  color: #c8d4ea;
  line-height: 1.55;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 8px;
}

.footer-col a {
  color: #eff5ff;
  text-decoration: none;
  text-underline-offset: 3px;
  transition: color 160ms ease;
}

.footer-col a:hover {
  text-decoration: underline;
  color: #ffffff;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.footer-social-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.footer-insider {
  display: grid;
  gap: 8px;
  width: 100%;
}

.footer-insider input {
  box-sizing: border-box;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  padding: 10px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.footer-insider button {
  width: 100%;
  min-width: 0;
  border: 0;
  border-radius: 999px;
  background: var(--rf-gold);
  color: #111;
  font-family: "Oswald", sans-serif;
  padding: 10px 12px;
  cursor: pointer;
  font-weight: 700;
  transition: filter 160ms ease;
}

.footer-insider button:hover {
  filter: brightness(0.95);
}

.footer-bottom {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #98abc8;
  font-size: 14px;
}

.resource-stack {
  display: grid;
  gap: 14px;
}

.resource-card {
  border: 1px solid var(--rf-line);
  border-radius: 10px;
  padding: 18px;
  background: #fff;
  box-shadow: var(--rf-shadow-sm);
  transition: box-shadow 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.resource-card:hover {
  box-shadow: var(--rf-shadow-md);
  border-color: var(--rf-line-strong);
  transform: translateY(-2px);
}

.resource-card h4 {
  margin: 0 0 8px;
  font-size: 24px;
}

.resource-card p {
  margin: 0 0 8px;
}

@media (max-width: 1020px) {
  .editorial-row,
  .insider-grid,
  .donate-split,
  .footer-extended,
  .donate-tier-grid {
    grid-template-columns: 1fr;
  }

  .donate-jumbo-title {
    display: block;
    font-size: clamp(36px, 11vw, 74px);
  }
}

/* Third-pass alignment: Obama-style structure */
:root {
  --rf-cream: #f4ecde;
}

.programs-structure {
  padding: 6px 0 74px;
}

.programs-split {
  display: grid;
  grid-template-columns: minmax(300px, 0.95fr) minmax(420px, 1.2fr);
  gap: 24px;
  align-items: stretch;
}

.programs-lead {
  background: #0a2a78;
  color: #fff;
  padding: 44px 40px 56px;
  position: relative;
  display: grid;
  gap: 18px;
  align-content: start;
  overflow: hidden;
}

.programs-lead::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -170px;
  top: -170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.11);
  pointer-events: none;
}

.programs-lead::before {
  content: "";
  position: absolute;
  width: 280px;
  height: 280px;
  left: -110px;
  bottom: -130px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.programs-lead .block-kicker,
.programs-lead .editorial-link {
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.programs-title {
  margin: 0;
  font-size: clamp(66px, 8.6vw, 134px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.programs-copy {
  margin: 0;
  color: rgba(255, 255, 255, 0.96);
  font-size: 15px;
  line-height: 1.42;
  max-width: 92%;
  position: relative;
  z-index: 1;
}

.programs-subtitle {
  margin: 8px 0 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1;
  color: #ffffff;
  position: relative;
  z-index: 1;
}

.programs-lead-photo {
  width: 100%;
  max-width: 420px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.programs-lead .editorial-link {
  margin-top: 16px;
  font-size: 18px;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 700;
}

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

.program-card {
  border: 0;
  background: #fff;
  padding: 14px;
  display: grid;
  gap: 10px;
}

.program-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}

.program-card h3 {
  margin: 0;
  font-size: 26px;
  line-height: 1;
}

.program-card p {
  margin: 0;
  color: #4f5f7c;
  font-size: 15px;
  line-height: 1.58;
}

.be-insider-section {
  padding: 24px 0 74px;
  background: #fff;
}

.insider-divider {
  height: 6px;
  background: #000;
  margin: 0 0 18px;
}

.be-insider-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-bottom: 18px;
}

.cream-block {
  background: var(--rf-cream);
  padding: 24px;
  border: 0;
}

.be-block {
  border-right: 0;
  display: grid;
  place-content: center;
  text-align: center;
}

.be-block h2,
.insider-block h2 {
  margin: 0 0 10px;
  font-size: clamp(44px, 7vw, 94px);
  line-height: 0.92;
}

.be-block p,
.insider-block p {
  margin: 0;
  color: #424c5f;
  font-size: 17px;
}

.insider-block {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  min-height: 100%;
}

.be-insider-section .insider-form {
  margin-top: auto;
  gap: 12px;
}

.be-insider-section .insider-label {
  color: #293346;
}

.be-insider-section .insider-form input {
  color: #111;
  background: #fff;
  border: 1px solid #bdc8db;
}

.be-insider-section .insider-form input::placeholder {
  color: #56617a;
}

.be-insider-section .insider-submit {
  background: var(--rf-blue);
  color: #fff;
}

.be-insider-section .insider-status {
  color: #1f335a;
}

/* Square treatment for images and buttons */
.donate-btn,
.hero-btn,
.btn-primary,
.insider-submit,
.donate-jumbo-btn,
.donate-cta-pill,
.footer-insider button,
.donate-solid {
  border-radius: 0 !important;
}

img,
.editorial-media,
.program-card,
.block-panel,
.resource-card,
.support-form,
.event-card,
.donate-tier,
.footer-insider input,
.insider-form input {
  border-radius: 0 !important;
}

@media (max-width: 1100px) {
  .programs-split {
    grid-template-columns: 1fr;
  }

  .programs-lead::after {
    display: none;
  }

  .program-cards {
    grid-template-columns: 1fr;
  }

  /* Reset explicit desktop card placement when the grid collapses to one column. */
  .program-cards > .program-card {
    grid-column: auto;
    grid-row: auto;
  }

  .be-insider-grid {
    grid-template-columns: 1fr;
  }

  .be-block {
    border-right: 1px solid #d7cfbf;
    border-bottom: 0;
  }
}

@media (max-width: 780px) {
  .programs-lead {
    padding: 28px 22px 34px;
    gap: 14px;
  }

  .programs-title {
    font-size: clamp(42px, 12vw, 64px);
    line-height: 0.94;
  }

  .programs-copy {
    max-width: 100%;
    font-size: 16px;
    line-height: 1.5;
  }

  .programs-lead-photo {
    max-width: 100%;
  }
}

.partner-logo {
  width: 260px;
  max-width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

/* Visual polish v2 (stronger, no layout-structure changes) */
.site-nav a {
  color: #f7f9ff;
  font-weight: 600;
}

.site-nav a:hover {
  color: #ffd25a;
}

.mission-lead {
  color: #0a152d;
  text-shadow: 0 1px 0 rgba(255,255,255,0.45);
}

.mission-body {
  color: #3d4f71;
}

.program-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 1px solid #d1dbeb;
  box-shadow: 0 14px 36px rgba(12, 28, 62, 0.12);
}

.program-card h3 {
  color: #102243;
}

.program-card p {
  color: #4a5d80;
}

.program-photo {
  filter: saturate(1.1) contrast(1.05);
}

.support-form {
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid #c7d4e8;
  box-shadow: 0 14px 36px rgba(12, 28, 62, 0.1);
}

.support-form label {
  color: #1b2f55;
  font-weight: 700;
}

.support-form input,
.support-form textarea {
  background: #ffffff;
  border: 1px solid #b8c8e1;
}

.donate-btn,
.hero-btn,
.btn-primary,
.insider-submit,
.donate-jumbo-btn,
.footer-insider button {
  border: 1px solid rgba(0,0,0,0.12);
  box-shadow: 0 6px 14px rgba(10, 24, 50, 0.15);
}

.editorial-link {
  color: #0b3ea8;
  font-weight: 700;
}

.editorial-link:hover {
  color: #072e7b;
}

.cream-block {
  background: #f3ecdf;
}

.footer-col h3 {
  color: #ffffff;
  letter-spacing: 0.02em;
}

.footer-col p,
.footer-bottom {
  color: #b9c9e4;
}

/* Homeless Outreach visual polish (no layout changes) */
.page-homeless .subpage-section {
  padding-top: 48px;
  padding-bottom: 48px;
}

.page-homeless .homeless-video-hero {
  padding: 0;
}

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

.page-homeless .homeless-video-hero .hero-words {
  z-index: 3;
  transition: opacity 320ms ease, transform 320ms ease;
}

.page-homeless .homeless-video-hero.is-video-playing .hero-words {
  opacity: 0;
  transform: translate(-50%, -54%);
  pointer-events: none;
}

.page-homeless .homeless-hero-media {
  position: absolute;
  inset: 0;
  background: #0b1222;
}

.page-homeless .homeless-hero-video-frame {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.page-homeless .subpage-section h2 {
  font-size: clamp(34px, 4.2vw, 52px);
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin-bottom: 14px;
  color: #0f2244;
}

.page-homeless .subpage-section h3 {
  font-size: clamp(24px, 2.7vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.008em;
  margin: 28px 0 10px;
  color: #18325f;
}

.page-homeless .subpage-section p,
.page-homeless .subpage-section li {
  font-size: 17px;
  line-height: 1.7;
  color: #33476e;
}

.page-homeless .form-note {
  color: #4b5f88;
  font-size: 14px;
  letter-spacing: 0.01em;
}

.page-homeless .support-form {
  background: linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  border-color: #c4d2e8;
  box-shadow: 0 18px 36px rgba(9, 24, 55, 0.12);
}

.page-homeless .support-form label {
  color: #112a51;
  letter-spacing: 0.01em;
}

.page-homeless .support-form input,
.page-homeless .support-form textarea {
  border-color: #afc0dc;
}

.page-homeless .resource-stack {
  gap: 18px;
}

.page-homeless .resource-card {
  padding: 22px;
  border-color: #cad6ea;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 16px 34px rgba(14, 31, 63, 0.1);
}

.page-homeless .resource-card:hover {
  border-color: #9bb3da;
  box-shadow: 0 22px 44px rgba(14, 31, 63, 0.16);
}

.page-homeless .resource-card h4 {
  font-size: clamp(30px, 3.2vw, 40px);
  line-height: 0.96;
  letter-spacing: -0.012em;
  color: #102548;
  margin-bottom: 8px;
}

.page-homeless .partner-logo {
  width: 240px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
  filter: saturate(1.08) contrast(1.03);
}

.page-homeless .editorial-link {
  font-size: 15px;
  letter-spacing: 0.04em;
  color: #0a3a9b;
  transition: color 180ms ease, transform 180ms ease, text-shadow 180ms ease;
}

.page-homeless .editorial-link:hover {
  color: #072f7f;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
}

.page-homeless .homeless-mission-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 420px);
  gap: clamp(18px, 3vw, 40px);
  align-items: start;
}

.page-homeless .homeless-mission-copy > :first-child {
  margin-top: 0;
}

.page-homeless .homeless-mission-video-wrap {
  align-self: start;
  border: 1px solid #bfcde4;
  border-radius: 18px;
  overflow: hidden;
  background: #0b1222;
  box-shadow: 0 16px 32px rgba(8, 22, 50, 0.18);
}

.page-homeless .homeless-mission-video {
  display: block;
  width: 100%;
  height: auto;
  max-height: 720px;
  background: #000;
}

@media (max-width: 980px) {
  .page-homeless .homeless-mission-layout {
    grid-template-columns: 1fr;
  }

  .page-homeless .homeless-mission-video-wrap {
    max-width: 520px;
    width: 100%;
    margin: 0 auto;
  }
}

/* Community Outreach best-practice polish (no layout changes) */
.page-community .subpage-section p {
  max-width: 74ch;
}

.page-community .partner-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.page-community .partner-item {
  margin: 0;
}

.page-community .partner-name {
  margin: 0 0 8px;
  font-size: clamp(30px, 3.4vw, 42px);
  line-height: 0.98;
  letter-spacing: -0.012em;
  color: #102548;
}

.page-community .resource-card {
  border-color: #cad6ea;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: 0 14px 30px rgba(10, 24, 52, 0.1);
}

.page-community .partner-logo {
  width: 240px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 12px;
}

.page-community .page-trust-note {
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 14px;
  color: #4c6087;
  letter-spacing: 0.01em;
}

/* Controlled palette refresh (no layout changes) */
body {
  background: #ffffff;
  color: var(--rf-ink);
}

.site-header {
  background: #000;
}

.site-nav a:hover {
  color: #ffe09a;
}

.mission-lead {
  color: var(--rf-ink);
}

.mission-body,
.subpage-section p,
.subpage-section li,
.resource-card p,
.program-card p,
.box-text {
  color: var(--rf-slate-2);
}

.subpage-hero {
  background: linear-gradient(118deg, var(--rf-blue-deep) 0%, var(--rf-blue) 52%, var(--rf-blue-soft) 100%);
}

.programs-lead {
  background: var(--rf-blue-deep);
}

.donate-jumbo {
  background: var(--rf-blue-deep);
}

.editorial-link {
  color: var(--rf-link);
}

.editorial-link:hover {
  color: var(--rf-link-hover);
}

.cream-block {
  background: var(--rf-cream);
}

.donate-btn,
.hero-btn,
.btn-primary,
.insider-submit,
.donate-jumbo-btn,
.footer-insider button,
.donate-solid {
  background: var(--rf-gold);
  border-color: var(--rf-gold);
}

/* Typography system v2 (no layout structure changes) */
body {
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
  font-size: 18px;
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
.hero-phrase,
.block-title,
.programs-title,
.donate-jumbo-title,
.site-nav a,
.donate-btn,
.hero-btn,
.btn-primary,
.insider-submit,
.footer-insider button {
  font-family: "Oswald", Arial, Helvetica, sans-serif;
}

h1,
.hero-title {
  font-size: clamp(64px, 8vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.018em;
  font-weight: 700;
}

h2 {
  font-size: clamp(40px, 5vw, 52px);
  line-height: 0.98;
  letter-spacing: -0.014em;
  font-weight: 700;
}

h3 {
  font-size: clamp(28px, 3.6vw, 36px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  font-weight: 700;
}

p,
li,
input,
textarea,
select,
label,
.form-note,
.insider-status {
  font-family: "Source Sans 3", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
}

.site-nav a,
.donate-btn,
.hero-btn,
.btn-primary,
.insider-submit,
.footer-insider button,
.editorial-link,
.block-kicker,
.insider-label,
.support-form label {
  font-weight: 600;
}

.mission-body,
.block-body,
.subpage-section p,
.subpage-section li,
.resource-card p,
.program-card p {
  max-width: 72ch;
}

.editorial-link {
  text-underline-offset: 4px;
  text-decoration-thickness: 1.5px;
}

.editorial-link:hover,
.editorial-link:focus-visible {
  text-decoration: underline;
}

.support-form label,
.insider-label {
  font-size: 0.94rem;
  letter-spacing: 0.015em;
}

@media (max-width: 780px) {
  body {
    font-size: 16px;
  }
}

/* Mobile navigation (progressive enhancement) */
.nav-toggle {
  display: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: transparent;
  width: 44px;
  height: 38px;
  padding: 7px 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  margin: 5px 0;
}

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

  .site-header .site-nav {
    display: flex;
    position: static;
    padding: 0;
    border: 0;
    background: transparent;
    flex-wrap: wrap;
    gap: 8px 12px;
    justify-content: flex-start;
    margin-top: 8px;
  }

  .site-header .site-nav a {
    font-size: 14px;
    padding: 8px 0;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .site-header.nav-enhanced .nav-toggle {
    display: inline-block;
    justify-self: center;
    margin-top: 8px;
  }

  .site-header.nav-enhanced .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    background: #000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
    padding: 12px 18px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    z-index: 30;
  }

  .site-header.nav-enhanced.nav-open .site-nav {
    display: flex;
    margin-top: 0;
  }

  .site-header.nav-enhanced .site-nav a {
    min-height: 44px;
  }

  .site-nav .nav-dropdown {
    display: block;
    width: 100%;
  }

  .site-nav .nav-submenu {
    position: static;
    display: block;
    min-width: 0;
    border: 0;
    box-shadow: none;
    padding: 0 0 0 14px;
    margin-top: 0;
  }

  .site-nav .nav-submenu a {
    font-size: 13px;
    opacity: 0.92;
  }
}

.site-header .site-nav a:focus-visible,
.partner-logo-grid a:focus-visible,
.resource-card > a:focus-visible {
  outline: 3px solid #7db3ff;
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-item {
    opacity: 1 !important;
    transform: none !important;
  }
}

.legal-page h1 {
  font-size: clamp(24px, 3.2vw, 30px);
  line-height: 1.1;
}

.legal-page h2 {
  font-size: clamp(19px, 2.4vw, 23px);
  line-height: 1.18;
  margin-top: 18px;
}

.legal-page h3 {
  font-size: clamp(16px, 1.9vw, 19px);
  line-height: 1.24;
}

/* Visual system pass v3 (no layout structure changes) */
:root {
  --vs-section-pad: clamp(44px, 6.2vw, 84px);
  --vs-card-pad: clamp(18px, 2.2vw, 26px);
  --vs-radius: 0;
  --vs-ease: 260ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.mission,
.programs-structure,
.be-insider-section,
.donate-jumbo,
.subpage-section {
  padding-top: var(--vs-section-pad);
  padding-bottom: var(--vs-section-pad);
}

.mission {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.subpage-main .subpage-section:nth-of-type(odd) {
  background: #ffffff;
}

.subpage-main .subpage-section:nth-of-type(even) {
  background: linear-gradient(180deg, #f8fbff 0%, #f4f8ff 100%);
}

.subpage-section {
  border-top: 0;
}

.subpage-main .subpage-section {
  position: relative;
}

.subpage-main .subpage-section + .subpage-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(1120px, calc(100% - 40px));
  height: 1px;
  background: linear-gradient(90deg, rgba(28, 79, 169, 0), rgba(28, 79, 169, 0.38), rgba(28, 79, 169, 0));
}

.program-card,
.resource-card,
.event-card,
.donate-tier,
.support-form,
.block-panel {
  padding: var(--vs-card-pad);
  border-color: #c6d4e8;
  box-shadow: 0 12px 28px rgba(14, 30, 63, 0.11);
  transition: transform var(--vs-ease), box-shadow var(--vs-ease), border-color var(--vs-ease);
}

.program-card:hover,
.resource-card:hover,
.event-card:hover,
.donate-tier:hover,
.block-panel:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 44px rgba(14, 30, 63, 0.17);
  border-color: #9eb7dc;
}

.program-photo,
.subpage-hero-image,
.editorial-media img {
  filter: saturate(1.08) contrast(1.04);
}

.program-photo {
  object-position: center 35%;
}

.partner-logo {
  width: 240px;
  height: 74px;
  object-fit: contain;
  object-position: left center;
}

.program-card h3::before,
.resource-card h4::before,
.donate-tier h3::before {
  content: none;
  display: none;
}

.impact-snapshot .donate-tier h3::before {
  content: "";
  width: 11px;
  height: 11px;
  display: inline-block;
  margin-right: 8px;
  background: var(--rf-blue);
  border: 2px solid #ffffff;
  box-shadow: 0 0 0 1px rgba(15, 47, 115, 0.25);
  vertical-align: middle;
}

.donate-btn,
.hero-btn,
.btn-primary,
.insider-submit,
.donate-jumbo-btn,
.footer-insider button,
.donate-solid,
.donate-cta-pill.primary {
  font-size: 0.92rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  box-shadow: 0 8px 16px rgba(17, 35, 69, 0.2);
}

.donate-cta-pill,
.box-link,
.editorial-link {
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  font-weight: 600;
}

.box-link,
.editorial-link {
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color var(--vs-ease), border-color var(--vs-ease), transform var(--vs-ease);
}

.box-link:hover,
.editorial-link:hover {
  border-color: currentColor;
}

.site-footer {
  background: linear-gradient(180deg, #081022 0%, #050c1b 100%);
  border-top: 2px solid rgba(231, 173, 47, 0.35);
}

.footer-extended {
  gap: 30px;
}

.footer-col h3 {
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}

.footer-col p,
.footer-col li,
.footer-bottom {
  color: #b7c6e1;
}

.footer-bottom {
  border-top-color: rgba(255, 255, 255, 0.2);
}

.reveal-item {
  opacity: 0;
  transform: translateY(16px);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 520ms var(--vs-ease), transform 520ms var(--vs-ease);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-item,
  .reveal-item.is-visible {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Remove heading icon accents on Community Outreach page */
.page-community .program-card h3::before,
.page-community .resource-card h4::before,
.page-community .donate-tier h3::before,
.page-community .partner-name::before {
  content: none;
  display: none;
}

/* Consistency tune v4 (remove one-offs and align spacing/buttons/logos) */
:root {
  --vs-btn-height: 46px;
  --vs-btn-pad-x: 20px;
  --vs-logo-height: 74px;
}

.kicker-light {
  color: #d8e6ff;
}

.section-title-spaced {
  margin-top: 24px;
}

.brand-logo {
  width: clamp(72px, 6vw, 88px);
  height: auto;
}

.donate-btn,
.hero-btn,
.btn-primary,
.insider-submit,
.donate-jumbo-btn,
.footer-insider button,
.donate-solid,
.donate-cta-pill,
.donate-cta-pill.primary {
  min-height: var(--vs-btn-height);
  padding-inline: var(--vs-btn-pad-x);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.partner-logo,
.page-homeless .partner-logo,
.page-community .partner-logo {
  width: min(240px, 100%);
  height: var(--vs-logo-height);
  object-fit: contain;
  object-position: left center;
  margin-bottom: 14px;
  display: block;
}

.subpage-section .container.narrow > h2 {
  margin-bottom: 14px;
}

.subpage-section .container.narrow > h3 {
  margin-top: 24px;
  margin-bottom: 10px;
}

.concert-series-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(200px, 280px);
  gap: 20px;
  align-items: start;
  margin-bottom: 20px;
}

.concert-series-copy h2 {
  margin-bottom: 10px;
}

.concert-series-copy p {
  margin: 0 0 14px;
  max-width: 60ch;
}

.concert-series-copy h3 {
  margin-top: 18px;
  margin-bottom: 10px;
}

.concert-series-copy .resource-list {
  margin: 0 0 14px;
  padding-left: 22px;
}

.concert-series-copy .resource-list li {
  margin-bottom: 8px;
}

.past-events-panel h3 {
  margin-top: 0;
  margin-bottom: 10px;
  text-align: center;
}

.past-events-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.past-event-photo {
  width: 86%;
  height: auto;
  object-fit: contain;
  object-position: center top;
  display: block;
  margin: 0 auto;
  background: #f0f4fb;
}

@media (max-width: 780px) {
  .concert-series-layout {
    grid-template-columns: 1fr;
  }

  .past-events-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  width: min(180px, 100%);
  height: auto;
  display: block;
  margin-bottom: 10px;
}

.about-intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(260px, 32vw, 420px);
  gap: 28px;
  align-items: start;
}

.about-main-copy {
  min-width: 0;
}

.about-mission-emphasis {
  margin: 6px 0 14px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(38px, 5.4vw, 64px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #0c1e3f;
}

.about-page-logo {
  width: min(380px, 100%);
  height: auto;
  display: block;
  margin: 6px 0 0;
  justify-self: end;
  border-radius: 8px !important;
}

.about-team-section {
  padding-top: clamp(28px, 4vw, 44px);
}

.about-team-dropdown {
  border: 1px solid rgba(12, 30, 63, 0.16);
  background: #fff;
  box-shadow: var(--rf-shadow-sm);
  padding: 0;
}

.about-team-dropdown > summary {
  list-style: none;
  cursor: pointer;
  font-family: "Oswald", sans-serif;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1;
  padding: 16px 18px;
  color: #0c1e3f;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.about-team-dropdown > summary::-webkit-details-marker {
  display: none;
}

.about-team-dropdown > summary::after {
  content: "+";
  font-size: 28px;
  color: #355280;
}

.about-team-dropdown[open] > summary::after {
  content: "−";
}

.about-team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 18px 18px;
}

.about-team-card {
  border: 1px solid rgba(12, 30, 63, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  box-shadow: var(--rf-shadow-sm);
  padding: 12px;
  display: grid;
  align-content: start;
  gap: 8px;
}

.about-team-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.about-team-photo-top {
  object-position: top center;
}

.about-team-card h3 {
  margin: 0;
  font-size: clamp(25px, 2.6vw, 34px);
  line-height: 1.05;
}

.about-team-card p {
  margin: 0;
}

@media (max-width: 900px) {
  .about-intro-layout {
    grid-template-columns: 1fr;
  }

  .about-page-logo {
    width: min(300px, 100%);
    justify-self: start;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
  }
}

/* Homepage events split section */
.events-structure {
  padding-top: var(--vs-section-pad);
  padding-bottom: var(--vs-section-pad);
}

.events-lead {
  background: #e3c16a;
  color: #101d35;
}

.events-lead::after {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -150px;
  top: -170px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.events-lead::before {
  content: "";
  position: absolute;
  width: 250px;
  height: 250px;
  left: -90px;
  bottom: -120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  pointer-events: none;
}

.events-lead .block-kicker,
.events-lead .programs-title,
.events-lead .programs-copy,
.events-lead .editorial-link {
  color: #101d35;
  position: relative;
  z-index: 1;
}

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

.events-cards .program-card {
  min-height: 100%;
}

.events-cards .program-photo {
  object-position: top center;
}

.event-photo-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, #e5edf9 0%, #d4e1f4 100%);
  color: #29497a;
  font-family: "Oswald", Arial, Helvetica, sans-serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 1100px) {
  .events-cards {
    grid-template-columns: 1fr;
  }
}

/* Events page feature cards */
.events-feature-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  align-items: start;
}

.events-feature-grid .event-card {
  display: grid;
  gap: 12px;
  padding: 22px;
  align-content: start;
}

.events-feature-grid .event-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.events-feature-grid .event-card:hover {
  box-shadow: none;
  transform: none;
  border-color: transparent;
}

.events-feature-grid .event-card h2 {
  margin: 2px 0 0;
  line-height: 1.06;
}

.events-feature-grid .event-card p {
  margin: 0;
}

.events-feature-grid .event-card .editorial-link {
  margin-top: 2px;
  justify-self: start;
}

.events-gallery-link-row {
  margin: 10px 0 0;
  text-align: left;
  padding-left: 22px;
}

.events-poster-strip {
  margin-bottom: 18px;
}

.events-poster-strip > h2 {
  margin-bottom: 10px;
}

.poster-scroll {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(210px, 26vw, 320px);
  gap: 10px;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  padding: 4px 2px 8px;
}

.poster-card {
  margin: 0;
  scroll-snap-align: start;
  background: #fff;
  box-shadow: var(--rf-shadow-sm);
  display: grid;
  place-items: center;
  min-height: 430px;
}

.poster-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.event-card-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
  object-position: top center;
  display: block;
  background: transparent;
}

@media (max-width: 980px) {
  .events-feature-grid {
    grid-template-columns: 1fr;
  }
}

.events-media-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.events-gallery-column > h2,
.past-performers-column > h2 {
  margin-bottom: 12px;
}

.events-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.events-gallery-item {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: var(--rf-shadow-sm);
}

.events-gallery-item img {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.performer-video-stack {
  display: grid;
  gap: 8px;
}

.performer-video-stack iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 10px;
  box-shadow: var(--rf-shadow-sm);
  background: #000;
}

@media (max-width: 1180px) {
  .events-media-layout {
    grid-template-columns: 1fr;
  }

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

  .events-gallery-item {
    width: 100%;
  }
}

@media (max-width: 780px) {
  .events-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .events-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Performance + mobile rhythm pass */
.resource-stack {
  content-visibility: auto;
  contain-intrinsic-size: 1px 820px;
}

.form-status,
.insider-status {
  color: #203556;
}

@media (max-width: 900px) {
  :root {
    --vs-section-pad: clamp(30px, 7.5vw, 42px);
    --vs-card-pad: clamp(14px, 3.3vw, 18px);
  }

  .subpage-hero-full {
    min-height: 460px;
  }

  .subpage-section p,
  .subpage-section li {
    line-height: 1.58;
  }

  .support-form {
    padding: 18px;
    gap: 8px;
  }

  .footer-extended {
    gap: 18px;
  }
}

@media (max-width: 640px) {
  :root {
    --vs-section-pad: clamp(24px, 7vw, 34px);
  }

  .container {
    padding-inline: 14px;
  }

  .subpage-hero-full {
    min-height: 360px;
  }

  .events-media-layout {
    gap: 10px;
  }

  .events-gallery-column > h2,
  .past-performers-column > h2 {
    margin-bottom: 8px;
  }

  .events-gallery-grid,
  .performer-video-stack {
    gap: 6px;
  }
}

/* Donate page spacing tune */
.page-donate .subpage-section:first-of-type {
  padding-top: clamp(38px, 5vw, 58px);
  padding-bottom: clamp(42px, 5.8vw, 70px);
}

.page-donate .subpage-section:first-of-type .container.narrow > .block-kicker {
  margin: 0 0 8px;
}

.page-donate .subpage-section:first-of-type .container.narrow > h1 {
  margin: 0 0 12px;
  font-size: clamp(52px, 6.4vw, 68px);
  line-height: 0.96;
}

.page-donate .subpage-section:first-of-type .container.narrow > p:not(.block-kicker) {
  margin: 0 0 12px;
}

.page-donate .donate-cta-row {
  margin-top: 12px;
  margin-bottom: 14px;
}

.page-donate .donate-cta-stripe-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.page-donate .stripe-donate-option {
  display: grid;
  gap: 8px;
  align-content: start;
}

.page-donate .stripe-donate-label {
  margin: 0;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #1b2f55;
}

.page-donate .stripe-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  padding: 11px 14px;
  border: 2px solid var(--rf-gold);
  background: var(--rf-gold);
  color: #111;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  transition: background-color 160ms ease, border-color 160ms ease, transform 160ms ease;
}

.page-donate .stripe-link-btn:hover,
.page-donate .stripe-link-btn:focus-visible {
  background: #f0c75f;
  border-color: #f0c75f;
  transform: translateY(-1px);
}

.page-donate .founding-tier-stripe {
  margin-top: auto;
  display: grid;
  gap: 8px;
}

.page-donate .founding-tier-stripe stripe-buy-button {
  width: 100%;
}

@media (max-width: 980px) {
  .page-donate .donate-cta-stripe-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .page-donate .donate-cta-stripe-row {
    grid-template-columns: 1fr;
  }
}

.page-donate .section-title-spaced {
  margin-top: 18px;
  margin-bottom: 12px;
}

.page-donate .donate-tier-grid {
  margin-top: 10px;
  gap: 12px;
}

.page-donate .donate-tier-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.page-donate .donate-tier-featured {
  border-color: rgba(197, 148, 17, 0.9);
  background: linear-gradient(180deg, #fffdf7 0%, #fff3cf 100%);
  box-shadow: 0 12px 28px rgba(12, 30, 63, 0.12);
}

.page-donate .donate-tier-featured h3 {
  color: #7d5f16;
}

.page-donate .insider-section {
  padding-top: clamp(42px, 5vw, 62px);
  padding-bottom: clamp(42px, 5vw, 62px);
}

.founding-member-section {
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(40px, 6vw, 70px);
  background:
    radial-gradient(circle at top right, rgba(223, 177, 57, 0.14), transparent 34%),
    linear-gradient(180deg, #fffaf0 0%, #f4f7fd 100%);
}

.founding-member-shell {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  align-items: start;
}

.founding-member-lead {
  max-width: none;
}

.founding-member-copy {
  margin: 0 0 14px;
}

.founding-benefits {
  margin-top: 20px;
  padding: 18px;
  border: 1px solid rgba(12, 30, 63, 0.12);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--rf-shadow-sm);
}

.founding-benefits h3,
.founding-member-card h3 {
  margin: 0 0 8px;
}

.founding-benefits-list {
  margin-bottom: 0;
}

.founding-member-panel {
  min-width: 0;
}

.founding-member-card {
  padding: 22px;
  border: 1px solid rgba(12, 30, 63, 0.14);
  background: #fff;
  box-shadow: var(--rf-shadow-md);
}

.founding-member-eyebrow {
  margin: 0 0 8px;
  font-family: "Oswald", sans-serif;
  font-size: 14px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7d5f16;
}

.founding-member-note {
  margin: 0;
  color: #5c6781;
  font-size: 15px;
}

.founding-member-close-note {
  margin-top: 18px;
}

.founding-choice-group {
  margin: 18px 0;
  padding: 0;
  border: 0;
}

.founding-choice-group legend {
  margin-bottom: 10px;
  padding: 0;
  font-family: "Oswald", sans-serif;
  font-size: 21px;
  color: #0c1e3f;
}

.founding-toggle-row {
  display: grid;
  gap: 10px;
}

.founding-toggle {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  padding: 12px 14px;
  border: 1px solid rgba(12, 30, 63, 0.12);
  background: #f8fbff;
  cursor: pointer;
}

.founding-toggle input {
  margin-top: 4px;
}

.founding-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: start;
}

.founding-tier-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 16px;
  border: 1px solid rgba(12, 30, 63, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
  box-shadow: var(--rf-shadow-sm);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.founding-tier-card:hover {
  transform: none;
  box-shadow: var(--rf-shadow-md);
}

.founding-tier-card.is-selected {
  border-color: rgba(197, 148, 17, 0.9);
  box-shadow: 0 18px 38px rgba(12, 30, 63, 0.14);
  background: linear-gradient(180deg, #fffdf7 0%, #fff6dc 100%);
}

.founding-tier-card.tier-entry {
  border-color: rgba(12, 30, 63, 0.08);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.founding-tier-card.tier-popular {
  position: relative;
  border-color: rgba(197, 148, 17, 0.94);
  background: linear-gradient(180deg, #fffef8 0%, #fff4cf 100%);
  box-shadow: 0 24px 44px rgba(12, 30, 63, 0.2);
}

.founding-tier-card.tier-popular:hover {
  transform: none;
}

.founding-tier-card.tier-premium {
  border-color: rgba(125, 95, 22, 0.44);
}

.founding-tier-name {
  margin: 0 0 6px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(24px, 3vw, 30px);
  color: #0c1e3f;
}

.founding-tier-amount {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
  color: #7d5f16;
}

.founding-tier-copy {
  margin: 0 0 14px;
  color: #44516c;
}

.founding-tier-anchor {
  margin: -4px 0 12px;
  font-weight: 700;
  color: #0f2c61;
}

.founding-tier-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 8px;
  padding: 4px 9px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #dfb13a;
  color: #111;
}

.founding-tier-benefits {
  margin: 0 0 14px;
}

.founding-tier-benefits li {
  margin: 0 0 6px;
}

.founding-tier-select {
  display: inline-flex;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: 100%;
  margin-top: auto;
  padding: 11px 14px;
  border: 2px solid var(--rf-blue);
  background: transparent;
  color: var(--rf-blue);
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  font-size: 16px;
  cursor: pointer;
}

.founding-tier-select::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, rgba(28, 79, 169, 0.08), rgba(255, 255, 255, 0), rgba(28, 79, 169, 0.14));
  transform: translateX(-105%);
  transition: transform 280ms ease;
}

.founding-tier-select:hover::after,
.founding-tier-select:focus-visible::after {
  transform: translateX(0);
}

.founding-tier-card.is-selected .founding-tier-select {
  border-color: var(--rf-gold);
  background: var(--rf-gold);
  color: #111;
}

.founding-member-cta-group {
  margin-top: 18px;
  display: grid;
  gap: 10px;
}

.founding-member-selection {
  margin: 0;
  font-weight: 700;
  color: #0c1e3f;
}

.founding-member-cta {
  min-width: 0;
}

@media (max-width: 1320px) {
  .founding-tier-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .founding-tier-grid {
    grid-template-columns: 1fr;
  }

  .founding-tier-card.tier-popular,
  .founding-tier-card.tier-popular:hover {
    transform: none;
  }
}

.page-donate .founding-tier-grid .founding-tier-card {
  --tier-stagger: 0;
}

.page-donate .founding-tier-grid .founding-tier-card:nth-child(1) {
  --tier-stagger: 1;
}

.page-donate .founding-tier-grid .founding-tier-card:nth-child(2) {
  --tier-stagger: 2;
}

.page-donate .founding-tier-grid .founding-tier-card:nth-child(3) {
  --tier-stagger: 3;
}

.page-donate .founding-tier-grid .founding-tier-card.reveal-item.is-visible {
  transition-delay: calc(var(--tier-stagger) * 90ms);
}

@media (prefers-reduced-motion: no-preference) {
  .page-donate .founding-tier-card.tier-popular {
    animation: tierPopularBreath 4.2s ease-in-out infinite;
  }

  .page-donate .founding-tier-card.tier-popular:hover,
  .page-donate .founding-tier-card.tier-popular:focus-within {
    animation-play-state: paused;
  }

  .page-donate .founding-tier-card.tier-popular .founding-tier-badge {
    animation: tierBadgePulse 3s ease-in-out infinite;
  }
}

@keyframes tierPopularBreath {
  0%,
  100% {
    box-shadow: 0 24px 44px rgba(12, 30, 63, 0.2);
    transform: translateY(0);
  }

  50% {
    box-shadow: 0 30px 54px rgba(12, 30, 63, 0.24);
    transform: translateY(-2px);
  }
}

@keyframes tierBadgePulse {
  0%,
  100% {
    transform: scale(1);
    filter: brightness(1);
  }

  50% {
    transform: scale(1.03);
    filter: brightness(1.06);
  }
}

.founding-promo {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1200;
  width: min(360px, calc(100vw - 24px));
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at top right, rgba(255, 210, 90, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(7, 19, 43, 0.98), rgba(17, 39, 76, 0.97));
  color: #f8fbff;
  box-shadow: 0 22px 54px rgba(12, 30, 63, 0.36);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.founding-promo.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.founding-promo-kicker {
  margin: 0 0 8px;
  font-family: "Oswald", sans-serif;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ffd25a;
}

.founding-promo h2 {
  margin: 0 0 8px;
  font-size: clamp(28px, 4vw, 34px);
  line-height: 0.98;
  color: #fff;
}

.founding-promo p {
  margin: 0 0 14px;
  color: #dbe7fa;
}

.founding-promo-dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 6px 8px;
  border: 0;
  background: transparent;
  color: #dbe7fa;
  font: inherit;
  cursor: pointer;
}

.founding-promo-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 16px;
  background: var(--rf-gold);
  color: #111;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  font-size: 18px;
  box-shadow: var(--rf-shadow-sm);
}

@media (max-width: 680px) {
  .founding-member-card,
  .founding-benefits {
    padding: 18px;
  }

  .founding-promo {
    right: 12px;
    left: 12px;
    width: auto;
    max-width: calc(100vw - 24px);
    bottom: 12px;
    padding: 16px 16px 14px;
    border-radius: 18px;
  }

  .founding-promo h2 {
    font-size: clamp(24px, 8vw, 30px);
  }

  .founding-promo p {
    font-size: 15px;
    line-height: 1.55;
  }

  .founding-promo-dismiss {
    top: 8px;
    right: 8px;
    min-width: 44px;
    min-height: 44px;
  }

  .founding-promo-cta {
    width: 100%;
    font-size: 17px;
  }

  .footer-insider {
    gap: 10px;
  }

  .page-community #support-form .support-form,
  .page-crisis #support-form .support-form {
    padding: 16px;
    overflow-x: clip;
  }
}

/* Final mobile guard for homepage "What We Do" section */
@media (max-width: 900px) {
  #community-outreach .program-cards {
    grid-template-columns: 1fr !important;
  }

  #community-outreach .program-cards > .program-card {
    grid-column: auto !important;
    grid-row: auto !important;
  }
}

/* Keep homepage hero title/tagline from colliding on mobile. */
@media (max-width: 780px) {
  .hero .hero-words {
    width: min(94vw, 560px);
  }

  .hero .hero-title {
    font-size: clamp(34px, 11vw, 48px);
    line-height: 0.98;
    letter-spacing: 0.03em;
    --hero-offset: -50px;
  }

  .hero .hero-tagline {
    font-size: clamp(16px, 5.2vw, 24px);
    line-height: 1.18;
    letter-spacing: 0.03em;
    --hero-offset: 42px;
  }
}

@media (max-width: 520px) {
  .hero .hero-title {
    --hero-offset: -42px;
  }

  .hero .hero-tagline {
    --hero-offset: 34px;
  }
}

.home-news-section {
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.news-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin: 14px 0 10px;
}

.news-card {
  display: grid;
  gap: 8px;
  align-content: start;
}

.news-card h3 {
  margin: 0;
  font-size: clamp(24px, 2.3vw, 30px);
  line-height: 1.08;
}

.news-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border: 1px solid #d7e1f3;
}

.news-source {
  margin: 0;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #34507f;
  font-weight: 700;
}

.news-card .editorial-link {
  margin-top: 4px;
}

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

@media (max-width: 640px) {
  .news-card-grid {
    grid-template-columns: 1fr;
  }
}

.toy-dropoff-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.toy-dropoff-gallery-item {
  margin: 0;
  background: #fff;
  box-shadow: var(--rf-shadow-sm);
  overflow: hidden;
}

.toy-dropoff-gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

@media (max-width: 1100px) {
  .toy-dropoff-gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .toy-dropoff-gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .toy-dropoff-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* Sitewide motion pass */
.site-nav a {
  position: relative;
  text-decoration: none;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

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

.nav-toggle span {
  transition: transform 220ms ease, opacity 220ms ease, background-color 220ms ease;
  transform-origin: center;
}

.site-header.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.donate-btn,
.hero-btn,
.btn-primary,
.donate-jumbo-btn,
.donate-cta-pill,
.insider-submit,
.footer-insider button,
.founding-tier-select,
.box-link,
.editorial-link {
  transition:
    transform 180ms cubic-bezier(0.2, 0.65, 0.2, 1),
    box-shadow 180ms cubic-bezier(0.2, 0.65, 0.2, 1),
    background-color 180ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.donate-btn:hover,
.hero-btn:hover,
.btn-primary:hover,
.donate-jumbo-btn:hover,
.donate-cta-pill:hover,
.insider-submit:hover,
.footer-insider button:hover,
.founding-tier-select:hover,
.box-link:hover,
.editorial-link:hover {
  transform: translateY(-1px);
}

.donate-btn:active,
.hero-btn:active,
.btn-primary:active,
.donate-jumbo-btn:active,
.donate-cta-pill:active,
.insider-submit:active,
.footer-insider button:active,
.founding-tier-select:active {
  transform: translateY(0) scale(0.99);
}

.program-photo,
.news-card-image,
.poster-card img,
.toy-dropoff-gallery-item img {
  transition: transform 420ms cubic-bezier(0.2, 0.65, 0.2, 1), filter 420ms ease;
}

.program-card:hover .program-photo,
.news-card:hover .news-card-image,
.poster-card:hover img,
.toy-dropoff-gallery-item:hover img {
  transform: scale(1.02);
  filter: saturate(1.06);
}

.footer-social-links a {
  transition: transform 180ms cubic-bezier(0.2, 0.65, 0.2, 1), opacity 180ms ease;
}

.footer-social-links a:hover,
.footer-social-links a:focus-visible {
  transform: translateY(-2px);
}

.footer-social-icon {
  transition: transform 200ms ease;
}

.footer-social-links a:hover .footer-social-icon,
.footer-social-links a:focus-visible .footer-social-icon {
  transform: scale(1.07);
}

.reveal-item.is-visible {
  transition-delay: var(--reveal-delay, 0ms);
}

.form-status,
.insider-status {
  min-height: 1.25em;
  transition: color 180ms ease, opacity 180ms ease, transform 180ms ease;
}

.form-status[data-state="success"],
.insider-status[data-state="success"] {
  color: #186235;
}

.form-status[data-state="error"],
.insider-status[data-state="error"] {
  color: #8f2332;
}

.form-status.status-burst,
.insider-status.status-burst {
  animation: twrStatusIn 260ms ease;
}

@media (prefers-reduced-motion: no-preference) {
  .motion-ready .site-header {
    animation: twrHeaderIn 420ms cubic-bezier(0.2, 0.65, 0.2, 1) both;
  }

  .motion-ready .hero-overlay,
  .motion-ready .hero-brand-box {
    animation: twrHeroFadeUp 620ms cubic-bezier(0.2, 0.65, 0.2, 1) both;
  }

  .motion-ready .subpage-hero h1 {
    animation: twrHeroFadeUp 560ms cubic-bezier(0.2, 0.65, 0.2, 1) 80ms both;
  }

  .motion-ready .subpage-hero p,
  .motion-ready .subpage-hero .editorial-link {
    animation: twrHeroFadeUp 560ms cubic-bezier(0.2, 0.65, 0.2, 1) 150ms both;
  }
}

@keyframes twrHeaderIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes twrHeroFadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes twrStatusIn {
  from {
    opacity: 0;
    transform: translateY(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover style tune: use color change instead of underline sweeps */
.site-nav a::after {
  content: none !important;
  display: none !important;
}

.site-nav a,
.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
  text-decoration: none !important;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #ffd96a;
}

.box-link,
.editorial-link,
.box-link:hover,
.editorial-link:hover,
.box-link:focus-visible,
.editorial-link:focus-visible {
  text-decoration: none !important;
  border-bottom: 0 !important;
}

.box-link:hover,
.editorial-link:hover,
.box-link:focus-visible,
.editorial-link:focus-visible {
  color: var(--rf-link-hover);
  transform: none;
}

/* Need Help MailerLite embed sizing */
.page-community #support-form .container.form-wide {
  max-width: 1200px;
}

.page-community #support-form .support-form {
  padding: clamp(20px, 3vw, 32px);
}

.page-community #support-form .ml-embedded {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
}

.page-community #support-form .ml-embedded iframe {
  width: 100% !important;
  max-width: 100% !important;
}

/* MailerLite generated wrappers */
.page-community #support-form .ml-form-embedContainer,
.page-community #support-form .ml-form-embedWrapper,
.page-community #support-form .ml-form-successBody {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.page-community #support-form .ml-form-embedBody,
.page-community #support-form .ml-form-embedContent,
.page-community #support-form .ml-form-embedSubmit {
  width: 100% !important;
  max-width: 100% !important;
}

.page-community #support-form .ml-form-embedBody *,
.page-community #support-form .ml-form-embedContent *,
.page-community #support-form .ml-form-embedSubmit *,
.page-crisis #support-form .ml-form-embedBody *,
.page-crisis #support-form .ml-form-embedContent *,
.page-crisis #support-form .ml-form-embedSubmit * {
  box-sizing: border-box;
  max-width: 100%;
}

.page-community #support-form input,
.page-community #support-form textarea,
.page-community #support-form select,
.page-crisis #support-form input,
.page-crisis #support-form textarea,
.page-crisis #support-form select {
  width: 100% !important;
  min-width: 0 !important;
}

.page-community #support-form input[type="checkbox"],
.page-community #support-form input[type="radio"],
.page-crisis #support-form input[type="checkbox"],
.page-crisis #support-form input[type="radio"] {
  width: auto !important;
  max-width: none !important;
}

.page-community #support-form .ml-form-checkboxRow,
.page-community #support-form .form-checkbox,
.page-crisis #support-form .ml-form-checkboxRow,
.page-crisis #support-form .form-checkbox {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.page-community #support-form .ml-form-checkboxRow label,
.page-crisis #support-form .ml-form-checkboxRow label {
  flex: 1 1 220px;
  min-width: 0;
}

/* Veteran Outreach MailerLite embed sizing */
.page-veteran #request-form .container.form-wide {
  max-width: 1200px;
}

.page-veteran #request-form .support-form {
  padding: clamp(20px, 2.8vw, 32px);
}

.page-veteran #request-form .ml-embedded,
.page-veteran #request-form .ml-form-embedContainer,
.page-veteran #request-form .ml-form-embedWrapper,
.page-veteran #request-form .ml-form-successBody,
.page-veteran #request-form .ml-form-embedBody,
.page-veteran #request-form .ml-form-embedContent,
.page-veteran #request-form .ml-form-embedSubmit {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Crisis Relief MailerLite embed sizing */
.page-crisis #support-form .container.form-wide {
  max-width: 1200px;
}

.page-crisis #support-form .support-form {
  padding: clamp(20px, 2.8vw, 32px);
}

.page-crisis #support-form .ml-embedded,
.page-crisis #support-form .ml-form-embedContainer,
.page-crisis #support-form .ml-form-embedWrapper,
.page-crisis #support-form .ml-form-successBody,
.page-crisis #support-form .ml-form-embedBody,
.page-crisis #support-form .ml-form-embedContent,
.page-crisis #support-form .ml-form-embedSubmit {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Homeless Outreach MailerLite embed sizing */
.page-homeless #support-form .container.form-wide {
  max-width: 1200px;
}

.page-homeless #support-form .support-form-mailerlite {
  padding: clamp(20px, 2.8vw, 32px);
  gap: 14px;
}

.page-homeless #support-form .ho-ml-panel[hidden] {
  display: none !important;
}

.page-homeless #support-form .ml-embedded,
.page-homeless #support-form .ml-form-embedContainer,
.page-homeless #support-form .ml-form-embedWrapper,
.page-homeless #support-form .ml-form-successBody,
.page-homeless #support-form .ml-form-embedBody,
.page-homeless #support-form .ml-form-embedContent,
.page-homeless #support-form .ml-form-embedSubmit {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Homepage Stay Connected MailerLite embed sizing */
.page-home #insider .container.form-wide {
  max-width: 1200px;
}

.page-home #insider .support-form-mailerlite {
  padding: clamp(20px, 2.8vw, 32px);
}

.page-home #insider .ml-embedded,
.page-home #insider .ml-form-embedContainer,
.page-home #insider .ml-form-embedWrapper,
.page-home #insider .ml-form-successBody,
.page-home #insider .ml-form-embedBody,
.page-home #insider .ml-form-embedContent,
.page-home #insider .ml-form-embedSubmit {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* About page mailing list MailerLite sizing */
#about-connect .about-mailing-form {
  margin: 10px 0 26px;
  padding: clamp(18px, 2.4vw, 28px);
}

#about-connect .ml-embedded,
#about-connect .ml-form-embedContainer,
#about-connect .ml-form-embedWrapper,
#about-connect .ml-form-successBody,
#about-connect .ml-form-embedBody,
#about-connect .ml-form-embedContent,
#about-connect .ml-form-embedSubmit {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

/* Mailing list popup on third page view */
.mailing-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1300;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(5, 12, 27, 0.48);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.mailing-popup-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.mailing-popup-overlay.is-opposite-side {
  place-items: end start;
  padding: 18px;
}

.mailing-popup {
  position: relative;
  width: min(460px, calc(100vw - 24px));
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    radial-gradient(circle at top right, rgba(231, 173, 47, 0.2), transparent 38%),
    linear-gradient(145deg, rgba(7, 19, 43, 0.98), rgba(17, 39, 76, 0.98));
  color: #f8fbff;
  box-shadow: 0 20px 50px rgba(12, 30, 63, 0.38);
  padding: 20px 20px 18px;
  transform: translateY(10px);
  transition: transform 180ms ease;
}

.mailing-popup-overlay.is-visible .mailing-popup {
  transform: translateY(0);
}

.mailing-popup-dismiss {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #dbe7fa;
  cursor: pointer;
  font: inherit;
  padding: 6px 8px;
}

.mailing-popup-kicker {
  margin: 0 0 6px;
  font-family: "Oswald", sans-serif;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #f0cf76;
}

.mailing-popup h2 {
  margin: 0 0 8px;
  color: #fff;
  font-size: clamp(28px, 4vw, 36px);
  line-height: 0.98;
}

.mailing-popup p {
  margin: 0 0 14px;
  color: #dbe7fa;
}

.mailing-popup-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border: 1px solid var(--rf-gold);
  background: var(--rf-gold);
  color: #111;
  text-decoration: none;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

@media (max-width: 720px) {
  .mailing-popup-overlay.is-opposite-side {
    place-items: center;
    padding: 12px;
  }

  .mailing-popup {
    width: min(100%, calc(100vw - 24px));
    padding: 18px 18px 16px;
    border-radius: 18px;
  }

  .mailing-popup h2 {
    font-size: clamp(24px, 8vw, 32px);
  }

  .mailing-popup p {
    font-size: 15px;
    line-height: 1.55;
  }

  .mailing-popup-dismiss {
    top: 8px;
    right: 8px;
    min-width: 44px;
    min-height: 44px;
  }

  .mailing-popup-cta {
    width: 100%;
    font-size: 17px;
  }
}
