/* ============================================================
   APEX MARTIAL ARTS ACADEMY — stylesheet
   ============================================================ */

:root {
  --bg: #0b0b0c;
  --bg-alt: #141416;
  --panel: #1a1a1d;
  --panel-light: #202023;
  --border: rgba(245, 243, 238, 0.08);
  --border-strong: rgba(245, 243, 238, 0.16);

  --gold: #c9a227;
  --gold-light: #e3c463;
  --gold-dim: rgba(201, 162, 39, 0.16);

  --red: #9c231c;
  --red-light: #c73a30;

  --text: #f5f3ee;
  --text-muted: #a5a3a0;
  --text-faint: #6f6d6b;

  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 6px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

section {
  position: relative;
  scroll-margin-top: 104px;
}

/* ---------- Typography ---------- */

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section-head {
  max-width: 620px;
  margin: 0 0 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 14px;
}

.section-head p {
  color: var(--text-muted);
  font-size: 17px;
}

.section-tag {
  display: inline-block;
  padding: 10px 26px;
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 34px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.btn-primary {
  background: var(--gold);
  color: #17140a;
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -8px rgba(201, 162, 39, 0.55);
}

.btn-outline {
  border: 1px solid var(--border-strong);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

.btn-block {
  width: 100%;
}

.btn-sm {
  padding: 11px 22px;
  font-size: 12px;
}

/* ---------- Placeholder photo panels ---------- */
/* Stand-in for real photography. Replace by dropping an <img> with the
   same class hierarchy, or add a background-image override per selector. */

.ph {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 20%, rgba(201, 162, 39, 0.16), transparent 55%),
    linear-gradient(155deg, #1c1c1f 0%, #101011 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
}

.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.5;
}

.ph-icon {
  position: relative;
  width: 46px;
  height: 46px;
  color: var(--border-strong);
  z-index: 1;
}

.ph-icon svg {
  width: 100%;
  height: 100%;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.2;
}

.ph-label {
  position: absolute;
  bottom: 14px;
  left: 14px;
  right: 14px;
  z-index: 1;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  font-family: var(--font-display);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 500;
  padding: 16px 0;
  transition: background var(--transition), padding var(--transition), border-color var(--transition);
  border-bottom: 1px solid transparent;
}

.site-header.scrolled {
  padding: 10px 0;
  background: rgba(11, 11, 12, 0.92);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo span {
  color: var(--gold);
}

.logo-mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.logo-mark svg {
  width: 100%;
  height: 100%;
}

.logo-badge {
  height: 96px;
  width: auto;
  display: block;
  transition: height var(--transition);
}

.site-header.scrolled .logo-badge {
  height: 72px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color var(--transition);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 22px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 26px;
  z-index: 600;
}

.nav-toggle span {
  height: 2px;
  background: var(--text);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 156px 0 80px;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: var(--bg);
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 32%;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  will-change: opacity;
}

.hero-slide.is-active {
  opacity: 1;
  animation: hero-drift 9s ease-out forwards;
}

@keyframes hero-drift {
  from { transform: scale(1.06); }
  to { transform: scale(1); }
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(11,11,12,0.84) 0%, rgba(11,11,12,0.80) 26%, rgba(11,11,12,0.70) 46%, rgba(11,11,12,0.44) 68%, rgba(11,11,12,0.34) 100%),
    linear-gradient(180deg, rgba(11,11,12,0.80) 0%, rgba(11,11,12,0.18) 26%, rgba(11,11,12,0.22) 58%, rgba(11,11,12,0.90) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container);
}

/* Hero text sits over photography, so it needs more weight than the
   solid-background defaults and a shadow to survive the brighter slides. */
.hero-content h1,
.hero-content .eyebrow,
.hero-content .hero-lead,
.hero-content .hero-trust li,
.hero-content .stat-num,
.hero-content .stat-label {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9), 0 3px 16px rgba(0, 0, 0, 0.75);
}

.hero-content .hero-lead {
  color: rgba(245, 243, 238, 0.94);
}

.hero-content .eyebrow {
  color: var(--gold-light);
}

.hero-content .stat-num {
  color: var(--gold-light);
}

.hero-content .stat-label {
  color: rgba(245, 243, 238, 0.88);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin: 0 0 34px;
  padding: 0;
}

.hero-trust li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--text);
}

.hero-trust svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex-shrink: 0;
}

.hero-dots {
  position: absolute;
  right: 28px;
  bottom: 104px;
  z-index: 2;
  display: flex;
  gap: 9px;
}

.hero-dots button {
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: rgba(245, 243, 238, 0.28);
  transition: background var(--transition);
}

.hero-dots button.active {
  background: var(--gold);
}

.hero-dots button:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { transition: none; }
  .hero-slide.is-active { animation: none; }
}

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

.hero h1 {
  font-size: clamp(42px, 6.4vw, 80px);
  margin: 18px 0 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
}

.hero-lead {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.play-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.play-link .ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition);
}

.play-link:hover .ring {
  border-color: var(--gold);
  color: var(--gold);
}

.hero-stats {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  padding-top: 32px;
}

.hero-stats .stat-num {
  font-family: var(--font-display);
  font-size: 34px;
  color: var(--gold);
}

.hero-stats .stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  z-index: 1;
}

.scroll-cue .line {
  width: 1px;
  height: 40px;
  background: linear-gradient(var(--gold), transparent);
}

/* ---------- Marquee strip ---------- */

.marquee-strip {
  background: var(--gold);
  color: #17140a;
  overflow: hidden;
  padding: 14px 0;
}

.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: scroll-left 26s linear infinite;
}

.marquee-track span {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 48px;
  white-space: nowrap;
}

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

/* ---------- About / Founder ---------- */

.about {
  padding: 120px 0;
  background: var(--bg);
}

.about .container {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-media {
  position: relative;
}

.about-media .ph {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
}

.about-media .ph-icon { width: 54px; height: 54px; }

.about-photo {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 82%;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  display: block;
}

.about-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius);
  padding: 22px 26px;
  text-align: center;
}

.about-badge .stat-num {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--gold);
}

.about-badge .stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 2px;
}

.about-body h2 {
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 20px;
}

.about-body p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.about-body p.lead {
  color: var(--text);
  font-size: 19px;
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.4;
}

.about-signature {
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 15px;
  color: var(--gold);
  letter-spacing: 0.05em;
}

.about-signature small {
  display: block;
  color: var(--text-faint);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 4px;
  font-family: var(--font-body);
}

.credentials {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin: 28px 0 32px;
}

.credentials li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.credentials svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 2px;
}

/* ---------- Student spotlight ---------- */

.spotlight {
  background: var(--gold-dim);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 28px 0;
}

.spotlight-inner {
  display: flex;
  align-items: center;
  gap: 20px;
}

.spotlight-photo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gold);
}

.spotlight-text {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.6;
}

.spotlight-text strong {
  color: var(--text);
}

.spotlight-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-right: 10px;
}

/* ---------- Why us ---------- */

.why-us {
  padding: 0 0 120px;
  background: var(--bg);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.why-card {
  background: var(--bg-alt);
  padding: 40px 32px;
  transition: background var(--transition);
}

.why-card:hover {
  background: var(--panel-light);
}

.why-card .icon {
  width: 40px;
  height: 40px;
  color: var(--gold);
  margin-bottom: 22px;
}

.why-card .icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.3; }

.why-card h3 {
  font-size: 17px;
  margin-bottom: 10px;
}

.why-card p {
  font-size: 14px;
  color: var(--text-muted);
}

/* ---------- Programs ---------- */

.programs {
  padding: 120px 0;
  background: var(--bg-alt);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.program-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: transform var(--transition), border-color var(--transition);
  display: flex;
  flex-direction: column;
}

.program-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
}

.program-num {
  font-family: var(--font-display);
  font-size: 13px;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.program-card .icon {
  width: 44px;
  height: 44px;
  color: var(--gold);
  margin-bottom: 22px;
}

.program-card .icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.2; }

.program-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
}

.program-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 22px;
  flex-grow: 1;
}

.program-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.program-meta a {
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ---------- Schedule ---------- */

.schedule {
  padding: 120px 0;
  background: var(--bg);
}

.schedule-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

table.timetable {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.timetable th,
.timetable td {
  padding: 18px 20px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}

.timetable thead th {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: var(--bg-alt);
}

.timetable tbody tr:last-child td { border-bottom: none; }
.timetable tbody tr:hover { background: var(--bg-alt); }

.timetable td.day {
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  color: var(--text);
}

.timetable td.muted { color: var(--text-faint); }

.tag-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--gold-dim);
  color: var(--gold-light);
  margin: 2px 4px 2px 0;
}

.schedule-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--text-faint);
  text-align: center;
}

.schedule-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
}

.schedule-info-card {
  background: var(--bg-alt);
  padding: 44px 28px;
}

.schedule-info-card .icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  margin: 0 auto 20px;
}

.schedule-info-card .icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.3; }

.schedule-info-card .stat-num {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--text);
  margin-bottom: 6px;
}

.schedule-info-card .stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ---------- Stats band ---------- */

.stats-band {
  padding: 80px 0;
  background: linear-gradient(180deg, var(--bg-alt), var(--bg));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.stats-band .container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stats-band .stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 52px);
  color: var(--gold);
}

.stats-band .stat-label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ---------- Recognition ---------- */

.recognition {
  padding: 120px 0;
  background: var(--bg);
}

.recognition-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-bottom: 48px;
}

.recognition-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.recognition-card .quote-mark {
  width: 28px;
  height: 28px;
  color: var(--gold);
  margin-bottom: 20px;
}

.recognition-quote {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  margin-bottom: 24px;
}

.recognition-author strong {
  display: block;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.recognition-author span {
  font-size: 12px;
  color: var(--text-faint);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.recognition-affiliations {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.recognition-affiliations span {
  padding: 10px 20px;
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

/* ---------- Instructors ---------- */

.instructors {
  padding: 120px 0;
  background: var(--bg);
}

.instructors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 700px;
  margin: 0 auto;
}

/* One coach for now — keep the card from stretching across the row. */
.instructors-grid.single {
  grid-template-columns: minmax(0, 340px);
  justify-content: center;
  max-width: none;
}

.instructor-card .ph {
  aspect-ratio: 3 / 4;
  border-radius: var(--radius) var(--radius) 0 0;
  border-bottom: none;
}

.team-band {
  position: relative;
  margin-top: 56px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  isolation: isolate;
}

.team-band img {
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
  object-position: center 62%;
  display: block;
}

.team-band-inner {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 40px 48px;
  background: linear-gradient(90deg, rgba(11,11,12,0.94) 0%, rgba(11,11,12,0.86) 42%, rgba(11,11,12,0.32) 78%, rgba(11,11,12,0.28) 100%);
}

.team-band-inner h3 {
  font-size: clamp(21px, 2.4vw, 30px);
  margin-bottom: 12px;
  max-width: 18ch;
}

.team-band-inner p {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 52ch;
}

/* Portrait sources are taller than the 3:4 card, so the crop is pulled
   toward the bottom of the frame to keep the full torso in view. */
.instructor-photo.focus-torso {
  object-position: center bottom;
}

.instructor-photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius) var(--radius) 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
  display: block;
}

.instructor-info {
  background: var(--panel);
  border: 1px solid var(--border);
  border-top: none;
  border-radius: 0 0 var(--radius) var(--radius);
  padding: 22px 24px;
}

.instructor-info h3 {
  font-size: 18px;
  margin-bottom: 4px;
}

.instructor-info .role {
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}

.instructor-info p {
  font-size: 13.5px;
  color: var(--text-muted);
}

/* ---------- Testimonials ---------- */

.testimonials {
  padding: 120px 0;
  background: var(--bg-alt);
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Three reviews on the top row, two centred beneath. */
.testi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}

.testi-card {
  grid-column: span 2;
  display: flex;
  flex-direction: column;
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 28px;
  transition: border-color var(--transition), transform var(--transition);
}

.testi-card:hover {
  border-color: var(--border-strong);
  transform: translateY(-3px);
}

.testi-card:nth-child(4) { grid-column: 2 / span 2; }
.testi-card:nth-child(5) { grid-column: 4 / span 2; }

.testi-stars {
  color: var(--gold);
  font-size: 15px;
  letter-spacing: 0.12em;
  margin-bottom: 16px;
}

.testi-card p.quote {
  font-size: 15.5px;
  line-height: 1.65;
  color: var(--text);
  margin: 0 0 24px;
  flex-grow: 1;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testi-author .ph {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.testi-author .ph-icon { width: 20px; height: 20px; }

.testi-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
  display: block;
}

.testi-author-name {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.04em;
}

.testi-author-role {
  font-size: 12px;
  color: var(--text-faint);
}

@media (max-width: 900px) {
  .testi-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .testi-card,
  .testi-card:nth-child(4),
  .testi-card:nth-child(5) { grid-column: span 1; }
}

@media (max-width: 620px) {
  .testi-grid { grid-template-columns: 1fr; }
}

/* ---------- Gallery ---------- */

.gallery {
  padding: 120px 0;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 190px;
  gap: 16px;
}

.gallery-category {
  margin-bottom: 64px;
}

.gallery-category:last-child {
  margin-bottom: 0;
}

.gallery-category-title {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.gallery-category-title::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.gallery-grid .ph {
  border-radius: var(--radius);
}

.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
  display: block;
}

.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }

/* ---------- Pricing ---------- */

.pricing {
  padding: 120px 0;
  background: var(--bg-alt);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: start;
}

.price-card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 22px;
  text-align: center;
}

.price-effective {
  font-size: 12.5px;
  color: var(--text-faint);
  margin-bottom: 14px;
}

.price-save {
  display: inline-block;
  margin-top: 2px;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--gold-dim);
  color: var(--gold-light);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-family: var(--font-display);
}

.price-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, var(--panel-light), var(--panel));
  position: relative;
  transform: scale(1.04);
}

.price-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #17140a;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 999px;
}

.price-card h3 {
  font-size: 15px;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.price-amount {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--gold);
  margin-bottom: 4px;
}

.price-amount sup {
  font-size: 16px;
  top: -18px;
}

.price-amount span {
  font-size: 13px;
  color: var(--text-faint);
  text-transform: none;
  font-family: var(--font-body);
  letter-spacing: 0;
}

.price-card ul {
  margin: 28px 0 32px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.price-card ul li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
}

.price-card ul li svg {
  width: 17px;
  height: 17px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

/* ---------- FAQ ---------- */

.faq {
  padding: 120px 0;
  background: var(--bg);
}

/* Two columns so the longer FAQ list doesn't leave the page half empty.
   Each column is its own stack, so opening an answer never leaves a gap
   beside it in the other column. */
.faq-list {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 48px;
  align-items: start;
}

.faq-col {
  border-top: 1px solid var(--border);
}

.faq-item {
  border-bottom: 1px solid var(--border);
}

@media (max-width: 860px) {
  .faq-list { grid-template-columns: 1fr; column-gap: 0; }
  .faq-col + .faq-col { border-top: none; }
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 26px 4px;
  text-align: left;
  font-family: var(--font-display);
  font-size: 17px;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text);
}

.faq-q .plus {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  position: relative;
}

.faq-q .plus::before,
.faq-q .plus::after {
  content: "";
  position: absolute;
  background: var(--gold);
  transition: transform var(--transition);
}

.faq-q .plus::before { top: 50%; left: 0; width: 100%; height: 1.5px; transform: translateY(-50%); }
.faq-q .plus::after { left: 50%; top: 0; height: 100%; width: 1.5px; transform: translateX(-50%); }

.faq-item.open .plus::after { transform: translateX(-50%) rotate(90deg); opacity: 0; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-a p {
  padding: 0 4px 26px;
  color: var(--text-muted);
  font-size: 14.5px;
  max-width: 640px;
}

/* ---------- Contact / CTA ---------- */

.contact {
  padding: 120px 0;
  background: var(--bg-alt);
}

.contact .container {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 60px;
}

.contact-info h2 {
  font-size: clamp(28px, 4vw, 38px);
  margin-bottom: 18px;
}

.contact-info > p {
  color: var(--text-muted);
  margin-bottom: 36px;
}

.contact-detail {
  display: flex;
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.contact-detail:last-of-type {
  border-bottom: 1px solid var(--border);
}

.contact-detail .icon {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}

.contact-detail .icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.3; }

.contact-detail strong {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 4px;
  color: var(--text);
}

.contact-detail span,
.contact-detail a {
  font-size: 14px;
  color: var(--text-muted);
}

.social-row {
  display: flex;
  gap: 14px;
  margin-top: 32px;
}

.social-row a {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border-strong);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
  color: var(--text-muted);
}

.social-row a svg { width: 17px; height: 17px; }

.social-row a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field {
  margin-bottom: 18px;
}

.field label {
  display: block;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 8px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  background: var(--bg-alt);
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  padding: 13px 16px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  transition: border-color var(--transition);
}

.field textarea { resize: vertical; min-height: 100px; }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.field select {
  appearance: none;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="8" viewBox="0 0 12 8"><path d="M1 1l5 5 5-5" stroke="%23a5a3a0" stroke-width="1.5" fill="none"/></svg>');
  background-repeat: no-repeat;
  background-position: right 16px center;
}

.form-note {
  font-size: 12px;
  color: var(--text-faint);
  margin-top: 14px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

.form-success.show { display: block; }
.contact-form.hide-form form { display: none; }

.form-success .icon {
  width: 50px;
  height: 50px;
  color: var(--gold);
  margin: 0 auto 18px;
}

.form-success h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.form-success p {
  color: var(--text-muted);
  font-size: 14px;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 70px 0 28px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
}

.footer-about p {
  color: var(--text-muted);
  font-size: 14px;
  margin: 18px 0 22px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  color: var(--text);
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col a,
.footer-col span {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
  color: var(--text-faint);
}

.footer-bottom a { color: var(--text-faint); }
.footer-bottom a:hover { color: var(--gold); }

/* ---------- Floating widgets ---------- */

.whatsapp-float {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  box-shadow: 0 10px 26px -6px rgba(0, 0, 0, 0.5);
  transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 96px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--panel);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 400;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity var(--transition), transform var(--transition), border-color var(--transition);
}

.back-to-top.show { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-to-top:hover { border-color: var(--gold); }
.back-to-top svg { width: 16px; height: 16px; color: var(--gold); }

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ---------- Responsive ---------- */

/* The larger logo eats horizontal room, so the nav tightens before it
   would ever collide with the header CTA. */
@media (max-width: 1180px) {
  .nav-links { gap: 26px; }
}

@media (max-width: 1000px) {
  .nav-links { gap: 20px; }
  .logo-badge { height: 80px; }
  .site-header.scrolled .logo-badge { height: 64px; }
}

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .programs-grid { grid-template-columns: repeat(2, 1fr); }
  .instructors-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .price-card.featured { transform: none; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .about .container,
  .contact .container { grid-template-columns: 1fr; }
  .about-media { max-width: 420px; margin: 0 auto; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-scrim {
    background:
      linear-gradient(90deg, rgba(11,11,12,0.95) 0%, rgba(11,11,12,0.88) 45%, rgba(11,11,12,0.72) 100%),
      linear-gradient(180deg, rgba(11,11,12,0.88) 0%, rgba(11,11,12,0.35) 24%, rgba(11,11,12,0.45) 55%, rgba(11,11,12,0.96) 100%);
  }
}

@media (max-width: 860px) {
  .nav-links, .header-cta .btn-outline { display: none; }
  .nav-toggle { display: flex; }

  .nav-links.mobile-open {
    display: flex;
    position: fixed;
    inset: 0 0 0 30%;
    background: var(--bg-alt);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 28px;
    padding: 40px;
    border-left: 1px solid var(--border);
    z-index: 550;
  }

  .nav-links.mobile-open a { font-size: 16px; }

  body.nav-locked {
    position: fixed;
    left: 0;
    right: 0;
  }

  .stats-band .container { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .hero-stats { gap: 32px; }
}

@media (max-width: 680px) {
  .container { padding: 0 20px; }
  .why-grid, .programs-grid, .instructors-grid, .pricing-grid, .recognition-grid, .schedule-info { grid-template-columns: 1fr; }
  .price-card.featured { transform: none; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; }
  .gallery-grid .g-wide { grid-column: span 2; }
  .form-row { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .hero-dots { right: 20px; bottom: 96px; }
  .hero-dots button { width: 22px; }
  .team-band img { min-height: 340px; }
  .team-band-inner {
    padding: 28px 24px;
    background: linear-gradient(180deg, rgba(11,11,12,0.55) 0%, rgba(11,11,12,0.88) 45%, rgba(11,11,12,0.95) 100%);
    justify-content: flex-end;
  }
  .team-band-inner h3 { max-width: none; }
  .hero-trust { gap: 8px 16px; margin-bottom: 28px; }
  .hero-trust li { font-size: 13px; }
  .contact .container { gap: 40px; }
  .contact-form { padding: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ---------- Lightbox ---------- */

.gallery-photo {
  cursor: zoom-in;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: rgba(6, 6, 7, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 5vh 72px;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.lightbox.show { opacity: 1; }
.lightbox[hidden] { display: none; }

.lightbox-figure {
  margin: 0;
  max-width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius);
  border: 1px solid var(--border-strong);
}

.lightbox-figure figcaption {
  font-size: 13.5px;
  color: var(--text-muted);
  text-align: center;
  max-width: 60ch;
}

.lightbox-close,
.lightbox-nav {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: rgba(20, 20, 22, 0.85);
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition);
}

.lightbox-close svg,
.lightbox-nav svg { width: 20px; height: 20px; }

.lightbox-close:hover,
.lightbox-nav:hover { border-color: var(--gold); color: var(--gold); }

.lightbox-close:focus-visible,
.lightbox-nav:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
}

@media (max-width: 680px) {
  .lightbox { padding: 4vh 10px; gap: 6px; }
  .lightbox-close { top: 14px; right: 14px; width: 40px; height: 40px; }
  .lightbox-nav { width: 38px; height: 38px; }
  .lightbox-figure img { max-height: 70vh; }
}
