/* ============================================================
   Coach Anson — public intro page
   Colours live in :root so they are easy to tweak.
   ============================================================ */
:root {
  --court-blue: #1f5fae;
  --court-blue-dark: #0b2f52;
  --deep-green: #0b3d3a;
  --deep-green-2: #0f5a52;
  --ball: #d7f24a;          /* tennis-ball accent */
  --ball-dark: #b9d42c;
  --whatsapp: #25d366;
  --ink: #0f1c26;
  --ink-soft: #4d5d69;
  --paper: #f4f6f2;
  --card: #ffffff;
  --line: #dde3e0;
  --radius: 20px;
  --shadow: 0 14px 40px rgba(10, 30, 50, 0.12);
  --max: 1120px;
  --font: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  --display: "Outfit", "Inter", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  line-height: 1.6; -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; display: block; }
a { color: var(--court-blue); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5rem; letter-spacing: -0.015em; }
h2 { font-size: clamp(1.9rem, 4.2vw, 2.9rem); font-weight: 800; }
.kicker {
  display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  color: var(--court-blue); margin: 0 0 10px;
}
.kicker::before { content: ""; display: inline-block; width: 18px; height: 2px; background: currentColor; vertical-align: middle; margin-right: 8px; }

/* ============ NAV ============ */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px clamp(16px, 4vw, 40px);
  transition: background .25s, box-shadow .25s, padding .25s;
}
.nav.scrolled {
  background: rgba(11, 47, 82, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
  padding-top: 10px; padding-bottom: 10px;
}
.progress { position: absolute; left: 0; bottom: 0; height: 3px; width: 100%; background: var(--ball); transform-origin: 0 50%; transform: scaleX(0); }
.nav-brand { color: #fff; font-family: var(--display); font-weight: 800; text-decoration: none; font-size: 1.2rem; display: inline-flex; align-items: center; gap: 10px; }
.brand-ball {
  width: 16px; height: 16px; border-radius: 50%; background: var(--ball);
  box-shadow: inset -3px -3px 0 rgba(0,0,0,.12); animation: spin 6s linear infinite;
  background-image: radial-gradient(circle at 0 50%, transparent 7px, #fff 7px, #fff 8.5px, transparent 8.5px), radial-gradient(circle at 100% 50%, transparent 7px, #fff 7px, #fff 8.5px, transparent 8.5px);
}
@keyframes spin { to { transform: rotate(360deg); } }
.nav-links { list-style: none; display: flex; gap: 2px; margin: 0; padding: 0; align-items: center; }
.nav-links a {
  color: rgba(255,255,255,.88); text-decoration: none; font-weight: 600; font-size: .93rem;
  padding: 8px 12px; border-radius: 999px; transition: background .2s, color .2s;
}
.nav-links a:hover { background: rgba(255,255,255,.12); color: #fff; }
.nav-links a.active { color: var(--ball); }
.nav-links .nav-cta { background: var(--ball); color: var(--ink); margin-left: 8px; }
.nav-links .nav-cta:hover { background: var(--ball-dark); color: var(--ink); }
/* Bigger menu text on computers (phones use the ☰ menu, which already has large rows) */
@media (min-width: 1100px) {
  .nav-links a { font-size: 1.02rem; padding: 9px 13px; }
  .nav-links .nav-cta { padding: 10px 18px; }
  .nav-brand { font-size: 1.3rem; }
  .lang-btn { font-size: 1rem; padding: 8px 14px; min-height: 42px; }
}
@media (min-width: 1280px) {
  .nav-links a { font-size: 1.1rem; padding: 10px 15px; }
  .nav-links .nav-cta { padding: 11px 20px; }
}
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: transform .2s, opacity .2s; }

@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11, 47, 82, 0.97); padding: 8px 16px 16px; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px; border-radius: 10px; }
  .nav-links .nav-cta { text-align: center; margin: 6px 0 0; }
  .nav.menu-open { background: rgba(11, 47, 82, 0.97); }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: grid; place-items: center; text-align: center; color: #fff;
  overflow: hidden; padding: 110px 16px 110px;
  background: linear-gradient(160deg, var(--court-blue) 0%, var(--court-blue-dark) 55%, var(--deep-green) 100%);
}
/* The pencil sketch is flipped to white "chalk" lines on the court-blue base */
.hero-bg {
  position: absolute; inset: 0;
  background: url("assets/hero-sketch.jpg") center / cover no-repeat;
  filter: invert(1) contrast(1.1); mix-blend-mode: screen; opacity: .5;
  transform: scale(1.06); animation: heroZoom 20s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
/* Home page: three city line-drawings that crossfade (script.js switches .is-on) */
.hero-slides { position: absolute; inset: 0; background: #14244a; }
.hero-slide {
  position: absolute; inset: 0; background-size: cover; background-position: center 60%; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.08); transition: opacity 1.4s ease, transform 7s ease-out;
}
.hero-slide.is-on { opacity: 1; transform: scale(1); }
@media (max-width: 760px) {
  /* phones show a narrow slice of these wide pictures: keep each city's landmark in view */
  .slide-hk { background-position: 62% center; }   /* IFC tower */
  .slide-mel { background-position: 73% center; }  /* Eureka-style tower + skyline */
  .slide-syd { background-position: 18% center; }  /* Opera House */
}
@media (prefers-reduced-motion: reduce) { .hero-slide { transition: opacity .01s; transform: none; } }
/* Home nav: logo in the middle of the bar after the hero logo scrolls away */
.nav-logo {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(.8);
  opacity: 0; visibility: hidden; transition: opacity .3s, transform .3s, visibility .3s; line-height: 0;
}
.nav-logo img { height: 58px; width: auto; filter: brightness(0) invert(1); }
.nav.show-logo .nav-logo { opacity: 1; visibility: visible; transform: translate(-50%, -50%) scale(1); }
@media (min-width: 961px) {
  /* menu splits around the logo: Coaches · Group class · Reviews | logo | FAQ · Contact · Enquire now */
  .nav-centerlogo .nav-brand { display: none; }
  .nav-centerlogo .nav-links { flex: 1; margin-left: 0; }
  .nav-centerlogo .nav-split { margin-left: auto; }
}
@media (max-width: 960px) {
  .nav-centerlogo .nav-brand { transition: opacity .3s; }
  .nav-centerlogo.show-logo .nav-brand { opacity: 0; pointer-events: none; }
  .nav-logo img { height: 52px; }
}
@media (max-width: 360px) { .lang-btn span[aria-hidden] { display: none; } .nav-logo img { height: 44px; } }

/* Home hero logo: white strokes, no white box, bigger (the PNG itself stays black-on-transparent) */
.logo-badge.logo-plain { background: none; box-shadow: none; padding: 0; border-radius: 0; margin-bottom: 14px; }
.logo-plain .logo { width: 260px; filter: brightness(0) invert(1) drop-shadow(0 4px 16px rgba(0,0,0,.5)); }
@media (max-width: 760px) { .logo-plain .logo { width: 180px; } .logo-badge.logo-plain { padding: 0; margin-bottom: 8px; } }
.hero-overlay {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 45%, rgba(8,30,55,.6) 0%, rgba(8,30,55,.15) 60%, rgba(5,25,30,.6) 100%);
}
.hero-inner { position: relative; max-width: 800px; }
.hero-inner > * { animation: rise .8s cubic-bezier(.2,.7,.2,1) both; }
.hero-inner > *:nth-child(2) { animation-delay: .1s; }
.hero-inner > *:nth-child(3) { animation-delay: .18s; }
.hero-inner > *:nth-child(4) { animation-delay: .26s; }
.hero-inner > *:nth-child(5) { animation-delay: .34s; }
.hero-inner > *:nth-child(6) { animation-delay: .42s; }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.logo-badge {
  display: inline-block; background: #fff; border-radius: 22px; padding: 12px 18px;
  box-shadow: 0 16px 44px rgba(0,0,0,.35); margin-bottom: 20px;
}
.logo { width: 160px; height: auto; }
.eyebrow { font-size: .85rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin: 0 0 8px; color: rgba(255,255,255,.85); }
.rotator { color: var(--ball); display: inline-block; min-width: 9ch; text-align: left; transition: opacity .3s, transform .3s; }
.rotator.out { opacity: 0; transform: translateY(-8px); }
.hero h1 { font-size: clamp(3.2rem, 11vw, 6.4rem); font-weight: 900; letter-spacing: -0.03em; text-shadow: 0 6px 30px rgba(0,0,0,.35); margin-bottom: 14px; }
.bio { font-size: clamp(1.05rem, 2.4vw, 1.3rem); margin: 0 auto 12px; max-width: 640px; color: rgba(255,255,255,.95); }
.booking-note {
  display: inline-block; font-size: .92rem; margin: 6px 0 28px;
  background: rgba(215, 242, 74, .14); border: 1px solid rgba(215, 242, 74, .55);
  padding: 6px 14px; border-radius: 999px;
}
.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px;
}
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* ============ BUTTONS ============ */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border-radius: 999px; font-weight: 700; text-decoration: none;
  border: 2px solid transparent; transition: transform .15s, background .2s, color .2s, box-shadow .2s;
  font-size: 1rem; line-height: 1.2; cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible, .nav-links a:focus-visible, .sound-btn:focus-visible, .chip:focus-visible, .zoom:focus-visible, summary:focus-visible { outline: 3px solid var(--ball); outline-offset: 3px; }
.btn-primary { background: var(--ball); color: var(--ink); box-shadow: 0 10px 26px rgba(215,242,74,.35); }
.btn-primary:hover { background: var(--ball-dark); }
.btn-outline { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-outline:hover { background: #fff; color: var(--ink); }
.btn-outline-dark { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline-dark:hover { background: var(--ink); color: #fff; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--court-blue-dark); }
.btn-whatsapp { background: var(--whatsapp); color: #06301a; }
.btn-whatsapp:hover { background: #1fbe5b; }
.btn-small { padding: 9px 16px; font-size: .9rem; }
.text-link { font-weight: 700; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ============ STATS ============ */
.stats {
  max-width: var(--max); margin: -56px 16px 0; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow);
}
@media (min-width: 1152px) { .stats { margin-left: auto; margin-right: auto; } }
.stat { padding: 26px 12px; text-align: center; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-family: var(--display); font-size: clamp(2rem, 4.5vw, 2.8rem); font-weight: 900; color: var(--court-blue); font-variant-numeric: tabular-nums; }
.stat-label { font-size: .88rem; color: var(--ink-soft); }
@media (max-width: 640px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* ============ TICKER ============ */
.ticker { overflow: hidden; margin-top: 56px; background: var(--ink); color: #fff; padding: 14px 0; transform: rotate(-1.2deg); }
.ticker-track { display: flex; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track span { font-family: var(--display); font-weight: 800; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; padding: 0 22px; white-space: nowrap; }
.ticker-track span::after { content: "●"; color: var(--ball); margin-left: 44px; font-size: .7em; vertical-align: middle; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============ SECTIONS ============ */
.section { max-width: var(--max); margin: 0 auto; padding: 96px 16px; text-align: center; }
.section-sub { color: var(--ink-soft); margin: 0 0 32px; }

/* ============ SERVE ============ */
.serve-grid { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: 56px; align-items: center; text-align: left; }
.serve-copy .section-sub { margin-bottom: 20px; }
.serve-copy p { color: var(--ink-soft); }
@media (max-width: 760px) { .serve-grid { grid-template-columns: 1fr; text-align: center; gap: 32px; } .serve-card { margin: 0 auto; width: 100%; max-width: 360px; } .gauge { margin-left: auto; margin-right: auto; } }
.serve-card { margin: 0; }
.video-wrap {
  position: relative; aspect-ratio: 9 / 16; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(160deg, var(--court-blue), var(--deep-green)); box-shadow: var(--shadow);
}
.video-wrap video { width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.sound-btn {
  position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%);
  background: rgba(0,0,0,.65); color: #fff; border: 1px solid rgba(255,255,255,.4);
  padding: 9px 18px; border-radius: 999px; font-weight: 700; font-size: .9rem; cursor: pointer; backdrop-filter: blur(6px);
}
.sound-btn.on { background: var(--ball); color: var(--ink); border-color: var(--ball); }
.live-badge {
  position: absolute; top: 12px; left: 12px; font-size: .75rem; font-weight: 700;
  background: rgba(0,0,0,.55); color: #fff; padding: 5px 10px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.live-badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #ff4d4d; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .3; } }
.video-fallback { display: none; position: absolute; inset: 0; color: #fff; place-content: center; text-align: center; }
.video-fallback span { font-size: 3rem; }
.video-wrap.missing video, .video-wrap.missing .sound-btn, .video-wrap.missing .live-badge { display: none; }
.video-wrap.missing .video-fallback { display: grid; }

.gauge { position: relative; width: 240px; margin: 4px 0 18px; }
.gauge svg { width: 100%; height: auto; overflow: visible; }
.gauge path { fill: none; stroke-width: 14; stroke-linecap: round; }
.gauge-track { stroke: var(--line); }
.gauge-fill { stroke: var(--court-blue); stroke-dasharray: 252; stroke-dashoffset: 252; transition: stroke-dashoffset 1.6s cubic-bezier(.2,.7,.2,1); }
.gauge-read { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; font-family: var(--display); }
.gauge-read span { font-size: 2.6rem; font-weight: 900; color: var(--ink); font-variant-numeric: tabular-nums; }
.gauge-read small { font-size: .9rem; font-weight: 700; color: var(--ink-soft); margin-left: 4px; }
@media (max-width: 760px) { .serve-copy .gauge { margin-left: auto; margin-right: auto; } }

/* ============ ON INSTAGRAM (home) ============ */
.ig-section { background: linear-gradient(180deg, transparent, rgba(31,95,174,.06)); max-width: none; }
.ig-section > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.ig-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 320px)); justify-content: center; gap: 28px; max-width: 760px; }
.ig-item { display: grid; grid-template-rows: auto 1fr auto; gap: 14px; justify-items: center; align-items: start; text-align: center; }
.ig-item .btn { align-self: end; }
.ig-item h3 { margin: 0; font-size: 1.1rem; }
.ig-item .btn { width: 100%; }
.ig-card {
  position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; border-radius: var(--radius);
  overflow: hidden; background: #0b2f52; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s;
}
.ig-preview { width: 100%; height: 100%; object-fit: cover; display: block; }
.ig-tag {
  position: absolute; top: 12px; left: 12px; padding: 6px 12px; border-radius: 999px; font-size: .78rem; font-weight: 700;
  background: rgba(255,255,255,.92); color: var(--ink);
}
.ig-hover {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px;
  background: linear-gradient(180deg, rgba(11,47,82,.15), rgba(11,47,82,.75)); color: #fff; font-weight: 700;
  opacity: 0; transition: opacity .25s;
}
.ig-play {
  width: 64px; height: 64px; border-radius: 50%; display: grid; place-items: center; padding-left: 4px;
  background: linear-gradient(45deg, #f09433, #dc2743 50%, #bc1888); font-size: 1.5rem; box-shadow: 0 8px 24px rgba(0,0,0,.3);
}
@media (hover: hover) {
  .ig-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(11,47,82,.28); }
  .ig-card:hover .ig-hover, .ig-card:focus-visible .ig-hover { opacity: 1; }
}
/* touch screens: no hover, so always show a small "watch" label at the bottom */
@media (hover: none) {
  .ig-hover { opacity: 1; inset: auto 0 0 0; flex-direction: row; gap: 8px; padding: 28px 12px 14px; font-size: .92rem;
    background: linear-gradient(180deg, transparent, rgba(11,47,82,.85)); }
  .ig-play { width: 34px; height: 34px; font-size: .85rem; padding-left: 2px; }
}
.ig-cta { margin-top: 40px; text-align: center; }
.ig-cta p { margin: 0 0 14px; font-weight: 600; color: var(--ink-soft); }
@media (max-width: 760px) {
  .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .ig-item h3 { font-size: .95rem; }
  .ig-item .btn { padding: 12px 10px; font-size: .88rem; min-height: 48px; }
  .ig-tag { top: 8px; left: 8px; font-size: .68rem; padding: 4px 8px; }
  .ig-cta .cta-row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 360px) { .ig-grid { grid-template-columns: 1fr; max-width: 260px; } }

/* ============ LANGUAGES (i18n.js) ============ */
.i18n-wait body { visibility: hidden; }
html:not([lang^="zh"]) .zh-only { display: none; }
html[lang="zh-Hant"] { --font: "Inter", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", system-ui, sans-serif; --display: "Outfit", "PingFang TC", "Microsoft JhengHei", "Noto Sans TC", system-ui, sans-serif; }
html[lang="zh-Hans"] { --font: "Inter", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; --display: "Outfit", "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, sans-serif; }
html[lang^="zh"] h1, html[lang^="zh"] h2, html[lang^="zh"] h3 { letter-spacing: .01em; line-height: 1.25; }
html[lang^="zh"] .kicker { letter-spacing: .08em; }
.nav-links { margin-left: auto; }
.lang-switch { position: relative; margin-left: 10px; order: 3; }
.nav-toggle { order: 4; }
.lang-btn {
  font: inherit; font-weight: 700; font-size: .9rem; color: #fff; cursor: pointer;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); border-radius: 999px;
  padding: 7px 12px; min-height: 38px; white-space: nowrap;
}
.lang-btn:hover, .lang-btn[aria-expanded="true"] { background: rgba(255,255,255,.22); }
.lang-btn:focus-visible, .lang-menu a:focus-visible { outline: 3px solid var(--ball); outline-offset: 2px; }
.lang-menu {
  position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 6px; min-width: 150px;
  background: #fff; border-radius: 14px; box-shadow: 0 14px 40px rgba(10,30,50,.25); z-index: 60;
}
.lang-menu a { display: block; padding: 10px 14px; border-radius: 10px; color: var(--ink); text-decoration: none; font-weight: 600; min-height: 44px; }
.lang-menu a:hover { background: rgba(31,95,174,.08); }
.lang-menu a[aria-current] { color: var(--court-blue); }
.lang-menu a[aria-current]::after { content: " ✓"; }
@media (max-width: 960px) {
  .lang-switch { margin-left: auto; margin-right: 6px; }
  .lang-btn { min-height: 44px; padding: 8px 12px; }
}

/* ============ GROUP CLASS PAGE ============ */
.price-card { background: var(--card); border: 2px solid var(--court-blue); border-radius: var(--radius); padding: 16px 20px; margin: 4px 0 22px; text-align: left; }
.price-label { margin: 0 0 8px; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--court-blue); }
.price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.price-row div { display: grid; }
.price-row strong { font-family: var(--display); font-size: 1.9rem; font-weight: 900; color: var(--ink); line-height: 1.1; }
.price-row span { color: var(--ink-soft); font-weight: 600; }
.class-coach {
  display: inline-flex; align-items: center; gap: 18px; padding: 14px 22px 14px 14px; border-radius: var(--radius);
  background: var(--card); box-shadow: var(--shadow); text-decoration: none; color: var(--ink); text-align: left; transition: transform .2s;
}
.class-coach:hover { transform: translateY(-3px); }
.class-coach img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover; }
.class-coach span { display: grid; gap: 2px; }
.class-coach strong { font-family: var(--display); font-size: 1.3rem; }
.class-coach small { color: var(--ink-soft); font-size: .92rem; }
.class-coach em { font-style: normal; font-weight: 700; color: var(--court-blue); }
@media (max-width: 760px) { .price-card { margin-left: auto; margin-right: auto; max-width: 420px; } .class-coach img { width: 68px; height: 68px; } }

/* ============ CHOOSER ============ */
.chooser-section { background: linear-gradient(180deg, transparent, rgba(31,95,174,.06)); max-width: none; }
.chooser-section > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 26px; }
.chip {
  font: inherit; font-weight: 700; padding: 11px 20px; border-radius: 999px; cursor: pointer;
  background: var(--card); color: var(--ink); border: 2px solid var(--line); transition: all .2s;
}
.chip:hover { border-color: var(--court-blue); }
.chip.active { background: var(--court-blue); border-color: var(--court-blue); color: #fff; box-shadow: 0 8px 22px rgba(31,95,174,.3); }
.msg-card {
  background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); padding: 24px;
  display: grid; gap: 14px; text-align: left; position: relative;
}
.msg-label { margin: 0; font-size: .78rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); }
.msg-text {
  margin: 0; background: #dcf8c6; color: #111; padding: 14px 16px; border-radius: 16px 16px 16px 4px;
  font-size: 1.05rem; transition: opacity .2s;
}
.msg-card .btn { justify-self: start; }

/* ============ SESSIONS ============ */
.sessions-section { background: var(--card); max-width: none; }
.sessions-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.session-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; max-width: 880px; }
.session-card {
  border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 20px;
  background: var(--paper); transition: transform .25s, box-shadow .25s;
}
.session-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.session-card-featured { background: var(--court-blue-dark); color: #fff; border-color: var(--court-blue-dark); }
.session-card-featured .session-len { color: var(--ball); }
.session-len { font-family: var(--display); font-size: 3.4rem; font-weight: 900; color: var(--court-blue); line-height: 1; }
.session-unit { font-weight: 700; margin-left: 4px; }
.session-card p { margin: 10px 0 0; font-size: .95rem; opacity: .85; }
@media (max-width: 640px) { .session-cards { grid-template-columns: 1fr; } }
.steps {
  list-style: none; counter-reset: step; padding: 0; margin: 40px auto 32px;
  display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; max-width: 900px;
}
.steps li {
  counter-increment: step; display: flex; align-items: center; gap: 10px;
  background: var(--paper); border-radius: 999px; padding: 10px 18px 10px 10px; text-align: left;
}
.steps li::before {
  content: counter(step); flex: none; width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center; background: var(--court-blue); color: #fff; font-weight: 800;
}

/* ============ ACADEMY HERO / COACH PAGES ============ */
.tagline { font-family: var(--display); font-weight: 800; font-size: clamp(1.2rem, 3vw, 1.6rem); color: var(--ball); margin: -4px 0 10px; letter-spacing: .01em; }
.here { color: var(--ball); }
.hero-coach { min-height: 78vh; min-height: 78svh; }
.coach-avatar {
  width: 132px; height: 132px; border-radius: 50%; margin: 0 auto 20px; display: grid; place-items: center;
  font-family: var(--display); font-weight: 900; font-size: 3.6rem; color: var(--ink);
  background: radial-gradient(circle at 30% 30%, #f1ff9a, var(--ball) 55%, var(--ball-dark));
  box-shadow: 0 16px 44px rgba(0,0,0,.35), 0 0 0 6px rgba(255,255,255,.18);
}
.coach-avatar-photo { display: block; object-fit: cover; object-position: 50% 30%; border: 0; padding: 0; }
.about-photo { width: 140px; height: 140px; border-radius: 50%; object-fit: cover; object-position: 50% 30%; margin: 0 auto 22px; box-shadow: 0 0 0 5px rgba(255,255,255,.18); }
.class-facts { list-style: none; padding: 0; margin: 0 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.class-facts li { display: flex; gap: 12px; align-items: flex-start; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; font-size: .9rem; color: var(--ink-soft); }
.class-facts li > span { font-size: 1.3rem; line-height: 1.2; }
.class-facts strong { display: block; color: var(--ink); font-size: .98rem; }
@media (max-width: 520px) { .class-facts { grid-template-columns: 1fr; } }
.cta-left { justify-content: flex-start; }
@media (max-width: 760px) { .cta-left { justify-content: center; } .class-facts { text-align: left; } }
.fine-print { font-size: .85rem; color: var(--ink-soft); margin-top: 12px; }
.reviews-2 { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }
.team-video { max-width: 340px; margin: 44px auto 0; }
.team-video .review-card { text-align: left; }
.other-coaches { padding-top: 72px; padding-bottom: 72px; }
.other-coaches h2 { margin-bottom: 24px; }
.coach-link { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.coach-link:hover { color: var(--ball); }

/* ============ COACHES ============ */
.coach-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; text-align: left; }
.coach-card {
  position: relative; display: block; border-radius: var(--radius); overflow: hidden; color: #fff; text-decoration: none;
  aspect-ratio: 4 / 5; box-shadow: var(--shadow); background: var(--court-blue-dark); isolation: isolate;
  transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s;
}
.coach-card:focus-visible { outline: 3px solid var(--ball); outline-offset: 4px; }
.coach-photo { position: absolute; inset: 0; z-index: -1; }
.coach-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.coach-placeholder {
  display: grid; place-content: center; text-align: center; gap: 10px;
  background: radial-gradient(circle at 50% 35%, rgba(255,255,255,.12), transparent 60%), linear-gradient(160deg, var(--court-blue), var(--court-blue-dark) 60%, var(--deep-green));
}
.coach-placeholder span {
  width: 120px; height: 120px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto;
  font-family: var(--display); font-weight: 900; font-size: 3.4rem; color: var(--ink);
  background: radial-gradient(circle at 30% 30%, #f1ff9a, var(--ball) 55%, var(--ball-dark));
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.coach-placeholder small { font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; opacity: .7; margin-bottom: 70px; }
.coach-info {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 60px 22px 22px;
  background: linear-gradient(180deg, transparent, rgba(5,20,35,.88));
  transition: transform .35s cubic-bezier(.2,.7,.2,1), opacity .35s;
}
.coach-info h3 { font-size: 1.5rem; margin: 6px 0 0; }
.coach-city {
  display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  background: var(--ball); color: var(--ink); padding: 4px 10px; border-radius: 999px;
}
.coach-hover {
  position: absolute; inset: auto 0 0 0; padding: 26px 22px; display: grid; gap: 6px;
  background: linear-gradient(180deg, rgba(31,95,174,.0), rgba(11,47,82,.96) 35%);
  transform: translateY(100%); transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.coach-hover span { font-family: var(--display); font-weight: 800; font-size: 1.3rem; color: var(--ball); }
.coach-hover small { opacity: .85; }
@media (hover: hover) {
  .coach-card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(10,30,50,.25); }
  .coach-card:hover .coach-photo img, .coach-card:hover .coach-placeholder span { transform: scale(1.06); }
  .coach-card:hover .coach-hover, .coach-card:focus-visible .coach-hover { transform: none; }
  .coach-card:hover .coach-info, .coach-card:focus-visible .coach-info { transform: translateY(-58px); }
}
@media (hover: none) { /* touch: always show the prompt */
  .coach-hover { transform: none; padding: 12px 22px 16px; background: rgba(11,47,82,.92); }
  .coach-hover small { display: none; }
  .coach-hover span { font-size: 1rem; }
  .coach-info { bottom: 44px; }
  .coach-placeholder small { margin-bottom: 140px; }
}
@media (max-width: 860px) {
  .coach-grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; margin: 0 -16px; padding: 4px 16px 18px; }
  .coach-card { flex: 0 0 76%; max-width: 320px; scroll-snap-align: center; }
}

/* ============ TESTIMONIALS ============ */
.reviews-section { max-width: none; background: linear-gradient(180deg, var(--paper), #e9eef4); }
.reviews-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; text-align: left; align-items: start; }
.review-card {
  margin: 0; background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s;
}
.review-card:hover { transform: translateY(-4px); }
.review-video { aspect-ratio: 9 / 16; background: var(--ink); }
.review-video video { width: 100%; height: 100%; object-fit: cover; }
.zoom.review-shot { display: block; aspect-ratio: 9 / 16; background: #000; cursor: zoom-in; }
.review-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.review-card figcaption { padding: 18px 20px 22px; position: relative; }
.review-card figcaption::before {
  content: "“"; position: absolute; top: -34px; right: 16px; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ball); color: var(--ink); font-family: var(--display); font-size: 2.6rem; font-weight: 900;
  display: grid; place-items: center; line-height: 1; padding-top: 14px; box-shadow: 0 8px 18px rgba(0,0,0,.15);
}
.review-quote { font-family: var(--display); font-weight: 700; font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px; }
.review-zh { margin: 0 0 12px; color: var(--ink-soft); font-size: .92rem; }
.review-who { margin: 0; font-size: .85rem; font-weight: 700; color: var(--court-blue); }
@media (max-width: 860px) {
  .reviews {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px;
    margin: 0 -16px; padding: 4px 16px 18px; -webkit-overflow-scrolling: touch;
  }
  .review-card { flex: 0 0 78%; max-width: 320px; scroll-snap-align: center; }
}

/* ============ CITIES ============ */
.city-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; text-align: left; }
.city-card {
  position: relative; overflow: hidden; border-radius: var(--radius); padding: 0 24px 24px; color: #fff;
  min-height: 330px; display: flex; flex-direction: column; justify-content: flex-end; box-shadow: var(--shadow);
  transition: transform .25s;
}
.city-card:hover { transform: translateY(-6px); }
.city-card:hover .city-art { transform: scale(1.04); }
/* Each city has its own sky: HK harbour dusk, Melbourne clear blue, Sydney harbour teal */
.city-hk { background: linear-gradient(180deg, #f08a5d 0%, #b8487a 28%, #3a2f73 52%, #0b2f52 78%); }
.city-mel { background: linear-gradient(180deg, #8fd0ff 0%, #3c8fe0 34%, #1f5fae 58%, #0b2f52 82%); }
.city-syd { background: linear-gradient(180deg, #ffd27a 0%, #4fb3b0 32%, #0f5a52 58%, #0b3d3a 82%); }
.city-art {
  position: absolute; left: 0; right: 0; top: 0; width: 100%; height: 66%;
  transform-origin: 50% 100%; transition: transform .6s ease;
}
.city-art .far { fill: rgba(255,255,255,.14); }
.city-art .near { fill: rgba(255,255,255,.3); }
.city-art .sail { fill: rgba(255,255,255,.85); }
.city-art .line { fill: none; stroke: rgba(255,255,255,.6); stroke-width: 1.6; stroke-linecap: round; }
.city-art .bridge { stroke: rgba(255,255,255,.75); stroke-width: 2.2; }
.city-art .gold { fill: #f3c64a; }
.city-art .lit { fill: var(--ball); animation: twinkle 3s ease-in-out infinite; }
.city-art .lit rect:nth-child(2n) { animation-delay: 1.4s; }
@keyframes twinkle { 50% { opacity: .25; } }
.city-card::after { /* fade behind the text */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 52%;
  background: linear-gradient(180deg, transparent, rgba(5,20,35,.75));
}
.city-card h3 { font-size: 1.6rem; position: relative; z-index: 1; margin-top: 10px; }
.city-card p { margin: 0 0 14px; opacity: .9; position: relative; z-index: 1; }
.city-card .text-link { color: var(--ball); position: relative; z-index: 1; }
@media (max-width: 760px) { .city-cards { grid-template-columns: 1fr; } .city-card { min-height: 340px; } .city-art { height: 60%; } }

/* ============ GALLERY ============ */
.gallery-section { background: var(--card); max-width: none; }
.gallery-section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 32px; text-align: left; }
.gallery-item { margin: 0; background: var(--paper); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.zoom { all: unset; display: block; cursor: zoom-in; overflow: hidden; }
.gallery-item img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .6s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { padding: 14px 16px 18px; font-weight: 600; }
.gallery-cta figcaption strong { display: block; margin-bottom: 12px; font-size: 1.05rem; }
.gallery-cta .cta-row { justify-content: flex-start; gap: 8px; }
.gallery-item.missing .zoom { display: none; }
.gallery-item.missing::before {
  content: "📸 Photo coming soon"; display: grid; place-items: center; aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--court-blue), var(--deep-green)); color: #fff; font-weight: 700;
}
@media (max-width: 860px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery-cta { grid-column: 1 / -1; } .gallery-cta img { aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } .gallery-cta img { aspect-ratio: 4 / 5; } }

.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,15,25,.92); display: grid; place-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 88vh; width: auto; border-radius: 12px; box-shadow: 0 20px 60px rgba(0,0,0,.5); animation: rise .3s ease-out; }
.lightbox-close { position: absolute; top: 14px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.6rem; line-height: 1; cursor: pointer; }

/* ============ ABOUT ============ */
.about-section { max-width: none; color: #fff; background: linear-gradient(135deg, var(--court-blue-dark) 0%, var(--deep-green) 60%, var(--deep-green-2) 100%); }
.about-section > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.about-badge { display: inline-block; background: #fff; border-radius: 20px; padding: 10px 16px; margin-bottom: 22px; }
.about-logo { width: 130px; height: auto; }
.about-facts { list-style: none; padding: 0; margin: 28px auto; display: grid; gap: 12px; max-width: 460px; text-align: left; }
.about-facts li {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  border-radius: 14px; padding: 14px 18px; font-weight: 600; display: flex; align-items: center; gap: 12px;
}
.emoji { font-size: 1.4rem; }
.about-note { opacity: .85; margin-bottom: 26px; }

/* ============ FAQ ============ */
.faq { max-width: 760px; margin: 28px auto 0; text-align: left; display: grid; gap: 12px; }
.faq details { background: var(--card); border-radius: 16px; box-shadow: 0 4px 16px rgba(10,30,50,.06); border: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 700; font-size: 1.05rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
  background: var(--paper); color: var(--court-blue); font-size: 1.3rem; font-weight: 700; transition: transform .25s, background .25s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); background: var(--ball); color: var(--ink); }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--ink-soft); }

/* ============ CONTACT ============ */
.contact-section { padding-top: 40px; }
.contact-buttons { margin-top: 26px; }

/* ============ FOOTER ============ */
footer { background: var(--ink); color: #c9d3d9; text-align: center; padding: 34px 16px 40px; font-size: .92rem; }
footer p { margin: 4px 0; }
footer a { color: #fff; text-decoration: none; }
footer a:hover { color: var(--ball); }

/* ============ MOBILE BOOKING BAR ============ */
.book-bar { display: none; }
@media (max-width: 760px) {
  .book-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45; display: grid; grid-template-columns: 1.4fr 1fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,.95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 -6px 20px rgba(0,0,0,.1);
    transform: translateY(110%); transition: transform .3s;
  }
  .book-bar.show { transform: none; }
  .book-bar .btn { padding: 12px 10px; }
  footer { padding-bottom: 100px; }
}

.stat-link { text-decoration: none; color: inherit; transition: background .2s; }
.stat-link:hover { background: rgba(31,95,174,.06); }
.utr-note { max-width: var(--max); margin: 14px auto 0; padding: 0 16px; text-align: center; font-size: .85rem; color: var(--ink-soft); }
.utr-note a, .about-link { font-weight: 700; }
.about-link { color: var(--ball); }
.policy-note { margin: -8px 0 22px; font-size: .9rem; color: var(--ink-soft); }
.policy-note a { font-weight: 700; }

/* ============ POLICY PAGE ============ */
.policy-head {
  padding: 130px 16px 56px; text-align: center; color: #fff;
  background: linear-gradient(160deg, var(--court-blue) 0%, var(--court-blue-dark) 60%, var(--deep-green) 100%);
}
.policy-head h1 { font-size: clamp(2rem, 6vw, 3.2rem); font-weight: 900; }
.policy-sub { margin: 0; color: rgba(255,255,255,.8); }
.policy { max-width: 760px; margin: 0 auto; padding: 48px 16px 72px; }
.policy h2 { font-size: clamp(1.3rem, 3.4vw, 1.7rem); margin-top: 40px; scroll-margin-top: 90px; }
.policy p, .policy li { color: var(--ink-soft); }
.policy-intro { font-size: 1.05rem; }
.policy-toc { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 8px; }
.policy-toc a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-weight: 700; text-decoration: none; }
.policy-tiers { list-style: none; padding: 0; margin: 18px 0; display: grid; gap: 10px; }
.policy-tiers li { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; background: var(--card); border: 1px solid var(--line); border-left: 6px solid; border-radius: 12px; padding: 14px 16px; }
.policy-tiers small { grid-column: 1 / -1; color: var(--ink-soft); }
.tier-when { font-weight: 700; color: var(--ink); }
.tier-what { font-family: var(--display); font-weight: 800; color: var(--ink); }
.tier-full { border-left-color: #2fb36b !important; }
.tier-half { border-left-color: #f2b233 !important; }
.tier-none { border-left-color: #e05252 !important; }
.policy-list { padding-left: 20px; display: grid; gap: 10px; }
.policy-list strong { color: var(--ink); }
.policy-cta { margin-top: 44px; padding: 24px; border-radius: var(--radius); background: var(--card); box-shadow: var(--shadow); text-align: center; }
.policy-cta p { margin: 0 0 12px; font-weight: 700; color: var(--ink); }
@media (max-width: 520px) { .policy-tiers li { grid-template-columns: 1fr; } }

/* ============ PHONE: MINIMAL LAYOUT ============ */
/* Desktop defaults for phone-only helpers */
.coach-offer, .swipe-hint { display: none; }
.coach-langs { margin: 6px 0 0; font-size: .8rem; font-weight: 600; opacity: .85; }
.coach-langs::before { content: "🗣️ "; }
.langs { display: inline-block; margin: 0 0 18px; font-size: .92rem; font-weight: 600; color: rgba(255,255,255,.92); }
.map-link { font-weight: 700; }
.book-bar.away { transform: translateY(110%); }

@media (max-width: 860px) {
  .swipe-hint { display: block; margin: -18px 0 12px; font-size: .82rem; font-weight: 700; color: var(--court-blue); text-align: right; }
}

@media (max-width: 760px) {
  .hide-mobile { display: none !important; }
  /* Cut decoration and duplicates */
  .ticker, .scroll-hint, .gauge, .cities-section, .live-badge { display: none; }
  .brand-ball { animation: none; }
  .section { padding: 60px 16px; }
  .section-sub { margin-bottom: 24px; }

  /* Hero fits its content, one main button */
  .hero, .hero-coach { min-height: 0; padding: 104px 16px 76px; }
  .logo { width: 108px; }
  .logo-badge { padding: 8px 12px; border-radius: 16px; margin-bottom: 14px; }
  .coach-avatar { width: 104px; height: 104px; font-size: 2.8rem; margin-bottom: 14px; }
  .hero h1 { margin-bottom: 8px; }
  .bio { font-size: 1rem; }
  .hero .cta-row { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; gap: 10px; }
  .stats { margin-top: -44px; }
  .stat { padding: 18px 10px; }

  /* Coaches: compact tappable rows instead of a swipe rail */
  .coach-grid { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 0; padding: 0; overflow: visible; }
  .coach-card {
    display: flex; align-items: center; aspect-ratio: auto; min-height: 104px; flex: none; max-width: none;
    background: var(--card); color: var(--ink); border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(10,30,50,.08);
    padding-right: 44px; border-radius: 16px;
  }
  .coach-card::after { content: "›"; position: absolute; right: 18px; top: 50%; transform: translateY(-52%); font-size: 2rem; line-height: 1; font-weight: 700; color: var(--court-blue); }
  .coach-photo { position: relative; inset: auto; z-index: 0; flex: 0 0 92px; width: 92px; align-self: stretch; }
  .coach-photo img { position: absolute; inset: 0; }
  .coach-placeholder { gap: 0; }
  .coach-placeholder span { width: 52px; height: 52px; font-size: 1.5rem; }
  .coach-placeholder small { display: none; }
  .coach-info, .coach-card:hover .coach-info { position: static; padding: 12px 14px; background: none; transform: none; }
  .coach-info h3 { font-size: 1.15rem; margin: 6px 0 0; }
  .coach-offer { display: block; margin: 2px 0 0; font-size: .86rem; color: var(--ink-soft); }
  .coach-langs { margin-top: 2px; font-size: .76rem; color: var(--ink-soft); opacity: 1; white-space: nowrap; }
  .coach-langs::before { content: none; }
  .coach-hover { display: none; }

  /* Coach pages */
  .facts-first .serve-copy { order: -1; }
  .class-facts { gap: 8px; }
  .class-facts li { padding: 10px 12px; }
  .session-cards { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .session-card { padding: 18px 6px; }
  .session-card p { display: none; }
  .session-len { font-size: 2.2rem; }
  .steps { margin: 28px auto 24px; flex-direction: column; align-items: stretch; }
  .gallery { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-item figcaption { padding: 10px 12px 12px; font-size: .85rem; }
  .gallery-cta { grid-column: 1 / -1; }
  .gallery-cta img { aspect-ratio: 16 / 11; }
  .gallery-cta .cta-row { display: none; }
  .serve-copy p { font-size: .95rem; }

  /* Tap targets at least 44px */
  .text-link, .map-link, .faq a, .fine-print a, .policy-note a, .utr-note a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-links a { display: inline-block; padding: 12px 6px; }
  .nav-toggle { width: 44px; height: 44px; padding: 10px; }
  .nav-brand { min-height: 44px; }
  .sound-btn { min-height: 44px; }
  .btn-small { min-height: 44px; }
  .book-bar-single { grid-template-columns: 1fr; }

  /* Overnight polish: calmer, tighter, easier to scan */
  .coach-card { min-height: 96px; padding-right: 36px; }
  .coach-photo { flex-basis: 84px; width: 84px; }
  .coach-info { padding: 10px 12px; }
  .coach-card::after { right: 14px; }
  .chips { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .chip { padding: 12px 10px; font-size: .92rem; min-height: 48px; }
  .chip.active { box-shadow: 0 4px 12px rgba(31,95,174,.25); }
  .msg-card { padding: 18px; }
  .msg-card .btn { justify-self: stretch; }
  .review-card { flex-basis: 72%; }
  .review-video, .zoom.review-shot { aspect-ratio: 4 / 5; }
  .review-card figcaption { padding: 14px 16px 16px; }
  .review-card figcaption::before { width: 42px; height: 42px; font-size: 2rem; top: -26px; padding-top: 10px; }
  .review-quote { font-size: 1.02rem; }
  .faq summary { padding: 16px 52px 16px 18px; font-size: 1rem; }
  .faq details p { padding: 0 18px 16px; }
  .contact-buttons { flex-direction: column; align-items: stretch; max-width: 340px; margin-left: auto; margin-right: auto; }
  .steps li { border-radius: 14px; }
  /* Gentler scroll-in motion on phones */
  .reveal { transform: translateY(14px); transition-duration: .5s; }
}
.steps li > span { display: block; }
/* The tilted ticker band can poke 1px past the edge; never allow sideways page scroll */
html, body { overflow-x: clip; }
/* Landscape clips (e.g. John's SwingVision rally) keep their 16:9 frame everywhere */
.review-video.landscape { aspect-ratio: 16 / 9 !important; }
.reviews-2 { align-items: start; }
@media (max-width: 360px) {
  .coach-langs { white-space: normal; }
  .chips { grid-template-columns: 1fr; }
  .session-cards { gap: 6px; }
  .session-card { padding: 14px 2px; min-width: 0; }
  .session-len { font-size: 1.8rem; }
  .session-unit { font-size: .8rem; }
}

/* ============ SCROLL REVEAL ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
