/* GENERATED by scripts/build-css.sh — do not edit. Edit the source files in css/. */
/*
  Self-hosted variable fonts — Montserrat + Open Sans (OFL, redistributable)
  Downloaded from Google Fonts v31/v44. Latin and Latin-ext subsets only.
  Variable axes: font-weight covers full range (100–900).
  font-display: swap prevents FOIT and matches previous Google Fonts behaviour.
*/

/* Montserrat — latin-ext */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Montserrat — latin */
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/montserrat-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Open Sans — latin-ext */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/open-sans-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* Open Sans — latin */
@font-face {
  font-family: 'Open Sans';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/open-sans-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* =============================================
   CJ's Pickleball — Base
   Reset, root variables, typography, body
   ============================================= */

/* ---- CSS Custom Properties ---- */
:root {
  --color-primary: #247139;       /* deep court green */
  --color-primary-dark: #0f351a;
  --color-accent: #ffb020;        /* pickleball gold */
  --color-accent-dark: #d98208;
  --color-court-blue: #154d6b;
  --color-facebook: #1877f2;
  --color-facebook-dark: #0d5cbf;

  --color-bg: #fbfcf7;
  --color-bg-alt: #eef4ea;
  --color-surface: #ffffff;
  --color-text: #172414;
  --color-text-muted: #3f4f3b;   /* AA on all bands; clears 7:1 sunlight bar on light/alt */
  --color-border: #d8e5d1;

  --font-heading: 'Montserrat', sans-serif;
  --font-body: 'Open Sans', sans-serif;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-pill: 9999px;

  --shadow-sm: 0 1px 3px rgba(15,53,26,.08);
  --shadow-md: 0 12px 28px rgba(15,53,26,.12);
  --shadow-lg: 0 24px 60px rgba(15,53,26,.18);

  --max-width: 1180px;
  --nav-height: 74px;
  --transition: 0.22s ease;

  /* ===== "Night Court" redesign tokens ===== */
  /* Extended palette — promote court-blue to a real secondary, add a deep
     night-court tone for bold dark bands and a warm chalk for light ones. */
  --color-secondary: #154d6b;       /* court blue */
  --color-secondary-dark: #0e3850;
  --color-night: #08200f;           /* deep night-court green */
  --color-night-2: #0f3320;
  --color-cream: #f4efe1;           /* warm chalk */
  --color-ink: #0c1810;             /* near-black for dark-band text accents */

  /* Fluid modular type scale (~1.25 ratio) */
  --fs-300: clamp(0.78rem, 0.74rem + 0.18vw, 0.88rem);
  --fs-400: clamp(1rem, 0.96rem + 0.22vw, 1.13rem);
  --fs-500: clamp(1.15rem, 1.05rem + 0.5vw, 1.4rem);
  --fs-600: clamp(1.4rem, 1.2rem + 1vw, 1.95rem);
  --fs-700: clamp(1.85rem, 1.5rem + 1.9vw, 2.85rem);
  --fs-800: clamp(2.4rem, 1.75rem + 3.2vw, 4.2rem);
  --fs-display: clamp(2.9rem, 1.7rem + 6vw, 6.5rem);

  /* 8px spacing rhythm */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 40px;
  --space-6: 48px;
  --space-7: 64px;
  --space-8: 80px;
  --space-9: 96px;
  --space-10: 120px;
  --space-12: 160px;

  /* Elevated shadow for focal elements (hero card, featured deal) */
  --shadow-xl: 0 32px 80px rgba(6,25,12,.34);
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 1px);
}

body {
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    linear-gradient(90deg, rgba(36,113,57,.04) 1px, transparent 1px) 0 0 / 44px 44px,
    linear-gradient(180deg, rgba(36,113,57,.035) 1px, transparent 1px) 0 0 / 44px 44px,
    var(--color-bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

@supports not (overflow: clip) {
  html,
  body {
    overflow-x: hidden;
  }
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ---- Accessibility: keyboard focus ---- */
:focus { outline: none; }
:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: var(--radius-sm);
}
.btn:focus-visible,
.fb-follow-btn:focus-visible,
.footer-social:focus-visible,
.copy-btn:focus-visible {
  outline-offset: 3px;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: 12px;
  top: -100px;
  z-index: 9999;
  background: var(--color-primary-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  transition: top var(--transition);
}
.skip-link:focus { top: 12px; outline: 3px solid var(--color-accent); outline-offset: 2px; }

/* ---- Utility ---- */
.container {
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.section { padding: clamp(72px, 8vw, 108px) 0; }
.section-alt {
  background:
    linear-gradient(135deg, rgba(255,255,255,.74), rgba(255,255,255,.2)),
    var(--color-bg-alt);
}

.section-header { text-align: center; margin-bottom: 56px; }

.section-label {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: rgba(36,113,57,.1);
  padding: 5px 14px;
  border-radius: var(--radius-pill);
  margin-bottom: 14px;
  box-shadow: inset 0 0 0 1px rgba(36,113,57,.08);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-text);
}

.section-subtitle {
  margin-top: 14px;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.accent { color: var(--color-primary); }

.lead {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.7;
  margin-bottom: 16px;
}

/* ---- Noscript notice ---- */
.noscript-banner {
  background: var(--color-primary-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 600;
  text-align: center;
  padding: 10px 16px;
  letter-spacing: .02em;
}
/* =============================================
   CJ's Pickleball — Components
   Buttons, badges, marquee, toast, scroll progress,
   back-to-top, scroll-reveal
   ============================================= */

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: linear-gradient(135deg, #1f6fe0, var(--color-facebook-dark));
  color: #fff;
  box-shadow: 0 12px 24px rgba(24,119,242,.22);
}
.btn-primary:hover { background: linear-gradient(135deg, var(--color-facebook), #0b50a8); }

.btn-secondary {
  background: linear-gradient(135deg, #ffc94d, var(--color-accent));
  color: var(--color-text);
  box-shadow: 0 12px 24px rgba(255,176,32,.22);
}
.btn-secondary:hover { background: linear-gradient(135deg, #ffd66d, var(--color-accent-dark)); }

.btn-outline {
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  padding: 11px 24px;
}
.btn-outline:hover { background: var(--color-primary); color: #fff; }

.btn-large { padding: 16px 32px; font-size: 1rem; }

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ---- Partner Marquee Strip ---- */
.marquee-label {
  background: #fff;
  margin: 0;
  padding: 18px 16px 0;
  text-align: center;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}
.marquee-strip {
  background: #fff;
  border-bottom: 1px solid var(--color-border);
  padding: 14px 0;
  overflow: clip;
  position: relative;
  width: 100%;
  max-width: 100vw;
  contain: paint;
}
.marquee-strip::before,
.marquee-strip::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-strip::before { left: 0; background: linear-gradient(to right, #fff, transparent); }
.marquee-strip::after  { right: 0; background: linear-gradient(to left, #fff, transparent); }

.marquee-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 24s linear infinite;
}
.marquee-item {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0 28px;
}
.marquee-item::after {
  content: '\00B7';
  color: var(--color-primary);
  font-size: 1.2rem;
  margin-left: 28px;
  line-height: 1;
}

/* Logo variant — applied by js/main.js when a partner logo asset loads.
   The logo is painted as a single-color silhouette (CSS mask filled with the
   item's text color) so every brand shares the strip's muted tone and sits
   seamlessly beside the text wordmarks. Width/height are set inline per logo. */
.marquee-item--logo { color: var(--color-text-muted); }
.marquee-logo {
  display: block;
  background-color: currentColor;
  -webkit-mask-repeat: no-repeat;
          mask-repeat: no-repeat;
  -webkit-mask-position: center;
          mask-position: center;
  -webkit-mask-size: contain;
          mask-size: contain;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ---- Toast ---- */
.toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--color-primary-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 9999;
}
.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ---- Scroll Progress Bar ---- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--color-primary);
  z-index: 200;
  pointer-events: none;
  transition: width 0.1s linear;
}

/* ---- Back to Top ---- */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), background var(--transition), box-shadow var(--transition);
  z-index: 150;
}
.back-to-top--visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--color-primary-dark);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.back-to-top:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 3px;
}

/* ---- Scroll Reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(.22,.61,.36,1), transform 0.7s cubic-bezier(.22,.61,.36,1);
}

.reveal.reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger via nth-child to keep markup CSP-clean. */
.reveal-stagger > .reveal:nth-child(2)   { transition-delay: 0.1s; }
.reveal-stagger > .reveal:nth-child(3)   { transition-delay: 0.2s; }
.reveal-stagger > .reveal:nth-child(4)   { transition-delay: 0.3s; }
.reveal-stagger > .reveal:nth-child(5)   { transition-delay: 0.4s; }
.reveal-stagger > .reveal:nth-child(n+6) { transition-delay: 0.5s; }

/* No-JS fallback — without JS, the IntersectionObserver never fires,
   so we make reveals visible by default. JS removes this class on load. */
.no-js .reveal {
  opacity: 1;
  transform: none;
  transition: none;
}

/* ---- Copy buffer (hidden textarea for execCommand fallback) ---- */
.copy-buffer {
  position: fixed;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* ---- 404 page ---- */
.error-page .section-header {
  text-align: center;
  padding: 18vh 16px 10vh;
}
.error-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 2rem;
}
/* =============================================
   CJ's Pickleball — Navigation
   Header, navbar, hamburger toggle
   ============================================= */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251,252,247,.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 12px 30px rgba(15,53,26,.06);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-height);
  width: 90%;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  flex-shrink: 0;
}

.logo-img {
  height: 54px;
  width: 54px;
  border-radius: 50%;
  border: 2px solid rgba(255,176,32,.58);
  box-shadow: 0 0 0 2px rgba(15,53,26,.08), 0 8px 18px rgba(15,53,26,.14);
  background: #000;
}
.logo-img--hidden { display: none; }

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 1rem;
  letter-spacing: .01em;
  color: var(--color-primary-dark);
}
.logo-text.logo-text--fallback { display: flex; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 600;
  color: var(--color-text-muted);
  padding: 7px 12px;
  border-radius: var(--radius-sm);
  transition: color var(--transition), background var(--transition);
}
.nav-link:hover { color: var(--color-primary); background: rgba(46,125,50,.08); }

.navbar .nav-cta {
  background: linear-gradient(135deg, #1f6fe0, var(--color-facebook-dark));
  color: #fff;
  border-radius: var(--radius-pill);
  padding: 8px 18px;
}
.navbar .nav-cta:hover { background: linear-gradient(135deg, var(--color-facebook), #0b50a8); }

.navbar .nav-link--active { color: var(--color-primary); border-bottom: 2px solid var(--color-primary); padding-bottom: 5px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  padding: 10px;
  min-width: 44px;   /* WCAG 2.5.8 — courtside one-handed tap target */
  min-height: 44px;
}
.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .hamburger:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
/* =============================================
   CJ's Pickleball — Hero  (Night Court redesign)
   Cinematic court banner, court-line motif, scorecard
   ============================================= */

.hero {
  position: relative;
  min-height: clamp(560px, 82svh, 760px);
  /* JPEG-only fallback for browsers without image-set() support */
  background:
    radial-gradient(125% 120% at 14% 26%, rgba(4,18,9,.34), transparent 60%),
    linear-gradient(90deg, rgba(5,20,10,.96) 0%, rgba(8,32,16,.88) 40%, rgba(8,32,16,.5) 68%, rgba(8,32,16,.26) 100%),
    linear-gradient(180deg, rgba(5,20,10,.30), rgba(4,16,8,.74)),
    url("../images/hero-court.jpg") center right / cover no-repeat;
  /* Modern browsers: prefer WebP (~60% smaller), fall back to JPEG */
  background:
    radial-gradient(125% 120% at 14% 26%, rgba(4,18,9,.34), transparent 60%),
    linear-gradient(90deg, rgba(5,20,10,.96) 0%, rgba(8,32,16,.88) 40%, rgba(8,32,16,.5) 68%, rgba(8,32,16,.26) 100%),
    linear-gradient(180deg, rgba(5,20,10,.30), rgba(4,16,8,.74)),
    image-set(
      url("../images/hero-court.webp") type("image/webp"),
      url("../images/hero-court.jpg") type("image/jpeg")
    ) center right / cover no-repeat;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: clamp(40px, 6vw, 72px) 5% clamp(28px, 3vw, 40px);
  isolation: isolate;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(245,248,237,.10) 1px, transparent 1px) 0 0 / 160px 100%,
    linear-gradient(0deg, rgba(245,248,237,.07) 1px, transparent 1px) 0 0 / 100% 120px;
  mix-blend-mode: screen;
  opacity: .4;
  pointer-events: none;
  z-index: 1;
}

/* ---- Court-line motif (decorative; draws in on load) ---- */
.hero-court {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-50%);
  height: 132%;
  width: auto;
  max-width: 50%;
  opacity: .55;
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 8px 26px rgba(0,0,0,.4));
}
.hero-court .cl {
  fill: none;
  stroke: rgba(245,248,237,.6);
  stroke-width: 2.5;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.hero-court .cl-accent { stroke: var(--color-accent); opacity: .92; }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

/* ---- Eyebrow / kicker ---- */
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-size: var(--fs-300);
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.92);
  padding: 8px 16px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  margin-bottom: var(--space-3);
}
.hero-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px rgba(255,176,32,.22);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: var(--fs-display);
  font-weight: 900;
  line-height: .94;
  letter-spacing: -.02em;
  color: #fff;
  margin-bottom: var(--space-3);
  max-width: 15ch;
  text-shadow: 0 6px 34px rgba(0,0,0,.4);
}
.hero-title .accent {
  color: var(--color-accent);
  position: relative;
  white-space: nowrap;
}

.hero-subtitle {
  font-size: var(--fs-500);
  color: rgba(255,255,255,.88);
  max-width: 52ch;
  margin-bottom: var(--space-4);
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

/* ---- Proof scorecard ---- */
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, auto);
  width: fit-content;
  margin-top: var(--space-5);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(7,28,14,.5);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(12px);
  position: relative;
}
.hero-proof::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}
.hero-proof div {
  padding: var(--space-3) clamp(18px, 3vw, 34px);
}
.hero-proof div + div {
  border-left: 1px solid rgba(255,255,255,.14);
}
.hero-proof strong,
.hero-proof span {
  display: block;
}
.hero-proof strong {
  font-family: var(--font-heading);
  font-size: var(--fs-700);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--color-accent);
}
.hero-proof span {
  margin-top: 8px;
  font-family: var(--font-heading);
  font-size: var(--fs-300);
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.74);
}

/* ---- Entrance + motif draw (only when motion is allowed) ----
   Using no-preference means reduced-motion users skip straight to the
   final state — elements are never hidden, so nothing to reset. */
@media (prefers-reduced-motion: no-preference) {
  .hero-content > * {
    opacity: 0;
    transform: translateY(16px);
    animation: hero-rise 0.7s cubic-bezier(.22,.61,.36,1) forwards;
  }
  .hero-kicker   { animation-delay: 0.05s; }
  .hero-title    { animation-delay: 0.15s; }
  .hero-subtitle { animation-delay: 0.28s; }
  .hero-actions  { animation-delay: 0.40s; }
  .hero-proof    { animation-delay: 0.52s; }

  /* Gold underline drawn under the accent word once the title settles. */
  .hero-title .accent::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -0.08em;
    height: 6px;
    border-radius: var(--radius-pill);
    background: var(--color-accent);
    transform: scaleX(0);
    transform-origin: left center;
    animation: accent-draw 0.6s cubic-bezier(.22,.61,.36,1) 0.95s forwards;
  }

  /* Court motif strokes draw themselves in, staggered. */
  .hero-court .cl {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: court-draw 1.8s ease-out forwards;
  }
  .hero-court .cl:nth-child(1) { animation-delay: 0.30s; }
  .hero-court .cl:nth-child(2) { animation-delay: 0.50s; }
  .hero-court .cl:nth-child(3) { animation-delay: 0.70s; }
  .hero-court .cl:nth-child(4) { animation-delay: 0.85s; }
  .hero-court .cl:nth-child(5) { animation-delay: 1.00s; }
  .hero-court .cl:nth-child(6) { animation-delay: 1.10s; }
}

@keyframes hero-rise {
  to { opacity: 1; transform: none; }
}
@keyframes accent-draw {
  to { transform: scaleX(1); }
}
@keyframes court-draw {
  to { stroke-dashoffset: 0; }
}
/* =============================================
   CJ's Pickleball — Sections
   About, stats, discounts, community, contact, footer
   ============================================= */

/* ---- About ---- */
.about {
  background: linear-gradient(180deg, #fff 0%, var(--color-bg) 100%);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(42px, 6vw, 76px);
  align-items: start;
}
.about-grid > *,
.about-features,
.community-inner > *,
.deals-grid > *,
.contact-options > * {
  min-width: 0;
}

.about-text {
  border-left: 4px solid var(--color-accent);
  padding-left: clamp(18px, 3vw, 30px);
}

.about-text p { color: var(--color-text-muted); margin-bottom: 16px; }
.about-text .btn { margin-top: 8px; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.feature-card {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}
.feature-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  border-radius: var(--radius-md);
  background: rgba(36,113,57,.1);
  color: var(--color-primary);
  flex-shrink: 0;
}
.feature-icon svg { width: 22px; height: 22px; }

.feature-card h3 {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: var(--color-text);
}

.feature-card p { font-size: .88rem; color: var(--color-text-muted); }

/* ---- Stats Section ---- */
.stats {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(245,248,237,.12) 1px, transparent 1px) 0 0 / 25% 100%,
    linear-gradient(135deg, var(--color-primary-dark), #123d28 52%, var(--color-court-blue));
  padding: clamp(54px, 7vw, 76px) 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  text-align: center;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgba(255,255,255,.14);
  box-shadow: 0 24px 60px rgba(0,0,0,.18);
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-height: 148px;
  justify-content: center;
  padding: 24px 12px;
  background: rgba(7,31,16,.34);
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--color-accent);
  line-height: 1;
  display: block;
}
.stat-number--text { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.stat-label {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}

/* ---- Discounts ---- */
.discounts {
  position: relative;
}

.discounts::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent calc(50% - 1px), rgba(36,113,57,.1) 50%, transparent calc(50% + 1px)),
    linear-gradient(180deg, transparent calc(50% - 1px), rgba(36,113,57,.08) 50%, transparent calc(50% + 1px));
  background-size: 220px 220px;
  opacity: .32;
  pointer-events: none;
}

.discounts .container {
  position: relative;
  z-index: 1;
}

/* ---- Affiliate disclosure ---- */
.affiliate-disclosure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 640px;
  margin: -18px auto 24px;
  padding: 10px 18px;
  background: rgba(36,113,57,.06);
  border: 1px solid rgba(36,113,57,.14);
  border-radius: var(--radius-md);
  font-size: .84rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.5;
}
.affiliate-disclosure svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.deals-toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin: -28px auto 42px;
}

.deals-toolbar span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(36,113,57,.14);
  border-radius: var(--radius-pill);
  background: rgba(255,255,255,.78);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  box-shadow: var(--shadow-sm);
}

.deals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

.deal-card {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 72px 22px 22px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.deal-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.deal-card::before {
  content: attr(data-brand);
  position: absolute;
  top: 18px;
  left: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  height: 34px;
  padding: 0 12px;
  border-radius: var(--radius-sm);
  background: var(--color-primary-dark);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 900;
  letter-spacing: .08em;
}

.deal-card--featured {
  order: -1;
  grid-column: span 2;
  border-color: rgba(255,176,32,.56);
  background:
    linear-gradient(135deg, rgba(255,176,32,.16), rgba(255,255,255,.02)),
    linear-gradient(135deg, #12361e, #0d2b16);
  box-shadow: 0 0 0 1px rgba(255,176,32,.4), var(--shadow-lg);
  color: #fff;
}

/* Preserve and intensify the gold ring on hover (the generic
   .deal-card:hover box-shadow would otherwise drop it). */
.deal-card--featured:hover {
  box-shadow: 0 0 0 2px rgba(255,176,32,.62), var(--shadow-lg);
  transform: translateY(-4px);
}

.deal-card--featured::before {
  background: var(--color-accent);
  color: var(--color-text);
}

.deal-badge {
  position: absolute;
  top: 22px;
  right: 20px;
  background: rgba(36,113,57,.1);
  color: var(--color-primary-dark);
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 10px;
  border-radius: var(--radius-pill);
}
.deal-badge--hot {
  background: var(--color-accent);
  color: var(--color-text);   /* solid gold pill + dark text = 8.8:1 (was gold-on-gold 3.96:1) */
}

.deal-brand {
  font-family: var(--font-heading);
  font-size: 1.22rem;
  font-weight: 800;
  color: var(--color-text);
  margin-top: 6px;
}

.deal-description { font-size: .9rem; color: var(--color-text-muted); flex: 1; }

.deal-card--featured .deal-brand,
.deal-card--featured .deal-description,
.deal-card--featured .deal-link {
  color: #fff;
}

.deal-card--featured .deal-description {
  color: rgba(255,255,255,.78);
}

.deal-code-note {
  font-size: .84rem;
  font-weight: 600;
  color: var(--color-primary-dark);
  background: rgba(36,113,57,.08);
  border-radius: var(--radius-sm);
  padding: 8px 10px;
}

.coupon-block {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.94);
  border: 1.5px dashed rgba(36,113,57,.78);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
}

.coupon-code {
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  letter-spacing: .08em;
  flex: 1;
  user-select: all;
}

.copy-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  font-family: var(--font-heading);
  font-size: .78rem;
  font-weight: 700;
  background: var(--color-primary);
  color: #fff;
  padding: 5px 16px;
  border-radius: var(--radius-sm);
  transition: background var(--transition);
  flex-shrink: 0;
}
.copy-btn:hover { background: var(--color-primary-dark); }
.copy-btn.copied { background: var(--color-accent-dark); }

.deal-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 44px;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-primary-dark);   /* deeper green = sunlight-legible (~10:1 on alt band) */
  margin-top: 2px;
  transition: color var(--transition), transform var(--transition);
}
.deal-link:hover { color: var(--color-night); }
.deal-card:hover .deal-link { transform: translateX(3px); }

.deals-disclaimer {
  text-align: center;
  margin-top: 36px;
  font-size: .85rem;
  color: var(--color-text-muted);
}
.deals-disclaimer a { color: var(--color-primary-dark); font-weight: 700; }

/* ---- Community ---- */
.community {
  background:
    linear-gradient(90deg, rgba(21,77,107,.06), transparent 34%),
    #fff;
}

.community-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.community-text .section-label { text-align: left; }
.community-text .section-title { text-align: left; margin-bottom: 18px; }
.community-text p { color: var(--color-text-muted); margin-bottom: 18px; }

.community-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}
.community-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .95rem;
  color: var(--color-text);
  font-weight: 600;
}

.community-list li span {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: inset 0 0 0 5px rgba(255,255,255,.75);
  flex-shrink: 0;
}

/* ---- Facebook Card ---- */
.fb-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--color-border);
}

.scorecard-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.fb-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.fb-name {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-text);
}

.fb-handle {
  font-size: .8rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.community-scorecard {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255,176,32,.12), transparent 36%),
    var(--color-surface);
}

.community-scorecard::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(36,113,57,.12);
  border-radius: var(--radius-md);
  pointer-events: none;
}

.scorecard-panel {
  position: relative;
  margin: 24px 0 18px;
  padding: 22px;
  border-radius: var(--radius-md);
  background: #f4f8ef;
  border: 1px solid var(--color-border);
}

.scorecard-panel span {
  display: block;
  margin-bottom: 8px;
  font-family: var(--font-heading);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--color-primary);
}

.scorecard-panel p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  font-style: italic;
}

.scorecard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-border);
}

.scorecard-metrics div {
  background: #fff;
  padding: 14px 10px;
}

.scorecard-metrics strong,
.scorecard-metrics span {
  display: block;
}

.scorecard-metrics strong {
  font-family: var(--font-heading);
  font-size: .86rem;
  color: var(--color-primary-dark);
}

.scorecard-metrics span {
  margin-top: 2px;
  font-size: .76rem;
  color: var(--color-text-muted);
}

.fb-follow-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: 100%;
  justify-content: center;
  margin-top: 18px;
  background: var(--color-facebook);
  color: #fff;
  font-family: var(--font-heading);
  font-size: .9rem;
  font-weight: 700;
  padding: 12px 20px;
  border-radius: var(--radius-pill);
  transition: background var(--transition), transform var(--transition);
}
.fb-follow-btn:hover { background: var(--color-facebook-dark); transform: translateY(-2px); }
.fb-follow-btn .btn-icon { width: 18px; height: 18px; }

/* ---- Contact ---- */
.contact-options {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.contact-card {
  position: relative;
  overflow: hidden;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
  color: var(--color-text);
}
.contact-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.contact-card::after {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(24,119,242,.09);
  color: var(--color-primary-dark);
  font-size: 1rem;
  font-family: var(--font-heading);
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact-icon svg { width: 28px; height: 28px; fill: var(--color-facebook); }
.contact-icon--text {
  background: rgba(36,113,57,.1);
  color: var(--color-primary);
  letter-spacing: .05em;
}

.contact-card h3 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
}
.contact-card p { font-size: .9rem; color: var(--color-text-muted); flex: 1; }

.contact-cta {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: .85rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  transition: color var(--transition), transform var(--transition);
}
.contact-card:hover .contact-cta { color: var(--color-primary-dark); transform: translateX(3px); }

/* ---- FAQ ---- */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.faq-item[open] { box-shadow: var(--shadow-md); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  list-style: none;
  padding: 16px 20px;
  min-height: 44px;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 800;
  color: var(--color-text);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 1.6rem;
  font-weight: 400;
  line-height: 1;
  color: var(--color-primary-dark);
  flex-shrink: 0;
  transition: transform var(--transition);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--color-primary-dark); }
.faq-item summary:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: -3px;
  border-radius: var(--radius-md);
}
.faq-item > p {
  padding: 0 20px 18px;
  color: var(--color-text-muted);
  font-size: .95rem;
  line-height: 1.7;
}

/* ---- Footer ---- */
.site-footer {
  background:
    linear-gradient(90deg, rgba(245,248,237,.06) 1px, transparent 1px) 0 0 / 96px 100%,
    #0d2412;
  color: rgba(255,255,255,.75);
  padding: 60px 0 32px;
}

.footer-inner {
  display: flex;
  gap: 60px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.footer-brand { flex: 0 0 220px; }

.footer-logo {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  display: block;
  margin-bottom: 10px;
}

.footer-brand p { font-size: .9rem; line-height: 1.6; margin-bottom: 16px; }

.footer-social {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-facebook-dark);   /* white text 6.36:1 (was #1877f2 4.23:1) */
  color: #fff;
  font-family: var(--font-heading);
  font-size: .82rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--radius-pill);
  transition: background var(--transition);
}
.footer-social svg { width: 16px; height: 16px; }
.footer-social:hover { background: var(--color-facebook-dark); }

.footer-nav { display: flex; gap: 48px; flex: 1; flex-wrap: wrap; }

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin-bottom: 14px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 9px; }
.footer-col a {
  font-size: .9rem;
  color: rgba(255,255,255,.7);
  transition: color var(--transition);
}
.footer-col a:hover { color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 32px;
  font-size: .82rem;
  color: rgba(255,255,255,.62);   /* affiliate disclosure must clear AA — ~6.9:1 on footer */
  justify-content: space-between;
}
.footer-bottom a { color: rgba(255,255,255,.6); }
.footer-bottom a:hover { color: #fff; }
.footer-bottom strong { color: rgba(255,255,255,.7); }
/* =============================================
   CJ's Pickleball — Responsive
   All media queries — must load LAST to override base styles
   ============================================= */

/* ---- Reduced motion preferences ---- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .marquee-track { animation: none; }
}

/* ---- Tablet (<= 900px) ---- */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .community-inner { grid-template-columns: 1fr; gap: 40px; }
  .community-card { max-width: 480px; }
  .hero {
    min-height: auto;
    padding: 58px 5% 64px;
    background-position: center right 34%;
  }
  .hero-content { max-width: 100%; }
  .hero-proof { max-width: 100%; }
  .deal-card--featured { grid-column: span 1; }
}

/* ---- Mobile (<= 700px) ---- */
@media (max-width: 700px) {
  :root { --nav-height: 64px; }

  .nav-logo { gap: 8px; }
  .logo-img { height: 44px; width: 44px; }
  .logo-text { display: none; }

  .nav-toggle { display: flex; }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    padding: 16px;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav-menu.open { display: flex; }
  .nav-link { text-align: center; padding: 12px; }

  .section { padding: 62px 0; }

  .about-features { grid-template-columns: 1fr; }

  .hero {
    min-height: auto;
    padding: 48px 5% 52px;
    background-position: center bottom;
    /* Lighter, mobile-sized hero image (size/position inherited from base) */
    background-image:
      radial-gradient(140% 110% at 18% 22%, rgba(4,18,9,.34), transparent 62%),
      linear-gradient(90deg, rgba(5,20,10,.94) 0%, rgba(8,32,16,.84) 44%, rgba(8,32,16,.52) 72%, rgba(8,32,16,.34) 100%),
      linear-gradient(180deg, rgba(5,20,10,.28), rgba(4,16,8,.78)),
      image-set(
        url("../images/hero-court-mobile.webp") type("image/webp"),
        url("../images/hero-court.jpg") type("image/jpeg")
      );
  }
  /* Court motif is a desktop flourish; hide on phones to keep the hero clean. */
  .hero-court { display: none; }
  .hero-subtitle { margin-bottom: 24px; }
  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
    margin-top: 26px;
  }
  .hero-proof div { padding: 14px 10px; }
  .deals-toolbar { justify-content: flex-start; margin-top: -18px; }
  .scorecard-metrics { grid-template-columns: 1fr; }
  .community-card { max-width: none; }

  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-nav { gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 6px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 16px; }

  .back-to-top,
  .back-to-top--visible {
    display: none;
  }
}

/* ---- Small mobile (<= 480px) ---- */
@media (max-width: 480px) {
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .btn { width: 100%; justify-content: center; white-space: normal; text-align: center; }
  .deals-grid { grid-template-columns: 1fr; }
  .contact-options { grid-template-columns: 1fr; }
  .deal-card { padding: 66px 18px 20px; }
  .deal-badge { right: 16px; max-width: 150px; text-align: center; }
  .deal-card::before { left: 16px; }
}

/* ---- Print ----
   Reveal animations are scroll-triggered; printing never scrolls, so force
   everything visible and drop chrome that makes no sense on paper. */
@media print {
  .reveal { opacity: 1 !important; transform: none !important; }
  .scroll-progress,
  .back-to-top,
  .nav-toggle,
  .marquee-strip { display: none !important; }
}
