:root {
  --ecb-navy: #0b1220;
  --ecb-royal: #2563eb;
  --ecb-royal-ink: #ffffff;
  --ecb-royal-dark: #1d4ed8;
  /* Paper & Ink chrome. Every tour page wears the marketing brand;
     the sport identity lives in the accent tokens and inside the
     framed captures of the published demo site. */
  --paper: #f8fafc;
  --ink: #0b1220;
  --band: #0b1729;
  --line: rgba(15, 23, 42, .13);
  --soft: #eef1f5;
  --accent: #2563eb;
  --accent-text: #1d4ed8;
  --accent-on-dark: #7ea6f4;
  --on-accent: #ffffff;
  --accent-2: #64748b;
  --shadow: 0 32px 90px rgba(2, 8, 23, .16);
  /* Paper & Ink type: Sora only. Matches homepage --home-headline / body. */
  --display: Sora, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: Sora, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ecb-headline-weight: 800;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
a { color: inherit; }
img, svg, picture { display: block; max-width: 100%; }
button, a { -webkit-tap-highlight-color: transparent; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--ecb-royal);
  outline-offset: 4px;
}
.skip-link {
  position: fixed;
  z-index: 1000;
  left: 16px;
  top: 12px;
  padding: 10px 14px;
  background: var(--ecb-royal);
  color: var(--ecb-royal-ink);
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
}
.skip-link:focus { transform: translateY(0); }
.wrap { width: min(1280px, calc(100% - 64px)); margin-inline: auto; }
.kicker {
  margin: 0;
  color: var(--ecb-royal-dark);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .16em;
  text-transform: uppercase;
}
.display {
  margin: 0;
  font-family: var(--display);
  font-weight: var(--ecb-headline-weight);
  letter-spacing: -.045em;
  line-height: 1.08;
}
.lede { margin: 0; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.65; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 21px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font-size: 14px;
  font-weight: 850;
  text-decoration: none;
  transition: transform .2s ease, background .2s ease, color .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { border-color: var(--ecb-royal); background: var(--ecb-royal); color: var(--ecb-royal-ink); }
.button.on-dark { border-color: rgba(255,255,255,.4); color: #fff; }
.button.on-dark.primary { border-color: var(--ecb-royal); background: var(--ecb-royal); color: var(--ecb-royal-ink); }

.page-geometry {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  /* sport line art stays, but drawn in quiet slate so page chrome never
     competes with the royal + ink brand */
  --accent: #8ea0b6;
  --accent-2: #aebbcb;
  opacity: .14;
  background-size: min(64vw, 840px) min(64vw, 840px);
  background-position: calc(100% + 220px) 14vh;
  background-repeat: no-repeat;
}
body[data-sport="golf"] .page-geometry {
  background-image:
    radial-gradient(ellipse at center, transparent 0 25%, var(--accent) 25.2% 25.45%, transparent 25.7% 37%, var(--accent) 37.2% 37.45%, transparent 37.7% 51%, var(--accent) 51.2% 51.45%, transparent 51.7%);
  transform: rotate(-13deg);
}
body[data-sport="tennis"] .page-geometry {
  background-image:
    linear-gradient(90deg, transparent 0 49.8%, var(--accent) 49.8% 50.2%, transparent 50.2%),
    linear-gradient(transparent 0 28%, var(--accent) 28% 28.4%, transparent 28.4% 71.6%, var(--accent) 71.6% 72%, transparent 72%),
    linear-gradient(90deg, transparent 0 18%, var(--accent) 18% 18.4%, transparent 18.4% 81.6%, var(--accent) 81.6% 82%, transparent 82%);
  border: 1px solid var(--accent);
}
body[data-sport="softball"] .page-geometry,
body[data-sport="baseball"] .page-geometry {
  background-image:
    linear-gradient(45deg, transparent 0 49.8%, var(--accent) 49.8% 50.2%, transparent 50.2%),
    linear-gradient(-45deg, transparent 0 49.8%, var(--accent) 49.8% 50.2%, transparent 50.2%);
  border: 1px solid var(--accent);
  transform: rotate(45deg);
}
body[data-sport="soccer"] .page-geometry {
  background-image:
    radial-gradient(circle at center, transparent 0 18%, var(--accent) 18.2% 18.6%, transparent 18.8%),
    linear-gradient(90deg, transparent 0 49.8%, var(--accent) 49.8% 50.2%, transparent 50.2%);
  border: 1px solid var(--accent);
}
body[data-sport="pickleball"] .page-geometry {
  background-image:
    radial-gradient(circle at 74% 28%, transparent 0 6.5%, var(--accent-2) 6.7% 7.1%, transparent 7.3%),
    linear-gradient(90deg, transparent 0 49.8%, var(--accent) 49.8% 50.2%, transparent 50.2%),
    linear-gradient(transparent 0 30%, var(--accent) 30% 30.4%, transparent 30.4% 69.6%, var(--accent) 69.6% 70%, transparent 70%);
  border: 1px solid var(--accent);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  color: var(--ink);
  background: rgba(248,250,252,.92);
  border-bottom: 1px solid rgba(15,23,42,.08);
  backdrop-filter: blur(16px);
}
.site-nav {
  display: flex;
  max-width: 1120px;
  margin: 0 auto;
  padding: 14px 44px;
  align-items: center;
  gap: 22px;
}
.site-logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  letter-spacing: -.01em;
}
.site-logo b { color: var(--ecb-royal); }
.site-logo .mk {
  display: flex;
  width: 34px;
  height: 34px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  color: var(--ecb-royal-ink);
  background: var(--ecb-royal);
}
.site-logo .ic {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  fill: none;
  stroke: #ffffff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.desktop-nav { display: flex; flex: 1; max-width: none; margin: 0; padding: 0; align-items: center; gap: 4px; }
.nav-group { position: relative; }
.nav-group::after { display: none; position: absolute; top: 100%; right: -18px; left: 0; height: 12px; content: ""; }
.nav-group:hover::after, .nav-group:focus-within::after { display: block; }
.nav-trigger, .nav-link {
  display: inline-flex;
  padding: 10px 11px;
  align-items: center;
  gap: 5px;
  border-radius: 10px;
  color: #475569;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}
.nav-trigger .ic { width: 13px; height: 13px; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.nav-trigger:hover, .nav-link:hover, .nav-group:focus-within .nav-trigger, .nav-group:hover .nav-trigger { color: var(--ink); background: rgba(15,23,42,.05); }
.nav-menu {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 310px;
  padding: 10px;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15,23,42,.12);
}
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { display: grid; gap: 4px; }
.nav-menu a { display: block; padding: 12px; border-radius: 12px; text-decoration: none; }
.nav-menu a:hover { background: rgba(15,23,42,.04); }
.nav-menu strong { display: block; color: var(--ink); font-size: 13px; }
.nav-menu span { display: block; margin-top: 3px; color: #64748b; font-size: 12px; line-height: 1.35; }
.site-actions { display: flex; align-items: center; gap: 10px; }
.site-header .btn {
  display: inline-flex;
  min-height: auto;
  padding: 9px 16px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 13.5px;
  font-weight: 850;
  text-decoration: none;
}
.site-header .btn.outline {
  border-color: rgba(15,23,42,.16);
  color: var(--ink);
  background: transparent;
}
.site-header .btn.outline:hover { background: rgba(15,23,42,.04); }
.site-header .btn.royal { color: var(--ecb-royal-ink); background: var(--ecb-royal); }
.site-header .btn.royal:hover { background: var(--ecb-royal-dark); }
.mobile-nav { display: none; position: relative; flex-shrink: 0; margin-left: auto; }
.mobile-nav summary {
  display: flex;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  border: 1px solid rgba(15,23,42,.16);
  border-radius: 12px;
  list-style: none;
}
.mobile-nav summary::-webkit-details-marker { display: none; }
.mobile-nav summary::after { content: none; }
.mobile-nav summary span { display: block; flex: 0 0 2px; width: 18px; height: 2px; border-radius: 999px; background: var(--ink); }
.mobile-nav-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: min(330px, calc(100vw - 34px));
  max-height: calc(100vh - 88px);
  overflow: auto;
  padding: 16px;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(15,23,42,.14);
}
.mobile-nav-group { display: grid; gap: 8px; padding: 12px 0; border-bottom: 1px solid rgba(15,23,42,.08); }
.mobile-nav-group a { color: #475569; text-decoration: none; font-size: 13.5px; }
.mobile-nav-group .mobile-nav-heading { color: var(--ink); font-weight: 900; }
.mobile-nav-cta { display: grid; gap: 10px; padding-top: 14px; }
.mobile-nav-cta .btn { justify-content: center; }
.mobile-demo { color: var(--ecb-royal); text-align: center; text-decoration: none; font-size: 13px; font-weight: 800; }
.site-header a:focus-visible, .site-header summary:focus-visible { outline-color: var(--ecb-royal); }

.tour-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(72px, 9vw, 132px) 0 clamp(92px, 12vw, 170px);
  overflow: hidden;
}
.tour-hero::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 0 auto;
  height: 42%;
  background: linear-gradient(180deg, color-mix(in srgb, var(--ecb-royal) 7%, transparent), transparent);
}
.hero-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(300px, .55fr);
  gap: clamp(36px, 6vw, 90px);
  align-items: end;
  margin-bottom: clamp(56px, 8vw, 104px);
}
.hero-title {
  max-width: 980px;
  margin-top: 18px;
  font-size: clamp(44px, 6.4vw, 92px);
}
.hero-title em { color: var(--ecb-royal); font-style: normal; }
.hero-side { display: grid; gap: 26px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: var(--line);
  border: 1px solid var(--line);
}
.hero-proof li {
  min-height: 84px;
  padding: 18px;
  background: var(--paper);
  font-size: 13px;
  font-weight: 800;
}
.hero-proof b { display: block; margin-bottom: 4px; color: var(--ecb-royal-dark); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; }

.hero-stage { position: relative; width: min(1190px, 92%); margin-inline: auto; }
.browser-frame {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.browser-bar {
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  color: var(--ink);
  background: color-mix(in srgb, var(--paper) 90%, var(--ink));
  border-bottom: 1px solid var(--line);
}
.browser-bar i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); }
.browser-bar span { flex: 1 1 auto; min-width: 0; margin-left: 8px; overflow: hidden; font-size: 11px; font-weight: 750; opacity: .68; text-overflow: ellipsis; white-space: nowrap; }
.browser-frame > img, .browser-frame > picture, .browser-frame > picture img { width: 100%; height: auto; }
.live-badge {
  position: absolute;
  left: -24px;
  top: 92px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 14px;
  color: #fff;
  background: var(--band);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  box-shadow: 0 16px 35px rgba(0,0,0,.22);
}
.live-badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--ecb-royal); box-shadow: 0 0 0 5px rgba(37,99,235,.18); }
.phone-frame {
  position: absolute;
  right: -4%;
  bottom: -11%;
  width: clamp(170px, 20vw, 270px);
  padding: 9px;
  background: #090b0f;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 29px;
  box-shadow: 0 30px 80px rgba(0,0,0,.38);
}
.phone-frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 50%;
  width: 32%;
  height: 7px;
  border-radius: 99px;
  background: #090b0f;
  transform: translateX(-50%);
}
.phone-screen { overflow: hidden; border-radius: 21px; background: #fff; }
.phone-screen img { width: 100%; height: auto; }

.chapter-nav {
  position: sticky;
  z-index: 30;
  top: 0;
  color: #fff;
  background: color-mix(in srgb, var(--ecb-navy) 95%, transparent);
  border-top: 1px solid rgba(255,255,255,.1);
  border-bottom: 1px solid rgba(255,255,255,.1);
  backdrop-filter: blur(16px);
}
.chapter-progress { height: 3px; background: linear-gradient(90deg, var(--ecb-royal) var(--tour-progress, 0%), transparent var(--tour-progress, 0%)); }
.chapter-nav .wrap { display: flex; min-height: 68px; align-items: center; gap: 24px; }
.chapter-nav strong { flex: 0 0 auto; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.chapter-links { display: flex; flex: 1; align-items: center; justify-content: flex-end; gap: 4px; }
.chapter-links a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 8px 13px;
  color: #afbdcc;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.chapter-links a:hover, .chapter-links a[aria-current="location"] { color: #fff; background: rgba(255,255,255,.08); }

.chapter {
  position: relative;
  padding: clamp(96px, 11vw, 170px) 0;
  border-bottom: 1px solid var(--line);
}
.chapter-number {
  color: var(--ink);
  font-family: var(--display);
  font-size: clamp(74px, 10vw, 150px);
  font-weight: var(--ecb-headline-weight);
  line-height: .9;
  opacity: .14;
}
.chapter-intro {
  display: grid;
  grid-template-columns: minmax(120px, .35fr) minmax(0, 1.65fr);
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
  margin-bottom: clamp(54px, 8vw, 100px);
}
.chapter-heading { max-width: 880px; margin: 14px 0 22px; font-size: clamp(45px, 6.5vw, 92px); }
.chapter-copy { max-width: 700px; }
.chapter-copy p:last-child { margin-bottom: 0; }
.section-ledger {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.section-ledger span {
  padding: 8px 10px;
  border: 1px solid var(--line);
  color: color-mix(in srgb, var(--ink) 70%, transparent);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.shot {
  overflow: hidden;
  margin: 0;
  background: var(--soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.shot picture, .shot img { width: 100%; height: auto; }
.shot-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 16px;
  color: var(--ink);
  background: var(--paper);
  border-top: 1px solid var(--line);
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .04em;
}
.shot-caption b { color: var(--ecb-royal-dark); text-transform: uppercase; }

.offers-stage { position: relative; min-height: clamp(720px, 82vw, 1060px); }
.offers-primary { position: relative; z-index: 1; width: 77%; }
.offers-secondary { position: absolute; z-index: 2; right: 0; bottom: 0; width: 64%; }
.offers-secondary::before {
  content: "Programs connect directly to availability";
  position: absolute;
  z-index: 3;
  left: -22px;
  top: 34px;
  max-width: 180px;
  padding: 14px;
  color: #fff;
  background: var(--ecb-navy);
  border-left: 4px solid var(--ecb-royal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  transform: translateX(-100%);
}

.program-pages-chapter { background: var(--soft); }
.program-gallery {
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.program-gallery-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}
.program-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(190px, 1fr));
  min-width: 0;
  overflow-x: auto;
  background: var(--paper);
  scrollbar-width: thin;
}
.program-tabs button,
.device-switch button {
  min-height: 58px;
  padding: 12px 16px;
  border: 0;
  color: color-mix(in srgb, var(--ink) 74%, transparent);
  background: var(--paper);
  font: inherit;
  font-size: 12px;
  font-weight: 850;
  line-height: 1.25;
  text-align: left;
  cursor: pointer;
}
.program-tabs button + button { border-left: 1px solid var(--line); }
.program-tabs button span {
  display: block;
  margin-bottom: 5px;
  color: var(--ecb-royal-dark);
  font-size: 10px;
  letter-spacing: .12em;
}
.program-tabs button:hover,
.device-switch button:hover { background: color-mix(in srgb, var(--ecb-royal) 8%, var(--paper)); }
.program-tabs button[aria-selected="true"] {
  color: #fff;
  background: var(--band);
  box-shadow: inset 0 5px 0 var(--ecb-royal);
}
.program-tabs button[aria-selected="true"] span { color: var(--accent-on-dark); }
.device-switch {
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 1px;
  background: var(--line);
}
.device-switch button {
  display: inline-flex;
  min-width: 94px;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.device-switch button[aria-pressed="true"] {
  color: var(--ecb-royal-ink);
  background: var(--ecb-royal);
}
.program-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(330px, .55fr);
  min-width: 0;
  background: var(--band);
}
.program-browser {
  position: relative;
  min-width: 0;
  padding: 20px;
  background: #080b10;
  border-right: 1px solid rgba(255,255,255,.14);
}
.program-browser .browser-bar {
  color: #d9e1ea;
  background: #151a22;
  border: 1px solid rgba(255,255,255,.12);
  border-bottom: 0;
}
.program-browser .browser-bar i { background: rgba(255,255,255,.3); }
.program-preview-scroll {
  position: relative;
  height: clamp(620px, 65vw, 840px);
  overflow: auto;
  overscroll-behavior: contain;
  background: #fff;
  border: 1px solid rgba(255,255,255,.14);
  scrollbar-color: var(--ecb-royal) #111820;
  scrollbar-width: thin;
}
.program-preview-scroll:focus-visible {
  outline: 3px solid var(--ecb-royal);
  outline-offset: 4px;
}
.program-preview-scroll img {
  width: 100%;
  max-width: none;
  height: auto;
  margin: 0 auto;
  background: #fff;
}
.program-preview-scroll.is-mobile {
  padding-inline: clamp(0px, 8vw, 84px);
  background: #10151d;
}
.program-preview-scroll.is-mobile img {
  width: min(390px, 100%);
  box-shadow: 0 0 0 1px rgba(255,255,255,.18), 0 22px 70px rgba(0,0,0,.48);
}
.program-scroll-hint {
  position: absolute;
  z-index: 3;
  right: 36px;
  bottom: 36px;
  padding: 9px 12px;
  color: var(--ecb-royal-ink);
  background: var(--ecb-royal);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
  pointer-events: none;
}
.program-details {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 4vw, 54px);
  color: #fff;
}
.program-details .kicker { color: var(--accent-on-dark); }
.program-details h3 {
  margin: 14px 0 18px;
  font-family: var(--display);
  font-size: clamp(28px, 2.6vw, 42px);
  overflow-wrap: normal;
  text-wrap: balance;
  font-weight: var(--ecb-headline-weight);
  line-height: 1.18;
  letter-spacing: -.035em;
}
.program-details > p:not(.kicker) {
  margin: 0;
  color: rgba(255,255,255,.72);
  font-size: 14px;
}
.program-anatomy {
  display: grid;
  gap: 0;
  margin: 30px 0;
  padding: 0;
  border-top: 1px solid rgba(255,255,255,.16);
  list-style: none;
}
.program-anatomy li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 10px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.84);
  font-size: 12px;
  font-weight: 760;
}
.program-anatomy b { color: var(--accent-on-dark); font-size: 10px; letter-spacing: .1em; }
.program-details .button.primary { align-self: flex-start; }
.program-gallery.is-loading .program-preview-scroll img { opacity: .54; }

.connected-chapter {
  color: #fff;
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--band) 92%, #000), var(--band)),
    var(--band);
}
.connected-chapter .chapter-number { color: var(--accent-on-dark); }
.connected-chapter .kicker { color: var(--accent-on-dark); }
.connected-chapter .chapter-copy { color: rgba(255,255,255,.8); }
.connected-chapter .section-ledger span { color: rgba(255,255,255,.72); border-color: rgba(255,255,255,.18); }
.connection-flow {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}
.connection-step {
  min-width: 0;
  padding: 18px;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.15);
  box-shadow: 0 28px 70px rgba(0,0,0,.24);
}
.connection-step h3 {
  min-height: 58px;
  margin: 16px 0 18px;
  font-family: var(--display);
  font-size: clamp(26px, 2.7vw, 39px);
  font-weight: var(--ecb-headline-weight);
  line-height: 1.2;
  letter-spacing: -.025em;
}
.connection-label { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.connection-label b { color: var(--accent-on-dark); font-size: 11px; letter-spacing: .12em; }
.connection-label span { color: rgba(255,255,255,.58); font-size: 10px; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.connection-screen {
  height: clamp(300px, 34vw, 470px);
  overflow: hidden;
  background: #0b111b;
  border: 1px solid rgba(255,255,255,.14);
}
.connection-screen picture,
.connection-screen img { width: 100%; height: 100%; }
.connection-screen img { object-fit: cover; object-position: top left; }
.connection-page-screen img { object-position: top center; }
.connection-admin { border-top: 5px solid rgba(255,255,255,.28); }
.connection-public { border-top: 5px solid var(--ecb-royal); }
.publish-bridge {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: auto minmax(50px, 1fr) auto;
  gap: 20px;
  align-items: center;
  padding: 18px 22px;
  color: var(--ecb-royal-ink);
  background: var(--ecb-royal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.publish-bridge i { overflow: hidden; font-style: normal; text-align: center; letter-spacing: .3em; }
.connection-footnote {
  max-width: 820px;
  margin: 34px 0 0 auto;
  color: rgba(255,255,255,.72);
  font-size: 15px;
}
.connection-footnote strong { color: #fff; }

.coach-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  gap: clamp(24px, 5vw, 72px);
  align-items: center;
}
.coach-primary { position: relative; }
.coach-note {
  position: absolute;
  right: -7%;
  bottom: 7%;
  width: min(310px, 44%);
  padding: 24px;
  color: #fff;
  background: var(--band);
  border-left: 6px solid var(--ecb-royal);
  box-shadow: 0 20px 54px rgba(0,0,0,.27);
}
.coach-note p { margin: 0; font-family: var(--display); font-size: clamp(20px, 2.3vw, 31px); font-weight: var(--ecb-headline-weight); line-height: 1.2; }
.credentials-shot { transform: translateY(8%); }

.proof-stage {
  display: grid;
  grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr);
  gap: clamp(22px, 4vw, 56px);
  align-items: center;
}
.proof-stage .testimonials-shot { position: relative; z-index: 2; margin-right: -28%; }
.gallery-shot { padding-top: clamp(50px, 7vw, 100px); }
.proof-marker {
  margin: 28px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--line);
  color: color-mix(in srgb, var(--ink) 68%, transparent);
  font-size: 14px;
}

.questions-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, .55fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
}
.question-aside { padding: 28px; border-top: 7px solid var(--ecb-royal); background: var(--soft); }
.question-aside blockquote { margin: 0; font-family: var(--display); font-size: clamp(27px, 3.3vw, 45px); font-weight: var(--ecb-headline-weight); line-height: 1.2; }
.question-aside p { margin: 22px 0 0; font-size: 13px; }

.booking-chapter { color: #fff; background: var(--band); }
.booking-chapter .chapter-intro { align-items: end; }
.booking-chapter .chapter-number { color: var(--accent-on-dark); }
.booking-chapter .kicker { color: var(--accent-on-dark); }
.booking-chapter .chapter-copy { color: #c8d0cb; }
.booking-stage { position: relative; }
/* The overlay is the caption here; the figure caption would peek out mid-word under it. */
.booking-stage .shot-caption { display: none; }
.booking-stage .shot { border-color: rgba(255,255,255,.16); box-shadow: 0 36px 100px rgba(0,0,0,.45); }
.booking-overlay {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 30px;
  align-items: center;
  width: calc(100% - 80px);
  margin: -76px auto 0;
  padding: 28px;
  color: #fff;
  background: color-mix(in srgb, var(--band) 88%, #000);
  border: 1px solid rgba(255, 255, 255, .2);
  border-left: 8px solid var(--ecb-royal);
  box-shadow: 0 22px 60px rgba(0,0,0,.34);
}
.booking-overlay h3 { margin: 0 0 6px; font-family: var(--display); font-size: clamp(27px, 3vw, 42px); font-weight: var(--ecb-headline-weight); line-height: 1.18; }
.booking-overlay p { margin: 0; color: #b8c4d2; }


.sport-index {
  padding: clamp(86px, 10vw, 140px) 0;
  color: #fff;
  background: var(--band);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}
.sport-index .kicker { color: var(--accent-on-dark); }
.sport-index-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); gap: 36px; align-items: end; margin-bottom: 46px; }
.sport-index h2 { margin: 12px 0 0; font-family: var(--display); font-size: clamp(42px, 5vw, 72px); line-height: 1.18; font-weight: var(--ecb-headline-weight); letter-spacing: -.03em; }
.sport-index-head p { margin: 0; color: rgba(255,255,255,.72); }
.sport-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border: 1px solid rgba(255,255,255,.18); background: rgba(0,0,0,.08); }
.sport-card {
  position: relative;
  min-height: 230px;
  padding: 22px;
  overflow: hidden;
  border-right: 1px solid rgba(255,255,255,.18);
  text-decoration: none;
}
.sport-card:last-child { border-right: 0; }
.sport-card::before { content: ""; position: absolute; inset: auto 0 0; height: 7px; background: rgba(255, 255, 255, .22); transition: background .2s ease; }
.sport-card:hover { background: rgba(255, 255, 255, .06); }
.sport-card:hover::before { background: var(--ecb-royal); }
.sport-card[aria-current="page"] { background: rgba(255, 255, 255, .08); }
.sport-card[aria-current="page"]::before { background: var(--ecb-royal); }
.sport-card span { display: block; color: rgba(255,255,255,.62); font-size: 11px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.sport-card strong { display: block; margin-top: 72px; font-family: var(--display); font-size: clamp(19px, 1.7vw, 24px); font-weight: var(--ecb-headline-weight); line-height: 1.15; letter-spacing: -.02em; }
.sport-card small { display: block; margin-top: 8px; color: rgba(255,255,255,.68); }

.final-cta { padding: clamp(82px, 10vw, 140px) 0; color: #fff; background: var(--ecb-navy); }
.final-cta .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.final-cta h2 { max-width: 900px; margin: 12px 0 0; font-family: var(--display); font-size: clamp(48px, 7vw, 96px); font-weight: var(--ecb-headline-weight); line-height: 1.18; letter-spacing: -.04em; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px; }

.site-footer { padding: 44px 0; color: #adbac9; background: #050b14; }
.site-footer .wrap { display: flex; justify-content: space-between; gap: 30px; }
.site-footer p { margin: 0; font-size: 12px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px; }
.footer-links a { font-size: 12px; text-decoration: none; }
.footer-links a:hover { color: #fff; }

.js [data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.js [data-reveal].is-visible { opacity: 1; transform: none; }
.js [data-reveal-delay] { transition-delay: .14s; }
/* The hero screenshot is an LCP candidate. It must paint immediately while
   below-fold chapter reveals retain their one-shot motion. */
.js .hero-stage { opacity: 1; transform: none; transition: none; }

@media (max-width: 980px) {
  .wrap { width: min(100% - 40px, 900px); }
  .hero-copy, .sport-index-head { grid-template-columns: 1fr; }
  .hero-side { max-width: 680px; }
  .hero-proof { max-width: 680px; }
  .chapter-nav .wrap { width: 100%; padding-left: 20px; }
  .chapter-nav strong { display: none; }
  .chapter-links { justify-content: flex-start; overflow-x: auto; scrollbar-width: none; }
  .chapter-links::-webkit-scrollbar { display: none; }
  .chapter-links a:last-child { margin-right: 20px; }
  .chapter-intro { grid-template-columns: 92px minmax(0, 1fr); }
  .coach-stage, .questions-stage { grid-template-columns: 1fr; }
  .credentials-shot { width: 76%; margin-left: auto; transform: translateY(-8%); }
  .proof-stage { grid-template-columns: 1fr; }
  .program-gallery-toolbar { grid-template-columns: 1fr; }
  .device-switch { border-top: 1px solid var(--line); }
  .device-switch button { min-height: 48px; }
  .program-panel { grid-template-columns: 1fr; }
  .program-browser { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.14); }
  .proof-stage .testimonials-shot { width: 72%; margin: 0 0 -8% 0; }
  .gallery-shot { padding-top: 0; margin-left: 12%; }
  .sport-grid { grid-template-columns: repeat(6, minmax(160px, 1fr)); overflow-x: auto; scrollbar-width: none; }
  .sport-grid::-webkit-scrollbar { display: none; }
  .sport-card { min-height: 200px; }
  .final-cta .wrap { grid-template-columns: 1fr; }
  .final-actions { justify-content: flex-start; }
}

@media (max-width: 700px) {
  html { scroll-padding-top: 76px; }
  .wrap { width: min(100% - 32px, 620px); }
  .tour-hero { padding-top: 62px; }
  .tour-hero .wrap { display: flex; flex-direction: column; }
  .hero-copy { display: contents; }
  .hero-copy > div:first-child { order: 1; }
  /* Keep a clear visual break between the stage and the supporting copy. */
  .hero-stage { order: 2; width: 100%; margin: 28px 0 48px; }
  .hero-side { order: 3; }
  /* Sora reads large; keep mobile display type compact so the first viewport is usable. */
  .hero-title {
    margin-top: 12px;
    font-size: clamp(32px, 8.4vw, 40px);
    line-height: 1.08;
    letter-spacing: -.04em;
  }
  .hero-proof { grid-template-columns: 1fr; }
  .hero-proof li { min-height: auto; }
  .hero-side .lede { max-width: none; }
  .hero-actions .button { flex: 1 1 100%; }
  .browser-bar { min-height: 40px; }
  .live-badge { left: 10px; top: 58px; }
  /* Browser frame already swaps to the mobile capture via <picture>.
     The floating phone was hanging into hero copy and crushing the lede. */
  .phone-frame { display: none; }
  .chapter-nav .wrap { min-height: 58px; }
  .chapter-links a { min-height: 48px; padding-inline: 12px; }
  .chapter { padding-block: 88px; }
  .chapter-intro { grid-template-columns: 1fr; gap: 18px; margin-bottom: 44px; }
  .chapter-number { font-size: 56px; }
  .chapter-heading {
    margin: 10px 0 16px;
    font-size: clamp(28px, 7.6vw, 36px);
    line-height: 1.1;
    letter-spacing: -.035em;
  }
  .final-cta h2 {
    font-size: clamp(34px, 9vw, 48px);
    line-height: 1.1;
  }
  .sport-index h2 {
    font-size: clamp(30px, 8vw, 42px);
    line-height: 1.1;
  }
  .program-details h3 {
    font-size: clamp(28px, 7.4vw, 36px);
    line-height: 1.12;
  }
  .booking-overlay h3 {
    font-size: clamp(24px, 6.5vw, 32px);
    line-height: 1.12;
  }
  .question-aside blockquote {
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.15;
  }
  .offers-stage { display: grid; min-height: 0; gap: 18px; }
  .offers-primary, .offers-secondary { position: relative; inset: auto; width: 100%; }
  .offers-stage .shot picture {
    display: block;
    position: relative;
    height: clamp(360px, 112vw, 460px);
    overflow: hidden;
  }
  .offers-stage .shot picture::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 74px;
    background: linear-gradient(transparent, var(--paper));
    pointer-events: none;
  }
  .offers-stage .shot picture img { width: 100%; height: 100%; object-fit: cover; }
  .offers-primary picture img { object-position: top center; }
  .offers-secondary picture img { object-position: top center; }
  .offers-secondary::before { display: none; }
  /* Stack the three program tabs so no option hides behind a scroll edge. */
  .program-tabs { grid-template-columns: 1fr; }
  .program-tabs button { min-height: 58px; padding: 12px 14px; }
  .program-tabs button + button { border-left: 0; border-top: 1px solid var(--line); }
  /* Keep the scrollable capture comfortably inside a phone viewport so
     page scrolling never feels trapped inside the preview. */
  .program-preview-scroll { height: min(500px, 60vh); }
  .program-browser { padding: 12px; }
  .program-scroll-hint { right: 24px; bottom: 24px; }
  .program-details { padding: 28px 22px 32px; }
  .program-details .button.primary { width: 100%; }
  .connection-flow { grid-template-columns: 1fr; }
  .publish-bridge { grid-column: auto; grid-template-columns: 1fr; gap: 8px; }
  .publish-bridge i { text-align: left; transform: rotate(90deg); transform-origin: left center; }
  .connection-step h3 { min-height: auto; }
  .connection-screen { height: 360px; }
  .connection-homepage-screen img { object-position: top center; }
  .coach-primary .shot picture {
    display: block;
    position: relative;
    height: clamp(620px, 190vw, 740px);
    overflow: hidden;
  }
  .coach-primary .shot picture::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 74px;
    background: linear-gradient(transparent, var(--paper));
    pointer-events: none;
  }
  .coach-primary .shot picture img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
  .shot-caption { align-items: flex-start; flex-direction: column; gap: 3px; }
  .coach-note {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    margin: 0;
    box-shadow: none;
  }
  .credentials-shot { width: 88%; margin-top: 24px; transform: none; }
  .proof-stage .testimonials-shot { width: 88%; }
  .gallery-shot { margin-left: 7%; }
  .question-aside { padding: 22px; }
  .booking-overlay { grid-template-columns: 1fr; width: calc(100% - 28px); margin-top: -34px; padding: 22px; }
  .sport-index { overflow: hidden; padding-block: 56px; }
  .sport-index-head { margin-bottom: 30px; }
  .sport-grid { margin-right: -16px; padding-right: 16px; border-left: 0; border-right: 0; }
  .sport-card { min-height: 148px; }
  .sport-card strong { margin-top: 26px; }
  .final-actions .button { flex: 1 1 100%; }
  .site-footer .wrap { flex-direction: column; }
}

@media (max-width: 900px) {
  .site-nav { padding: 12px 24px; justify-content: space-between; }
  .desktop-nav, .site-actions { display: none; }
  .mobile-nav { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
