/* =========================================================
   Inspire Youth Club — Stylesheet
   Design tokens derived from the club logo (navy / orange /
   gold / teal / green / coral) kept intentional and restrained
   so the palette reads as professional, not childish.
   ========================================================= */

:root{
  /* Brand colors */
  --navy-900:#132A44;
  --navy-800:#1B3A5E;
  --navy-700:#274E78;
  --orange-600:#E2703F;
  --orange-500:#EA8B5C;
  --gold-500:#F0B429;
  --teal-500:#4A90B8;
  --green-500:#6FA24A;
  --coral-500:#D9614F;

  /* Neutrals */
  --cream-50:#FBF8F3;
  --cream-100:#F5EFE4;
  --ink-900:#20242B;
  --ink-700:#454C56;
  --ink-500:#6B7280;
  --white:#FFFFFF;
  --border:#E6DFD2;

  /* Semantic */
  --color-primary:var(--navy-800);
  --color-accent:var(--orange-600);
  --color-bg:var(--cream-50);
  --color-surface:var(--white);
  --color-text:var(--ink-900);
  --color-text-soft:var(--ink-700);
  --color-text-muted:var(--ink-500);

  /* Typography */
  --font-head:"Poppins", "Segoe UI", sans-serif;
  --font-body:"Inter", "Segoe UI", sans-serif;

  /* Spacing scale (8px base) */
  --sp-1:.5rem;
  --sp-2:1rem;
  --sp-3:1.5rem;
  --sp-4:2rem;
  --sp-5:3rem;
  --sp-6:4rem;
  --sp-7:6rem;
  --sp-8:8rem;

  /* Radii / shadow */
  --radius-sm:10px;
  --radius-md:18px;
  --radius-lg:28px;
  --radius-pill:999px;
  --shadow-sm:0 2px 10px rgba(19,42,68,.08);
  --shadow-md:0 12px 30px rgba(19,42,68,.12);
  --shadow-lg:0 24px 60px rgba(19,42,68,.18);

  --container:1180px;
  --transition:220ms cubic-bezier(.4,0,.2,1);
}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{
    animation-duration:.001ms !important;
    animation-iteration-count:1 !important;
    transition-duration:.001ms !important;
    scroll-behavior:auto !important;
  }
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--font-body);
  color:var(--color-text);
  background:var(--color-bg);
  font-size:16px;
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;}
button{font-family:inherit;cursor:pointer;}
h1,h2,h3,h4{
  font-family:var(--font-head);
  color:var(--navy-900);
  line-height:1.2;
  margin:0 0 var(--sp-2);
  font-weight:700;
}
p{margin:0 0 var(--sp-2);}
.container{
  width:100%;
  max-width:var(--container);
  margin:0 auto;
  padding:0 var(--sp-3);
}
section{padding:var(--sp-7) 0;}
.section-tight{padding:var(--sp-6) 0;}

/* Utility */
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  font-family:var(--font-head);
  font-size:.8rem;
  font-weight:600;
  letter-spacing:.06em;
  text-transform:uppercase;
  color:var(--orange-600);
  background:rgba(226,112,63,.1);
  padding:.4rem .9rem;
  border-radius:var(--radius-pill);
  margin-bottom:var(--sp-2);
}
.section-head{
  max-width:640px;
  margin:0 auto var(--sp-5);
  text-align:center;
}
.section-head h2{font-size:clamp(1.7rem,3vw,2.4rem);}
.section-head p{color:var(--color-text-soft);font-size:1.05rem;}
.section-head.align-left{margin:0 0 var(--sp-5);text-align:left;}

.highlight{color:var(--orange-600);font-weight:700;}

.icon{
  width:1.25em;
  height:1.25em;
  stroke:currentColor;
  fill:none;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
  flex-shrink:0;
}
.icon-fill{fill:currentColor;stroke:none;}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  padding:.85rem 1.6rem;
  border-radius:var(--radius-pill);
  font-family:var(--font-head);
  font-weight:600;
  font-size:.95rem;
  border:2px solid transparent;
  transition:transform var(--transition),box-shadow var(--transition),background var(--transition),color var(--transition);
  min-height:44px;
  white-space:nowrap;
}
.btn:active{transform:scale(.97);}
.btn-primary{background:var(--orange-600);color:var(--white);box-shadow:var(--shadow-sm);}
.btn-primary:hover{background:#cf5f31;box-shadow:var(--shadow-md);}
.btn-dark{background:var(--navy-900);color:var(--white);}
.btn-dark:hover{background:var(--navy-800);}
.btn-outline{border-color:var(--navy-900);color:var(--navy-900);background:transparent;}
.btn-outline:hover{background:var(--navy-900);color:var(--white);}
.btn-outline-light{border-color:rgba(255,255,255,.6);color:var(--white);background:transparent;}
.btn-outline-light:hover{background:var(--white);color:var(--navy-900);}
.btn-ghost{background:transparent;color:var(--navy-900);padding:.6rem .9rem;}
.btn-sm{padding:.6rem 1.1rem;font-size:.85rem;}

/* Skip link */
.skip-link{
  position:absolute;left:-999px;top:0;
  background:var(--navy-900);color:#fff;padding:.6rem 1rem;
  z-index:200;border-radius:0 0 var(--radius-sm) 0;
}
.skip-link:focus{left:0;}

/* Focus visibility */
a:focus-visible,button:focus-visible,input:focus-visible,[tabindex]:focus-visible{
  outline:3px solid var(--teal-500);
  outline-offset:3px;
  border-radius:6px;
}

/* ===================== HEADER / NAV ===================== */
.site-header{
  position:sticky;top:0;z-index:100;
  background:rgba(251,248,243,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:.7rem 0;
}
.brand{
  display:flex;align-items:center;gap:.65rem;
  font-family:var(--font-head);font-weight:700;color:var(--navy-900);font-size:1.05rem;
}
.brand-badge{
  width:44px;height:44px;border-radius:50%;
  overflow:hidden;flex-shrink:0;
  background:var(--navy-900);
  box-shadow:var(--shadow-sm);
}
.brand-badge img{
  width:132%;height:132%;object-fit:cover;
  transform:translate(-11%,-7%);
}
.nav-links{
  display:flex;align-items:center;gap:var(--sp-4);
  list-style:none;
}
.nav-links a{
  font-weight:600;font-size:.95rem;color:var(--ink-700);
  padding:.5rem 0;position:relative;
}
.nav-links a:hover{color:var(--navy-900);}
.nav-actions{display:flex;align-items:center;gap:.75rem;}
.nav-toggle{
  display:none;background:none;border:none;padding:.5rem;
  color:var(--navy-900);min-width:44px;min-height:44px;
  align-items:center;justify-content:center;
}
.nav-toggle .icon{width:1.6em;height:1.6em;}
.nav-toggle .icon-close{display:none;}

@media (max-width:900px){
  .nav-links{
    position:fixed;inset:64px 0 0 0;
    background:var(--cream-50);
    flex-direction:column;align-items:flex-start;
    padding:var(--sp-3) var(--sp-3) var(--sp-6);
    gap:var(--sp-2);
    transform:translateX(100%);
    transition:transform var(--transition);
    overflow-y:auto;
  }
  body.nav-open .nav-links{transform:translateX(0);}
  .nav-links a{font-size:1.15rem;width:100%;padding:.6rem 0;border-bottom:1px solid var(--border);}
  .nav-actions .btn{display:none;}
  .nav-toggle{display:flex;}
  body.nav-open .nav-toggle .icon-menu{display:none;}
  body.nav-open .nav-toggle .icon-close{display:block;}
}

/* ===================== HERO ===================== */
.hero{
  padding:var(--sp-5) 0 0;
}
.hero-inner{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:var(--sp-4);
  align-items:center;
}
.hero-content{
  background:linear-gradient(135deg,var(--navy-900),var(--navy-700));
  border-radius:var(--radius-lg);
  padding:var(--sp-5) var(--sp-4);
  color:#fff;
  box-shadow:var(--shadow-lg);
}
.hero-content .eyebrow{background:rgba(255,255,255,.16);color:#fff;}
.hero-content h1{
  color:#fff;
  font-size:clamp(2rem,4vw,2.9rem);
  margin-bottom:var(--sp-2);
}
.hero-content p{
  font-size:1.1rem;
  color:rgba(255,255,255,.9);
  max-width:520px;
}
.hero-ctas{display:flex;gap:1rem;flex-wrap:wrap;margin-top:var(--sp-3);}

.hero-media{
  border-radius:var(--radius-lg);
  overflow:hidden;
  box-shadow:var(--shadow-lg);
}
.hero-media img{
  width:100%;
  height:auto;
  display:block;
}

.facts-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  background:var(--border);
  border-radius:var(--radius-md);
  overflow:hidden;
  margin-top:var(--sp-4);
  box-shadow:var(--shadow-md);
}
.fact{
  background:var(--white);
  padding:var(--sp-3) var(--sp-2);
  display:flex;flex-direction:column;align-items:center;gap:.4rem;
  text-align:center;
}
.fact .icon{color:var(--orange-600);width:1.6em;height:1.6em;}
.fact strong{font-family:var(--font-head);font-size:.92rem;color:var(--navy-900);}
@media (max-width:760px){
  .facts-strip{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:900px){
  .hero-inner{grid-template-columns:1fr;}
  .hero-media{order:-1;}
}

/* ===================== STORY / FOUNDER ===================== */
.story{padding-top:calc(var(--sp-7) + var(--sp-4));}
.tabs{
  display:inline-flex;gap:.3rem;background:var(--cream-100);
  padding:.3rem;border-radius:var(--radius-pill);margin-bottom:var(--sp-4);
}
.tab-btn{
  border:none;background:transparent;padding:.55rem 1.2rem;
  border-radius:var(--radius-pill);font-family:var(--font-head);
  font-weight:600;font-size:.9rem;color:var(--ink-700);
  min-height:40px;
}
.tab-btn[aria-selected="true"]{background:var(--navy-900);color:#fff;}
.story-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:var(--sp-5);align-items:start;}
.tab-panel[hidden]{display:none;}
.story-grid h2{font-size:clamp(1.6rem,3vw,2.2rem);}
.story-body p{color:var(--color-text-soft);}
.founder-card{
  background:var(--white);border-radius:var(--radius-lg);
  padding:var(--sp-3);box-shadow:var(--shadow-md);
  display:flex;flex-direction:column;gap:var(--sp-2);
}
.founder-photo{
  border-radius:var(--radius-md);overflow:hidden;aspect-ratio:4/5;
}
.founder-photo img{width:100%;height:100%;object-fit:cover;}
.founder-name{font-family:var(--font-head);font-weight:700;color:var(--navy-900);font-size:1.15rem;margin:0;}
.founder-role{color:var(--orange-600);font-weight:600;font-size:.9rem;margin-bottom:.4rem;display:block;}
.founder-quote{
  font-style:italic;color:var(--color-text-soft);
  border-left:3px solid var(--orange-600);padding-left:.9rem;margin:0;
}
@media (max-width:860px){
  .story-grid{grid-template-columns:1fr;}
  .founder-card{max-width:420px;}
}

/* ===================== PROGRAMS ===================== */
.feature-grid{
  display:grid;
  grid-template-columns:1.4fr 1fr;
  gap:var(--sp-3);
  margin-bottom:var(--sp-5);
}
.feature-card{
  position:relative;border-radius:var(--radius-lg);overflow:hidden;
  min-height:320px;box-shadow:var(--shadow-sm);
}
.feature-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;}
.feature-card .scrim{
  position:absolute;inset:0;
  background:linear-gradient(180deg,rgba(19,42,68,0) 40%,rgba(19,42,68,.82) 100%);
}
.feature-card .feature-caption{
  position:relative;z-index:2;height:100%;
  display:flex;flex-direction:column;justify-content:flex-end;
  padding:var(--sp-3);color:#fff;
}
.feature-caption h3{color:#fff;font-size:1.2rem;margin-bottom:.25rem;}
.feature-caption p{color:rgba(255,255,255,.85);font-size:.92rem;margin:0;}
.feature-stack{display:flex;flex-direction:column;gap:var(--sp-3);}
@media (max-width:860px){
  .feature-grid{grid-template-columns:1fr;}
}

.activity-list{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:var(--sp-2);
}
.activity-item{
  background:var(--white);border-radius:var(--radius-md);
  padding:var(--sp-3);box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;gap:.7rem;
  transition:transform var(--transition),box-shadow var(--transition);
}
.activity-item:hover{transform:translateY(-4px);box-shadow:var(--shadow-md);}
.activity-icon{
  width:46px;height:46px;border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  color:#fff;
}
.activity-item p{margin:0;font-weight:600;color:var(--navy-900);font-size:.95rem;}
.swatch-1{background:var(--orange-600);}
.swatch-2{background:var(--green-500);}
.swatch-3{background:var(--teal-500);}
.swatch-4{background:var(--coral-500);}
.swatch-5{background:var(--gold-500);}
@media (max-width:900px){
  .activity-list{grid-template-columns:repeat(2,1fr);}
}
@media (max-width:520px){
  .activity-list{grid-template-columns:1fr;}
}

/* ===================== SPACE / VENUE ===================== */
.space-section{background:var(--white);}
.space-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-5);align-items:center;
}
.space-photo{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);aspect-ratio:4/3;}
.space-photo img{width:100%;height:100%;object-fit:cover;}
.space-text p{color:var(--color-text-soft);}
@media (max-width:860px){
  .space-grid{grid-template-columns:1fr;}
  .space-grid .space-photo{order:-1;}
}

/* ===================== GALLERY ===================== */
.gallery-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:var(--sp-2);
}
.gallery-item{
  border-radius:var(--radius-md);overflow:hidden;aspect-ratio:1/1;
  position:relative;cursor:pointer;border:none;padding:0;background:var(--white);
  box-shadow:var(--shadow-sm);
}
.gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform var(--transition);}
.gallery-item:hover img{transform:scale(1.06);}
.gallery-item.video::after{
  content:"";position:absolute;inset:0;
  background:rgba(19,42,68,.25);
}
.play-badge{
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center;z-index:2;
}
.play-badge span{
  width:52px;height:52px;border-radius:50%;background:rgba(255,255,255,.92);
  display:flex;align-items:center;justify-content:center;color:var(--navy-900);
}
@media (max-width:860px){.gallery-grid{grid-template-columns:repeat(3,1fr);}}
@media (max-width:560px){.gallery-grid{grid-template-columns:repeat(2,1fr);}}

.lightbox{
  position:fixed;inset:0;background:rgba(19,20,24,.92);
  display:flex;align-items:center;justify-content:center;
  z-index:300;padding:var(--sp-3);
}
.lightbox[hidden]{display:none;}
.lightbox-content{max-width:min(90vw,1000px);max-height:85vh;position:relative;}
.lightbox-content img,.lightbox-content video{max-width:100%;max-height:85vh;border-radius:var(--radius-sm);display:block;margin:0 auto;}
.lightbox-close{
  position:absolute;top:-52px;right:0;background:rgba(255,255,255,.15);color:#fff;
  border:none;border-radius:50%;width:44px;height:44px;display:flex;align-items:center;justify-content:center;
}
.lightbox-nav{
  position:absolute;top:50%;transform:translateY(-50%);
  background:rgba(255,255,255,.15);color:#fff;border:none;border-radius:50%;
  width:48px;height:48px;display:flex;align-items:center;justify-content:center;
}
.lightbox-prev{left:-16px;}
.lightbox-next{right:-16px;}
@media (max-width:700px){
  .lightbox-prev{left:4px;}
  .lightbox-next{right:4px;}
  .lightbox-close{top:4px;right:4px;background:rgba(0,0,0,.4);}
}

/* ===================== TESTIMONIALS ===================== */
.testimonial-grid{
  display:grid;grid-template-columns:repeat(3,1fr);gap:var(--sp-3);
}
.testimonial-card{
  background:var(--white);border-radius:var(--radius-md);
  padding:var(--sp-3);box-shadow:var(--shadow-sm);
  display:flex;flex-direction:column;gap:var(--sp-2);
}
.testimonial-card .icon{color:var(--gold-500);width:1.8em;height:1.8em;}
.testimonial-card p.quote{color:var(--color-text-soft);font-style:italic;margin:0;}
.testimonial-name{font-weight:700;color:var(--navy-900);font-family:var(--font-head);font-size:.92rem;}
.testimonial-role{color:var(--color-text-muted);font-size:.85rem;}
@media (max-width:860px){.testimonial-grid{grid-template-columns:1fr;}}

/* ===================== FAQ ===================== */
.faq-list{max-width:760px;margin:0 auto;display:flex;flex-direction:column;gap:.8rem;}
.faq-item{
  background:var(--white);border-radius:var(--radius-md);
  box-shadow:var(--shadow-sm);overflow:hidden;
}
.faq-question{
  width:100%;text-align:left;background:none;border:none;
  display:flex;align-items:center;justify-content:space-between;
  padding:1.1rem 1.3rem;font-family:var(--font-head);font-weight:600;
  color:var(--navy-900);font-size:1rem;min-height:44px;
}
.faq-question .icon{transition:transform var(--transition);color:var(--orange-600);}
.faq-item[data-open="true"] .faq-question .icon{transform:rotate(180deg);}
.faq-answer{padding:0 1.3rem;max-height:0;overflow:hidden;transition:max-height var(--transition),padding var(--transition);}
.faq-item[data-open="true"] .faq-answer{padding:0 1.3rem 1.2rem;max-height:400px;}
.faq-answer p{color:var(--color-text-soft);margin:0;}

/* ===================== CTA BANNER ===================== */
.cta-banner{
  background:linear-gradient(135deg,var(--navy-900),var(--navy-700));
  border-radius:var(--radius-lg);
  padding:var(--sp-6) var(--sp-4);
  text-align:center;color:#fff;
  margin:0 auto;
  max-width:var(--container);
}
.cta-banner h2{color:#fff;font-size:clamp(1.7rem,3vw,2.4rem);}
.cta-banner p{color:rgba(255,255,255,.85);max-width:520px;margin:0 auto var(--sp-3);}
.cta-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap;}

/* ===================== CONTACT ===================== */
.contact-grid{
  display:grid;grid-template-columns:1fr 1fr;gap:var(--sp-5);
}
.contact-info{display:flex;flex-direction:column;gap:var(--sp-3);}
.contact-row{display:flex;gap:.9rem;align-items:flex-start;}
.contact-row .icon-wrap{
  width:42px;height:42px;border-radius:50%;background:rgba(226,112,63,.12);
  color:var(--orange-600);display:flex;align-items:center;justify-content:center;flex-shrink:0;
}
.contact-row h4{margin:0 0 .2rem;font-size:1rem;}
.contact-row p{margin:0;color:var(--color-text-soft);}
.map-wrap{border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-md);min-height:340px;}
.map-wrap iframe{width:100%;height:100%;min-height:340px;border:0;display:block;}
@media (max-width:860px){.contact-grid{grid-template-columns:1fr;}}

/* ===================== FOOTER ===================== */
.site-footer{
  background:var(--navy-900);color:rgba(255,255,255,.8);
  padding:var(--sp-6) 0 var(--sp-3);
}
.footer-grid{
  display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:var(--sp-5);
  padding-bottom:var(--sp-4);border-bottom:1px solid rgba(255,255,255,.12);
}
.footer-brand{display:flex;align-items:center;gap:.7rem;margin-bottom:.8rem;}
.footer-brand .brand-badge{width:42px;height:42px;}
.footer-brand span{font-family:var(--font-head);font-weight:700;color:#fff;font-size:1.05rem;}
.social-links{display:flex;gap:.6rem;margin-top:var(--sp-2);}
.social-links a{
  width:44px;height:44px;border-radius:50%;
  background:rgba(255,255,255,.08);
  display:flex;align-items:center;justify-content:center;
  color:#fff;transition:background var(--transition),transform var(--transition);
}
.social-links a:hover{background:var(--orange-600);transform:translateY(-2px);}
.social-links .icon{width:1.3em;height:1.3em;}
.footer-col h5{color:#fff;font-family:var(--font-head);font-size:.9rem;margin:0 0 .9rem;letter-spacing:.04em;text-transform:uppercase;}
.footer-col ul{display:flex;flex-direction:column;gap:.6rem;}
.footer-col a:hover{color:#fff;}
.footer-bottom{
  display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:1rem;
  padding-top:var(--sp-3);font-size:.85rem;
}
@media (max-width:860px){
  .footer-grid{grid-template-columns:1fr;gap:var(--sp-4);}
}

/* Reveal on scroll — visible by default; JS opts elements INTO the
   hidden-then-fade-in state via .reveal-init, so a JS failure never
   hides content (progressive enhancement, not a hard dependency). */
.reveal{opacity:1;transform:none;}
.reveal.reveal-init{opacity:0;transform:translateY(18px);transition:opacity .6s ease, transform .6s ease;}
.reveal.reveal-init.in{opacity:1;transform:none;}
@media (prefers-reduced-motion: reduce){
  .reveal.reveal-init{opacity:1;transform:none;}
}
