/* ══════════════════════════════════════════════════════════════
   CARDS FOR KIDS FOUNDATION — styles.css
   Mobile-first. Split hero. Optimized for performance.
══════════════════════════════════════════════════════════════ */

:root {
  --navy: #0d2b4e;
  --navy-deep: #081c34;
  --navy-mid: #163d6b;
  --white: #ffffff;
  --off-white: #f8f6f2;
  --cream: #fdf9f4;
  --red: #c8102e;
  --red-dark: #a00d24;
  --gold: #c9973a;
  --gold-light: #e8b455;
  --gray-light: #f0eff0;
  --gray-mid: #d1d0d3;
  --gray-text: #5a5a6a;
  --serif: 'Playfair Display', Georgia, serif;
  --sans: 'Source Sans 3', 'Helvetica Neue', sans-serif;
  --touch: 48px;
  --radius: 6px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); color: var(--navy-deep); background: var(--white); overflow-x: hidden; }
body.modal-open { overflow: hidden; position: fixed; width: 100%; }
img { max-width: 100%; height: auto; display: block; }
button { -webkit-tap-highlight-color: transparent; touch-action: manipulation; cursor: pointer; }
a { -webkit-tap-highlight-color: transparent; }

/* Keyboard-focus ring — visible only when user is keyboard-navigating. */
:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 2px;
  border-radius: 2px;
}

/* Skip-to-content link — hidden until focused. */
.skip-link {
  position: absolute;
  top: -100px;
  left: 8px;
  z-index: 3000;
  background: var(--navy-deep);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  border: 2px solid var(--gold);
  transition: top 0.15s ease;
}
.skip-link:focus { top: 8px; }

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

/* ══ NAV ══════════════════════════════════════════════════════ */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(8,28,52,0.97); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--gold);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 1.5rem; height: var(--nav-h);
  transition: box-shadow 0.3s;
}
nav.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,0.45); }
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; flex-shrink: 0; min-height: var(--touch); }
.nav-logo-icon { width: 38px; height: 42px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.nav-logo-text { font-family: var(--serif); color: var(--white); font-size: 0.95rem; font-weight: 700; line-height: 1.15; }
.nav-logo-text span { display: block; font-size: 0.6rem; font-family: var(--sans); font-weight: 400; color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase; }
.nav-links { display: flex; gap: 1.8rem; list-style: none; position: absolute; left: 50%; transform: translateX(-50%); }
.nav-links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.85rem; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; transition: color 0.2s; padding: 8px 0; }
.nav-links a:hover { color: var(--gold-light); }
.nav-right { display: flex; align-items: center; gap: 0.6rem; flex-shrink: 0; }
.nav-volunteer-btn { background: transparent; color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.35); padding: 9px 16px; font-family: var(--sans); font-weight: 600; font-size: 0.8rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 3px; transition: all 0.2s; min-height: var(--touch); }
.nav-volunteer-btn:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(201,151,58,0.08); }
.nav-portal-btn { background: transparent; color: rgba(255,255,255,0.6); border: none; padding: 9px 12px; font-family: var(--sans); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 3px; transition: color 0.2s; min-height: var(--touch); }
.nav-portal-btn:hover { color: var(--gold-light); }
.nav-cta { background: var(--red); color: var(--white); border: none; padding: 12px 22px; font-family: var(--sans); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; border-radius: 3px; text-decoration: none; transition: background 0.2s, transform 0.1s; min-height: var(--touch); display: flex; align-items: center; }
.nav-cta:hover { background: var(--red-dark); transform: translateY(-1px); }

/* Hamburger */
.hamburger { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 5px; background: none; border: none; padding: 8px; z-index: 1100; width: var(--touch); height: var(--touch); }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: transform 0.3s, opacity 0.3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.mobile-drawer { position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0; background: var(--navy-deep); z-index: 999; display: flex; flex-direction: column; padding: 1.5rem; transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); overflow-y: auto; -webkit-overflow-scrolling: touch; }
.mobile-drawer.open { transform: translateX(0); }
.mobile-drawer ul { list-style: none; margin-bottom: 1.5rem; }
.mobile-drawer ul li { border-bottom: 1px solid rgba(255,255,255,0.08); }
.mobile-drawer ul li a { display: flex; align-items: center; gap: 12px; padding: 1rem 0; color: rgba(255,255,255,0.85); text-decoration: none; font-size: 1.1rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; transition: color 0.2s; min-height: var(--touch); }
.mobile-drawer ul li a:active { color: var(--gold-light); }
.mobile-drawer-actions { display: flex; flex-direction: column; gap: 0.75rem; margin-top: auto; padding-top: 1.5rem; }
.btn-full { display: flex; align-items: center; justify-content: center; width: 100%; min-height: var(--touch); padding: 14px; font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: var(--radius); border: none; text-decoration: none; transition: opacity 0.2s; }
.btn-full:active { opacity: 0.85; }
.btn-full.donate { background: var(--red); color: var(--white); }
.btn-full.volunteer { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-full.portal { background: transparent; color: rgba(255,255,255,0.5); border: 1px solid rgba(255,255,255,0.15); font-size: 0.85rem; }
.mobile-trust { margin-top: 1.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,0.1); display: flex; flex-wrap: wrap; gap: 0.5rem; }
.mobile-trust span { font-size: 0.72rem; color: rgba(255,255,255,0.45); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }

@media(max-width:960px) { .nav-links, .nav-volunteer-btn, .nav-portal-btn { display: none !important; } .hamburger { display: flex; } }
@media(max-width:520px) { .nav-logo-text { display: none; } }

/* ══ HERO — SPLIT LAYOUT ══════════════════════════════════════
   Mobile: text on top, image below stacked
   Desktop: text left 55%, image right 45%
══════════════════════════════════════════════════════════════ */
.hero {
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100svh;
  padding-top: var(--nav-h);
  background: var(--navy-deep);
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 1.5rem 2.5rem;
  background: var(--navy-deep);
  position: relative;
  z-index: 2;
}
.hero-right {
  position: relative;
  overflow: hidden;
  min-height: 52vw;
  max-height: 600px;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Mobile-first crop: pushed HARD to the right + heavy zoom to fully hide
     the AI-rendering artifact on the volunteer's shield-on-shirt in
     Mission_Blessing.jpg. The phone slot aspect (~1.92:1) is wider than the
     image aspect (~1.78:1), so `object-position-x` alone does nothing —
     only `transform: scale` crops horizontally. scale(2.1) with origin at
     the slot's right edge windows the rightmost ~48% of the original image:
     the cardboard box (with its own clean shield) + the two right-side
     children's reactions. The volunteer and her shirt are off-screen.
     Permanent fix is a real photo (Lightstock / delivery shoot). */
  object-position: 100% 65%;
  transform: scale(2.1);
  transform-origin: 100% 65%;
  display: block;
}
.hero-right-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, var(--navy-deep) 0%, transparent 18%);
  pointer-events: none;
}
.hero-scripture {
  display: none;
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  right: 1.5rem;
  background: rgba(8,28,52,0.75);
  border: 1px solid rgba(201,151,58,0.45);
  border-radius: var(--radius);
  padding: 14px 18px;
  font-family: Georgia, serif;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  line-height: 1.65;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero-scripture cite { display: block; margin-top: 8px; font-size: 0.72rem; color: var(--gold-light); font-style: normal; font-weight: 600; letter-spacing: 0.06em; }

.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--gold-light); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 1.1rem; }
.hero-eyebrow::before, .hero-eyebrow::after { content: ''; display: inline-block; width: 20px; height: 1px; background: var(--gold-light); }
.hero h1 { font-family: var(--serif); font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 900; color: var(--white); line-height: 1.1; margin-bottom: 1.1rem; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub { color: rgba(255,255,255,0.82); font-size: clamp(0.95rem, 2vw, 1.08rem); font-weight: 300; line-height: 1.78; margin-bottom: 2rem; max-width: 520px; }
.hero-buttons { display: flex; gap: 0.875rem; flex-wrap: wrap; margin-bottom: 2rem; }
.hero-trust { display: flex; gap: 0.875rem; flex-wrap: wrap; }
.trust-badge { display: flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.6); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; }
.trust-badge .icon { font-size: 12px; color: var(--gold-light); }

/* Desktop hero split */
@media(min-width: 900px) {
  .hero { grid-template-columns: 55% 45%; min-height: calc(100svh - 0px); }
  .hero-left { padding: 4rem 3.5rem 4rem 4rem; }
  .hero-right { max-height: none; min-height: 0; }
  .hero-right-overlay { background: linear-gradient(to right, var(--navy-deep) 0%, rgba(8,28,52,0.1) 30%, transparent 55%); }
  .hero-scripture { display: block; }
  /* Desktop has more vertical real estate so the artifact-on-shirt is far
     less perceptible. Use the lighter crop here to keep the whole scene
     (volunteer + 4 children) visible — the right-bias still trims the
     worst of the artifact while preserving the warmer wide composition. */
  .hero-right img {
    object-position: 68% 28%;
    transform: scale(1.18);
    transform-origin: 68% 28%;
  }
}
@media(min-width: 1200px) { .hero-left { padding: 4rem 4rem 4rem 6rem; } }

/* No animation on mobile — saves battery */
@media(prefers-reduced-motion: no-preference) and (min-width: 900px) {
  .hero-right img { animation: heroZoom 22s ease-in-out infinite alternate; }
  @keyframes heroZoom { from { transform: scale(1.03); } to { transform: scale(1.0); } }
}

/* ══ SHARED BUTTONS ══ */
.btn-primary { background: var(--red); color: var(--white); padding: 15px 34px; font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; border: none; border-radius: 3px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: var(--touch); transition: background 0.2s, transform 0.15s, box-shadow 0.2s; box-shadow: 0 4px 20px rgba(200,16,46,0.4); }
.btn-primary:hover { background: var(--red-dark); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(200,16,46,0.5); }
.btn-primary:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--white); padding: 14px 30px; font-family: var(--sans); font-weight: 600; font-size: 1rem; letter-spacing: 0.06em; text-transform: uppercase; border: 2px solid rgba(255,255,255,0.55); border-radius: 3px; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; min-height: var(--touch); transition: border-color 0.2s, background 0.2s; }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* ══ IMPACT BAR ══ */
.impact-bar { background: var(--navy); padding: 3rem 1.5rem; border-bottom: 3px solid var(--gold); }
.impact-bar-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; text-align: center; }
.stat-item { padding: 0.75rem; }
.stat-item + .stat-item { border-left: 1px solid rgba(255,255,255,0.15); }
.stat-number { font-family: var(--serif); font-size: clamp(2rem,4vw,3.2rem); font-weight: 900; color: var(--gold-light); line-height: 1; display: block; transition: transform 0.1s; }
.stat-number.tick { transform: scale(1.06); }
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; margin-top: 0.5rem; display: block; }
.stat-live { display: inline-flex; align-items: center; gap: 5px; margin-top: 0.4rem; }
.live-dot { width: 7px; height: 7px; background: #4cde8a; border-radius: 50%; animation: livePulse 2s ease-in-out infinite; }
@keyframes livePulse { 0%,100%{opacity:1;transform:scale(1);}50%{opacity:0.4;transform:scale(0.7);} }
.live-label { font-size: 0.65rem; color: rgba(255,255,255,0.4); letter-spacing: 0.08em; text-transform: uppercase; }
@media(max-width:700px){ .impact-bar-inner{grid-template-columns:repeat(2,1fr);} .stat-item:nth-child(3){border-left:none;} }
@media(max-width:360px){ .impact-bar-inner{grid-template-columns:1fr;} .stat-item+.stat-item{border-left:none; border-top:1px solid rgba(255,255,255,0.1);} }

/* ══ SHARED SECTION ══ */
section { padding: 4.5rem 1.5rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }
.section-label { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); margin-bottom: 0.8rem; }
.section-heading { font-family: var(--serif); font-size: clamp(1.7rem,3.5vw,2.8rem); font-weight: 700; color: var(--navy-deep); line-height: 1.2; margin-bottom: 1.25rem; }
.section-heading em { font-style: italic; color: var(--red); }
.section-body { color: var(--gray-text); font-size: 1.05rem; line-height: 1.8; max-width: 600px; }
.section-divider { width: 60px; height: 3px; background: var(--gold); margin: 0 0 2rem; }
.centered { text-align: center; }
.centered .section-divider { margin: 0 auto 2rem; }
.centered .section-body { margin: 0 auto; }

/* ══ SCROLL REVEAL ══ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ══ MISSION ══ */
.mission { background: var(--cream); }
.mission-grid { display: grid; grid-template-columns: 1fr; gap: 3rem; align-items: center; }
.mission-photo { border-radius: var(--radius); overflow: hidden; position: relative; aspect-ratio: 16/10; box-shadow: 12px 12px 0 var(--gold); }
.mission-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; }
.mission-photo-badge { position: absolute; bottom: -12px; left: -12px; background: var(--red); color: var(--white); padding: 12px 16px; font-family: var(--serif); font-style: italic; font-size: 0.88rem; line-height: 1.4; border-radius: 2px; max-width: 200px; }
@media(min-width:820px){ .mission-grid{grid-template-columns:1fr 1fr; gap:4rem;} .mission-photo{aspect-ratio:4/3; box-shadow:20px 20px 0 var(--gold);} }

/* ══ SHELTER STORY SECTION ══ */
.shelter-story { background: var(--navy-deep); padding: 0; overflow: hidden; }
.shelter-story-inner { display: grid; grid-template-columns: 1fr; }
.shelter-story-img { position: relative; min-height: 300px; overflow: hidden; }
.shelter-story-img img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; min-height: 300px; }
.shelter-story-img::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 40%; background: linear-gradient(to top, var(--navy-deep), transparent); }
.shelter-story-text { padding: 3rem 1.5rem; display: flex; flex-direction: column; justify-content: center; }
.shelter-story-text .section-heading { color: var(--white); }
.shelter-story-text .section-body { color: rgba(255,255,255,0.75); max-width: 100%; }
.shelter-story-text .section-label { color: var(--gold-light); }
.shelter-story-text .section-divider { background: var(--gold-light); }
.shelter-pills { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1.5rem; }
.pill { background: rgba(255,255,255,0.08); border: 1px solid rgba(201,151,58,0.4); color: rgba(255,255,255,0.85); font-size: 0.78rem; font-weight: 700; padding: 7px 14px; border-radius: 20px; letter-spacing: 0.04em; }
@media(min-width:820px){
  .shelter-story-inner { grid-template-columns: 1fr 1fr; min-height: 500px; }
  .shelter-story-img { min-height: 0; }
  .shelter-story-img img { min-height: 0; }
  .shelter-story-img::after { display: none; }
  .shelter-story-text { padding: 4rem 3.5rem; }
}

/* ══ WHAT WE GIVE ══ */
.what-we-give { background: var(--white); }
.gift-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.gift-card { background: var(--off-white); border-radius: var(--radius); padding: 1.5rem 1.25rem; text-align: center; border-bottom: 3px solid transparent; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; }
.gift-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 10px 28px rgba(13,43,78,0.1); }
.gift-icon { font-size: 2.2rem; margin-bottom: 0.75rem; display: block; }
.gift-card h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 0.4rem; }
.gift-card p { color: var(--gray-text); font-size: 0.9rem; line-height: 1.7; }
@media(min-width:700px){ .gift-grid{grid-template-columns:repeat(3,1fr);} }

/* ══ HOW IT WORKS ══ */
.how-it-works { background: var(--off-white); }
.steps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 2.5rem; }
.step-card { text-align: center; padding: 1.75rem 1rem; background: var(--white); border-radius: var(--radius); border-bottom: 3px solid transparent; transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s; position: relative; }
.step-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 8px 24px rgba(13,43,78,0.1); }
.step-icon { width: 64px; height: 64px; background: var(--navy); border-radius: 50%; margin: 0 auto 1rem; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; position: relative; z-index: 1; }
.step-num { position: absolute; top: -5px; right: -5px; width: 20px; height: 20px; background: var(--red); border-radius: 50%; font-size: 0.68rem; font-weight: 700; color: var(--white); display: flex; align-items: center; justify-content: center; }
.step-card h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--navy-deep); margin-bottom: 0.5rem; }
.step-card p { color: var(--gray-text); font-size: 0.88rem; line-height: 1.65; }
@media(min-width:800px){ .steps-grid{grid-template-columns:repeat(4,1fr);} }

/* ══ TESTIMONIALS ══ */
.testimonials { background: var(--navy-deep); padding: 4.5rem 1.5rem; }
.testimonials .section-heading { color: var(--white); }
.testimonials .section-label { color: var(--gold-light); }
.testi-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; margin-top: 3rem; }
.testi-card { background: rgba(255,255,255,0.06); border: 1px solid rgba(201,151,58,0.2); border-radius: var(--radius); padding: 1.75rem; transition: background 0.3s, border-color 0.3s; }
.testi-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(201,151,58,0.5); }
.testi-quote { font-family: var(--serif); font-style: italic; font-size: 1rem; color: rgba(255,255,255,0.88); line-height: 1.7; margin-bottom: 1.5rem; }
.testi-quote::before { content:'\201C'; color:var(--gold); font-size:2rem; line-height:0; vertical-align:-0.6rem; margin-right:4px; }
.testi-footer { display: flex; align-items: center; gap: 12px; }
.testi-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--navy-mid); display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; border: 2px solid var(--gold); }
.testi-meta strong { display: block; color: var(--white); font-size: 0.88rem; font-weight: 700; }
.testi-meta span { color: var(--gold-light); font-size: 0.75rem; }
@media(min-width:850px){ .testi-grid{grid-template-columns:repeat(3,1fr);} }

/* ══ WAYS TO GIVE ══ */
.ways-to-give { background: var(--cream); }
.donation-tiers { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.tier-card { background: var(--white); border: 2px solid var(--gray-mid); border-radius: var(--radius); padding: 1.75rem 1.25rem; text-align: center; transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s; cursor: pointer; position: relative; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.tier-card:hover { border-color: var(--navy); box-shadow: 0 8px 30px rgba(13,43,78,0.15); transform: translateY(-3px); }
.tier-card:active { transform: translateY(0); }
.tier-card.featured { border-color: var(--red); }
.tier-badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--red); color: var(--white); font-size: 0.66rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; padding: 3px 12px; border-radius: 20px; white-space: nowrap; }
.tier-amount { font-family: var(--serif); font-size: 2.2rem; font-weight: 900; color: var(--navy-deep); display: block; margin-bottom: 0.25rem; }
.tier-funds { font-size: 0.78rem; font-weight: 700; color: var(--red); letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 0.75rem; display: block; }
.tier-desc { color: var(--gray-text); font-size: 0.86rem; line-height: 1.6; margin-bottom: 1.1rem; }
.tier-btn { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 44px; padding: 10px; background: var(--navy); color: var(--white); border: none; border-radius: 3px; font-family: var(--sans); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s; }
.tier-btn:hover { background: var(--navy-mid); }
.tier-card.featured .tier-btn { background: var(--red); }
.tier-card.featured .tier-btn:hover { background: var(--red-dark); }
@media(min-width:900px){ .donation-tiers{grid-template-columns:repeat(4,1fr);} }
.custom-amount-note { margin-top: 2rem; text-align: center; color: var(--gray-text); font-size: 0.9rem; }
.custom-amount-note a { color: var(--navy); font-weight: 700; cursor: pointer; text-decoration: underline; }

/* Physical callout */
.physical-callout { background: var(--navy-deep); border-radius: var(--radius); padding: 1.5rem; margin-top: 2.5rem; display: flex; align-items: center; gap: 1.25rem; flex-wrap: wrap; }
.physical-callout-icon { font-size: 2rem; flex-shrink: 0; }
.physical-callout-text { flex: 1; min-width: 200px; }
.physical-callout-text p:first-child { color: var(--gold-light); font-weight: 700; font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.3rem; }
.physical-callout-text p:last-child { color: rgba(255,255,255,0.7); font-size: 0.88rem; line-height: 1.6; }
.physical-callout-btn { background: var(--gold); color: var(--navy-deep); border: none; padding: 12px 22px; font-family: var(--sans); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 3px; white-space: nowrap; flex-shrink: 0; min-height: var(--touch); transition: opacity 0.2s; }
.physical-callout-btn:hover { opacity: 0.9; }

/* ══ PARTNERS ══ */
.partners { background: var(--white); padding: 4rem 1.5rem; }
.partner-strip { display: flex; gap: 1rem; align-items: center; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.partner-badge { display: flex; flex-direction: column; align-items: center; gap: 5px; padding: 1rem 1.25rem; border: 1.5px solid var(--gray-mid); border-radius: var(--radius); transition: border-color 0.2s, box-shadow 0.2s; min-width: 110px; text-align: center; }
.partner-badge:hover { border-color: var(--navy); box-shadow: 0 4px 15px rgba(13,43,78,0.1); }
.partner-badge .badge-icon { font-size: 1.75rem; }
.partner-badge .badge-name { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--gray-text); }
.partner-badge .badge-rating { font-size: 0.65rem; color: var(--gold); font-weight: 700; }

/* ══ NEWSLETTER ══ */
.newsletter { background: var(--navy); padding: 4.5rem 1.5rem; text-align: center; }
.newsletter-inner { max-width: 520px; margin: 0 auto; }
.newsletter h2 { font-family: var(--serif); font-size: clamp(1.5rem,3vw,2.2rem); font-weight: 700; color: var(--white); margin-bottom: 0.8rem; }
.newsletter p { color: rgba(255,255,255,0.65); font-size: 0.98rem; line-height: 1.6; margin-bottom: 2rem; }
.newsletter-form { display: flex; max-width: 440px; margin: 0 auto; border-radius: 3px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.3); }
.newsletter-form input { flex: 1; padding: 14px 16px; border: none; font-family: var(--sans); font-size: 0.95rem; outline: none; background: var(--white); color: var(--navy-deep); min-width: 0; min-height: var(--touch); }
.newsletter-form input::placeholder { color: #999; }
.newsletter-form button { padding: 14px 20px; background: var(--red); color: var(--white); border: none; font-family: var(--sans); font-weight: 700; font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; transition: background 0.2s; white-space: nowrap; min-height: var(--touch); }
.newsletter-form button:hover { background: var(--red-dark); }
.newsletter-note { margin-top: 1rem; font-size: 0.75rem; color: rgba(255,255,255,0.4); }
@media(max-width:480px){ .newsletter-form{flex-direction:column; gap:0.5rem; overflow:visible; box-shadow:none;} .newsletter-form input,.newsletter-form button{border-radius:4px; width:100%;} }

/* ══ FOOTER ══ */
footer { background: var(--navy-deep); padding: 4rem 1.5rem 2rem; border-top: 3px solid var(--gold); }
.footer-inner { max-width: 1100px; margin: 0 auto; }
.footer-top { display: grid; grid-template-columns: 1fr; gap: 2.5rem; margin-bottom: 3rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .brand-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 1.2rem; }
.footer-brand .brand-name { font-family: var(--serif); color: var(--white); font-size: 1rem; font-weight: 700; line-height: 1.2; }
.footer-brand .brand-name span { display: block; font-family: var(--sans); font-size: 0.6rem; font-weight: 400; color: var(--gold-light); letter-spacing: 0.08em; text-transform: uppercase; }
.footer-desc { color: rgba(255,255,255,0.55); font-size: 0.875rem; line-height: 1.7; margin-bottom: 1.4rem; }
.footer-legal { color: rgba(255,255,255,0.78); font-size: 0.73rem; line-height: 1.85; }
.footer-legal strong { color: rgba(255,255,255,0.92); }
.footer-col h4 { color: var(--gold-light); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 1.2rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.4rem; }
.footer-col ul li a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 0.875rem; transition: color 0.2s; cursor: pointer; display: flex; align-items: center; min-height: 36px; }
.footer-col ul li a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.footer-copy { color: rgba(255,255,255,0.78); font-size: 0.78rem; }
.ssl-badge { display: inline-flex; align-items: center; gap: 5px; color: rgba(255,255,255,0.78); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; border: 1px solid rgba(255,255,255,0.22); padding: 4px 10px; border-radius: 3px; margin-left: 8px; }
@media(min-width:600px){ .footer-top{grid-template-columns:1fr 1fr;} }
@media(min-width:900px){ .footer-top{grid-template-columns:2fr 1fr 1fr 1fr;} }

/* ══ MODALS ══ */
.modal-overlay { position: fixed; inset: 0; z-index: 2000; background: rgba(5,15,30,0.85); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); display: flex; align-items: flex-end; justify-content: center; padding: 0; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
@media(min-width:600px){ .modal-overlay { align-items: center; padding: 1rem; } }
.modal-overlay.active { opacity: 1; pointer-events: all; }
.modal { background: var(--white); border-radius: 12px 12px 0 0; max-width: 600px; width: 100%; max-height: 92svh; overflow-y: auto; -webkit-overflow-scrolling: touch; transform: translateY(40px) scale(0.97); transition: transform 0.35s cubic-bezier(0.4,0,0.2,1); box-shadow: 0 30px 80px rgba(0,0,0,0.5); position: relative; }
@media(min-width:600px){ .modal { border-radius: 8px; max-height: 90vh; } }
.modal-overlay.active .modal { transform: translateY(0) scale(1); }
.modal-drag-handle { width: 40px; height: 4px; background: rgba(255,255,255,0.3); border-radius: 2px; margin: 10px auto 0; display: block; }
@media(min-width:600px){ .modal-drag-handle { display: none; } }
.modal-header { background: var(--navy-deep); padding: 1.5rem 1.75rem 1.25rem; border-bottom: 3px solid var(--gold); position: sticky; top: 0; z-index: 10; }
.modal-header-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 0.4rem; }
.modal-header h2 { font-family: var(--serif); color: var(--white); font-size: 1.4rem; font-weight: 700; padding-right: 2.5rem; }
.modal-header p { color: rgba(255,255,255,0.6); font-size: 0.85rem; margin-top: 0.4rem; line-height: 1.5; }
.modal-close { position: absolute; top: 1rem; right: 1rem; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.7); width: 38px; height: 38px; border-radius: 50%; font-size: 1.1rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background 0.2s, color 0.2s; }
.modal-close:hover { background: rgba(255,255,255,0.2); color: var(--white); }
.modal-body { padding: 1.75rem; }
@media(max-width:400px){ .modal-body { padding: 1.25rem; } }

/* Donation modal */
.payment-method-tabs { display: flex; border: 2px solid var(--gray-mid); border-radius: 4px; overflow: hidden; margin-bottom: 1.5rem; }
.pm-tab { flex: 1; padding: 12px 8px; text-align: center; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; background: var(--white); color: var(--gray-text); border: none; transition: background 0.2s, color 0.2s; display: flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; }
.pm-tab.active { background: var(--navy); color: var(--white); }
.payment-panel { display: none; }
.payment-panel.active { display: block; }
.donate-tiers-mini { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.5rem; margin-bottom: 1.2rem; }
.dtier { padding: 0.75rem 0.4rem; text-align: center; border: 2px solid var(--gray-mid); border-radius: 4px; cursor: pointer; transition: border-color 0.2s, background 0.2s; min-height: 60px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.dtier.active { border-color: var(--red); background: #fff5f6; }
.dtier .damount { font-family: var(--serif); font-size: 1.25rem; font-weight: 900; color: var(--navy-deep); display: block; }
.dtier .dfunds { font-size: 0.62rem; font-weight: 700; color: var(--gray-text); text-transform: uppercase; letter-spacing: 0.05em; }
.dtier.active .dfunds { color: var(--red); }
.frequency-tabs { display: flex; border: 2px solid var(--gray-mid); border-radius: 4px; overflow: hidden; margin-bottom: 1.2rem; }
.freq-tab { flex: 1; padding: 11px; text-align: center; font-size: 0.85rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; background: var(--white); color: var(--gray-text); border: none; transition: background 0.2s, color 0.2s; min-height: 44px; }
.freq-tab.active { background: var(--navy); color: var(--white); }
.donate-impact-preview { background: var(--off-white); border-radius: 4px; padding: 1rem 1.1rem; margin-bottom: 1.2rem; border-left: 3px solid var(--gold); font-size: 0.9rem; color: var(--gray-text); line-height: 1.6; }
.donate-impact-preview strong { color: var(--navy-deep); }
.form-label { display: block; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-deep); margin-bottom: 0.5rem; }
.form-row { margin-bottom: 1.1rem; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; margin-bottom: 1.1rem; }
.form-input { width: 100%; padding: 13px 14px; border: 2px solid var(--gray-mid); border-radius: 4px; font-family: var(--sans); font-size: 1rem; color: var(--navy-deep); outline: none; transition: border-color 0.2s; -webkit-appearance: none; appearance: none; min-height: var(--touch); }
.form-input:focus { border-color: var(--navy); }
.form-input.error { border-color: var(--red); }
.custom-amount-row { display: flex; align-items: center; gap: 0.5rem; margin-bottom: 1.2rem; }
.custom-amount-row .prefix { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; color: var(--navy-deep); }
.custom-amount-row input { flex: 1; }
.stripe-field-wrap { border: 2px solid var(--gray-mid); border-radius: 4px; padding: 13px 14px; transition: border-color 0.2s; background: var(--white); min-height: var(--touch); height: auto; display: flex; align-items: center; }
.stripe-field-wrap.focused { border-color: var(--navy); }
.stripe-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.875rem; margin-bottom: 1.1rem; }
.card-icons { display: flex; gap: 6px; margin-top: 0.5rem; flex-wrap: wrap; }
.card-icon { background: var(--gray-light); border: 1px solid var(--gray-mid); border-radius: 3px; padding: 3px 8px; font-size: 0.7rem; font-weight: 700; color: var(--gray-text); }
.stripe-notice { display: none; }
.stripe-error-msg { background: #fff0f0; border: 1px solid var(--red); border-radius: 4px; padding: 0.8rem 1rem; color: var(--red); font-size: 0.88rem; margin-bottom: 1rem; display: none; }
.stripe-error-msg.show { display: block; }
.donate-submit { width: 100%; padding: 16px; background: var(--red); color: var(--white); border: none; border-radius: 4px; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s, transform 0.15s; box-shadow: 0 4px 16px rgba(200,16,46,0.35); margin-bottom: 1rem; min-height: 54px; }
.donate-submit:hover { background: var(--red-dark); transform: translateY(-1px); }
.donate-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }
.donate-trust { display: flex; align-items: center; justify-content: center; gap: 0.875rem; flex-wrap: wrap; }
.donate-trust span { font-size: 0.7rem; color: var(--gray-text); display: flex; align-items: center; gap: 4px; }
.paypal-panel { text-align: center; padding: 1.5rem 0; }
.modal-success { text-align: center; padding: 2.5rem 1.75rem; display: none; }
.modal-success.show { display: block; }
.modal-success .success-icon { font-size: 3.5rem; margin-bottom: 1rem; }
.modal-success h3 { font-family: var(--serif); font-size: 1.8rem; color: var(--navy-deep); margin-bottom: 0.8rem; }
.modal-success p { color: var(--gray-text); line-height: 1.7; }

/* Volunteer modal */
.volunteer-interests { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; }
.vi-tag { padding: 9px 14px; border: 2px solid var(--gray-mid); border-radius: 20px; font-size: 0.8rem; font-weight: 600; color: var(--gray-text); cursor: pointer; transition: all 0.2s; user-select: none; min-height: 40px; display: flex; align-items: center; }
.vi-tag.active { border-color: var(--navy); background: var(--navy); color: var(--white); }
.vol-submit { width: 100%; padding: 16px; background: var(--navy); color: var(--white); border: none; border-radius: 4px; font-family: var(--sans); font-weight: 700; font-size: 1.05rem; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s, transform 0.15s; box-shadow: 0 4px 16px rgba(13,43,78,0.3); margin-bottom: 1rem; min-height: 54px; }
.vol-submit:hover { background: var(--navy-mid); transform: translateY(-1px); }
.volunteer-perks { background: var(--navy-deep); border-radius: 4px; padding: 1.2rem 1.4rem; margin-bottom: 1.5rem; }
.volunteer-perks h4 { font-family: var(--serif); color: var(--gold-light); font-size: 1rem; margin-bottom: 0.8rem; }
.volunteer-perks ul { list-style: none; }
.volunteer-perks ul li { color: rgba(255,255,255,0.7); font-size: 0.88rem; line-height: 1.6; padding: 0.3rem 0; display: flex; align-items: flex-start; gap: 8px; }
.volunteer-perks ul li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.form-select { width: 100%; padding: 13px 40px 13px 14px; border: 2px solid var(--gray-mid); border-radius: 4px; font-family: var(--sans); font-size: 1rem; color: var(--navy-deep); outline: none; background: var(--white); -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235a5a6a' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; min-height: var(--touch); transition: border-color 0.2s; }
.form-select:focus { border-color: var(--navy); }
.form-textarea { width: 100%; padding: 13px 14px; border: 2px solid var(--gray-mid); border-radius: 4px; font-family: var(--sans); font-size: 1rem; color: var(--navy-deep); outline: none; resize: vertical; min-height: 100px; transition: border-color 0.2s; }
.form-textarea:focus { border-color: var(--navy); }
.section-form-divider { border: none; border-top: 1px solid var(--gray-mid); margin: 1.4rem 0; }

/* Portal modal */
.portal-tabs { display: flex; border-bottom: 2px solid var(--gray-mid); margin-bottom: 1.5rem; overflow-x: auto; }
.portal-tab { flex: 1; padding: 12px 8px; text-align: center; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; cursor: pointer; color: var(--gray-text); border: none; background: none; border-bottom: 2px solid transparent; margin-bottom: -2px; transition: color 0.2s, border-color 0.2s; white-space: nowrap; min-height: 44px; }
.portal-tab.active { color: var(--navy); border-bottom-color: var(--navy); }
.portal-panel { display: none; }
.portal-panel.active { display: block; }
.portal-info { background: var(--navy-deep); border-radius: 4px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; color: rgba(255,255,255,0.65); font-size: 0.85rem; line-height: 1.6; }
.portal-info strong { color: var(--gold-light); display: block; margin-bottom: 4px; }
.portal-submit { width: 100%; padding: 14px; background: var(--navy); color: var(--white); border: none; border-radius: 4px; font-family: var(--sans); font-weight: 700; font-size: 1rem; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s; margin-top: 0.5rem; min-height: var(--touch); }
.portal-submit:hover { background: var(--navy-mid); }
.portal-divider { text-align: center; color: var(--gray-text); font-size: 0.8rem; margin: 1rem 0; position: relative; }
.portal-divider::before, .portal-divider::after { content: ''; position: absolute; top: 50%; width: 38%; height: 1px; background: var(--gray-mid); }
.portal-divider::before { left: 0; }
.portal-divider::after { right: 0; }
.google-btn { width: 100%; padding: 12px; background: var(--white); color: #444; border: 2px solid var(--gray-mid); border-radius: 4px; font-family: var(--sans); font-weight: 600; font-size: 0.9rem; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 10px; transition: border-color 0.2s, box-shadow 0.2s; min-height: var(--touch); }
.google-btn-slot { display: flex; justify-content: center; min-height: var(--touch); }
.google-btn-slot iframe { margin: 0 auto !important; }
.portal-error { color: var(--red-dark); font-size: 0.85rem; font-weight: 600; margin: 0.6rem 0; min-height: 1.2em; display: none; }
.portal-error.show { display: block; }
.cl-error { color: var(--red-dark); font-size: 0.85rem; font-weight: 600; margin: 0.6rem 0; min-height: 1.2em; display: none; }
.cl-error.show { display: block; }
.google-btn:hover { border-color: #4285f4; box-shadow: 0 2px 8px rgba(66,133,244,0.15); }

/* Contact modal */
.contact-options { display: flex; flex-direction: column; gap: 1rem; margin-bottom: 1.5rem; }
.contact-option { display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1.25rem; background: var(--off-white); border-radius: var(--radius); text-decoration: none; color: var(--navy-deep); border: 1.5px solid var(--gray-mid); transition: border-color 0.2s, box-shadow 0.2s; min-height: 60px; }
.contact-option:hover { border-color: var(--navy); box-shadow: 0 4px 12px rgba(13,43,78,0.1); }
.contact-option-icon { font-size: 1.5rem; flex-shrink: 0; }
.contact-option-text strong { display: block; font-size: 0.95rem; color: var(--navy-deep); font-weight: 700; }
.contact-option-text span { font-size: 0.85rem; color: var(--gray-text); }
.contact-coming { background: var(--cream); border-radius: var(--radius); padding: 1rem 1.25rem; font-size: 0.88rem; color: var(--gray-text); line-height: 1.6; border-left: 3px solid var(--gold); }

/* Content-modal long-form text (Privacy / Terms / Tax / Team / Press). */
.cm-h3 { font-family: var(--serif); font-size: 1.4rem; color: var(--navy-deep); margin: 0 0 0.5rem; font-weight: 700; }
.cm-h4 { font-family: var(--sans); font-size: 0.95rem; color: var(--navy-deep); margin: 1.4rem 0 0.5rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; border-left: 3px solid var(--gold); padding-left: 0.6rem; }
.cm-p  { color: var(--gray-text); font-size: 0.95rem; line-height: 1.7; margin: 0 0 0.8rem; }
.cm-p a { color: var(--navy); font-weight: 600; }
.cm-ul { margin: 0 0 1rem 1.2rem; padding: 0; color: var(--gray-text); font-size: 0.95rem; line-height: 1.7; }
.cm-ul li { margin-bottom: 0.5rem; }
.cm-team { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1rem 0; }
@media(min-width:600px){ .cm-team { grid-template-columns: 1fr 1fr; } }
.cm-card { background: var(--off-white); border-radius: var(--radius); padding: 1rem 1.2rem; border-left: 3px solid var(--gold); }
.cm-card strong { display: block; font-family: var(--serif); font-size: 1.05rem; color: var(--navy-deep); }
.cm-card span { display: block; font-size: 0.78rem; color: var(--gold); letter-spacing: 0.08em; text-transform: uppercase; margin: 0.2rem 0 0.6rem; }
.cm-card p { color: var(--gray-text); font-size: 0.88rem; line-height: 1.6; margin: 0; }

@media(max-width:480px){
  .donate-tiers-mini{grid-template-columns:repeat(2,1fr);}
  .form-row-2,.stripe-row{grid-template-columns:1fr;}
}

/* Fix: Stripe Elements flex-grow fix — resolves 1px width on __PrivateStripeElement */
.stripe-field-wrap .__PrivateStripeElement { flex: 1 1 0% !important; min-width: 0 !important; width: 100% !important; }

/* Single-purpose page chrome — used by /portal.html and /unsubscribe.html. */
.single-page { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, var(--navy-deep) 0%, #050f1f 100%); padding: 2rem 1rem; }
.single-card { width: 100%; max-width: 540px; background: var(--white); border-radius: 8px; padding: 2.5rem 2rem; box-shadow: 0 10px 40px rgba(0,0,0,0.35); text-align: center; }
.single-card.wide { max-width: 760px; text-align: left; }
.single-logo { display: inline-flex; margin: 0 auto 1.2rem; }
.single-card h1 { font-family: var(--serif); color: var(--navy-deep); font-size: 1.6rem; margin: 0 0 0.6rem; }
.single-card p { color: var(--gray-text); font-size: 1rem; line-height: 1.65; margin: 0 0 0.6rem; }
.single-back { color: var(--navy); font-weight: 600; text-decoration: none; font-size: 0.9rem; }
.single-back:hover { text-decoration: underline; }
.portal-card-grid { display: grid; grid-template-columns: 1fr; gap: 1rem; margin: 1.4rem 0 0.5rem; text-align: left; }
@media(min-width:600px){ .portal-card-grid { grid-template-columns: 1fr 1fr; } }
.portal-stat { background: var(--off-white); border-left: 3px solid var(--gold); border-radius: 4px; padding: 1rem 1.1rem; }
.portal-stat strong { display: block; font-family: var(--serif); font-size: 1.6rem; color: var(--navy-deep); margin-bottom: 0.2rem; }
.portal-stat span { font-size: 0.78rem; color: var(--gold); letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700; }
.portal-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; justify-content: center; margin-top: 1.5rem; }
.portal-actions .btn-link { padding: 11px 18px; border-radius: 4px; text-decoration: none; font-weight: 700; font-size: 0.85rem; letter-spacing: 0.08em; text-transform: uppercase; transition: background 0.2s; min-height: var(--touch); display: inline-flex; align-items: center; }
.portal-actions .btn-link.primary { background: var(--navy); color: var(--white); }
.portal-actions .btn-link.primary:hover { background: var(--navy-mid); }
.portal-actions .btn-link.subtle { background: transparent; color: var(--gray-text); border: 1px solid var(--gray-mid); }
.portal-actions .btn-link.subtle:hover { color: var(--navy-deep); border-color: var(--navy); }
