/* =========================================================
   VOLT in the boat 2026 – onepage
   Projekt: Figma „VOLT-LP”, frame 1440 px. Wartości w px = projekt.
   ========================================================= */

:root {
  --yellow: #fff75a;
  --cream: #dad8c9;
  --gray: #d9d9d9;
  --muted: #3e3c3c;
  --offwhite: #fffef4;

  --f-display: "Industry", "Arial Narrow", sans-serif;
  --f-body: "Montserrat", system-ui, -apple-system, "Segoe UI", sans-serif;

  --content: 1114px;
  --gutter: 24px;
  --nav-h: 62px;
  --h2: clamp(36px, 4.861vw, 70px);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-synthesis: none; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: var(--f-body);
  font-size: 15px;
  line-height: 25px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; }
section[id] { scroll-margin-top: calc(var(--nav-h) - 1px); }
:focus-visible { outline: 2px solid var(--yellow); outline-offset: 3px; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: fixed; left: 16px; top: -60px; z-index: 100;
  padding: 10px 16px; background: var(--yellow); color: #000;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 16px; }

.wrap { width: min(var(--content), 100% - 2 * var(--gutter)); margin-inline: auto; }
.wrap--wide { width: min(1120px, 100% - 2 * var(--gutter)); }

/* ---------- typografia ---------- */
.h2 {
  font-family: var(--f-display);
  font-size: var(--h2);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}
.h2 b { font-weight: 700; }
.h2 .light { font-weight: 300; color: var(--yellow); }
.h2 .light--white { color: #fff; }
.h2 h1 { display: inline; font-size: inherit; line-height: inherit; }

.lead { font-size: 20px; line-height: 30px; }
.lead strong { font-weight: 700; }

/* ---------- przyciski ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0 20px;
  font-family: var(--f-body);
  font-weight: 900;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  color: #000;
  transition: background-color .2s, transform .2s;
}
.btn:hover { background-color: #fff; }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 44px; font-size: 10px; line-height: 1; }
.btn--md { height: 54px; font-size: 13px; line-height: 1; }
.btn--lg { height: 64px; font-size: 13px; line-height: 1; }
.btn--yellow { background-color: var(--yellow); }
.btn--gray { background-color: var(--gray); font-weight: 500; }

/* ---------- ziarno (Figma: Noise, monotone, czarny 25%) ---------- */
.grain { background-color: #222; }

/* =========================================================
   NAWIGACJA
   ========================================================= */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: center;
  transition: background-color .3s, backdrop-filter .3s;
}
.nav::before {
  content: ""; position: absolute; inset: 0 0 -28px; z-index: -1; pointer-events: none;
  background: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, 0));
  transition: opacity .3s;
}
.nav.is-scrolled::before { opacity: 0; }
.nav.is-scrolled { background-color: rgba(0, 0, 0, .86); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.nav__brand {
  position: absolute; left: 24px; top: 50%; translate: 0 -50%;
  transition: transform .25s;
}
.nav__brand:hover { transform: rotate(45deg); }
.nav__menu .nav__home { display: none; }
.nav__menu { display: flex; align-items: center; gap: clamp(28px, 5.14vw, 74px); }
.nav__menu a {
  font-family: var(--f-display);
  font-size: 20px; line-height: 30px; font-weight: 300;
  text-transform: uppercase; text-decoration: none; color: #fff;
  transition: color .2s;
}
.nav__menu a:hover, .nav__menu a.is-active { color: var(--yellow); }
.nav__menu .nav__cta { font-weight: 700; color: var(--yellow); }
.nav__menu .nav__cta:hover { color: #fff; }
.nav__toggle { display: none; }

/* =========================================================
   HERO
   ========================================================= */
.hero {
  position: relative;
  isolation: isolate;
  height: 702px;
  overflow: hidden;
  background-color: #6b5a44;
  background-image: url("../img/hero.webp");
  background-size: cover;
  background-position: 8.54% 0;
  background-repeat: no-repeat;
}
/* film w tle (wstawiany przez JS, gdy ustawiono data-video) */
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__video {
  display: block; width: 100%; height: 100%;
  object-fit: cover; object-position: 50% 50%;
  opacity: 0; transition: opacity .8s;
}
.hero__video.is-playing { opacity: 1; }
/* ziarno nad zdjęciem/filmem, pod treścią */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: url("../img/grain.png") 0 0 / 64px repeat;
}
.hero__deco, .hero__card { z-index: 2; }
.hero__pause {
  position: absolute; right: 20px; bottom: 20px; z-index: 3;
  width: 40px; height: 40px; padding: 0;
  display: grid; place-items: center;
  border: 1px solid rgba(255, 255, 255, .55); border-radius: 50%;
  background: rgba(0, 0, 0, .35); color: #fff; cursor: pointer;
  transition: background-color .2s;
}
.hero__pause[hidden] { display: none; }
.hero__pause:hover { background: rgba(0, 0, 0, .6); }
.hero__pause svg { width: 14px; height: 14px; grid-area: 1 / 1; }
.hero__play-icon { display: none; }
.hero__pause.is-paused .hero__pause-icon { display: none; }
.hero__pause.is-paused .hero__play-icon { display: block; }
.hero__deco { position: absolute; overflow: hidden; pointer-events: none; }
.hero__deco img { position: absolute; top: 0; max-width: none; }
.hero__deco--left { left: 0; top: 106px; width: 172px; height: 519px; }
.hero__deco--left img { left: -173px; width: 345px; height: 519px; }
.hero__deco--right { right: 0; top: 168px; width: 187px; height: 373px; }
.hero__deco--right img { left: -10px; width: 373px; height: 373px; }

/* blok z siatką 514 × 564 – wszystko w % jego wymiarów, skaluje się w całości */
.hero__card {
  position: absolute;
  top: 83px;
  left: max(var(--gutter), 50% - 514px);
  width: 514px;
  aspect-ratio: 514 / 564;
  container-type: inline-size;
}
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .5; overflow: visible; }
.hero__star { position: absolute; width: 13.23%; height: 13.48%; }
.hero__star--1 { left: 13.42%; top: 43.26%; }
.hero__star--2 { left: 73.35%; top: 18.44%; }
.hero__logo { position: absolute; left: 19.84%; top: 20.39%; width: 59.92%; }
.hero__logo img { width: 100%; }
/* data i przyciski – większe niż w Figmie (tam 10 px), żeby były czytelne */
.hero__date {
  position: absolute; left: 20.04%; top: 66.5%; width: 59.73%;
  display: grid; grid-template-columns: repeat(3, 1fr);
  translate: 0 -50%;
  font-family: var(--f-display); font-weight: 700;
  font-size: 18px; font-size: max(13px, 3.5cqw); line-height: 1;
  letter-spacing: .04em;
  text-transform: uppercase; text-align: center;
  color: var(--yellow);
}
.hero__btn { position: absolute; top: 74.82%; translate: 0 -50%; width: 33%; height: 52px; padding: 0; font-size: 15px; }
.hero__btn--1 { left: 15.15%; }
.hero__btn--2 { left: 51.85%; }

/* =========================================================
   01 CZYM JEST
   ========================================================= */
.about { padding: 120px 0 131px; }
.about .h2 { margin-bottom: 69px; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; column-gap: 43px; }

/* =========================================================
   02 KATEGORIE
   ========================================================= */
.categories { padding: 0 0 120px; }
.h2--lined {
  display: flex; align-items: center; gap: 22px;
  text-align: center;
  margin-bottom: 75px;
}
.h2--lined::before, .h2--lined::after { content: ""; flex: 1; height: 1px; background: var(--yellow); translate: 0 4px; }
.categories__grid { display: grid; grid-template-columns: repeat(3, 1fr); column-gap: 84px; row-gap: 72px; }
.cat { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cat__icon { height: 216px; display: flex; justify-content: center; align-items: flex-start; }
.cat__icon--kids { padding-top: 19px; }
.cat__title {
  font-family: var(--f-display);
  font-size: 40px; line-height: 25px; font-weight: 300;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.cat__text { font-size: 15px; line-height: 20px; min-height: 126px; }
.cat__tags { display: flex; justify-content: center; gap: 10px; }
.pill {
  width: 139px; height: 37px;
  display: flex; align-items: center; justify-content: center;
  font-size: 10px; line-height: 1;
  box-shadow: inset 0 0 0 1px currentColor;
}
.pill--cream { color: var(--cream); }
.pill--outline { color: var(--yellow); }
.pill--yellow { background: var(--yellow); color: #000; box-shadow: none; }
.pill--white { background: #fff; color: #000; box-shadow: none; }
.pill--kids { color: #fff; box-shadow: inset 0 0 0 1px var(--yellow); }

/* =========================================================
   FILM YT
   ========================================================= */
.video { background: var(--gray); color: #000; }
.video__frame { position: relative; aspect-ratio: 1440 / 707; overflow: hidden; }
.video__poster, .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; object-fit: cover; }
.video__play {
  position: absolute; left: 50%; top: 50%; z-index: 2;
  width: 150px; padding: 0; border: 0; background: none; cursor: pointer;
  translate: -50% -50%;
  transition: transform .25s;
}
.video__play:hover { transform: scale(1.06); }
.video__play img { width: 100%; border-radius: 50%; }
.video__title {
  position: absolute; z-index: 2;
  left: 50%; translate: -50% 0;
  width: max-content; max-width: calc(100% - 2 * var(--gutter));
  text-align: center;
  top: 77.9%;
  font-family: var(--f-display);
  font-size: 40px; line-height: 70px; font-weight: 300;
  text-decoration: none;
}
.video__title b { font-weight: 700; }
.video__title:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 6px; }
.video.is-playing .video__play, .video.is-playing .video__title { display: none; }
/* na ciemnej miniaturze z YouTube tytuł jest biały */
.video__poster ~ .video__title { color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .55); }

/* =========================================================
   03 CZY DLA CIEBIE
   ========================================================= */
.why {
  padding: 185px 0 210px;
  background-color: #333;
  background-image: url("../img/grain.png"), url("../img/czy-dla-ciebie.webp");
  background-size: 128px, cover;
  background-position: 0 0, 52.38% 50%;
  background-repeat: repeat, no-repeat;
}
.why__title { max-width: 720px; }
@media (min-width: 1200px) { .why .wrap { translate: -16px 0; } }
.why__lead { max-width: 697px; margin-top: 74px; }
.why__btn { margin-top: 42px; width: 240px; }

/* =========================================================
   04 FINAŁ NIE JEST JEDYNYM CELEM
   ========================================================= */
.goal { padding: 150px 0 120px; }
.goal .h2 b { color: var(--offwhite); }
.goal__cols {
  display: grid; grid-template-columns: 1fr 1fr; column-gap: 108px;
  margin-top: 71px;
  font-size: 20px; line-height: 30px;
  text-align: justify;
}

/* kompozycja „droga” 1112 × 656 – pozycje w % (dane z Figmy) */
.route {
  --W: 1112; --H: 656;
  position: relative;
  margin-top: 63px;
  aspect-ratio: 1112 / 656;
  container-type: inline-size;
}
.route__grid {
  position: absolute; left: 1.17%; top: 0; width: 98.47%; height: 90.7%;
  border: 1px solid var(--yellow);
  background-image:
    linear-gradient(to right, var(--yellow) 1px, transparent 1px),
    linear-gradient(to bottom, var(--yellow) 1px, transparent 1px);
  background-size: calc(100% / 9) 100%, 100% calc(100% / 6);
}
.route__deco { position: absolute; }
.route__deco--star1 { left: 8.99%; top: 8.99%; width: 6.92%; height: 11.43%; }
.route__deco--star2 { left: 85.97%; top: 55.34%; width: 6.29%; height: 10.37%; }
.route__deco--g1 { left: 65.2%; top: 73.02%; width: 3.6%; }
.route__deco--g2 { left: 21.67%; top: 27.59%; width: 3.51%; }
.route__deco--g3 { left: 43.08%; top: 10.06%; width: 3.96%; transform: rotate(144deg) scaleX(-1); }

.route__steps { position: absolute; inset: 0; }
/* dane kroków: bbox chwytu (bx,by,bw,bh), szer. grafiki (iw), obrót (r), kropka (dx,dy), karta (cx,cy) */
.step--1 { --bx: 81;  --by: 438; --bw: 71;  --bh: 68;  --iw: 72;  --r: 0deg;    --dx: 114; --dy: 486; --cx: 0;   --cy: 526; }
.step--2 { --bx: 272; --by: 316; --bw: 124; --bh: 112; --iw: 97;  --r: 0deg;    --dx: 330; --dy: 392; --cx: 213; --cy: 427; }
.step--3 { --bx: 507; --by: 240; --bw: 101; --bh: 95;  --iw: 80;  --r: 0deg;    --dx: 558; --dy: 289; --cx: 443; --cy: 333; }
.step--4 { --bx: 690; --by: 109; --bw: 109; --bh: 104; --iw: 110; --r: 0deg;    --dx: 745; --dy: 192; --cx: 627; --cy: 228; }
.step--5 { --bx: 949; --by: 54;  --bw: 83;  --bh: 83;  --iw: 69;  --r: 0deg;    --dx: 987; --dy: 109; --cx: 870; --cy: 146; }

.step__hold {
  position: absolute;
  margin: 0; padding: 0; border: 0; background: none; font: inherit; color: inherit;
  left: calc(var(--bx) / var(--W) * 100%);
  top: calc(var(--by) / var(--H) * 100%);
  width: calc(var(--bw) / var(--W) * 100%);
  height: calc(var(--bh) / var(--H) * 100%);
}
.step__hold img {
  position: absolute; left: 50%; top: 50%;
  width: calc(var(--iw) / var(--bw) * 100%);
  translate: -50% -50%;
  rotate: var(--r);
}
.step__hold i {
  position: absolute;
  left: calc((var(--dx) - var(--bx)) / var(--bw) * 100%);
  top: calc((var(--dy) - var(--by)) / var(--bh) * 100%);
  width: calc(9 / var(--bw) * 100%);
  aspect-ratio: 1; border-radius: 50%; background: #000;
}
.step__card {
  position: absolute;
  left: calc(var(--cx) / var(--W) * 100%);
  top: calc(var(--cy) / var(--H) * 100%);
  width: calc(242 / var(--W) * 100%);
  height: calc(130 / var(--H) * 100%);
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  padding: 0 8px;
  text-align: center;
  border-radius: 2.52cqw;
  background: rgba(0, 0, 0, .9);
  box-shadow: inset 0 0 0 1px var(--yellow);
}
.step__card h3 {
  font-family: var(--f-display); font-weight: 700;
  font-size: max(14px, 1.8cqw); line-height: 1.5;
  color: var(--yellow);
}
.step__card p {
  margin-top: .45cqw;
  font-family: var(--f-body); font-weight: 400;
  font-size: max(9px, .9cqw); line-height: 1.3;
}

/* chwyty – opis w dymku (tylko desktop; klasy .is-interactive i .is-open dodaje JS).
   Po przewinięciu do sekcji opisy pokazują się po kolei, co sekundę, potem – po najechaniu na chwyt */
@media (min-width: 900px) {
  .route.is-interactive .step__hold { z-index: 2; cursor: pointer; }
  .route.is-interactive .step__hold:focus-visible { outline-color: #fff; }
  .route.is-interactive .step__hold img { transition: scale .25s cubic-bezier(.2, .7, .2, 1); }
  .route.is-interactive .step__hold:hover img,
  .route.is-interactive .step.is-open .step__hold img { scale: 1.08; }
  .route.is-interactive .step__card {
    z-index: 3;
    opacity: 0; visibility: hidden; translate: 0 10px;
    transition: opacity .25s, translate .25s, visibility 0s linear .25s;
  }
  .route.is-interactive .step.is-open .step__card {
    opacity: 1; visibility: visible; translate: 0 0;
    transition: opacity .25s, translate .25s, visibility 0s;
  }
  @media (prefers-reduced-motion: no-preference) {
    .route.is-interactive.is-touring .step__hold i::after { animation: none; }
    .route.is-interactive .step__hold i::after {
      content: ""; position: absolute; inset: -55%;
      border: 2px solid #000; border-radius: 50%;
      animation: hold-ping 2.4s ease-out infinite;
    }
    .route.is-interactive .step--2 .step__hold i::after { animation-delay: .3s; }
    .route.is-interactive .step--3 .step__hold i::after { animation-delay: .6s; }
    .route.is-interactive .step--4 .step__hold i::after { animation-delay: .9s; }
    .route.is-interactive .step--5 .step__hold i::after { animation-delay: 1.2s; }
    .route.is-interactive .step.is-open .step__hold i::after { animation: none; opacity: 0; }
  }
}
@keyframes hold-ping {
  0% { transform: scale(.5); opacity: .9; }
  70%, 100% { transform: scale(1.9); opacity: 0; }
}

/* =========================================================
   05 HARMONOGRAM
   ========================================================= */
.schedule { padding: 120px 0 97px; }
.schedule .h2 { margin-bottom: 64px; }
.schedule__list { display: grid; grid-template-columns: repeat(4, 236px); justify-content: space-between; row-gap: 32px; }
.sched__card {
  position: relative;
  height: 298px;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 10px;
  text-align: center;
  font-family: var(--f-display);
  text-transform: uppercase;
  background: #000;
  box-shadow: inset 0 0 0 2px var(--yellow);
}
.sched__month { height: 61px; font-size: 30px; line-height: 70px; font-weight: 700; }
.sched__big { height: 89px; font-size: 100px; line-height: 70px; font-weight: 700; }
.sched__big--sm { font-size: 60px; }
.sched__label { font-size: 20px; line-height: 15px; font-weight: 700; color: var(--yellow); }
.sched__desc { margin-top: 7px; font-family: var(--f-body); font-size: 11px; line-height: 15px; font-weight: 400; text-transform: none; }
.sched__btn { width: 100%; margin-top: 14px; }

.sched--nov .sched__month { margin-top: 17px; }
.sched--nov .sched__label { margin-top: 17px; }

.sched--dec .sched__card { background: transparent; box-shadow: inset 0 0 0 2px var(--cream); }
.sched--dec .sched__month { margin-top: 14px; }
.sched--dec .sched__icon { margin-top: 6px; width: 74px; height: 82px; }
.sched--dec .sched__label { margin-top: 13px; line-height: 22px; }

.sched--jan .sched__card { box-shadow: inset 0 0 0 2px #fff; }
.sched--jan .sched__month { margin-top: 32px; line-height: 40px; }
.sched--jan .sched__icon { width: 65px; height: 64px; }
.sched--jan .sched__label { margin-top: 23px; line-height: 19px; }

.sched--mar .sched__card { background: var(--yellow); color: #000; box-shadow: none; }
.sched--mar .sched__month { margin-top: 17px; }
.sched--mar .sched__big { margin-top: 6px; }
.sched--mar .sched__label { margin-top: 7px; color: #000; }

/* =========================================================
   06 GRUPY ELIMINACYJNE
   ========================================================= */
.groups { padding: 120px 0 135px; }
.groups__band { position: relative; min-height: 481px; overflow: hidden; }
.groups__rings { position: absolute; left: calc(50% + 101px); top: 5px; width: 551px; height: 476px; max-width: none; }
.groups__band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(149deg, #000 55.4%, rgba(0, 0, 0, .49) 100%);
}
.groups__inner { position: relative; z-index: 1; width: min(1188px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.groups__title {
  display: flex; align-items: center; gap: 17px;
  font-family: var(--f-display);
  font-size: 30px; line-height: 50px; font-weight: 700;
  text-transform: uppercase;
}
.groups__title img { flex: none; width: 55px; height: 55px; }
.groups__title::after { content: ""; flex: 1; height: 1px; margin-left: 5px; background: var(--yellow); translate: 0 3px; }
.groups__title em { font-style: normal; color: var(--yellow); }
.groups__cols { display: grid; grid-template-columns: auto auto; justify-content: start; column-gap: clamp(32px, 100% - 1045px, 71px); margin: 34px 0 0 73px; }
.groups__day li {
  font-family: var(--f-display);
  font-size: 30px; line-height: 50px; font-weight: 300;
  text-transform: uppercase;
}
.groups__day .groups__date { font-weight: 700; }
.groups__day .groups__final { font-weight: 700; color: var(--yellow); margin-top: 50px; }

/* =========================================================
   07 POPRZEDNIE EDYCJE
   ========================================================= */
.editions { padding: 154px 0 170px; background: var(--yellow); color: #000; }
.editions__title { text-align: center; margin-bottom: 82px; }
.editions__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.edition { display: block; color: inherit; text-decoration: none; }
.edition:focus-visible { outline: 2px solid #000; outline-offset: 6px; }
.edition img { width: 100%; aspect-ratio: 543 / 268; object-fit: cover; transition: transform .4s cubic-bezier(.2, .7, .2, 1); }
.edition:hover img { transform: scale(1.02); }
.edition:hover .edition__year { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }
.edition__year {
  margin-top: 41px;
  font-family: var(--f-display);
  font-size: 40px; line-height: 90px; font-weight: 300;
  text-align: center;
}


/* =========================================================
   08 5 URODZINY
   ========================================================= */
.birthday {
  padding: 99px 0 134px;
  background-color: #1b1b1b;
  background-image: url("../img/urodziny.webp");
  background-size: 125.97% auto;
  background-position: 2.674% 27.04%;
  background-repeat: no-repeat;
}
.birthday__title { max-width: 680px; }
.birthday__text { max-width: 647px; margin-top: 17px; }
.birthday__text p + p { margin-top: 30px; }
.birthday__btn { margin-top: 38px; width: 329px; }

/* =========================================================
   09 MERCH
   ========================================================= */
.merch { position: relative; overflow: hidden; padding: 150px 0 128px; }
.merch__flower { position: absolute; left: calc(50% + 328px); top: 287px; width: 740px; height: 742px; max-width: none; pointer-events: none; }
.merch .wrap { position: relative; }
.merch .h2 { margin-bottom: 82px; }
.merch__grid { display: grid; grid-template-columns: 363fr 364fr 363fr; column-gap: 12px; row-gap: 17px; }
.merch__ph { background: var(--gray); aspect-ratio: 363 / 302; }
.merch__ph--wide { grid-column: 1 / -1; aspect-ratio: 1114 / 438; }
.merch__img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; }
.merch__btn { display: flex; width: 364px; margin: 38px auto 0; }

/* =========================================================
   10 INSTAGRAM
   ========================================================= */
.insta { padding: 120px 0 168px; }
.insta__handle {
  display: inline-block; margin-top: 27px;
  font-family: var(--f-display);
  font-size: 30px; line-height: 70px; font-weight: 700;
  text-transform: uppercase; text-decoration: none; color: var(--yellow);
}
.insta__handle:hover { color: #fff; }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16.6px; margin-top: 27px; }
.insta__post { display: block; overflow: hidden; aspect-ratio: 360.6 / 429; }
.insta__post img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.insta__post:hover img { transform: scale(1.04); }

/* =========================================================
   11 PARTNERZY
   ========================================================= */
.partners { padding: 120px 0 160px; }
.partners__wrap { display: grid; grid-template-columns: 76px 1fr; column-gap: 20px; align-items: start; }
.partners__star { width: 76px; height: 76px; }
.partners .h2 { line-height: 76px; }
.partners__soon {
  margin-top: 77px;
  font-family: var(--f-display);
  font-size: 40px; line-height: 50px; font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
}

/* logotypy partnerów (dodawane stopniowo) */
.partners__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 77px; }
.partners__grid:empty { display: none; }
.partners__wrap:has(.partners__logo) .partners__soon { display: none; }
.partners__logo {
  display: flex; align-items: center; justify-content: center;
  height: 120px; padding: 20px 24px;
  box-shadow: inset 0 0 0 1px var(--muted);
  transition: box-shadow .2s;
}
a.partners__logo:hover { box-shadow: inset 0 0 0 1px var(--yellow); }
.partners__logo img { max-width: 100%; max-height: 64px; width: auto; height: auto; object-fit: contain; }

/* =========================================================
   RWD
   ========================================================= */
@media (max-width: 1199px) {
  .hero { background-position: 46% 0; }
  .hero__card { left: max(180px, 50% - 514px); }
  .goal__cols { column-gap: 56px; }
  .schedule__list { grid-template-columns: repeat(4, minmax(0, 236px)); column-gap: 16px; }
  .sched__label { font-size: 18px; }
  .groups__cols { column-gap: 40px; margin-left: 73px; }
  .groups__day li { font-size: 26px; }
}

@media (max-width: 1099px) {
  .groups__cols { grid-template-columns: 1fr; row-gap: 40px; }
}

@media (max-width: 959px) {
  :root { --nav-h: 60px; }
  .nav { justify-content: flex-end; padding: 0 8px; }
  .nav__brand { left: 16px; z-index: 2; }
  .nav__toggle {
    position: relative; z-index: 2;
    display: grid; place-items: center;
    width: 48px; height: 48px; padding: 0; border: 0; background: none; cursor: pointer;
  }
  .nav__toggle-bar, .nav__toggle-bar::before, .nav__toggle-bar::after {
    display: block; width: 26px; height: 2px; background: #fff; transition: transform .3s, background-color .3s;
  }
  .nav__toggle-bar { position: relative; }
  .nav__toggle-bar::before, .nav__toggle-bar::after { content: ""; position: absolute; left: 0; }
  .nav__toggle-bar::before { top: -8px; }
  .nav__toggle-bar::after { top: 8px; }
  .nav.is-open .nav__toggle-bar { background: transparent; }
  .nav.is-open .nav__toggle-bar::before { transform: translateY(8px) rotate(45deg); }
  .nav.is-open .nav__toggle-bar::after { transform: translateY(-8px) rotate(-45deg); }
  .nav__menu {
    position: fixed; inset: 0;
    flex-direction: column; justify-content: center; gap: 22px;
    background: #000;
    opacity: 0; visibility: hidden;
    transition: opacity .3s, visibility .3s;
  }
  .nav.is-open .nav__menu { opacity: 1; visibility: visible; }
  .nav__menu a { font-size: 34px; line-height: 1.2; }
  .nav__menu .nav__home {
    display: block; margin-top: 18px;
    font-family: var(--f-body); font-size: 14px; font-weight: 500; text-transform: none;
    color: var(--cream);
  }
  body.menu-open { overflow: hidden; }
}

@media (max-width: 899px) {
  .hero__card { left: calc(50% - 257px); }
  .hero__deco--left { width: 104px; height: 311px; }
  .hero__deco--left img { left: -104px; width: 207px; height: 311px; }
  .hero__deco--right { width: 112px; height: 224px; }
  .hero__deco--right img { left: -6px; width: 224px; height: 224px; }

  .about { padding: 96px 0 96px; }
  .about .h2 { margin-bottom: 40px; }
  .about__cols { grid-template-columns: 1fr; row-gap: 20px; }

  .categories { padding-bottom: 96px; }
  .h2--lined { margin-bottom: 56px; gap: 16px; }
  .categories__grid { grid-template-columns: 1fr; }
  .cat__icon { height: auto; margin-bottom: 28px; }
  .cat__icon img { height: 130px; width: auto; }
  .cat__icon--kids { padding-top: 0; }
  .cat__icon--kids img { height: 110px; }
  .cat__text { min-height: 0; max-width: 420px; margin-bottom: 22px; }

  .video__frame { aspect-ratio: 16 / 11; }
  .video__play { width: 96px; }
  .video__title { left: var(--gutter); right: var(--gutter); translate: none; width: auto; max-width: none; top: auto; bottom: 22px; font-size: 24px; line-height: 1.2; }

  .why {
    padding: 120px 0;
    background-image: url("../img/grain.png"), linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .35)), url("../img/czy-dla-ciebie-m.webp");
    background-size: 128px, auto, cover;
    background-position: 0 0, 0 0, 50% 50%;
    background-repeat: repeat, no-repeat, no-repeat;
  }
  .why__lead { margin-top: 40px; }

  .goal { padding: 96px 0; }
  .goal__cols { grid-template-columns: 1fr; row-gap: 20px; margin-top: 40px; font-size: 17px; line-height: 27px; text-align: left; }

  /* droga → lista kroków */
  .route {
    aspect-ratio: auto; container-type: normal;
    margin-top: 48px; padding: 28px 16px;
    border: 1px solid var(--yellow);
    background-image:
      linear-gradient(to right, rgba(255, 247, 90, .35) 1px, transparent 1px),
      linear-gradient(to bottom, rgba(255, 247, 90, .35) 1px, transparent 1px);
    background-size: 60px 60px;
  }
  .route__grid, .route__deco { display: none; }
  .route__steps { position: static; display: flex; flex-direction: column; gap: 18px; }
  .step { display: grid; grid-template-columns: 70px 1fr; align-items: center; gap: 12px; }
  .step:nth-child(even) { margin-left: 18px; }
  .step__hold { position: relative; left: auto; top: auto; width: 70px; height: 70px; }
  .step__hold img { width: 62px; max-height: 62px; }
  .step__hold i { left: 50%; top: 50%; width: 8px; translate: -50% -50%; }
  .step__card { position: relative; left: auto; top: auto; width: auto; height: auto; min-height: 104px; padding: 16px 20px; border-radius: 24px; }
  .step__card h3 { font-size: 20px; }
  .step__card p { margin-top: 4px; font-size: 12px; }

  .schedule { padding: 96px 0; }
  .schedule .h2 { margin-bottom: 40px; }
  .schedule__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
  .sched__label { font-size: 20px; }

  .groups { padding: 24px 0 96px; }
  .groups__band { min-height: 0; padding: 40px 0 48px; }
  .groups__rings { left: auto; right: -180px; top: auto; bottom: -120px; opacity: .8; }
  .groups__title { font-size: 22px; line-height: 1.2; gap: 12px; }
  .groups__title img { width: 40px; height: 40px; }
  .groups__title::after { display: none; }
  .groups__cols { grid-template-columns: 1fr; row-gap: 28px; margin: 28px 0 0 52px; }
  .groups__day li { font-size: 21px; line-height: 36px; }
  .groups__day .groups__final { margin-top: 18px; }

  .editions { padding: 96px 0 72px; }
  .editions__title { margin-bottom: 48px; }
  .editions__grid { grid-template-columns: 1fr; gap: 24px; }
  .edition__year { margin-top: 8px; line-height: 64px; font-size: 34px; }

  .birthday {
    padding: 100px 0;
    background-image: linear-gradient(rgba(0, 0, 0, .55), rgba(0, 0, 0, .3)), url("../img/urodziny-m.webp");
    background-size: auto, cover;
    background-position: 0 0, 50% 50%;
    background-repeat: no-repeat;
  }
  .birthday__btn { width: auto; max-width: 100%; }

  .merch { padding: 96px 0; }
  .merch .h2 { margin-bottom: 40px; }
  .merch__flower { left: auto; right: -250px; top: 30px; width: 420px; height: auto; }
  .merch__grid { column-gap: 8px; row-gap: 8px; }
  .merch__btn { width: min(364px, 100%); margin-top: 32px; }

  .insta { padding: 96px 0; }
  .insta__handle { margin-top: 12px; font-size: 24px; line-height: 48px; }
  .insta__grid { gap: 8px; margin-top: 16px; }

  .partners { padding: 96px 0 120px; }
  .partners__wrap { grid-template-columns: 48px 1fr; column-gap: 14px; }
  .partners__star { width: 48px; height: 48px; margin-top: 2px; }
  .partners .h2 { line-height: 52px; }
  .partners__soon { margin-top: 28px; font-size: 22px; line-height: 30px; }
  .partners__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 28px; }
  .partners__logo { height: 96px; padding: 16px; }
  .partners__logo img { max-height: 52px; }
}

@media (max-width: 599px) {
  :root { --gutter: 16px; }
  .merch__grid { grid-template-columns: 1fr; row-gap: 12px; }
  .groups__cols { margin-left: 0; }
  .groups__day li { font-size: clamp(15px, 4.6vw, 18px); line-height: 32px; }
  .lead { font-size: 17px; line-height: 27px; }

  .hero {
    height: auto; min-height: 100svh;
    display: flex; align-items: center; justify-content: center;
    padding: 96px 0 64px;
    background-image: url("../img/hero-m.webp");
    background-position: 50% 50%;
  }
  .hero::after { background: url("../img/grain.png") 0 0 / 64px repeat, rgba(0, 0, 0, .28); }
  .hero__pause { right: 16px; bottom: 16px; }
  .hero__card { position: relative; top: auto; left: auto; width: min(514px, 100% - 2 * var(--gutter)); }
  .hero__date { font-size: max(13px, 4.2cqw); }
  .hero__btn { top: 79%; width: 43%; height: 44px; font-size: clamp(11px, 3.4vw, 14px); }
  .hero__btn--1 { left: 5.5%; }
  .hero__btn--2 { left: 51.5%; }
  .hero__deco--left { top: 40px; width: 86px; height: 260px; }
  .hero__deco--left img { left: -87px; width: 173px; height: 260px; }
  .hero__deco--right { top: auto; bottom: 40px; width: 94px; height: 187px; }
  .hero__deco--right img { left: -5px; width: 187px; height: 187px; }

  .schedule__list { grid-template-columns: minmax(0, 320px); justify-content: center; }
  .insta__grid { grid-template-columns: 1fr 1fr; }
  .insta__post:last-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
