/* ══════════════════════════════════════════
   NSDJCC — North Sydney District Junior Cricket Club
   Design: Sport-editorial / Red & Black
   Fonts: Bebas Neue (display), DM Sans (body), DM Serif Display (accent)
   ══════════════════════════════════════════ */

:root {
  --black:      #0d0d0d;
  --black-mid:  #161616;
  --black-soft: #1f1f1f;
  --red:        #cc1a1a;
  --red-bright: #e82020;
  --red-muted:  #7a1010;
  --red-glow:   rgba(204, 26, 26, 0.18);
  --white:      #ffffff;
  --off-white:  #f5f0ef;
  --cream:      #faf7f6;
  --muted:      #888;
  --muted-light:#bbb;
  --grass:      #2d6a4f;
  --grass-light:#40916c;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--black);
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* Global image reset — prevents Safari from ignoring size constraints */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 68px;
  background: rgba(13,13,13,0.97);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 2px solid var(--red);
}
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-logo-img {
  width: 48px; height: 48px;
  object-fit: contain;
  flex-shrink: 0;
}
.nav-logo-badge {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--red);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.nav-logo-badge svg { width: 22px; height: 22px; fill: white; }
.nav-logo-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px; color: var(--white); letter-spacing: 2.5px; line-height: 1;
}
.nav-logo-sub {
  font-size: 9px; color: var(--red); letter-spacing: 3px;
  font-weight: 600; text-transform: uppercase; display: block; margin-top: 1px;
}
.nav-links { display: flex; gap: 1.5rem; list-style: none; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,0.6); text-decoration: none;
  font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-links a.active { color: var(--white); }
.nav-cta {
  background: var(--red) !important; color: var(--white) !important;
  padding: 8px 22px; border-radius: 4px; font-weight: 700 !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-bright) !important; }

/* Mobile menu toggle */
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; }
.nav-toggle span {
  display: block; width: 22px; height: 2px; background: var(--white);
  margin: 5px 0; transition: all 0.3s;
}

/* ── HERO ── */
.hero {
  min-height: 100vh; min-height: 100dvh;
  background: var(--black);
  position: relative; display: flex; align-items: center;
  overflow: hidden; padding-top: 100px;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center;
  opacity: 0.4;
  -webkit-transform: translateZ(0);
}
.hero-bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(13,13,13,0.85) 0%, rgba(13,13,13,0.4) 50%, rgba(13,13,13,0.75) 100%);
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background:
    repeating-linear-gradient(
      -30deg, transparent, transparent 80px,
      rgba(204,26,26,0.04) 80px, rgba(204,26,26,0.04) 81px
    );
}
.hero-glow {
  position: absolute; width: 800px; height: 800px; border-radius: 50%;
  background: radial-gradient(circle, rgba(204,26,26,0.22) 0%, transparent 65%);
  top: 50%; right: -10%; transform: translateY(-50%);
  pointer-events: none;
}
.hero-glow2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(204,26,26,0.1) 0%, transparent 70%);
  bottom: -100px; left: -50px;
  pointer-events: none;
}
.hero-red-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red);
}
.hero-content {
  position: relative; z-index: 2; max-width: 1200px;
  margin: 0 auto; padding: 0 3rem;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 4rem; align-items: center; width: 100%;
}
.hero-season-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(204,26,26,0.12); border: 1px solid rgba(204,26,26,0.35);
  border-radius: 100px; padding: 6px 16px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: #f08080; margin-bottom: 1.5rem;
  animation: fadeUp 0.5s ease both;
}
.hero-season-tag span {
  width: 6px; height: 6px; background: var(--red-bright); border-radius: 50%;
  animation: blink 1.8s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(58px, 7.5vw, 104px);
  color: var(--white); line-height: 0.92; letter-spacing: 2px;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.5s 0.1s ease both;
}
.hero-title .red { color: var(--red-bright); }
.hero-title .ghost {
  font-family: 'DM Serif Display', serif;
  font-style: italic;
  color: rgba(255,255,255,0.25);
  font-size: 0.65em; display: block; letter-spacing: 1px;
}
.hero-desc {
  font-size: 16px; color: rgba(255,255,255,0.5);
  line-height: 1.75; max-width: 460px; font-weight: 300;
  margin-bottom: 2.5rem;
  animation: fadeUp 0.5s 0.2s ease both;
}
.hero-btns {
  display: flex; gap: 1rem; flex-wrap: wrap;
  animation: fadeUp 0.5s 0.3s ease both;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── BUTTONS ── */
.btn-red {
  background: var(--red); color: var(--white);
  padding: 14px 32px; border-radius: 5px;
  font-weight: 700; font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background 0.2s, transform 0.2s;
  border: none; cursor: pointer;
}
.btn-red:hover { background: var(--red-bright); transform: translateY(-2px); }
.btn-outline {
  border: 1px solid rgba(255,255,255,0.18); color: rgba(255,255,255,0.8);
  padding: 14px 32px; border-radius: 5px;
  font-weight: 500; font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--red); background: rgba(204,26,26,0.08); }
.btn-red-outline {
  border: 2px solid var(--red); color: var(--red);
  padding: 14px 32px; border-radius: 5px;
  font-weight: 700; font-size: 13px; letter-spacing: 1.5px;
  text-transform: uppercase; text-decoration: none;
  display: inline-flex; align-items: center; gap: 8px;
  transition: all 0.2s; background: transparent;
}
.btn-red-outline:hover { background: var(--red); color: var(--white); }

/* ── HERO CARD ── */
.hero-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 18px; padding: 2rem;
  animation: fadeUp 0.5s 0.35s ease both;
}
.hero-card-label {
  font-size: 10px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--muted); font-weight: 600; margin-bottom: 1.5rem;
}
.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 1px; background: rgba(255,255,255,0.05);
  border-radius: 10px; overflow: hidden; margin-bottom: 1.5rem;
}
.stat { background: var(--black-mid); padding: 1.25rem 0.5rem; text-align: center; }
.stat-n {
  font-family: 'Bebas Neue', sans-serif; font-size: 38px;
  color: var(--red-bright); line-height: 1; margin-bottom: 3px;
}
.stat-l {
  font-size: 10px; color: var(--muted); letter-spacing: 1px;
  text-transform: uppercase; font-weight: 500;
}
.next-game {
  background: rgba(204,26,26,0.1); border: 1px solid rgba(204,26,26,0.25);
  border-radius: 10px; padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.ng-label {
  font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
  color: #f08080; font-weight: 700; margin-bottom: 5px;
}
.ng-info { font-size: 13px; color: var(--white); font-weight: 500; }
.ng-date {
  font-family: 'Bebas Neue', sans-serif; font-size: 30px;
  color: var(--red-bright); letter-spacing: 1px; text-align: right; white-space: nowrap;
}

/* ── QUICK LINKS ── */
.quick-bar { background: var(--red); }
.quick-bar-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.quick-item {
  padding: 1.4rem 2rem; display: flex; align-items: center; gap: 12px;
  text-decoration: none; color: var(--white); font-weight: 700; font-size: 13px;
  letter-spacing: 0.5px; border-right: 1px solid rgba(255,255,255,0.15);
  transition: background 0.2s;
}
.quick-item:last-child { border-right: none; }
.quick-item:hover { background: rgba(0,0,0,0.15); }
.qi-icon {
  width: 34px; height: 34px; background: rgba(0,0,0,0.2);
  border-radius: 7px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

/* ── SHARED SECTION STYLES ── */
section { padding: 6rem 0; overflow: hidden; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
.sec-label {
  font-size: 10px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase;
  color: var(--red); margin-bottom: 0.6rem;
  display: flex; align-items: center; gap: 10px;
}
.sec-label::before { content:''; width: 28px; height: 2px; background: var(--red); flex-shrink:0; }
.sec-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(34px, 3.5vw, 50px);
  line-height: 1; letter-spacing: 1px; margin-bottom: 1rem;
}

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: var(--black); padding: 12rem 0 5rem;
  position: relative; overflow: hidden;
  min-height: 450px;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center center;
  opacity: 0.6;
  -webkit-transform: translateZ(0);
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.15) 0%, rgba(13,13,13,0.35) 40%, rgba(13,13,13,0.85) 100%);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: repeating-linear-gradient(
    -30deg, transparent, transparent 80px,
    rgba(204,26,26,0.04) 80px, rgba(204,26,26,0.04) 81px
  );
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .sec-title { color: var(--white); font-size: clamp(42px, 5vw, 72px); margin-bottom: 0.5rem; }
.page-hero .page-subtitle {
  font-size: 16px; color: rgba(255,255,255,0.45); font-weight: 300;
  line-height: 1.7; max-width: 600px;
}
.page-hero .hero-glow {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(204,26,26,0.18) 0%, transparent 65%);
  top: 20%; right: -5%; pointer-events: none;
}

/* ── PROGRAMS ── */
.programs { background: var(--black); }
.programs .sec-title { color: var(--white); }
.prog-intro {
  color: rgba(255,255,255,0.45); font-size: 15px; line-height: 1.75;
  font-weight: 300; max-width: 500px; margin-bottom: 3rem;
}
.prog-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  gap: 2px; background: rgba(255,255,255,0.04);
  border-radius: 14px; overflow: hidden;
}
.prog-card {
  background: var(--black-mid); padding: 0; position: relative;
  overflow: hidden; transition: transform 0.3s;
  text-decoration: none; display: block;
  min-height: 400px;
}
.prog-card:hover { transform: translateY(-4px); }
.prog-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--red); transform: scaleX(0); transition: transform 0.3s; z-index: 3;
}
.prog-card:hover::before { transform: scaleX(1); }
.prog-card-img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.prog-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(13,13,13,0.95) 0%, rgba(13,13,13,0.6) 40%, rgba(13,13,13,0.2) 100%);
}
.prog-card-content {
  position: relative; z-index: 2; padding: 2.5rem;
  display: flex; flex-direction: column; justify-content: flex-end;
  min-height: 400px;
}
.prog-num {
  font-family: 'Bebas Neue', sans-serif; font-size: 64px;
  color: rgba(204,26,26,0.12); position: absolute; top: 1rem; right: 1.5rem;
  line-height: 1; pointer-events: none;
}
.prog-emoji { font-size: 34px; margin-bottom: 1.5rem; display: block; }
.prog-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 28px;
  color: var(--white); letter-spacing: 1px; margin-bottom: 0.75rem;
}
.prog-desc {
  font-size: 13px; color: rgba(255,255,255,0.45); line-height: 1.65;
  font-weight: 300; margin-bottom: 1.5rem;
}
.prog-cta {
  font-size: 11px; font-weight: 700; color: var(--red);
  letter-spacing: 2px; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}
.prog-cta::after { content: '→'; transition: transform 0.2s; }
.prog-card:hover .prog-cta::after { transform: translateX(5px); }

/* ── FIXTURES ── */
.fixtures { background: var(--cream); }
.fix-head {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 2.5rem; flex-wrap: wrap; gap: 1rem;
}
.fix-tabs {
  display: flex; gap: 0; background: rgba(13,13,13,0.07);
  border-radius: 8px; padding: 4px;
}
.ftab {
  padding: 8px 18px; border-radius: 6px; font-size: 12px; font-weight: 700;
  cursor: pointer; transition: all 0.2s; border: none; background: none;
  color: var(--muted); letter-spacing: 0.5px;
}
.ftab.active { background: var(--black); color: var(--white); }
.fix-list { display: flex; flex-direction: column; gap: 10px; }

/* ── EVENTS ── */
.events-list { display: flex; flex-direction: column; gap: 10px; }
.event-row {
  background: var(--white); border-radius: 12px;
  padding: 1.4rem 1.75rem;
  display: grid; grid-template-columns: 80px 1fr;
  align-items: center; gap: 1.5rem;
  border: 1px solid rgba(13,13,13,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.event-row:hover { border-color: var(--red); box-shadow: 0 4px 20px rgba(204,26,26,0.08); }
.event-date { text-align: center; }
.event-day { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--red); line-height: 1; }
.event-mon { font-family: 'Bebas Neue', sans-serif; font-size: 30px; color: var(--black); line-height: 1.1; }
.event-title { font-weight: 700; font-size: 15px; color: var(--black); margin-bottom: 3px; }
.event-detail { font-size: 13px; color: var(--muted); line-height: 1.5; }
.fix-row {
  background: var(--white); border-radius: 12px;
  padding: 1.2rem 1.75rem;
  display: grid; grid-template-columns: 90px 1fr auto auto;
  align-items: center; gap: 2rem;
  border: 1px solid rgba(13,13,13,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.fix-row:hover { border-color: var(--red); box-shadow: 0 4px 20px rgba(204,26,26,0.08); }
.fix-date { text-align: center; }
.fix-day { font-family: 'Bebas Neue', sans-serif; font-size: 34px; color: var(--black); line-height: 1; }
.fix-mon { font-size: 10px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); }
.fix-matchup-row {
  display: flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 15px; color: var(--black); margin-bottom: 4px;
}
.fix-vs { font-size: 10px; font-weight: 800; color: var(--muted); letter-spacing: 1px; }
.fix-meta { font-size: 12px; color: var(--muted); display: flex; gap: 14px; }
.fix-result { text-align: center; min-width: 75px; }
.fix-score { font-family: 'Bebas Neue', sans-serif; font-size: 22px; color: var(--black); }
.fix-badge {
  font-size: 9px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 3px 8px; border-radius: 100px; display: inline-block; margin-top: 3px;
}
.fix-badge.win { background: rgba(45,106,79,0.1); color: var(--grass); }
.fix-badge.loss { background: rgba(204,26,26,0.1); color: var(--red); }
.fix-badge.upcoming { background: rgba(13,13,13,0.06); color: var(--muted); }
.fix-grade { font-size: 11px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); white-space: nowrap; }

/* ── ABOUT ── */
.about { background: var(--black-mid); padding: 6rem 0; width: 100%; }
.about-grid {
  max-width: 1200px; margin: 0 auto; padding: 0 3rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem; align-items: center;
}
.about-img {
  border-radius: 14px; overflow: hidden; position: relative;
  height: 400px; width: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-img img {
  display: none; /* Use background-image on the div instead for Safari compat */
}
.about-img-accent {
  position: absolute; bottom: -8px; right: -8px; width: 100%; height: 100%;
  border: 2px solid var(--red); border-radius: 14px; z-index: -1;
}
.about-text .sec-title { color: var(--white); margin-bottom: 1.5rem; }
.about-text p { color: rgba(255,255,255,0.5); font-size: 15px; line-height: 1.8; font-weight: 300; margin-bottom: 1rem; }
.about-text a.btn-red { margin-top: 1rem; display: inline-flex; }
.values-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.val {
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 10px; padding: 1.25rem 1.4rem;
  display: flex; align-items: flex-start; gap: 10px;
  transition: border-color 0.2s;
}
.val:hover { border-color: rgba(204,26,26,0.3); }
.val-icon { font-size: 22px; flex-shrink: 0; margin-top: 1px; }
.val-letter {
  font-family: 'Bebas Neue', sans-serif; font-size: 28px;
  color: var(--red-bright); flex-shrink: 0;
  width: 40px; height: 40px; border-radius: 8px;
  background: rgba(204,26,26,0.12); border: 1px solid rgba(204,26,26,0.25);
  display: flex; align-items: center; justify-content: center;
  letter-spacing: 0;
}
.val-title { font-weight: 700; font-size: 14px; color: var(--white); margin-bottom: 4px; }
.val-desc { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.5; font-weight: 300; }

/* ── NEWS ── */
.news { background: var(--cream); }
.news-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr;
  gap: 1.25rem; margin-top: 2.5rem;
}
.news-grid.uniform {
  grid-template-columns: repeat(3, 1fr);
}
.news-grid.uniform .ncard:first-child .ncard-img { height: 180px; }
.news-grid.uniform .ncard:first-child .ncard-title { font-size: 15px; }
.ncard {
  background: var(--white); border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(13,13,13,0.06); color: inherit;
  display: block; transition: box-shadow 0.25s;
}
.ncard:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.ncard-img {
  height: 180px; position: relative; overflow: hidden;
}
.ncard:first-child .ncard-img { height: 260px; }
.ncard-img-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
}
.ncard-img-emoji {
  position: absolute; bottom: 1rem; right: 1rem;
  font-size: 40px; opacity: 0.3;
}
.ncard-tag {
  position: absolute; top: 1rem; left: 1rem;
  background: rgba(0,0,0,0.55); color: var(--white);
  font-size: 9px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 10px; border-radius: 4px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.ncard-body { padding: 1.25rem; }
.ncard-date { font-size: 11px; color: var(--muted); margin-bottom: 0.4rem; font-weight: 500; }
.ncard-title { font-weight: 700; font-size: 15px; line-height: 1.4; margin-bottom: 0.5rem; }
.ncard:first-child .ncard-title { font-size: 21px; }
.ncard-exc { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── SPONSORS ── */
.sponsors {
  background: var(--black); padding: 3rem 0;
  border-top: 2px solid var(--red);
}
.sponsors-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 3rem;
  display: flex; align-items: center; gap: 2.5rem;
  flex-wrap: wrap; justify-content: center;
}
.sp-label { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); font-weight: 600; white-space: nowrap; }
.sp-div { width: 1px; height: 28px; background: rgba(255,255,255,0.1); }
.sp-name {
  font-family: 'Bebas Neue', sans-serif; font-size: 20px;
  color: rgba(255,255,255,0.2); letter-spacing: 2px;
  transition: color 0.2s; text-decoration: none;
}
.sp-name:hover { color: rgba(255,255,255,0.6); }
.sp-logo { display: flex; align-items: center; opacity: 0.6; transition: opacity 0.2s; }
.sp-logo:hover { opacity: 1; }
.sp-logo img { height: 30px; width: auto; display: block; }

/* ── FOOTER ── */
footer { background: var(--black); padding: 4rem 0 2rem; border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 3rem; }
.footer-top {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 2rem;
}
.ft-logo { width: 70px; height: auto; margin-bottom: 1rem; display: block; }
.ft-brand-name { font-family: 'Bebas Neue', sans-serif; font-size: 24px; color: var(--white); letter-spacing: 2.5px; }
.ft-brand-sub { font-size: 9px; color: var(--red); letter-spacing: 3px; text-transform: uppercase; font-weight: 600; margin-bottom: 1rem; }
.ft-brand-desc { font-size: 13px; color: rgba(255,255,255,0.3); line-height: 1.7; font-weight: 300; }
.ft-col-title { font-size: 9px; letter-spacing: 3px; text-transform: uppercase; color: var(--red); font-weight: 700; margin-bottom: 1.25rem; }
.ft-links { list-style: none; }
.ft-links li { margin-bottom: 0.6rem; }
.ft-links a { color: rgba(255,255,255,0.35); text-decoration: none; font-size: 13px; font-weight: 300; transition: color 0.2s; }
.ft-links a:hover { color: var(--white); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem; }
.ft-copy { font-size: 11px; color: rgba(255,255,255,0.18); font-weight: 300; }
.ft-socials { display: flex; gap: 10px; }
.soc-btn {
  width: 34px; height: 34px; border-radius: 8px;
  background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); text-decoration: none;
  transition: all 0.2s;
}
.soc-btn:hover { background: rgba(204,26,26,0.15); border-color: var(--red); color: var(--red); }

/* ── CONTENT SECTIONS (inner pages) ── */
.content-section { padding: 5rem 0; }
.content-section.dark { background: var(--black-mid); }
.content-section.dark .sec-title { color: var(--white); }
.content-section.dark p { color: rgba(255,255,255,0.5); }
.content-section p { font-size: 15px; line-height: 1.8; font-weight: 300; margin-bottom: 1rem; max-width: 720px; }

/* ── PHOTO STRIP (full-brightness image between sections) ── */
.photo-strip {
  width: 100%; overflow: hidden;
  height: 400px; position: relative;
}
.photo-strip-img {
  width: 100%; height: 400px;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}
.photo-strip-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(13,13,13,0.1) 0%, transparent 20%, transparent 80%, rgba(13,13,13,0.1) 100%);
}
.photo-strip-duo {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px;
  width: 100%; overflow: hidden;
}
.photo-strip-duo .ps-img {
  width: 100%; height: 420px;
  background-size: cover; background-position: center;
  background-repeat: no-repeat;
}

/* ── TEAM CARDS (for program detail pages) ── */
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.team-card {
  background: var(--white); border-radius: 14px; padding: 2rem;
  border: 1px solid rgba(13,13,13,0.06);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.team-card:hover { border-color: var(--red); box-shadow: 0 4px 20px rgba(204,26,26,0.08); }
.team-card-title {
  font-family: 'Bebas Neue', sans-serif; font-size: 24px;
  color: var(--black); letter-spacing: 1px; margin-bottom: 1rem;
}
.team-card-detail { font-size: 13px; color: var(--muted); line-height: 1.8; margin-bottom: 0.3rem; }
.team-card-detail strong { color: var(--black); font-weight: 600; }
.team-card .btn-red { margin-top: 1.25rem; font-size: 11px; padding: 10px 24px; }

/* ── COMMITTEE ── */
.comm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 8px; margin-top: 2rem; }
.comm-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.8rem 1.25rem; border-radius: 8px;
  background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.06);
  transition: border-color 0.2s;
}
.comm-row:hover { border-color: rgba(204,26,26,0.25); }
.comm-role { font-size: 12px; color: rgba(255,255,255,0.4); font-weight: 500; }
.comm-name { font-size: 13px; color: var(--white); font-weight: 600; }
.comm-row.vacant .comm-name { color: var(--red); font-style: italic; font-weight: 400; }

/* ── FAQ ── */
.faq-list { max-width: 800px; margin-top: 2rem; }
.faq-item { border-bottom: 1px solid rgba(13,13,13,0.08); }
.faq-q {
  padding: 1.25rem 0; font-weight: 700; font-size: 15px; color: var(--black);
  cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
}
.faq-q::after { content: '+'; font-size: 20px; color: var(--red); font-weight: 300; transition: transform 0.3s; }
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease, padding 0.35s ease;
  font-size: 14px; color: var(--muted); line-height: 1.7;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 1.25rem; }

/* ── CONTACT FORM ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; margin-top: 2rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label {
  display: block; font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 0.5rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px; border: 1px solid rgba(13,13,13,0.1);
  border-radius: 8px; font-family: 'DM Sans', sans-serif; font-size: 14px;
  transition: border-color 0.2s; background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none; border-color: var(--red);
}
.form-group textarea { min-height: 140px; resize: vertical; }
.contact-info-card {
  background: var(--black); border-radius: 14px; padding: 2.5rem;
  color: var(--white);
}
.contact-info-card h3 {
  font-family: 'Bebas Neue', sans-serif; font-size: 28px;
  letter-spacing: 1px; margin-bottom: 1.5rem;
}
.contact-info-item { margin-bottom: 1.25rem; }
.contact-info-item .ci-label {
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  color: var(--red); font-weight: 700; margin-bottom: 4px;
}
.contact-info-item .ci-value { font-size: 14px; color: rgba(255,255,255,0.7); font-weight: 300; }
.contact-info-item a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
.contact-info-item a:hover { color: var(--white); }

/* ── PATHWAY DIAGRAM ── */
.pathway-diagram { margin-top: 2.5rem; }
.pw-top { display: flex; justify-content: center; margin-bottom: 0.5rem; }
.pw-arrow-up-center { text-align: center; color: var(--red); font-size: 18px; margin: 0.25rem 0; }
.pw-columns { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 1.5rem; margin-top: 0.5rem; }
.pw-col { display: flex; flex-direction: column; gap: 0.4rem; }
.pw-col-header {
  display: flex; align-items: center; gap: 8px;
  font-family: 'Bebas Neue', sans-serif; font-size: 16px;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,0.5); margin-bottom: 0.5rem;
}
.pw-col-logo { height: 28px; width: auto; opacity: 0.7; }
.pw-box {
  border-radius: 8px; padding: 1rem 1.25rem;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  transition: border-color 0.2s;
}
.pw-box:hover { border-color: var(--red); }
.pw-box-title { font-weight: 700; font-size: 14px; color: var(--white); }
.pw-box-sub { font-size: 12px; color: rgba(255,255,255,0.45); margin-top: 2px; }
.pw-nsw {
  background: rgba(0, 100, 180, 0.15); border-color: rgba(0, 100, 180, 0.4);
  text-align: center; padding: 1.25rem 2rem;
  font-weight: 700; font-size: 14px; color: var(--white);
  display: flex; align-items: center; gap: 10px; justify-content: center;
}
.pw-nsw .pw-logo { height: 30px; width: auto; }
.pw-stage { border-left: 3px solid var(--red); }
.pw-entry { border-left: 3px solid rgba(255,255,255,0.15); background: rgba(255,255,255,0.02); }
.pw-senior { border-left: 3px solid var(--red); background: rgba(204,26,26,0.08); }
.pw-rep { border-left: 3px solid rgba(180,0,50,0.5); background: rgba(180,0,50,0.08); min-height: 120px; display: flex; flex-direction: column; justify-content: center; }
.pw-arrow-down { color: var(--red); font-size: 14px; text-align: center; line-height: 1; }
.pw-arrow-up { color: var(--red); font-size: 14px; text-align: center; line-height: 1; }
.pw-arrow-up-light { color: var(--red); font-size: 14px; text-align: center; line-height: 1; }
.pw-arrow-up-center { text-align: center; color: var(--red); font-size: 18px; margin: 0.25rem 0; }
.pw-arrow-label { font-size: 11px; color: rgba(255,255,255,0.3); text-align: center; margin-top: 0.25rem; font-style: italic; }
.pw-to-nsw { border-top: 2px solid rgba(0,100,180,0.4); }

/* Light theme variants for girls pathway */
.pw-nsw-light {
  background: rgba(0, 100, 180, 0.08); border: 1px solid rgba(0, 100, 180, 0.2);
  text-align: center; padding: 1.25rem 2rem;
  font-weight: 700; font-size: 14px; color: var(--black);
  display: flex; align-items: center; gap: 10px; justify-content: center;
  border-radius: 8px;
}
.pw-nsw-light .pw-logo { height: 30px; width: auto; }
.pw-stage-light { border-left: 3px solid var(--red); border: 1px solid rgba(0,0,0,0.08); border-left: 3px solid var(--red); border-radius: 8px; padding: 1rem 1.25rem; background: rgba(0,0,0,0.02); transition: border-color 0.2s; }
.pw-stage-light:hover { border-color: var(--red); }
.pw-entry-light { border-left: 3px solid rgba(0,0,0,0.1); border: 1px solid rgba(0,0,0,0.06); border-left: 3px solid rgba(0,0,0,0.1); border-radius: 8px; padding: 1rem 1.25rem; background: rgba(0,0,0,0.01); }
.pw-senior-light { border-left: 3px solid var(--red); border: 1px solid rgba(0,0,0,0.08); border-left: 3px solid var(--red); border-radius: 8px; padding: 1rem 1.25rem; background: rgba(204,26,26,0.03); transition: border-color 0.2s; }
.pw-senior-light:hover { border-color: var(--red); }
.pw-rep-light { border-left: 3px solid rgba(180,0,50,0.3); border: 1px solid rgba(0,0,0,0.08); border-left: 3px solid rgba(180,0,50,0.3); border-radius: 8px; padding: 1rem 1.25rem; background: rgba(180,0,50,0.03); transition: border-color 0.2s; }
.pw-rep-light:hover { border-color: rgba(180,0,50,0.5); }

/* ── MOBILE ── */
@media (max-width: 900px) {
  nav { padding: 0 1.25rem; }
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  nav.open .nav-links {
    display: flex; flex-direction: column;
    position: absolute; top: 68px; left: 0; right: 0;
    background: rgba(13,13,13,0.98); padding: 1.5rem;
    gap: 1rem; border-bottom: 2px solid var(--red);
  }
  nav.open .nav-links a { font-size: 14px; }

  /* Hero */
  .hero-content { grid-template-columns: 1fr; padding: 2rem 1.25rem; }
  .hero-card { display: none; }
  .hero-title { font-size: clamp(48px, 12vw, 72px); }
  .hero-desc { font-size: 14px; }

  /* Quick bar */
  .quick-bar-inner { grid-template-columns: 1fr 1fr; }
  .quick-item { padding: 1rem 1.25rem; font-size: 12px; }

  /* Programs */
  .prog-grid { grid-template-columns: 1fr; }
  .prog-card, .prog-card-content { min-height: 250px; }

  /* Photo strips */
  .photo-strip, .photo-strip-img { height: 200px; }
  .photo-strip-duo { grid-template-columns: 1fr; gap: 0; }
  .photo-strip-duo .ps-img { height: 220px; }

  /* About section */
  .about-grid { grid-template-columns: 1fr; gap: 2rem; padding: 0 1.25rem; }
  .about-img { height: 250px; }
  .about-img-accent { display: none; }

  /* Values */
  .values-grid { grid-template-columns: 1fr; }
  .val[style*="grid-column: span 2"] { grid-column: span 1 !important; }

  /* Pathway diagram */
  .pw-columns { grid-template-columns: 1fr; gap: 2rem; }
  .pw-col-header { font-size: 14px; }

  /* News */
  .news-grid { grid-template-columns: 1fr; }
  .ncard:first-child .ncard-img { height: 200px; }

  /* Fixtures */
  .fix-row { grid-template-columns: 70px 1fr; gap: 1rem; }
  .fix-result, .fix-grade { display: none; }

  /* Events */
  .event-row { grid-template-columns: 60px 1fr; gap: 1rem; padding: 1rem 1.25rem; }
  .event-mon { font-size: 22px; }
  .event-day { font-size: 16px; }
  .event-title { font-size: 14px; }
  .event-detail { font-size: 12px; }

  /* Page heroes */
  .page-hero { padding: 9rem 0 3rem; min-height: 300px; }
  .page-hero .sec-title { font-size: clamp(36px, 10vw, 56px); }

  /* Content & layout */
  .container { padding: 0 1.25rem; }
  section { padding: 3.5rem 0; }
  .content-section { padding: 3rem 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: 1fr; }

  /* Sponsors */
  .sponsors-inner { gap: 1.5rem; }
  .sp-div { display: none; }
  .sp-name { font-size: 16px; }
}

/* ── SMALL MOBILE ── */
@media (max-width: 480px) {
  .quick-bar-inner { grid-template-columns: 1fr; }
  .quick-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .quick-item:last-child { border-bottom: none; }
  .hero-title { font-size: 48px; }
  .hero-btns { flex-direction: column; }
  .hero-btns a { text-align: center; justify-content: center; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .prog-card, .prog-card-content { min-height: 220px; }
  .photo-strip-duo .ps-img { height: 180px; }
  .page-hero { padding: 7rem 0 2.5rem; min-height: 250px; }
  .comm-grid { grid-template-columns: 1fr; }
  .contact-info-card { padding: 1.5rem; }
}
