/* ============================================================
   NDCA — Nepean District Cricket Association
   Modern sports design system
   ============================================================ */
:root {
  /* NDCA brand (sampled from ndca.com.au): olive green + cockatoo orange */
  --navy-900: #20261a;
  --navy-800: #3a4627;
  --navy-700: #4b5b32;
  --navy-600: #5d7040;
  --lime: #e8912d;
  --lime-dark: #c97614;
  --gold: #ffb800;
  --white: #ffffff;
  --grey-100: #f4f6fa;
  --grey-200: #e6eaf2;
  --grey-500: #6b7690;
  --grey-700: #39415a;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(6, 15, 31, 0.12);
  --font-display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --font-body: "Inter", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--grey-700);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

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

/* ---------- Typography ---------- */
h1, h2, h3, .display {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--navy-800);
  line-height: 1.05;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--grey-500);
}
.eyebrow::before {
  content: "";
  width: 34px; height: 3px;
  background: var(--lime);
  border-radius: 2px;
}
.on-dark .eyebrow { color: rgba(255,255,255,0.65); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--lime); color: var(--navy-900); box-shadow: 0 8px 22px rgba(232, 145, 45, 0.35); }
.btn-primary:hover { background: var(--lime-dark); }
.btn-outline { background: transparent; color: var(--white); border: 2px solid rgba(255,255,255,0.4); }
.btn-outline:hover { border-color: var(--lime); color: var(--lime); }
.btn-dark { background: var(--navy-800); color: var(--white); }
.btn-dark:hover { background: var(--navy-600); }
.btn .arrow { transition: transform 0.18s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(32, 38, 26, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.brand-badge {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--lime), #c96f10);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy-900);
  letter-spacing: 0;
  flex-shrink: 0;
}
.brand-text { line-height: 1.15; }
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: 0.04em;
}
.brand-text span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.55);
}

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav > .nav-item { position: relative; }
.main-nav a.nav-link, .main-nav button.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 10px 14px;
  border-radius: 8px;
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.15s ease, background 0.15s ease;
}
.main-nav a.nav-link:hover, .main-nav button.nav-link:hover,
.main-nav .nav-item.open > .nav-link { color: var(--lime); background: rgba(255,255,255,0.06); }
.main-nav a.nav-link.active { color: var(--lime); }
.caret { font-size: 0.6rem; transform: translateY(1px); }

.dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: 0 20px 50px rgba(6,15,31,0.25);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
}
.nav-item.open .dropdown, .nav-item:hover .dropdown {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey-700);
  text-decoration: none;
  border-radius: 8px;
}
.dropdown a:hover { background: var(--grey-100); color: var(--navy-800); }
.dropdown .group-label {
  padding: 12px 14px 4px;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--grey-500);
  font-weight: 700;
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 26px; height: 3px;
  border-radius: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: visible !important;
  background:
    radial-gradient(1000px 500px at 85% -10%, rgba(232,145,45,0.16), transparent 60%),
    radial-gradient(700px 400px at -10% 110%, rgba(75,91,50,0.9), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, var(--navy-700) 100%);
  color: var(--white);
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.025) 0 2px, transparent 2px 90px);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  padding: 96px 0 110px;
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  font-weight: 700;
  margin: 18px 0 20px;
}
.hero h1 .accent { color: var(--lime); }
.hero p.lead {
  font-size: 1.12rem;
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-art { position: relative; display: grid; place-items: center; }
.hero-art svg { width: min(360px, 80%); filter: drop-shadow(0 24px 60px rgba(0,0,0,0.45)); }

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.12);
  border-radius: var(--radius);
  overflow: hidden;
  transform: translateY(50%);
  box-shadow: var(--shadow);
}
.hero-stats .stat {
  background: var(--white);
  padding: 22px 24px;
  text-align: center;
}
.hero-stats .stat b {
  display: block;
  margin-bottom: 2px;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy-800);
}
.hero-stats .stat span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--grey-500);
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  background:
    radial-gradient(800px 380px at 90% -20%, rgba(232,145,45,0.14), transparent 60%),
    linear-gradient(150deg, var(--navy-900), var(--navy-800) 70%, var(--navy-700));
  color: var(--white);
  padding: 66px 0 58px;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.02) 0 2px, transparent 2px 80px);
}
.page-hero h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-top: 14px;
}
.page-hero p { color: rgba(255,255,255,0.72); max-width: 640px; margin-top: 12px; }
.breadcrumb {
  position: relative; z-index: 1;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: rgba(255,255,255,0.5);
}
.breadcrumb a { color: rgba(255,255,255,0.7); text-decoration: none; }
.breadcrumb a:hover { color: var(--lime); }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section.tight { padding: 60px 0; }
.section-head { max-width: 720px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); margin-top: 12px; }
.section-head p { margin-top: 12px; color: var(--grey-500); }
.section.alt { background: var(--grey-100); }
.section.dark { background: linear-gradient(150deg, var(--navy-900), var(--navy-800)); color: var(--white); }
.section.dark h2, .section.dark h3 { color: var(--white); }
.section.dark p { color: rgba(255,255,255,0.72); }

/* ---------- Card grid ---------- */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 28px;
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.tile::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--lime), transparent 70%);
  opacity: 0;
  transition: opacity 0.2s ease;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.tile:hover::before { opacity: 1; }
.tile .icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: var(--navy-800);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 1.4rem;
}
.tile h3 { font-size: 1.35rem; }
.tile p { font-size: 0.92rem; color: var(--grey-500); flex: 1; }
.tile .tile-link {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.92rem;
  color: var(--navy-800);
}
.tile:hover .tile-link { color: var(--lime-dark); }

.section.dark .tile { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.section.dark .tile h3 { color: var(--white); }
.section.dark .tile p { color: rgba(255,255,255,0.6); }
.section.dark .tile .tile-link { color: var(--lime); }

/* ---------- Document list ---------- */
.doc-list { display: grid; gap: 12px; }
.doc-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 18px 22px;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.doc-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.doc-item .doc-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--grey-100);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  color: var(--navy-800);
}
.doc-item .doc-icon.pdf { background: #ffe9e6; color: #c2372a; }
.doc-item .doc-icon.xls { background: #e2f5e8; color: #1d7a43; }
.doc-item .doc-icon.img { background: #e8effc; color: #2d5bd1; }
.doc-item .doc-icon.link { background: #fdf3d7; color: #a07708; }
.doc-item div { flex: 1; }
.doc-item b { display: block; color: var(--navy-800); font-size: 0.98rem; font-weight: 600; }
.doc-item span { font-size: 0.8rem; color: var(--grey-500); }
.doc-item .go { color: var(--grey-500); font-size: 1.1rem; transition: transform 0.18s ease, color 0.18s ease; }
.doc-item:hover .go { transform: translateX(3px); color: var(--lime-dark); }

/* ---------- Season cards (rules pages) ---------- */
.season-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.season-card {
  border-radius: var(--radius);
  overflow: hidden;
  color: var(--white);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
  position: relative;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.season-card:hover { transform: translateY(-6px); box-shadow: 0 24px 50px rgba(6,15,31,0.35); }
.season-card.summer { background: linear-gradient(150deg, #5d7040, #3a4627 90%); }
.season-card.winter { background: linear-gradient(150deg, #3a4627, #20261a 90%); }
.season-card::after {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(115deg, rgba(255,255,255,0.03) 0 2px, transparent 2px 60px);
}
.season-card .season-tag {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.8rem;
  color: var(--lime);
  font-weight: 600;
}
.season-card h3 { color: var(--white); font-size: 1.9rem; }
.season-card p { color: rgba(255,255,255,0.7); flex: 1; font-size: 0.95rem; }
.season-card .cta {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  color: var(--lime);
}

/* ---------- Committee ---------- */
.person-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.person-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.person-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.person-card .avatar {
  width: 62px; height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-700), var(--navy-800));
  color: var(--lime);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.person-card h3 { font-size: 1.4rem; }
.person-card .role {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lime-dark);
  font-weight: 700;
  margin: 4px 0 12px;
}
.person-card a { font-size: 0.88rem; color: var(--grey-500); text-decoration: none; word-break: break-all; }
.person-card a:hover { color: var(--navy-800); }

/* ---------- Sponsors ---------- */
.sponsor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.sponsor-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 26px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
  text-align: center;
  min-height: 130px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sponsor-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.sponsor-card img { max-height: 64px; width: auto; object-fit: contain; }
.sponsor-card b {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy-800);
  font-size: 1.05rem;
  line-height: 1.2;
}
.sponsor-card span { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--grey-500); }

/* ---------- Forms ---------- */
.form-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { display: flex; flex-direction: column; gap: 7px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: var(--navy-800);
}
.form-field label .req { color: #c2372a; }
.form-field input, .form-field textarea, .form-field select {
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 13px 16px;
  border: 1.5px solid var(--grey-200);
  border-radius: 10px;
  background: var(--grey-100);
  color: var(--grey-700);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.form-field input:focus, .form-field textarea:focus, .form-field select:focus {
  outline: none;
  border-color: var(--lime-dark);
  background: var(--white);
}
.form-note { font-size: 0.84rem; color: var(--grey-500); margin-top: 16px; }
.form-actions { margin-top: 26px; }

/* ---------- Info strip / callout ---------- */
.callout {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fdf8e3;
  border: 1px solid #f2e4a8;
  border-radius: var(--radius);
  padding: 22px 26px;
  font-size: 0.94rem;
}
.callout .icon { font-size: 1.4rem; line-height: 1; }
.callout b { color: var(--navy-800); }

/* ---------- Contact ---------- */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: start; }
.contact-info-list { display: grid; gap: 16px; }
.contact-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 20px 22px;
}
.contact-info-item .icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--navy-800);
  color: var(--lime);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
}
.contact-info-item b { display: block; color: var(--navy-800); font-size: 0.95rem; }
.contact-info-item span, .contact-info-item a { font-size: 0.88rem; color: var(--grey-500); text-decoration: none; }
.contact-info-item a:hover { color: var(--navy-800); }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255,255,255,0.7);
  padding: 70px 0 0;
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--lime), transparent 60%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-grid h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--white);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.footer-grid ul { list-style: none; display: grid; gap: 10px; }
.footer-grid a { color: rgba(255,255,255,0.65); text-decoration: none; font-size: 0.9rem; }
.footer-grid a:hover { color: var(--lime); }
.footer-about p { font-size: 0.9rem; margin: 14px 0 20px; max-width: 300px; }
.footer-contact-line { display: flex; gap: 10px; font-size: 0.88rem; margin-bottom: 10px; }
.footer-contact-line .ic { color: var(--lime); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 22px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }
.footer-bottom a:hover { color: var(--lime); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Prose ---------- */
.prose { max-width: 760px; }
.prose p { margin-bottom: 18px; }
.prose h3 { margin: 32px 0 12px; font-size: 1.6rem; }
.prose ul { margin: 0 0 18px 22px; }
.prose li { margin-bottom: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .card-grid, .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .person-grid { grid-template-columns: repeat(2, 1fr); }
  .sponsor-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-inner { grid-template-columns: 1fr; padding: 70px 0 90px; }
  .hero-art { display: none; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  /* backdrop-filter would make the header the containing block for the fixed drawer */
  .site-header { backdrop-filter: none; background: var(--navy-900); }
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    top: 75px;
    left: 0; right: 0;
    bottom: 0;
    background: var(--navy-900);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 5%;
    gap: 2px;
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.25s ease;
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav a.nav-link, .main-nav button.nav-link { width: 100%; justify-content: space-between; padding: 14px 10px; font-size: 1.15rem; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    background: rgba(255,255,255,0.04);
    box-shadow: none;
    display: none;
    min-width: 0;
  }
  .nav-item.open .dropdown { display: block; }
  .nav-item:hover .dropdown { display: none; }
  .nav-item.open:hover .dropdown, .nav-item.open .dropdown { display: block; }
  .dropdown a { color: rgba(255,255,255,0.75); }
  .dropdown a:hover { background: rgba(255,255,255,0.06); color: var(--lime); }
  .dropdown .group-label { color: rgba(255,255,255,0.4); }
  body.nav-locked { overflow: hidden; }

  .card-grid, .card-grid.cols-2, .card-grid.cols-4, .person-grid, .season-grid { grid-template-columns: 1fr; }
  .sponsor-grid { grid-template-columns: repeat(2, 1fr); }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { transform: translateY(30%); }
  .form-card { padding: 26px 20px; }
  .section { padding: 64px 0; }
}

/* ---------- Brand logo image ---------- */
.brand-badge.logo {
  width: 60px; height: 60px;
  background: transparent;
  border-radius: 50%;
  overflow: hidden;
  border: 0;
}
.brand-badge.logo img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Hero photo backdrop ---------- */
.hero.has-photo {
  --hero-photo: url("../assets/hero-banner.png");
  background:
    linear-gradient(105deg, rgba(32,38,26,0.97) 0%, rgba(43,52,32,0.92) 45%, rgba(43,52,32,0.72) 100%),
    var(--hero-photo) center 28% / cover no-repeat;
}

/* ---------- Image tiles ---------- */
.tile.has-img { padding: 0; }
.tile.has-img .tile-img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy-800);
}
.tile.has-img .tile-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.tile.has-img:hover .tile-img img { transform: scale(1.05); }
.tile.has-img .tile-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tile.has-img .tile-body p { flex: 1; }

/* ---------- News / achievements ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.news-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-card .news-img {
  aspect-ratio: 4 / 3.4;
  overflow: hidden;
  background: var(--navy-900);
}
.news-card .news-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform 0.35s ease; }
.news-card:hover .news-img img { transform: scale(1.04); }
.news-card .news-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-card .news-tag {
  align-self: flex-start;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--navy-900);
  background: var(--lime);
  padding: 3px 10px;
  border-radius: 999px;
}
.news-card h3 { font-size: 1.3rem; }
.news-card p { font-size: 0.88rem; color: var(--grey-500); flex: 1; }
.news-card .tile-link {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  color: var(--lime-dark);
}
@media (max-width: 1000px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 760px) { .news-grid { grid-template-columns: 1fr; } }

/* ---------- Photo tiles (Explore NDCA) ---------- */
.photo-tile {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 260px;
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 6px 18px rgba(32,38,26,0.14);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.photo-tile:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(32,38,26,0.3); }
.photo-tile img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  z-index: -2;
}
.photo-tile:hover img { transform: scale(1.07); }
.photo-tile::before {
  content: "";
  position: absolute; inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(32,38,26,0.05) 30%, rgba(32,38,26,0.55) 62%, rgba(20,24,15,0.94) 100%);
  transition: background 0.25s ease;
}
.photo-tile:hover::before {
  background: linear-gradient(180deg, rgba(32,38,26,0.15) 20%, rgba(58,70,39,0.7) 55%, rgba(20,24,15,0.96) 100%);
}
.photo-tile .pt-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 22px 24px 20px;
}
.photo-tile .pt-kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 6px;
}
.photo-tile h3 {
  color: var(--white);
  font-size: 1.55rem;
  line-height: 1.05;
  margin-bottom: 4px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.45);
}
.photo-tile .pt-go {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(6px);
  transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.photo-tile:hover .pt-go { max-height: 30px; opacity: 1; transform: translateY(0); color: var(--lime); }
.photo-tile .pt-num {
  position: absolute;
  top: 14px; right: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: rgba(255,255,255,0.85);
  background: rgba(32,38,26,0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 999px;
  padding: 2px 12px;
  letter-spacing: 0.08em;
}

/* Facebook live feed */
.fb-live-wrap {
  display: grid;
  grid-template-columns: 1fr;
  justify-items: center;
  margin-bottom: 40px;
}
.fb-live-card {
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: var(--shadow);
  max-width: 540px;
  width: 100%;
}
.fb-live-note { font-size: 0.8rem; color: var(--grey-500); text-align: center; margin-top: 10px; }
