:root {
  --bg: #f6efe8;
  --bg-alt: #efe2d6;
  --surface: rgba(255, 252, 248, 0.85);
  --ink: #1f3040;
  --ink-soft: #4f5f6b;
  --line: rgba(31, 48, 64, 0.12);
  --accent: #b9633d;
  --accent-deep: #8d4e31;
  --accent-pale: #f5d6c6;
  --shadow: 0 18px 60px rgba(69, 45, 29, 0.12);
  --radius-lg: 32px;
  --shell: min(1120px, calc(100% - 2rem));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.65), transparent 35%),
    linear-gradient(180deg, #f7eee8 0%, #f3e6da 100%);
}
a { color: inherit; text-decoration: none; }
.shell { width: var(--shell); margin: 0 auto; }
.shell-wide { width: min(1320px, calc(100% - 2rem)); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(18px);
  background: rgba(246, 239, 232, 0.78);
  border-bottom: 1px solid var(--line);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  min-height: 84px;
  position: relative;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  background: #fff;
  border: none;
  box-shadow: none;
  flex-shrink: 0;
}

.brand-text {
  max-width: 21rem;
  line-height: 1.05;
  font-size: 1.1rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.08rem;
  margin-left: auto;
}

.site-nav a {
  padding: 0.8rem 0.68rem;
  border-radius: 999px;
  color: var(--ink-soft);
  font-weight: 700;
  font-size: 0.98rem;
  white-space: nowrap;
  transition: 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.7);
}

.site-nav .nav-cta,
.site-nav .nav-cta.active {
  background: var(--ink);
  color: #fff;
}

.site-nav .nav-cta:hover {
  background: linear-gradient(135deg, #1f6fb2, #18476f);
  color: #fff;
  box-shadow: 0 10px 28px rgba(24, 71, 111, 0.24);
}

.donate-page .site-nav .nav-cta,
.donate-page .site-nav .nav-cta:hover,
.donate-page .site-nav .nav-cta.active {
  background: linear-gradient(135deg, #1f6fb2, #18476f);
  color: #fff;
  box-shadow: 0 10px 28px rgba(24, 71, 111, 0.24);
  padding: 0.95rem 1rem;
  font-size: 1.03rem;
}

.social-links {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-left: 0.4rem;
}

.social-link {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.78);
  color: var(--ink);
  border: 1px solid rgba(31, 48, 64, 0.08);
  flex-shrink: 0;
  transition: transform 180ms ease, background 180ms ease;
}

.social-link:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.95);
}

.social-link svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.nav-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.6);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 99px;
}

.hero,
.page-hero {
  position: relative;
  overflow: hidden;
}

.hero { padding: 6rem 0 4rem; }
.page-hero { padding: 0.35rem 0 0.25rem; }

.page-hero > .shell,
.page-main > .section > .shell,
.home-main > .section > .shell,
.site-footer > .shell {
  position: relative;
  z-index: 1;
}

.page-hero::before,
.page-hero::after,
.page-main > .section::before,
.page-main > .section::after,
.home-main > .section::before,
.home-main > .section::after,
.site-footer::before,
.site-footer::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.page-hero::before {
  width: 17rem;
  height: 17rem;
  left: -6.2rem;
  top: -0.8rem;
  opacity: 0.68;
  background:
    radial-gradient(circle at 50% 16%, rgba(185, 99, 61, 0.18) 0 15%, transparent 17%),
    radial-gradient(circle at 82% 50%, rgba(185, 99, 61, 0.12) 0 14%, transparent 16%),
    radial-gradient(circle at 50% 84%, rgba(31, 48, 64, 0.08) 0 14%, transparent 16%),
    radial-gradient(circle at 18% 50%, rgba(185, 99, 61, 0.12) 0 14%, transparent 16%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.78) 0 12%, transparent 14%);
  transform: rotate(-14deg);
}

.page-hero::after {
  width: 20rem;
  height: 20rem;
  right: -7.4rem;
  top: -2rem;
  opacity: 0.6;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.7) 0 10%, transparent 12%),
    radial-gradient(circle at 68% 36%, rgba(185, 99, 61, 0.16) 0 17%, transparent 19%),
    radial-gradient(circle at 38% 76%, rgba(31, 48, 64, 0.08) 0 19%, transparent 21%),
    radial-gradient(circle at 80% 76%, rgba(185, 99, 61, 0.1) 0 10%, transparent 12%);
}

.hero-home {
  padding: 6.8rem 0 2.2rem;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.72), transparent 36%),
    linear-gradient(180deg, #f7eee8 0%, #f2e4d8 100%);
}

.hero-home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 2rem;
  align-items: end;
  position: relative;
  z-index: 1;
}

.hero-home-copy {
  max-width: 44rem;
  margin: 0;
  padding: 0;
  text-align: left;
}

.hero-home h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.2rem, 7vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: -0.06em;
  color: var(--ink);
  text-wrap: balance;
}

.hero-home .hero-mission {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: var(--ink-soft);
  font-size: 1.06rem;
  line-height: 1.75;
}

.hero-actions-home {
  justify-content: flex-start;
  margin-top: 1.7rem;
}

.hero-home-support {
  margin: 0.85rem 0 0;
  color: var(--accent-deep);
  font-weight: 700;
  line-height: 1.6;
}

.hero-home-aside {
  display: grid;
  gap: 1rem;
  justify-items: stretch;
}

.hero-home-badge {
  display: grid;
  gap: 0.95rem;
  justify-items: start;
  padding: 1.5rem;
  min-height: 15rem;
  border-radius: 34px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.68), rgba(255, 252, 248, 0.9)),
    linear-gradient(180deg, rgba(185, 99, 61, 0.12), rgba(31, 48, 64, 0.04));
  border: 1px solid rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow);
}

.hero-home-logo {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.hero-home-badge-label {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(3rem, 5vw, 4.6rem);
  line-height: 0.9;
  color: var(--ink);
}

.hero-home-aside-copy {
  margin: 0;
  padding: 0 0.1rem;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.8;
}

.hero-stats-section {
  padding-top: 0;
  margin-top: 0.1rem;
  position: relative;
  z-index: 2;
}

.hero-stats-shell {
  padding-top: 0.4rem;
}

.hero-stats-label {
  margin: 0 0 0.9rem;
  text-align: left;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 800;
  color: var(--accent-deep);
}

.stat-grid-hero {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.1rem;
}

.stat-grid-hero .stat-card {
  background: rgba(255, 252, 248, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 14px 36px rgba(69, 45, 29, 0.08);
  text-align: left;
}

.hero h1,
.page-hero h1,
h2,
h3 {
  font-family: "Cormorant Garamond", serif;
  letter-spacing: -0.055em;
  margin: 0;
  text-wrap: balance;
}

.hero h1 {
  font-size: clamp(3.2rem, 7vw, 5.2rem);
  line-height: 1;
  margin-bottom: 1.25rem;
  max-width: 12ch;
}

.page-hero h1 {
  font-size: clamp(2.7rem, 6vw, 4.2rem);
  line-height: 0.9;
  margin-bottom: 0.2rem;
  max-width: 18ch;
}

.involved-hero-layout {
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 4vw, 3.25rem);
  align-items: center;
}

.involved-hero-copy {
  justify-self: start;
  max-width: 36rem;
  text-align: left;
}

.involved-hero-copy .page-intro {
  max-width: 35rem;
  margin-bottom: 0;
}

.involved-hero-media {
  justify-self: center;
  margin-top: 4.25rem;
  width: min(100%, 27rem);
  overflow: hidden;
  border-radius: 32px;
  border: 1.5px solid rgba(126, 190, 232, 0.42);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 22px 54px rgba(31, 48, 64, 0.14);
}

.involved-hero-media img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-lead,
.hero-mission,
.page-intro,
.section p,
.panel p,
.event-card p,
.gallery-copy p {
  color: var(--ink-soft);
  line-height: 1.7;
  font-size: 1.04rem;
}

.event-preview p {
  color: rgba(255, 255, 255, 0.92);
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0;
  font-size: 0.58rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 800;
}

.eyebrow.light { color: rgba(255, 255, 255, 0.78); }

.hero-actions,
.section-actions,
.cta-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.95rem 1.4rem;
  min-height: 52px;
  font-weight: 800;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover { transform: translateY(-2px); }
.button-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #fff;
  box-shadow: 0 12px 35px rgba(185, 99, 61, 0.25);
}

a.button.button-primary[href="donate.html"]:hover,
.donate-cta:hover {
  background: linear-gradient(135deg, #1f6fb2, #18476f);
  box-shadow: 0 14px 36px rgba(24, 71, 111, 0.34);
}

.donate-cta {
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.donate-hdsa-card {
  margin-top: 1.35rem;
  padding: 1rem 1.05rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: center;
  border-radius: 24px;
  border: 1px solid rgba(24, 71, 111, 0.14);
  background:
    linear-gradient(135deg, rgba(31, 111, 178, 0.14), rgba(24, 71, 111, 0.08)),
    rgba(255, 255, 255, 0.74);
}

.donate-hdsa-mark {
  width: 5.1rem;
  height: 5.1rem;
  border-radius: 26px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #1f6fb2, #18476f);
  color: #fff;
  box-shadow: 0 16px 36px rgba(24, 71, 111, 0.22);
}

.donate-hdsa-mark span {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.donate-hdsa-copy {
  display: grid;
  gap: 0.2rem;
}

.donate-hdsa-kicker {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1f6fb2;
}

.donate-hdsa-title {
  margin: 0;
  font-size: 1.35rem;
  color: var(--ink);
}

.donate-hdsa-copy p:last-child {
  margin: 0;
}

.button-secondary {
  background: rgba(255, 255, 255, 0.7);
  color: var(--ink);
  border: 1px solid rgba(31, 48, 64, 0.12);
}

.hero-card,
.panel,
.info-card,
.event-card,
.gallery-card,
.cta-panel,
.fact-panel,
.officer-card {
  background: var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.hero-card { padding: 1.5rem; }
.hero-card-label { margin-top: 0; margin-bottom: 1rem; font-weight: 800; }

.stat-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  padding: 1.2rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.68);
}

.stat-card strong {
  display: block;
  font-size: 1.7rem;
  margin-bottom: 0.3rem;
}

.stat-card span {
  color: var(--ink-soft);
  line-height: 1.5;
  font-size: 0.95rem;
}

.hero-glow {
  position: absolute;
  width: 28rem;
  height: 28rem;
  border-radius: 50%;
  filter: blur(28px);
  opacity: 0.45;
  z-index: -1;
}

.hero-glow-left {
  background: rgba(185, 99, 61, 0.23);
  top: -5rem;
  left: -8rem;
}

.hero-glow-right {
  background: rgba(31, 48, 64, 0.12);
  right: -6rem;
  bottom: -4rem;
}

.section {
  padding: 4.5rem 0;
  position: relative;
  overflow: hidden;
}

.page-main > .section::before,
.home-main > .section::before {
  width: 14rem;
  height: 14rem;
  left: -5.2rem;
  top: 1.4rem;
  opacity: 0.5;
  background:
    radial-gradient(circle at 50% 16%, rgba(185, 99, 61, 0.16) 0 15%, transparent 17%),
    radial-gradient(circle at 82% 50%, rgba(31, 48, 64, 0.08) 0 13%, transparent 15%),
    radial-gradient(circle at 50% 84%, rgba(185, 99, 61, 0.12) 0 14%, transparent 16%),
    radial-gradient(circle at 18% 50%, rgba(185, 99, 61, 0.12) 0 13%, transparent 15%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.72) 0 11%, transparent 13%);
  transform: rotate(18deg);
}

.page-main > .section::after,
.home-main > .section::after {
  width: 16rem;
  height: 16rem;
  right: -6.8rem;
  bottom: 0.8rem;
  opacity: 0.54;
  background:
    radial-gradient(circle at 32% 30%, rgba(31, 48, 64, 0.08) 0 15%, transparent 17%),
    radial-gradient(circle at 68% 48%, rgba(185, 99, 61, 0.15) 0 21%, transparent 23%),
    radial-gradient(circle at 36% 74%, rgba(255, 255, 255, 0.64) 0 11%, transparent 13%),
    radial-gradient(circle at 78% 78%, rgba(185, 99, 61, 0.1) 0 10%, transparent 12%);
}

.page-main > .section:nth-of-type(even)::before,
.home-main > .section:nth-of-type(even)::before {
  left: auto;
  right: -3.25rem;
  top: auto;
  bottom: 1.75rem;
  transform: rotate(-16deg);
}

.page-main > .section:nth-of-type(even)::after,
.home-main > .section:nth-of-type(even)::after {
  right: auto;
  left: -4.5rem;
  top: 1rem;
  bottom: auto;
}

.soft-panel { background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0)); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: start;
}

.feature-split { align-items: center; }
.card-stack { display: grid; gap: 1rem; }
.info-card, .panel, .event-card, .gallery-card, .cta-panel, .officer-card { padding: 1.5rem; }

.panel h2,
.section h2,
.cta-panel h2 {
  font-size: clamp(2rem, 3.4vw, 2.85rem);
  margin-bottom: 0.9rem;
  max-width: 26ch;
}

.form-title-link {
  color: inherit;
  text-decoration: none;
}

.form-title-link:hover,
.form-title-link:focus-visible {
  color: var(--accent-deep);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.ways-help-title {
  max-width: none;
  white-space: nowrap;
}

.info-card h3,
.panel h3,
.event-card h3,
.gallery-copy h3,
.officer-card h3 {
  font-size: 2rem;
  margin-bottom: 0.55rem;
}

.section-heading {
  max-width: 68rem;
  margin-bottom: 2rem;
}

.three-up,
.officer-grid,
.event-list,
.gallery-grid,
.role-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.accent-band {
  background: linear-gradient(135deg, #213748, #3e5568);
  color: #fff;
}

.event-preview-list { display: grid; gap: 1rem; }
.event-preview {
  padding: 1.3rem 1.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.event-preview h3,
.event-card h3 { font-size: 1.8rem; }

.event-date {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-pale);
  margin-bottom: 0.5rem;
}

.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer {
  padding: 2rem 0 3rem;
  border-top: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
}

.site-footer::before {
  width: 15rem;
  height: 15rem;
  left: -5rem;
  bottom: -2.4rem;
  opacity: 0.52;
  background:
    radial-gradient(circle at 50% 16%, rgba(185, 99, 61, 0.16) 0 15%, transparent 17%),
    radial-gradient(circle at 82% 50%, rgba(31, 48, 64, 0.08) 0 14%, transparent 16%),
    radial-gradient(circle at 50% 84%, rgba(185, 99, 61, 0.12) 0 14%, transparent 16%),
    radial-gradient(circle at 18% 50%, rgba(185, 99, 61, 0.12) 0 14%, transparent 16%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.76) 0 12%, transparent 14%);
  transform: rotate(18deg);
}

.site-footer::after {
  width: 17rem;
  height: 17rem;
  right: -6.8rem;
  top: -2rem;
  opacity: 0.5;
  background:
    radial-gradient(circle at 28% 28%, rgba(255, 255, 255, 0.72) 0 10%, transparent 12%),
    radial-gradient(circle at 70% 36%, rgba(185, 99, 61, 0.14) 0 18%, transparent 20%),
    radial-gradient(circle at 36% 76%, rgba(31, 48, 64, 0.08) 0 18%, transparent 20%),
    radial-gradient(circle at 78% 78%, rgba(185, 99, 61, 0.1) 0 10%, transparent 12%);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 2rem;
}

.footer-grid h3 {
  font-size: 1.4rem;
  margin-bottom: 0.7rem;
}

.footer-grid a {
  display: block;
  color: var(--ink-soft);
  margin-bottom: 0.6rem;
}

.footer-copy {
  color: var(--ink-soft);
  max-width: 28rem;
  line-height: 1.7;
}

.footer-copyright {
  margin: 2rem 0 0;
  padding-top: 1.15rem;
  border-top: 1px solid rgba(31, 48, 64, 0.12);
  color: rgba(31, 48, 64, 0.72);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  text-align: center;
}

.narrow { max-width: 46rem; }
.text-link { display: inline-block; margin-top: 1rem; color: var(--accent-deep); font-weight: 800; }

.pull-quote {
  background: linear-gradient(135deg, rgba(31, 48, 64, 0.94), rgba(60, 85, 103, 0.95));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-top: 5rem;
}

.pull-quote p { color: rgba(255, 255, 255, 0.84); font-size: 1.08rem; }

.officer-photo {
  height: 250px;
  border-radius: 28px;
  margin-bottom: 1rem;
  background-image: url("image hungt.png");
  background-repeat: no-repeat;
  background-size: 760px auto;
  background-color: #ece1d8;
  border: 1px solid rgba(31, 48, 64, 0.08);
}

.officer-card {
  text-align: center;
}

.officer-banner {
  text-align: center;
  margin-bottom: 1.6rem;
}

.officer-banner p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

.officer-banner h3 {
  font-size: clamp(3.4rem, 9vw, 5.8rem);
  line-height: 0.9;
  letter-spacing: 0.02em;
  color: #516273;
}

.officer-photo-rishi {
  background-image: url("rishi.png");
  background-position: center 16%;
  background-size: 92%;
}
.officer-photo-sai {
  background-image: url("sai er.png");
  background-position: center 16%;
  background-size: 100%;
}
.officer-photo-asish {
  background-image: url("bich as boy.png");
  background-position: center 14%;
  background-size: 88%;
}

.officer-photo-ayush {
  background-image: url("yush.jpg");
  background-position: center 4%;
  background-size: 100%;
}

.officer-role { color: var(--accent); font-weight: 800; }

.detail-list {
  margin: 0;
  padding-left: 1.1rem;
  color: var(--ink-soft);
  line-height: 1.8;
}

.fact-panel { padding: 1.5rem; }

.education-fact-panel {
  margin-top: 2.2rem;
}

.education-fact-row {
  position: relative;
  opacity: 0;
  transform: translateY(26px) scale(0.985);
  transition: transform 620ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 620ms ease;
}

.education-fact-row.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.education-fact-row.is-visible:nth-child(2) {
  transition-delay: 90ms;
}

.education-fact-row.is-visible:nth-child(3) {
  transition-delay: 180ms;
}

.education-fact-row span {
  font-weight: 700;
}

.education-fact-value {
  font-size: 1.5rem;
  color: var(--ink);
  letter-spacing: -0.03em;
}

.fact-row,
.allocation-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.fact-row:last-child,
.allocation-row:last-child { border-bottom: none; }

.fundraiser-meter {
  margin-bottom: 1.6rem;
  padding: 1rem 1.1rem 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(31, 48, 64, 0.08);
}

.fundraiser-meter-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.8rem;
  font-weight: 800;
}

.meter-track {
  width: 100%;
  height: 16px;
  border-radius: 999px;
  background: rgba(31, 48, 64, 0.1);
  overflow: hidden;
}

.meter-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
}

.meter-note,
.payment-note {
  color: var(--ink-soft);
  font-size: 0.96rem;
  line-height: 1.6;
}

.payment-form {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.payment-summary,
.billing-card {
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(31, 48, 64, 0.08);
  border-radius: 22px;
  padding: 1rem 1.1rem;
}

.payment-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.payment-summary-label {
  display: block;
  color: var(--ink-soft);
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 0.2rem;
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  background: rgba(185, 99, 61, 0.12);
  color: var(--accent-deep);
  font-weight: 800;
  font-size: 0.88rem;
}

.billing-card {
  display: grid;
  gap: 1rem;
}

.billing-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
}

.billing-card-head h3 {
  font-size: 1.5rem;
}

.billing-card-head span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.event-pill {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--accent-pale);
  color: var(--accent-deep);
  margin-bottom: 0.8rem;
}

.gallery-card { overflow: hidden; padding: 0; }
.gallery-image {
  width: 100%;
  min-height: 220px;
  max-height: 320px;
  object-fit: cover;
  display: block;
}
.slideshow-card {
  max-width: 860px;
  margin: 0 auto;
}

.slideshow-media {
  position: relative;
  min-height: 320px;
  background: rgba(31, 48, 64, 0.08);
}

.slideshow-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 220ms ease;
}

.slideshow-image.is-active {
  opacity: 1;
  position: relative;
}

.slideshow-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: none;
  border-radius: 999px;
  background: rgba(31, 48, 64, 0.72);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.slideshow-prev { left: 1rem; }
.slideshow-next { right: 1rem; }

.slideshow-caption {
  display: none;
}

.slideshow-caption.is-active {
  display: block;
}

.gallery-photo {
  min-height: 220px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(31, 48, 64, 0.68), rgba(185, 99, 61, 0.36)),
    linear-gradient(180deg, #c8b29c, #9d7f68);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-copy { padding: 1.4rem; }

.form-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  align-items: stretch;
}

.volunteer-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  height: 100%;
}

.form-helper {
  margin-top: auto;
  padding: 1rem 1.05rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(31, 48, 64, 0.08);
}

.form-helper strong {
  display: block;
  margin-bottom: 0.35rem;
}

.form-helper p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.6;
}

.form-actions {
  margin-top: auto;
  display: grid;
  grid-template-rows: auto 1.3rem 1.3rem;
  gap: 0.45rem;
  align-content: end;
}

.form-actions .button {
  width: 100%;
  min-height: 56px;
}

.form-actions .form-error,
.form-actions .form-success {
  margin: 0;
}

.volunteer-form-full {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
}

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

.volunteer-form input,
.volunteer-form textarea {
  width: 100%;
  margin-top: 0.45rem;
  border: 1px solid rgba(31, 48, 64, 0.16);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 16px;
  padding: 0.95rem 1rem;
  font: inherit;
  color: var(--ink);
}

.checkbox-fieldset {
  border: 1px solid rgba(31, 48, 64, 0.12);
  border-radius: 20px;
  padding: 1rem;
  display: grid;
  gap: 0.8rem;
}

.checkbox-fieldset label {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  font-weight: 600;
}

.checkbox-fieldset input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.form-error {
  min-height: 1.3rem;
  color: #a82929;
  font-weight: 700;
}

.form-success {
  min-height: 1.3rem;
  color: #18663d;
  font-weight: 700;
}

body.home-page {
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.7), transparent 34%),
    radial-gradient(circle at top right, rgba(185, 99, 61, 0.1), transparent 24%),
    linear-gradient(180deg, #f7eee8 0%, #f3e8de 55%, #f8f3ee 100%);
}

body.home-page .shell {
  width: min(1360px, calc(100% - 3rem));
}

.home-page .site-header {
  background: rgba(246, 239, 232, 0.82);
  border-bottom: 1px solid var(--line);
}

.page-main,
.home-main {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.page-main::before,
.page-main::after,
.home-main::before,
.home-main::after {
  content: "";
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.42;
}

.home-main::before {
  top: 10rem;
  left: -11rem;
  background: radial-gradient(circle, rgba(185, 99, 61, 0.18), transparent 68%);
  animation: siteEdgeFloatA 16s ease-in-out infinite;
}

.home-main::after {
  right: -10rem;
  top: 34rem;
  background: radial-gradient(circle, rgba(31, 48, 64, 0.12), transparent 70%);
  animation: siteEdgeFloatB 18s ease-in-out infinite;
}

.page-main::before {
  top: 8rem;
  right: -11rem;
  background: radial-gradient(circle, rgba(185, 99, 61, 0.14), transparent 68%);
  animation: siteEdgeFloatB 18s ease-in-out infinite;
}

.page-main::after {
  left: -11rem;
  bottom: 7rem;
  background: radial-gradient(circle, rgba(31, 48, 64, 0.1), transparent 70%);
  animation: siteEdgeFloatA 17s ease-in-out infinite;
}

.page-main > *,
.home-main > * {
  position: relative;
  z-index: 1;
}

.home-hero {
  position: relative;
  padding: 6.5rem 0 3rem;
}

.home-hero::before {
  content: "";
  position: absolute;
  width: 36rem;
  height: 36rem;
  top: -14rem;
  right: -10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185, 99, 61, 0.14), transparent 64%);
  pointer-events: none;
}

.home-hero-grid,
.home-story-grid,
.home-event-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.home-hero-grid {
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
}

.home-event-grid {
  gap: 0.35rem;
  align-items: center;
  grid-template-columns: minmax(0, 1.12fr) minmax(300px, 0.88fr);
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  max-width: none;
}

.home-hero-simple {
  padding: 5.8rem 0 4.2rem;
}

.home-hero-simple-shell {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 39rem;
  padding: 5.6rem 4rem 5rem;
  border-radius: 48px;
  overflow: hidden;
  background:
    radial-gradient(circle at top center, rgba(255, 255, 255, 0.72), transparent 42%),
    linear-gradient(180deg, rgba(240, 248, 255, 0.98), rgba(229, 241, 251, 0.9));
  border: 2px solid rgba(126, 190, 232, 0.62);
  box-shadow: 0 24px 64px rgba(84, 135, 179, 0.16);
}

.home-hero-simple-shell::before,
.home-hero-simple-shell::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 50%;
}

.home-hero-simple-shell::before {
  width: 20rem;
  height: 20rem;
  left: -7rem;
  top: -7.2rem;
  background:
    radial-gradient(circle at 34% 34%, rgba(255, 255, 255, 0.5) 0 12%, transparent 13%),
    radial-gradient(circle at 50% 50%, rgba(24, 71, 111, 0.1) 0 58%, rgba(24, 71, 111, 0.04) 59%, transparent 76%);
  opacity: 0.72;
}

.home-hero-simple-shell::after {
  width: 18rem;
  height: 18rem;
  right: -5.8rem;
  bottom: -6.2rem;
  background:
    radial-gradient(circle at 70% 28%, rgba(255, 255, 255, 0.48) 0 11%, transparent 12%),
    radial-gradient(circle at 50% 50%, rgba(185, 99, 61, 0.12) 0 56%, rgba(185, 99, 61, 0.05) 57%, transparent 75%);
  opacity: 0.76;
}

.home-hero-copy-centered {
  max-width: 70rem;
  text-align: center;
  position: relative;
  z-index: 2;
}

.home-hero h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(4.35rem, 8.4vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.065em;
  color: #172432;
}

.home-hero-lead {
  max-width: none;
  margin: 1.3rem 0 0;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--ink-soft);
}

.home-hero-support {
  max-width: none;
  margin: 0.85rem 0 0;
  color: var(--ink-soft);
  font-weight: 600;
  line-height: 1.7;
}

.home-hero-actions {
  margin-top: 2.2rem;
  gap: 1.1rem;
}

.home-hero-actions-centered {
  justify-content: center;
}

.home-hero-tagline {
  margin: 1.15rem 0 0;
  font-size: 1.55rem;
  line-height: 1.65;
  color: var(--ink-soft);
  font-weight: 600;
}

.home-hero-actions .button {
  padding: 1.05rem 1.8rem;
  min-height: 58px;
  font-size: 1.03rem;
}

.home-flourish {
  position: absolute;
  width: 14rem;
  height: 14rem;
  pointer-events: none;
  opacity: 0.82;
}

.home-flourish span {
  position: absolute;
  width: 5.1rem;
  height: 6.9rem;
  border-radius: 999px 999px 999px 999px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(185, 99, 61, 0.16));
  border: 1px solid rgba(185, 99, 61, 0.12);
  box-shadow: 0 10px 24px rgba(31, 48, 64, 0.06);
}

.home-flourish-left {
  left: 1.5%;
  top: -0.4rem;
  transform: rotate(-12deg);
  animation: homeFlourishFloatLeft 7.6s ease-in-out infinite;
}

.home-flourish-right {
  right: 1.5%;
  bottom: -0.3rem;
  transform: rotate(14deg);
  animation: homeFlourishFloatRight 8.4s ease-in-out infinite;
}

.home-flourish span:nth-child(1) {
  left: 50%;
  top: 0;
  transform: translateX(-50%);
}

.home-flourish span:nth-child(2) {
  right: 0;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
}

.home-flourish span:nth-child(3) {
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) rotate(180deg);
}

.home-flourish span:nth-child(4) {
  left: 0;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
}

.home-flourish span:nth-child(1) { animation: homePetalDrift 5.6s ease-in-out infinite; }
.home-flourish span:nth-child(2) { animation: homePetalDrift 6.2s ease-in-out infinite 0.3s; }
.home-flourish span:nth-child(3) { animation: homePetalDrift 5.8s ease-in-out infinite 0.6s; }
.home-flourish span:nth-child(4) { animation: homePetalDrift 6.4s ease-in-out infinite 0.9s; }

@keyframes homeFlourishFloatLeft {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(-12deg);
  }

  50% {
    transform: translate3d(0, -11px, 0) rotate(-6deg);
  }
}

@keyframes homeFlourishFloatRight {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(14deg);
  }

  50% {
    transform: translate3d(0, 12px, 0) rotate(8deg);
  }
}

@keyframes homePetalDrift {
  0%, 100% {
    filter: none;
  }

  50% {
    filter: brightness(1.05);
  }
}

@keyframes siteEdgeFloatA {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -22px, 0) scale(1.08);
  }
}

@keyframes siteEdgeFloatB {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(-20px, 24px, 0) scale(1.06);
  }
}

@keyframes homeDividerPulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(1.12);
    opacity: 1;
  }
}

@keyframes homeIconDrift {
  0%, 100% {
    transform: translate3d(0, 0, 0);
  }

  50% {
    transform: translate3d(0, -5px, 0);
  }
}

.home-hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

.home-hero-divider-line {
  width: clamp(5rem, 12vw, 8rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(31, 48, 64, 0), rgba(31, 48, 64, 0.18), rgba(31, 48, 64, 0));
}

.home-hero-divider-bloom {
  position: relative;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50%;
  background: rgba(185, 99, 61, 0.14);
  border: 1px solid rgba(185, 99, 61, 0.2);
  animation: homeDividerPulse 4.2s ease-in-out infinite;
}

.home-hero-divider-bloom::before,
.home-hero-divider-bloom::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(185, 99, 61, 0.14);
  transform: rotate(45deg);
}

.home-hero-divider-bloom::after {
  transform: rotate(0deg) scale(1.45);
  opacity: 0.6;
}

.home-feature-card,
.home-learn-card,
.home-event-card,
.home-cta-panel {
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(31, 48, 64, 0.08);
  box-shadow: 0 18px 45px rgba(31, 48, 64, 0.08);
  border-radius: 28px;
}

.home-feature-card,
.home-learn-card,
.home-event-card {
  padding: 1.5rem;
}

.home-feature-card h3,
.home-learn-card h3,
.home-event-card h3 {
  font-size: 1.9rem;
  margin-bottom: 0.65rem;
  color: var(--ink);
}

.home-feature-title {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.home-feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(185, 99, 61, 0.12);
  color: var(--accent-deep);
  flex-shrink: 0;
  animation: homeIconDrift 5.2s ease-in-out infinite;
}

.home-feature-card:nth-child(2) .home-feature-icon {
  animation-delay: 0.4s;
}

.home-feature-card:nth-child(3) .home-feature-icon {
  animation-delay: 0.8s;
}

.home-feature-icon svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: currentColor;
}

.home-story-cards,
.home-learn-grid,
.home-stat-grid {
  display: grid;
  gap: 1rem;
}

.home-story-cards {
  margin-top: 0;
}

.home-story-heading {
  max-width: 32rem;
  margin-bottom: 2rem;
}

.home-story-heading h2 {
  font-size: clamp(2.6rem, 4.4vw, 3.5rem);
  line-height: 0.96;
  margin-bottom: 0;
}

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

.home-event-copy p,
.home-cta-panel p,
.home-story-copy p,
.home-feature-card p,
.home-learn-card p,
.home-event-card p {
  margin-bottom: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.home-stat-strip {
  padding: 2.45rem 0 5rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.34), rgba(255, 255, 255, 0));
}

.home-stat-heading {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  transform: translateX(-1.55rem);
}

.home-stat-heading .eyebrow {
  display: block;
  width: fit-content;
  margin: 0 auto 0.35rem;
  transform: translateX(0.45rem);
}

.home-stat-heading h2 {
  max-width: none;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: clamp(3rem, 5.2vw, 4.35rem);
  line-height: 0.94;
  white-space: nowrap;
  transform: translateX(-0.35rem);
}

.home-stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.home-stat-card {
  position: relative;
  padding: 1.65rem 1.45rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(31, 48, 64, 0.08);
  box-shadow: 0 14px 34px rgba(31, 48, 64, 0.06);
  overflow: hidden;
  opacity: 0;
  transform: translateY(34px) scale(0.98);
  transition:
    opacity 600ms ease,
    transform 600ms ease,
    box-shadow 240ms ease;
}

.home-stat-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, rgba(185, 99, 61, 0), rgba(185, 99, 61, 0.85), rgba(185, 99, 61, 0));
  transform: translateX(-105%);
  transition: transform 850ms ease;
}

.home-stat-card strong {
  display: block;
  font-size: 2.05rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.home-stat-card span {
  color: var(--ink-soft);
  line-height: 1.6;
  font-size: 1rem;
}

.home-stat-card.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.home-stat-card.is-visible::before {
  transform: translateX(0);
}

.home-stat-card.is-visible:nth-child(2) {
  transition-delay: 90ms;
}

.home-stat-card.is-visible:nth-child(3) {
  transition-delay: 180ms;
}

.home-stat-card.is-visible:nth-child(4) {
  transition-delay: 270ms;
}

.home-stat-card:hover {
  box-shadow: 0 20px 44px rgba(31, 48, 64, 0.1);
}

.home-story-section {
  padding-top: 2.25rem;
}

.home-story-section > .shell {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.home-story-section .home-story-cards {
  margin-top: 0;
}

.home-story-copy h2,
.home-section-heading h2,
.home-event-copy h2,
.home-cta-panel h2 {
  max-width: 18ch;
}

.home-story-copy p {
  max-width: 40rem;
}

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

.home-learn-card {
  min-height: 100%;
}

.home-learn-number {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  margin-bottom: 1rem;
  background: rgba(185, 99, 61, 0.12);
  color: var(--accent-deep);
  letter-spacing: 0.08em;
}

.home-event-section {
  padding-top: 2.2rem;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0));
  color: var(--ink);
}

.home-event-copy {
  display: grid;
  gap: 1rem;
  align-content: start;
}

.home-event-copy-background {
  align-content: end;
  justify-items: start;
  min-height: 31rem;
  padding: 1.2rem 0;
  position: relative;
  z-index: 1;
  text-align: left;
}

.home-event-copy p {
  color: var(--ink-soft);
}

.home-event-copy-background .eyebrow.light {
  margin-left: -0.04em;
  color: rgba(255, 255, 255, 0.88);
}

.home-event-copy-background h3 {
  margin: 0;
  margin-left: -0.04em;
  max-width: 10ch;
  font-size: clamp(2.6rem, 4.8vw, 4rem);
  line-height: 0.92;
  color: #fff;
  text-shadow: 0 14px 32px rgba(16, 28, 40, 0.34);
}

.home-event-copy > p:last-of-type {
  max-width: 34rem;
}

.home-event-photo {
  margin-top: 0.45rem;
  border-radius: 30px;
  overflow: hidden;
  border: 1.5px solid rgba(126, 190, 232, 0.45);
  box-shadow: 0 20px 48px rgba(84, 135, 179, 0.14);
  background: rgba(255, 255, 255, 0.92);
}

.home-event-photo img {
  display: block;
  width: 100%;
  max-height: 30rem;
  object-fit: cover;
}

.home-event-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 0.45rem;
  max-width: 34rem;
}

.home-event-slideshow-card {
  max-width: none;
  margin: 0;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(31, 48, 64, 0.08);
  box-shadow: 0 18px 45px rgba(31, 48, 64, 0.08);
}

.home-event-slideshow-media {
  min-height: 220px;
  background: rgba(31, 48, 64, 0.08);
}

.home-event-slideshow-copy {
  display: grid;
  gap: 0.35rem;
  padding: 1rem 1rem 1.1rem;
}

.home-event-slideshow-copy .eyebrow {
  margin-bottom: 0;
}

.home-event-slideshow-copy h3 {
  margin-bottom: 0;
  font-size: 1.45rem;
}

.home-event-section .eyebrow.light {
  color: var(--accent);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
}

.home-event-card {
  background: rgba(255, 255, 255, 0.94);
}

.home-event-list {
  display: grid;
  gap: 0.9rem;
  align-content: center;
  align-self: center;
  justify-self: start;
  width: 100%;
  max-width: 100%;
  margin-top: 4.6rem;
  padding-top: 0;
}

.home-event-card .event-date {
  font-size: 0.92rem;
  padding: 0.42rem 0.82rem;
  border-radius: 999px;
  background: rgba(185, 99, 61, 0.12);
  color: var(--accent-deep);
}

.home-event-card .button-secondary {
  background: rgba(31, 48, 64, 0.08);
}

.home-cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.9rem 2rem;
}

.home-cta-panel .cta-actions {
  margin-top: 0;
}

@keyframes flowFadeUp {
  from {
    opacity: 0;
    transform: translate3d(0, 30px, 0) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes flowFadeDown {
  from {
    opacity: 0;
    transform: translate3d(0, -18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes flowDriftIn {
  from {
    opacity: 0;
    transform: translate3d(-42px, 20px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@keyframes flowTiltIn {
  from {
    opacity: 0;
    transform: translate3d(0, 34px, 0) rotate(-1.6deg) scale(0.985);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }
}

@keyframes flowFocusIn {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.945);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes flowSettleIn {
  from {
    opacity: 0;
    transform: translate3d(0, 26px, 0) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes homeClickBurst {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.18);
  }

  18% {
    opacity: 0.9;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(5.4);
  }
}

.flow-reveal {
  --flow-delay: 0ms;
  opacity: 0;
  transform: translate3d(0, 30px, 0) scale(0.985);
  transition:
    opacity 760ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--flow-delay),
    transform 760ms cubic-bezier(0.2, 0.8, 0.2, 1) var(--flow-delay);
  will-change: opacity, transform;
}

.flow-reveal--drift {
  transform: translate3d(-34px, 20px, 0);
}

.flow-reveal--glide {
  transform: translate3d(34px, 20px, 0);
}

.flow-reveal--tilt {
  transform: translate3d(0, 34px, 0) rotate(-1.4deg) scale(0.985);
}

.flow-reveal--focus {
  transform: translate3d(0, 24px, 0) scale(0.945);
}

.flow-reveal--settle {
  transform: translate3d(0, 24px, 0) scale(0.97);
}

.flow-reveal.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

.fundraiser-meter .meter-fill {
  transform-origin: left center;
  transform: scaleX(0);
  transition: transform 1200ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms;
}

.fundraiser-meter.is-visible .meter-fill {
  transform: scaleX(1);
}

.home-click-burst {
  position: fixed;
  left: 0;
  top: 0;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  pointer-events: none;
  z-index: 90;
  background: radial-gradient(circle, rgba(185, 99, 61, 0.24), rgba(185, 99, 61, 0.02) 68%, transparent 72%);
  border: 1px solid rgba(185, 99, 61, 0.42);
  transform: translate(-50%, -50%) scale(0.18);
  animation: homeClickBurst 680ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.home-click-burst::after {
  content: "";
  position: absolute;
  inset: -0.8rem;
  border-radius: inherit;
  border: 1px solid rgba(31, 48, 64, 0.14);
}

@media (prefers-reduced-motion: no-preference) {
  .site-header {
    animation: flowFadeDown 680ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .page-hero .narrow,
  .page-hero .involved-hero-layout {
    opacity: 0;
    animation: flowFadeUp 840ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
  }

  .about-page .page-hero .narrow {
    animation-name: flowDriftIn;
  }

  .huntingtons-page .page-hero .narrow {
    animation-name: flowFocusIn;
  }

  .events-page .page-hero .narrow {
    animation-name: flowTiltIn;
  }

  .involved-page .page-hero .narrow,
  .involved-page .page-hero .involved-hero-layout {
    animation-name: flowSettleIn;
  }

  .donate-page .page-hero .narrow {
    animation-name: flowFocusIn;
    animation-duration: 900ms;
  }

  .home-hero-copy {
    opacity: 0;
    animation: flowFadeUp 820ms cubic-bezier(0.2, 0.8, 0.2, 1) 120ms both;
  }
}

@media (max-width: 980px) {
  .hero-grid,
  .hero-home-layout,
  .split,
  .footer-grid,
  .form-layout,
  .three-up,
  .officer-grid,
  .event-list,
  .gallery-grid,
  .role-list {
    grid-template-columns: 1fr;
  }

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

  .hero-home-copy {
    max-width: 100%;
    text-align: center;
  }

  .pull-quote {
    margin-top: 1.5rem;
  }

  .education-fact-panel {
    margin-top: 0;
  }

  .home-stat-heading {
    transform: none;
  }

  .home-stat-heading h2 {
    transform: none;
  }

  .home-stat-heading .eyebrow {
    transform: none;
  }

  .involved-hero-layout {
    align-items: start;
  }

  .involved-hero-media {
    margin-top: 0;
    justify-self: center;
    width: min(100%, 34rem);
  }

  .hero-home h1 {
    margin: 0 auto;
  }

  .hero-home .hero-mission,
  .hero-home-support {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .hero-actions-home {
    justify-content: center;
  }

  .home-hero-grid,
  .home-story-grid,
  .home-event-grid,
  .home-stat-grid,
  .home-learn-grid,
  .home-story-cards-wide {
    grid-template-columns: 1fr;
  }

  .home-hero {
    padding-top: 5rem;
  }

  .home-hero-simple {
    padding: 4.9rem 0 3.2rem;
  }

  .home-hero-simple-shell {
    min-height: 33rem;
    padding: 4.25rem 2.5rem 3.8rem;
  }

  .home-hero h1,
  .home-story-copy h2,
  .home-section-heading h2,
  .home-event-copy h2,
  .home-cta-panel h2 {
    max-width: none;
  }

  .home-stat-heading h2 {
    white-space: normal;
  }

  .home-story-section {
    padding-top: 2rem;
  }

  .home-story-section > .shell {
    padding: 0;
  }

  .home-story-heading {
    margin-bottom: 1.75rem;
  }

  .home-story-heading h2 {
    font-size: clamp(2.4rem, 7vw, 3.15rem);
  }

  .home-event-section {
    padding-top: 1.8rem;
  }

  .home-event-copy-background {
    min-height: 24rem;
  }

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

  .home-event-list {
    align-self: stretch;
    margin-top: 0;
    padding-top: 0;
  }

  .home-hero-actions {
    justify-content: center;
  }

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

  .page-hero::before,
  .page-hero::after,
  .page-main > .section::before,
  .page-main > .section::after,
  .home-main > .section::before,
  .home-main > .section::after,
  .site-footer::before,
  .site-footer::after {
    width: 12rem;
    height: 12rem;
    opacity: 0.34;
  }

  .home-hero-simple-shell::before {
    width: 15rem;
    height: 15rem;
    left: -5.5rem;
    top: -5.6rem;
  }

  .home-hero-simple-shell::after {
    width: 13.5rem;
    height: 13.5rem;
    right: -4.6rem;
    bottom: -5rem;
  }
}

@media (max-width: 760px) {
  .nav-toggle { display: inline-flex; }

  .ways-help-title {
    white-space: normal;
  }

  .donate-hdsa-card {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .donate-hdsa-copy {
    justify-items: center;
  }

  body.home-page .shell {
    width: calc(100% - 1.4rem);
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.6rem);
    left: 1rem;
    right: 1rem;
    padding: 0.8rem;
    border-radius: 24px;
    background: rgba(255, 250, 245, 0.98);
    box-shadow: var(--shadow);
    border: 1px solid rgba(31, 48, 64, 0.08);
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: 180ms ease;
  }

  .social-link {
    width: 44px;
    height: 44px;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav a { text-align: center; }
  .brand-text { max-width: 15rem; font-size: 1rem; }
  .hero { padding-top: 4.5rem; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); }
  .hero-home h1 { white-space: normal; }
  .page-hero h1 { font-size: clamp(2.4rem, 11vw, 3.6rem); }
  .stat-grid,
  .form-grid { grid-template-columns: 1fr; }

  .home-hero {
    padding: 4.6rem 0 2.3rem;
  }

  .home-hero-simple {
    padding: 4.5rem 0 2.8rem;
  }

  .home-hero-simple-shell {
    min-height: 29rem;
    padding: 3.75rem 1.8rem 3.3rem;
    border-radius: 34px;
  }

  .home-hero h1 {
    font-size: clamp(3.45rem, 12.8vw, 5.2rem);
  }

  .home-hero-tagline {
    font-size: 1.2rem;
  }

  .home-flourish {
    width: 9rem;
    height: 9rem;
    opacity: 0.56;
  }

  .home-flourish-left {
    left: 0;
    top: 0.7rem;
  }

  .home-flourish-right {
    right: 0;
    bottom: 1rem;
  }

  .home-flourish span {
    width: 3.3rem;
    height: 4.7rem;
  }

  .home-hero-divider {
    margin-top: 1.6rem;
    gap: 0.7rem;
  }

  .home-hero-divider-line {
    width: 4rem;
  }

  .home-cta-panel {
    padding: 1.35rem;
  }

  .home-story-section {
    padding-top: 1.8rem;
  }

  .home-story-section > .shell {
    padding: 0;
    border-radius: 0;
  }

  .home-story-heading {
    margin-bottom: 1.5rem;
  }

  .home-story-heading h2 {
    font-size: clamp(2.15rem, 10.8vw, 2.8rem);
  }

  .home-event-section {
    padding-top: 1.45rem;
  }

  .home-event-copy-background {
    min-height: 19rem;
    padding: 1.2rem 0;
    border-radius: 24px;
  }

  .home-event-copy-background h3 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

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

  .home-event-list {
    margin-top: 0;
    padding-top: 0;
  }

  .home-event-photo {
    border-radius: 24px;
  }

  .home-event-photo img {
    max-height: 20rem;
  }

  .home-event-slideshow-media {
    min-height: 200px;
  }

  .home-story-section .home-story-cards {
    margin-top: 0;
  }

  .home-hero-actions,
  .home-cta-panel .cta-actions {
    width: 100%;
  }

  .home-hero-actions .button,
  .home-cta-panel .button,
  .home-event-card .button {
    width: 100%;
  }

  .home-feature-card h3,
  .home-learn-card h3,
  .home-event-card h3 {
    font-size: 1.7rem;
  }

  .home-feature-title {
    gap: 0.65rem;
  }

  .home-feature-icon {
    width: 2.25rem;
    height: 2.25rem;
  }

  .page-hero::before,
  .page-hero::after,
  .page-main > .section::before,
  .page-main > .section::after,
  .home-main > .section::before,
  .home-main > .section::after,
  .site-footer::before,
  .site-footer::after {
    width: 9rem;
    height: 9rem;
    opacity: 0.24;
  }

  .home-hero-simple-shell::before {
    width: 11rem;
    height: 11rem;
    left: -4rem;
    top: -4rem;
  }

  .home-hero-simple-shell::after {
    width: 10rem;
    height: 10rem;
    right: -3.5rem;
    bottom: -3.8rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .page-hero .narrow,
  .page-hero .involved-hero-layout,
  .home-hero-copy,
  .flow-reveal,
  .home-click-burst {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .home-stat-card,
  .home-stat-card::before,
  .education-fact-row {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .fundraiser-meter .meter-fill {
    transform: none;
    transition: none;
  }

  .page-main::before,
  .page-main::after,
  .home-main::before,
  .home-main::after,
  .home-flourish-left,
  .home-flourish-right,
  .home-flourish span,
  .home-hero-divider-bloom,
  .home-feature-icon {
    animation: none;
  }
}
