/* =============================================================
   THE LJM FOUNDATION - Global Stylesheet
   Coinbase-inspired color system, Ocean Cleanup layout pacing
   ============================================================= */

/* ── CSS Variables ──────────────────────────────────────────── */
:root {
  --blue:        #0052FF;
  --blue-hover:  #0043CC;
  --blue-light:  #EEF4FF;
  --navy:        #050F1F;
  --charcoal:    #101828;
  --gray:        #667085;
  --border:      #E5E7EB;
  --white:       #FFFFFF;
  --soft-bg:     #F7F9FC;

  --font: Inter, Manrope, Montserrat, system-ui, -apple-system,
          BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius:  10px;
  --radius-lg: 18px;
  --shadow: 0 4px 24px rgba(5, 15, 31, 0.08);
  --shadow-hover: 0 8px 36px rgba(5, 15, 31, 0.14);

  --transition: 0.22s ease;
  --max-w: 1180px;
  --header-h: 72px;
}

/* ── Global Reset ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-hover); }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

/* ── Typography ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.4rem, 6vw, 4.8rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3.2rem); }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.15rem; font-weight: 600; }
p  { color: var(--gray); line-height: 1.75; }

.section-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.section-label--white { color: rgba(255,255,255,0.7); }

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  font-family: var(--font);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition),
              border-color var(--transition), box-shadow var(--transition),
              transform var(--transition);
  white-space: nowrap;
  text-decoration: none;
  cursor: pointer;
}
.btn:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* Primary */
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover {
  background: var(--blue-hover);
  border-color: var(--blue-hover);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(0, 82, 255, 0.3);
  transform: translateY(-1px);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}

/* White outline (for dark sections) */
.btn-white {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}
.btn-white:hover {
  background: rgba(255,255,255,0.88);
  color: var(--charcoal);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(255,255,255,0.25);
}

/* Ghost white (for dark sections) */
.btn-ghost-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-ghost-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-1px);
}

.btn-lg { padding: 0.9rem 2rem; font-size: 1.05rem; }
.btn-sm { padding: 0.55rem 1.15rem; font-size: 0.85rem; }

/* ── Layout Utilities ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 1.5rem 0; }
.section-sm { padding: 1rem 0; }
.section-lg { padding: 2.5rem 0; }

.text-center { text-align: center; }
.text-white  { color: var(--white) !important; }
.text-white p { color: rgba(255,255,255,0.78) !important; }
.text-white h1,
.text-white h2,
.text-white h3,
.text-white h4 { color: var(--white) !important; }

.bg-white    { background: var(--white); }
.bg-soft     { background: var(--soft-bg); }
.bg-blue-lt  { background: var(--blue-light); }
.bg-navy     { background: var(--navy); }

.mt-sm  { margin-top: 0.75rem; }
.mt-md  { margin-top: 1.5rem; }
.mt-lg  { margin-top: 2.5rem; }
.mb-sm  { margin-bottom: 0.75rem; }
.mb-md  { margin-bottom: 1.5rem; }

/* Button groups */
.btn-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}
.btn-group--center { justify-content: center; }

/* ── Image Placeholders ─────────────────────────────────────── */
.img-placeholder {
  background: linear-gradient(135deg, #dde7f8 0%, #c4d5f5 100%);
  border: 2px dashed rgba(0, 82, 255, 0.25);
  border-radius: var(--radius);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--blue);
  font-size: 0.85rem;
  font-weight: 600;
  text-align: center;
  padding: 1rem;
  min-height: 240px;
}
.img-placeholder svg {
  opacity: 0.45;
  margin-bottom: 0.25rem;
}
.img-placeholder span { opacity: 0.75; max-width: 180px; }

/* ── HEADER ─────────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background var(--transition), box-shadow var(--transition),
              border-bottom-color var(--transition);
  border-bottom: 1px solid transparent;
}

/* Transparent state (homepage hero) */
.site-header--transparent {
  background: transparent;
}
.site-header--transparent .nav-logo,
.site-header--transparent .nav-link {
  color: var(--white);
}
.site-header--transparent .nav-toggle span { background: var(--white); }

/* Solid state */
.site-header--solid,
.site-header--scrolled {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: 0 1px 12px rgba(5,15,31,0.06);
}
.site-header--solid .nav-logo,
.site-header--scrolled .nav-logo { color: var(--charcoal); }
.site-header--solid .nav-link,
.site-header--scrolled .nav-link { color: var(--charcoal); }
.site-header--solid .nav-toggle span,
.site-header--scrolled .nav-toggle span { background: var(--charcoal); }

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Logo */
.nav-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.025em;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
  transition: color var(--transition);
}
.nav-logo-img {
  height: 44px;
  width: 44px;
  flex-shrink: 0;
  display: block;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.25);
}

/* Nav links */
.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0.45rem 0.85rem;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}
.nav-link:hover { background: var(--soft-bg); color: var(--charcoal); }
.nav-link.active {
  color: var(--blue);
  font-weight: 600;
}

/* Nav right */
.nav-right {
  display: none;
  align-items: center;
  gap: 1rem;
}

/* Hamburger */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
  border-radius: 6px;
  transition: background var(--transition);
}
.nav-toggle:hover { background: rgba(0,0,0,0.05); }
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; width: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-mobile {
  display: none;
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(5,15,31,0.1);
  z-index: 999;
  padding: 1.25rem 1.5rem 1.75rem;
  flex-direction: column;
  gap: 0.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile .nav-link {
  font-size: 1rem;
  padding: 0.7rem 1rem;
  color: var(--charcoal);
  display: block;
  border-radius: 8px;
}
.nav-mobile .nav-link:hover { background: var(--soft-bg); }
.nav-mobile .nav-link.active { color: var(--blue); background: var(--blue-light); }
.nav-mobile-cta { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.nav-mobile-cta .btn { width: 100%; justify-content: center; }

/* Desktop nav show */
@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-right  { display: flex; }
  .nav-toggle { display: none; }
}

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--navy);
  padding-top: var(--header-h);
}
.hero--gradient {
  background: linear-gradient(
    135deg,
    #030c1a 0%,
    #060f24 25%,
    #071540 50%,
    #051030 75%,
    #020810 100%
  );
}
.hero--gradient::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 50%, rgba(0, 82, 255, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 60% 80% at 80% 30%, rgba(0, 40, 140, 0.22) 0%, transparent 55%);
  z-index: 0;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg .img-placeholder {
  width: 100%; height: 100%;
  border-radius: 0;
  border: none;
  background: linear-gradient(135deg, #0a1a3a 0%, #0d2459 50%, #0a1a3a 100%);
  color: rgba(255,255,255,0.4);
  font-size: 0.9rem;
  min-height: unset;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5,15,31,0.62) 0%,
    rgba(5,15,31,0.80) 100%
  );
  z-index: 1;
}
.hero--gradient .hero-overlay { display: none; }
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2.5rem 1.5rem 5rem;
  max-width: 860px;
}
.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  background: rgba(0,82,255,0.3);
  border: 1px solid rgba(0,82,255,0.4);
  padding: 0.4rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.75rem;
}
.hero h1 { color: var(--white); margin-bottom: 1.25rem; }
.hero p {
  font-size: clamp(1.05rem, 2vw, 1.3rem);
  color: rgba(255,255,255,0.8);
  max-width: 640px;
  margin: 0 auto 2.5rem;
  line-height: 1.65;
}
.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.hero-scroll svg { opacity: 0.5; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--navy);
  background-size: cover;
  background-position: center;
  padding: calc(var(--header-h) + 2.75rem) 1.5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 15, 31, 0.74);
  z-index: 1;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at top center, rgba(0,82,255,0.2) 0%, transparent 65%);
  pointer-events: none;
  z-index: 2;
}
.page-hero .container { position: relative; z-index: 3; }
.page-hero h1 { color: var(--white); margin-bottom: 1rem; }
.page-hero p  { color: rgba(255,255,255,0.72); font-size: 1.15rem; max-width: 580px; margin: 0 auto; }

/* ── IMPACT NUMBERS ─────────────────────────────────────────── */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.impact-item {
  background: var(--white);
  padding: 2.5rem 1.5rem;
  text-align: center;
}
.impact-number {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.impact-label {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
@media (min-width: 680px) {
  .impact-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ── FEATURE CARDS ──────────────────────────────────────────── */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 680px)  { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .cards-grid { grid-template-columns: repeat(3, 1fr); } }

.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}
.card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}
.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
}
.card-image .img-placeholder { border-radius: 0; border: none; height: 100%; min-height: unset; }
.card-body {
  padding: 1.75rem 1.75rem 2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 0.75rem;
}
.card-body h3 { font-size: 1.25rem; }
.card-body p  { font-size: 0.92rem; flex: 1; }
.card-body .btn { margin-top: 0.5rem; align-self: flex-start; }

/* ── EVENT INFO CARDS ───────────────────────────────────────── */
.event-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 680px) { .event-cards { grid-template-columns: repeat(4, 1fr); } }

.event-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.event-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.event-card-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.85rem;
  color: var(--blue);
}
.event-card h4 { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray); margin-bottom: 0.35rem; }
.event-card p  { font-size: 0.95rem; color: var(--charcoal); font-weight: 600; line-height: 1.4; }

/* ── TOURNAMENT SECTION ─────────────────────────────────────── */
.tournament-highlight {
  background: var(--soft-bg);
}
.tournament-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 860px) {
  .tournament-inner { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.tournament-image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/3; }
.tournament-image .img-placeholder { height: 100%; min-height: 280px; border-radius: 0; border: none; }

/* ── SPONSOR SECTION ────────────────────────────────────────── */
.sponsor-section { background: var(--navy); }
.sponsor-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 3rem;
}
@media (min-width: 680px) { .sponsor-cards { grid-template-columns: repeat(4, 1fr); } }

.sponsor-card {
  background: rgba(255,255,255,0.04);
  padding: 2.5rem 1.5rem;
  text-align: center;
  transition: background var(--transition);
}
.sponsor-card:hover { background: rgba(0,82,255,0.15); }
.sponsor-tier {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.5rem;
}
.sponsor-card h3 { color: var(--white); font-size: 1.15rem; margin-bottom: 0.5rem; }
.sponsor-card p  { color: rgba(255,255,255,0.55); font-size: 0.88rem; }
.sponsor-price {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin: 0.75rem 0;
  letter-spacing: -0.02em;
}
.sponsor-logos-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
}
.sponsor-logos-grid img {
  height: 64px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(30%);
  transition: filter var(--transition);
}
.sponsor-logos-grid img:hover { filter: grayscale(0%); }

/* ── CURRENT SPONSOR LOGO GRID (uniform cards) ─────────────── */
.sponsor-logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  max-width: 960px;
  margin: 0 auto;
}
.sponsor-logo-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 140px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: box-shadow var(--transition);
  text-decoration: none;
}
.sponsor-logo-grid a:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.10); }
.sponsor-logo-grid img {
  width: 100%;
  height: 80px;
  object-fit: contain;
}
@media (max-width: 767px) {
  .sponsor-logo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 479px) {
  .sponsor-logo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── STORY PREVIEW ──────────────────────────────────────────── */
.story-preview {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 860px) {
  .story-preview { grid-template-columns: 1fr 1fr; gap: 5rem; }
}
.story-preview-image { border-radius: var(--radius-lg); overflow: hidden; aspect-ratio: 4/5; }
.story-preview-image .img-placeholder { height: 100%; min-height: 320px; border-radius: 0; border: none; }

/* ── DONATION CTA SECTION ───────────────────────────────────── */
.donate-cta {
  background: var(--navy);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.donate-cta::before {
  content: '';
  position: absolute;
  top: -40%;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, rgba(0,82,255,0.18) 0%, transparent 65%);
  pointer-events: none;
}

/* ── TIMELINE ───────────────────────────────────────────────── */
.timeline {
  position: relative;
  padding-left: 2rem;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--blue), rgba(0,82,255,0.1));
}
.timeline-item {
  position: relative;
  padding-bottom: 3rem;
}
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -2.5rem;
  top: 0.25rem;
  width: 14px; height: 14px;
  background: var(--blue);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(0,82,255,0.2);
}
.timeline-year {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.35rem;
}
.timeline-item h3 { margin-bottom: 0.5rem; font-size: 1.15rem; }
.timeline-item p  { font-size: 0.92rem; }

/* ── SCHEDULE ───────────────────────────────────────────────── */
.schedule-list { display: flex; flex-direction: column; gap: 1rem; }
.schedule-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.schedule-item:hover { box-shadow: var(--shadow); }
.schedule-time {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
  min-width: 100px;
  padding-top: 0.15rem;
  flex-shrink: 0;
}
.schedule-item h4 { margin-bottom: 0.25rem; font-size: 1rem; }
.schedule-item p  { font-size: 0.88rem; }

/* ── WHAT'S INCLUDED ────────────────────────────────────────── */
.included-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}
@media (min-width: 860px) { .included-grid { grid-template-columns: repeat(4, 1fr); } }

.included-card {
  background: var(--blue-light);
  border-radius: var(--radius);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}
.included-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.included-icon {
  width: 52px; height: 52px;
  background: var(--blue);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 1rem;
  color: var(--white);
}
.included-card h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.included-card p  { font-size: 0.88rem; }

/* ── FAQ ────────────────────────────────────────────────────── */
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 600;
  font-size: 1rem;
  color: var(--charcoal);
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  font-family: var(--font);
  transition: color var(--transition);
}
.faq-question:hover { color: var(--blue); }
.faq-question svg {
  flex-shrink: 0;
  transition: transform 0.3s ease;
  color: var(--gray);
}
.faq-item.open .faq-question svg { transform: rotate(180deg); }
.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
}
.faq-item.open .faq-answer { display: block; }
.faq-answer p { font-size: 0.95rem; }

/* ── SPONSORSHIP PAGE ───────────────────────────────────────── */
.why-sponsor-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 680px) { .why-sponsor-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .why-sponsor-grid { grid-template-columns: repeat(4, 1fr); } }

.why-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow var(--transition), transform var(--transition);
}
.why-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.why-icon {
  width: 48px; height: 48px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue);
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.why-card p  { font-size: 0.9rem; }

.package-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 680px) { .package-cards { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .package-cards { grid-template-columns: repeat(3, 1fr); } }

.package-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition);
}
.package-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-4px); border-color: var(--blue); }
.package-card.featured { border-color: var(--blue); background: var(--blue-light); }
.package-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--blue);
  padding: 0.3rem 0.75rem;
  border-radius: 100px;
  align-self: flex-start;
}
.package-card h3 { font-size: 1.35rem; }
.package-card .price { font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -0.03em; }
.package-card .price span { font-size: 0.9rem; font-weight: 500; color: var(--gray); }
.package-benefits { display: flex; flex-direction: column; gap: 0.6rem; flex: 1; }
.package-benefit {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  color: var(--charcoal);
}
.package-benefit svg { color: var(--blue); flex-shrink: 0; }

/* Logo Grid */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 680px)  { .logo-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .logo-grid { grid-template-columns: repeat(4, 1fr); } }

.logo-slot {
  aspect-ratio: 2/1;
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--gray);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  padding: 1rem;
  transition: border-color var(--transition), background var(--transition);
}
.logo-slot:hover { border-color: var(--blue); background: var(--blue-light); }

/* ── DONATE PAGE ────────────────────────────────────────────── */
.giving-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 680px) { .giving-cards { grid-template-columns: repeat(4, 1fr); } }

.giving-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: box-shadow var(--transition), transform var(--transition), border-color var(--transition), background var(--transition);
}
.giving-card:hover,
.giving-card.selected {
  border-color: var(--blue);
  background: var(--blue-light);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.giving-amount {
  font-size: 2rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.03em;
}
.giving-card p { font-size: 0.85rem; margin-top: 0.35rem; }

.impact-items { display: flex; flex-direction: column; gap: 1rem; }
.impact-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem 1.5rem;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.impact-row-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.impact-row h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.impact-row p  { font-size: 0.85rem; }

/* ── CONTACT PAGE ───────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 860px) { .contact-grid { grid-template-columns: 2fr 3fr; } }

.contact-info { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--gray); margin-bottom: 0.25rem; }
.contact-info-item p  { font-size: 0.95rem; color: var(--charcoal); font-weight: 500; }

/* ── FORMS ──────────────────────────────────────────────────── */
.form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 580px) { .form-row { grid-template-columns: 1fr 1fr; } }

.form-group { display: flex; flex-direction: column; gap: 0.45rem; }
.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--charcoal);
}
.form-group input,
.form-group select,
.form-group textarea {
  font-family: var(--font);
  font-size: 0.95rem;
  color: var(--charcoal);
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 0.8rem 1rem;
  width: 100%;
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,82,255,0.12);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23667085' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 0.85rem center; padding-right: 2.5rem; }

/* ── GALLERY PLACEHOLDER ────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 680px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-item { aspect-ratio: 4/3; }
.gallery-item .img-placeholder { height: 100%; min-height: unset; border-radius: var(--radius); border: none; }

/* ── SOCIAL LINKS ───────────────────────────────────────────── */
.social-links {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: background var(--transition), color var(--transition);
}
.social-link:hover { background: var(--blue); color: var(--white); }

/* ── FOOTER ─────────────────────────────────────────────────── */
.site-footer {
  background: #0052ff;
  color: var(--white);
  padding: 4.5rem 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}
@media (min-width: 680px) {
  .footer-inner { grid-template-columns: 2fr 1fr 1fr; gap: 4rem; }
}
.footer-brand .nav-logo { color: var(--white); margin-bottom: 1rem; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; max-width: 280px; margin-bottom: 1.5rem; color: var(--white); }
.site-footer p { color: var(--white); }
.footer-heading {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer-links { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-link {
  font-size: 0.9rem;
  color: var(--white);
  text-decoration: none;
  transition: color var(--transition);
}
.footer-link:hover { color: rgba(255,255,255,0.75); }
.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid rgba(255,255,255,0.3);
  padding: 1.5rem 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p { font-size: 0.82rem; color: var(--white); margin: 0; }

/* ── SECTION DIVIDER ────────────────────────────────────────── */
.divider {
  width: 48px; height: 4px;
  background: var(--blue);
  border-radius: 2px;
  margin: 1.25rem 0 0;
}
.divider--center { margin: 1.25rem auto 0; }

/* ── TWO COLUMN LAYOUT ──────────────────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 860px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 5rem; }
  .two-col--flip > :first-child { order: 2; }
  .two-col--flip > :last-child  { order: 1; }
}

/* ── ANIMATIONS ─────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ── NOTICE BANNER ──────────────────────────────────────────── */
.notice {
  background: var(--blue-light);
  border: 1px solid rgba(0,82,255,0.2);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.6;
}
.notice strong { color: var(--blue); }

/* ── Real image handling ────────────────────────────────────── */
.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  display: block;
}
.card-image img,
.tournament-image img,
.story-preview-image img,
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-preview-image img { border-radius: var(--radius-lg); }
.gallery-item img { border-radius: var(--radius); }
/* Personal-photo placeholder (for Lynz / family shots only) */
.personal-placeholder {
  background: linear-gradient(160deg, #0a1a3a 0%, #0d2459 100%);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  padding: 2rem;
  height: 100%;
  min-height: 320px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 2px dashed rgba(0,82,255,0.35);
}
.personal-placeholder svg { color: rgba(255,255,255,0.25); }
.personal-placeholder span { max-width: 180px; line-height: 1.6; }

/* ── SPONSORSHIP FLYER ──────────────────────────────────────── */
.flyer-container {
  display: flex;
  justify-content: center;
}
.flyer-img {
  max-width: 440px;
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-hover);
}

/* ── RESPONSIVE UTILITY ─────────────────────────────────────── */
@media (max-width: 599px) {
  .section { padding: 1.5rem 0; }
  .section-lg { padding: 2.5rem 0; }
  .hero p { font-size: 1.05rem; }
  .btn-group { flex-direction: column; align-items: stretch; }
  .btn-group .btn { justify-content: center; }
  .btn-group--center .btn { width: 100%; }
  .giving-cards { grid-template-columns: 1fr 1fr; }
  .event-cards { grid-template-columns: 1fr 1fr; }
  /* Sponsor preview cards: single column on small phones */
  .sponsor-cards { grid-template-columns: 1fr; }
  /* Flyer: full width on mobile */
  .flyer-img { max-width: 100%; }
}

/* Larger touch target for hamburger on mobile */
@media (max-width: 899px) {
  .nav-toggle {
    width: 44px;
    height: 44px;
    padding: 8px;
  }
}

/* ── 501(c)(3) NONPROFIT BADGE (hero eyebrow override) ─────── */
.nonprofit-badge {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  background: rgba(0, 82, 255, 0.35);
  border: 1px solid rgba(0, 82, 255, 0.5);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
}

/* ── TRUST BAR ──────────────────────────────────────────────── */
.trust-bar {
  background: #0052FF;
  border-bottom: 1px solid rgba(0,0,0,0.15);
  padding: 1rem 0;
}
.trust-bar-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1rem 2.5rem;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
}
.trust-item svg { color: rgba(255,255,255,0.85); flex-shrink: 0; }
.trust-divider {
  width: 1px;
  height: 20px;
  background: rgba(255,255,255,0.35);
}
@media (max-width: 599px) {
  .trust-divider { display: none; }
}

/* ── CAUSE ICON (card-level icons without image) ────────────── */
.cause-icon {
  width: 60px;
  height: 60px;
  background: var(--blue-light);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--blue);
}

/* ── PROGRAM PREVIEW LIST ───────────────────────────────────── */
.program-preview-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.program-preview-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--soft-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow var(--transition);
}
.program-preview-item:hover { box-shadow: var(--shadow); }
.program-preview-icon {
  width: 40px;
  height: 40px;
  background: var(--blue-light);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.program-preview-item h4 { font-size: 0.95rem; margin-bottom: 0.2rem; }
.program-preview-item p  { font-size: 0.85rem; }

/* ── CONTRIBUTOR / SPONSOR TIERS ────────────────────────────── */
.contributor-tier {
  text-align: center;
  margin-bottom: 2.5rem;
}
.tier-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 0.35rem 1rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.tier-label--gold   { background: linear-gradient(90deg, #b8872a, #e6b44e); color: var(--white); }
.tier-label--silver { background: linear-gradient(90deg, #6b7280, #9ca3af); color: var(--white); }

.contributor-names-lg {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.contributor-name-lg {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--charcoal);
  letter-spacing: -0.01em;
}

.contributor-names {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.contributor-name {
  font-size: 1rem;
  font-weight: 600;
  color: var(--charcoal);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 1.1rem;
}

/* Impact grid on dark navy background */
.bg-navy .impact-item {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
}
.bg-navy .impact-number { color: rgba(255,255,255,0.95); }
.bg-navy .impact-label  { color: rgba(255,255,255,0.5); }
.bg-navy .impact-grid   { background: transparent; border: none; }

/* Nav font size tighter for many items */
@media (min-width: 900px) and (max-width: 1100px) {
  .nav-link { font-size: 0.85rem; padding: 0.4rem 0.7rem; }
}

/* ── NAV DROPDOWN ───────────────────────────────────────── */
.nav-item--has-dropdown {
  position: relative;
  list-style: none;
}
.nav-dropdown-toggle {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 0.45rem 0.85rem;
  border-radius: 7px;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font);
  white-space: nowrap;
  line-height: 1.4;
}
.nav-dropdown-toggle:hover { background: var(--soft-bg); color: var(--charcoal); }
.nav-dropdown-toggle.active { color: var(--blue); font-weight: 600; }
.nav-dropdown-toggle svg { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-item--has-dropdown:hover .nav-dropdown-toggle svg,
.nav-item--has-dropdown.open .nav-dropdown-toggle svg { transform: rotate(180deg); }

.site-header--transparent .nav-dropdown-toggle { color: var(--white); }
.site-header--transparent .nav-dropdown-toggle:hover { background: rgba(255,255,255,0.1); color: var(--white); }
.site-header--scrolled .nav-dropdown-toggle,
.site-header--solid .nav-dropdown-toggle { color: var(--charcoal); }

.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-hover);
  flex-direction: column;
  min-width: 220px;
  z-index: 200;
  overflow: hidden;
  list-style: none;
  padding: 0.35rem 0;
}
.nav-item--has-dropdown:hover .nav-dropdown,
.nav-item--has-dropdown.open .nav-dropdown { display: flex; }
.nav-dropdown li { list-style: none; margin: 0; }
.nav-dropdown a {
  display: block;
  padding: 0.7rem 1.25rem;
  font-size: 0.9rem;
  color: var(--charcoal);
  font-weight: 500;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
}
.nav-dropdown a:hover,
.nav-dropdown a.active { background: var(--soft-bg); color: var(--blue); }

/* Mobile nav section label */
.nav-mobile-section-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 1rem 1rem 0.3rem;
  margin-top: 0.25rem;
  border-top: 1px solid var(--border);
}
.nav-link--sub {
  padding-left: 1.5rem !important;
  font-size: 0.95rem !important;
  color: var(--charcoal) !important;
}
.nav-link--sub:hover,
.nav-link--sub.active { background: var(--soft-bg); color: var(--blue) !important; }

/* ── CRISIS RESOURCES SECTION ───────────────────────────── */
.crisis-resources {
  background: #05291e;
  border-top: 3px solid #00b884;
  padding: 2.5rem 0;
}
.crisis-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 3rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.crisis-heading {
  font-size: 1rem !important;
  font-weight: 700 !important;
  color: var(--white) !important;
  margin: 0 !important;
  max-width: 340px;
  line-height: 1.55 !important;
}
.crisis-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2rem;
  justify-content: center;
}
.crisis-resource-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  text-decoration: none;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  min-width: 160px;
  transition: background var(--transition), border-color var(--transition);
}
.crisis-resource-link:hover {
  background: rgba(0,184,132,0.18);
  border-color: #00b884;
}
.crisis-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: #00e8a8;
  letter-spacing: -0.02em;
  line-height: 1;
}
.crisis-resource-link span:not(.crisis-num) {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.72);
  font-weight: 500;
  text-align: center;
  max-width: 150px;
  line-height: 1.4;
}
.crisis-divider-v {
  width: 1px;
  height: 52px;
  background: rgba(255,255,255,0.15);
  flex-shrink: 0;
}
@media (max-width: 599px) {
  .crisis-inner { gap: 1.25rem; }
  .crisis-divider-v { display: none; }
  .crisis-resource-link { width: 100%; max-width: 300px; }
}

/* ── SUICIDE PREVENTION SECTION ─────────────────────────── */
.prevention-resource-card {
  background: #05291e;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  border: 3px solid #00b884;
}
.prevention-resource-card h3 { color: #00e8a8; margin-bottom: 0.5rem; }
.prevention-resource-card > p { color: rgba(255,255,255,0.72) !important; font-size: 0.95rem !important; margin-bottom: 2rem !important; }
.prevention-link {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition);
  margin-bottom: 0.85rem;
}
.prevention-link:last-child { margin-bottom: 0; }
.prevention-link:hover { background: rgba(0,184,132,0.18); border-color: #00b884; }
.prevention-link-num {
  font-size: 2rem;
  font-weight: 800;
  color: #00e8a8;
  line-height: 1;
  letter-spacing: -0.02em;
}
.prevention-link-title {
  font-weight: 700;
  color: var(--white) !important;
  font-size: 1rem !important;
  margin: 0 !important;
}
.prevention-link-sub {
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.6) !important;
  margin: 0 !important;
}
.prevention-resource-card footer {
  color: rgba(255,255,255,0.45);
  font-size: 0.8rem;
  margin-top: 1.5rem;
  text-align: center;
  background: none;
  padding: 0;
}

/* ── NEBRASKA BADGE (contact page) ──────────────────────── */
.nebraska-figure {
  border-radius: var(--radius);
  overflow: hidden;
  max-width: 300px;
}
.nebraska-figure img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

/* ── HOPE & HEALING BANNER ───────────────────────────────── */
.hope-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  height: 320px;
}
.hope-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ═══════════════════════════════════════════════════════════════
   MOBILE UX REFINEMENTS — applies to ≤ 768px only
   Desktop styles above this block are unchanged.
   ═══════════════════════════════════════════════════════════════ */

/* ── 1. Section label: tighten label → heading gap on mobile ─── */
@media (max-width: 767px) {
  .section-label {
    margin-bottom: 0.5rem;
  }
}

/* ── 2. Hero content: extra bottom clearance prevents
         stacked CTA buttons from crowding the scroll indicator ── */
@media (max-width: 767px) {
  .hero-content {
    padding-bottom: 4.5rem;
  }
}

/* ── 3. Hero scroll indicator: correct layout order (label above
         arrow is standard UX), scale down, reposition on mobile ─ */
@media (max-width: 767px) {
  .hero-scroll {
    flex-direction: column-reverse; /* "Scroll" label above the down-arrow */
    bottom: 1.75rem;
    gap: 0.3rem;
    font-size: 0.68rem;
    letter-spacing: 0.09em;
  }
  .hero-scroll svg {
    width: 16px;
    height: 16px;
  }
}

/* ── 4. Story preview images: switch from portrait (4∕5) to
         landscape (4∕3) in single-column layout — prevents
         images from pushing content far off-screen ───────────── */
@media (max-width: 859px) {
  .story-preview-image {
    aspect-ratio: 4 / 3;
  }
}

/* ── 5. Impact statistics (2×2 grid on mobile):
         Shrink font and reduce cell padding so "$275,000" and
         other long numbers fit cleanly in narrow cells ────────── */
@media (max-width: 679px) {
  .impact-number {
    font-size: clamp(1.4rem, 5.5vw, 2.2rem);
    letter-spacing: -0.025em;
  }
  .impact-item {
    padding: 1.75rem 0.875rem;
  }
  .impact-label {
    font-size: 0.8rem;
    letter-spacing: 0.04em;
  }
}

/* ── 6. Footer: reduce excessive top padding on mobile ────────── */
@media (max-width: 767px) {
  .site-footer {
    padding-top: 2.5rem;
  }
}


/* ── 8. Container: slightly tighter insets at very narrow widths  */
@media (max-width: 359px) {
  .container {
    padding: 0 1rem;
  }
}

/* ── 9. Board of Directors grid: force 2-column layout on mobile
         (auto-fit minmax(140px) produces 1 col at 320px viewport) */
@media (max-width: 599px) {
  .board-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

/* ── 10. Program preview items: tighter padding and gap on mobile,
          crisp icon micro-alignment with text cap-height ────────── */
@media (max-width: 767px) {
  .program-preview-list {
    gap: 1rem;
  }
  .program-preview-item {
    padding: 1rem;
    gap: 0.875rem;
  }
  .program-preview-icon {
    flex-shrink: 0;
    margin-top: 0.1rem;
  }
}

/* ── 11. Crisis heading: full width on very narrow screens ───────  */
@media (max-width: 399px) {
  .crisis-heading {
    font-size: 0.92rem !important;
    max-width: none;
  }
}

/* ── 15. Impact statistics: blue background + refined design on mobile ── */
@media (max-width: 679px) {
  [aria-label="Foundation impact statistics"] {
    background: #0052FF;
    padding: 1.5rem 0;
  }
  [aria-label="Foundation impact statistics"] .impact-item {
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
  }
  [aria-label="Foundation impact statistics"] .impact-number {
    color: #ffffff;
  }
  [aria-label="Foundation impact statistics"] .impact-label {
    color: rgba(255,255,255,0.78);
  }
}

/* ── 16. Tournament group photo: prevent faces being cropped on mobile ── */
@media (max-width: 859px) {
  .story-preview-image--group img {
    object-position: center 15%;
  }
}

/* ── 17. Hero buttons: standard size on mobile (lg is too large stacked) ── */
@media (max-width: 599px) {
  .hero .btn-lg {
    padding: 0.75rem 1.6rem;
    font-size: 0.95rem;
  }
}

/* ── 18. Hide elements on mobile (single-column breakpoint) ── */
@media (max-width: 859px) {
  .hide-mobile { display: none !important; }
}

/* ── 18. Trust bar: equal-height chip grid on mobile.
          Fixed-height CSS Grid (grid-template-rows: 1fr 1fr) divides
          total height into exactly two equal rows — all 4 chips are
          guaranteed the same height regardless of text length. ── */
@media (max-width: 599px) {
  .trust-bar {
    padding: 0.875rem 0;
  }
  .trust-bar-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    height: 8rem;
    gap: 0.5rem;
  }
  .trust-item {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.22);
    border-radius: 6px;
    padding: 0.5rem 0.65rem;
    font-size: 0.74rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 0.35rem;
    flex: none;
    width: auto;
  }
  .trust-item svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
  }
}

/* ── 12. Cards grid (Our Cause): horizontal icon+title layout on mobile
          Replaces the tall icon-on-top stack with a compact side-by-side row ── */
@media (max-width: 679px) {
  .cards-grid .card-body {
    display: grid;
    grid-template-columns: 48px 1fr;
    column-gap: 1rem;
    row-gap: 0.45rem;
    padding: 1.25rem !important; /* override inline padding-top: 2rem */
  }
  .cards-grid .cause-icon {
    grid-column: 1;
    grid-row: 1 / 4;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    margin-bottom: 0;
    align-self: start;
    margin-top: 0.15rem;
  }
  .cards-grid .card-body h3 {
    grid-column: 2;
    grid-row: 1;
    font-size: 1.05rem;
    line-height: 1.25;
    align-self: center;
  }
  .cards-grid .card-body > p {
    grid-column: 2;
    grid-row: 2;
    font-size: 0.88rem;
  }
  .cards-grid .card-body .btn {
    grid-column: 2;
    grid-row: 3;
    align-self: start;
    margin-top: 0.25rem;
  }
}


/* ── 14. Crisis resources: side-by-side compact boxes on mobile ── */
@media (max-width: 599px) {
  .crisis-resources {
    padding: 1.5rem 0;
  }
  .crisis-inner {
    gap: 1rem;
  }
  .crisis-links {
    flex-wrap: nowrap;
    gap: 0.625rem;
    width: 100%;
  }
  .crisis-resource-link {
    flex: 1;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    padding: 0.875rem 0.625rem;
  }
  .crisis-num {
    font-size: 1.55rem;
  }
  .crisis-resource-link span:not(.crisis-num) {
    font-size: 0.7rem;
    max-width: none;
  }
}
