/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:    #ffffff;   /* page background */
  --dark:     #f0f4f8;   /* alternate section bg */
  --gray:     #e4e9f0;   /* card background */
  --mid:      #c8d4e0;   /* borders */
  --accent:   #D49A1E;   /* gold */
  --accent2:  #D89C18;   /* gold variant */
  --navy:     #0d141a;   /* navbar, hero overlay */
  --blue:     #1B3270;   /* primary text / headings */
  --text:     #3d5066;   /* body text */
  --white:    #ffffff;   /* true white for dark surfaces */
  --font:     'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
}

a { color: inherit; text-decoration: none; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  font-size: 1rem;
  padding: 14px 36px;
  border-radius: 4px;
  letter-spacing: 0.05em;
  transition: background 0.2s, color 0.2s;
}
.btn-primary:hover { background: var(--white); color: var(--accent); }

.btn-secondary {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 24px;
  border-radius: 0;
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--accent); color: var(--white); }

.btn-donate {
  background: var(--accent);
  color: var(--white);
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
.nav-links a.btn-donate:hover { background: var(--white); color: var(--accent); opacity: 1; }

.section-sub {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto 40px;
  text-align: center;
}

/* ===== STUDENTS TICKER ===== */
.students-ticker {
  background: var(--accent);
  color: var(--navy);
  text-align: center;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.ticker-label {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ticker-number {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1;
}

/* ===== NAVBAR — stays dark so white logo is visible ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(13, 20, 26, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-logo { display: flex; align-items: center; }
.logo-img { height: 40px; width: auto; }
.footer-logo-img { height: 52px; margin-bottom: 8px; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 700px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    flex-direction: column;
    background: var(--navy);
    padding: 24px;
    gap: 20px;
  }
  .nav-links.open { display: flex; }
}

/* ===== HERO — dark overlay stays (background image) ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero--compact { min-height: 60vh; }

/* suppress single-image ::before on mosaic hero */
.hero--mosaic::before { background: none; }

.hero-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 50%);
  height: 100%;
  filter: grayscale(100%);
  z-index: 0;
  overflow: hidden;
}

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

@media (max-width: 700px) {
  .hero-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(4, 1fr);
  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('images/yourdonoatwork/ABBEB32E-3891-4063-9984-10EE7D81F343_1_105_c.jpeg') center 30% / cover no-repeat;
  filter: grayscale(100%);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(8,5,2,0.45) 0%, rgba(10,6,2,0.65) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-logo-img {
  width: min(520px, 85vw);
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.5));
  animation: heroFadeUp 0.8s ease both;
  animation-delay: 0.1s;
}

.hero-tagline {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 600;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.7;
  margin-bottom: 14px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.6);
  animation: heroFadeUp 0.8s ease both;
  animation-delay: 0.35s;
}
.hero-tagline strong { color: var(--accent); font-weight: 800; }

.hero-sub {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: rgba(255,255,255,0.85);
  max-width: 560px;
  margin-bottom: 36px;
  line-height: 1.6;
  animation: heroFadeUp 0.8s ease both;
  animation-delay: 0.55s;
}

.hero-content .btn-primary {
  animation: heroFadeUp 0.8s ease both;
  animation-delay: 0.75s;
}

/* ===== DONATE PAGE HERO ===== */
.hero--donate::before {
  background-image: url('images/welders-blog-1080x608.jpg');
  background-position: center center;
  filter: grayscale(100%);
}

/* ===== INVEST PAGE HERO ===== */
.hero--invest::before {
  background-image: url('images/kilroy_shop_pics/ronatwork.jpg');
  background-position: center center;
  filter: none;
}

.hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
  animation: heroFadeUp 0.8s ease both;
  animation-delay: 0.1s;
}

.donate-hero-btns {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeUp 0.8s ease both;
  animation-delay: 0.65s;
}

.donate-hero-secondary {
  border-color: rgba(255,255,255,0.7);
  color: var(--white);
}
.donate-hero-secondary:hover { background: rgba(255,255,255,0.15); color: var(--white); }

@media (max-width: 700px) {
  .hero--donate .hero-eyebrow { padding-top: 20px; }
  .donate-hero-btns { margin-bottom: 28px; }
}

/* ===== AUDIENCE SELECTOR ===== */
.audience-section {
  background: var(--dark);
  padding: 32px 24px;
  text-align: center;
  border-bottom: 1px solid var(--mid);
}

.audience-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.audience-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.chip {
  display: inline-block;
  border: 2px solid var(--accent);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 8px 20px;
  border-radius: 999px;
  letter-spacing: 0.04em;
  transition: background 0.2s, color 0.2s;
}
.chip:hover { background: var(--accent); color: var(--navy); }

/* ===== CLASSES ===== */
.classes-section {
  padding: 80px 0;
  background: var(--black);
  text-align: center;
}

.classes-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 12px;
}

.disciplines-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  text-align: left;
}

.discipline-card {
  background: var(--white);
  border: 1px solid var(--mid);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
  flex: 0 0 calc(33.333% - 13.334px);
  max-width: calc(33.333% - 13.334px);
}

@media (max-width: 900px) {
  .discipline-card {
    flex: 0 0 calc(50% - 10px);
    max-width: calc(50% - 10px);
  }
}

@media (max-width: 640px) {
  .discipline-card {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
.discipline-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.discipline-cover {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.discipline-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}

.img-shift-down { object-position: center 35%; }

.discipline-card:hover .discipline-cover img {
  transform: scale(1.04);
  filter: brightness(1.1);
}

.discipline-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(13,20,26,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 16px 20px;
}

.discipline-cover-overlay h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.01em;
  line-height: 1.2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.discipline-body {
  padding: 20px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.discipline-body ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.discipline-body ul li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 14px;
  position: relative;
}
.discipline-body ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.75rem;
  top: 2px;
}

/* ===== THE PROBLEM ===== */
.problem-section {
  background: var(--dark);
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--mid);
}

.problem-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.problem-intro {
  font-size: 1rem;
  color: var(--text);
  max-width: 780px;
  margin: 0 auto 56px;
  line-height: 1.8;
}

.problem-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: left;
}

@media (max-width: 640px) {
  .problem-grid { grid-template-columns: 1fr; }
}

.problem-card {
  padding: 8px 0;
}

.problem-card-label {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}

.problem-card p:last-child {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.8;
}

/* ===== THREE PILLARS ===== */
.pillars-section {
  background: var(--black);
  padding: 80px 0;
  text-align: center;
}

.pillars-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 48px;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: left;
}

.pillar-card {
  background: var(--white);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 8px 8px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.pillar-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
  margin-bottom: 8px;
  font-family: 'Oswald', sans-serif;
}

.pillar-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.pillar-card p { font-size: 0.95rem; color: var(--text); line-height: 1.7; }

/* ===== WHO WE SERVE ===== */
.serve-section {
  background: var(--black);
  padding: 90px 0;
  text-align: center;
}

.serve-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}

.serve-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  text-align: left;
}

.serve-card {
  background: var(--white);
  border: 1px solid var(--mid);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.serve-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(0,0,0,0.12);
}

.serve-cover {
  position: relative;
  height: 190px;
  overflow: hidden;
}
.serve-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease, filter 0.4s ease;
}
.serve-card:hover .serve-cover img {
  transform: scale(1.04);
  filter: brightness(1.1);
}

.serve-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.05) 0%, rgba(13,20,26,0.85) 100%);
  display: flex;
  align-items: flex-end;
  padding: 14px 18px;
}
.serve-cover-overlay h4 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  text-shadow: 0 1px 4px rgba(0,0,0,0.6);
}

.serve-body {
  padding: 16px 20px 20px;
}
.serve-body p { font-size: 0.9rem; color: var(--text); line-height: 1.6; }

/* ===== TRADES STATS SECTION ===== */
.trades-stats-section {
  background: var(--dark);
  padding: 80px 0;
  border-top: 1px solid var(--mid);
}

.trades-stats-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--blue);
}

.trades-stat-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin: 40px 0;
}

.t-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--mid);
  padding: 28px 20px;
  text-align: center;
  flex: 0 1 220px;
}

.t-stat-num {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
}

.t-stat-label {
  font-size: 0.88rem;
  color: var(--text);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.trades-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 48px;
}

.trades-split-img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 4px;
}

.trades-split-copy h3 {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  font-weight: 800;
  color: var(--blue);
  margin: 10px 0 14px;
  line-height: 1.4;
}

.trades-split-copy p {
  font-size: 0.95rem;
  color: var(--text);
  line-height: 1.7;
}


@media (max-width: 860px) {
  .trades-split { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .trades-stat-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .t-stat {
    flex: 1 1 auto;
    width: 100%;
    padding: 20px 16px;
  }
}

/* ===== FOR EMPLOYERS ===== */
.employers-section {
  background: var(--dark);
  padding: 80px 0;
  border-top: 1px solid var(--mid);
}

.employers-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

@media (max-width: 800px) {
  .employers-inner { grid-template-columns: 1fr; }
}

.eyebrow {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.employers-text h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
}

.employers-text p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 20px;
  max-width: 520px;
}

.employers-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.employers-list li {
  font-size: 0.95rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.employers-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.employers-stat-block {
  display: flex;
  flex-direction: column;
  gap: 24px;
  min-width: 207px;
}

.e-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--mid);
  border-left: 4px solid var(--accent);
  border-radius: 0;
  padding: 23px 28px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.e-stat-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--accent);
  opacity: 0.5;
  line-height: 1;
}

.e-stat-label {
  font-size: 0.95rem;
  color: var(--text);
  margin-top: 4px;
}

/* ===== BOOK & MUSIC ===== */
.featured-section {
  background: var(--black);
  padding: 80px 0;
  border-top: 1px solid var(--mid);
}

.featured-bundle {
  display: flex;
  align-items: center;
  gap: 60px;
  max-width: 860px;
  margin: 0 auto;
}

.featured-bundle-img {
  width: 340px;
  flex-shrink: 0;
  object-fit: contain;
}

.featured-bundle-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 14px;
}

.featured-bundle-text p {
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

.featured-bundle-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

@media (max-width: 700px) {
  .featured-bundle {
    flex-direction: column;
    text-align: center;
    gap: 32px;
  }
  .featured-bundle-img { width: 100%; max-width: 320px; }
  .featured-bundle-btns { justify-content: center; }
}

/* ===== INVESTORS & DONORS ===== */
.invest-section {
  background: var(--black);
  padding: 80px 0;
  text-align: center;
  border-top: 1px solid var(--mid);
}

.invest-section--mosaic {
  position: relative;
  background: none;
  border-top: none;
  overflow: hidden;
}

.invest-section--mosaic .invest-mosaic {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-template-rows: repeat(3, 33.333%);
  height: 100%;
  filter: grayscale(100%);
}

.invest-section--mosaic .invest-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.invest-section--mosaic .invest-mosaic-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.invest-section__content {
  position: relative;
  z-index: 2;
}

.invest-section--mosaic .section-sub {
  color: rgba(255, 255, 255, 0.85);
}

.invest-section--top {
  padding-top: 140px;
  border-top: none;
}

.invest-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
}

.invest-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
  margin-top: 40px;
}

@media (max-width: 700px) {
  .invest-grid { grid-template-columns: 1fr; }
}

.invest-card {
  background: var(--white);
  border: 1px solid var(--mid);
  border-radius: 8px;
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.invest-card--gold {
  border-color: var(--accent);
  background: #fffbf0;
}

.invest-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
}

.invest-card p { font-size: 0.95rem; color: var(--text); }

.invest-card > .btn-primary { align-self: flex-start; }

.invest-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.invest-card ul li {
  font-size: 0.9rem;
  color: var(--text);
  padding-left: 18px;
  position: relative;
}
.invest-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
}

.amfol-notice {
  margin: 1rem 0 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.amfol-logo {
  width: 110px;
  border-radius: 4px;
}
.invest-card p a {
  color: var(--accent);
  text-decoration: underline;
}

/* ===== HOPE HAS A HOME VIDEOS ===== */
.videos-section {
  background: var(--dark);
  padding: 80px 0;
  border-top: 1px solid var(--mid);
  text-align: center;
}

.videos-headline {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.15em;
  margin-bottom: 48px;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 760px) {
  .videos-grid { grid-template-columns: 1fr; }
}

.video-card {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--mid);
  aspect-ratio: 16 / 9;
}

.video-embed {
  width: 100%;
  height: 100%;
  display: block;
  border: none;
}

/* ===== COMMUNITY STATEMENT ===== */
.community-section {
  background: var(--dark);
  padding: 90px 24px;
  text-align: center;
  border-top: 1px solid var(--mid);
}

.community-headline {
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.04em;
  margin-bottom: 48px;
}

.community-layout {
  display: flex;
  align-items: center;
  gap: 56px;
  text-align: center;
}

.community-text {
  flex: 1;
  min-width: 0;
}

.community-img-wrap {
  flex: 0 0 420px;
  overflow: hidden;
  border-radius: 4px;
}

.community-img-wrap img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: 4px;
}

@media (max-width: 860px) {
  .community-layout {
    flex-direction: column;
    gap: 32px;
    text-align: center;
  }
  .community-img-wrap {
    flex: none;
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
  }
}

.community-body {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--text);
  margin: 0 0 28px;
  line-height: 1.7;
}
.community-body strong { color: var(--accent); }

.community-brand {
  font-size: 0.95rem;
  color: var(--text);
  margin: 0 0 16px;
  line-height: 1.8;
}

.community-tagline {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--black);
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--mid);
  scroll-margin-top: 72px;
}

.contact-section h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--blue);
  margin-bottom: 16px;
}

.contact-sub {
  color: var(--text);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 820px;
  margin: 0 auto 48px;
  text-align: left;
}

.contact-card {
  background: var(--white);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 8px 8px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.contact-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
}

.contact-card p { font-size: 0.95rem; color: var(--text); line-height: 1.7; }

.contact-card a { color: var(--text); }
.contact-card a:hover { color: var(--accent); }

@media (max-width: 700px) {
  .contact-cards { grid-template-columns: 1fr; max-width: 360px; }
}

/* ===== EVENTS ===== */
.events-section {
  padding: 80px 0;
  background: var(--black);
  border-top: 1px solid var(--mid);
}

.events-section h2 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 10px;
}

.events-context {
  color: var(--text);
  margin-bottom: 36px;
}

.event-card {
  display: flex;
  align-items: center;
  gap: 28px;
  background: var(--white);
  border: 1px solid var(--mid);
  border-radius: 8px;
  padding: 32px 28px;
  max-width: 600px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.event-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--accent);
  color: var(--navy);
  border-radius: 6px;
  padding: 12px 20px;
  min-width: 72px;
}

.event-month { font-size: 0.75rem; font-weight: 700; letter-spacing: 0.1em; }
.event-day { font-size: 2.4rem; font-weight: 900; line-height: 1; }

.event-info h3 { font-size: 1.15rem; font-weight: 700; color: var(--blue); margin-bottom: 6px; }
.event-info p { color: var(--text); font-size: 0.9rem; margin-bottom: 14px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 60px 0 0;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
}

@media (max-width: 760px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 460px) {
  .footer-inner { grid-template-columns: 1fr; }
}

.footer-brand p { margin-top: 8px; color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.footer-links h4,
.footer-contact h4 {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }

.footer-links a,
.footer-contact a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color 0.2s;
  display: block;
  margin-bottom: 6px;
}
.footer-links a:hover,
.footer-contact a:hover { color: var(--accent); }

.footer-bottom {
  text-align: center;
  padding: 20px 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.35);
  font-size: 0.85rem;
}
.footer-bottom a { color: var(--accent); }

/* ===== LOCATION PICKER ===== */
.location-picker {
  margin-bottom: 40px;
  display: none;
}

.location-prompt {
  text-align: center;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 20px;
}

.location-cards {
  display: flex;
  justify-content: center;
  gap: 0;
  border: 1px solid var(--mid);
  border-radius: 0;
  overflow: hidden;
  max-width: 860px;
  margin: 0 auto;
}

.location-card {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 20px;
  cursor: pointer;
  background: var(--black);
  border-right: 1px solid var(--mid);
  transition: background 0.2s, border-color 0.2s;
  text-align: center;
}

.location-card:first-child { border-radius: 0; }
.location-card:last-child { border-right: none; border-radius: 0; }

.location-card:hover { background: var(--dark); }

.location-card.active {
  background: #fdf6e3;
  box-shadow: inset 0 0 0 2px var(--accent);
}

.location-flag {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.location-flag--texas {
  object-position: left center;
}

.location-flag--colorado {
  object-position: 42% center;
}

.location-card strong {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue);
  display: block;
}

.location-card span {
  font-size: 0.82rem;
  color: var(--text);
  font-style: italic;
  line-height: 1.5;
}

.location-select-prompt {
  text-align: center;
  color: var(--text);
  font-size: 0.9rem;
  font-style: italic;
  margin: 16px 0 32px;
  opacity: 0.7;
}

.disciplines-grid--hidden { display: none; }

@keyframes gridFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes cardSlideIn {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.disciplines-grid--animating {
  animation: gridFadeUp 0.45s ease forwards;
}

.discipline-card--animate {
  animation: cardSlideIn 0.38s ease both;
}

@media (max-width: 640px) {
  .location-cards {
    flex-direction: column;
    border-radius: 0;
  }
  .location-card {
    border-right: none;
    border-bottom: 1px solid var(--mid);
  }
  .location-card:last-child { border-bottom: none; }
}

/* ===== DONATE PAGE: PHOTO STRIP ===== */
.photo-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 280px;
  overflow: hidden;
}
.photo-strip__item { overflow: hidden; }
.photo-strip__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.photo-strip__item:hover img { transform: scale(1.04); }
@media (max-width: 700px) {
  .photo-strip { grid-template-columns: repeat(2, 1fr); height: 320px; }
}

/* ===== SERVE SECTION: PHOTO ROW ===== */
.serve-photo-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin: 48px 0;
}
.serve-photo-row__img { overflow: hidden; }
.serve-photo-row__img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
@media (max-width: 700px) {
  .serve-photo-row { grid-template-columns: repeat(2, 1fr); }
  .serve-photo-row__img img { height: 220px; }
}

/* ===== DONATE PAGE: PORTRAIT PULL ===== */
.problem-portrait-pull {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: 960px;
  margin: 48px auto;
}
.problem-portrait-pull__img img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
}
.problem-portrait-pull__quote blockquote {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.4;
  color: var(--blue);
  border-left: 4px solid var(--gold);
  padding-left: 24px;
  margin: 0;
}
@media (max-width: 700px) {
  .problem-portrait-pull { grid-template-columns: 1fr; gap: 24px; }
  .problem-portrait-pull__img img { height: 280px; }
}

/* ===== DONATE PAGE: IMPACT GALLERY ===== */
@media (max-width: 700px) {
  .invest-section--mosaic .invest-mosaic {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(5, 1fr);
  }
}


/* ===== STATS SOURCE FOOTNOTE ===== */
.stats-source {
  font-size: 0.78rem;
  color: var(--text);
  opacity: 0.6;
  text-align: center;
  margin-top: 0;
  margin-bottom: 32px;
}
.stats-source a { color: var(--accent); }

/* ===== SPONSOR PAGE ===== */
.hero--sponsor::before {
  background-image: url('images/welders2.jpeg');
  background-position: center center;
  filter: grayscale(100%);
}

.match-banner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
  padding: 0;
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: left;
}
.match-banner__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
}
.match-banner p {
  font-size: 0.98rem;
  color: var(--text);
  margin: 0;
  flex: 1;
  min-width: 240px;
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  text-align: left;
  align-items: stretch;
}

.tier-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--mid);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 8px 8px;
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}

.tier-card--featured {
  border-color: var(--accent);
  border-top-width: 4px;
  box-shadow: 0 8px 28px rgba(212,154,30,0.22);
}


.tier-badge {
  position: absolute;
  top: -13px;
  left: 28px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 4px;
}

.tier-card__head {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.tier-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
}
.tier-price {
  font-family: 'Oswald', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.tier-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.tier-card ul li {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  padding-left: 20px;
  position: relative;
}
.tier-card ul li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.tier-card .btn-primary { align-self: flex-start; }

/* Naming rights */
.naming-section { text-align: center; }
.naming-block {
  max-width: 640px;
  margin: 0 auto;
}
.naming-block h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 8px;
}
.naming-figure {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2.6rem, 7vw, 4rem);
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 18px;
}
.naming-copy {
  color: var(--text);
  font-size: 1.02rem;
  line-height: 1.7;
  margin-bottom: 28px;
}

@media (max-width: 600px) {
  .match-banner { padding: 16px 18px; }
}

/* ===== SPONSOR — NAMING AVAILABILITY ===== */
.naming-availability {
  font-size: 1rem;
  color: var(--blue);
  line-height: 1.6;
  margin-bottom: 16px;
}
.naming-availability strong { color: var(--accent); }

/* ===== SPONSOR — OPEN HOUSE ===== */
.openhouse-section {
  background: var(--dark);
  padding: 80px 0;
  border-top: 1px solid var(--mid);
  text-align: center;
}
.openhouse-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 14px;
}
.openhouse-lead {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 620px;
  margin: 0 auto 44px;
}
.openhouse-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  text-align: left;
}
@media (max-width: 700px) {
  .openhouse-grid { grid-template-columns: 1fr; }
}
.openhouse-card {
  background: var(--white);
  border: 1px solid var(--mid);
  border-top: 4px solid var(--accent);
  border-radius: 0 0 8px 8px;
  padding: 32px 28px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.openhouse-card--vip {
  border-top-color: var(--accent);
}
.openhouse-date {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.openhouse-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
}
.openhouse-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.openhouse-card ul li {
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 20px;
  position: relative;
}
.openhouse-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.openhouse-note {
  font-size: 0.85rem;
  color: var(--text);
  font-style: italic;
  border-top: 1px solid var(--mid);
  padding-top: 14px;
}

/* ===== SPONSOR — AMERICA'S FAMILY FOOTNOTE ===== */
.amfol-footnote {
  background: var(--black);
  padding: 32px 0;
  border-top: 1px solid var(--mid);
}
.amfol-footnote p {
  font-size: 0.85rem;
  color: var(--text);
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
  line-height: 1.6;
}
.amfol-footnote a { color: var(--accent); text-decoration: underline; }
