/* =============================================
   OUTPOST CAMPAIGN PORTAL TEMPLATE
   Demo site — John Doe for State House, District 5
   ============================================= */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red:        #bf2033;
  --red-dark:   #9a1828;
  --gold:       #d4a030;
  --gold-light: #e8b84a;
  --navy:       #0e1c3a;
  --navy-mid:   #162850;
  --charcoal:   #2c2c2c;
  --white:      #ffffff;
  --off-white:  #f5f4f0;
  --text:       #222222;
  --text-muted: #666666;
  --font-display: 'Oswald', sans-serif;
  --font-body:    'Open Sans', sans-serif;
  --transition:   0.3s ease;
  --shadow:       0 4px 24px rgba(0,0,0,0.12);
  --shadow-lg:    0 8px 40px rgba(0,0,0,0.18);
}

/* ── Preloader ── */
#preloader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
#preloader.loaded {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader-inner {
  text-align: center;
}
.preloader-spinner {
  width: 48px;
  height: 48px;
  border: 3px solid rgba(255,255,255,0.15);
  border-top-color: var(--gold);
  border-radius: 50%;
  margin: 0 auto 1.2rem;
  animation: spin 0.8s linear infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.preloader-name {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: 0.06em;
}
body.no-scroll { overflow: hidden; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  padding: 0.85em 2.2em;
  border-radius: 4px;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
  border: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191,32,51,0.4);
}

.btn-outline {
  background: var(--red);
  color: var(--white);
  border: none;
}
.btn-outline:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(191,32,51,0.4);
}

.btn-donate {
  display: block;
  width: 100%;
  max-width: 320px;
  margin: 1.5rem auto;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.15rem;
  text-align: center;
  padding: 1em 2em;
  border-radius: 4px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-donate:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(212,160,48,0.45);
}

/* ---- NAVBAR ---- */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--charcoal);
  box-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.9rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-banner {
  height: 60px;
  width: auto;
}
.logo-name {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.logo-sub {
  font-size: 0.7rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 0.2rem;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--gold); }

.nav-donate {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.5em 1.2em !important;
  border-radius: 4px;
  font-family: var(--font-display) !important;
  font-size: 0.875rem !important;
  transition: background var(--transition) !important;
}
.nav-donate:hover { background: var(--red-dark) !important; }

.nav-login {
  font-size: 0.75rem !important;
  color: rgba(255,255,255,0.4) !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.18) !important;
  padding: 0.4em 0.9em !important;
  border-radius: 4px;
  transition: color var(--transition), border-color var(--transition) !important;
}
.nav-login:hover { color: rgba(255,255,255,0.85) !important; border-color: rgba(255,255,255,0.45) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: visible;
  padding: 0 2rem;
  padding-bottom: 40px;
}

.hero-bg-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  animation: kenBurns 30s infinite alternate ease-in-out;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    rgba(10, 20, 50, 0.88) 0%,
    rgba(10, 20, 50, 0.75) 50%,
    rgba(10, 20, 50, 0.35) 100%
  );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 4rem;
  padding-top: 80px;
  padding-bottom: 60px;
}

.hero-content {
  text-align: left;
  /* The 'fadeInUp' animation is now applied to child elements for a staggered effect */
}

.hero-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
  animation: fadeInUp 0.9s 0.2s both;
}

.hero-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.8rem, 5.5vw, 5rem);
  color: var(--white);
  line-height: 1.08;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
  animation: fadeInUp 0.9s 0.4s both;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255,255,255,0.78);
  margin-bottom: 2.5rem;
  letter-spacing: 0.03em;
  animation: fadeInUp 0.9s 0.6s both;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  animation: fadeInUp 0.9s 0.8s both;
}

/* Jeff's portrait */
.hero-photo-wrap {
  position: relative;
  flex-shrink: 0;
  animation: slideInFromRight 1s cubic-bezier(0.25, 1, 0.5, 1) 0.5s both;
}

.hero-photo-frame {
  width: clamp(240px, 22vw, 340px);
  border-radius: 8px;
  overflow: hidden;
  border: 4px solid var(--red);
  box-shadow: 0 12px 48px rgba(0,0,0,0.55), 0 0 0 8px rgba(255,255,255,0.06);
}

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

.hero-photo-badge {
  position: absolute;
  bottom: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--red);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.35em 1.2em;
  border-radius: 3px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(191,32,51,0.5);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: fadeInUp 1.5s 1s both;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid rgba(255,255,255,0.45);
  border-bottom: 2px solid rgba(255,255,255,0.45);
  transform: rotate(45deg);
  animation: bounce 1.8s infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50% { transform: rotate(45deg) translateY(5px); }
}

/* ---- YARD SIGN ---- */
.yard-sign-wrap {
  position: relative;
  z-index: 3;
  text-align: center;
  animation: signPlant 1s 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.yard-sign-img {
  width: clamp(280px, 40vw, 500px);
  height: auto;
  filter: drop-shadow(0 6px 20px rgba(0,0,0,0.35));
}
@keyframes signPlant {
  from { opacity: 0; transform: translateY(-40px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 720px) {
  .yard-sign-wrap { text-align: left; padding-left: 1.4rem; }
  .yard-sign-img { width: clamp(200px, 55vw, 300px); }
}
@media (max-width: 480px) {
  .yard-sign-wrap { padding-left: 1rem; }
  .yard-sign-img { width: clamp(160px, 60vw, 240px); }
}

/* ---- PILLARS BAR ---- */
.pillars-bar {
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding: 1.2rem 2rem;
  flex-wrap: wrap;
  position: relative;
  z-index: 3;
}

.pillar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 2.5rem;
}
.pillar-icon {
  font-size: 1.6rem;
  color: #d4a030;
  width: 36px;
  text-align: center;
}
.pillar span {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pillar-divider {
  width: 1px;
  height: 40px;
  background: rgba(255,255,255,0.3);
}

/* ---- BIO SCROLLYTELLING — continuous cascade ---- */

/* Section height is determined by the content stream (right column).
   The left visual panel is sticky and stretches alongside it. */
.bio-scroll-section {
  display: grid;
  grid-template-columns: 44% 56%;
  align-items: start;
  position: relative;
}

/* ── LEFT: sticky visual panel ── */
.bio-visual-panel {
  position: sticky;
  top: 0;
  height: 100vh;
  align-self: start;
  overflow: hidden;
  background: #050810;
}

/* Photos stack; only .active is visible */
.bio-vp-imgs {
  position: absolute;
  inset: 0;
}
.bio-vp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
              transform 1.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}
.bio-vp-img.active {
  opacity: 1;
  transform: scale(1);
}

/* Gradient overlay — dark on right so it bleeds into the white content column */
.bio-vp-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(5, 8, 16, 0.18) 0%,
    rgba(5, 8, 16, 0.55) 60%,
    rgba(5, 8, 16, 0.94) 100%
  );
  pointer-events: none;
}

/* Chapter identity block — always visible, updates as chapters scroll into view */
.bio-vp-identity {
  position: absolute;
  bottom: 3rem;
  left: 2.5rem;
  z-index: 10;
}
/* Stack all labels; only .active is shown */
.bio-vp-ch {
  position: absolute;
  bottom: 0;
  left: 0;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.55s ease, transform 0.55s ease;
  pointer-events: none;
}
.bio-vp-ch.active {
  opacity: 1;
  transform: translateY(0);
  position: relative;
}
.bio-vp-num {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: 1;
  color: rgba(255,255,255,0.09);
  letter-spacing: -0.02em;
  margin-bottom: 0.1rem;
}
.bio-vp-name {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}

/* Vertical progress bar on the right edge of the visual panel */
.bio-vp-track {
  position: absolute;
  right: 0;
  top: 12%;
  height: 76%;
  width: 2px;
  background: rgba(255,255,255,0.08);
  z-index: 10;
  border-radius: 2px;
}
.bio-vp-fill {
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--gold), var(--red));
  border-radius: 2px;
  transition: height 0.1s linear;
  will-change: height;
}

/* ── Scroll Story container ── */
.scroll-story {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

/* ── Act 1: Rappelling Jeff ── */
.rappel-figure {
  position: absolute;
  right: 6%;
  top: -400px;
  width: clamp(80px, 10vw, 150px);
  pointer-events: none;
  will-change: transform;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.rappel-figure.visible { opacity: 1; }
.rappel-figure img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

/* ── Act 2: Tim's chip bag ── */
.chip-bag {
  position: absolute;
  top: 0;
  right: 8%;
  width: clamp(100px, 14vw, 180px);
  z-index: 1;
  will-change: transform, opacity;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.chip-bag.visible { opacity: 1; }
.chip-bag img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}
.chip {
  position: absolute;
  top: 0;
  width: var(--size, 32px);
  height: calc(var(--size, 32px) * 0.65);
  background: radial-gradient(ellipse at 35% 30%,
    #d4a83a 0%,
    #c49428 25%,
    #a07518 50%,
    #8a6212 70%,
    #6e4e0e 100%
  );
  border-radius: 48% 52% 42% 58% / 55% 50% 50% 45%;
  opacity: 0;
  transform: rotate(var(--rot, 0deg));
  will-change: transform, opacity;
  box-shadow: inset -1px -2px 3px rgba(120,70,10,0.25),
              inset 2px 1px 3px rgba(255,230,140,0.4),
              0 1px 2px rgba(0,0,0,0.08);
  border: 0.5px solid rgba(180,130,40,0.2);
}

/* ── RIGHT: scrolling content stream ── */
.bio-content-stream {
  background: var(--white);
  border-left: 1px solid rgba(0,0,0,0.05);
  position: relative;
  overflow: hidden;
}

/* Each chapter block — tall enough to breathe, short enough to cascade naturally */
.bio-stream-ch {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 4.5rem 5rem 4rem;
  position: relative;
  z-index: 1;
}

/* Thin separator between chapters */
.bio-stream-ch + .bio-stream-ch {
  border-top: 1px solid rgba(0,0,0,0.07);
}

/* Chapter number watermark — always visible, orients the reader */
.bio-stream-ch::before {
  content: "0" attr(data-stream-ch);
  position: absolute;
  top: 2.5rem;
  left: 4rem;
  font-family: var(--font-display);
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  color: var(--red);
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  visibility: hidden;
}

/* ── Cascade items ── */
/* Start hidden + shifted down; JS adds .visible with velocity-tuned duration */
.cascade-item {
  opacity: 0;
  transform: translateY(32px);
  /* duration/delay overridden per-element by JS */
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.cascade-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Eyebrow tag */
.bio-sc-eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 1.3rem;
}

/* Big headline — the story beat */
.bio-sc-headline {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4vw, 4rem);
  line-height: 1.05;
  color: var(--navy);
  margin-bottom: 1.8rem;
}

/* Body copy */
.bio-sc-body {
  font-size: 1.02rem;
  color: var(--text-muted);
  line-height: 1.85;
  max-width: 480px;
  margin-bottom: 2rem;
}
.bio-sc-body strong { color: var(--text); font-weight: 600; }

/* Badge / tag line */
.bio-sc-tag {
  display: inline-flex;
}
.bio-sc-tag span {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  border: 1px solid rgba(14,28,58,0.22);
  padding: 0.48em 1.1em;
  border-radius: 2px;
}

/* CTA variant in chapter 4 */
.bio-sc-cta-wrap { display: block; }
.bio-sc-cta {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.03em;
  color: var(--white);
  background: var(--red);
  padding: 0.85em 2em;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}
.bio-sc-cta:hover {
  background: var(--red-dark);
  transform: translateX(5px);
  box-shadow: 0 6px 20px rgba(191,32,51,0.4);
}

/* Reduced motion — skip all transitions, show items immediately */
@media (prefers-reduced-motion: reduce) {
  .bio-vp-img,
  .bio-vp-ch,
  .cascade-item,
  .bio-vp-fill {
    transition: none !important;
    animation:  none !important;
  }
  .cascade-item { opacity: 1; transform: none; }
  .bio-vp-img.active { opacity: 1; transform: scale(1); }
}

/* ---- SECTIONS ---- */
.section {
  padding: 5rem 2rem;
  position: relative;
  z-index: 3;
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.6rem;
  font-weight: 700;
}
.section-eyebrow.light { color: var(--gold); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  margin-bottom: 1.2rem;
  color: var(--navy);
}
.section-title.light { color: var(--white); }

.section-intro {
  max-width: 680px;
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 3rem;
}


/* ---- ANNOUNCEMENT ---- */
.announcement-section {
  background: var(--navy);
  overflow: hidden;
  position: relative;
}
.announcement-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.12;
  z-index: 0;
}
.announcement-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(14,28,58,0.85) 50%, var(--navy) 100%);
  z-index: 0;
}
.announcement-section > * {
  position: relative;
  z-index: 1;
}

.announce-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.announce-details {
  color: var(--white);
}
.announcement-section .section-eyebrow { color: var(--gold); }
.announcement-section .section-title {
  color: var(--white);
  margin-bottom: 2rem;
}

.announce-fact {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.4rem;
}
.announce-icon {
  font-size: 1.2rem;
  color: var(--gold);
  margin-top: 0.2rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}
.announce-fact strong {
  display: block;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: 0.02em;
}
.announce-fact span {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-top: 0.15rem;
}

.announce-cal-btn {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Flyer with subtle entrance animation */
.announce-flyer {
  max-width: 320px;
  flex-shrink: 0;
}
.announce-flyer-img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 3px solid rgba(255,255,255,0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4);
  /* no animation */
}
@keyframes flyerFloat {
  0%, 100% { transform: translateY(0) rotate(0.5deg); }
  50%      { transform: translateY(-8px) rotate(-0.5deg); }
}

/* Mobile — stack vertically */
@media (max-width: 720px) {
  .announce-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .announce-fact {
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    text-align: center;
  }
  .announce-flyer {
    max-width: 260px;
    margin: 0 auto;
    order: -1;
  }
  .announce-cal-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ── Flag ribbon at bottom of announcement ── */
.flag-ribbon {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  z-index: 2;
  opacity: 0.4;
  clip-path: polygon(
    0% 30%, 5% 15%, 10% 0%, 15% 15%, 20% 30%,
    25% 15%, 30% 0%, 35% 15%, 40% 30%,
    45% 15%, 50% 0%, 55% 15%, 60% 30%,
    65% 15%, 70% 0%, 75% 15%, 80% 30%,
    85% 15%, 90% 0%, 95% 15%, 100% 30%,
    100% 100%, 0% 100%
  );
  animation: flagWaveH 4s ease-in-out infinite;
}
.flag-stripe {
  flex: 1;
  min-width: 0;
}
.flag-red   { background: #b22234; }
.flag-white { background: #fff; }

.flag-ribbon::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255,255,255,0.18) 25%,
    rgba(255,255,255,0.18) 35%,
    transparent 60%
  );
  animation: flagShimmer 3.5s linear infinite;
}

@keyframes flagWaveH {
  0%   { clip-path: polygon(
    0% 30%, 5% 15%, 10% 0%, 15% 15%, 20% 30%,
    25% 15%, 30% 0%, 35% 15%, 40% 30%,
    45% 15%, 50% 0%, 55% 15%, 60% 30%,
    65% 15%, 70% 0%, 75% 15%, 80% 30%,
    85% 15%, 90% 0%, 95% 15%, 100% 30%,
    100% 100%, 0% 100%
  ); }
  50%  { clip-path: polygon(
    0% 0%, 5% 15%, 10% 30%, 15% 15%, 20% 0%,
    25% 15%, 30% 30%, 35% 15%, 40% 0%,
    45% 15%, 50% 30%, 55% 15%, 60% 0%,
    65% 15%, 70% 30%, 75% 15%, 80% 0%,
    85% 15%, 90% 30%, 95% 15%, 100% 0%,
    100% 100%, 0% 100%
  ); }
  100% { clip-path: polygon(
    0% 30%, 5% 15%, 10% 0%, 15% 15%, 20% 30%,
    25% 15%, 30% 0%, 35% 15%, 40% 30%,
    45% 15%, 50% 0%, 55% 15%, 60% 30%,
    65% 15%, 70% 0%, 75% 15%, 80% 30%,
    85% 15%, 90% 0%, 95% 15%, 100% 30%,
    100% 100%, 0% 100%
  ); }
}
@keyframes flagShimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(200%); }
}

@media (max-width: 720px) {
  .flag-ribbon { height: 44px; opacity: 0.3; }
}

/* ---- ENDORSEMENTS ---- */
.endorsement-section {
  background: var(--off-white);
}
.endorsement-section .section-title,
.endorsement-section .section-eyebrow {
  text-align: center;
  display: block;
}
.endorsement-section .section-title { margin-bottom: 3rem; }

.endorser-stack {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.endorser {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  background: var(--white);
  border-radius: 12px;
  padding: 1.6rem 2rem;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--red);
  max-width: 680px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.endorser:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

/* Leading offset (left-aligned card) */
.endorser-lead {
  margin-right: auto;
  margin-left: 0;
}

/* Trailing offset (right-aligned card, gold accent) */
.endorser-trail {
  margin-left: auto;
  margin-right: 0;
  border-left: none;
  border-right: 4px solid var(--gold);
}

/* 100px circular video avatar */
.endorser-avatar {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--navy);
  background: #fff;
}
.endorser-avatar video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.endorser-avatar-initial {
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.endorser-avatar-initial span {
  font-family: var(--font-display);
  font-size: 2rem;
  letter-spacing: 0.06em;
  color: var(--gold);
}

.endorser-bubble {
  flex: 1;
}
.endorser-bubble p {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 0.7rem;
  font-style: italic;
}
.endorser-bubble p::before {
  content: '"';
  font-family: var(--font-display);
  font-size: 2.2rem;
  color: var(--red);
  line-height: 0.5;
  margin-right: 0.15em;
  vertical-align: -0.3em;
}
.endorser-name {
  display: block;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.06em;
  color: var(--navy);
  text-transform: uppercase;
}
.endorser-title {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-top: 0.2rem;
}

/* Mobile — stack avatar above text, full width */
@media (max-width: 720px) {
  .endorser {
    flex-direction: column !important;
    text-align: center;
    padding: 1.4rem 1.2rem;
    gap: 1rem;
    max-width: 100%;
  }
  .endorser-bubble p { font-size: 0.92rem; }
}

/* ---- ABOUT CARDS ---- */
.about-section {
  background: var(--off-white);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--red);
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow var(--transition);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 1.2rem;
}
.card-icon svg { width: 100%; height: 100%; }

.card-photo {
  width: calc(100% + 4rem);
  margin: -2.2rem -2rem 1.5rem;
  overflow: hidden;
  border-radius: 5px 5px 0 0;
  max-height: 200px;
}
.card-photo img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: center 25%;
  display: block;
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.75;
}
.card p strong { color: var(--text); }

/* ---- PRIORITIES ---- */
.priorities-section {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}
.priorities-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?w=1920&q=80&auto=format&fit=crop') center/cover no-repeat;
  opacity: 0.7;
  z-index: 0;
}
.priorities-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, var(--navy) 0%, rgba(14,28,58,0.85) 50%, var(--navy) 100%);
  z-index: 0;
}
.priorities-section > * {
  position: relative;
  z-index: 1;
}
.priorities-section .section-eyebrow { color: var(--gold); }
.priorities-section .section-title { color: var(--white); }

.priorities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.priority-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 2.2rem 2rem;
  position: relative;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
  opacity: 0;
  transform: translateY(30px);
}
.priority-card.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease, background var(--transition), border-color var(--transition);
}
.priority-card:hover {
  background: rgba(255,255,255,0.09);
  border-color: var(--gold);
  transform: translateY(-4px);
}

.priority-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.06);
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  line-height: 1;
}

.priority-icon {
  display: block;
  font-size: 2.4rem;
  margin-bottom: 1.2rem;
  color: #bf2033;
}

.priority-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.priority-card p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
}

/* ---- DONATE ---- */
.donate-section {
  background: linear-gradient(160deg, var(--navy-mid) 0%, var(--navy) 100%);
  text-align: center;
  padding: 5rem 2rem;
}

.donate-inner {
  max-width: 640px;
  margin: 0 auto;
}

.donate-sub {
  color: rgba(255,255,255,0.7);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.donate-amounts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.amount-btn {
  background: rgba(255,255,255,0.08);
  border: 2px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 0.6em 1.4em;
  border-radius: 4px;
  cursor: pointer;
  transition: all var(--transition);
}
.amount-btn:hover,
.amount-btn.active {
  background: var(--red);
  border-color: var(--red);
  color: var(--white);
}
.amount-btn.other { border-style: dashed; }

.custom-amount-wrap {
  margin-bottom: 1rem;
}
.custom-amount-wrap input {
  background: rgba(255,255,255,0.1);
  border: 2px solid rgba(255,255,255,0.3);
  color: var(--white);
  font-size: 1.1rem;
  padding: 0.7em 1.2em;
  border-radius: 4px;
  width: 200px;
  text-align: center;
  outline: none;
}
.custom-amount-wrap input::placeholder { color: rgba(255,255,255,0.45); }
.custom-amount-wrap input:focus { border-color: var(--gold); }

.hidden { display: none; }

.donate-legal {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  line-height: 1.6;
  margin-top: 0.5rem;
}

.donate-mail {
  margin-top: 2rem;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 1.2rem 1.5rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
}
.donate-mail strong { color: var(--gold); }
.donate-mail em { font-style: normal; color: var(--white); }

/* ---- CONNECT ---- */
.connect-section {
  background: var(--off-white);
}

.connect-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.connect-text p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.connect-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.connect-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}
.connect-list li::before {
  content: '';
  width: 8px;
  height: 8px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

.connect-form {
  background: var(--white);
  border-radius: 8px;
  padding: 2.2rem 2rem;
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.1rem;
}

.form-group label {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 0.35rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"] {
  padding: 0.75em 1em;
  border: 2px solid #ddd;
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus { border-color: var(--red); }

.checkbox-group label {
  flex-direction: row !important;
  align-items: flex-start;
  gap: 0.6rem;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  cursor: pointer;
  font-weight: 400 !important;
}
.checkbox-group input[type="checkbox"] {
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--red);
}

.full-width { width: 100%; text-align: center; }

.form-legal {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.8rem;
  line-height: 1.5;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--charcoal);
  padding: 3rem 2rem 2rem;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 2rem 3rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.footer-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  color: var(--white);
}
.footer-tagline {
  font-size: 0.8rem;
  color: var(--gold);
  font-style: italic;
}
.footer-office {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.05em;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  align-items: center;
  justify-content: center;
}
.footer-links a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: 0.75rem;
}
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background var(--transition), color var(--transition);
}
.social-btn svg { width: 16px; height: 16px; }
.social-btn:hover {
  background: var(--red);
  color: var(--white);
}

.footer-legal {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.footer-legal p {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.35);
  line-height: 1.5;
}
.footer-legal a { color: rgba(255,255,255,0.5); text-decoration: underline; }
.footer-legal a:hover { color: var(--white); }

/* ---- MOBILE TOUCH TARGETS ---- */
@media (pointer: coarse) {
  .btn { min-height: 44px; }
  .amount-btn { min-height: 44px; }
  .nav-toggle { min-width: 44px; min-height: 44px; justify-content: center; }
  .social-btn { width: 44px; height: 44px; }
  .checkbox-group label { min-height: 44px; display: flex; align-items: center; }
}

/* ---- ANIMATIONS ---- */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideInFromRight {
  from { opacity: 0; transform: translateX(80px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes kenBurns {
  from { transform: scale(1.05); }
  to   { transform: scale(1); }
}

/* Replaced the single hero animation with staggered animations on child elements */
/* .hero-content { animation: fadeInUp 0.9s 0.2s both; } */

/* ---- AUTH VISIBILITY ---- */
/* Hide portal links by default */
.nav-portal {
  display: none !important;
}

/* When user is logged in, show portal links and hide login link */
body.logged-in .nav-portal {
  display: flex !important; /* or block, inline-flex, etc. */
}
body.logged-in .nav-login {
  display: none !important;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .connect-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .footer-links { justify-content: flex-start; }

  /* Bio — stack visual above content on tablet */
  .bio-scroll-section {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .bio-visual-panel {
    position: relative;
    height: 50vw;
    max-height: 60vh;
    min-height: 260px;
  }
  .bio-vp-track { display: none; }
  .bio-vp-identity { bottom: 1.5rem; left: 1.5rem; }
  .bio-vp-num { font-size: 3.5rem; }

  /* Scroll story — behind stacked content on tablet */
  .scroll-story { z-index: 0; }
  .bio-stream-ch {
    min-height: auto;
    padding: 4rem 2.5rem 4rem 2rem;
    position: relative;
    z-index: 1;
  }
  .bio-stream-ch::before { left: 2rem; }
  .bio-sc-headline { font-size: clamp(2.2rem, 6vw, 3rem); }
  .bio-sc-body { max-width: 100%; }
  .rappel-figure { width: clamp(60px, 13vw, 100px); right: 2%; }
  .chip-bag { width: clamp(60px, 13vw, 100px); right: 3%; }
}

@media (max-width: 720px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 1.2rem; }
  .nav-toggle { display: flex; z-index: 1001; position: relative; }
  .nav-banner { height: 35px; }

  .pillars-bar {
    gap: 0.6rem;
    padding: 0.9rem 1rem;
  }
  .pillar { padding: 0.4rem 0.8rem; }
  .pillar span { font-size: 0.7rem; }
  .pillar-icon { font-size: 0.85rem !important; }
  .pillar-divider { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .section { padding: 3.5rem 1.4rem; }
  .section-intro { font-size: 0.95rem; margin-bottom: 2rem; }

  /* Donate amounts wrap better on small screens */
  .donate-amounts { gap: 0.5rem; }
  .amount-btn { padding: 0.5em 1.1em; font-size: 0.9rem; }
  .donate-section { padding: 3.5rem 1.4rem; }
  .donate-sub { font-size: 0.95rem; margin-bottom: 1.8rem; }
  .donate-mail { padding: 1rem 1.2rem; font-size: 0.82rem; }
  .donate-legal { font-size: 0.68rem; }

  /* Connect form */
  .connect-form { padding: 1.8rem 1.4rem; }

  /* Footer */
  .footer { padding: 2.5rem 1.4rem 1.5rem; }
  .footer-links { gap: 0.4rem 1rem; }
  .footer-links a { font-size: 0.75rem; }
  .footer-social { justify-content: flex-start; }

  .hero-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 2rem;
    padding-top: 70px;
    padding-bottom: 80px;
  }
  .hero { padding: 0 1.4rem; min-height: 100svh; }
  .hero-content { text-align: center; }
  .hero-eyebrow { font-size: 0.68rem; letter-spacing: 0.15em; margin-bottom: 0.8rem; }
  .hero-headline { font-size: clamp(2rem, 8vw, 3rem); margin-bottom: 1rem; }
  .hero-sub { font-size: 0.95rem; margin-bottom: 1.8rem; }
  .hero-actions { justify-content: center; flex-direction: column; align-items: center; gap: 0.75rem; }
  .hero-actions .btn { width: 100%; max-width: 280px; text-align: center; }
  .hero-photo-frame { width: clamp(160px, 45vw, 220px); }
  .hero-photo-wrap { margin-bottom: 0.5rem; }
  .hero-photo-badge { font-size: 0.65rem; bottom: -10px; padding: 0.3em 1em; }
  .hero-scroll { bottom: 1.2rem; }

  /* Scroll story — smaller on phone, behind text */
  .scroll-story { z-index: 0; }
  .bio-stream-ch { position: relative; z-index: 1; }
  .rappel-figure { width: clamp(50px, 14vw, 90px); right: 8%; top: -330; opacity: 0.5; }
  .rappel-figure.visible { opacity: 0.5; }
  .chip-bag { width: clamp(80px, 22vw, 130px); right: 2%; }
  .chip-bag.visible { opacity: 0.5; }
  .chip { opacity: 0.08 !important; }

  /* About cards */
  .cards { grid-template-columns: 1fr; gap: 1.5rem; }
  .card { padding: 1.8rem 1.4rem; }
  .card-photo { width: calc(100% + 2.8rem); margin: -1.8rem -1.4rem 1.2rem; }
  .card h3 { font-size: 1.15rem; }
  .card p { font-size: 0.88rem; }

  /* Priority cards */
  .priorities-grid { grid-template-columns: 1fr; gap: 1.2rem; }
  .priority-card { padding: 1.8rem 1.4rem; }
  .priority-icon { font-size: 2rem; margin-bottom: 1rem; }
  .priority-card h3 { font-size: 1.05rem; }
  .priority-card p { font-size: 0.85rem; }
  .priority-num { font-size: 2.8rem; }
}

@media (max-width: 480px) {
  .section { padding: 3rem 1rem; }
  .connect-form { padding: 1.4rem 1rem; }
  .hero { padding: 0 1rem; }

  /* Nav */
  .nav-inner { padding: 0.7rem 1rem; }
  .logo-name { font-size: 1.05rem; }
  .logo-sub { font-size: 0.6rem; }
  .nav-banner { height: 28px; }

  /* Hero */
  .hero-headline { font-size: clamp(1.8rem, 7.5vw, 2.4rem); }
  .hero-sub { font-size: 0.88rem; }
  .hero-photo-frame { width: clamp(140px, 40vw, 200px); border-width: 3px; }

  /* Pillars */
  .pillars-bar { padding: 0.7rem 0.6rem; gap: 0.4rem; }
  .pillar { padding: 0.3rem 0.5rem; }
  .pillar span { font-size: 0.62rem; }
  .pillar-icon { font-size: 0.75rem !important; }

  /* Scroll story — tiny on small phones */
  .rappel-figure { width: clamp(50px, 14vw, 90px); right: 8%; top: -330; opacity: 0.5; }
  .rappel-figure.visible { opacity: 0.35; }
  .chip-bag { width: clamp(60px, 16vw, 100px); right: 1%; }
  .chip-bag.visible { opacity: 0.35; }
  .chip { opacity: 0.05 !important; }

  /* Bio — small phones */
  .bio-visual-panel { max-height: 45vh; min-height: 200px; }
  .bio-stream-ch { padding: 2.5rem 1.2rem 2.5rem; }
  .bio-stream-ch::before { left: 1.2rem; }
  .bio-stream-ch::before {
    position: static;
    display: inline-block;
    margin-right: 0.6em;
    font-size: 0.6rem;
  }
  .bio-sc-eyebrow { font-size: 0.6rem; letter-spacing: 0.22em; margin-bottom: 1rem; }
  .bio-sc-headline { font-size: clamp(1.8rem, 7vw, 2.4rem); margin-bottom: 1.2rem; }
  .bio-sc-body { font-size: 0.88rem; line-height: 1.7; margin-bottom: 1.5rem; }
  .bio-sc-tag span { font-size: 0.6rem; padding: 0.4em 0.8em; }

  /* About cards */
  .card { padding: 1.5rem 1.2rem; }
  .card-photo { width: calc(100% + 2.4rem); margin: -1.5rem -1.2rem 1rem; }
  .card h3 { font-size: 1.05rem; }
  .card p { font-size: 0.85rem; line-height: 1.65; }

  /* Priorities */
  .priority-card { padding: 1.5rem 1.2rem; }
  .priority-icon { font-size: 1.8rem; }
  .priority-card h3 { font-size: 1rem; }
  .priority-card p { font-size: 0.82rem; }

  /* Donate */
  .donate-section { padding: 3rem 1rem; }
  .amount-btn { padding: 0.45em 0.9em; font-size: 0.85rem; }
  .btn-donate { font-size: 1rem; padding: 0.8em 1.5em; }

  /* Connect */
  .connect-form { padding: 1.2rem 1rem; }
  .form-group label { font-size: 0.72rem; }
  .form-group input[type="text"],
  .form-group input[type="email"],
  .form-group input[type="tel"],
  .form-group input[type="number"] { font-size: 0.9rem; padding: 0.65em 0.85em; }

  /* Footer */
  .footer { padding: 2rem 1rem 1.2rem; }
  .footer-name { font-size: 1.1rem; }
  .footer-legal p { font-size: 0.65rem; }

  /* Section titles */
  .section-title { font-size: clamp(1.5rem, 6vw, 2.2rem); }
  .section-eyebrow { font-size: 0.68rem; }
}
