/* ============================================================
   APACHE WARRIOR ACADEMY — css/style.css
   Modern Editorial Martial Arts
   ============================================================ */

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

:root {
  --red:        #C0392B;
  --red-dark:   #922B21;
  --red-light:  rgba(192,57,43,0.12);
  --black:      #0C0C0C;
  --near-black: #111111;
  --surface:    #181818;
  --border:     rgba(255,255,255,0.07);
  --cream:      #F2EDE4;
  --cream-dim:  rgba(242,237,228,0.55);
  --gold:       #C9A84C;
  --white:      #FFFFFF;
  --font-display: 'Bebas Neue', sans-serif;
  --font-cond:    'Barlow Condensed', sans-serif;
  --font-body:    'Barlow', sans-serif;
  --radius:     4px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font-body);
  background: var(--black);
  color: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ===== UTILITY ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 1.5rem; }

.label {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1rem;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  line-height: 0.95;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 1.5rem;
}
h2 em {
  font-style: normal;
  color: var(--red);
  -webkit-text-stroke: 0;
}

.section-head { margin-bottom: 3.5rem; }

/* ===== BUTTONS ===== */
.btn-primary {
  display: inline-block;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-cond);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border: 2px solid var(--red);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary:hover {
  background: transparent;
  color: var(--red);
}
.btn-primary.full { width: 100%; text-align: center; display: block; }

.btn-ghost {
  display: inline-block;
  background: transparent;
  color: var(--cream);
  font-family: var(--font-cond);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.85rem 2.2rem;
  border: 2px solid rgba(242,237,228,0.25);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover { border-color: var(--cream); background: rgba(242,237,228,0.06); }

.btn-white {
  display: inline-block;
  background: var(--white);
  color: var(--red);
  font-family: var(--font-cond);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 1rem 2.8rem;
  border: 2px solid var(--white);
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
}
.btn-white:hover { background: transparent; color: var(--white); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s ease, transform 0.75s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ===== NAV ===== */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  transition: background 0.4s, box-shadow 0.4s;
}
#navbar.scrolled {
  background: rgba(12,12,12,0.96);
  backdrop-filter: blur(16px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  width: 100%;
  max-width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2.5rem; height: 72px;
  box-sizing: border-box;
}
.nav-logo {
  text-decoration: none;
  display: flex; align-items: center;
}
.nav-logo .logo-img { height: 44px; width: auto; object-fit: contain; }
.nav-logo .logo-text {
  font-family: var(--font-display);
  font-size: 1.15rem;
  letter-spacing: 0.1em;
  color: var(--cream);
}

.nav-links {
  display: flex; gap: 2.2rem; list-style: none;
}
.nav-links a {
  font-family: var(--font-cond);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--cream-dim);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--cream); }

.nav-cta {
  font-family: var(--font-cond);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--white);
  background: var(--red);
  padding: 0.55rem 1.4rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.nav-cta:hover { background: var(--red-dark); }

.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  flex-direction: column; gap: 6px; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--cream); border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: 7rem 2rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse at 15% 70%, rgba(192,57,43,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(192,57,43,0.08) 0%, transparent 40%),
    var(--black);
}
.hero-overlay {
  position: absolute; inset: 0;
  background: rgba(12,12,12,0.35);
}

/* Geometric hero elements */
.hero-geo { position: absolute; inset: 0; overflow: hidden; }

.geo-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(192,57,43,0.12);
  animation: slowSpin 40s linear infinite;
}
.geo-ring-1 {
  width: 600px; height: 600px;
  right: -100px; top: 50%; transform: translateY(-50%);
}
.geo-ring-2 {
  width: 440px; height: 440px;
  right: -20px; top: 50%; transform: translateY(-50%);
  border-color: rgba(201,168,76,0.08);
  animation-direction: reverse;
  animation-duration: 60s;
}
.geo-ring-3 {
  width: 260px; height: 260px;
  right: 80px; top: 50%; transform: translateY(-50%);
  border-color: rgba(192,57,43,0.18);
  animation-duration: 25s;
}

.geo-slash {
  position: absolute;
  width: 2px;
  height: 200%;
  background: linear-gradient(to bottom, transparent, rgba(192,57,43,0.15), transparent);
  top: -50%; right: 28%;
  transform: rotate(22deg);
}
.geo-slash-2 {
  right: 38%;
  opacity: 0.5;
  transform: rotate(22deg);
}

@keyframes slowSpin {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

/* Noise texture overlay */
.hero::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 780px;
  padding-top: 2rem;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 0.8rem;
  font-family: var(--font-cond);
  font-size: 0.78rem; letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.6rem;
}
.dot { width: 5px; height: 5px; border-radius: 50%; background: var(--gold); display: inline-block; }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 11vw, 9.5rem);
  line-height: 0.92;
  letter-spacing: 0.02em;
  color: var(--cream);
  margin-bottom: 1.5rem;
  display: flex; flex-direction: column;
}
.hero-title .accent-line { color: var(--red); }

.hero-sub {
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  font-weight: 300;
  line-height: 1.75;
  color: var(--cream);
  max-width: 560px;
  margin-bottom: 2.5rem;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll-hint {
  position: absolute; left: 2.5rem; bottom: 2.5rem; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 0.6rem;
  opacity: 0.35;
}
.scroll-line {
  width: 1px; height: 48px;
  background: linear-gradient(to bottom, var(--cream), transparent);
  animation: scrollDown 1.8s ease-in-out infinite;
}
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  50.01% { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
.hero-scroll-hint span {
  font-family: var(--font-cond);
  font-size: 0.65rem; letter-spacing: 0.35em;
  writing-mode: vertical-rl;
  text-transform: uppercase;
}

/* ===== MARQUEE ===== */
.marquee-strip {
  background: var(--red);
  padding: 0.75rem 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex; gap: 0;
  animation: marquee 30s linear infinite;
}
.marquee-track span {
  font-family: var(--font-cond);
  font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.9);
  padding: 0 1.5rem;
}
.marquee-track .sep {
  font-size: 0.6rem; padding: 0 0.3rem;
  opacity: 0.5;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===== ABOUT ===== */
.about { padding: 7rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.about-img-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: 3px;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
}
.about-img-wrap img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.about-img-wrap.img-fallback {
  background: linear-gradient(145deg, rgba(192,57,43,0.2), var(--surface));
}
.about-badge {
  position: absolute; bottom: 1.5rem; right: 1.5rem;
  background: var(--red);
  padding: 1rem 1.2rem;
  border-radius: 2px;
  text-align: center;
}
.badge-num {
  font-family: var(--font-display);
  font-size: 2.2rem; line-height: 1;
  color: var(--white);
}
.badge-label {
  font-family: var(--font-cond);
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: 0.2rem;
}

.about-text p {
  font-weight: 300; line-height: 1.8;
  color: var(--cream-dim);
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
}
.about-stats {
  display: flex; gap: 3rem; margin: 2.5rem 0;
}
.stat { flex: 0 0 auto; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2.8rem; line-height: 1;
  color: var(--red);
}
.stat-lbl {
  font-family: var(--font-cond);
  font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  margin-top: 0.3rem;
}

/* ===== PROGRAMS ===== */
.programs {
  padding: 7rem 0;
  background: var(--near-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
}
.prog-card {
  background: var(--near-black);
  padding: 2.5rem 2rem;
  transition: background var(--transition);
  position: relative;
  overflow: hidden;
}
.prog-card::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--red);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--transition);
}
.prog-card:hover { background: var(--surface); }
.prog-card:hover::after { transform: scaleX(1); }

.prog-num {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: rgba(192,57,43,0.18);
  margin-bottom: 0.8rem;
  letter-spacing: -0.02em;
  transition: color var(--transition);
}
.prog-card:hover .prog-num { color: rgba(192,57,43,0.35); }
.prog-card h3 {
  font-family: var(--font-cond);
  font-size: 1.25rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 0.8rem;
}
.prog-card p {
  font-weight: 300; font-size: 0.92rem;
  line-height: 1.7; color: var(--cream-dim);
  margin-bottom: 1.2rem;
}
.prog-tag {
  font-family: var(--font-cond);
  font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ===== PRICING ===== */
.pricing { padding: 7rem 0; }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.price-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 2.5rem 2rem;
  position: relative;
  transition: border-color var(--transition), transform var(--transition);
}
.price-card:hover { border-color: rgba(192,57,43,0.4); transform: translateY(-4px); }
.price-card.featured {
  border-color: var(--red);
  background: linear-gradient(145deg, rgba(192,57,43,0.1), var(--surface));
}

.featured-badge {
  position: absolute; top: -1px; left: 50%; transform: translateX(-50%);
  background: var(--red); color: var(--white);
  font-family: var(--font-cond);
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 0 0 3px 3px;
}

.price-header { margin-bottom: 1.5rem; padding-top: 0.5rem; }
.price-header h3 {
  font-family: var(--font-cond);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--cream-dim); margin-bottom: 0.6rem;
}
.price-tag {
  font-family: var(--font-display);
  font-size: 4rem; line-height: 1;
  color: var(--cream);
}
.price-tag sup { font-size: 1.8rem; vertical-align: top; margin-top: 0.5rem; }
.price-tag span { font-size: 1rem; color: var(--cream-dim); }

.price-list { list-style: none; margin-bottom: 2rem; }
.price-list li {
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 300; font-size: 0.93rem;
  color: var(--cream-dim);
  display: flex; align-items: center; gap: 0.7rem;
}
.price-list li::before {
  content: ''; display: block; flex-shrink: 0;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--red);
}

.discounts {
  display: flex; gap: 1rem; flex-wrap: wrap;
  justify-content: center; margin-top: 2rem;
}
.discount-pill {
  background: rgba(201,168,76,0.08);
  border: 1px solid rgba(201,168,76,0.2);
  color: var(--gold);
  font-family: var(--font-cond);
  font-size: 0.82rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.7rem 1.5rem;
  border-radius: 100px;
}

/* ===== SCHEDULE ===== */
.schedule {
  padding: 7rem 0;
  background: var(--near-black);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.schedule-wrap { margin-top: 3rem; }
.sched-table {
  width: 100%; border-collapse: collapse;
  margin-bottom: 1.5rem;
}
.sched-table thead th {
  font-family: var(--font-cond);
  font-size: 0.72rem; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 1rem 1.2rem;
  text-align: left;
  border-bottom: 2px solid rgba(201,168,76,0.25);
}
.sched-table tbody td {
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--border);
  font-weight: 300;
  font-size: 0.98rem;
  color: var(--cream-dim);
  vertical-align: middle;
}
.sched-table tbody tr { transition: background var(--transition); }
.sched-table tbody tr:hover td { background: rgba(192,57,43,0.05); }

.class-tag {
  display: inline-block;
  font-family: var(--font-cond);
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.3rem 0.8rem;
  border-radius: 100px;
}
.class-tag.kids  { background: rgba(192,57,43,0.15); color: #e57373; border: 1px solid rgba(192,57,43,0.3); }
.class-tag.adult { background: rgba(201,168,76,0.12); color: var(--gold); border: 1px solid rgba(201,168,76,0.25); }
.class-tag.open  { background: rgba(255,255,255,0.06); color: var(--cream-dim); border: 1px solid var(--border); }
.class-tag.self  { background: rgba(100,180,100,0.1); color: #81c784; border: 1px solid rgba(100,180,100,0.25); }

.sched-note {
  font-size: 0.88rem; font-weight: 300; font-style: italic;
  color: var(--cream-dim); opacity: 0.6;
  line-height: 1.7;
}

/* ===== FOUNDER ===== */
.founder { padding: 7rem 0; }
.founder-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 5rem;
  align-items: center;
}
.founder-photo {
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
}
.founder-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}
.founder-photo.photo-fallback {
  background: linear-gradient(145deg, rgba(192,57,43,0.2), var(--surface));
}
.photo-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(12,12,12,0.45);
  opacity: 0;
  transition: opacity var(--transition);
}
.founder-photo:hover .photo-overlay { opacity: 1; }
.photo-overlay span {
  font-family: var(--font-cond);
  font-size: 0.7rem; letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
}

.founder-name-plate {
  margin-top: 1rem;
  padding-left: 0.5rem;
  border-left: 3px solid var(--red);
}
.fn-name {
  font-family: var(--font-display);
  font-size: 1.3rem; letter-spacing: 0.08em;
  color: var(--cream);
}
.fn-rank {
  font-family: var(--font-cond);
  font-size: 0.75rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-top: 0.2rem;
}

.founder-text p {
  font-weight: 300; line-height: 1.8;
  color: var(--cream-dim); font-size: 1.05rem;
  margin-bottom: 1.2rem;
}
.creds { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 1.8rem; }
.cred {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  padding: 0.5rem 1rem;
  font-family: var(--font-cond);
  font-size: 0.72rem; letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cream-dim);
  border-radius: 2px;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  position: relative;
  text-align: center;
  padding: 8rem 2rem;
  background: linear-gradient(135deg, var(--red-dark) 0%, var(--red) 100%);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,0,0,0.3) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-banner h2 {
  color: var(--white);
  margin-bottom: 1rem;
}
.cta-banner h2 em { color: rgba(255,255,255,0.85); -webkit-text-stroke: 2px rgba(255,255,255,0.6); }
.cta-banner p {
  font-size: 1.1rem; font-weight: 300;
  color: rgba(255,255,255,0.75);
  margin-bottom: 2.5rem;
}

/* ===== CONTACT ===== */
.contact { padding: 7rem 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: start;
}
.contact-info h2 { margin-bottom: 2.5rem; }

.info-block { margin-bottom: 2rem; }
.info-label {
  font-family: var(--font-cond);
  font-size: 0.7rem; letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.info-val {
  font-weight: 300; line-height: 1.7;
  font-size: 1rem; color: var(--cream-dim);
}
.info-val a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(242,237,228,0.2);
  transition: border-color var(--transition);
}
.info-val a:hover { border-color: var(--red); color: var(--cream); }

/* Form */
.contact-form-wrap {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2.5rem;
}
.contact-form { display: flex; flex-direction: column; gap: 1rem; }

.form-row { width: 100%; }
.form-row.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.9rem 1rem;
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--red);
  background: rgba(192,57,43,0.05);
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(242,237,228,0.25); }
.contact-form select { cursor: pointer; }
.contact-form select option { background: var(--near-black); }
.contact-form textarea { resize: vertical; min-height: 110px; }

.form-success {
  display: none;
  text-align: center;
  color: #81c784;
  font-family: var(--font-cond);
  font-size: 0.9rem; letter-spacing: 0.1em;
  padding: 1rem;
  border: 1px solid rgba(129,199,132,0.25);
  border-radius: var(--radius);
  background: rgba(129,199,132,0.06);
}

/* ===== FOOTER ===== */
footer {
  background: #080808;
  border-top: 1px solid var(--border);
  padding: 3rem 2rem;
  text-align: center;
}
.footer-inner { max-width: 900px; margin: 0 auto; }
.footer-logo img { height: 40px; object-fit: contain; margin-bottom: 0.5rem; }
.footer-logo-text {
  font-family: var(--font-display);
  font-size: 1.1rem; letter-spacing: 0.15em;
  color: var(--cream);
  margin-bottom: 0.5rem;
  display: block;
}
.footer-tagline {
  font-family: var(--font-cond);
  font-size: 0.75rem; letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--cream-dim);
  opacity: 0.4;
  margin-bottom: 1.5rem;
}
.footer-nav {
  display: flex; justify-content: center; gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.footer-nav a {
  font-family: var(--font-cond);
  font-size: 0.78rem; letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cream-dim);
  text-decoration: none;
  opacity: 0.4;
  transition: opacity var(--transition);
}
.footer-nav a:hover { opacity: 0.85; }
.footer-copy {
  font-size: 0.78rem; color: var(--cream-dim);
  opacity: 0.25;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .about-grid,
  .founder-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-media { max-width: 450px; }
  .founder-photo-wrap { max-width: 320px; }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto 2rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .nav-links.open {
    display: flex; flex-direction: column;
    position: fixed; top: 72px; left: 0; right: 0; bottom: 0;
    background: rgba(10,10,10,0.98);
    backdrop-filter: blur(16px);
    padding: 3rem 2rem;
    gap: 2rem;
    z-index: 199;
  }
  .nav-links.open a { font-size: 1.4rem; letter-spacing: 0.12em; }
  .nav-cta { display: none; }

  .programs-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: clamp(3.5rem, 14vw, 5.5rem); }
  .about-stats { flex-direction: column; gap: 1.2rem; }
  .form-row.two-col { grid-template-columns: 1fr; }
  section { padding: 5rem 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .btn-primary, .btn-ghost { text-align: center; width: 100%; }
  .discounts { flex-direction: column; align-items: center; }
  .contact-form-wrap { padding: 1.5rem; }
  .cta-banner { padding: 5rem 1.5rem; }
}

/* ============================================================
   ADDITIONS — Pricing Tabs, FAQ Form, Geo Placeholders,
                Founding Banner, Family Table
   ============================================================ */

/* ── PRICING TABS ── */
.price-tabs {
  display: flex; gap: 0.5rem; flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border);
  padding-bottom: 0;
}
.price-tab {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-cond);
  font-size: 0.85rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cream-dim);
  padding: 0.75rem 1.5rem;
  border-bottom: 3px solid transparent;
  margin-bottom: -1px;
  transition: color var(--transition), border-color var(--transition);
}
.price-tab:hover { color: var(--cream); }
.price-tab.active { color: var(--red); border-bottom-color: var(--red); }

.price-panel { display: none; }
.price-panel.active { display: block; }

.pricing-grid.two-col {
  grid-template-columns: repeat(2, 1fr);
  max-width: 760px; margin: 0 auto;
}

.price-note {
  text-align: center; margin-top: 1.5rem;
  font-size: 0.85rem; font-weight: 300;
  color: var(--cream-dim); opacity: 0.55;
  font-style: italic;
}

/* ── FOUNDING MEMBER BANNER ── */
.founding-banner {
  margin-top: 2rem;
  background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
  border: 1px solid rgba(201,168,76,0.25);
  border-radius: 4px;
  padding: 1.5rem 2rem;
}
.founding-inner {
  display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap;
}
.founding-icon { font-size: 2rem; flex-shrink: 0; }
.founding-inner > div { flex: 1; min-width: 200px; }
.founding-inner strong {
  font-family: var(--font-cond);
  font-size: 1rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--gold);
  display: block; margin-bottom: 0.3rem;
}
.founding-inner p {
  font-size: 0.88rem; font-weight: 300;
  color: var(--cream-dim); line-height: 1.6;
}

/* ── FAMILY TABLE ── */
.family-table {
  max-width: 600px; margin: 0 auto;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 4px; overflow: hidden;
}
.family-header {
  padding: 2rem 2rem 1rem;
  border-bottom: 1px solid var(--border);
}
.family-header h3 {
  font-family: var(--font-cond);
  font-size: 1.1rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--cream); margin-bottom: 0.4rem;
}
.family-header p {
  font-size: 0.88rem; font-weight: 300;
  color: var(--cream-dim); line-height: 1.6;
}
.family-rows { padding: 0 2rem; }
.family-row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--border);
  font-weight: 300; font-size: 0.95rem; color: var(--cream-dim);
}
.family-row.highlight { color: var(--cream); }
.family-price {
  font-family: var(--font-display);
  font-size: 1.6rem; color: var(--red);
}
.family-price small {
  font-family: var(--font-body);
  font-size: 0.75rem; color: var(--cream-dim);
}
.family-example {
  margin: 1.5rem 2rem;
  background: rgba(192,57,43,0.06);
  border: 1px solid rgba(192,57,43,0.15);
  border-radius: 3px; padding: 1rem 1.2rem;
  font-size: 0.88rem; line-height: 1.8;
  color: var(--cream-dim);
}
.family-example strong { color: var(--cream); }
.family-example span { font-size: 0.82rem; opacity: 0.6; }
.family-table > a { margin: 0 2rem 2rem; }

/* ── FAQ CHIP FORM ── */
.faq-group { margin-bottom: 1.2rem; }
.faq-label {
  font-family: var(--font-cond);
  font-size: 0.72rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.6rem; display: block;
}
.faq-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.chip {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--cream-dim);
  font-family: var(--font-cond);
  font-size: 0.8rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.5rem 1rem;
  border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}
.chip:hover { border-color: rgba(192,57,43,0.4); color: var(--cream); }
.chip.selected {
  background: rgba(192,57,43,0.15);
  border-color: var(--red);
  color: var(--cream);
}

.form-disclaimer {
  font-size: 0.78rem; text-align: center;
  color: var(--cream-dim); opacity: 0.4;
  margin-top: 0.8rem; font-style: italic;
}

/* ── GEO PLACEHOLDERS (reusable) ── */
.geo-placeholder {
  position: relative;
  background: var(--surface) !important;
  overflow: hidden;
}
.placeholder-geo {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 40% 50%, rgba(192,57,43,0.14) 0%, transparent 65%);
}
.pg-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(192,57,43,0.12);
}
.pg-ring-1 { width: 140%; padding-top: 140%; top: 50%; left: 50%; transform: translate(-50%,-50%); }
.pg-ring-2 {
  width: 95%; padding-top: 95%; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-color: rgba(201,168,76,0.09);
}
.pg-ring-3 {
  width: 55%; padding-top: 55%; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  border-color: rgba(192,57,43,0.2);
}
.pg-slash {
  position: absolute; width: 2px; height: 200%;
  background: linear-gradient(to bottom, transparent, rgba(192,57,43,0.1), transparent);
  top: -50%; left: 40%; transform: rotate(22deg);
}
.pg-slash-2 { left: 55%; opacity: 0.5; }

.photo-label-overlay {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
  padding-bottom: 1.5rem;
}
.photo-label-overlay span {
  font-family: var(--font-cond);
  font-size: 0.65rem; letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.25);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 0.4rem 1rem;
}

/* ── RESPONSIVE additions ── */
@media (max-width: 768px) {
  .pricing-grid.two-col { grid-template-columns: 1fr; }
  .founding-inner { flex-direction: column; text-align: center; }
  .price-tabs { gap: 0; }
  .price-tab { padding: 0.6rem 1rem; font-size: 0.75rem; }
}

/* ============================================================
   SCHEDULE TOGGLE + CALENDAR + MODAL + MILITARY SOLO CARD
   ============================================================ */

/* ── Schedule header with toggle ── */
.schedule-header {
  display: flex; align-items: flex-end;
  justify-content: space-between; flex-wrap: wrap;
  gap: 1.5rem; margin-bottom: 3rem;
}
.sched-view-toggle {
  display: flex; gap: 0.4rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 6px; padding: 4px;
}
.sched-toggle {
  display: flex; align-items: center; gap: 0.5rem;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-cond);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--cream-dim);
  padding: 0.5rem 1rem; border-radius: 4px;
  transition: all var(--transition);
}
.sched-toggle.active {
  background: var(--red);
  color: var(--white);
}
.sched-toggle:hover:not(.active) { color: var(--cream); }

/* List view reserve button */
.register-btn {
  background: transparent;
  border: 1px solid rgba(192,57,43,0.35);
  color: var(--red);
  font-family: var(--font-cond);
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.8rem; border-radius: 100px;
  cursor: pointer; white-space: nowrap;
  transition: all var(--transition);
}
.register-btn:hover {
  background: var(--red); color: var(--white);
  border-color: var(--red);
}

/* ── Calendar view ── */
.cal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.cal-day {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 6px; overflow: hidden;
}
.cal-day-header {
  background: rgba(255,255,255,0.04);
  border-bottom: 1px solid var(--border);
  padding: 1rem 1.2rem;
  display: flex; align-items: center; justify-content: space-between;
}
.cal-day-name {
  font-family: var(--font-display);
  font-size: 1.4rem; letter-spacing: 0.06em;
  color: var(--cream);
}
.cal-day-sub {
  font-family: var(--font-cond);
  font-size: 0.65rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cream-dim); opacity: 0.4;
}
.cal-slots { padding: 0.8rem; display: flex; flex-direction: column; gap: 0.7rem; }

.cal-slot {
  border-radius: 4px; padding: 1rem 1.1rem;
  display: flex; flex-direction: column; gap: 0.2rem;
}
.kids-slot  { background: rgba(192,57,43,0.1); border: 1px solid rgba(192,57,43,0.2); }
.adult-slot { background: rgba(201,168,76,0.08); border: 1px solid rgba(201,168,76,0.18); }

.cal-slot-time {
  font-family: var(--font-cond);
  font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cream-dim); opacity: 0.6;
}
.cal-slot-name {
  font-family: var(--font-cond);
  font-size: 1rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--cream);
}
.cal-slot-ages {
  font-size: 0.8rem; font-weight: 300;
  color: var(--cream-dim); opacity: 0.6;
  margin-bottom: 0.6rem;
}
.cal-register-btn {
  align-self: flex-start;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: var(--cream);
  font-family: var(--font-cond);
  font-size: 0.68rem; letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 100px;
  cursor: pointer;
  transition: all var(--transition);
}
.cal-register-btn:hover { background: var(--red); border-color: var(--red); }

.cal-legend {
  grid-column: 1 / -1;
  display: flex; gap: 1.5rem; align-items: center;
  padding: 0.5rem 0;
}
.cal-legend-item {
  font-family: var(--font-cond);
  font-size: 0.72rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--cream-dim);
  display: flex; align-items: center; gap: 0.5rem;
}
.cal-legend-item::before {
  content: ''; display: block;
  width: 10px; height: 10px; border-radius: 2px;
}
.kids-dot::before  { background: rgba(192,57,43,0.6); }
.adult-dot::before { background: rgba(201,168,76,0.6); }

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0; z-index: 500;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease;
}
.modal-overlay.open {
  opacity: 1; pointer-events: all;
}
.modal-box {
  background: var(--near-black);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 2.5rem;
  width: 100%; max-width: 520px;
  max-height: 90vh; overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
}
.modal-overlay.open .modal-box { transform: translateY(0); }

.modal-close {
  position: absolute; top: 1rem; right: 1.2rem;
  background: none; border: none; cursor: pointer;
  color: var(--cream-dim); font-size: 1.5rem;
  line-height: 1; opacity: 0.5;
  transition: opacity var(--transition);
}
.modal-close:hover { opacity: 1; }

.modal-label {
  font-family: var(--font-cond);
  font-size: 0.7rem; letter-spacing: 0.3em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.5rem;
}
.modal-title {
  font-family: var(--font-display);
  font-size: 1.6rem; letter-spacing: 0.05em;
  color: var(--cream); margin-bottom: 0.5rem;
  text-transform: uppercase;
}
.modal-sub {
  font-size: 0.88rem; font-weight: 300;
  color: var(--cream-dim); line-height: 1.6;
  margin-bottom: 1.5rem;
}
.modal-form { display: flex; flex-direction: column; gap: 0.8rem; }
.modal-row { display: flex; gap: 0.8rem; }
.modal-row input { flex: 1; }
.modal-chips-label {
  font-family: var(--font-cond);
  font-size: 0.7rem; letter-spacing: 0.22em;
  text-transform: uppercase; color: var(--gold);
}
.modal-chips { margin-bottom: 0.4rem; }

/* Waiver */
.waiver-block {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 1rem;
}
.waiver-check {
  display: flex; gap: 0.8rem; align-items: flex-start; cursor: pointer;
}
.waiver-check input[type="checkbox"] {
  flex-shrink: 0; width: 16px; height: 16px;
  margin-top: 2px; accent-color: var(--red); cursor: pointer;
}
.waiver-text {
  font-size: 0.82rem; font-weight: 300;
  color: var(--cream-dim); line-height: 1.6;
}
.waiver-link {
  background: none; border: none; cursor: pointer;
  color: var(--gold); font-size: inherit;
  text-decoration: underline; text-underline-offset: 2px;
  padding: 0;
}
.waiver-full {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: 4px; padding: 1rem;
  font-size: 0.8rem; font-weight: 300;
  color: var(--cream-dim); line-height: 1.7;
}
.waiver-close-link {
  background: none; border: none; cursor: pointer;
  color: var(--gold); font-size: 0.78rem;
  display: block; margin-top: 0.8rem; padding: 0;
  text-decoration: underline;
}
.modal-submit { margin-top: 0.5rem; }
.modal-success {
  display: none; text-align: center;
  color: #81c784; font-family: var(--font-cond);
  font-size: 0.9rem; letter-spacing: 0.1em;
  padding: 1rem; margin-top: 0.5rem;
  border: 1px solid rgba(129,199,132,0.25);
  border-radius: 4px; background: rgba(129,199,132,0.06);
}

/* ── Military solo card ── */
.military-card-wrap {
  display: flex; justify-content: center;
  margin-bottom: 1.5rem;
}
.military-solo {
  max-width: 480px; width: 100%;
}
.military-badge-row {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  margin-bottom: 1.2rem; padding-top: 0.5rem;
}
.mil-badge {
  font-family: var(--font-cond);
  font-size: 0.7rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--cream-dim);
  padding: 0.3rem 0.7rem; border-radius: 100px;
}
.military-compare {
  display: flex; gap: 1rem; align-items: center;
  margin-bottom: 1.2rem; flex-wrap: wrap;
}
.mil-was {
  font-family: var(--font-cond);
  font-size: 0.8rem; letter-spacing: 0.1em;
  text-decoration: line-through; color: var(--cream-dim); opacity: 0.4;
}
.mil-save {
  font-family: var(--font-cond);
  font-size: 0.78rem; letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,168,76,0.1);
  border: 1px solid rgba(201,168,76,0.2);
  padding: 0.2rem 0.7rem; border-radius: 100px;
}

/* ── Kenneth photo ── */
.founder-photo {
  aspect-ratio: 3/4;
  border-radius: 3px;
  overflow: hidden;
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
}
.kenneth-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.founder-photo-fallback {
  position: absolute; inset: 0;
  display: flex; align-items: flex-end; justify-content: center;
}

/* ── Mobile additions ── */
@media (max-width: 768px) {
  .schedule-header { flex-direction: column; align-items: flex-start; }
  .cal-grid { grid-template-columns: 1fr; }
  .modal-row { flex-direction: column; }
  .modal-box { padding: 1.5rem; }
  .military-badge-row { gap: 0.4rem; }
}

/* Hero background photo — sits behind geo overlay */
.hero-bg-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block; z-index: 0;
}
@media (max-width: 768px) {
  .hero-bg-img {
    object-position: 60% center;
    object-fit: cover;
  }
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    padding: 5rem 1.5rem 3rem;
  }
  .hero-content {
    max-width: 100%;
  }
}
/* Darken overlay more when photo is present */
.hero-bg:has(.hero-bg-img:not([style*="none"])) .hero-overlay {
  background:
    linear-gradient(to right, rgba(12,12,12,0.88) 40%, rgba(12,12,12,0.5) 100%),
    linear-gradient(to top, rgba(12,12,12,0.7) 0%, transparent 60%);
}


/* ============================================================
   LIGHT BACKGROUND TEST — applied via <body class="light-mode">
   Remove class from <body> to revert to dark theme
   ============================================================ */

body.light-mode {
  --black:      #F7F4EF;
  --near-black: #EDE9E1;
  --surface:    #E4DFD6;
  --border:     rgba(44,36,22,0.12);
  --cream:      #1C1712;
  --cream-dim:  rgba(44,36,22,0.65);
  --gold:       #8B6914;
  background: #F7F4EF;
  color: #1C1712;
}

/* Nav */
body.light-mode #navbar.scrolled {
  background: rgba(247,244,239,0.96);
  box-shadow: 0 1px 0 rgba(44,36,22,0.1);
}
body.light-mode .nav-links a { color: rgba(44,36,22,0.65); }
body.light-mode .nav-links a:hover { color: #1C1712; }
body.light-mode .nav-logo .logo-text { color: #1C1712; }
body.light-mode .hamburger span { background: #1C1712; }

/* Hero */
body.light-mode .hero-bg {
  background:
    radial-gradient(ellipse at 15% 70%, rgba(192,57,43,0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(192,57,43,0.06) 0%, transparent 40%),
    #F7F4EF;
}
body.light-mode .hero-overlay {
  background: rgba(247,244,239,0.25);
}
body.light-mode .hero-bg-img + .hero-geo ~ .hero-overlay,
body.light-mode .hero-overlay {
  background: linear-gradient(
    to top,
    rgba(247,244,239,0.92) 0%,
    rgba(247,244,239,0.5) 40%,
    rgba(247,244,239,0.15) 100%
  );
}
body.light-mode .hero-eyebrow { color: #5C3D0E; }
body.light-mode .dot { background: #5C3D0E; }
body.light-mode .hero-sub { color: #1C1712; }
body.light-mode .geo-ring { border-color: rgba(192,57,43,0.1); }

/* Marquee — keep red */
body.light-mode .marquee-strip { background: var(--red); }

/* Sections */
body.light-mode .programs { background: #EDE9E1; border-color: rgba(44,36,22,0.08); }
body.light-mode .schedule  { background: #EDE9E1; border-color: rgba(44,36,22,0.08); }
body.light-mode .prog-card { background: #F7F4EF; border-color: rgba(44,36,22,0.1); }
body.light-mode .prog-card:hover { background: #EDE9E1; border-color: rgba(192,57,43,0.25); }
body.light-mode .prog-card h3 { color: #1C1712; }
body.light-mode .prog-card p { color: rgba(44,36,22,0.65); }
body.light-mode .prog-num { color: rgba(192,57,43,0.15); }

/* Price cards */
body.light-mode .price-card { background: #EDE9E1; border-color: rgba(44,36,22,0.1); }
body.light-mode .price-card.featured { background: rgba(192,57,43,0.06); border-color: var(--red); }
body.light-mode .price-tag { color: #1C1712; }
body.light-mode .price-list li { color: rgba(44,36,22,0.7); border-color: rgba(44,36,22,0.08); }
body.light-mode .price-header h3 { color: rgba(44,36,22,0.55); }

/* Stats */
body.light-mode .stat-lbl { color: rgba(44,36,22,0.5); }

/* About image */
body.light-mode .about-img-wrap { background: #EDE9E1; border-color: rgba(44,36,22,0.1); }

/* Schedule table */
body.light-mode .sched-table thead th { border-color: rgba(44,36,22,0.15); }
body.light-mode .sched-table tbody td { color: rgba(44,36,22,0.7); border-color: rgba(44,36,22,0.08); }
body.light-mode .sched-table tbody tr:hover td { background: rgba(192,57,43,0.04); }
body.light-mode .sched-note { color: rgba(44,36,22,0.5); }

/* Founder */
body.light-mode .founder-photo { background: #EDE9E1; border-color: rgba(44,36,22,0.1); }
body.light-mode .fn-name { color: #1C1712; }
body.light-mode .cred { background: rgba(44,36,22,0.04); border-color: rgba(44,36,22,0.1); color: rgba(44,36,22,0.65); }
body.light-mode .founder-text p { color: rgba(44,36,22,0.65); }

/* Contact form */
body.light-mode .contact-form-wrap { background: #EDE9E1; border-color: rgba(44,36,22,0.1); }
body.light-mode .contact-form input,
body.light-mode .contact-form select,
body.light-mode .contact-form textarea {
  background: #F7F4EF;
  border-color: rgba(44,36,22,0.15);
  color: #1C1712;
}
body.light-mode .contact-form input::placeholder,
body.light-mode .contact-form textarea::placeholder { color: rgba(44,36,22,0.3); }
body.light-mode .info-val { color: rgba(44,36,22,0.65); }
body.light-mode .info-val a { color: #1C1712; border-color: rgba(44,36,22,0.2); }

/* Chips */
body.light-mode .chip { background: rgba(44,36,22,0.04); border-color: rgba(44,36,22,0.12); color: rgba(44,36,22,0.65); }
body.light-mode .chip.selected { background: rgba(192,57,43,0.1); border-color: var(--red); color: #1C1712; }

/* Contact info */
body.light-mode .about-text p { color: rgba(44,36,22,0.65); }

/* Discount pills */
body.light-mode .discount-pill { background: rgba(139,105,20,0.08); border-color: rgba(139,105,20,0.2); }

/* Founding banner */
body.light-mode .founding-banner { background: rgba(139,105,20,0.07); border-color: rgba(139,105,20,0.2); }
body.light-mode .founding-inner p { color: rgba(44,36,22,0.65); }

/* Family table */
body.light-mode .family-table { background: #EDE9E1; border-color: rgba(44,36,22,0.1); }
body.light-mode .family-header h3 { color: #1C1712; }
body.light-mode .family-header p { color: rgba(44,36,22,0.65); }
body.light-mode .family-row { color: rgba(44,36,22,0.7); border-color: rgba(44,36,22,0.08); }
body.light-mode .family-example { color: rgba(44,36,22,0.65); border-color: rgba(192,57,43,0.15); }
body.light-mode .family-example strong { color: #1C1712; }

/* Schedule toggle */
body.light-mode .sched-view-toggle { background: rgba(44,36,22,0.05); border-color: rgba(44,36,22,0.1); }
body.light-mode .sched-toggle { color: rgba(44,36,22,0.55); }
body.light-mode .sched-toggle.active { background: var(--red); color: white; }

/* Calendar slots */
body.light-mode .cal-day { background: #EDE9E1; border-color: rgba(44,36,22,0.1); }
body.light-mode .cal-day-header { background: rgba(44,36,22,0.04); border-color: rgba(44,36,22,0.08); }
body.light-mode .cal-day-name { color: #1C1712; }
body.light-mode .cal-slot-name { color: #1C1712; }
body.light-mode .register-btn { border-color: rgba(192,57,43,0.3); color: var(--red); }

/* Modal */
body.light-mode .modal-box { background: #F7F4EF; border-color: rgba(44,36,22,0.12); }
body.light-mode .modal-title { color: #1C1712; }
body.light-mode .modal-sub { color: rgba(44,36,22,0.65); }
body.light-mode .modal-form input,
body.light-mode .modal-form select,
body.light-mode .modal-form textarea {
  background: #EDE9E1; border-color: rgba(44,36,22,0.15); color: #1C1712;
}
body.light-mode .waiver-block { background: rgba(44,36,22,0.04); border-color: rgba(44,36,22,0.1); }
body.light-mode .waiver-text { color: rgba(44,36,22,0.65); }
body.light-mode .waiver-full { background: rgba(44,36,22,0.03); border-color: rgba(44,36,22,0.08); color: rgba(44,36,22,0.65); }

/* Footer */
body.light-mode footer { background: #E4DFD6; border-color: rgba(44,36,22,0.1); }
body.light-mode .footer-tagline { color: #4A3520; }
body.light-mode .footer-nav a { color: #3D2B15; }
body.light-mode .footer-nav a:hover { color: #1C1712; }
body.light-mode .footer-copy { color: #5C4A32; }
body.light-mode .footer-logo-text { color: #1C1712; }

/* Buttons — ghost needs contrast on light bg */
body.light-mode .btn-ghost {
  color: #1C1712;
  border-color: rgba(44,36,22,0.3);
}
body.light-mode .btn-ghost:hover { border-color: #1C1712; background: rgba(44,36,22,0.06); }

/* Scroll hint */
body.light-mode .scroll-line { background: linear-gradient(to bottom, #1C1712, transparent); }
body.light-mode .hero-scroll-hint span { color: #1C1712; }

/* Section labels */
body.light-mode h2 { color: #1C1712; }
body.light-mode .section-head h2 { color: #1C1712; }


/* ── Light mode text contrast improvements ── */
body.light-mode,
body.light-mode p,
body.light-mode li,
body.light-mode td {
  color: #1C1712;
}
body.light-mode .about-text p,
body.light-mode .founder-text p,
body.light-mode .hero-sub,
body.light-mode .prog-card p,
body.light-mode .price-list li,
body.light-mode .family-row,
body.light-mode .info-val,
body.light-mode .sched-note,
body.light-mode .schedule-note-box,
body.light-mode .sched-table tbody td,
body.light-mode .cal-slot-ages,
body.light-mode .cal-slot-time,
body.light-mode .price-period,
body.light-mode .enroll-form-sub,
body.light-mode .enroll-benefit-text p,
body.light-mode .form-disclaimer,
body.light-mode .page-hero-sub,
body.light-mode .modal-sub,
body.light-mode .waiver-text,
body.light-mode .phil-block p,
body.light-mode .instructor-bio p,
body.light-mode .enroll-benefit-text p {
  color: #2C2416;
}
body.light-mode h2,
body.light-mode h3,
body.light-mode .prog-card h3,
body.light-mode .price-header h3,
body.light-mode .cal-slot-name,
body.light-mode .cal-day-name,
body.light-mode .day-card-name,
body.light-mode .fn-name,
body.light-mode .inp-name,
body.light-mode .modal-title,
body.light-mode .enroll-form-title,
body.light-mode .video-title,
body.light-mode .family-header h3,
body.light-mode .value-card h3,
body.light-mode .program-detail-card h3,
body.light-mode .phil-block h4 {
  color: #1C1712;
}
body.light-mode .stat-num { color: var(--red); }
body.light-mode .pdc-num,
body.light-mode .prog-num { color: rgba(192,57,43,0.2); }
body.light-mode .price-tag { color: #1C1712; }
body.light-mode .price-tag sup,
body.light-mode .price-tag span { color: #5C4A32; }
body.light-mode .video-desc { color: #2C2416; }
body.light-mode .video-tag { color: var(--gold); }
body.light-mode .badge-label { color: rgba(255,255,255,0.85); }
body.light-mode .badge-num { color: #ffffff; }
body.light-mode .esm-time { color: #5C4A32; }
body.light-mode .esm-day { color: #1C1712; }
body.light-mode .enroll-waiver-text { color: #2C2416; }
body.light-mode .enroll-waiver-full { color: #2C2416; }
body.light-mode .slot-ages { color: #5C4A32; }
body.light-mode .slot-time { color: #5C4A32; }
body.light-mode .slot-name { color: #1C1712; }
body.light-mode .page-hero-content h1 { color: #1C1712; }
body.light-mode .page-hero-content h1 em { color: var(--red); }
body.light-mode .section-head p { color: #2C2416; }
body.light-mode .about-text p { color: #2C2416; }
body.light-mode .contact-item p { color: #2C2416; }
body.light-mode .pdc-tag { color: #8B6914; }
body.light-mode .prog-tag { color: #8B6914; }
body.light-mode .sched-table thead th { color: #8B6914; }
body.light-mode .schedule-note-box strong { color: #8B6914; }

/* Two-card grid — centers 2 cards instead of 3-column stretch */
.programs-grid.two-only {
  grid-template-columns: repeat(2, 1fr);
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.program-detail-grid.two-only {
  grid-template-columns: repeat(2, 1fr);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (max-width: 640px) {
  .programs-grid.two-only,
  .program-detail-grid.two-only {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

/* About section real photo */
.about-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--border);
  aspect-ratio: 4/5;
  background: var(--surface);
}
.about-photo {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  z-index: 300;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--red);
  color: var(--white);
  border: none; cursor: pointer;
  font-size: 1.1rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease, background 0.2s;
  box-shadow: 0 4px 16px rgba(192,57,43,0.35);
}
.back-to-top.visible {
  opacity: 1; pointer-events: all;
  transform: translateY(0);
}
.back-to-top:hover { background: var(--red-dark); }
body.light-mode .back-to-top { box-shadow: 0 4px 16px rgba(192,57,43,0.25); }
