/* =========================================================
   American Top Team West Pines — Design System
   Black / White / Red — bold, premium, family-friendly
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Color */
  --black:        #0a0a0a;
  --ink:          #121212;
  --ink-2:        #1a1a1a;
  --surface:      #181818;
  --surface-2:    #202020;
  --line:         #2a2a2a;
  --white:        #ffffff;
  --muted:        #b3b3b3;
  --muted-2:      #8a8a8a;
  --red:          #e11313;
  --red-dark:     #b40d0d;
  --red-glow:     rgba(225, 19, 19, 0.35);

  /* Type */
  --font-display: "Oswald", "Arial Narrow", system-ui, sans-serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Spacing / layout */
  --container:    1200px;
  --gutter:       1.25rem;
  --radius:       10px;
  --radius-lg:    16px;
  --header-h:     76px;

  /* Effects */
  --shadow:       0 10px 30px rgba(0,0,0,0.45);
  --shadow-red:   0 8px 24px var(--red-glow);
  --transition:   0.25s ease;
}

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  overflow-wrap: break-word;
}

img, picture, video, svg { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; padding: 0; }

button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(3.5rem, 7vw, 6rem); }

.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }

.section--dark { background: var(--black); }
.section--ink  { background: var(--ink); }
.section--surface { background: var(--surface); }

/* Faint logo watermark, used behind the hero and any section that wants one. */
.section--watermark { position: relative; overflow: hidden; }
.section--watermark > .container { position: relative; z-index: 1; }
.section--watermark__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(680px, 70%);
  height: auto;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
/* Smaller variant for short sections (e.g. final CTAs) so the logo never
   outgrows the section's actual height and gets clipped. */
.section--watermark__logo--sm {
  width: min(220px, 40%);
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 0.8rem;
  color: var(--red);
  margin-bottom: 0.85rem;
  font-weight: 600;
}

.section-head h2 {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
}

.section-head p {
  color: var(--muted);
  margin-top: 1rem;
  font-size: 1.05rem;
}

.text-red { color: var(--red); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.95rem 1.9rem;
  border-radius: var(--radius);
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
  white-space: nowrap;
}

.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn--primary:hover { background: var(--red-dark); transform: translateY(-2px); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.35);
}
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }

.btn--dark {
  background: var(--ink-2);
  color: var(--white);
  border: 1px solid var(--line);
}
.btn--dark:hover { background: var(--surface-2); transform: translateY(-2px); }

.btn--lg { padding: 1.15rem 2.4rem; font-size: 1.1rem; }
.btn--block { width: 100%; }

/* =========================================================
   Header / Navigation
   ========================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(10,10,10,0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

/* 3-column grid: logo left, wordmark dead-center, menu right. */
.site-header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
}
.logo { justify-self: start; }
.site-wordmark { justify-self: center; }
.nav__menu { justify-self: end; }

/* Centered brand wordmark. */
.site-wordmark {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 1.7rem;
  line-height: 1;
  color: var(--white);
  white-space: nowrap;
  text-align: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
}
.logo__img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--white);
  flex-shrink: 0;
}
.logo__text { font-size: 1.25rem; }
.logo__text small {
  display: block;
  font-family: var(--font-body);
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}

/* ---- Menu dropdown ---- */
.nav__menu { position: relative; }
/* Plain "Home" text with a red dot — no border, no chevron. */
.nav__menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.25rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--white);
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  flex-shrink: 0;
}

/* Hamburger icon: hidden on desktop, shown in place of the "Home" label on mobile. */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 26px;
  height: 26px;
}
.nav__hamburger span {
  width: 100%;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.nav__menu.is-open .nav__hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__menu.is-open .nav__hamburger span:nth-child(2) { opacity: 0; }
.nav__menu.is-open .nav__hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav__dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 220px;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.5rem;
  background: rgba(18,18,18,0.98);
  backdrop-filter: blur(12px);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 20px 44px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
}
/* Transparent bridge so the pointer can cross the gap without the menu closing. */
.nav__dropdown::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px;
}
/* Toggled open via click/tap (all devices) or keyboard focus. */
.nav__menu:focus-within .nav__dropdown,
.nav__menu.is-open .nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
/* Open on hover only where a real pointer exists — avoids sticky-hover on touch. */
@media (hover: hover) {
  .nav__menu:hover .nav__dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
.nav__dropdown a {
  display: block;
  padding: 0.6rem 0.85rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  border-radius: 6px;
  transition: color var(--transition), background var(--transition);
}
.nav__dropdown a:hover { color: var(--white); background: rgba(255,255,255,0.06); }
.nav__dropdown a.is-active { color: var(--white); background: rgba(255,255,255,0.06); }
.nav__dropdown-cta { margin-top: 0.4rem; padding-top: 0.55rem; border-top: 1px solid var(--line); }
.nav__dropdown-cta .btn { width: 100%; }

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  text-align: center;
  overflow: hidden;
}
.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(120% 80% at 50% 0%, #2a0606 0%, transparent 55%),
    linear-gradient(180deg, #161616 0%, #0a0a0a 100%);
}
.hero__media img,
.hero__media video {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.4;
}
/* Logo watermark placeholder standing in for a future hero photo/video —
   contained and dimmed way down so it reads as texture, not a bright logo. */
.hero__media img.hero__logo-bg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0.1;
  transform: scale(1.2); /* shrink further; safe from clipping since it's scaled down, not out */
}
.hero__overlay {
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(10,10,10,0.55) 0%, rgba(10,10,10,0.85) 100%);
}
.hero__inner { max-width: 880px; margin-inline: auto; padding-block: 4rem; }
.hero h1 {
  font-size: clamp(2.6rem, 7vw, 5.25rem);
  letter-spacing: 0.01em;
}
.hero h1 .text-red { display: inline; }
.hero__sub {
  margin-top: 1.4rem;
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  color: var(--muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}
.hero__actions {
  margin-top: 2.4rem;
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}
.hero__trust {
  margin-top: 2.6rem;
  display: flex;
  gap: 1.5rem 2.5rem;
  justify-content: center;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-family: var(--font-display);
}

/* Placeholder media look */
.media-ph {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, #161616 0 14px, #1b1b1b 14px 28px);
  color: var(--muted-2);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.8rem;
  border: 1px solid var(--line);
}

/* =========================================================
   Free Week banner CTA
   ========================================================= */
.freeweek {
  background: linear-gradient(120deg, var(--red-dark), var(--red));
  text-align: center;
}
.freeweek .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.freeweek__text { text-align: left; }
.freeweek h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
.freeweek p { color: rgba(255,255,255,0.9); margin-top: 0.35rem; }
.freeweek .btn--ghost { border-color: rgba(255,255,255,0.7); }
.freeweek .btn--ghost:hover { background: rgba(255,255,255,0.15); }

/* =========================================================
   Cards / grids
   ========================================================= */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}
.card:hover { transform: translateY(-4px); border-color: var(--red); box-shadow: var(--shadow); }

.card__media { aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.card__body { padding: 1.4rem; }
.card__body h3 { font-size: 1.35rem; }
.card__body p { color: var(--muted); margin-top: 0.6rem; font-size: 0.95rem; }
.card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  color: var(--red);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.85rem;
  font-weight: 600;
}
.card__link::after { content: "→"; transition: transform var(--transition); }
.card:hover .card__link::after { transform: translateX(4px); }

/* Program chooser pills */
.chooser {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}
.chooser a {
  padding: 0.85rem 1.6rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.95rem;
  transition: all var(--transition);
}
.chooser a:hover { background: var(--red); border-color: var(--red); transform: translateY(-2px); }

/* =========================================================
   Split feature (Kids / Adults / Competition)
   ========================================================= */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  aspect-ratio: 5 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.split__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Smaller, portrait-cropped variant for tall poster-style images (e.g. the
   Wilson flyer) so they don't dominate the section at full column width. */
.split__media--compact { aspect-ratio: 2 / 3; max-width: 360px; margin-inline: auto; }

/* Wilson/Adriano flyer graphics carry baked-in text right to the edges at a
   native 2:3 ratio — crop containers to match so object-fit: cover never
   trims any of it, instead of the section's default box ratio. */
.card__media.poster-media,
.coach__media.poster-media,
.split__media.poster-media {
  aspect-ratio: 2 / 3;
}
.split__body h2 { font-size: clamp(1.8rem, 4vw, 2.75rem); }
.split__body p { color: var(--muted); margin-top: 1rem; }
.feature-list { margin-top: 1.5rem; display: grid; gap: 0.75rem; }
.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  color: var(--white);
}
.feature-list li::before {
  content: "✓";
  color: var(--red);
  font-weight: 700;
  background: rgba(225,19,19,0.12);
  width: 24px; height: 24px;
  border-radius: 50%;
  display: grid; place-items: center;
  flex-shrink: 0;
  font-size: 0.8rem;
}
.split__body .btn { margin-top: 1.75rem; }

/* =========================================================
   Coaches
   ========================================================= */
.coach { text-align: left; }
.coach__media { aspect-ratio: 3 / 4; overflow: hidden; }
.coach__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.coach__body { padding: 1.3rem; }
.coach__body h3 { font-size: 1.3rem; }
.coach__role {
  color: var(--red);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  margin-top: 0.25rem;
}
.coach__body p { color: var(--muted); margin-top: 0.7rem; font-size: 0.92rem; }
.coach--soon {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}
.coach--soon .coach__tags { justify-content: center; }
.coach__tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
}

/* =========================================================
   Stats / credibility strip
   ========================================================= */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}
.stat__num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.25rem);
  color: var(--red);
  line-height: 1;
}
.stat__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}
.badge {
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--muted);
  background: var(--ink);
}

/* =========================================================
   Schedule
   ========================================================= */
.schedule-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.schedule-table th,
.schedule-table td {
  padding: 0.9rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.schedule-table th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  background: var(--ink);
  font-size: 0.82rem;
}
.schedule-table tr:last-child td { border-bottom: none; }
.schedule-table td .pill {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.pill--kids { background: rgba(225,19,19,0.15); color: #ff6a6a; }
.pill--adult { background: rgba(255,255,255,0.1); color: var(--white); }
.pill--mma { background: rgba(255,170,0,0.15); color: #ffb733; }

/* Schedule filter buttons */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-bottom: 2rem;
}
.filter-btn {
  padding: 0.55rem 1.2rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.85rem;
  color: var(--muted);
  transition: all var(--transition);
}
.filter-btn:hover { color: var(--white); }
.filter-btn.is-active { background: var(--red); color: var(--white); border-color: var(--red); }

/* Weekly schedule — one card, calendar-style grid of days.
   The card background shows through 1px gaps to draw clean grid lines. */
.week-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.day-card {
  background: var(--surface);
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
}
.day-card__name {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 1rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0.85rem;
  border-bottom: 2px solid var(--red);
}
.class-block {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--line);
}
.class-block:last-child { border-bottom: none; }
.class-block__time {
  font-family: var(--font-display);
  color: var(--white);
  font-size: 0.95rem;
}
.class-block__name { color: var(--muted); font-size: 0.85rem; margin: 0.1rem 0 0.35rem; }
.day-card__rest {
  color: var(--muted-2);
  font-size: 0.85rem;
  font-style: italic;
  padding: 0.6rem 0;
}

/* =========================================================
   Gallery
   ========================================================= */
/* Reserve real height before the SnapWidget script resizes its iframe, so the
   section never renders as a blank sliver while the embed loads. */
.instagram-embed { min-height: 480px; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
}
.gallery-grid .media-ph { aspect-ratio: 1; border-radius: var(--radius); }
.gallery-grid .tall { grid-row: span 2; aspect-ratio: auto; }
.gallery-grid__item {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
}
.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition);
}
.gallery-grid__item:hover img { transform: scale(1.06); }

/* =========================================================
   FAQ accordion
   ========================================================= */
.faq { max-width: 800px; margin-inline: auto; }
.faq__item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 0.85rem;
  background: var(--surface);
  overflow: hidden;
}
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  padding: 1.15rem 1.35rem;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  font-size: 1.05rem;
  color: var(--white);
}
.faq__icon {
  flex-shrink: 0;
  width: 26px; height: 26px;
  display: grid; place-items: center;
  border: 1px solid var(--red);
  border-radius: 50%;
  color: var(--red);
  font-size: 1.1rem;
  transition: transform var(--transition);
}
.faq__item.is-open .faq__icon { transform: rotate(45deg); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.faq__a p { padding: 0 1.35rem 1.25rem; color: var(--muted); }

/* =========================================================
   Forms
   ========================================================= */
.lead-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.25rem);
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
}
.field label .req { color: var(--red); }
.field input,
.field select,
.field textarea {
  background: var(--ink);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.8rem 0.9rem;
  color: var(--white);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(225,19,19,0.18);
}
.field textarea { resize: vertical; min-height: 110px; }
.form-note { color: var(--muted-2); font-size: 0.82rem; margin-top: 1rem; text-align: center; }

/* ---- Digital signature form (sign.html) ---- */
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 0.6rem; }
.checkbox-item { display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--muted); font-weight: 500; text-transform: none; letter-spacing: normal; }
.checkbox-item input { width: auto; }
.signature-pad-wrap { background: #fff; border-radius: var(--radius); overflow: hidden; touch-action: none; }
#signature-pad { width: 100%; height: 160px; display: block; cursor: crosshair; }
.signature-actions { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6rem; }

/* Contact split */
.contact-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,4vw,3rem); align-items: start; }
.info-list { display: grid; gap: 1.25rem; margin-top: 1.5rem; }
.info-item { display: flex; gap: 1rem; align-items: flex-start; }
.info-item__icon {
  flex-shrink: 0;
  width: 44px; height: 44px;
  border-radius: 10px;
  background: rgba(225,19,19,0.12);
  color: var(--red);
  display: grid; place-items: center;
  font-size: 1.2rem;
}
.info-item h4 { font-size: 1rem; }
.info-item p, .info-item a { color: var(--muted); font-size: 0.95rem; }
.info-item a:hover { color: var(--red); }
.map-embed {
  margin-top: 1.5rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 10;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; filter: grayscale(0.3) invert(0.9) hue-rotate(180deg); }

/* =========================================================
   Final CTA
   ========================================================= */
.final-cta {
  text-align: center;
  background:
    radial-gradient(80% 120% at 50% 0%, #2a0606 0%, transparent 60%),
    var(--black);
}
.final-cta h2 { font-size: clamp(2rem, 5vw, 3.5rem); }
.final-cta p { color: var(--muted); margin: 1rem auto 2rem; max-width: 560px; }

/* =========================================================
   Page hero (interior pages)
   ========================================================= */
.page-hero {
  text-align: center;
  padding-block: clamp(3rem, 7vw, 5rem);
  background:
    radial-gradient(100% 120% at 50% 0%, #240505 0%, transparent 55%),
    var(--ink);
  border-bottom: 1px solid var(--line);
}
/* Extra breathing room so the watermark logo behind it isn't cramped against the edges. */
.page-hero--tall { padding-block: clamp(4.5rem, 10vw, 7rem); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.page-hero p { color: var(--muted); margin-top: 1rem; max-width: 640px; margin-inline: auto; }
.breadcrumb { color: var(--muted-2); font-size: 0.85rem; margin-bottom: 1rem; }
.breadcrumb a:hover { color: var(--red); }

/* Pending / notice block */
.notice {
  text-align: center;
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 3.5rem);
  background: var(--surface);
}
.notice h3 { font-size: 1.5rem; }
.notice p { color: var(--muted); margin-top: 0.75rem; max-width: 520px; margin-inline: auto; }

/* Blog */
.post-card { text-align: left; }
.post-card .card__media { aspect-ratio: 16 / 9; }
.post-meta { color: var(--red); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.08em; font-family: var(--font-display); }

/* Pricing */
.price-card { text-align: center; padding: 2rem 1.5rem; }
.price-card.is-featured { border-color: var(--red); box-shadow: var(--shadow-red); position: relative; }
.price-card.is-featured::before {
  content: "Most Popular";
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: #fff;
  padding: 0.25rem 0.9rem; border-radius: 999px;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.72rem;
}
.price-card h3 { font-size: 1.4rem; }
.price-card .price { font-family: var(--font-display); font-size: 2.5rem; color: var(--white); margin: 0.5rem 0; }
.price-card .price small { font-size: 0.9rem; color: var(--muted); }
.price-card ul { display: grid; gap: 0.6rem; margin: 1.25rem 0; text-align: left; }
.price-card ul li { color: var(--muted); display: flex; gap: 0.5rem; }
.price-card ul li::before { content: "✓"; color: var(--red); font-weight: 700; }

/* Law enforcement flyer promo */
.promo-strip {
  background:
    radial-gradient(100% 120% at 0% 0%, rgba(10, 43, 130, 0.28) 0%, transparent 42%),
    radial-gradient(90% 120% at 100% 0%, rgba(225, 19, 19, 0.18) 0%, transparent 46%),
    var(--ink);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.promo-strip--flush-top { border-top: none; }
.promo-flyer {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}
.promo-flyer__media {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: var(--shadow);
  background: #050505;
}
.promo-flyer__media img {
  width: 100%;
  height: auto;
  display: block;
}
.promo-flyer__content {
  max-width: 560px;
}
.promo-flyer__content h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}
.promo-flyer__content p {
  color: var(--muted);
  margin-top: 1rem;
}
.promo-flyer__details {
  display: grid;
  gap: 0.85rem;
  margin-top: 1.5rem;
}
.promo-flyer__details li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--white);
}
.promo-flyer__details li::before {
  content: "•";
  color: var(--red);
  font-size: 1.2rem;
  line-height: 1;
  margin-top: 0.1rem;
}
.promo-flyer__meta {
  margin-top: 1.5rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.03);
}
.promo-flyer__meta strong {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
}
.promo-flyer__meta span {
  display: block;
  color: var(--muted);
  margin-top: 0.25rem;
}
.promo-flyer__actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: var(--black);
  border-top: 1px solid var(--line);
  padding-top: clamp(3rem, 5vw, 4rem);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
}
.site-footer h4 {
  font-size: 1rem;
  letter-spacing: 0.06em;
  margin-bottom: 1.1rem;
  color: var(--white);
}
.site-footer p { color: var(--muted); font-size: 0.92rem; }
.footer-links { display: grid; gap: 0.6rem; }
.footer-links a { color: var(--muted); font-size: 0.92rem; transition: color var(--transition); }
.footer-links a:hover { color: var(--red); }
.footer-contact li { color: var(--muted); font-size: 0.92rem; margin-bottom: 0.6rem; }
.social { display: flex; gap: 0.6rem; margin-top: 1rem; }
.social a {
  width: 40px; height: 40px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: grid; place-items: center;
  color: var(--white);
  transition: all var(--transition);
}
.social a svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}
.social a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.22);
}
.social a:hover svg { filter: brightness(1.08); }
.footer-bottom {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-block: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  color: var(--muted-2);
  font-size: 0.85rem;
}

/* =========================================================
   Utilities & animation
   ========================================================= */
.center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 880px) {
  /* Scale the centered wordmark down so logo + wordmark + Home still fit. */
  .site-wordmark { font-size: 1.2rem; letter-spacing: 0.03em; }

  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .contact-split { grid-template-columns: 1fr; }
  .promo-flyer { grid-template-columns: 1fr; }
  .promo-flyer__content { max-width: none; }

  /* About preview: instead of stacking the photo above the text, let it sit
     as a full-bleed background behind the whole section. */
  .about-preview .split { display: block; position: relative; }
  .about-preview .split__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    aspect-ratio: auto;
    border-radius: 0;
  }
  .about-preview .split__media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10,10,10,0.35) 0%, rgba(10,10,10,0.85) 55%, var(--ink) 100%);
  }
  .about-preview .split__body { position: relative; z-index: 1; }
}

@media (max-width: 640px) {
  /* Not enough room for the full wordmark next to the logo + Home on phones. */
  .site-wordmark { display: none; }

  /* Swap the "Home" label for a hamburger icon on phones. */
  .nav__menu-btn-label { display: none; }
  .nav__hamburger { display: flex; }

  /* Wordmark is hidden here, so drop its grid track — otherwise it still eats
     half the leftover space and the hamburger sits mid-screen instead of flush right. */
  .site-header .container { grid-template-columns: auto 1fr; }

  .grid--3, .grid--4 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  /* Keep Explore/Train side by side instead of stacking every block full-width —
     that alone was most of the footer's scroll length on phones. */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
  .footer-grid__brand,
  .footer-grid__contact { grid-column: 1 / -1; }
  .freeweek .container { flex-direction: column; text-align: center; }
  .freeweek__text { text-align: center; }
  .hero__actions .btn { width: 100%; }
  .promo-flyer__actions .btn { width: 100%; }

  /* keep horizontal scroll for schedule on small screens */
  .schedule-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .schedule-scroll .schedule-table { min-width: 560px; }
}
