/* =========================================================================
   ATL Youth Street Team — Design System
   Palette: warm, energetic, trustworthy (arts + sports + community)
   ========================================================================= */

:root {
  /* Brand */
  --ink:        #14213D;   /* deep navy — trust, base text */
  --ink-soft:   #3B4B66;
  --brand:      #FF6A3D;   /* coral-orange — energy, arts */
  --brand-dark: #E84921;
  --brand-600:  #F0491C;
  --gold:       #FFC145;   /* spotlight warmth */
  --teal:       #16B8A6;   /* sports / fresh community */
  --teal-dark:  #0E8E80;
  --plum:       #6C4BD8;   /* creative accent */

  /* Neutrals */
  --paper:      #FDFBF7;   /* warm off-white page bg */
  --paper-2:    #F5F1EA;
  --card:       #FFFFFF;
  --line:       #E9E2D6;
  --muted:      #6B7280;

  /* Effects */
  --shadow-sm:  0 1px 2px rgba(20,33,61,.06), 0 1px 3px rgba(20,33,61,.08);
  --shadow-md:  0 8px 24px rgba(20,33,61,.10);
  --shadow-lg:  0 24px 60px rgba(20,33,61,.16);
  --radius:     18px;
  --radius-sm:  12px;
  --radius-lg:  28px;

  /* Type */
  --font-display: "Sora", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-body:    "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;

  --maxw: 1180px;
}

/* ----------------------------------------------------------------- Reset */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.02em; color: var(--ink); }
h1 { font-size: clamp(2.35rem, 5.4vw, 4.1rem); font-weight: 800; }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); font-weight: 700; }
p  { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

/* --------------------------------------------------------------- Layout */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section   { padding: clamp(58px, 8vw, 108px) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55em;
  font-family: var(--font-display); font-weight: 700; font-size: .8rem;
  letter-spacing: .14em; text-transform: uppercase; color: var(--brand-600);
  margin-bottom: 1rem;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--brand); border-radius: 2px; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--ink-soft); max-width: 62ch; }
.center { text-align: center; }
.center .lead, .center .eyebrow { margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* --------------------------------------------------------------- Buttons */
.btn {
  --_bg: var(--brand); --_fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  font-family: var(--font-display); font-weight: 700; font-size: .98rem;
  padding: .82em 1.5em; border-radius: 999px; border: 2px solid transparent;
  background: var(--_bg); color: var(--_fg); cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  box-shadow: 0 8px 20px rgba(255,106,61,.28);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,106,61,.36); }
.btn--ghost {
  --_bg: transparent; --_fg: var(--ink);
  border-color: rgba(20,33,61,.16); box-shadow: none;
}
.btn--ghost:hover { border-color: var(--ink); background: var(--ink); color: #fff; box-shadow: var(--shadow-md); }
.btn--on-dark { --_fg: var(--ink); --_bg: #fff; box-shadow: 0 10px 26px rgba(0,0,0,.25); }
.btn--on-dark.btn--ghost { --_fg: #fff; --_bg: transparent; border-color: rgba(255,255,255,.35); box-shadow:none; }
.btn--on-dark.btn--ghost:hover { background: #fff; color: var(--ink); border-color:#fff; }
.btn--lg { padding: .95em 1.8em; font-size: 1.05rem; }
.btn-arrow { transition: transform .2s ease; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* --------------------------------------------------------------- Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253,251,247,.82);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; gap: 1.4rem; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .65rem; margin-right: auto; }
.brand .logo-mark { width: 42px; height: 42px; flex: none; }
.brand-name { display: flex; flex-direction: column; line-height: 1.02; }
.brand-name b { font-family: var(--font-display); font-weight: 800; font-size: 1.02rem; letter-spacing: -.01em; color: var(--ink); }
.brand-name span { font-size: .64rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: .35rem; list-style: none; }
.nav-links a {
  font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: .5em .85em; border-radius: 999px; color: var(--ink-soft);
  transition: color .15s ease, background .15s ease;
}
.nav-links a:hover { color: var(--ink); background: var(--paper-2); }
.nav-links a.active { color: var(--brand-600); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.nav-toggle { display: none; }
.mobile-menu { display: none; }   /* hidden on desktop; revealed only at mobile breakpoint */

/* --------------------------------------------------------------- Hero */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(1100px 520px at 82% -8%, rgba(255,193,69,.30), transparent 60%),
    radial-gradient(760px 520px at 6% 108%, rgba(22,184,166,.20), transparent 55%),
    linear-gradient(160deg, #101B33 0%, #172A4D 46%, #1E3560 100%);
  color: #fff;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center;
  padding: clamp(56px, 9vw, 116px) 0 clamp(64px, 9vw, 120px); }
.hero h1 { color: #fff; }
.hero h1 .grad { background: linear-gradient(100deg, var(--gold), var(--brand) 55%, #FF9E6B);
  -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lead { color: rgba(255,255,255,.82); max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.9rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 2.4rem; }
.pill {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .5em .95em; border-radius: 999px; font-size: .84rem; font-weight: 600;
  background: rgba(255,255,255,.10); border: 1px solid rgba(255,255,255,.16); color: #fff;
  backdrop-filter: blur(4px);
}
.pill svg { width: 15px; height: 15px; }

/* hero visual (SVG collage card) */
.hero-art { position: relative; }
.hero-card {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius-lg); padding: 26px; backdrop-filter: blur(6px);
  box-shadow: var(--shadow-lg);
}
.hero-stat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 18px; }
.hero-stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius-sm); padding: 16px; }
.hero-stat b { font-family: var(--font-display); font-size: 1.5rem; display: block; }
.hero-stat span { font-size: .8rem; color: rgba(255,255,255,.7); }
.hero-wave { display:block; width: 100%; height: auto; margin-top: -1px; color: var(--paper); }

/* --------------------------------------------------------------- Marquee */
.marquee { background: var(--ink); color: rgba(255,255,255,.86); overflow: hidden; }
.marquee-track { display: flex; gap: 3rem; padding: 16px 0; white-space: nowrap;
  animation: scroll 26s linear infinite; width: max-content; }
.marquee-item { display:inline-flex; align-items:center; gap:.6rem; font-family: var(--font-display); font-weight: 700; letter-spacing:.02em; font-size: .95rem; }
.marquee-item svg { width: 18px; height: 18px; color: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* --------------------------------------------------------------- Cards / grids */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }
.card .icon {
  width: 56px; height: 56px; border-radius: 15px; display: grid; place-items: center;
  margin-bottom: 18px; color: #fff;
}
.card .icon svg { width: 28px; height: 28px; }
.ic-brand { background: linear-gradient(135deg, var(--brand), #FF9354); }
.ic-teal  { background: linear-gradient(135deg, var(--teal), #34D6C3); }
.ic-gold  { background: linear-gradient(135deg, #F5A623, var(--gold)); }
.ic-plum  { background: linear-gradient(135deg, var(--plum), #9B84F0); }
.ic-ink   { background: linear-gradient(135deg, var(--ink), #2E4570); }
.card h3 { margin-bottom: .35rem; }
.card p:last-child { margin-bottom: 0; }
.card-list { list-style: none; margin-top: 14px; display: grid; gap: 9px; }
.card-list li { position: relative; padding-left: 26px; color: var(--ink-soft); font-size: .96rem; }
.card-list li::before {
  content: ""; position: absolute; left: 0; top: .5em; width: 14px; height: 8px;
  border-left: 2.5px solid var(--teal); border-bottom: 2.5px solid var(--teal);
  transform: rotate(-45deg);
}
.card--accent-top::before {
  content:""; position:absolute; inset:0 0 auto 0; height:5px;
  background: linear-gradient(90deg, var(--brand), var(--gold));
}

/* Program feature rows */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 46px; align-items: center; }
.feature.reverse .feature-media { order: 2; }
.feature-media {
  border-radius: var(--radius-lg); min-height: 320px; position: relative; overflow: hidden;
  box-shadow: var(--shadow-md); border: 1px solid var(--line);
}
.art-arts   { background: radial-gradient(120% 120% at 20% 10%, #FF9E6B 0%, var(--brand) 40%, #C7327A 100%); }
.art-sports { background: radial-gradient(120% 120% at 80% 10%, #45E3D0 0%, var(--teal) 45%, #0E6E8E 100%); }
.art-comm   { background: radial-gradient(120% 120% at 30% 90%, #FFD36B 0%, var(--gold) 40%, #F0491C 100%); }
.art-label { position: absolute; left: 22px; bottom: 20px; color:#fff; font-family: var(--font-display); font-weight: 800; font-size: 1.4rem; text-shadow: 0 2px 14px rgba(0,0,0,.25); }

/* --------------------------------------------------------------- Stats band */
.stats { background: var(--paper-2); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align:center; }
.stat b { font-family: var(--font-display); font-size: clamp(1.9rem,3vw,2.6rem); font-weight:800; display:block; color: var(--brand-600); }
.stat span { color: var(--ink-soft); font-weight:600; font-size:.96rem; }

/* --------------------------------------------------------------- Split / values */
.values { display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.value { display:flex; gap: 14px; align-items:flex-start; }
.value .dot { width: 40px; height: 40px; border-radius: 11px; flex:none; display:grid; place-items:center; color:#fff; }
.value h4 { margin: .1rem 0 .25rem; font-size: 1.08rem; }
.value p { font-size: .95rem; color: var(--ink-soft); margin:0; }

/* --------------------------------------------------------------- Team */
.team-grid { display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.member { text-align:center; }
.avatar {
  width: 118px; height: 118px; border-radius: 50%; margin: 0 auto 16px;
  display:grid; place-items:center; font-family: var(--font-display); font-weight:800;
  font-size: 2.1rem; color:#fff; box-shadow: var(--shadow-md);
  border: 4px solid #fff; outline: 1px solid var(--line);
}
.member h4 { margin:0 0 .1rem; font-size: 1.15rem; }
.member .role { color: var(--brand-600); font-weight:600; font-size:.92rem; }
.member .role-sub { color: var(--muted); font-size:.85rem; }

/* --------------------------------------------------------------- CTA band */
.cta-band {
  position: relative; overflow: hidden; color:#fff; border-radius: var(--radius-lg);
  padding: clamp(40px, 6vw, 72px);
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(255,193,69,.35), transparent 60%),
    linear-gradient(120deg, var(--brand) 0%, var(--brand-600) 55%, #C7327A 120%);
  box-shadow: var(--shadow-lg);
}
.cta-band h2 { color:#fff; }
.cta-band .lead { color: rgba(255,255,255,.9); }

/* --------------------------------------------------------------- Page hero (inner) */
.page-hero {
  background:
    radial-gradient(800px 400px at 85% -20%, rgba(255,193,69,.22), transparent 60%),
    linear-gradient(160deg, #101B33, #1C3157);
  color:#fff; padding: clamp(56px, 8vw, 92px) 0 clamp(48px,7vw,78px);
}
.page-hero h1 { color:#fff; }
.page-hero .lead { color: rgba(255,255,255,.82); }
.breadcrumb { font-size:.85rem; color: rgba(255,255,255,.6); margin-bottom: 1rem; font-weight:600; letter-spacing:.02em; }
.breadcrumb a:hover { color:#fff; }

/* --------------------------------------------------------------- Info / legal box */
.legal-grid { display:grid; grid-template-columns: repeat(2,1fr); gap: 14px 34px; }
.legal-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
.legal-item dt { font-size:.78rem; letter-spacing:.1em; text-transform:uppercase; color: var(--muted); font-weight:700; margin-bottom:3px; }
.legal-item dd { margin:0; font-weight:600; color: var(--ink); }

.note {
  display:flex; gap:14px; padding: 18px 20px; border-radius: var(--radius-sm);
  background: #FFF7E9; border: 1px solid #F3E1B8; color: #7A5B12; font-size:.95rem;
}
.note svg { width:22px; height:22px; flex:none; color: var(--gold); }

/* --------------------------------------------------------------- Contact */
.contact-grid { display:grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-list { list-style:none; display:grid; gap: 18px; }
.contact-list li { display:flex; gap:16px; align-items:flex-start; }
.contact-list .ci { width:46px;height:46px;border-radius:12px;flex:none;display:grid;place-items:center;color:#fff;background:linear-gradient(135deg,var(--ink),#2E4570); }
.contact-list .ci svg { width:22px;height:22px; }
.contact-list b { display:block; font-family:var(--font-display); }
.contact-list a { color: var(--brand-600); font-weight:600; }
.map-wrap { border-radius: var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow: var(--shadow-sm); min-height: 320px; }
.map-wrap iframe { width:100%; height:100%; min-height:340px; border:0; display:block; }

/* --------------------------------------------------------------- Footer */
.site-footer { background: var(--ink); color: rgba(255,255,255,.72); padding: 64px 0 28px; }
.footer-grid { display:grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 34px; }
.site-footer h5 { font-family: var(--font-display); color:#fff; font-size:.8rem; letter-spacing:.14em; text-transform:uppercase; margin:0 0 16px; }
.footer-links { list-style:none; display:grid; gap:10px; }
.footer-links a { color: rgba(255,255,255,.72); font-size:.95rem; }
.footer-links a:hover { color:#fff; }
.footer-brand .brand-name b { color:#fff; }
.footer-brand p { font-size:.92rem; margin-top: 14px; max-width: 34ch; }
.social { display:flex; gap:10px; margin-top: 18px; }
.social a { width:40px;height:40px;border-radius:11px;display:grid;place-items:center;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.12);transition:background .18s ease, transform .18s ease; }
.social a:hover { background: var(--brand); transform: translateY(-2px); }
.social svg { width:19px;height:19px;color:#fff; }
.footer-legal {
  margin-top: 40px; padding-top: 22px; border-top:1px solid rgba(255,255,255,.12);
  display:flex; flex-wrap:wrap; gap: 8px 22px; justify-content:space-between; align-items:center;
  font-size:.82rem; color: rgba(255,255,255,.55);
}
.footer-legal .tags { display:flex; flex-wrap:wrap; gap:8px; }
.footer-legal .tag { padding:4px 10px; border-radius:999px; background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1); }

/* --------------------------------------------------------------- Reveal anim */
.reveal { opacity:0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity:1; transform:none; }

/* --------------------------------------------------------------- Responsive */
@media (max-width: 960px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-art { max-width: 460px; }
  .grid-3, .grid-4, .values, .team-grid, .stats-grid { grid-template-columns: repeat(2,1fr); }
  .feature, .contact-grid, .legal-grid { grid-template-columns: 1fr; gap: 26px; }
  .feature.reverse .feature-media { order: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-cta .btn--ghost { display: none; }
  .nav-toggle { display: inline-grid; place-items:center; width:44px;height:44px;border-radius:12px;border:1px solid var(--line);background:#fff; }
  .nav-toggle span { width:20px;height:2px;background:var(--ink);position:relative;display:block; }
  .nav-toggle span::before,.nav-toggle span::after{content:"";position:absolute;left:0;width:20px;height:2px;background:var(--ink);}
  .nav-toggle span::before{top:-6px;} .nav-toggle span::after{top:6px;}
  .mobile-menu { display:none; }
  .mobile-menu.open { display:block; padding: 8px 0 18px; border-top:1px solid var(--line); }
  .mobile-menu ul { list-style:none; display:grid; gap:4px; }
  .mobile-menu a { display:block; padding:12px 8px; font-family:var(--font-display); font-weight:600; border-radius:10px; }
  .mobile-menu a:hover { background: var(--paper-2); }
  .mobile-menu .btn { width:100%; margin-top:10px; }
}
@media (max-width: 540px) {
  body { font-size: 16px; }
  .grid-3, .grid-4, .values, .team-grid, .stats-grid { grid-template-columns: 1fr; }
  .hero-stat-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto; }
  .reveal { opacity:1; transform:none; }
}
