/* 2026-11-16 phone fit pass (owner: screenshots cropped badly on the phone, and the phone view
   was one long stack of big cards). Loaded with media="(max-width:760px)" and every rule also sits
   inside the same query, so desktop is untouched. Rules:
   - a phone screenshot shows the whole phone or a clean top portion that fades out
   - a laptop screenshot scales to the width, never cut on the right
   - card groups become a swipe row with a peek of the next card, or a two-column grid */

@media (max-width: 760px) {

/* ---------- Shared: swipe row ---------- */
html body .mf-swipe,
html body .hx-rows .hx-rows-in,
html body .gh-ab-story .gh-ab-3,
html body .roles4 {
  display: flex !important;
  grid-template-columns: none !important;
  gap: 12px !important;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 2px calc(50vw - 50%) 10px !important;
  scroll-padding-left: var(--gutter, 1.4rem);
  max-width: none !important;
  border-top: 0 !important;
  align-items: flex-start !important;
}
html body .mf-swipe::-webkit-scrollbar,
html body .hx-rows .hx-rows-in::-webkit-scrollbar,
html body .gh-ab-story .gh-ab-3::-webkit-scrollbar,
html body .roles4::-webkit-scrollbar { display: none; }
html body .gh-ab-story .gh-ab-3 > div { flex: 0 0 80%; scroll-snap-align: start; padding: 1.1rem !important; }
html body .gh-ab-story .gh-ab-3 h3 { font-size: 1.05rem; }
html body .gh-ab-story .gh-ab-3 p { font-size: .92rem; line-height: 1.5; }

/* ---------- Shared: the three compact rows (Teams, Training, sport pages) ---------- */
html body .hx-rows { padding-top: 2rem; padding-bottom: 1.5rem; }
/* cards in a swipe row share one height, so a shorter card leaves no empty band under it */
html body .hx-rows .hx-rows-in, html body .mf-swipe, html body .roles4, html body .gh-ab-story .gh-ab-3 { align-items: stretch !important; }
html body .hx-rows .hx-row {
  flex: 0 0 82%;
  scroll-snap-align: start;
  gap: .8rem;
}
html body .hx-shot {
  height: 200px;
  padding: 16px 16px 0;
  align-items: flex-start;
  justify-content: center;
}
/* phone: a clean top portion that fades out */
html body .hx-shot .frame-phone {
  width: 150px;
  -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 70%, transparent 100%);
}
/* laptop: scaled to the panel width, whole screen visible */
html body .hx-shot-wide {
  padding: 16px;
  align-items: center;
  justify-content: center;
}
html body .hx-shot-wide .frame-desktop { width: 100%; flex: 0 1 auto; }
html body .hx-shot-fc, html body .hx-shot-sports { padding: 14px; align-items: center; }
html body .hx-shot-sports i { font-size: .82rem; padding: .35rem .7rem; }
html body .hx-copy h3 { font-size: 1.1rem; }
html body .hx-copy p { font-size: .95rem; line-height: 1.5; }

/* The one wide moment: two phones side by side, shorter */
html body .hx-wide { padding-top: 2.5rem; padding-bottom: 2.5rem; }
html body .hx-wide-copy { margin-bottom: 1.4rem; }
html body .hx-wide-ph { gap: 12px; }
html body .hx-wide-ph .frame-phone { width: min(170px, 44vw); border-radius: 26px; }

/* ---------- Shared: "Here is what each person gets" role cards ---------- */
html body .roles4 > div {
  flex: 0 0 74%;
  scroll-snap-align: start;
  margin: 0 !important;
  padding: 1rem 1rem 1.1rem !important;
  border: 1px solid var(--border, rgba(255,255,255,.1)) !important;
  border-radius: 16px;
  background: rgba(255,255,255,.03);
}
:root[data-theme="light"] body .roles4 > div { background: rgba(0,0,0,.02); }
html body .roles4 .role { margin-bottom: .6rem; }
html body .roles4 h3 { font-size: 1.1rem; }
html body .roles4 p { margin-bottom: 0; font-size: .95rem; }
html body .roles4 .role-shot { height: 170px; margin-top: .9rem; }

/* ---------- Home: app chooser cards ---------- */
html body .gh-home .gh-path-viz {
  height: auto !important;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 14px 16px 0;
}
html body .gh-home .gh-path-laptop {
  position: relative !important;
  right: auto !important; left: auto !important; top: auto !important;
  width: 100% !important;
  margin: 0 0 14px;
}
html body .gh-home .gh-path-phone {
  position: relative !important;
  right: auto !important; left: auto !important; top: auto !important;
  margin: 0 !important;
  width: 132px !important;
  height: 170px;
  overflow: hidden;
  transform: none !important;
  border-radius: 24px 24px 0 0;
  padding-bottom: 0;
  -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 72%, transparent 100%);
}
html body .gh-home .gh-path-figs { display: none !important; }
html body .gh-home .gh-path-acts { position: relative; z-index: 2; }

/* ---------- Home: Teams band (laptop + phone over the locker photo) ---------- */
html body .tv-panel { padding: 1rem !important; min-height: 0 !important; }
html body .tv-shots {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) 30% !important;
  align-items: end !important;
  gap: 10px !important;
  width: 100% !important;
}
html body .tv-phone { width: 100% !important; border-radius: 18px !important; box-shadow: 0 0 0 4px #16181C, 0 0 0 5px rgba(255,255,255,.1) !important; }

/* ---------- Home: Training phones (Find a Coach + Client) ---------- */
html body .hm-tr-phones { gap: 14px; margin-top: 1.4rem; }
html body .hm-tr-ph { width: min(160px, 42vw); }
html body .hm-tr-ph2 { margin-top: 1.6rem; }
html body .hm-tr-ph .frame-phone { border-radius: 24px; box-shadow: 0 0 0 5px #1F2126, 0 0 0 6px rgba(255,255,255,.1); }

/* ---------- Teams hero: laptop and phone side by side, pill and figures under them ---------- */
html body .tm-viz {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 27%;
  align-items: end;
  gap: 10px;
  padding: .5rem 0 3.4rem;
}
html body .tm-viz .frame-desktop { grid-column: 1; }
html body .tm-viz .tm-viz-ph {
  position: relative !important;
  right: auto !important; bottom: auto !important;
  width: 100% !important;
  grid-column: 2;
  border-radius: 18px;
}
html body .tm-viz .tm-viz-pin {
  left: auto !important; right: 0 !important; bottom: .6rem !important;
  font-size: .74rem;
  padding: .3rem .7rem;
}
html body .tm-viz .gh-figs-teams { left: 0 !important; bottom: -4px !important; width: 40% !important; }

/* ---------- Find a Coach: compact list rows ---------- */
html body .fc-list { grid-template-columns: minmax(0, 1fr) !important; gap: .7rem !important; margin-top: 1rem !important; }
html body .fc-card { flex-direction: row !important; align-items: flex-start; gap: 0; border-radius: 16px; }
html body .fc-card:hover { transform: none; }
html body .fc-pic {
  flex: 0 0 86px;
  width: 86px;
  aspect-ratio: auto !important;
  margin: 12px 0 12px 12px;
  background: transparent !important;
  overflow: visible !important;
  display: flex !important;
  flex-direction: column;
  gap: 6px;
}
html body .fc-pic .fc-photo, html body .fc-pic .fc-mono {
  width: 86px !important; height: 86px !important;
  border-radius: 12px;
  flex: none;
}
html body .fc-pic .fc-mono { font-size: 2rem !important; }
html body .fc-pic .fc-photo.is-logo { padding: 10%; }
html body .fc-open {
  position: static !important;
  min-height: 0 !important;
  padding: .2rem .45rem !important;
  font-size: .66rem !important;
  line-height: 1.2;
  text-align: center;
  justify-content: center;
  border-radius: 8px !important;
}
html body .fc-txt { padding: 12px 12px 12px 12px !important; min-width: 0; }
html body .fc-card h3 { font-size: 1.08rem !important; }
html body .fc-sub { font-size: .84rem !important; }
html body .fc-what { font-size: .88rem !important; margin-top: .35rem !important; -webkit-line-clamp: 2 !important; }
html body .fc-tags { margin-top: .4rem !important; gap: .25rem !important; }
html body .fc-tags li { font-size: .74rem !important; padding: .08rem .5rem !important; }
html body .fc-meta { font-size: .8rem !important; margin-top: .4rem !important; gap: .15rem .7rem !important; }
html body .fc-meta svg { width: 13px; height: 13px; }
html body .fc-who, html body .fc-blurb { display: none !important; }
html body .fc-foot { padding-top: .55rem !important; }
html body .fc-price { font-size: .86rem !important; margin-bottom: .45rem !important; }
html body .fc-price-none { font-size: .8rem !important; }
html body .fc-acts { gap: .4rem !important; }
html body .fc-go, html body .fc-ask { min-height: 36px !important; font-size: .82rem !important; padding: 0 .75rem !important; border-radius: 10px !important; }
html body .fc-go svg { width: 14px; height: 14px; }
html body .fc-ghost { height: 160px; }

/* ---------- Training hero: same art, shorter stage ---------- */
html body .hb-tr .hb-stage { height: 420px !important; }
html body .hb-tr .hb-pin { top: 0 !important; font-size: .82rem; }
html body .hb-tr .hb-ph { top: 44px !important; width: 148px !important; }
html body .hb-tr .hb-bub { max-width: 190px !important; font-size: .8rem !important; padding: .5rem .7rem !important; }
html body .hb-tr .b1 { top: 50px !important; }
html body .hb-tr .b2 { top: 170px !important; }
html body .hb-tr .b3 { top: 290px !important; }
html body .hx-shot-fc { height: auto !important; min-height: 200px; }

/* ---------- About: "What we built" cards, phone beside the laptop ---------- */
html body .gh-ab .gh-path-viz {
  height: auto !important;
  display: grid;
  grid-template-columns: 27% minmax(0, 1fr);
  align-items: end;
  gap: 10px;
  padding: 14px 16px 16px;
}
html body .gh-ab .gh-path-phone, html body .gh-ab .gh-path-laptop {
  position: relative !important;
  left: auto !important; top: auto !important; right: auto !important;
  transform: none !important;
  width: 100% !important;
}
html body .gh-ab .gh-path-phone { border-radius: 16px !important; box-shadow: 0 0 0 4px #0e0e0e, 0 0 0 5px rgba(255,255,255,.14) !important; }

/* ---------- Less empty space between sections ---------- */
:root { --section-y: 2.75rem; --section-y-tight: 2rem; }

/* ---------- One big phone beside copy: a clean top portion that fades out ---------- */
html body .p-shot > .frame-phone,
html body .two > .frame-phone,
html body .two > figure > .frame-phone,
html body .sp-two .sp-shot > .frame-phone,
html body .pf-shot > .frame-phone {
  width: min(232px, 64vw) !important;
  max-height: 380px;
  margin-left: auto !important; margin-right: auto !important;
  border-radius: 30px;
  -webkit-mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
          mask-image: linear-gradient(180deg, #000 74%, transparent 100%);
}
html body .p-pair { gap: 12px !important; max-width: 340px; }
html body .gh-figs-parents { width: 40% !important; right: 0 !important; bottom: -2% !important; }

/* ---------- Feature lists: two-column tiles ---------- */
html body .p-list, html body .pf-feats, html body .spec-rows {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 10px !important;
  max-width: none !important;
}
html body .p-list li, html body .pf-feats li, html body .spec-rows > div {
  display: block !important;
  padding: .8rem .8rem .9rem !important;
  border: 1px solid var(--border, rgba(255,255,255,.1)) !important;
  border-radius: 14px;
  background: rgba(255,255,255,.03);
}
:root[data-theme="light"] body :is(.p-list li, .pf-feats li, .spec-rows > div) { background: rgba(0,0,0,.02); }
html body .p-list h3, html body .pf-feats h3, html body .spec-rows dt, html body .spec-rows dt .t-h3 {
  font-size: .95rem !important; line-height: 1.25 !important; margin: 0 0 .3rem !important;
}
html body .p-list p, html body .pf-feats p, html body .spec-rows dd {
  font-size: .84rem !important; line-height: 1.45 !important;
}

/* ---------- All sports: two-column tiles ---------- */
html body .sports-list .sports-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
html body .sports-list .sports-grid a { padding: .8rem 1.7rem .85rem .8rem !important; height: 100%; }
html body .sports-list .sports-grid a::after { right: .7rem !important; top: .8rem !important; }
html body .sports-list .sports-grid b { font-size: .95rem; }
html body .sports-list .sports-grid span { font-size: .8rem; line-height: 1.4; }

/* ---------- Tutorials: two videos per row ---------- */
html body .tu-grid, html body .tu-grid.phone { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
html body .tu-card.phone .tu-thumb { aspect-ratio: 4/5 !important; max-height: 230px; }
html body .tu-play { width: 40px !important; height: 40px !important; }
html body .tu-body, html body .tu-card.phone .tu-body { padding: .65rem .7rem .8rem !important; gap: .2rem !important; }
html body .tu-body b, html body .tu-card.phone .tu-body b { font-size: .88rem !important; line-height: 1.3; }
html body .tu-body span { font-size: .8rem !important; line-height: 1.4 !important; }
html body .tu-body .tu-time { font-size: .74rem !important; }

/* ---------- Library: compact rows ---------- */
html body .wp-item:not(.wp-first) { grid-template-columns: 84px minmax(0, 1fr) !important; gap: .7rem !important; padding: .7rem !important; }
html body .wp-item:not(.wp-first) .wp-tag { font-size: .76rem; line-height: 1.3; }
html body .wp-item:not(.wp-first) .wp-body h3 { font-size: 1rem; }
html body .wp-item:not(.wp-first) .wp-body p { font-size: .84rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
html body .wp-item .wp-acts { gap: 0 .9rem; margin-top: .1rem; }
html body .wp-item .wp-read, html body .wp-item .wp-card { min-height: 36px; font-size: .86rem; }
html body .wp-item .wp-meta { font-size: .78rem; }

html body .sports-more .sports-grid { grid-template-columns: minmax(0, 1fr) !important; }

/* ---------- Pricing: the two Training plans side by side ---------- */
html body .pb-rows { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 10px !important; }
html body .pb-row { padding: .9rem !important; gap: .6rem !important; }
html body .pb-row-price b { font-size: 2rem !important; }
html body .pb-row-price small { font-size: .8rem !important; }
html body .pb-row h3 { font-size: 1.05rem !important; }
html body .pb-row p { font-size: .84rem !important; }
html body .pb-row .pr-cta { margin-top: .7rem !important; }
html body .pb-row .pr-cta a { min-height: 40px !important; padding: .45rem .6rem !important; font-size: .8rem !important; white-space: normal; text-align: center; width: 100%; }

} /* end max-width 760px */
