/* =========================================================
   Fonty
   - nazwa zespołu jest w logo (img/logo*.svg), nie w foncie
   - Bebas Neue: nagłówki sekcji
   - Montserrat: tekst
   Bebas Neue i Montserrat są darmowe (Google Fonts, licencja OFL).
   Pobierz je z fonts.google.com i wrzuć pliki .ttf do folderu fonts/
   pod nazwami: BebasNeue-Regular.ttf, Montserrat-VariableFont_wght.ttf
   ========================================================= */

@font-face {
  font-family: "Bebas Neue";
  src: local("Bebas Neue"), local("BebasNeue-Regular"),
       url("../fonts/BebasNeue-Regular.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: local("Montserrat"),
       url("../fonts/Montserrat-VariableFont_wght.ttf") format("truetype");
  font-weight: 100 900;
  font-display: swap;
}

/* =========================================================
   Rockstars Racing – style
   Kolory zespołu zmieniasz w jednym miejscu: :root poniżej.
   ========================================================= */

:root {
  /* kolory zespołu */
  --ink:    #1E1E1C;  /* czerń – tekst, ciemne sekcje */
  --yellow: #E8C519;  /* główny żółty (gwiazda w logo) */
  --bright: #FCD303;  /* jaśniejszy żółty – najechanie na przycisk */
  --white:  #FFFFFF;
  /* na specjalne okazje: fiolet #8D34BD, niebieski #0174FE */

  /* odcienie pomocnicze */
  --paper:  #F4F4F2;  /* jasne tło sekcji */
  --fog:    #A7A7A2;  /* tekst pomocniczy na czarnym */
  --line:   #DADAD5;
  --grey:   #5E5E59;  /* tekst pomocniczy na jasnym */

  --font: "Montserrat", "Segoe UI", "Helvetica Neue", Roboto, Arial, sans-serif;
  --font-head: "Bebas Neue", "Oswald", "Arial Narrow", "Helvetica Neue", sans-serif;
  --wrap: 72rem;
  --pad: clamp(1.25rem, 4vw, 3rem);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 5rem; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { line-height: 1.1; margin: 0 0 1rem; }
h2 {
  font-family: var(--font-head);
  font-size: clamp(2.75rem, 7vw, 4.75rem);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .01em;
  max-width: 16ch;
  margin-bottom: 1.5rem;
}
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1rem; max-width: 62ch; }
a { color: inherit; }
b { font-weight: 700; }

:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(4rem, 10vw, 7.5rem) 0; }
.muted { color: var(--grey); }

/* tekst tylko dla wyszukiwarek i czytników ekranu */
.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;
}

/* ---------- nagłówek ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 0.9rem var(--pad);
  color: var(--white);
  transition: background-color .25s ease;
}
.site-header.scrolled { background: rgba(30, 30, 28, .94); backdrop-filter: blur(6px); }

.wordmark { display: block; line-height: 0; }
.wordmark img { display: block; height: 54px; width: auto; }
@media (max-width: 760px) { .wordmark img { height: 46px; } }
.nav { display: flex; gap: 1.5rem; margin-left: auto; font-size: .95rem; }
.nav a { text-decoration: none; opacity: .85; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; }

.lang { display: flex; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; overflow: hidden; }
.lang a {
  font-size: .8rem; font-weight: 700; text-decoration: none;
  padding: .3rem .7rem; color: inherit;
}
.lang a[aria-current="page"] { background: var(--white); color: var(--ink); }

@media (max-width: 760px) {
  .nav { display: none; }
  .lang { margin-left: auto; }
}

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  /* zdjęcie: img/hero.jpg; gradient działa też jako tło zastępcze, dopóki nie ma zdjęcia */
  background:
    /* delikatne przyciemnienie za logo – siła w 0.45 (więcej = ciemniej) */
    radial-gradient(ellipse 55% 50% at 28% 60%, rgba(30,30,28,.45) 0%, rgba(30,30,28,0) 75%),
    linear-gradient(180deg, rgba(30,30,28,.1) 0%, rgba(30,30,28,.2) 45%, rgba(30,30,28,.9) 100%),
    url("../img/hero.jpg") center / cover no-repeat,
    linear-gradient(160deg, #3A3A36 0%, var(--ink) 70%);
}
@media (max-width: 760px) {
  .hero {
    background:
      radial-gradient(ellipse 90% 40% at 40% 62%, rgba(30,30,28,.45) 0%, rgba(30,30,28,0) 75%),
      linear-gradient(180deg, rgba(30,30,28,.1) 0%, rgba(30,30,28,.2) 45%, rgba(30,30,28,.9) 100%),
      url("../img/hero.jpg") center / cover no-repeat,
      linear-gradient(160deg, #3A3A36 0%, var(--ink) 70%);
  }
}
.hero-inner {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--pad) clamp(3rem, 9vh, 6rem);
}
/* logo zamiast napisu – widoczne w całości, z ogonem gwiazdy */
.hero-title { margin: 0 0 2rem; line-height: 0; }
.hero-title img {
  display: block; width: min(640px, 88vw); height: auto; margin-left: -1.5%;
  /* cień odcinający logo od zdjęcia */
  filter: drop-shadow(0 4px 24px rgba(0,0,0,.7)) drop-shadow(0 1px 3px rgba(0,0,0,.6));
}
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 40ch; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-block;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-signal { background: var(--yellow); color: var(--ink); }
.btn-signal:hover { background: var(--bright); }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.7); color: var(--white); }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.btn-ghost-dark { border: 1.5px solid var(--ink); color: var(--ink); }

/* ---------- o nas ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
}
.about-text p:first-of-type { font-size: 1.15rem; line-height: 1.6; }
.programmes { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--ink); }
.programmes li { padding: 1.4rem 0; border-bottom: 1px solid var(--line); }
.programmes h3 { margin-bottom: .35rem; }
.programmes p { margin: 0; color: var(--grey); }
@media (max-width: 860px) { .about-grid { grid-template-columns: 1fr; } }

/* ---------- wyniki ---------- */
.results { background: var(--ink); color: var(--white); }
.results .muted { color: var(--fog); }

.climb { position: relative; margin: 2.5rem 0 2rem; }
.climb svg { width: 100%; height: auto; display: block; overflow: visible; }
.climb .zone { fill: rgba(255,255,255,.04); }
.climb .gridline { stroke: rgba(255,255,255,.12); stroke-width: 1; }
.climb .axis { fill: var(--fog); font-size: 13px; }
.climb .zone-label { fill: var(--fog); font-size: 14px; }
.climb .year { fill: var(--white); font-family: var(--font-head); font-size: 22px; letter-spacing: .03em; }
.climb .track {
  fill: none;
  stroke: var(--white);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.climb .pt circle { fill: var(--ink); stroke: var(--white); stroke-width: 3; }
.climb .pt text { fill: var(--white); font-family: var(--font-head); font-size: 30px; }
.climb .pt.win circle { fill: var(--yellow); stroke: var(--yellow); }
.climb .pt.win text { fill: var(--yellow); }

.legend { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1rem; font-size: .9rem; color: var(--fog); }
.legend .dot { width: .7rem; height: .7rem; border-radius: 50%; background: var(--yellow); flex: none; }

/* na telefonie wykres jest mały, więc powiększamy jego napisy */
@media (max-width: 600px) {
  .climb .pt text { font-size: 50px; }
  .climb .year { font-size: 38px; }
  .climb .axis { font-size: 24px; }
  .climb .zone-label { display: none; }
  .climb .pt circle { r: 13px; }
  .climb .track { stroke-width: 5; }
}

/* jedna animacja na stronie: kurs rysuje się, gdy wykres wjedzie w ekran */
.climb.animate .track { stroke-dasharray: 1000; stroke-dashoffset: 1000; }
.climb.animate .pt { opacity: 0; }
.climb.animate.in .track { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s ease-out; }
.climb.animate.in .pt { opacity: 1; transition: opacity .4s ease; }
.climb.animate.in .pt:nth-of-type(1) { transition-delay: .1s; }
.climb.animate.in .pt:nth-of-type(2) { transition-delay: .45s; }
.climb.animate.in .pt:nth-of-type(3) { transition-delay: .8s; }
.climb.animate.in .pt:nth-of-type(4) { transition-delay: 1.15s; }
.climb.animate.in .pt:nth-of-type(5) { transition-delay: 1.5s; }

.seasons {
  list-style: none;
  margin: 0 0 3.5rem;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.seasons li { border-top: 1px solid rgba(255,255,255,.25); padding-top: .8rem; color: var(--fog); font-size: .95rem; line-height: 1.45; }
.seasons b { display: block; color: var(--white); font-family: var(--font-head); font-weight: 400; font-size: 1.6rem; line-height: 1; margin-bottom: .35rem; letter-spacing: .02em; }
@media (max-width: 860px) { .seasons { grid-template-columns: 1fr 1fr; } }
@media (max-width: 480px) { .seasons { grid-template-columns: 1fr; } }

.league { border-left: 3px solid var(--yellow); padding-left: 1.25rem; }
.league p { color: var(--fog); margin: 0; }

/* ---------- program 29er ---------- */
.p29 { background: var(--white); }
.p29-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.eyebrow { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--grey); margin-bottom: .5rem; }
.p29 .lead { font-size: 1.15rem; line-height: 1.6; }
.stats { list-style: none; padding: 0; margin: 2rem 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.stats li { border-top: 3px solid var(--yellow); padding-top: .6rem; }
.stats b { display: block; white-space: nowrap; font-family: var(--font-head); font-weight: 400; font-size: clamp(2rem, 4vw, 3rem); line-height: 1; }
.stats li > span { color: var(--grey); font-size: .9rem; }
.p29-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2rem; }
.p29-cols p { margin: 0; }
.p29-photo { margin: 0; border-radius: 6px; overflow: hidden; background: #3A3A36; aspect-ratio: 4 / 3; align-self: start; position: sticky; top: 6rem; }
.p29-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.btn-dark { background: var(--ink); color: var(--white); }
.btn-dark:hover { background: #3A3A36; }
@media (max-width: 860px) {
  .p29-grid { grid-template-columns: 1fr; }
  .p29-photo { aspect-ratio: 3 / 2; grid-row: 1; position: static; }
  .p29-photo.empty { display: none; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .p29-cols { grid-template-columns: 1fr; gap: 1.25rem; }
}

/* ---------- dołącz do nas ---------- */
.join { background: var(--ink); color: var(--white); position: relative; overflow: hidden; isolation: isolate; }
.join-cards { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.join-cards li { border: 1px solid #3A3A36; border-radius: 6px; padding: 1.5rem; display: flex; flex-direction: column; }
.join-cards h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.9rem; letter-spacing: .02em; margin-bottom: .5rem; }
.join-cards p { color: var(--fog); flex: 1; }
.join-cards a { color: var(--yellow); font-weight: 700; text-decoration: none; }
.join-cards a:hover { text-decoration: underline; text-underline-offset: 4px; }
.join-note { color: var(--fog); font-size: .9rem; margin: 1.5rem 0 0; }
@media (max-width: 860px) { .join-cards { grid-template-columns: 1fr; } }

/* ---------- social ---------- */
.social-stats { font-size: 1.15rem; max-width: 46ch; }
.channels {
  list-style: none; padding: 0; margin: 2rem 0 2.5rem;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
}
.channels a {
  display: flex; flex-direction: column; gap: .15rem;
  padding: 1.25rem;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 6px;
  text-decoration: none;
  transition: background-color .15s ease;
}
.channels a:hover { background: var(--yellow); }
.ch-name { font-family: var(--font-head); font-size: 1.7rem; line-height: 1; letter-spacing: .02em; }
.ch-handle { color: var(--grey); font-size: .9rem; }
.channels a:hover .ch-handle { color: var(--ink); }

@media (max-width: 860px) {
  .channels { grid-template-columns: 1fr 1fr; gap: .6rem; }
  .channels a { padding: .9rem 1rem; }
}

.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: .5rem; }
.ph {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: #3A3A36;
  background-size: cover;
  background-position: center;
  border-radius: 4px;
  transition: filter .2s ease;
}
.ph:nth-child(even) { background-color: #4A4A45; }
.ph img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ph:hover { filter: brightness(1.08); }
@media (max-width: 860px) { .gallery { grid-template-columns: repeat(3, 1fr); } }

/* ---------- partnerstwo ---------- */
.partners { background: var(--yellow); }
.partners .btn-signal { background: var(--ink); color: var(--white); }
.partners .btn-signal:hover { background: #3A3A36; }
.partners-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem; align-items: end; }
.partners-cta { display: flex; flex-direction: column; align-items: flex-start; gap: .75rem; }
@media (max-width: 860px) { .partners-grid { grid-template-columns: 1fr; gap: 1rem; } }

/* ---------- kontakt ---------- */
.contact-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: center; }
.contact-lead { font-size: 1.2rem; }
.contact a { text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.mails { margin: 2rem 0; }
.mails div { padding: 1rem 0; border-top: 1px solid var(--line); }
.mails div:last-child { border-bottom: 1px solid var(--line); }
.mails dt { color: var(--grey); font-size: .95rem; }
.mails dd { margin: .15rem 0 0; font-size: clamp(1.05rem, 2.4vw, 1.3rem); font-weight: 600; overflow-wrap: anywhere; }
.contact-logo { width: 100%; max-width: 380px; height: auto; justify-self: center; }
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-logo { max-width: 240px; grid-row: 1; justify-self: start; }
}

/* ---------- stopka ---------- */
.site-footer { background: var(--ink); color: var(--white); padding: 2rem 0; font-size: .9rem; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem 2rem; }
.site-footer p { margin: 0; }
.site-footer .muted { color: var(--fog); }


/* =========================================================
   Dodatki: zaznaczanie, logo w pasku, dymki, zdjęcia, warunki
   ========================================================= */

/* zaznaczony tekst w kolorach zespołu */
::selection { background: var(--yellow); color: var(--ink); }

/* logo zjeżdżające do paska (włącza je js/main.js) */
.js-fly .wordmark { opacity: 0; pointer-events: none; transition: opacity .15s linear; }
.js-fly.docked .wordmark { opacity: 1; pointer-events: auto; }
.js-fly .hero-title img { position: relative; z-index: 11; transform-origin: 0 0; will-change: transform; }
.js-fly.docked .hero-title img { opacity: 0; }

/* wykres wyników: klikalne punkty i dymki */
.climb .pt { cursor: pointer; outline: none; }
.climb .pt circle.hit { fill: transparent; stroke: none; }
.climb .pt:focus-visible circle:not(.hit),
.climb .pt.on circle:not(.hit) { stroke: var(--yellow); stroke-width: 5; }
.legend .hint { flex-basis: 100%; font-size: .85rem; }
.tip {
  position: absolute; z-index: 5; width: max-content; max-width: min(300px, 90%);
  background: var(--white); color: var(--ink); border-radius: 6px; padding: .9rem 1rem;
  box-shadow: 0 8px 28px rgba(0,0,0,.35); font-size: .9rem; line-height: 1.45; pointer-events: none;
}
.tip[hidden] { display: none; }
.tip p { margin: 0 0 .4rem; }
.tip-head b { font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; margin-right: .35rem; }
.tip-rounds { list-style: none; margin: .3rem 0 0; padding: 0; }
.tip-rounds li { padding: .2rem 0; border-top: 1px solid var(--line); }
.tip-rounds li span { display: inline-block; min-width: 5.5rem; color: var(--grey); }
.tip-rounds li b { font-weight: 700; }
.tip-rounds li.w b { background: var(--yellow); padding: 0 .3rem; border-radius: 3px; }

/* pas zdjęć z wody: jeden rząd, wszystkie zdjęcia tej samej wysokości */
.band {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 4px;
  height: clamp(220px, 30vw, 460px); background: var(--ink);
}
.band-item { margin: 0; height: 100%; min-width: 0; overflow: hidden; background: #2E2E2B; }
.band-item img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) {
  .band { grid-template-columns: 1fr 1fr; height: auto; }
  .band-item { height: auto; aspect-ratio: 4 / 3; }
  .band-item:first-child { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
}

/* dołącz do nas: zdjęcie w tle */
.join-bg {
  position: absolute; inset: 0; z-index: -1;
  background-size: cover; background-position: center; opacity: .28;
}
.join-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(30,30,28,.2), rgba(30,30,28,.85)); }
.join-cards li { background: rgba(30,30,28,.72); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* warunki na wodzie */
.weather { background: var(--paper); }
.weather.hidden { display: none; }
.weather-lead { color: var(--grey); }
.spots { list-style: none; padding: 0; margin: 2rem 0 1rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.spot { background: var(--white); border-radius: 6px; padding: 1.25rem; border-top: 3px solid var(--yellow); }
.spot h3 { font-family: var(--font-head); font-weight: 400; font-size: 1.8rem; letter-spacing: .02em; margin: 0; }
.spot-sub { color: var(--grey); font-size: .85rem; margin: 0 0 1rem; }
.spot-wind { display: flex; align-items: center; gap: .75rem; margin-bottom: .75rem; }
.spot-wind p { margin: 0; color: var(--grey); }
.spot-wind b { font-family: var(--font-head); font-weight: 400; font-size: 3rem; line-height: 1; color: var(--ink); }
.spot-wind .dir { display: block; font-weight: 700; color: var(--ink); font-size: .85rem; }
.arrow { width: 40px; height: 40px; flex: none; fill: var(--ink); transition: transform .6s ease; }
.spot dl { margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; border-top: 1px solid var(--line); padding-top: .75rem; }
.spot dt { font-size: .75rem; color: var(--grey); }
.spot dd { margin: 0; font-weight: 600; }
.spot.no-water .water { visibility: hidden; }
.weather-foot { font-size: .8rem; color: var(--grey); margin: 0; }
.weather-off { display: none; font-size: .9rem; color: var(--grey); }
.weather.offline .weather-off { display: block; }
.weather.offline .weather-foot { display: none; }
@media (max-width: 1000px) { .spots { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .spots { grid-template-columns: 1fr; } }

/* strona RODO i 404 */
.doc-page { background: var(--paper); }
.doc-head { background: var(--ink); padding: 1rem var(--pad); }
.doc-head img { height: 48px; width: auto; display: block; }
.doc { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad); }
.doc h1 { font-family: var(--font-head); font-weight: 400; font-size: clamp(2.4rem, 6vw, 3.6rem); line-height: 1; margin-bottom: .5rem; }
.doc .sub { color: var(--grey); margin-bottom: 2.5rem; }
.doc ol { padding-left: 0; list-style: none; counter-reset: none; }
.doc li { margin-bottom: 1.25rem; }
.doc li b { display: block; margin-bottom: .2rem; }
.doc .todo { background: var(--yellow); padding: 0 .2rem; }
.doc .note { border-left: 3px solid var(--yellow); padding-left: 1rem; color: var(--grey); }
.notfound { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; background: var(--ink); color: var(--white); }
.notfound .wrap { width: 100%; }
.notfound img { width: min(360px, 70vw); height: auto; display: block; margin-bottom: 2.5rem; }
.notfound h1 { font-family: var(--font-head); font-weight: 400; font-size: clamp(3rem, 10vw, 6rem); line-height: .95; margin-bottom: 1rem; }
.notfound p { color: var(--fog); max-width: 40ch; }
.notfound .en { margin-top: 2rem; font-size: .9rem; }

/* ---------- 29er: więcej zdjęć i zdjęcia trenerów ---------- */
.p29-grid { grid-template-columns: 1.1fr 1fr; }
.p29-photos { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; align-self: start; position: sticky; top: 6rem; }
.p29-photos .p29-photo { position: static; aspect-ratio: 1 / 1; border-radius: 4px; }
.p29-photos .p29-photo.main { grid-column: 1 / -1; aspect-ratio: 3 / 2; }
.p29-cols { grid-template-columns: 1fr; gap: 1.5rem; }
.coach { display: flow-root; margin-bottom: 1rem; }
.coach-photo {
  float: left; width: 72px; height: 72px; margin: .15rem 1rem .5rem 0;
  border-radius: 50%; overflow: hidden; background: #DADAD5;
}
.coach-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .p29-grid { grid-template-columns: 1fr; }
  .p29-photos { position: static; grid-row: 1; }
}
