/* Keep Your Care — style.css */
:root {
  --red: #ee2518;
  --dark: #252525;
  --light-gray: #e7e8ec;
  --light-blue: #6eccd7;
  --teal: #197a8d;
  --yellow: #ffd728;
  --white: #ffffff;
  --fs-h1: clamp(2.2rem, 2.5vw + 1.25rem, 3.3rem);
  --fs-h1-hero: clamp(2.4rem, 4vw + 1rem, 3.6rem);
  /* Mockup section h2 sizes: 2.3 / 2.2 / 2.1 / 2 / 1.9rem */
  --fs-h2-section: clamp(1.75rem, 2vw + 1rem, 2.3rem);
  --fs-h2-intro: clamp(1.7rem, 1.85vw + 0.95rem, 2.2rem);
  --fs-h2-state: clamp(1.6rem, 1.5vw + 0.9rem, 2.1rem);
  --fs-h2-sub: clamp(1.5rem, 1.25vw + 0.85rem, 2rem);
  --fs-h2-content: clamp(1.45rem, 1vw + 0.8rem, 1.9rem);
  --fs-h2-display: clamp(1.75rem, 2.5vw + 1rem, 3.2rem);
  --fs-h2-form: 1.1rem;
  --fs-h2-modal: clamp(1.1rem, 0.75vw + 0.85rem, 1.3rem);
  /* Mockup h3 sizes: 1.05 / 1.1 / 1 / 0.95rem */
  --fs-h3: 1.05rem;
  --fs-h3-card-lg: 1.05rem;
  --fs-h3-card: 1rem;
  --fs-h3-sub: 1.1rem;
  --fs-h3-label: 0.95rem;
  --fs-h4: 1rem;
  --fs-h5: 0.95rem;
  --fs-h6: 0.95rem;
}

@font-face {
  font-family: "Rubik Mono One";
  src: url("../fonts/rubik-mono-one-regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  overflow-x: clip;
}
body {
  font-family: "Poppins", sans-serif;
  color: var(--dark);
  background: var(--white);
  overflow-x: clip;
  max-width: 100%;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  word-spacing: normal;
  line-height: 1.08;
}
h1 {
  font-size: var(--fs-h1);
}
h2 {
  font-size: var(--fs-h2-section);
}
h3 {
  font-size: var(--fs-h3);
}
h4 {
  font-size: var(--fs-h4);
}
h5 {
  font-size: var(--fs-h5);
}
h6 {
  font-size: var(--fs-h6);
}

.section .container > h2 {
  font-size: var(--fs-h2-section);
  font-weight: 700;
  line-height: 1.1;
}

.contact-grid h2 {
  font-size: var(--fs-h2-sub);
  font-weight: 700;
  line-height: 1.1;
}

.container > h2:has(+ .kyc-faq),
.container > h2:has(~ .goal-cards) {
  font-size: var(--fs-h2-intro);
}

.container > h2:has(+ p + .state-info-cards),
.donate-section .container > h2 {
  font-size: var(--fs-h2-state);
}

.container > h2:has(+ .resource-grid) {
  font-size: var(--fs-h2-sub);
}

.rich-content-section > h2 {
  font-size: var(--fs-h2-content);
  font-weight: 700;
  margin-bottom: 1rem;
}
.rich-content-section > h3 {
  font-size: var(--fs-h3-sub);
  font-weight: 700;
  margin: 2rem 0 0.5rem;
}

.state-timeline > h3 {
  font-size: var(--fs-h3);
  font-weight: 700;
}

.state-info-card h3 {
  font-size: var(--fs-h3-card);
  font-weight: 700;
}

.state-header-content > h2 {
  font-size: clamp(1.5rem, 4vw + 0.5rem, 3rem);
  font-weight: 400;
  opacity: 0.92;
  line-height: 1.05;
  max-width: 620px;
}

.state-header-content > h2.kyc-reveal:not(.is-visible) {
  opacity: 0;
}

.state-header-content > h2.kyc-reveal.is-visible {
  opacity: 0.92;
  transform: translateY(0);
}

.contact-grid h3 {
  font-size: var(--fs-h3-label);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.donate-section .container > h3:first-of-type {
  font-size: var(--fs-h3-card-lg);
  font-weight: 700;
}

.donate-section .container > div h3 {
  font-size: var(--fs-h3-card);
  font-weight: 700;
}
.btn {
  letter-spacing: 0.04em;
}

/* Inline SVGs: height:auto is valid in CSS, not as an SVG attribute */
.kyc-svg-fluid {
  display: block;
  width: 100%;
  height: auto;
}

/* ── LAYOUT ── */
.section {
  padding: 5rem 2rem;
  max-width: 100%;
}
.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
  min-width: 0;
}
.section-label {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-size: 0.62rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  padding: 0.3rem 0.8rem;
  border-radius: 3px;
  margin-bottom: 1rem;
  font-family: "Poppins", sans-serif;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.two-col-stats {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

#main {
  max-width: 100%;
  overflow-x: clip;
}

/* ── NAV ── */
nav {
  background: var(--dark);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 200;
  height: 90px;
}
.nav-logo {
  cursor: pointer;
  display: flex;
  align-items: center;
}
.nav-links {
  display: flex;
  gap: 1.4rem;
  list-style: none;
  align-items: center;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--light-blue);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── BUTTONS ── */
.btn {
  display: inline-block;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 900;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  cursor: pointer;
  border: none;
  transition:
    transform 0.15s,
    opacity 0.15s;
  text-decoration: none;
  font-family: inherit;
}
.btn:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}
.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-yellow {
  background: var(--yellow);
  color: var(--dark);
}
.btn-teal {
  background: var(--teal);
  color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--dark);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

/* ── HERO ── */
.hero {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 2rem;
  position: relative;
  overflow: hidden;
}
.hero-inner {
  display: flex;
  gap: 3.5rem;
  align-items: center;
}
.hero-content {
  flex: 1;
  min-width: 0;
}
.hero h1 {
  font-size: var(--fs-h1-hero);
  font-weight: 400;
  max-width: 760px;
  line-height: 1.05;
  margin-bottom: 1.5rem;
}
.hero h1 em {
  color: var(--red);
  font-style: normal;
}
.hero p {
  max-width: 640px;
  font-size: 0.97rem;
  line-height: 1.85;
  margin-bottom: 1rem;
  opacity: 0.9;
}
.hero-form-card {
  flex: 0 0 380px;
  background: var(--white);
  color: var(--dark);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.hero-form-card .hfc-header {
  background: var(--red);
  padding: 1rem 1.4rem;
  color: var(--white);
}
.hero-form-card .hfc-header h2 {
  font-size: var(--fs-h2-form);
  line-height: 1.2;
  margin: 0 0 0.25rem;
  font-weight: 600;
}
.hero-form-card .hfc-header p {
  font-size: 0.85rem;
  opacity: 0.9;
  line-height: 1.45;
  margin: 0;
}
.hero-form-card .hfc-body {
  padding: 1rem 1.4rem;
}
.hero-form-card .form-group {
  margin-bottom: 0.65rem;
}
.hero-form-card .form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
  color: #444;
}
.hero-form-card .form-group input {
  width: 100%;
  padding: 0.45rem 0.75rem;
  border: 1.5px solid #ddd;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: inherit;
  box-sizing: border-box;
}
.hero-form-card .form-group input:focus {
  outline: none;
  border-color: var(--teal);
}
.hero-form-card .hfc-privacy {
  text-align: center;
  margin-top: 0.75rem;
  font-size: 0.72rem;
  color: #999;
}

.hero-form-card .state-signup-disclaimer,
.kyc-signup-form[data-kyc-form="hero"] .state-signup-disclaimer {
  color: #555;
  margin: 0.75rem 0 0;
}

.hero-form-card .state-signup-disclaimer a,
.kyc-signup-form[data-kyc-form="hero"] .state-signup-disclaimer a {
  color: #333;
}

.hero-btns {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* ── STATS BAR ── */
.stats-bar {
  background: var(--red);
  padding: 2.5rem 2rem;
  color: var(--white);
}
.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  text-align: center;
}
.stat-num {
  font-size: 2.8rem;
  font-weight: 700;
  display: block;
  font-family: "Poppins", sans-serif;
}
.stat-label {
  font-size: 0.95rem;
  opacity: 0.88;
  margin-top: 0.4rem;
  font-family: "Poppins", sans-serif;
}

/* ── STATES GRID ── */
.states-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 130px), 1fr));
  gap: 1.1rem;
  margin-top: 2rem;
  width: 100%;
  min-width: 0;
  max-width: 100%;
}
.state-btn {
  background: var(--white);
  border: 2px solid var(--light-gray);
  padding: 1.75rem 1rem 1.25rem;
  text-align: center;
  cursor: pointer;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  transition: all 0.18s;
  color: var(--dark);
  min-width: 0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-decoration: none;
}
.state-btn .s-map {
  width: min(100px, 70%);
  aspect-ratio: 1;
  height: auto;
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hamburger:hover {
  opacity: 0.8;
}
.hamburger {
  transition: 0.25s ease;
}
.footer-top a svg {
  transition: 0.25s ease;
}
.footer-top a:hover svg {
  opacity: 0.8;
}
a.nav-logo svg {
  transition: 0.25s ease;
}
a.nav-logo:hover svg {
  opacity: 0.8;
}

.state-btn .s-map svg {
  width: 100px;
  height: 100px;
  max-width: 100px;
}
.mission-icon:hover {
  transform: rotate(45deg);
  transition: transform 0.3s;
}
.mission-icon {
  transition: transform 0.3s;
}
.state-btn:not(.featured):hover {
  background: var(--white) !important;
}
.state-btn .s-name {
  font-size: 0.9rem;
  font-weight: 600;
  display: block;
  word-break: break-word;
}
.states-grid-banner {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 1.5px solid #d0d0d0;
  border-radius: 8px;
  padding: 1.4rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 100%;
  box-sizing: border-box;
}
.states-grid-banner p {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
  min-width: 0;
  flex: 1 1 220px;
}
.states-grid-banner__text {
  color: #555;
  font-size: 0.95rem;
  margin: 0;
  min-width: 0;
  flex: 1 1 220px;
  line-height: 1.5;
}
.states-grid-banner__text > :first-child {
  margin-top: 0;
}
.states-grid-banner__text > :last-child {
  margin-bottom: 0;
}
.states-grid-banner__btn {
  padding: 0.6rem 1.4rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}
@media (min-width: 901px) {
  .states-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.state-btn:hover {
  background: #146170;
  color: var(--white);
  border-color: #146170;
}
.state-btn.featured {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.state-btn.featured:hover {
  background: #146170;
  border-color: #146170;
}
.state-btn.featured .s-name {
  color: rgba(255, 255, 255, 0.9);
}

/* ── STATE PAGE HEADER TWO-COL ── */
.state-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.state-header-content {
  flex: 1;
  min-width: 0;
}
.state-header-map {
  flex: 0 0 auto;
  width: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.42;
  pointer-events: none;
}
.state-header-map svg {
  width: 100%;
  height: auto;
  max-height: 420px;
}

.state-page-logo {
  /* size queries need a definite height — derive it from logo aspect ratio, not a fixed px value */
  container-type: size;
  aspect-ratio: 1854.72 / 345.65;
  display: flex;
  align-items: stretch;
  width: min(620px, 95%);
  max-width: 100%;
  margin: 1rem 0 1.75rem;
  gap: 0;
}

.state-page-logo__mark {
  flex: 0 0 55.5264%; /* 1030 / 1854.72 — matches mark SVG share of full logo */
  min-width: 0;
  display: flex;
  align-items: center;
}

.state-page-logo__mark svg {
  display: block;
  width: 100%;
  height: auto;
  max-height: 100%;
}

.state-page-logo__abbr {
  flex: 1 1 auto;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin: 0 0 -4.5cqw;
  padding-left: 0.1em;
  font-family: "Rubik Mono One", monospace;
  font-weight: 400;
  font-size: clamp(
    3rem,
    18.635cqw,
    7.2rem
  ); /* fallback when cqh / size container unavailable */
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--white);
  text-align: center;
}

@supports (font-size: 1cqh) {
  .state-page-logo__abbr {
    /* 100cqh = row height; scale em so cap height fills the mark (caps ≈ 72% of em) */
    font-size: calc(100cqh / 0.72);
  }
}

/* ── MISSION ACCORDION ── */
.mission-item {
  border-bottom: 1px solid var(--light-gray);
}
.mission-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.3rem 0;
  cursor: pointer;
  gap: 1rem;
}
.mission-header h3 {
  font-size: var(--fs-h3-card-lg);
      line-height: 1.3;
  flex: 1;
  font-weight: 700;
}
.mission-icon {
  width: 34px;
  height: 34px;
  min-width: 34px;
  background: var(--red);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 300;
  transition: transform 0.3s;
}
.mission-item.open .mission-icon {
  transform: rotate(45deg);
}
.mission-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.mission-item.open .mission-body {
  max-height: 200px;
}
.mission-body p {
  padding: 0 0 1.2rem;
  color: #555;
  line-height: 1.7;
}

/* ── PROBLEM CARDS ── */
.problem-section {
  background: var(--dark);
  color: var(--white);
  padding: 5rem 2rem;
}
.problem-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}
.problem-card {
  background: rgba(255, 255, 255, 0.05);
  border-left: 4px solid var(--red);
  padding: 2rem;
  border-radius: 0 8px 8px 0;
}
.problem-card h3 {
  color: var(--yellow);
  font-size: var(--fs-h3-card);
  margin-bottom: 0.9rem;
  line-height: 1.4;
}
.problem-card p {
  opacity: 0.85;
  line-height: 1.7;
  font-size: 0.95rem;
}

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--light-gray);
  border-radius: 6px;
  margin-bottom: 0.7rem;
  overflow: hidden;
}
.kyc-faq .faq-item,
#mission-faqs .faq-item,
#ny-faqs .faq-item,
#ca-faqs .faq-item,
#ga-faqs .faq-item,
#il-faqs .faq-item,
#mi-faqs .faq-item,
#nc-faqs .faq-item,
#va-faqs .faq-item {
  border-color: #c8cad0;
  background: var(--white);
}
.faq-question {
  padding: 1.2rem 1.5rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white);
  transition: background 0.2s;
  font-size: 0.97rem;
}
.faq-question:hover,
.faq-item.open .faq-question {
  background: #e8f1f3;
}
.faq-chevron {
  font-size: 1rem;
  transition: transform 0.3s;
  color: var(--teal);
  flex-shrink: 0;
  margin-left: 1rem;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 600px;
}
.faq-answer p,
.faq-answer > div {
  padding: 0.75rem 1.5rem 1.5rem;
  color: #555;
  line-height: 1.75;
}
.faq-answer p {
  margin: 0;
}

/* ── CTA SECTION ── */
.cta-section {
  background: var(--teal);
  color: var(--white);
  text-align: center;
  padding: 5rem 2rem;
}
.cta-section h2 {
  font-size: var(--fs-h2-display);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.cta-section p {
  max-width: 580px;
  margin: 0 auto 2rem;
  opacity: 0.9;
  line-height: 1.7;
  font-size: 1.05rem;
}
.cta-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── NEWS CARDS ── */
.news-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 600px) {
  .news-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .news-cards {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.news-filter-pill {
  background: var(--white);
  border: 1.5px solid #d0d0d0;
  color: #555;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}
.news-filter-pill:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.news-filter-pill.active {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}
.news-card {
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  min-width: 0;
  max-width: 100%;
}
.news-card-img {
  position: relative;
  aspect-ratio: 343 / 170;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light-gray);
}
.news-card-img__photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  display: block;
}
.news-card-img--placeholder {
  background: #000;
}
.news-card-img--placeholder .news-card-img__logo {
  width: min(62%, 240px);
  height: auto;
  max-height: 58%;
  object-fit: contain;
}
.news-card-body {
  padding: 1.5rem;
}
.news-tag {
  display: inline-block;
  background: var(--light-blue);
  color: var(--dark);
  font-size: 0.68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.6rem;
  border-radius: 3px;
  margin-bottom: 0.7rem;
}
.news-card-body h3 {
  margin-bottom: 0.6rem;
  font-size: var(--fs-h3-card-lg);
  line-height: 1.4;
}
.news-card-body p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.65;
}

/* ── PAGE HEADER ── */
.page-header {
  background: var(--red);
  color: var(--white);
  padding: 4rem 2rem;
  max-width: 100%;
  overflow-x: clip;
}
.page-header .container {
  min-width: 0;
}
.page-header h1 {
  font-size: var(--fs-h1);
  font-weight: 400;
  color: var(--white);
  line-height: 1.05;
  max-width: 760px;
  margin-top: 0.5rem;
  overflow-wrap: anywhere;
}
.page-header p {
  margin-top: 1rem;
  opacity: 0.9;
  max-width: 640px;
  font-size: 0.95rem;
  line-height: 1.85;
}
body.page-sign-up .page-header h1,
body.page-id-14 .page-header h1 {
  white-space: nowrap;
  font-size: clamp(1.4rem, 4vw, 2.8rem);
}

/* ── FORMS ── */
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-weight: 800;
  margin-bottom: 0.4rem;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  font-size: 0.97rem;
  transition: border-color 0.2s;
  outline: none;
  font-family: inherit;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
}

.state-inline-form .form-group {
  margin-bottom: 0;
}

.state-inline-form .form-group label {
  font-weight: 600;
}

.state-inline-form .form-group input {
  border: none;
}

.state-signup-strip .state-signup-disclaimer,
.state-inline-form .state-signup-disclaimer {
  margin-top: 0.75rem;
  margin-bottom: 0;
  max-width: 100%;
  color: rgba(255, 255, 255, 0.9);
}

.state-signup-strip .state-signup-disclaimer a,
.state-inline-form .state-signup-disclaimer a {
  color: #fff;
}

.kyc-signup-form .kyc-signup-submit {
  width: 100%;
  font-size: 1.05rem;
  padding: 1rem;
}

.kyc-signup-form .kyc-signup-submit--hero {
  font-size: 1rem;
  padding: 0.9rem;
}

.state-form-btn {
  background: var(--red);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.57rem 1.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  font-family: inherit;
  cursor: pointer;
  white-space: nowrap;
  text-transform: none;
  letter-spacing: normal;
  display: inline-block;
}

.state-signup-disclaimer {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.5;
  margin-top: 0.6rem;
}

.state-signup-disclaimer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: underline;
}

.state-signup-disclaimer--light,
.kyc-signup-form .state-signup-disclaimer--light {
  color: #555;
  font-size: 11px;
  line-height: 1.5;
  margin: 1rem 0 1.25rem;
}

.state-signup-disclaimer--light a,
.kyc-signup-form .state-signup-disclaimer--light a {
  color: #333;
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal {
  background: var(--white);
  max-width: 400px;
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}
.modal-header {
  background: var(--red);
  padding: 1.5rem;
  color: var(--white);
}
.modal-header h2 {
  font-size: var(--fs-h2-modal);
  line-height: 1.15;
  margin: 0.75rem 0 0.4rem;
}
.modal-header p {
  opacity: 0.9;
  font-size: 0.95rem;
  line-height: 1.6;
}
.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.modal-close:hover {
  background: rgba(255, 255, 255, 0.35);
}
.modal-body {
  padding: 1.5rem;
}

/* ── DONATION ── */
.donation-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.donation-amt {
  padding: 0.75rem 1.4rem;
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  cursor: pointer;
  font-weight: 900;
  font-size: 1.05rem;
  transition: all 0.18s;
  background: var(--white);
}
.donation-amt:hover,
.donation-amt.selected {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

/* ── NY RESOURCES ── */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.resource-card {
  background: var(--light-gray);
  padding: 1.5rem;
  border-radius: 8px;
  border-top: 4px solid var(--teal);
}
.resource-card h3 {
  font-size: var(--fs-h3-card);
  margin-bottom: 0.4rem;
}
.resource-card p {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 0.6rem;
}
.resource-card a {
  color: var(--teal);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 700;
}

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}
.social-links {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  background: var(--light-gray);
  border-radius: 4px;
  text-decoration: none;
  color: var(--dark);
  font-weight: 700;
  font-size: 0.88rem;
  transition: background 0.2s;
}
.social-link:hover {
  background: var(--light-blue);
}

/* ── TOAST ── */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--dark);
  color: var(--white);
  padding: 1rem 2rem;
  border-radius: 6px;
  font-weight: 700;
  border-left: 4px solid var(--teal);
  transition: transform 0.4s;
  z-index: 999;
  white-space: nowrap;
  font-size: 0.95rem;
}
.toast.show {
  transform: translateX(-50%) translateY(0);
}

/* ── FOOTER ── */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 3rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1.5rem;
}
.footer-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-nav ul {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.85rem;
  cursor: pointer;
  transition: color 0.2s;
}
.footer-nav a:hover {
  color: var(--light-blue);
}
.footer-nav .nav-donate a {
  background: none;
  color: rgba(255, 255, 255, 0.65) !important;
  padding: 0;
  border-radius: 0;
  font-weight: 400 !important;
}
.footer-nav .nav-donate a:hover {
  background: none !important;
  color: var(--light-blue) !important;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-disclaimer {
  font-size: 0.72rem;
  opacity: 0.45;
  max-width: 680px;
  line-height: 1.55;
}
.footer-copy {
  font-size: 0.78rem;
  opacity: 0.55;
  white-space: nowrap;
}

/* ── GOAL CARDS ── */
.goal-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.goal-card {
  background: rgba(255, 255, 255, 0.06);
  padding: 2rem;
  border-radius: 8px;
}
.goal-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.goal-card h3 {
  font-size: var(--fs-h3-card-lg);
  margin-bottom: 0.75rem;
}
.goal-card p {
  opacity: 0.82;
  line-height: 1.7;
  font-size: 0.93rem;
}

/* ─── State Timeline Carousel ───────────────────────────── */
.state-timeline {
  background: var(--light-gray);
  border-radius: 12px;
  padding: 1.5rem 1.5rem 1.25rem;
  margin-bottom: 2rem;
}
.st-label {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 1rem;
}
.st2-outer {
  overflow: hidden;
  border-radius: 8px;
}
.st2-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}
.st2-card {
  flex: 0 0 calc(25% - 0.75rem);
  background: #fff;
  border-radius: 10px;
  border-top: 4px solid var(--yellow);
  padding: 1.25rem 1.25rem 1.5rem;
  box-sizing: border-box;
  user-select: none;
  flex-grow: 1;
  max-width: 50%;
}
.st2-card-step {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.5rem;
}
.st2-card-date {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.65rem;
  line-height: 1.3;
}
.st2-card-desc {
  font-size: 0.85rem;
  color: #555;
  line-height: 1.65;
}
.st2-card-desc p {
  margin: 0 0 0.65rem;
}
.st2-card-desc p:last-child {
  margin-bottom: 0;
}
.st2-card-desc a {
  color: var(--teal);
  font-weight: 600;
}

.st2-card-desc a:hover {
  color: var(--red) !important;
}
.st2-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1rem;
}
.st2-dots {
  display: flex;
  gap: 0.45rem;
}
.st2-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #c8cad0;
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  border: none;
  padding: 0;
}
.st2-dot.active {
  background: var(--teal);
  transform: scale(1.25);
}
.st2-btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1.5px solid #d0d0d0;
  background: #fff;
  cursor: pointer;
  font-size: 1.1rem;
  color: #555;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
  line-height: 1;
}
.st2-btn:hover:not(:disabled) {
  border-color: var(--teal);
  color: var(--teal);
}
.st2-btn:disabled {
  opacity: 0.25;
  cursor: default;
}

.state-btn .s-map img {
  width: 100px;
  height: 100px;
  max-width: 100px;
  max-height: 100px;
}

.page-id-11 .state-btn:not(.featured) {
  background: var(--light-gray) !important;
}
.page-id-11 .state-btn:not(.featured):hover {
  background: var(--white) !important;
}

.nav-logo {
  transition: 0.25s ease;
}
.nav-logo:hover {
  opacity: 0.8;
}

.footer-nav a img {
  transition: 0.25s ease;
}
.footer-nav a img:hover {
  opacity: 0.8;
}

.form-group-contacts {
  margin-bottom: 0px !important;
}
.kyc-signup-form a {
  color: var(--teal) !important;
}
.kyc-signup-form a:hover {
  color: var(--red) !important;
}

/* Hide SMS/cell fields unless form opts in via PHP classes */
.kyc-signup-form .form-group:has([name="sms_optin"]),
.kyc-signup-form .form-group:has([name="cell"]),
.kyc-signup-form .kyc-cell-field {
  display: none !important;
}

.kyc-signup-form.kyc-signup-form--show-sms .form-group:has([name="sms_optin"]) {
  display: block !important;
}

.kyc-signup-form.kyc-signup-form--show-phone .form-group:has([name="cell"]),
.kyc-signup-form.kyc-signup-form--show-phone .kyc-cell-field {
  display: block !important;
}

.kyc-signup-form .state-signup-disclaimer,
.state-signup-disclaimer {
  display: block !important;
  font-size: 11px;
}

.kyc-signup-form .state-signup-disclaimer:not(:last-of-type) {
  display: none !important;
}

/* button fix */


/* Desktop scroll reveal — direct children of block containers */
@media (min-width: 901px) {
  .kyc-reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: none;
    will-change: opacity, transform;
  }

  .kyc-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.65s ease,
      transform 0.65s ease;
  }

  .kyc-reveal--state-header {
    transform: translateY(44px);
    transition: none;
  }

  .kyc-reveal--state-header.is-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.95s ease-out,
      transform 0.95s ease-out;
  }

  /* Map keeps its designed 0.42 opacity — reveal via transform only */
  .state-header-map.kyc-reveal {
    opacity: 0.42;
  }

  .state-header-map.kyc-reveal.is-visible {
    opacity: 0.42;
  }

  .single-kyc_state .page-header .state-header-inner > .state-header-map.kyc-reveal.is-visible {
    opacity: 0.42;
    transform: translateY(0);
  }

  .page-header .container > .kyc-reveal.is-visible,
  .hero .hero-inner > .kyc-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .single-kyc_state .page-header .state-header-content > .kyc-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .single-kyc_state .page-header .state-header-content > h2.kyc-reveal.is-visible {
    opacity: 0.92;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kyc-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .single-kyc_state .page-header .state-header-content > *,
  .single-kyc_state .page-header .state-header-inner > .state-header-map,
  .page-header .container > *,
  .hero .hero-inner > * {
    opacity: 1 !important;
    transform: none !important;
  }

  .single-kyc_state .page-header .state-header-inner > .state-header-map {
    opacity: 0.42 !important;
  }

  .single-kyc_state .page-header .state-header-content > h2 {
    opacity: 0.92 !important;
  }
}
#menu-item-436 a,
.nav-links li.nav-donate a, .footer-nav .nav-donate  a {
  background: var(--yellow);
  color: var(--dark) !important;
  padding: 0.45rem 1.1rem;
  border-radius: 4px;
  font-weight: 700 !important;
}
#menu-item-436 a:hover,
.nav-links li.nav-donate a:hover, .footer-nav .nav-donate  a:hover {
  background: #e6c100 !important;
  color: var(--dark) !important;
}