/* ============================================================
   HOMEPAGE — SECTION STYLES
   ============================================================ */

/* Offset for fixed nav (58px logo + 16px×2 padding = 90px) */
body { padding-top: 90px; }

/* ── HERO ── */
.hero {
  background-color: var(--clr-navy);
  background-image: url('/assets/photos/group-drills.jpg');
  background-size: cover;
  background-position: center 65%;
  position: relative;
  overflow: hidden;
  padding-block: clamp(4rem, 10vw, 7rem) clamp(5rem, 12vw, 9rem);
}

/* Piste stripes + dark gradient — photo shows through on the right */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      -12deg,
      transparent,
      transparent 80px,
      rgba(255,255,255,0.014) 80px,
      rgba(255,255,255,0.014) 82px
    ),
    linear-gradient(
      108deg,
      rgba(12,18,58,0.97) 0%,
      rgba(12,18,58,0.93) 42%,
      rgba(12,18,58,0.68) 65%,
      rgba(12,18,58,0.18) 100%
    );
  pointer-events: none;
}

/* Red vertical accent — the strip line */
.hero::after {
  content: '';
  position: absolute;
  left: calc(var(--gutter) - 1px);
  top: 0; bottom: 0;
  width: 3px;
  background: var(--clr-red);
  opacity: 0.6;
}

/* Diagonal bottom cut */
.hero-clip {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--clr-white);
  clip-path: polygon(0 100%, 100% 100%, 100% 0);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--sp-12);
  align-items: center;
}
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-photo-frame { display: none; }
}

.hero-content { max-width: 640px; }

.hero-title {
  font-size: var(--text-hero);
  color: var(--clr-white);
  line-height: 1.0;
  letter-spacing: 0.02em;
  margin-bottom: var(--sp-6);
}
.hero-title em {
  font-style: normal;
  color: var(--clr-red);
}

.hero-sub {
  font-size: var(--text-xl);
  color: var(--clr-muted);
  line-height: 1.5;
  max-width: 54ch;
  margin-bottom: var(--sp-8);
  font-weight: 400;
}

/* Social proof strip */
.hero-trust {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  flex-wrap: nowrap;
  margin-bottom: var(--sp-8);
}
.hero-trust-item p { margin-top: 0; }
.hero-trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
}
.ht-sep {
  width: 1px;
  height: 28px;
  background: rgba(255,255,255,0.18);
  flex-shrink: 0;
}
@media (max-width: 600px) { .ht-sep { display: none; } }

.ht-avatars {
  display: flex;
  align-items: center;
}
.ht-av {
  width: 32px; height: 32px;
  min-width: 32px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
  color: var(--clr-white);
  border: 2.5px solid rgba(12,18,58,0.7);
  margin-left: -8px;
  flex-shrink: 0;
  overflow: hidden;
}
.ht-av:first-child { margin-left: 0; }
.ht-av img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.ht-av:nth-child(1) { border-color: var(--clr-red); }
.ht-av:nth-child(2) { border-color: #f59e0b; }
.ht-av:nth-child(3) { border-color: #2b9c8a; }
.ht-av:nth-child(4) { border-color: var(--clr-purple); }

.ht-label {
  font-size: var(--text-sm);
  color: rgba(255,255,255,0.75);
  font-weight: 500;
  white-space: nowrap;
}
.ht-label strong {
  color: var(--clr-white);
  font-weight: 700;
}
.ht-stars {
  color: #fbbf24;
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1;
}
.hero-trust-item svg { color: var(--clr-red); flex-shrink: 0; }

.hero-actions {
  display: flex;
  gap: var(--sp-4);
  flex-wrap: wrap;
  align-items: center;
}

/* Photo frame in hero right column */
.hero-photo-frame {
  position: relative;
  width: 300px;
  flex-shrink: 0;
  align-self: center;
}
.hero-frame-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center top;
  display: block;
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 60px rgba(0,0,0,0.55), 0 0 0 2px rgba(244,30,71,0.3);
}
/* Vignette edges so editorial bg blends into navy */
.hero-photo-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(to right, rgba(12,18,58,0.45) 0%, transparent 20%, transparent 80%, rgba(12,18,58,0.45) 100%),
    linear-gradient(to bottom, transparent 65%, rgba(12,18,58,0.7) 100%);
  pointer-events: none;
  z-index: 1;
}
.hero-frame-badge { z-index: 2; }
.hero-frame-badge {
  position: absolute;
  bottom: -14px;
  right: -14px;
  background: var(--clr-red);
  color: var(--clr-white);
  padding: var(--sp-3) var(--sp-5);
  border-radius: var(--radius);
  text-align: center;
  box-shadow: 0 4px 24px rgba(244,30,71,0.55);
  min-width: 110px;
}
.hero-frame-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.hero-frame-badge span {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  display: block;
  margin-top: 2px;
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--clr-white);
  padding-block: var(--sp-8);
  border-bottom: 1px solid var(--clr-grey-md);
}
.trust-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: var(--sp-8);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--clr-navy);
  letter-spacing: 0.02em;
}
.trust-item svg {
  color: var(--clr-red);
  flex-shrink: 0;
}
.trust-sep {
  width: 1px;
  height: 24px;
  background: var(--clr-grey-md);
}
@media (max-width: 600px) { .trust-sep { display: none; } }

/* ── PROGRAMS ── */
.programs { background: var(--clr-white); }

.program-card-photo {
  width: 100%;
  height: 190px;
  object-fit: cover;
  display: block;
}
/* team-nationals-group — faces in lower-mid of square photo */
.program-card:nth-child(1) .program-card-photo { object-position: center 38%; }
/* coach-briefing-fencer — faces in upper portion of portrait */
.program-card:nth-child(2) .program-card-photo { object-position: center 15%; }
/* group-drills — students visible in lower two-thirds */
.program-card:nth-child(3) .program-card-photo { object-position: center 60%; }

.section-header {
  text-align: center;
  max-width: 600px;
  margin-inline: auto;
  margin-bottom: var(--sp-12);
}
.section-header h2 { color: var(--clr-navy); margin-bottom: var(--sp-4); }
.section-header p { color: #555; font-size: var(--text-lg); }

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 800px) { .programs-grid { grid-template-columns: 1fr; } }

.program-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--clr-grey-md);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
}
.program-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.program-card-accent {
  height: 5px;
  background: var(--clr-red);
}
.program-card:nth-child(2) .program-card-accent { background: var(--clr-navy); }
.program-card:nth-child(3) .program-card-accent { background: var(--clr-purple); }

.program-card-body {
  padding: var(--sp-8);
}
.program-icon {
  width: 48px; height: 48px;
  background: rgba(244, 30, 71, 0.08);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: var(--sp-4);
  color: var(--clr-red);
}
.program-card:nth-child(2) .program-icon {
  background: rgba(12, 18, 58, 0.08); color: var(--clr-navy);
}
.program-card:nth-child(3) .program-icon {
  background: rgba(85, 32, 133, 0.08); color: var(--clr-purple);
}

.program-card h3 {
  font-size: var(--text-2xl);
  color: var(--clr-navy);
  margin-bottom: var(--sp-2);
}
.program-ages {
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-red);
  margin-bottom: var(--sp-4);
}
.program-card p {
  font-size: var(--text-base);
  color: #555;
  margin-bottom: var(--sp-6);
}
.program-features {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}
.program-feature {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  font-size: var(--text-sm);
  color: var(--clr-black);
}
.program-feature::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clr-red);
  flex-shrink: 0;
}

/* ── WHY UFA ── */
.why-ufa {
  background: var(--clr-navy);
  position: relative;
}
.why-ufa .section-header h2 { color: var(--clr-white); }
.why-ufa .section-header p { color: var(--clr-muted); }

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-6);
}
@media (max-width: 640px) { .pillars-grid { grid-template-columns: 1fr; } }

.pillar {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  transition: background var(--transition);
}
.pillar:hover { background: rgba(255,255,255,0.08); }

.pillar-icon {
  width: 44px; height: 44px;
  border-radius: var(--radius);
  background: rgba(244, 30, 71, 0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--clr-red);
  margin-bottom: var(--sp-4);
}
.pillar h3 {
  font-size: var(--text-2xl);
  color: var(--clr-white);
  margin-bottom: var(--sp-3);
}
.pillar p {
  font-size: var(--text-base);
  color: var(--clr-muted);
  line-height: 1.7;
}

/* ── STATS ── */
.stats-bar {
  background: var(--clr-red);
  padding-block: clamp(3rem, 6vw, 5rem);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  text-align: center;
}
@media (max-width: 680px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
.stat-number {
  font-family: var(--font-display);
  font-size: var(--text-stat);
  color: var(--clr-white);
  line-height: 1;
  font-weight: 700;
  display: block;
}
.stat-label {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  margin-top: var(--sp-2);
  display: block;
}

/* ── COACH ── */
.coach-spotlight { background: var(--clr-navy); }

/* Founder avatar above the note */
.founder-avatar-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: var(--sp-5);
}
.founder-avatar {
  width: 88px; height: 88px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--clr-red);
  box-shadow: 0 0 0 5px rgba(244,30,71,0.15), 0 8px 24px rgba(0,0,0,0.35);
  flex-shrink: 0;
}
.founder-avatar img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

/* Centered founder's note at the top */
.coach-note-header {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: var(--sp-14);
}
.coach-note-header h2 {
  color: var(--clr-white);
  margin-bottom: var(--sp-6);
}
.coach-note-body {
  padding-left: 50px;
}

.coach-note-body p {
  font-size: var(--text-lg);
  color: rgba(255,255,255,0.72);
  line-height: 1.8;
  font-style: italic;
  text-align: left;
  margin-bottom: var(--sp-4);
}
.coach-note-body p:last-child { margin-bottom: 0; }

/* Photo + credentials row — wider than the note text above */
.coach-bottom-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--sp-12);
  align-items: start;
  max-width: 860px;
  margin-inline: auto;
  padding-top: 50px;
}
@media (max-width: 720px) {
  .coach-bottom-row { grid-template-columns: 1fr; }
}

.coach-photo { position: relative; }
.coach-photo-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-lg);
  /* box-shadow: 0 24px 60px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06); */
}

.coach-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--sp-4);
}
.coach-name-display {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  color: var(--clr-white);
  line-height: 1.1;
  margin-bottom: var(--sp-2);
}
.coach-title-line {
  font-size: var(--text-sm);
  font-weight: 700;
  color: var(--clr-red);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: var(--sp-7);
}
.coach-creds {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.coach-cred {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: var(--text-base);
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.coach-cred svg { color: var(--clr-red); flex-shrink: 0; margin-top: 2px; }

/* ── TESTIMONIALS MARQUEE ── */
.testimonials {
  background: var(--clr-grey);
  overflow: hidden;
}

.testi-layout {
  display: grid;
  grid-template-columns: clamp(260px, 28vw, 400px) 1fr;
  padding-left: max(var(--gutter), calc((100vw - var(--max-w)) / 2 + var(--gutter)));
  min-height: 480px;
  align-items: center;
}
@media (max-width: 860px) {
  .testi-layout { grid-template-columns: 1fr; padding-left: var(--gutter); }
  .testi-right { display: none; }
}

/* Left column */
.testi-left {
  padding-block: clamp(3rem, 8vw, 5rem);
  padding-right: var(--sp-10);
  flex-shrink: 0;
}
.testi-left .eyebrow { color: var(--clr-red); }
.testi-left h2 { color: var(--clr-navy); margin-bottom: var(--sp-4); }
.testi-left > p {
  color: #555;
  font-size: var(--text-lg);
  line-height: 1.65;
  margin-bottom: var(--sp-6);
  max-width: 30ch;
}
.testi-rating {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}
.testi-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.testi-rating-text { font-size: var(--text-sm); color: #555; }
.testi-rating-text strong { color: var(--clr-navy); }

/* Right: scrolling marquee */
.testi-right {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: var(--sp-4);
  padding-block: clamp(2rem, 5vw, 3.5rem);
  /* Fade only the right edge — left is bounded by the left column */
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 8%, black 88%, transparent 100%);
          mask-image: linear-gradient(to right, transparent 0%, black 8%, black 88%, transparent 100%);
}

.testi-track {
  display: flex;
  width: max-content;
  gap: var(--sp-4);
}
.testi-row {
  display: flex;
  gap: var(--sp-4);
  flex-shrink: 0;
}
.testi-track--fwd  { animation: tmarquee-l 32s linear infinite; }
.testi-track--rev  { animation: tmarquee-r 28s linear infinite; }
.testi-track--slow { animation-duration: 40s; }

@keyframes tmarquee-l {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tmarquee-r {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.testi-right:hover .testi-track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .testi-track { animation: none; }
}

/* Testimonial card */
.tc {
  width: 280px;
  flex-shrink: 0;
  background: #f5f6fb;
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
  box-shadow: 0 2px 16px rgba(12,18,58,0.08);
  border: 1px solid rgba(12,18,58,0.09);
  border-top: 3px solid var(--clr-red);
  position: relative;
}
.tc::before {
  content: '\201C';
  position: absolute;
  top: var(--sp-3);
  right: var(--sp-5);
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 1;
  color: var(--clr-red);
  opacity: 0.18;
  pointer-events: none;
  user-select: none;
}
.tc-top {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}
.tc-av {
  width: 40px; height: 40px;
  min-width: 40px;
  aspect-ratio: 1;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--clr-white);
  flex-shrink: 0;
  overflow: hidden;
}
.tc-av-red    { background: #c94058; }
.tc-av-blue   { background: #3d7ab5; }
.tc-av-teal   { background: #2b9c8a; }
.tc-av-orange { background: #c8723a; }
.tc-av-purple { background: #6b3fa0; }

.tc-top > div { flex: 1; min-width: 0; }
.tc-name {
  font-weight: 700;
  font-size: var(--text-sm);
  color: var(--clr-navy);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-role {
  font-size: var(--text-xs);
  color: #999;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tc-stars {
  color: #f59e0b;
  font-size: 0.75rem;
  letter-spacing: 1px;
  flex-shrink: 0;
}
.tc-text {
  font-size: var(--text-sm);
  color: #3a3f5c;
  line-height: 1.65;
  font-style: italic;
  max-width: none;
}

/* ── COLLEGE TEASER ── */
.college-teaser {
  background: var(--clr-navy);
  position: relative;
  overflow: hidden;
}
.college-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(var(--sp-8), 6vw, var(--sp-16));
  align-items: center;
}
.college-inner {
  position: relative;
  z-index: 1;
}
.college-video-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 60px rgba(0,0,0,0.5);
}
.college-video-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(244, 30, 71, 0.25);
  pointer-events: none;
}
.college-video {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
}
.college-video-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  background: var(--clr-navy);
  border-top: 1px solid rgba(244, 30, 71, 0.4);
  border-left: 1px solid rgba(244, 30, 71, 0.4);
  border-radius: var(--radius-lg) 0 var(--radius-lg) 0;
  padding: var(--sp-2) var(--sp-3);
}
.cvb-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--clr-white);
  letter-spacing: 0.02em;
  line-height: 1.1;
}
.cvb-title {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--clr-red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.2;
}
@media (max-width: 860px) {
  .college-layout {
    grid-template-columns: 1fr;
  }
  .college-video-wrap {
    max-width: 480px;
    margin-inline: auto;
  }
}
.college-teaser h2 { color: var(--clr-white); margin-bottom: var(--sp-4); }
.college-teaser p {
  color: var(--clr-muted);
  font-size: var(--text-xl);
  line-height: 1.6;
  margin-bottom: var(--sp-8);
}
.college-stat {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  background: rgba(244, 30, 71, 0.12);
  border: 1px solid rgba(244, 30, 71, 0.25);
  border-radius: var(--radius);
  padding: var(--sp-3) var(--sp-6);
  margin-bottom: var(--sp-8);
  font-weight: 700;
  color: var(--clr-white);
  font-size: var(--text-sm);
}
.college-stat strong { color: var(--clr-red); font-size: var(--text-xl); font-family: var(--font-display); }

/* ── COMPETITION RESULTS STRIP ── */
.results-strip { background: var(--clr-white); }

.results-photo-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: var(--sp-4);
  align-items: start;
}
@media (max-width: 860px) {
  .results-photo-grid { grid-template-columns: 1fr 1fr; }
  .result-photo--feature { grid-column: 1 / -1; }
}
@media (max-width: 500px) {
  .results-photo-grid { grid-template-columns: 1fr; }
}

.result-photo {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--clr-grey);
}
.result-photo img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center 38%;
  display: block;
  transition: transform 0.6s ease;
}
/* Feature: coach-student-ac-medal — faces at ~40% */
.result-photo--feature img { object-position: center 38%; }
/* Nationals graphic — student face in upper half */
.results-photo-grid .result-photo:nth-child(2) img { object-position: center 22%; }
/* Young boy on podium — face in upper third */
.results-photo-grid .result-photo:nth-child(3) img { object-position: center 28%; }
.result-photo:hover img { transform: scale(1.03); }
.result-photo figcaption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(12,18,58,0.88) 0%, rgba(12,18,58,0.25) 65%, transparent 100%);
  color: var(--clr-white);
  padding: var(--sp-8) var(--sp-5) var(--sp-4);
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* ── PHOTO GALLERY ── */
.photo-gallery { background: var(--clr-grey); }

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr 1fr;
  grid-template-rows: 220px 220px;
  gap: var(--sp-3);
}
.gallery-photo--tall { grid-row: 1 / span 2; grid-column: 2; }

@media (max-width: 800px) {
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-photo--tall { grid-row: auto; }
  .gallery-photo--tall img { height: 220px; }
}
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }

.gallery-photo {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--clr-grey-md);
}
.gallery-photo img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center 40%;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-photo--tall img { height: 100%; }
.gallery-photo:hover img { transform: scale(1.05); }
/* Per-cell positions for the new instagram photos */
/* 1: team-nationals-group (square, faces at 38%) */
.gallery-grid .gallery-photo:nth-child(1) img { object-position: center 38%; }
/* 2: coach-student-competition (portrait, faces at 22%) */
.gallery-grid .gallery-photo:nth-child(2) img { object-position: center 22%; }
/* 3 TALL: team-competition-gear (square, faces at 42%) */
.gallery-grid .gallery-photo:nth-child(3) img { object-position: center 42%; }
/* 4: student-nationals-bronze (portrait, face at 22%) */
.gallery-grid .gallery-photo:nth-child(4) img { object-position: center 22%; }
/* 5: kids-ac-podium (square, faces at 32%) */
.gallery-grid .gallery-photo:nth-child(5) img { object-position: center 32%; }

/* ── FINAL CTA ── */
.cta-final {
  background: var(--clr-red);
  text-align: center;
  padding-block: clamp(4rem, 10vw, 7rem);
  position: relative;
  overflow: hidden;
}
/* Decorative fencer action silhouette — multiply erases white bg on red */
.cta-fencer-deco {
  position: absolute;
  right: 2%;
  bottom: 0;
  height: 115%;
  width: auto;
  opacity: 0.16;
  mix-blend-mode: multiply;
  pointer-events: none;
  user-select: none;
}
@media (max-width: 700px) { .cta-fencer-deco { display: none; } }
.cta-final h2 {
  color: var(--clr-white);
  margin-bottom: var(--sp-4);
  font-size: clamp(2.5rem, 5vw, 4rem);
}
.cta-final p {
  color: rgba(255,255,255,0.8);
  font-size: var(--text-xl);
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  max-width: 48ch;
}
.btn-white {
  background: var(--clr-white);
  color: var(--clr-red);
  font-weight: 700;
}
.btn-white:hover {
  background: rgba(255,255,255,0.9);
  color: var(--clr-red-dk);
}
.cta-fine {
  margin-top: var(--sp-4);
  color: rgba(255,255,255,0.6);
  font-size: var(--text-sm);
}


/* ── BLADE FLASH ANIMATIONS ── */
@media (prefers-reduced-motion: no-preference) {

  /* Red accent bar vertical glint — repeating */
  .hero-blade-flash {
    position: absolute;
    left: calc(var(--gutter) - 1px);
    top: 0; bottom: 0;
    width: 3px;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
  }
  .hero-blade-flash::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    height: 80px;
    background: linear-gradient(to bottom, transparent 0%, rgba(255,255,255,0.95) 50%, transparent 100%);
    animation: blade-flash-vert 8s ease-in-out 2.5s infinite;
  }

  /* "Championship" em — single sweep on load */
  .hero-title em {
    display: inline-block;
    overflow: hidden;
    position: relative;
  }
  .hero-title em::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 55px; height: 100%;
    background: linear-gradient(105deg, transparent 0%, rgba(255,255,255,0.28) 50%, transparent 100%);
    transform: skewX(-15deg) translateX(-180%);
    animation: blade-sweep-em 0.65s ease-out 1.6s both;
    pointer-events: none;
  }

  @keyframes blade-flash-vert {
    0%, 75%  { top: 110%; opacity: 0; }
    78%      { top: 105%; opacity: 1; }
    91%      { top: -100px; opacity: 1; }
    94%, 100%{ top: -100px; opacity: 0; }
  }

  @keyframes blade-sweep-em {
    0%   { transform: skewX(-15deg) translateX(-180%); }
    100% { transform: skewX(-15deg) translateX(550%); }
  }
}


/* ============================================================
   MOBILE — comprehensive overrides (≤ 640px)
   ============================================================ */
@media (max-width: 640px) {

  /* Nav offset for smaller logo (44px + 16px×2) */
  body { padding-top: 76px; }

  /* ── HERO ── */
  .hero { padding-block: 3rem 4.5rem; }
  .hero-sub { font-size: var(--text-base); }

  /* Trust strip: let items wrap to 2 rows */
  .hero-trust {
    flex-wrap: wrap;
    gap: var(--sp-3) var(--sp-4);
  }
  /* Hide the certification item — keep avatars + stars only */
  .hero-trust .hero-trust-item:last-child,
  .hero-trust .ht-sep:last-of-type { display: none; }

  /* Buttons: full width, stacked */
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    text-align: center;
    justify-content: center;
    width: 100%;
  }

  /* ── TRUST BAR ── */
  .trust-list { gap: var(--sp-4); }

  /* ── PROGRAMS ── */
  .program-card-body { padding: var(--sp-6); }
  .section-header { margin-bottom: var(--sp-8); }

  /* ── STATS ── */
  .stat-number { font-size: clamp(2.25rem, 12vw, 4rem); }

  /* ── COACH ── */
  .coach-note-body { padding-left: 0; }
  .coach-note-header { margin-bottom: var(--sp-8); }
  .coach-bottom-row { padding-top: var(--sp-8); gap: var(--sp-8); }
  .coach-name-display { font-size: var(--text-2xl); }

  /* ── TESTIMONIALS ── */
  /* Show the marquee as a swipeable horizontal row instead of hiding it */
  .testi-layout { min-height: unset; padding-left: var(--gutter); }
  .testi-left { padding-right: 0; padding-block: 2.5rem 1.5rem; }
  .testi-left > p { max-width: 100%; }

  .testi-right {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 0 var(--gutter) var(--sp-8);
    -webkit-mask-image: none;
    mask-image: none;
  }
  /* Show only first track, disable animation */
  .testi-track { animation: none; width: max-content; }
  .testi-track--rev,
  .testi-track--slow { display: none; }
  /* Hide duplicate rows used for infinite loop */
  .testi-row[aria-hidden="true"] { display: none; }
  .testi-row { gap: var(--sp-3); }
  .tc { width: 260px; }

  /* ── COLLEGE TEASER ── */
  .college-teaser p { font-size: var(--text-base); }
  .college-stat { font-size: var(--text-xs); }

  /* ── RESULTS GRID ── */
  .result-photo img { height: 220px; }

  /* ── GALLERY ── */
  .gallery-photo img { height: 180px; }

  /* ── FINAL CTA ── */
  .cta-final p { font-size: var(--text-base); }
  .cta-final .btn { width: 100%; justify-content: center; max-width: 360px; margin-inline: auto; }
}
