/*
  One-page site for Boys & Girls Clubs of the Asheville Region
  Palette:
    BGCA Blue: #0081c6
    Great Futures Gold: #e28719
    Neutral: #ffffff, #000000
*/

:root{
  --bg: #ffffff;
  --text: #0b0d10;
  --muted: #4b5563;
  --blue: #0081c6;
  --gold: #e28719;
  --black: #000000;
  --card: #ffffff;
  --border: rgba(0,0,0,.10);
  --shadow: 0 10px 30px rgba(0,0,0,.10);
  --radius: 18px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

h1,h2,h3{ font-family: Montserrat, Inter, system-ui, sans-serif; line-height: 1.1; margin:0 0 .6rem; }
h1{ font-size: clamp(2.1rem, 4vw, 3.3rem); font-weight: 800; letter-spacing: -.02em; }
h2{ font-size: clamp(1.6rem, 2.3vw, 2.2rem); font-weight: 800; }
h3{ font-size: 1.15rem; font-weight: 700; }

p{ margin:0 0 1rem; }
a{ color: inherit; }

.container{ width: min(1120px, 92vw); margin: 0 auto; }

/* Accessibility */
.skip-link{
  position:absolute; left:-999px; top: 8px;
  background: var(--black); color: white;
  padding: .7rem 1rem; border-radius: 999px; z-index: 999;
}
.skip-link:focus{ left: 12px; }
.sr-only{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }

/* Header */
.site-header{
  position: sticky; top: 0; z-index: 30;
  background: rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.header-inner{
  display:flex; align-items:center; justify-content: space-between;
  padding: .8rem 0;
}
.brand{ display:flex; gap: .9rem; align-items:center; }
.logo{
  width: 328px; height: 75px; border-radius: 14px;
  display:grid; place-items:center; 
}
.logo img{ width: 328px; height: 75px; }
.brand-text .org{ font-weight: 700; margin:0; font-family: Montserrat, Inter, sans-serif; }
.brand-text .tag{ margin:0; color: var(--muted); font-size: .92rem; }

.nav{ position:relative; }
.nav-menu{ list-style:none; display:flex; align-items:center; gap: 1.1rem; padding:0; margin:0; }
.nav-menu a{ text-decoration:none; color: var(--text); font-weight:600; padding:.45rem .6rem; border-radius: 999px; }
.nav-menu a:hover{ background: rgba(0,129,198,.10); }

.nav-toggle{
  display:none; border: 1px solid var(--border); background: white;
  padding: .55rem .7rem; border-radius: 12px; cursor:pointer;
}
.hamburger{ display:block; width: 22px; height: 2px; background: var(--text); position: relative; }
.hamburger::before,.hamburger::after{ content:""; position:absolute; left:0; width: 22px; height: 2px; background: var(--text); }
.hamburger::before{ top:-7px; }
.hamburger::after{ top: 7px; }

/* Hero */
.hero{
  position:relative;
  background:
    radial-gradient(900px 380px at 10% 10%, rgba(0,129,198,.18), transparent 60%),
    radial-gradient(600px 380px at 70% 20%, rgba(226,135,25,.18), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, #f7fbff 70%, #ffffff 100%);
}
.hero-grid{
  display:grid; grid-template-columns: 1.1fr .9fr;
  gap: clamp(1.2rem, 3vw, 2.5rem);
  align-items:center;
  padding: clamp(2.2rem, 5vw, 4rem) 0 2.5rem;
}
.eyebrow{ color: var(--blue); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .82rem; }
.lead{ color: #111827; font-size: 1.06rem; max-width: 56ch; }
.accent{ color: var(--blue); }
.micro{ color: var(--muted); font-size: .9rem; margin-top: 1rem; }

.hero-media{
  margin:0;
  border-radius: var(--radius);
  overflow:hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(0,0,0,.08);
  background: white;
}
.hero-media img{ width:100%; height:auto; display:block; }

.hero-wave{
  height: 42px;
  background: linear-gradient(90deg, rgba(0,129,198,.18), rgba(226,135,25,.18));
  clip-path: polygon(0 30%, 10% 55%, 20% 40%, 30% 60%, 40% 35%, 50% 60%, 60% 40%, 70% 65%, 80% 42%, 90% 58%, 100% 35%, 100% 100%, 0 100%);
}

/* Sections */
.section{ padding: 4rem 0; }
.section-alt{ background: #0b1220; color: #f9fafb; }
.section-alt p{ color: rgba(249,250,251,.86); }
.section-header{ margin-bottom: 1.6rem; max-width: 72ch; }
.section-header p{ color: var(--muted); }
.section-alt .section-header p{ color: rgba(249,250,251,.80); }

.cards{ display:grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
}
.section-alt .card{ background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.14); box-shadow:none; }
.card p{ color: var(--muted); }
.section-alt .card p{ color: rgba(249,250,251,.82); }

.two-col{ display:grid; grid-template-columns: 1.15fr .85fr; gap: 1.5rem; align-items:start; }

.checklist{ list-style:none; padding:0; margin: 1rem 0 0; }
.checklist li{ margin:.65rem 0; padding-left: 2rem; position:relative; }
.checklist li::before{
  content:"";
  position:absolute; left:0; top:.15rem;
  width: 1.3rem; height: 1.3rem; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), #ffb657);
  box-shadow: 0 10px 24px rgba(226,135,25,.25);
}

.stat-grid{ display:grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.stat{
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(0,129,198,.10);
  padding: 1.2rem;
}
.stat:nth-child(2){ background: rgba(226,135,25,.10); }
.stat:nth-child(3){ background: rgba(255,255,255,.06); }
.stat:nth-child(4){ background: rgba(0,0,0,.12); }
.num{ font-family: Montserrat, Inter, sans-serif; font-weight: 800; font-size: 2rem; margin:0; }
.label{ margin:.2rem 0 0; color: rgba(249,250,251,.88); }

/* Buttons */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:.5rem; text-decoration:none; font-weight: 700; border-radius: 999px; padding: .78rem 1.05rem; border: 1px solid transparent; }
.btn-primary{ background: var(--blue); color:white; box-shadow: 0 14px 30px rgba(0,129,198,.28); }
.btn-primary:hover{ filter: brightness(.95); }
.btn-ghost{ background: transparent; border-color: rgba(0,0,0,.14); }
.btn-ghost:hover{ background: rgba(0,0,0,.04); }
.cta-row{ display:flex; gap: .75rem; flex-wrap:wrap; margin-top: 1.2rem; }

.text-link{ display:inline-block; margin-top:.4rem; color: var(--blue); font-weight:700; text-decoration:none; }
.text-link:hover{ text-decoration: underline; }

.callout{
  margin-top: 1.6rem;
  padding: 1.25rem 1.2rem;
  border-radius: var(--radius);
  border: 1px dashed rgba(0,129,198,.35);
  background: rgba(0,129,198,.06);
}

/* Footer */
.site-footer{
  background: #070a10;
  color: rgba(255,255,255,.92);
  padding: 2.3rem 0 1.6rem;
}
.footer-inner{ display:flex; align-items:flex-start; justify-content:space-between; gap: 1.2rem; flex-wrap:wrap; }
.footer-org{ font-family: Montserrat, Inter, sans-serif; font-weight: 800; margin:0 0 .35rem; }
.footer-address{ margin:0; color: rgba(255,255,255,.74); }
.footer-links{ display:flex; flex-direction:column; gap:.5rem; }
.footer-links a{ color: rgba(255,255,255,.88); text-decoration:none; font-weight: 600; }
.footer-links a:hover{ text-decoration: underline; color: white; }
.copyright{ margin: 1.4rem 0 0; color: rgba(255,255,255,.55); font-size: .92rem; }

/* Responsive */
@media (max-width: 900px){
  .hero-grid{ grid-template-columns: 1fr; }
  .two-col{ grid-template-columns: 1fr; }
}

@media (max-width: 720px){
  .cards{ grid-template-columns: 1fr; }
  .stat-grid{ grid-template-columns: 1fr; }

  .nav-toggle{ display:inline-flex; align-items:center; justify-content:center; }
  .nav-menu{
    position:absolute; right: 0; top: 54px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: .5rem;
    box-shadow: var(--shadow);
    width: min(250px, 86vw);
    display:none;
    flex-direction:column;
    align-items:stretch;
  }
  .nav-menu.open{ display:flex; }
  .nav-menu a{ padding: .7rem .8rem; }
}
