/* =========================================================
   STG BOOST — mobile-first theme on Bootstrap 5.3
   ========================================================= */
:root {
  --navy: #2e2c65;
  --navy-2: #44418f;
  --gold: #f5b301;
  --gold-2: #ffc933;
  --ink: #1d2433;
  --muted: #5d6676;
  --soft: #f4f6fb;
  --radius: 1rem;
  --shadow: 0 10px 30px rgba(46, 44, 101, .08);
  --font-head: 'Outfit', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --nav-h: 68px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }
body { font-family: var(--font-body); color: var(--ink); background: #fff; line-height: 1.65; }
h1, h2, h3, h4, h5, h6, .navbar-brand { font-family: var(--font-head); }
a { color: var(--navy-2); }
img { max-width: 100%; height: auto; }

.text-gold { color: var(--gold) !important; }
.text-white-75 { color: rgba(255, 255, 255, .78); }
.bg-soft { background: var(--soft); }

.skip-link { position: absolute; top: .5rem; left: .5rem; z-index: 2000; background: var(--gold); color: var(--navy); padding: .5rem 1rem; border-radius: .5rem; }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn-gold:hover, .btn-gold:focus { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy); }
.btn-navy { background: var(--navy); border-color: var(--navy); color: #fff; }
.btn-navy:hover, .btn-navy:focus { background: var(--navy-2); border-color: var(--navy-2); color: #fff; }
.btn-outline-navy { border: 2px solid var(--navy); color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }

/* ---------- Navbar ---------- */
.navbar { min-height: var(--nav-h); transition: background .3s, box-shadow .3s; background: transparent; }
.navbar.scrolled { background: rgba(46, 44, 101, .96); box-shadow: 0 4px 20px rgba(0, 0, 0, .15); backdrop-filter: blur(8px); }
.brand-logo { height: 44px; width: auto; }
.footer-logo { text-decoration: none; }
.footer-logo img { width: 150px; height: auto; }
.footer-boost { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; letter-spacing: .08em; color: var(--gold); padding-left: 1rem; border-left: 2px solid rgba(255,255,255,.2); }
.brand-mark {
  width: 42px; height: 42px; border-radius: 12px;
  display: inline-grid; place-items: center;
  background: var(--gold); color: var(--navy);
  font-weight: 800; font-size: 1.35rem; font-family: var(--font-head);
  transform: rotate(-6deg);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.05; color: #fff; }
.brand-text strong { font-size: 1.25rem; letter-spacing: .06em; }
.brand-text small { font-family: var(--font-body); font-size: .72rem; opacity: .8; letter-spacing: .04em; }
.navbar-toggler { color: #fff; }
.navbar-toggler:focus { box-shadow: none; }

.offcanvas { background: var(--navy); color: #fff; max-width: 85vw; }
.offcanvas .nav-link { color: #fff; font-weight: 500; font-size: 1.15rem; padding: .75rem 0; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.offcanvas .nav-link.active, .offcanvas .nav-link:hover { color: var(--gold); }

@media (min-width: 992px) {
  .offcanvas { background: transparent; max-width: none; }
  .offcanvas .nav-link { font-size: .95rem; padding: .5rem .8rem !important; border: 0; color: rgba(255, 255, 255, .88); }
}

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: center;
  padding: calc(var(--nav-h) + 3rem) 0 7rem;
  color: #fff; overflow: hidden; background: var(--navy);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../img/team.jpg') center 30% / cover no-repeat;
  transform: scale(1.05);
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(46, 44, 101, .55) 0%, rgba(46, 44, 101, .85) 60%, var(--navy) 100%);
}
.eyebrow {
  display: inline-flex; align-items: center; gap: .4rem;
  font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(245, 179, 1, .15); color: var(--gold);
  padding: .4rem .9rem; border-radius: 50rem; margin-bottom: 1.25rem;
}
.hero-title { font-size: clamp(2.5rem, 9vw, 4.75rem); font-weight: 800; line-height: 1.02; letter-spacing: -.02em; }
.hero-lead { font-size: clamp(1.05rem, 2.6vw, 1.3rem); max-width: 38rem; color: rgba(255, 255, 255, .85); margin-top: 1.25rem; }
.scroll-cue {
  position: absolute; left: 50%; bottom: 3.75rem; transform: translateX(-50%);
  color: #fff; font-size: 1.5rem; animation: bob 2s infinite; opacity: .8;
}
@keyframes bob { 0%, 100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
@media (min-width: 992px) { .section { padding: 6.5rem 0; } }
.section-kicker { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: .5rem; }
.section-title { font-size: clamp(1.8rem, 5vw, 2.75rem); font-weight: 800; color: var(--navy); line-height: 1.12; margin-bottom: 1.25rem; }

/* Mission */
.section-mission { background: var(--navy); color: #fff; padding: 4rem 0 5rem; }
.quote-icon { font-size: 3.5rem; color: var(--gold); line-height: 1; }
.mission-quote { font-family: var(--font-head); font-weight: 500; font-size: clamp(1.15rem, 3vw, 1.65rem); line-height: 1.5; margin: 1rem 0 1.5rem; }
.mission-cite { color: var(--gold); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; margin: 0; }

/* About */
.about-img { position: relative; }
.about-img img { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.about-badge {
  position: absolute; left: 1rem; bottom: -1.25rem;
  display: flex; align-items: center; gap: .75rem;
  background: #fff; padding: .75rem 1.1rem; border-radius: .85rem; box-shadow: var(--shadow);
}
.about-badge i { font-size: 1.75rem; color: var(--gold); }
.about-badge strong { display: block; color: var(--navy); font-family: var(--font-head); }
.about-badge small { color: var(--muted); font-size: .78rem; }

/* Feature cards */
.feature-card {
  height: 100%; background: #fff; border-radius: var(--radius); padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--gold);
  transition: transform .25s, box-shadow .25s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46, 44, 101, .14); }
.feature-icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid; place-items: center;
  background: var(--navy); color: var(--gold); font-size: 1.6rem; margin-bottom: 1rem;
}
.feature-card h3 { font-size: 1.2rem; font-weight: 700; color: var(--navy); }
.feature-card p { color: var(--muted); margin: 0; font-size: .95rem; }

/* Steps */
.steps { display: grid; gap: 1rem; }
.step { display: flex; gap: 1rem; background: var(--soft); border-radius: var(--radius); padding: 1.35rem; }
.step-num {
  flex: 0 0 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy); font-weight: 800; font-family: var(--font-head); font-size: 1.15rem;
}
.step h3 { font-size: 1.1rem; font-weight: 700; color: var(--navy); margin-bottom: .25rem; }
.step p { margin: 0; color: var(--muted); font-size: .95rem; }

/* CTA / Donate */
.section-cta { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); position: relative; overflow: hidden; }
.section-cta::before {
  content: ''; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 179, 1, .25), transparent 70%);
  top: -160px; right: -120px; pointer-events: none;
}
.donate-card { background: #fff; border-radius: var(--radius); padding: 1.75rem; box-shadow: 0 20px 50px rgba(0, 0, 0, .25); position: relative; }
.donate-card h3 { color: var(--navy); font-weight: 700; }

/* FAQ */
.accordion-boost .accordion-item { border: 0; border-radius: var(--radius) !important; margin-bottom: .75rem; overflow: hidden; box-shadow: var(--shadow); }
.accordion-boost .accordion-button { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy); padding: 1.15rem 1.35rem; }
.accordion-boost .accordion-button:not(.collapsed) { background: #fff; color: var(--navy); box-shadow: inset 4px 0 0 var(--gold); }
.accordion-boost .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(245, 179, 1, .35); }
.accordion-boost .accordion-body { color: var(--muted); padding: 0 1.35rem 1.25rem; }

/* Contact */
.contact-list li { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid #e8ebf2; }
.contact-list i { font-size: 1.25rem; color: var(--gold); background: var(--navy); width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 44px; }
.contact-list small { display: block; color: var(--muted); font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; }
.contact-list a { color: var(--navy); font-weight: 600; text-decoration: none; }
.contact-list a:hover { color: var(--navy-2); text-decoration: underline; }
.map-wrap { aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
@media (min-width: 992px) { .map-wrap { aspect-ratio: 16 / 10; } }

/* Footer */
.site-footer { background: var(--navy); color: rgba(255, 255, 255, .72); padding: 3.5rem 0 2rem; }
.site-footer h6 { color: #fff; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; margin-bottom: 1rem; }
.site-footer a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }
.site-footer li { margin-bottom: .45rem; }
.site-footer hr { border-color: rgba(255, 255, 255, .15); margin: 2rem 0 1.5rem; }

/* Utilities */
.text-navy { color: var(--navy) !important; }
.link-arrow { font-weight: 600; color: var(--navy); text-decoration: none; }
.link-arrow:hover i { transform: translateX(4px); }
.link-arrow i { display: inline-block; transition: transform .2s; }
.social-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.1); color: #fff !important; font-size: 1.1rem; transition: background .2s, color .2s; }
.social-btn:hover { background: var(--gold); color: var(--navy) !important; }

/* Quick links strip */
.quick-links { position: relative; z-index: 2; background: var(--navy); padding: 0 0 1rem; }
.quick-links .container { margin-top: -3rem; position: relative; }
.quick-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .75rem; }
@media (min-width: 768px) { .quick-grid { grid-template-columns: repeat(4, 1fr); gap: 1rem; } }
.quick-tile {
  display: flex; align-items: center; gap: .65rem; background: #fff; border-radius: var(--radius);
  padding: 1rem 1.1rem; box-shadow: 0 12px 30px rgba(46, 44, 101, .16);
  color: var(--navy); font-weight: 600; text-decoration: none; font-family: var(--font-head);
  transition: transform .2s, box-shadow .2s;
}
.quick-tile i { font-size: 1.4rem; color: var(--gold); flex: 0 0 auto; }
.quick-thumb { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; flex: 0 0 40px; margin: -.35rem 0; }
.quick-tile:hover { transform: translateY(-3px); color: var(--navy-2); }
.quick-links + .section-mission { padding-top: 3rem; }

/* Board */
.board-card { display: flex; gap: 1rem; align-items: center; height: 100%; background: #fff; border: 1px solid #e8e8f2; border-radius: var(--radius); padding: 1.25rem; transition: border-color .2s, box-shadow .2s; }
.board-card:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.board-avatar { flex: 0 0 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; overflow: hidden; }
.board-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.board-role { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); }
.board-info h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin: .1rem 0 .3rem; }
.board-info a { font-size: .88rem; font-weight: 600; text-decoration: none; color: var(--navy-2); }
.board-info a:hover { text-decoration: underline; }
.board-card-gym { background: var(--soft); }

/* Raffle + sponsors */
.raffle-img img { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); transition: transform .3s; }
.raffle-img:hover img { transform: scale(1.02); }
.sponsor-frame { background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.sponsor-frame iframe { display: block; width: 100%; height: 220px; border: 0; }
@media (min-width: 768px) { .sponsor-frame iframe { height: 260px; } }

/* Meets */
.meet-card { position: relative; height: 100%; border-radius: var(--radius); padding: 2rem 1.5rem 1.5rem; color: #fff; overflow: hidden; background: linear-gradient(140deg, var(--navy) 0%, var(--navy-2) 100%); }
.meet-card-alt { background: linear-gradient(140deg, #44418f 0%, #7a3e8c 100%); }
.meet-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%; border: 30px solid rgba(255,255,255,.06); pointer-events: none; }
.meet-year { display: inline-block; background: var(--gold); color: var(--navy); font-weight: 800; font-family: var(--font-head); padding: .2rem .75rem; border-radius: 50rem; font-size: .85rem; margin-bottom: .75rem; }
.meet-card h3 { font-size: 1.6rem; font-weight: 800; }
.meet-card p { color: rgba(255,255,255,.8); }
.meet-card .btn-light { font-size: .85rem; position: relative; z-index: 1; }
.live-banner { display: flex; flex-direction: column; gap: 1rem; justify-content: space-between; background: var(--soft); border-radius: var(--radius); padding: 1.25rem 1.5rem; color: var(--navy); }
@media (min-width: 768px) { .live-banner { flex-direction: row; align-items: center; } }
.live-dot { width: 14px; height: 14px; border-radius: 50%; background: #e63946; box-shadow: 0 0 0 0 rgba(230,57,70,.6); animation: pulse 1.8s infinite; flex: 0 0 auto; }
@keyframes pulse { 70% { box-shadow: 0 0 0 12px rgba(230,57,70,0); } 100% { box-shadow: 0 0 0 0 rgba(230,57,70,0); } }

/* Resources */
.resource-link { display: flex; align-items: center; gap: 1rem; height: 100%; padding: 1.1rem 1.25rem; border-radius: var(--radius); background: var(--soft); color: var(--navy); text-decoration: none; transition: background .2s, transform .2s; }
.resource-link > i:first-child { font-size: 1.5rem; color: var(--gold); background: var(--navy); width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 46px; }
.resource-link strong { display: block; font-family: var(--font-head); }
.resource-link small { color: var(--muted); }
.resource-link:hover { background: #ebeaf6; transform: translateX(3px); color: var(--navy); }
.safesport { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; border: 2px dashed #dcdbe9; border-radius: var(--radius); padding: 1.5rem; }
@media (min-width: 576px) { .safesport { flex-direction: row; align-items: center; } }
.safesport img { width: 140px; height: auto; flex: 0 0 auto; }
.safesport a { font-weight: 600; color: var(--navy-2); text-decoration: none; }

/* Back to top */
.back-to-top {
  position: fixed; right: 1rem; bottom: 1rem; z-index: 1030;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--gold); color: var(--navy); font-size: 1.2rem;
  box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .live-dot { animation: none; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue { animation: none; }
  .feature-card:hover { transform: none; }
}
