/* ==========================================================
   Key of M Legacy Foundation, Inc. — Full Site Styles
   Black / White / Red modern tech + music vibe
========================================================== */

:root{
  --bg:#050507;
  --bg2:#08080d;
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.72);
  --line: rgba(255,255,255,.12);
  --panel: rgba(255,255,255,.05);

  --red:#ff0022;
  --red2:#ff3b30;
  --glow: 0 0 34px rgba(255,0,34,.22);

  --radius: 22px;
  --shadow: 0 24px 80px rgba(0,0,0,.65);
  --max: 1180px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 520px at 15% 0%, rgba(255,0,34,.24), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(255,59,48,.14), transparent 55%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 62%, #040406 100%);
  overflow-x:hidden;
}

/* subtle grid */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(60% 60% at 50% 20%, rgba(0,0,0,.85), transparent 75%);
  opacity:.18;
}

a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }

.container{
  width:min(var(--max), calc(100% - 40px));
  margin:0 auto;
}

.skip-link{
  position:absolute; left:-9999px;
}
.skip-link:focus{
  left:16px; top:16px;
  padding:10px 14px;
  background:#000;
  border:1px solid var(--line);
  border-radius:12px;
  z-index:9999;
}

/* =========================================
   Header / Nav
========================================= */
.site-header{
  position:sticky;
  top:0;
  z-index:1000;
  background: rgba(5,5,7,.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.navbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width: 260px;
}

.brand img{
  width:46px !important;
  height:46px !important;
  object-fit:contain;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
}

.brand .title{ display:flex; flex-direction:column; line-height:1.1; }
.brand .title strong{ font-size:14px; letter-spacing:.3px; }
.brand .title span{ font-size:12px; color: var(--muted); }

.nav-links{
  display:flex;
  align-items:center;
  gap:10px;
}

.nav-links a{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid transparent;
  color: var(--muted);
  transition:.18s ease;
}

.nav-links a:hover{
  color: var(--text);
  border-color: rgba(255,255,255,.14);
  background: rgba(255,255,255,.03);
}

.nav-links a.active{
  color: var(--text);
  border-color: rgba(255,0,34,.40);
  background: rgba(255,0,34,.10);
  box-shadow: var(--glow);
}

.nav-actions{ display:flex; gap:10px; align-items:center; }

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  font-weight:900;
  cursor:pointer;
  transition:.18s ease;
  box-shadow: 0 12px 30px rgba(0,0,0,.25);
}

.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 44px rgba(0,0,0,.35);
}

.btn-primary{
  border-color: rgba(255,0,34,.55);
  background: linear-gradient(135deg, rgba(255,0,34,.96), rgba(255,59,48,.90));
  box-shadow: 0 18px 60px rgba(255,0,34,.16);
}

.btn-ghost{ background: transparent; }

/* Mobile menu */
.menu-toggle{ display:none; }

@media (max-width: 900px){
  .brand{ min-width: unset; }
  .menu-toggle{ display:inline-flex; }
  .nav-links{
    position: fixed;
    inset: 68px 12px auto 12px;
    display:none;
    flex-direction: column;
    align-items: stretch;
    gap:8px;
    padding: 12px;
    background: rgba(10,10,14,.92);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .nav-links.open{ display:flex; }
}

/* =========================================
   Typography helpers
========================================= */
.section{ padding: 64px 0; }

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-weight:1000;
  letter-spacing:.26em;
  text-transform:uppercase;
  font-size:12px;
  color: rgba(255,255,255,.86);
}

.kicker .dot{
  width:10px; height:10px;
  border-radius:999px;
  background: var(--red);
  box-shadow: 0 0 0 6px rgba(255,0,34,.18), 0 0 40px rgba(255,0,34,.22);
}

h1,h2,h3{ margin:0; }
h2{
  margin-top:12px;
  font-size: 32px;
  letter-spacing: -0.01em;
}
.lead{
  margin: 10px 0 0;
  color: var(--muted);
  max-width: 76ch;
}

.hr{ height:1px; background: rgba(255,255,255,.10); margin: 22px 0; }

.grid{ display:grid; gap:14px; }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px){
  .grid-3, .grid-2{ grid-template-columns: 1fr; }
}

.card{
  position:relative;
  padding:28px;
  border-radius:18px;

  background:rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  border:1px solid rgba(255,255,255,.12);

  box-shadow:
  0 20px 50px rgba(0,0,0,.55),
  inset 0 1px 0 rgba(255,255,255,.08);

  transition:all .35s ease;
}

.card:hover{
  transform:translateY(-6px);
  box-shadow:
  0 35px 70px rgba(0,0,0,.65),
  inset 0 1px 0 rgba(255,255,255,.12);
}

.card::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius:18px;
  padding:1px;

  background:linear-gradient(
    120deg,
    rgba(255,0,40,.45),
    transparent,
    rgba(255,0,40,.45)
  );

  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;

  pointer-events:none;
}

.icon{
  width:44px; height:44px;
  border-radius: 16px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: rgba(255,0,34,.12);
  border: 1px solid rgba(255,0,34,.30);
  box-shadow: 0 12px 28px rgba(255,0,34,.10);
  margin-bottom: 12px;
  font-weight: 1000;
}

/* =========================================
   HERO (Home)
   Banner is featured so it always shows clearly
========================================= */
.hero{
  padding: 92px 0 40px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}

.hero-grid{
  display:grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 36px;
  align-items:center;
}

.hero h1{
  margin-top: 12px;
  font-size: clamp(42px, 5.2vw, 66px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  text-shadow: 0 18px 60px rgba(0,0,0,.55);
}

.hero p{ color: var(--muted); }

.hero-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}

.hero-banner{
  border-radius: 28px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
  position:relative;
  transform: rotate(-1deg);
}

.hero-banner img{ width:100%; height:auto; }

.hero-banner::after{
  content:"";
  position:absolute;
  inset:-2px;
  background: linear-gradient(120deg,
    transparent 0%,
    rgba(255,0,34,.20) 35%,
    rgba(255,59,48,.12) 55%,
    transparent 75%);
  filter: blur(18px);
  opacity:.85;
  pointer-events:none;
}

@media (max-width: 900px){
  .hero{ padding: 82px 0 32px; }
  .hero-grid{ grid-template-columns: 1fr; }
  .hero-banner{ order:-1; transform:none; }
}

/* Wave divider */
.wave-divider{
  position: relative;
  height: 120px;
  overflow:hidden;
  margin-top: 22px;
}
.wave-divider svg{
  position:absolute;
  left:0; right:0; bottom:-2px;
  width: 100%;
  height: 120px;
  pointer-events:none;
  opacity:.9;
}

/* Equalizer strip */
.eq-wrap{
  margin-top: 18px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 14px 16px;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.eq-label{
  font-weight:1000;
  color: rgba(255,255,255,.88);
  letter-spacing: .08em;
  text-transform:uppercase;
  font-size: 12px;
}
.equalizer{
  display:flex;
  gap:6px;
  align-items:flex-end;
  height: 30px;
  flex: 1;
}
.bar{
  width: 6px;
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,0,34,.95), rgba(255,59,48,.65));
  transform-origin: bottom;
  animation: bounce 1.2s ease-in-out infinite;
}
.bar:nth-child(2){ animation-delay: .10s; }
.bar:nth-child(3){ animation-delay: .22s; }
.bar:nth-child(4){ animation-delay: .34s; }
.bar:nth-child(5){ animation-delay: .16s; }
.bar:nth-child(6){ animation-delay: .28s; }
.bar:nth-child(7){ animation-delay: .40s; }
.bar:nth-child(8){ animation-delay: .18s; }
.bar:nth-child(9){ animation-delay: .30s; }
.bar:nth-child(10){ animation-delay: .42s; }

@keyframes bounce{
  0%,100%{ height: 10px; opacity:.85; }
  50%{ height: 30px; opacity:1; }
}

/* =========================================
   Stats counters
========================================= */
.stats{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
@media (max-width: 900px){ .stats{ grid-template-columns: 1fr 1fr; } }

.stat{
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 16px;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}
.stat .num{
  font-size: 34px;
  font-weight: 1100;
}
.stat .label{
  color: var(--muted);
  font-weight: 900;
  margin-top: 4px;
}

/* =========================================
   Mission page split (image left, text right)
========================================= */
.split{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 30px;
  align-items:start;
}
@media (max-width:900px){ .split{ grid-template-columns:1fr; } }

.media{
  border-radius: 28px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: var(--shadow);
}
.media img{
  width:100%;
  height: 520px;
  object-fit: cover;
}
@media (max-width:900px){ .media img{ height: 320px; } }

.media-cap{
  padding: 12px 14px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: rgba(255,255,255,.70);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.value-list{ display:flex; flex-direction:column; gap:12px; margin-top: 12px; }
.value{
  display:flex; gap:12px;
  padding:14px;
  border-radius:18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: 0 12px 34px rgba(0,0,0,.18);
}
.value .emoji{
  width:44px; height:44px;
  border-radius:16px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,0,34,.12);
  border: 1px solid rgba(255,0,34,.30);
  flex:0 0 auto;
  font-size:20px;
}
.value strong{ display:block; font-weight:1100; margin-bottom:2px; }
.value span{ color: var(--muted); display:block; }

/* =========================================
   Donate page tiers + form
========================================= */
.tiers{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:14px;
}
@media (max-width:900px){ .tiers{ grid-template-columns:1fr; } }

.tier{
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  padding: 18px;
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  transition:.18s ease;
}
.tier:hover{
  transform: translateY(-3px);
  border-color: rgba(255,0,34,.30);
  box-shadow: 0 26px 80px rgba(0,0,0,.60), var(--glow);
}
.tier .price{ font-size: 32px; font-weight: 1100; margin-top:8px; }

label{ display:block; margin: 10px 0 8px; font-weight:900; color: rgba(255,255,255,.88); }
input, textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.30);
  color: var(--text);
  outline:none;
}
form .row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width:900px){ form .row{ grid-template-columns:1fr; } }

.note{ font-size: 13px; color: rgba(255,255,255,.62); }

/* =========================================
   Gallery + filters + lightbox
========================================= */
.gallery-toolbar{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin: 18px 0 16px;
}
.chip{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.84);
  font-weight:1000;
  cursor:pointer;
  transition:.18s ease;
}
.chip:hover{ transform: translateY(-2px); }
.chip.active{
  border-color: rgba(255,0,34,.40);
  background: rgba(255,0,34,.12);
  box-shadow: var(--glow);
}

.gallery{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 12px;
}
.g-item{
  grid-column: span 4;
  border-radius: 18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.03);
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
  cursor:pointer;
  position:relative;
  transition: .18s ease;
}
.g-item:hover{
  transform: translateY(-3px);
  border-color: rgba(255,0,34,.30);
  box-shadow: 0 26px 80px rgba(0,0,0,.60), var(--glow);
}
.g-item img{
  width:100%;
  height: 240px;
  object-fit: cover;
  transform: scale(1.01);
  transition: .25s ease;
}
.g-item:hover img{ transform: scale(1.06); }
.g-cap{
  position:absolute;
  inset:auto 0 0 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.88));
  font-weight:1000;
  font-size: 13px;
}
@media (max-width: 900px){
  .g-item{ grid-column: span 12; }
}

/* Lightbox */
.lightbox{
  position: fixed;
  inset:0;
  background: rgba(0,0,0,.86);
  display:none;
  align-items:center;
  justify-content:center;
  padding: 20px;
  z-index: 2000;
}
.lightbox.open{ display:flex; }
.lb-inner{
  width:min(1040px, 100%);
  background: rgba(12,12,16,.72);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 22px;
  overflow:hidden;
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}
.lb-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255,255,255,.10);
}
.lb-title{ font-weight:1100; }
.lb-close{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-radius: 14px;
  padding: 10px 12px;
  cursor:pointer;
}
.lb-media img{
  width:100%;
  max-height: 76vh;
  object-fit: contain;
  background:#000;
}

/* =========================================
   Scroll reveal
========================================= */
.reveal{
  opacity:0;
  transform: translateY(14px);
  transition: .55s ease;
}
.reveal.in{
  opacity:1;
  transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  .bar{ animation:none; height: 16px; }
  .reveal{ transition:none; transform:none; opacity:1; }
}

/* =========================================
   Footer
========================================= */
.footer{
  padding: 26px 0 34px;
  border-top: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
}
.footer .row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
  flex-wrap:wrap;
}
.footer small{ color: rgba(255,255,255,.55); }

/* Fundraising progress bar */
.fund-progress{
  margin: 26px 0 10px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: 0 12px 34px rgba(0,0,0,.22);
}

.fund-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:16px;
  flex-wrap:wrap;
  margin-bottom:14px;
}

.fund-top h3{
  margin-top:8px;
  font-size: 30px;
  line-height:1.1;
}

.fund-percent{
  font-size: 28px;
  font-weight: 1100;
  color: var(--text);
}

.progress-track{
  width:100%;
  height:18px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
}

.progress-fill{
  height:100%;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(255,0,34,.96), rgba(255,59,48,.88));
  box-shadow: 0 0 24px rgba(255,0,34,.22);
}

/* 2RCDD values grid */

.values-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:20px;
  margin-top:30px;
}

.value-card{
  padding:24px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.03);
  box-shadow:0 12px 32px rgba(0,0,0,.25);
  transition:.25s;
}

.value-card:hover{
  transform:translateY(-4px);
  border-color:rgba(255,0,34,.45);
}

.value-card h3{
  margin-bottom:10px;
  font-size:20px;
}

.value-card p{
  color:var(--muted);
}

/* mobile */
@media(max-width:900px){
  .values-grid{
    grid-template-columns:1fr;
  }
}

/* Tribute Photo */

.tribute-photo{
  position:relative;
  border-radius:18px;
  overflow:hidden;
  margin-bottom:20px;
  box-shadow:0 30px 60px rgba(0,0,0,.6);
}

.tribute-photo img{
  width:100%;
  display:block;
  filter:contrast(1.05) saturate(1.05);
}

/* soft memorial glow */

.tribute-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    to top,
    rgba(0,0,0,.75),
    rgba(0,0,0,.15),
    rgba(0,0,0,.05)
  );
}

/* caption */

.tribute-caption{
  position:absolute;
  bottom:20px;
  left:20px;
  z-index:2;
}

.tribute-caption h3{
  margin:0;
  font-size:26px;
  font-weight:800;
}

.tribute-caption p{
  margin:4px 0 0;
  font-size:14px;
  opacity:.8;
}

.tribute-quote{
  font-style:italic;
  font-size:18px;
  margin-bottom:20px;
  opacity:.85;
}

.reveal{
  opacity:0;
  transform:translateY(20px);
  animation:fadeUp .8s ease forwards;
}

@keyframes fadeUp{
  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* ===============================
   Hero Stats Bar
=============================== */
.hero-stats{
  margin-top: 22px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}

.hero-stat{
  padding:16px 18px;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 20px 50px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.hero-stat .num{
  font-size:32px;
  font-weight:900;
  line-height:1;
  margin-bottom:6px;
}

.hero-stat .label{
  color:var(--muted);
  font-size:14px;
  font-weight:600;
}

@media(max-width:900px){
  .hero-stats{
    grid-template-columns:1fr 1fr;
  }
}

/* ===============================
   Sponsor / Partner Section
=============================== */
.sponsor-wrap{
  margin-top:30px;
}

.sponsor-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
  margin-top:20px;
}

.sponsor-card{
  min-height:110px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:20px;
  text-align:center;
  border-radius:18px;
  background:rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 20px 50px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);
  color:rgba(255,255,255,.78);
  font-weight:800;
  letter-spacing:.03em;
}

.sponsor-card img{
  max-width:140px;
  max-height:60px;
  object-fit:contain;
  opacity:.95;
}

@media(max-width:900px){
  .sponsor-grid{
    grid-template-columns:1fr 1fr;
  }
}

/* ===============================
   Live Impact Counter Section
=============================== */
.impact-section{
  margin-top:30px;
}

.impact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
  margin-top:20px;
}

.impact-card{
  text-align:center;
  padding:28px 20px;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 20px 50px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.impact-card .impact-num{
  font-size:42px;
  font-weight:900;
  line-height:1;
  margin-bottom:10px;
}

.impact-card .impact-label{
  color:var(--muted);
  font-size:15px;
  font-weight:600;
  line-height:1.4;
}

@media(max-width:900px){
  .impact-grid{
    grid-template-columns:1fr;
  }
}

.impact-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:20px;
}

@media(max-width:900px){
  .impact-grid{
    grid-template-columns:1fr;
  }
}

.impact-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:20px;
}

.impact-card{
  text-align:center;
  padding:28px 20px;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 20px 50px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.impact-card h3{
  margin-bottom:10px;
}

.impact-card p{
  color:var(--muted);
  margin-bottom:18px;
}

.impact-stats{
  display:grid;
  grid-template-columns:repeat(2, minmax(120px, 160px));
  justify-content:center;
  gap:14px;
  margin-top:18px;
}

.impact-stats-single{
  grid-template-columns:minmax(160px, 220px);
}

.impact-stats .stat{
  text-align:center;
  margin:0 auto;
}

.impact-stats .num{
  font-size:32px;
  font-weight:900;
  line-height:1;
  margin-bottom:6px;
}

.impact-stats .label{
  color:var(--muted);
  font-size:14px;
  font-weight:600;
}

@media(max-width:900px){
  .impact-grid{
    grid-template-columns:1fr;
  }

  .impact-stats{
    grid-template-columns:1fr;
  }
}

select{
  width:100%;
  padding: 12px 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.30);
  color: var(--text);
  outline:none;
}

/* ===============================
   Partner / Sponsor Page
=============================== */

.partner-intro{
  max-width: 900px;
  margin: 0 auto 10px;
}

.partner-section-title{
  margin-top: 10px;
  margin-bottom: 12px;
}

.partner-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
  margin-top:20px;
}

@media(max-width:900px){
  .partner-grid{
    grid-template-columns:1fr;
  }
}

.partner-card{
  position:relative;
  padding:28px 22px;
  border-radius:20px;
  background:rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 20px 50px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);
  transition:all .3s ease;
}

.partner-card:hover{
  transform:translateY(-6px);
  border-color:rgba(255,0,34,.35);
  box-shadow:
    0 30px 65px rgba(0,0,0,.55),
    0 0 24px rgba(255,0,34,.12),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.partner-card h3{
  margin-bottom:8px;
  font-size:24px;
}

.partner-price{
  font-size:34px;
  font-weight:900;
  line-height:1;
  margin-bottom:16px;
  color:var(--text);
}

.partner-card p{
  margin:0 0 10px;
  color:var(--muted);
  line-height:1.55;
}

.partner-card.featured{
  border-color:rgba(255,0,34,.32);
  box-shadow:
    0 30px 70px rgba(0,0,0,.55),
    0 0 30px rgba(255,0,34,.14),
    inset 0 1px 0 rgba(255,255,255,.10);
}

.partner-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background:rgba(255,0,34,.12);
  border:1px solid rgba(255,0,34,.32);
  font-size:12px;
  font-weight:800;
  letter-spacing:.04em;
  text-transform:uppercase;
  margin-bottom:14px;
}

.partner-legacy{
  margin-top:18px;
}

.partner-cta{
  text-align:center;
  padding:34px 24px;
  border-radius:22px;
  background:linear-gradient(135deg, rgba(255,0,34,.14), rgba(255,255,255,.03));
  border:1px solid rgba(255,0,34,.22);
  box-shadow:
    0 20px 50px rgba(0,0,0,.45),
    inset 0 1px 0 rgba(255,255,255,.08);
}

.partner-cta h2{
  margin-top:14px;
}

.partner-cta .lead{
  max-width:760px;
  margin:14px auto 0;
}

.partner-actions{
  margin-top:22px;
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
}

/* ===============================
   Premium Founding Partners Style
=============================== */

.founding-card.premium{
  position:relative;
  display:flex;
  gap:18px;
  align-items:center;
  padding:24px 20px 20px;
  border-radius:22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 22px 55px rgba(0,0,0,.48),
    inset 0 1px 0 rgba(255,255,255,.08);
  transition:all .3s ease;
  overflow:hidden;
}

.founding-card.premium:hover{
  transform:translateY(-6px);
  border-color:rgba(255,215,140,.35);
  box-shadow:
    0 32px 70px rgba(0,0,0,.58),
    0 0 28px rgba(255,215,140,.10),
    inset 0 1px 0 rgba(255,255,255,.10);
}

/* subtle gold line */
.founding-card.premium::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  background:linear-gradient(180deg, #f6d37a, #caa44e, #f6d37a);
  opacity:.95;
}

/* founding badge */
.founding-badge{
  position:absolute;
  top:14px;
  right:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:7px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:#1a1a1a;
  background:linear-gradient(135deg, #f8df95, #cfa748);
  box-shadow:
    0 10px 22px rgba(0,0,0,.25),
    inset 0 1px 0 rgba(255,255,255,.5);
}

.founding-photo{
  width:110px;
  height:110px;
  flex:0 0 110px;
  border-radius:18px;
  overflow:hidden;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 12px 24px rgba(0,0,0,.28);
}

.founding-photo img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.founding-photo.corporate img{
  object-fit:contain;
  padding:10px;
  background:#fff;
}

.founding-content h3{
  margin:0 0 6px;
  font-size:22px;
  line-height:1.2;
}

.founding-role{
  margin:0 0 8px;
  font-weight:800;
  color:rgba(255,255,255,.88);
}

.founding-note{
  margin:0;
  color:var(--muted);
  line-height:1.55;
}

/* Optional more ceremonial intro */
.founding-hero{
  text-align:center;
  max-width:900px;
  margin:0 auto 26px;
}

.founding-hero .lead{
  margin-left:auto;
  margin-right:auto;
}

/* Video highlights */
.video-grid{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
  margin-top:20px;
}

.video-embed{
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:#000;
  margin-top:12px;
}

.video-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

@media(max-width:900px){
  .video-grid{
    grid-template-columns:1fr;
  }
}

/* Video gallery page */
.video-tabs{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin:20px 0 18px;
}

.video-gallery{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:18px;
}

.video-card h3{
  margin-bottom:12px;
}

.video-embed{
  position:relative;
  width:100%;
  padding-top:56.25%;
  border-radius:18px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.12);
  background:#000;
  margin-bottom:12px;
}

.video-embed iframe{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  border:0;
}

@media(max-width:900px){
  .video-gallery{
    grid-template-columns:1fr;
  }
}

.status-section{
  padding: 80px 20px;
  background: linear-gradient(180deg, #0b0b0f 0%, #111114 100%);
  color: #fff;
}

.status-container{
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 50px 30px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.35);
}

.status-badge{
  display: inline-block;
  background: #c00000;
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  padding: 10px 18px;
  border-radius: 999px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.status-container h2{
  font-size: 2.2rem;
  margin-bottom: 20px;
  line-height: 1.2;
}

.status-container p{
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.88);
  max-width: 750px;
  margin: 0 auto 18px;
}

.status-btn{
  display: inline-block;
  margin-top: 20px;
  background: #c00000;
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  transition: 0.3s ease;
}

.status-btn:hover{
  background: #ff1a1a;
  transform: translateY(-2px);
}

.tax-status-note{
  background: rgba(192,0,0,0.08);
  border-left: 4px solid #c00000;
  padding: 18px 20px;
  margin: 30px 0;
  border-radius: 10px;
  color: #fff;
}

.tax-status-note p{
  margin: 0;
  line-height: 1.6;
  font-size: 1rem;
}

/* ==========================================================
   FOUNDING PARTNERS — ELITE PAGE SYSTEM
========================================================== */

.founding-hero{
  text-align:center;
  max-width:900px;
  margin:0 auto 30px;
}

.founding-hero h2{
  font-size:clamp(2.2rem, 4vw, 3.4rem);
  line-height:1.05;
  letter-spacing:-0.03em;
  text-shadow:0 10px 30px rgba(0,0,0,.45);
}

.founding-hero .lead{
  margin:14px auto 0;
  max-width:72ch;
}

.founding-intro{
  max-width:900px;
  margin:0 auto;
}

.founding-sponsors{
  position:relative;
  padding:46px 0;
}

.founding-sponsors::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(circle at 20% 10%, rgba(255,0,34,.10), transparent 28%),
    radial-gradient(circle at 80% 20%, rgba(240,183,79,.08), transparent 24%);
  opacity:.9;
}

.founding-sponsors .sponsor-grid{
  display:grid !important;
  grid-template-columns:repeat(auto-fit, minmax(260px, 1fr)) !important;
  gap:30px !important;
  width:100% !important;
  margin-top:24px !important;
  position:relative;
  z-index:1;
}

.founding-sponsors .sponsor-card{
  position:relative !important;
  display:flex !important;
  flex-direction:column !important;
  overflow:hidden !important;
  min-width:0 !important;
  border:1px solid rgba(240,183,79,.7) !important;
  background:
    linear-gradient(180deg, rgba(75,0,0,.28) 0%, rgba(12,12,14,.96) 58%, rgba(4,4,6,.99) 100%) !important;
  box-shadow:
    0 0 0 1px rgba(240,183,79,.16),
    0 12px 24px rgba(0,0,0,.35),
    0 28px 60px rgba(0,0,0,.45),
    0 0 28px rgba(160,0,20,.12) !important;
  transition:
    transform .28s ease,
    box-shadow .28s ease,
    border-color .28s ease !important;
}

.founding-sponsors .sponsor-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), transparent 20%, transparent 80%, rgba(255,0,34,.06));
  opacity:.85;
}

.founding-sponsors .sponsor-card::after{
  content:"";
  position:absolute;
  inset:-1px;
  pointer-events:none;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.04);
}

.founding-sponsors .sponsor-card:hover{
  transform:translateY(-8px) scale(1.01) !important;
  border-color:#f4c66a !important;
  box-shadow:
    0 0 0 1px rgba(244,198,106,.22),
    0 18px 30px rgba(0,0,0,.38),
    0 36px 70px rgba(0,0,0,.55),
    0 0 36px rgba(255,0,34,.18) !important;
}

.founding-badge{
  position:absolute;
  top:14px;
  right:14px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:#1b1204;
  background:linear-gradient(135deg, #f8df95, #d9a441);
  box-shadow:
    0 8px 18px rgba(0,0,0,.32),
    inset 0 1px 0 rgba(255,255,255,.45);
}

.founding-sponsors .sponsor-photo-wrap{
  position:relative !important;
  width:100% !important;
  height:360px !important;
  overflow:hidden !important;
  background:#101014 !important;
  border-bottom:1px solid rgba(240,183,79,.7) !important;
}

.founding-sponsors .sponsor-photo-wrap::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), transparent 35%, rgba(0,0,0,.35) 100%);
}

.founding-sponsors .sponsor-photo{
  width:100% !important;
  height:100% !important;
  display:block !important;
  object-fit:cover !important;
  object-position:center top !important;
  max-width:none !important;
  max-height:none !important;
  transform:scale(1.01);
  transition:transform .45s ease, filter .45s ease !important;
  filter:contrast(1.04) saturate(1.02);
}

.founding-sponsors .sponsor-card:hover .sponsor-photo{
  transform:scale(1.05);
  filter:contrast(1.08) saturate(1.05);
}

.founding-sponsors .sponsor-info{
  position:relative !important;
  padding:24px 20px 28px !important;
  text-align:center !important;
  background:
    radial-gradient(circle at center, rgba(255,0,34,.08), transparent 60%),
    linear-gradient(180deg, rgba(25,0,0,.20) 0%, rgba(5,5,5,.96) 100%) !important;
}

.founding-sponsors .sponsor-info h3{
  margin:0 0 10px !important;
  color:#f0b74f !important;
  font-family:Georgia, "Times New Roman", serif !important;
  font-size:clamp(1.5rem, 2vw, 2rem) !important;
  line-height:1.04 !important;
  text-shadow:0 4px 14px rgba(0,0,0,.3);
}

.founding-sponsors .sponsor-title{
  margin:0 0 12px !important;
  color:#f7d38a !important;
  font-size:1rem !important;
  font-weight:800 !important;
  letter-spacing:.02em;
}

.founding-sponsors .sponsor-tagline{
  margin:0 auto !important;
  max-width:28ch !important;
  color:rgba(255,255,255,.88) !important;
  font-size:.95rem !important;
  line-height:1.5 !important;
}

.founding-sponsors .sponsor-info::after{
  content:"";
  display:block;
  width:120px;
  height:4px;
  margin:18px auto 0;
  border-radius:999px;
  background:linear-gradient(90deg, transparent, #ff0022, #f0b74f, transparent);
  box-shadow:0 0 14px rgba(255,0,34,.25);
}

.founding-sponsors .sponsor-card-corporate .sponsor-photo-wrap{
  height:250px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  padding:18px !important;
  background:
    linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01)),
    #0d0d11 !important;
}

.founding-sponsors .sponsor-card-corporate .sponsor-photo{
  object-fit:contain !important;
  object-position:center !important;
  background:#fff !important;
  padding:12px !important;
  border-radius:10px;
  width:100% !important;
  height:100% !important;
}

.partner-cta{
  margin:30px auto 0;
  max-width:940px;
  text-align:center;
  padding:40px 24px;
  border:1px solid rgba(240,183,79,.28);
  background:
    radial-gradient(circle at top, rgba(255,0,34,.12), transparent 45%),
    linear-gradient(180deg, rgba(35,0,0,.24), rgba(8,8,10,.96));
  box-shadow:
    0 20px 50px rgba(0,0,0,.45),
    0 0 24px rgba(255,0,34,.10);
}

.partner-cta h2{
  margin-top:12px;
  font-size:clamp(2rem, 3.4vw, 3rem);
}

.partner-cta .lead{
  max-width:760px;
  margin:14px auto 0;
}

.partner-actions{
  display:flex;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:22px;
}

.founding-sponsors + .hr{
  margin-top:30px;
}

.section h2.reveal{
  text-shadow:0 8px 24px rgba(0,0,0,.35);
}

.kicker{
  text-shadow:0 4px 12px rgba(0,0,0,.3);
}

@media(max-width:900px){
  .founding-sponsors .sponsor-grid{
    grid-template-columns:repeat(2, minmax(220px, 1fr)) !important;
  }

  .founding-sponsors .sponsor-photo-wrap{
    height:300px !important;
  }

  .founding-sponsors .sponsor-card-corporate .sponsor-photo-wrap{
    height:220px !important;
  }
}

@media(max-width:640px){
  .founding-sponsors .sponsor-grid{
    grid-template-columns:1fr !important;
  }

  .founding-sponsors .sponsor-photo-wrap{
    height:280px !important;
  }

  .founding-badge{
    font-size:10px;
    padding:7px 10px;
  }
}

