/* ============================================================
   MELVIN BRAY BASKETBALL ACADEMY (MBA) - Master Stylesheet
   A reusable, Elementor-compatible CSS framework
   ============================================================ */

/* ======================
   1. CSS CUSTOM PROPERTIES
   ====================== */
:root {
  /* Brand Colors */
  --clr-navy: #0A1628;
  --clr-navy-light: #12213A;
  --clr-navy-mid: #0E1B30;
  --clr-navy-dark: #060E1A;
  --clr-orange: #E86A2A;
  --clr-orange-light: #FF8A4C;
  --clr-orange-dark: #C85820;
  --clr-orange-glow: rgba(232, 106, 42, 0.25);
  --clr-gold: #D4A843;
  --clr-white: #FFFFFF;
  --clr-off-white: #F5F6F8;
  --clr-gray-50: #FAFBFC;
  --clr-gray-100: #EEF0F2;
  --clr-gray-200: #D8DBE0;
  --clr-gray-300: #A8ADB5;
  --clr-gray-400: #7D838D;
  --clr-gray-500: #545A65;
  --clr-gray-600: #3A3F48;
  --clr-gray-700: #252930;
  --clr-success: #2ECC71;
  --clr-warning: #F39C12;
  --clr-error: #E74C3C;

  /* Typography */
  --ff-display: 'Bebas Neue', 'Impact', sans-serif;
  --ff-heading: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --ff-body: 'Barlow', 'Helvetica Neue', sans-serif;

  /* Font Sizes - Fluid scale */
  --fs-display: clamp(3.5rem, 8vw, 6rem);
  --fs-h1: clamp(2.5rem, 5vw, 4rem);
  --fs-h2: clamp(2rem, 4vw, 3rem);
  --fs-h3: clamp(1.5rem, 2.5vw, 2rem);
  --fs-h4: clamp(1.125rem, 1.5vw, 1.375rem);
  --fs-body-lg: 1.125rem;
  --fs-body: 1rem;
  --fs-body-sm: 0.9375rem;
  --fs-small: 0.8125rem;
  --fs-caption: 0.75rem;

  /* Font Weights */
  --fw-light: 300;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-semibold: 600;
  --fw-bold: 700;

  /* Spacing */
  --sp-2xs: 0.25rem;
  --sp-xs: 0.5rem;
  --sp-sm: 0.75rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;
  --sp-4xl: 6rem;
  --sp-5xl: 8rem;

  /* Section Padding */
  --section-py: clamp(4rem, 8vw, 7rem);
  --section-px: clamp(1rem, 3vw, 2rem);

  /* Container */
  --container-max: 1280px;
  --container-narrow: 960px;
  --container-wide: 1440px;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 12px 32px rgba(0,0,0,0.12), 0 4px 8px rgba(0,0,0,0.08);
  --shadow-xl: 0 24px 48px rgba(0,0,0,0.16), 0 8px 16px rgba(0,0,0,0.1);
  --shadow-orange: 0 8px 24px rgba(232, 106, 42, 0.3);
  --shadow-card: 0 4px 20px rgba(10, 22, 40, 0.08);
  --shadow-card-hover: 0 12px 40px rgba(10, 22, 40, 0.15);

  /* Transitions */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --duration-fast: 200ms;
  --duration-normal: 350ms;
  --duration-slow: 600ms;

  /* Z-Index Layers */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-overlay: 300;
  --z-modal: 400;
  --z-toast: 500;

  /* Header */
  --header-height: 80px;
  --header-height-scrolled: 64px;
}

/* ======================
   2. RESET & BASE
   ====================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: var(--header-height);
}

body {
  font-family: var(--ff-body);
  font-size: var(--fs-body);
  font-weight: var(--fw-regular);
  line-height: 1.7;
  color: var(--clr-gray-600);
  background-color: var(--clr-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--duration-fast) var(--ease-out);
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
  font-size: inherit;
}

ul, ol {
  list-style: none;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

::selection {
  background: var(--clr-orange);
  color: var(--clr-white);
}

/* ======================
   3. TYPOGRAPHY
   ====================== */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  font-weight: var(--fw-bold);
}

.display {
  font-family: var(--ff-display);
  font-size: var(--fs-display);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  line-height: 0.95;
}

h1, .h1 {
  font-family: var(--ff-display);
  font-size: var(--fs-h1);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h2, .h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h3, .h3 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h3);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.01em;
}

h4, .h4 {
  font-family: var(--ff-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-semibold);
}

.text-lg { font-size: var(--fs-body-lg); }
.text-sm { font-size: var(--fs-body-sm); }
.text-small { font-size: var(--fs-small); }
.text-caption { font-size: var(--fs-caption); }
.text-uppercase { text-transform: uppercase; letter-spacing: 0.08em; }

.text-gradient {
  background: linear-gradient(135deg, var(--clr-orange), var(--clr-orange-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-navy { color: var(--clr-navy); }
.text-orange { color: var(--clr-orange); }
.text-white { color: var(--clr-white); }
.text-gray { color: var(--clr-gray-400); }
.text-muted { color: var(--clr-gray-300); }

.lead {
  font-size: var(--fs-body-lg);
  line-height: 1.8;
  color: var(--clr-gray-400);
}

/* ======================
   4. LAYOUT
   ====================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--section-px);
}

.container--narrow {
  max-width: var(--container-narrow);
}

.container--wide {
  max-width: var(--container-wide);
}

.grid {
  display: grid;
  gap: var(--sp-xl);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

.flex {
  display: flex;
  gap: var(--sp-lg);
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ======================
   5. NAVIGATION & HEADER
   ====================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  height: var(--header-height);
  display: flex;
  align-items: center;
  transition: all var(--duration-normal) var(--ease-out);
  background: transparent;
}

.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--clr-navy);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  pointer-events: none;
}

.site-header.scrolled {
  height: var(--header-height-scrolled);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.site-header.scrolled::before {
  opacity: 0.98;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container-wide);
  margin-inline: auto;
  padding-inline: var(--section-px);
  position: relative;
  z-index: 2;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  text-decoration: none;
}

.logo-mark {
  width: 44px;
  height: 44px;
  background: var(--clr-orange);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--clr-white);
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.logo-mark::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, transparent 40%, rgba(255,255,255,0.15) 50%, transparent 60%);
  transition: transform var(--duration-slow) var(--ease-out);
}

.logo:hover .logo-mark::after {
  transform: translateX(100%);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text .brand-name {
  font-family: var(--ff-display);
  font-size: 1.375rem;
  color: var(--clr-white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.logo-text .brand-sub {
  font-family: var(--ff-heading);
  font-size: 0.625rem;
  color: var(--clr-orange);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: var(--fw-semibold);
}

/* Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--sp-2xl);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}

.nav-link {
  font-family: var(--ff-heading);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: var(--sp-xs) 0;
  transition: color var(--duration-fast) var(--ease-out);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--clr-orange);
  transition: width var(--duration-normal) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--clr-white);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--sp-xs);
  cursor: pointer;
  z-index: var(--z-modal);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-white);
  border-radius: 2px;
  transition: all var(--duration-normal) var(--ease-out);
  transform-origin: center;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: translateX(-10px);
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav Overlay */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--clr-navy-dark);
  z-index: var(--z-overlay);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xl);
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav .nav-link {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  color: var(--clr-white);
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .main-nav .btn { display: none; }
  .nav-toggle { display: flex; }
  .mobile-nav { display: flex; }
}

/* ======================
   6. FOOTER
   ====================== */
.site-footer {
  background: var(--clr-navy-dark);
  color: var(--clr-gray-300);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--clr-orange), var(--clr-orange-light), var(--clr-gold));
}

.footer-main {
  padding: var(--sp-4xl) 0 var(--sp-3xl);
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: var(--sp-3xl);
}

.footer-brand {
  max-width: 300px;
}

.footer-brand .logo {
  margin-bottom: var(--sp-lg);
}

.footer-brand p {
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  margin-bottom: var(--sp-xl);
  color: var(--clr-gray-400);
}

.footer-social {
  display: flex;
  gap: var(--sp-sm);
}

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gray-300);
  font-size: 1rem;
  transition: all var(--duration-fast) var(--ease-out);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.social-icon:hover {
  background: var(--clr-orange);
  color: var(--clr-white);
  border-color: var(--clr-orange);
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--ff-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-bold);
  color: var(--clr-white);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: var(--sp-xl);
  position: relative;
  padding-bottom: var(--sp-sm);
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--clr-orange);
}

.footer-links li {
  margin-bottom: var(--sp-sm);
}

.footer-links a {
  font-size: var(--fs-body-sm);
  color: var(--clr-gray-400);
  transition: all var(--duration-fast) var(--ease-out);
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
}

.footer-links a::before {
  content: '';
  width: 0;
  height: 1px;
  background: var(--clr-orange);
  transition: width var(--duration-fast) var(--ease-out);
}

.footer-links a:hover {
  color: var(--clr-white);
}

.footer-links a:hover::before {
  width: 12px;
}

.footer-newsletter {
  position: relative;
}

.newsletter-form {
  display: flex;
  gap: var(--sp-xs);
  margin-top: var(--sp-sm);
}

.newsletter-form input {
  flex: 1;
  padding: var(--sp-sm) var(--sp-md);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  color: var(--clr-white);
  font-size: var(--fs-body-sm);
  transition: border-color var(--duration-fast) var(--ease-out);
}

.newsletter-form input::placeholder {
  color: var(--clr-gray-500);
}

.newsletter-form input:focus {
  border-color: var(--clr-orange);
}

.newsletter-form button {
  padding: var(--sp-sm) var(--sp-lg);
  background: var(--clr-orange);
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: var(--fs-body-sm);
  border-radius: var(--radius-md);
  transition: all var(--duration-fast) var(--ease-out);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--clr-orange-dark);
  transform: translateY(-1px);
}

.footer-bottom {
  padding: var(--sp-xl) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: var(--fs-small);
  color: var(--clr-gray-500);
}

.footer-bottom a {
  color: var(--clr-gray-400);
  transition: color var(--duration-fast);
}

.footer-bottom a:hover {
  color: var(--clr-orange);
}

@media (max-width: 900px) {
  .footer-main {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--sp-2xl);
  }
  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-sm);
    text-align: center;
  }
}

/* ======================
   7. BUTTONS
   ====================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  padding: 0.875rem 2rem;
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: var(--radius-md);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity var(--duration-fast);
}

.btn:hover::before {
  opacity: 1;
}

.btn--primary {
  background: var(--clr-orange);
  color: var(--clr-white);
  border-color: var(--clr-orange);
}

.btn--primary:hover {
  background: var(--clr-orange-dark);
  border-color: var(--clr-orange-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn--secondary {
  background: var(--clr-navy);
  color: var(--clr-white);
  border-color: var(--clr-navy);
}

.btn--secondary:hover {
  background: var(--clr-navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: transparent;
  color: var(--clr-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn--outline:hover {
  border-color: var(--clr-white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.btn--outline-dark {
  background: transparent;
  color: var(--clr-navy);
  border-color: var(--clr-gray-200);
}

.btn--outline-dark:hover {
  border-color: var(--clr-orange);
  color: var(--clr-orange);
  transform: translateY(-2px);
}

.btn--ghost {
  background: transparent;
  color: var(--clr-orange);
  padding: 0.5rem 0;
  border-radius: 0;
}

.btn--ghost::after {
  content: '\2192';
  transition: transform var(--duration-fast) var(--ease-out);
}

.btn--ghost:hover::after {
  transform: translateX(4px);
}

.btn--lg {
  padding: 1.125rem 2.5rem;
  font-size: var(--fs-body);
}

.btn--sm {
  padding: 0.625rem 1.25rem;
  font-size: var(--fs-small);
}

.btn--full {
  width: 100%;
}

/* ======================
   8. CARDS
   ====================== */
.card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
}

.card-img {
  width: 100%;
  aspect-ratio: 16/10;
  background: var(--clr-gray-100);
  position: relative;
  overflow: hidden;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.card:hover .card-img img {
  transform: scale(1.05);
}

.card-body {
  padding: var(--sp-xl);
}

/* Partner logo grid — when the grid stretches all cards to the tallest
   card's height, force the inner card-body to fill that height so
   centered content actually appears centered. Without this, cards with
   a short logo (e.g. wordmarks at ~20px tall) leave a stripe of empty
   space below the card-body since the body only honors its min-height. */
.partner-logo-grid > .card,
.partner-logo-grid > a.card {
  display: flex;
  flex-direction: column;
}
.partner-logo-grid .card > .card-body {
  flex: 1;
}

.card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-family: var(--ff-heading);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-full);
  background: var(--clr-orange-glow);
  color: var(--clr-orange);
  margin-bottom: var(--sp-sm);
}

.card-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin-bottom: var(--sp-sm);
}

.card-text {
  font-size: var(--fs-body-sm);
  color: var(--clr-gray-400);
  line-height: 1.6;
}

/* ======================
   9. SECTIONS
   ====================== */
.section {
  padding: var(--section-py) 0;
  position: relative;
}

.section--dark {
  background: var(--clr-navy);
  color: var(--clr-white);
}

.section--dark .lead {
  color: var(--clr-gray-300);
}

.section--gray {
  background: var(--clr-gray-50);
}

.section--accent {
  background: linear-gradient(135deg, var(--clr-orange), var(--clr-orange-dark));
  color: var(--clr-white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: var(--sp-3xl);
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--clr-orange);
  margin-bottom: var(--sp-md);
}

.section-label::before,
.section-label::after {
  content: '';
  width: 20px;
  height: 1px;
  background: var(--clr-orange);
}

.section-header h2 {
  margin-bottom: var(--sp-lg);
}

.section-header .lead {
  max-width: 560px;
  margin-inline: auto;
}

/* Diagonal Section Divider */
.section--angle-top {
  clip-path: polygon(0 40px, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(var(--section-py) + 40px);
}

.section--angle-bottom {
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 40px), 0 100%);
  padding-bottom: calc(var(--section-py) + 40px);
}

/* ======================
   10. HERO SECTION
   ====================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: var(--clr-navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

/* Background video — works for both <video> (uploaded MP4) and <iframe>
   (YouTube). Uploaded video uses object-fit cover; YouTube iframe stretches
   to fill and letterboxes internally, but the dark gradient overlay above it
   masks any aspect mismatch. */
.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  border: 0;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(6, 14, 26, 0.95) 0%,
    rgba(10, 22, 40, 0.8) 50%,
    rgba(6, 14, 26, 0.9) 100%
  );
}

/* Court line decorations */
.hero-court-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.hero-court-lines::before {
  content: '';
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 500px;
  height: 500px;
  border: 2px solid rgba(232, 106, 42, 0.08);
  border-radius: 50%;
}

.hero-court-lines::after {
  content: '';
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  width: 200px;
  height: 200px;
  border: 2px solid rgba(232, 106, 42, 0.06);
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: calc(var(--header-height) + var(--sp-3xl)) 0 var(--sp-3xl);
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-xs);
  background: rgba(232, 106, 42, 0.12);
  border: 1px solid rgba(232, 106, 42, 0.2);
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--radius-full);
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-semibold);
  color: var(--clr-orange-light);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--sp-xl);
}

.hero-label .dot {
  width: 6px;
  height: 6px;
  background: var(--clr-orange);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

.hero .display {
  color: var(--clr-white);
  margin-bottom: var(--sp-xl);
}

.hero .display span {
  color: var(--clr-orange);
}

.hero .lead {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: var(--sp-2xl);
  max-width: 540px;
}

.hero-actions {
  display: flex;
  gap: var(--sp-md);
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: var(--sp-2xl);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--sp-sm);
  color: rgba(255, 255, 255, 0.4);
  font-size: var(--fs-caption);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-family: var(--ff-heading);
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--clr-orange), transparent);
  animation: scroll-line 2s infinite;
}

/* Page Hero (for inner pages) */
.page-hero {
  padding: calc(var(--header-height) + var(--sp-4xl)) 0 var(--sp-3xl);
  background: var(--clr-navy);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.page-hero::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border: 2px solid rgba(232, 106, 42, 0.06);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 400px;
  height: 400px;
  border: 2px solid rgba(232, 106, 42, 0.04);
  border-radius: 50%;
  pointer-events: none;
}

.page-hero .breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-xs);
  font-size: var(--fs-small);
  color: var(--clr-gray-400);
  margin-bottom: var(--sp-lg);
}

.page-hero .breadcrumb a {
  color: var(--clr-gray-400);
  transition: color var(--duration-fast);
}

.page-hero .breadcrumb a:hover {
  color: var(--clr-orange);
}

.page-hero .breadcrumb .separator {
  color: var(--clr-gray-500);
}

.page-hero h1 {
  color: var(--clr-white);
  margin-bottom: var(--sp-md);
}

.page-hero .lead {
  color: var(--clr-gray-300);
  max-width: 560px;
  margin-inline: auto;
}

/* ======================
   11. STATS COUNTER
   ====================== */
.stats-bar {
  background: var(--clr-navy);
  position: relative;
  z-index: 3;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stat-item {
  padding: var(--sp-2xl) var(--sp-xl);
  text-align: center;
  position: relative;
  transition: background var(--duration-fast);
}

.stat-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 20%;
  height: 60%;
  width: 1px;
  background: rgba(255, 255, 255, 0.06);
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.stat-number {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  color: var(--clr-orange);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.stat-number .suffix {
  font-size: 0.6em;
}

.stat-label {
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--clr-gray-400);
}

@media (max-width: 768px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stat-item:nth-child(2)::after {
    display: none;
  }
  .stat-item:nth-child(1),
  .stat-item:nth-child(2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }
}

/* ======================
   12. TESTIMONIALS
   ====================== */
.testimonial-carousel {
  position: relative;
}

/* Stacked-slide carousel: active slide is in normal flow so the container
   collapses to its height; inactive slides are absolute-positioned and
   faded out so they don't add height. Replaces the old flex+translateX
   approach which sized the track to the tallest slide and left empty
   space below shorter ones. */
.testimonial-track {
  position: relative;
}

.testimonial-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0 var(--sp-xl);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-slow) var(--ease-out);
}

.testimonial-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}

.testimonial-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-card);
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}

.testimonial-card::before {
  content: '\201C';
  font-family: var(--ff-display);
  font-size: 6rem;
  color: var(--clr-orange);
  opacity: 0.15;
  position: absolute;
  top: var(--sp-md);
  left: var(--sp-xl);
  line-height: 1;
}

.testimonial-text {
  font-size: var(--fs-body-lg);
  font-style: italic;
  line-height: 1.8;
  color: var(--clr-gray-600);
  margin-bottom: var(--sp-xl);
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
}

.testimonial-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--clr-gray-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--ff-display);
  font-size: 1.25rem;
  color: var(--clr-navy);
  flex-shrink: 0;
}

.testimonial-name {
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  font-size: var(--fs-body);
}

.testimonial-role {
  font-size: var(--fs-small);
  color: var(--clr-gray-400);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-2xl);
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-gray-200);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}

.testimonial-dot.active {
  background: var(--clr-orange);
  transform: scale(1.2);
}

.testimonial-nav {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  margin-top: var(--sp-xl);
}

.testimonial-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--clr-gray-200);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-navy);
  transition: all var(--duration-fast) var(--ease-out);
}

.testimonial-btn:hover {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
  color: var(--clr-white);
}

/* ======================
   13. PROGRAM CARDS
   ====================== */
.program-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.program-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--clr-orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-normal) var(--ease-out);
}

.program-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(232, 106, 42, 0.1);
}

.program-card:hover::before {
  transform: scaleX(1);
}

.program-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: var(--clr-orange-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-xl);
  font-size: 1.5rem;
  transition: all var(--duration-normal) var(--ease-out);
}

.program-card:hover .program-icon {
  background: var(--clr-orange);
  color: var(--clr-white);
  transform: scale(1.05);
}

.program-card h3 {
  color: var(--clr-navy);
  margin-bottom: var(--sp-sm);
}

.program-card p {
  color: var(--clr-gray-400);
  font-size: var(--fs-body-sm);
  line-height: 1.7;
  margin-bottom: var(--sp-lg);
}

.program-features {
  list-style: none;
}

.program-features li {
  padding: var(--sp-xs) 0;
  font-size: var(--fs-body-sm);
  color: var(--clr-gray-500);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.program-features li::before {
  content: '\2713';
  color: var(--clr-orange);
  font-weight: bold;
  font-size: 0.75rem;
  flex-shrink: 0;
}

/* ======================
   14. PRICING CARDS
   ====================== */
.price-card {
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 2px solid transparent;
  transition: all var(--duration-normal) var(--ease-out);
}

.price-card.featured {
  border-color: var(--clr-orange);
  transform: scale(1.02);
}

.price-card.featured::before {
  content: 'Most Popular';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: var(--clr-orange);
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-size: var(--fs-caption);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: var(--sp-xs);
}

.price-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.price-card.featured:hover {
  transform: scale(1.02) translateY(-4px);
}

.price-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin-bottom: var(--sp-sm);
}

.price-desc {
  font-size: var(--fs-body-sm);
  color: var(--clr-gray-400);
  margin-bottom: var(--sp-xl);
}

.price-amount {
  font-family: var(--ff-display);
  font-size: 3.5rem;
  color: var(--clr-navy);
  line-height: 1;
  margin-bottom: var(--sp-xs);
}

.price-amount .currency {
  font-size: 0.5em;
  vertical-align: super;
}

.price-amount .period {
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  color: var(--clr-gray-400);
  font-weight: var(--fw-regular);
}

.price-features {
  text-align: left;
  margin: var(--sp-xl) 0;
  padding-top: var(--sp-xl);
  border-top: 1px solid var(--clr-gray-100);
}

.price-features li {
  padding: var(--sp-xs) 0;
  font-size: var(--fs-body-sm);
  color: var(--clr-gray-500);
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.price-features li::before {
  content: '\2713';
  color: var(--clr-orange);
  font-weight: bold;
  flex-shrink: 0;
}

.price-features li.disabled {
  color: var(--clr-gray-300);
  text-decoration: line-through;
}

.price-features li.disabled::before {
  content: '\2715';
  color: var(--clr-gray-300);
}

/* ======================
   15. TIMELINE
   ====================== */
.timeline {
  position: relative;
  padding: var(--sp-xl) 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--clr-gray-100);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: var(--sp-2xl);
  position: relative;
}

.timeline-item:nth-child(odd) {
  flex-direction: row;
  text-align: right;
}

.timeline-item:nth-child(even) {
  flex-direction: row-reverse;
  text-align: left;
}

.timeline-content {
  width: calc(50% - 40px);
  padding: var(--sp-xl);
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.timeline-dot {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: var(--clr-orange);
  border-radius: 50%;
  border: 3px solid var(--clr-white);
  box-shadow: var(--shadow-sm);
  z-index: 2;
}

.timeline-year {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  color: var(--clr-orange);
  margin-bottom: var(--sp-xs);
}

.timeline-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin-bottom: var(--sp-xs);
}

.timeline-text {
  font-size: var(--fs-body-sm);
  color: var(--clr-gray-400);
}

@media (max-width: 768px) {
  .timeline::before {
    left: 20px;
  }
  .timeline-item,
  .timeline-item:nth-child(odd),
  .timeline-item:nth-child(even) {
    flex-direction: row;
    text-align: left;
    padding-left: 50px;
  }
  .timeline-dot {
    left: 20px;
  }
  .timeline-content {
    width: 100%;
  }
}

/* ======================
   16. STAFF/TEAM CARDS
   ====================== */
.staff-card {
  text-align: center;
  transition: all var(--duration-normal) var(--ease-out);
}

.staff-card:hover {
  transform: translateY(-4px);
}

.staff-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: var(--sp-lg);
  background: var(--clr-gray-100);
  position: relative;
}

.staff-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.6), transparent 50%);
  opacity: 0;
  transition: opacity var(--duration-normal);
}

.staff-card:hover .staff-img::after {
  opacity: 1;
}

.staff-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-name {
  font-family: var(--ff-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin-bottom: var(--sp-2xs);
}

.staff-role {
  font-size: var(--fs-small);
  color: var(--clr-orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
}

/* ======================
   17. SCHEDULE TABLE
   ====================== */
.schedule-table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--clr-white);
  min-width: 700px;
}

.schedule-table thead {
  background: var(--clr-navy);
}

.schedule-table th {
  padding: var(--sp-lg) var(--sp-md);
  font-family: var(--ff-heading);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--clr-white);
  text-align: left;
}

.schedule-table td {
  padding: var(--sp-md);
  font-size: var(--fs-body-sm);
  border-bottom: 1px solid var(--clr-gray-100);
  color: var(--clr-gray-500);
}

.schedule-table tr:hover td {
  background: var(--clr-gray-50);
}

.schedule-table .time-cell {
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
  color: var(--clr-navy);
  white-space: nowrap;
}

.schedule-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.schedule-badge--youth {
  background: rgba(46, 204, 113, 0.1);
  color: var(--clr-success);
}

.schedule-badge--elite {
  background: var(--clr-orange-glow);
  color: var(--clr-orange);
}

.schedule-badge--prep {
  background: rgba(52, 152, 219, 0.1);
  color: #3498DB;
}

.schedule-badge--private {
  background: rgba(212, 168, 67, 0.1);
  color: var(--clr-gold);
}

/* ======================
   18. EVENT CARDS
   ====================== */
.event-card {
  display: flex;
  background: var(--clr-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--duration-normal) var(--ease-out);
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
}

.event-date {
  background: var(--clr-navy);
  color: var(--clr-white);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 100px;
  text-align: center;
}

.event-date .month {
  font-family: var(--ff-heading);
  font-size: var(--fs-caption);
  font-weight: var(--fw-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--clr-orange);
}

.event-date .day {
  font-family: var(--ff-display);
  font-size: 2.5rem;
  line-height: 1;
}

.event-body {
  padding: var(--sp-xl);
  flex: 1;
}

.event-title {
  font-family: var(--ff-heading);
  font-size: var(--fs-h4);
  font-weight: var(--fw-bold);
  color: var(--clr-navy);
  margin-bottom: var(--sp-xs);
}

.event-meta {
  display: flex;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-sm);
  font-size: var(--fs-small);
  color: var(--clr-gray-400);
}

.event-meta span {
  display: flex;
  align-items: center;
  gap: var(--sp-2xs);
}

.event-desc {
  font-size: var(--fs-body-sm);
  color: var(--clr-gray-400);
  line-height: 1.6;
}

@media (max-width: 640px) {
  .event-card {
    flex-direction: column;
  }
  .event-date {
    flex-direction: row;
    gap: var(--sp-sm);
    min-width: unset;
    padding: var(--sp-md) var(--sp-xl);
  }
}

/* ======================
   19. GALLERY GRID
   ====================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-2xl);
  flex-wrap: wrap;
}

.filter-btn {
  padding: var(--sp-xs) var(--sp-lg);
  font-family: var(--ff-heading);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--clr-gray-400);
  border: 1px solid var(--clr-gray-200);
  border-radius: var(--radius-full);
  transition: all var(--duration-fast) var(--ease-out);
  cursor: pointer;
  background: transparent;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--clr-orange);
  color: var(--clr-white);
  border-color: var(--clr-orange);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: var(--sp-md);
}

.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  background: var(--clr-gray-100);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 22, 40, 0.8), transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  display: flex;
  align-items: flex-end;
  padding: var(--sp-lg);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-body-sm);
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: rgba(6, 14, 26, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--duration-normal) var(--ease-out);
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-close {
  position: absolute;
  top: var(--sp-xl);
  right: var(--sp-xl);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: var(--clr-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background var(--duration-fast);
}

.lightbox-close:hover {
  background: var(--clr-orange);
}

.lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
}

/* ======================
   20. CONTACT FORM
   ====================== */
.form-group {
  margin-bottom: var(--sp-lg);
}

.form-label {
  display: block;
  font-family: var(--ff-heading);
  font-size: var(--fs-body-sm);
  font-weight: var(--fw-semibold);
  color: var(--clr-navy);
  margin-bottom: var(--sp-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  padding: var(--sp-sm) var(--sp-md);
  background: var(--clr-gray-50);
  border: 2px solid var(--clr-gray-100);
  border-radius: var(--radius-md);
  color: var(--clr-gray-600);
  font-size: var(--fs-body);
  transition: all var(--duration-fast) var(--ease-out);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--clr-orange);
  background: var(--clr-white);
  box-shadow: 0 0 0 4px var(--clr-orange-glow);
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: var(--clr-gray-300);
}

.form-textarea {
  min-height: 150px;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
}

@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ======================
   21. FAQ ACCORDION
   ====================== */
.accordion {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.accordion-item {
  border-bottom: 1px solid var(--clr-gray-100);
  background: var(--clr-white);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  width: 100%;
  padding: var(--sp-lg) var(--sp-xl);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-md);
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--ff-heading);
  font-size: var(--fs-body);
  font-weight: var(--fw-semibold);
  color: var(--clr-navy);
  transition: all var(--duration-fast) var(--ease-out);
}

.accordion-header:hover {
  background: var(--clr-gray-50);
}

.accordion-icon {
  width: 24px;
  height: 24px;
  position: relative;
  flex-shrink: 0;
}

.accordion-icon::before,
.accordion-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--clr-orange);
  transition: transform var(--duration-fast) var(--ease-out);
}

.accordion-icon::before {
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.accordion-icon::after {
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}

.accordion-item.open .accordion-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--duration-normal) var(--ease-out);
}

.accordion-content {
  padding: 0 var(--sp-xl) var(--sp-xl);
  font-size: var(--fs-body-sm);
  color: var(--clr-gray-400);
  line-height: 1.7;
}

/* ======================
   22. CTA SECTIONS
   ====================== */
.cta-section {
  background: linear-gradient(135deg, var(--clr-navy) 0%, var(--clr-navy-mid) 100%);
  padding: var(--sp-4xl) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 2px solid rgba(232, 106, 42, 0.08);
  border-radius: 50%;
  pointer-events: none;
}

.cta-section h2 {
  color: var(--clr-white);
  margin-bottom: var(--sp-md);
}

.cta-section .lead {
  color: var(--clr-gray-300);
  margin-bottom: var(--sp-2xl);
  max-width: 540px;
  margin-inline: auto;
}

/* ======================
   23. PARTNERS / LOGOS
   ====================== */
.partners-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3xl);
  flex-wrap: wrap;
  opacity: 0.5;
  filter: grayscale(100%);
  transition: all var(--duration-normal);
}

.partners-strip:hover {
  opacity: 0.7;
  filter: grayscale(50%);
}

.partner-logo {
  height: 40px;
  display: flex;
  align-items: center;
  font-family: var(--ff-display);
  font-size: 1.5rem;
  color: var(--clr-gray-400);
  letter-spacing: 0.05em;
}

/* ======================
   24. DECORATIVE ELEMENTS
   ====================== */

/* Basketball court arc */
.court-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.court-decoration--arc {
  width: 300px;
  height: 150px;
  border: 2px solid rgba(232, 106, 42, 0.06);
  border-radius: 0 0 150px 150px;
  border-top: none;
}

/* Basketball texture pattern */
.texture-dots {
  background-image: radial-gradient(rgba(232, 106, 42, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* Diagonal stripe decoration */
.stripe-accent {
  position: absolute;
  width: 200px;
  height: 4px;
  background: linear-gradient(90deg, var(--clr-orange), transparent);
  opacity: 0.3;
}

/* ======================
   25. ANIMATIONS
   ====================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

@keyframes scroll-line {
  0% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
  51% {
    transform-origin: bottom;
  }
  100% {
    opacity: 0;
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes countUp {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Scroll-triggered animation classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity var(--duration-slow) var(--ease-out),
              transform var(--duration-slow) var(--ease-out);
}

.reveal-scale.visible {
  opacity: 1;
  transform: scale(1);
}

/* Stagger delays */
.stagger-1 { transition-delay: 100ms; }
.stagger-2 { transition-delay: 200ms; }
.stagger-3 { transition-delay: 300ms; }
.stagger-4 { transition-delay: 400ms; }
.stagger-5 { transition-delay: 500ms; }

/* ======================
   26. UTILITIES
   ====================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mx-auto { margin-inline: auto; }
.mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); }
.mt-lg { margin-top: var(--sp-lg); }
.mt-xl { margin-top: var(--sp-xl); }
.mt-2xl { margin-top: var(--sp-2xl); }
.mt-3xl { margin-top: var(--sp-3xl); }
.mb-sm { margin-bottom: var(--sp-sm); }
.mb-md { margin-bottom: var(--sp-md); }
.mb-lg { margin-bottom: var(--sp-lg); }
.mb-xl { margin-bottom: var(--sp-xl); }
.mb-2xl { margin-bottom: var(--sp-2xl); }
.mb-3xl { margin-bottom: var(--sp-3xl); }

.pt-0 { padding-top: 0; }
.pb-0 { padding-bottom: 0; }

.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

.relative { position: relative; }
.overflow-hidden { overflow: hidden; }

.w-full { width: 100%; }
.max-w-narrow { max-width: var(--container-narrow); }

/* Image placeholder utility */
.img-placeholder {
  background: linear-gradient(135deg, var(--clr-gray-100), var(--clr-gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-gray-300);
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ======================
   27. RESPONSIVE GLOBAL
   ====================== */
@media (max-width: 768px) {
  .hero-content {
    text-align: center;
  }
  .hero .lead {
    margin-inline: auto;
  }
  .hero-actions {
    justify-content: center;
  }
  .section-header {
    margin-bottom: var(--sp-2xl);
  }
}

/* ======================
   28. FEATURED VIDEO / REEL SPOTLIGHT / SPOTLIGHT
   ====================== */

/* --- Video Section grid (mba/video-section block) ---
   Per-slot frame, switchable between horizontal (16:9) and vertical (9:16)
   via the .video-frame--vertical modifier. Image / iframe / video children
   all fill the frame with object-fit cover so any media works. */
.video-card .video-frame {
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-navy);
}
.video-card .video-frame--vertical {
  aspect-ratio: 9 / 16;
  max-width: 360px;
  margin-inline: auto;
}
.video-card .video-frame > img,
.video-card .video-frame > video,
.video-card .video-frame > iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
  object-fit: cover;
}
.video-card-title {
  margin-top: var(--sp-sm);
  color: var(--clr-gray-600);
  font-family: var(--ff-heading);
  font-weight: 600;
  font-size: var(--fs-body-sm);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.video-card-title--dark {
  color: var(--clr-gray-300);
}

/* --- Featured Video (single 16:9, headline / press) --- */
.featured-video .featured-video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #0a1628;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.featured-video .featured-video-frame iframe,
.featured-video .featured-video-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.featured-video .featured-video-cta {
  text-align: center;
  margin-top: var(--sp-xl);
}

/* --- Reel Spotlight (video + story copy) ---
   Aspect-aware via CSS custom properties. Vertical (default) is 9:16
   phone-frame, max 360px. Horizontal is 16:9, max 640px. The mediaSide
   modifier (left|right) places the video frame on either side; mobile
   stacks. */
.reel-spotlight {
  --reel-frame-width: 360px;
  --reel-frame-aspect: 9 / 16;
}
.reel-spotlight--horizontal {
  --reel-frame-width: 640px;
  --reel-frame-aspect: 16 / 9;
}
.reel-spotlight .reel-spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, var(--reel-frame-width)) 1fr;
  gap: var(--sp-3xl);
  align-items: center;
}
.reel-spotlight--right .reel-spotlight-grid {
  grid-template-columns: 1fr minmax(0, var(--reel-frame-width));
}
.reel-spotlight--right .reel-spotlight-frame { order: 2; }
.reel-spotlight--right .reel-spotlight-copy { order: 1; }
.reel-spotlight .reel-spotlight-frame {
  position: relative;
  aspect-ratio: var(--reel-frame-aspect);
  width: 100%;
  max-width: var(--reel-frame-width);
  background: #0a1628;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 0 auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}
.reel-spotlight .reel-spotlight-frame iframe,
.reel-spotlight .reel-spotlight-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.reel-spotlight .reel-spotlight-copy .section-label {
  display: inline-flex;
  margin-bottom: var(--sp-sm);
}
.reel-spotlight .reel-spotlight-copy h2 { margin-bottom: var(--sp-md); }
.reel-spotlight .reel-spotlight-copy .lead { margin-bottom: var(--sp-xl); }

/* --- Spotlight ACF block (athlete commitments / news) ---
   Stacked announcement card — narrow centered column with framed photo. The
   layout DNA differs from acf-about-preview's horizontal info-split so the
   two blocks don't read as the same component.                            */
.spotlight .spotlight-card {
  max-width: 640px;
  margin-inline: auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.spotlight .spotlight-photo {
  position: relative;
  width: 100%;
  max-width: 400px;
  margin: 0 auto var(--sp-2xl);
}
.spotlight .spotlight-photo-frame {
  position: absolute;
  inset: 0;
  background: var(--clr-orange);
  border-radius: var(--radius-lg);
  transform: translate(20px, 22px);
  z-index: 0;
}
.spotlight .spotlight-photo-img,
.spotlight .spotlight-photo .img-placeholder {
  position: relative;
  z-index: 1;
  width: 100%;
  display: block;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.22);
}
.spotlight .spotlight-label {
  font-family: var(--ff-heading);
  font-size: var(--fs-small);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--clr-orange);
  margin-bottom: var(--sp-md);
}
.spotlight.section--dark .spotlight-label { color: var(--clr-gold); }
.spotlight .spotlight-headline {
  margin-bottom: var(--sp-lg);
}
.spotlight .spotlight-body {
  font-size: var(--fs-body-lg);
  line-height: 1.75;
  color: var(--clr-gray-500);
  max-width: 580px;
  margin: 0 auto var(--sp-xl);
}
.spotlight.section--dark .spotlight-body { color: var(--clr-gray-300); }
.spotlight .spotlight-cta { margin-top: var(--sp-sm); }

/* --- Spotlight carousel (renders when repeater has 2+ rows) ---
   Mirrors the .testimonial-carousel stacked-slide pattern: active slide is
   in normal flow; inactive slides absolute-positioned and faded so the
   container collapses to active height instead of leaving white space. */
.spotlight-carousel {
  position: relative;
  max-width: 720px;
  margin-inline: auto;
}
.spotlight-track {
  position: relative;
}
.spotlight-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--duration-normal) var(--ease-out);
}
.spotlight-slide.is-active {
  position: relative;
  opacity: 1;
  pointer-events: auto;
}
.spotlight-dots {
  display: flex;
  justify-content: center;
  gap: var(--sp-xs);
  margin-top: var(--sp-2xl);
}
.spotlight-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--clr-gray-200);
  border: 0;
  cursor: pointer;
  padding: 0;
  transition: all var(--duration-fast) var(--ease-out);
}
.spotlight-dot.active {
  background: var(--clr-orange);
  transform: scale(1.2);
}
.spotlight-nav {
  display: flex;
  gap: var(--sp-sm);
  justify-content: center;
  margin-top: var(--sp-xl);
}
.spotlight-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--clr-gray-200);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-navy);
  cursor: pointer;
  transition: all var(--duration-fast) var(--ease-out);
}
.spotlight-btn:hover {
  background: var(--clr-orange);
  border-color: var(--clr-orange);
  color: var(--clr-white);
}
.spotlight.section--dark .spotlight-btn {
  color: var(--clr-white);
  border-color: var(--clr-gray-500);
}
.spotlight.section--dark .spotlight-dot {
  background: var(--clr-gray-500);
}
.spotlight.section--dark .spotlight-dot.active {
  background: var(--clr-gold);
}

@media (max-width: 768px) {
  .reel-spotlight .reel-spotlight-grid,
  .reel-spotlight--right .reel-spotlight-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-xl);
  }
  .reel-spotlight--right .reel-spotlight-frame,
  .reel-spotlight--right .reel-spotlight-copy { order: initial; }
  .reel-spotlight .reel-spotlight-copy { text-align: center; }
  .reel-spotlight .reel-spotlight-copy .section-label { justify-content: center; }
  .spotlight .spotlight-photo { max-width: 320px; }
  .spotlight .spotlight-photo-frame { transform: translate(14px, 16px); }
}

/* ======================
   29. PRINT STYLES
   ====================== */
@media print {
  .site-header,
  .site-footer,
  .hero-court-lines,
  .hero-scroll { display: none; }
  body {
    color: #000;
    background: #fff;
  }
  .section {
    padding: 1rem 0;
  }
}

/* ======================
   30. BLOG (landing + single post)
   ====================== */

/* Pages without a dark hero behind the nav (blog, archives, search, 404)
   need the navy header bar painted from the start — default header is
   transparent and only fades navy in on scroll. White nav text on a white
   page is invisible. The body_class filter in functions.php applies
   .has-solid-header on those pages.

   Also adds top padding so the now-solid header doesn't overlap content. */
body.has-solid-header .site-header::before {
  opacity: 0.98;
}
body.has-solid-header .blog-container {
  padding-top: calc(var(--header-height) + var(--sp-xl));
}
body.has-solid-header .blog-post-hero {
  margin-top: var(--header-height);
}

/* Container wrapper used by both landing and single. */
.blog-container {
  max-width: 1200px;
  margin-inline: auto;
  padding: var(--sp-2xl) var(--sp-md);
}

/* --- Blog landing — featured magazine-cover hero --- */
.blog-landing-hero {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--clr-navy);
  margin-bottom: var(--sp-xl);
  text-decoration: none;
  color: var(--clr-white);
  isolation: isolate;
}
.blog-landing-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.blog-landing-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0) 60%);
  pointer-events: none;
}
.blog-landing-hero-badge {
  position: absolute; top: var(--sp-md); left: var(--sp-md);
  background: var(--clr-orange);
  color: var(--clr-white);
  font-family: var(--ff-heading);
  font-weight: var(--fw-bold, 700);
  font-size: var(--fs-body-xs, 11px);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  z-index: 2;
}
.blog-landing-hero-content {
  position: absolute; left: var(--sp-xl); right: var(--sp-xl); bottom: var(--sp-xl);
  z-index: 2;
}
.blog-landing-hero-tag {
  color: var(--clr-gold);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-body-xs, 11px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}
.blog-landing-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 7vw, 80px);
  line-height: 0.92;
  margin: 0 0 var(--sp-sm);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.blog-landing-hero-byline {
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-body-sm, 14px);
}
@media (min-width: 769px) {
  .blog-landing-hero { aspect-ratio: 16 / 9; }
  .blog-landing-hero-title { font-size: clamp(56px, 8vw, 96px); }
}

/* --- Blog landing — divider --- */
.blog-section-divider {
  display: flex;
  align-items: center;
  gap: var(--sp-md);
  font-family: var(--ff-display);
  font-size: var(--fs-body-sm, 14px);
  letter-spacing: 0.2em;
  color: var(--clr-gray-500);
  text-transform: uppercase;
  margin: var(--sp-2xl) 0 var(--sp-lg);
}
.blog-section-divider::after {
  content: '';
  flex: 1;
  height: 2px;
  background: var(--clr-gray-200);
}

/* --- Blog landing — list rows (V2) --- */
.blog-list-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  background: var(--clr-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--sp-sm);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
  text-decoration: none;
  color: inherit;
  transition: transform var(--duration-fast, 150ms) var(--ease-out, ease), box-shadow var(--duration-fast, 150ms) var(--ease-out, ease);
}
.blog-list-row:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.blog-list-row-thumb {
  aspect-ratio: 1;
  background: var(--clr-navy);
  overflow: hidden;
}
.blog-list-row-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.blog-list-row-body {
  padding: var(--sp-sm) var(--sp-md);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.blog-list-row-tag {
  color: var(--clr-orange);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.blog-list-row-title {
  font-family: var(--ff-display);
  font-size: clamp(18px, 4vw, 22px);
  line-height: 1.05;
  color: var(--clr-navy);
  margin: var(--sp-2xs, 2px) 0 0;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.blog-list-row-date {
  color: var(--clr-gray-500);
  font-size: var(--fs-body-xs, 11px);
  margin-top: var(--sp-2xs, 4px);
}
@media (min-width: 769px) {
  .blog-list-row { grid-template-columns: 160px 1fr; }
  .blog-list-row-title { font-size: var(--fs-h4, 26px); }
}

/* --- "Coming soon" placeholder when no posts exist --- */
.blog-empty {
  text-align: center;
  padding: var(--sp-3xl) var(--sp-md);
  color: var(--clr-gray-500);
}
.blog-empty-title {
  font-family: var(--ff-display);
  font-size: var(--fs-h2);
  color: var(--clr-navy);
  margin-bottom: var(--sp-md);
}

/* --- Single post — full-bleed hero with overlaid title --- */
.blog-post-hero {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--clr-navy);
  overflow: hidden;
  isolation: isolate;
}
.blog-post-hero-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.blog-post-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.95) 0%, rgba(10,22,40,0) 60%);
  pointer-events: none;
}
.blog-post-hero-back {
  position: absolute; top: var(--sp-md); left: var(--sp-md);
  color: var(--clr-white);
  font-family: var(--ff-display);
  letter-spacing: 0.15em;
  font-size: var(--fs-body-sm, 14px);
  text-decoration: none;
  z-index: 2;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}
.blog-post-hero-back:hover { color: var(--clr-orange); }
.blog-post-hero-content {
  position: absolute; left: var(--sp-xl); right: var(--sp-xl); bottom: var(--sp-xl);
  color: var(--clr-white);
  z-index: 2;
}
.blog-post-hero-tag {
  color: var(--clr-gold);
  font-family: var(--ff-heading);
  font-weight: 700;
  font-size: var(--fs-body-xs, 11px);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: var(--sp-sm);
}
.blog-post-hero-title {
  font-family: var(--ff-display);
  font-size: clamp(36px, 8vw, 88px);
  line-height: 0.9;
  margin: 0 0 var(--sp-sm);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.blog-post-hero-byline {
  color: rgba(255,255,255,0.75);
  font-size: var(--fs-body-sm, 14px);
}
@media (min-width: 769px) {
  .blog-post-hero { aspect-ratio: 21 / 9; min-height: 480px; }
  .blog-post-hero-title { font-size: clamp(56px, 9vw, 120px); }
}

/* --- Single post — body --- */
.blog-post-body {
  max-width: 720px;
  margin: var(--sp-2xl) auto;
  padding: 0 var(--sp-md);
  font-family: var(--ff-body);
  font-size: var(--fs-body, 16px);
  line-height: 1.7;
  color: var(--clr-gray-700);
}
.blog-post-body p { margin: 0 0 var(--sp-md); }
.blog-post-body h2 {
  font-family: var(--ff-display);
  font-size: var(--fs-h3);
  color: var(--clr-navy);
  margin: var(--sp-xl) 0 var(--sp-md);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.blog-post-body h3 {
  font-family: var(--ff-display);
  font-size: var(--fs-h4);
  color: var(--clr-navy);
  margin: var(--sp-lg) 0 var(--sp-sm);
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
.blog-post-body img,
.blog-post-body .wp-block-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin: var(--sp-lg) auto;
}
.blog-post-body figure { margin: var(--sp-lg) 0; }
.blog-post-body figure figcaption {
  text-align: center;
  font-size: var(--fs-body-sm, 14px);
  color: var(--clr-gray-500);
  margin-top: var(--sp-xs);
  font-style: italic;
}
.blog-post-body blockquote,
.blog-post-body .wp-block-quote,
.blog-post-body .wp-block-pullquote {
  border-left: 3px solid var(--clr-orange);
  padding: var(--sp-xs) var(--sp-md);
  margin: var(--sp-lg) 0;
  font-style: italic;
  color: var(--clr-gray-700);
}
.blog-post-body .wp-block-pullquote {
  border-left: none;
  border-top: 3px solid var(--clr-orange);
  border-bottom: 3px solid var(--clr-orange);
  padding: var(--sp-lg) 0;
  text-align: center;
  font-size: var(--fs-h4);
}
.blog-post-body ul,
.blog-post-body ol {
  margin: 0 0 var(--sp-md);
  padding-left: var(--sp-lg);
}
.blog-post-body li { margin-bottom: var(--sp-xs); }
.blog-post-body a {
  color: var(--clr-orange);
  text-decoration: underline;
}
.blog-post-body a:hover {
  color: var(--clr-navy);
}
.blog-post-body .wp-block-embed iframe {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  margin: var(--sp-lg) 0;
}
.blog-post-body hr,
.blog-post-body .wp-block-separator {
  border: 0;
  border-top: 2px solid var(--clr-gray-200);
  margin: var(--sp-xl) auto;
  width: 60%;
}

/* --- Single post — footer back link --- */
.blog-post-footer {
  background: var(--clr-gray-100, #f5f5f5);
  padding: var(--sp-xl) var(--sp-md);
  text-align: center;
  margin-top: var(--sp-2xl);
}
.blog-post-footer-back {
  font-family: var(--ff-display);
  letter-spacing: 0.15em;
  color: var(--clr-navy);
  text-decoration: none;
  font-size: var(--fs-body, 16px);
  text-transform: uppercase;
}
.blog-post-footer-back:hover { color: var(--clr-orange); }
