/* Winter Camp Tenno Dojo 2027
   Direction: a cinematic winter trip page with the club's own voice.
   Tall condensed headlines (Oswald), full-bleed imagery, night-blue and mist sections that alternate
   like day and night of the trip. Red for actions, gold from the club logo for accents on dark.
   Phone first: everything is designed at 390px, desktop is the enhancement. */
:root {
  --night: #0c1431;      /* night bus, schedule, photos, footer */
  --night-2: #16204a;
  --mist: #e8edf2;       /* snow mist, booking, hotel, activities */
  --paper: #f6f8fa;
  --ink: #0f1830;
  --red: #d8261c;        /* Kyokushin red: seal + actions only */
  --gold: #c8a564;       /* the club logo's gold: accents on dark sections, the booking marker */
  --gold-d: #946f2b;     /* the same gold, dark enough for text on light sections */
  --frost: #a6b4d0;
  --muted: #5a6479;
  --line: rgba(15, 24, 48, .14);
  --line-l: rgba(232, 237, 242, .16);

  --display: "Oswald", "Manrope", "Arial Narrow", sans-serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --g: clamp(18px, 5vw, 64px);
  --hdr: 60px;
  --r: 14px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  color-scheme: light;
}
@media (min-width: 960px) { :root { --hdr: 76px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; font-variant-numeric: lining-nums; background: var(--night); color: var(--ink); font: 400 16px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
@media (min-width: 960px) { body { font-size: 17px; } }
main > section, .foot { overflow-x: clip; }
img, video { display: block; max-width: 100%; }
h1, h2, h3, p, dl, dd, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 3px; }
::selection { background: var(--red); color: #fff; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 var(--g); }

/* placeholders the client still has to fill */
.tbd { border-bottom: 2px dashed currentColor; padding: 0 .08em; white-space: nowrap; }

/* ---------- shared type ---------- */
.label { font: 500 13px/1.2 var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; }
.label--light { color: var(--gold); }
.sec-head { display: grid; gap: 4px; margin-bottom: 40px; }
.sec-h {
  font: 600 clamp(40px, 11vw, 96px)/.95 var(--display); text-transform: uppercase;
  color: var(--mist); text-wrap: balance;
}
.sec-h--ink { color: var(--ink); }
.sec-lead { margin-top: 16px; max-width: 34em; color: var(--frost); font-size: 16px; text-wrap: pretty; }
.sec-lead--ink { color: var(--muted); }
@media (min-width: 960px) {
  .sec-head { grid-template-columns: 1.3fr 1fr; align-items: end; column-gap: 64px; margin-bottom: 64px; }
  .sec-head .label { grid-column: 1 / -1; }
  .sec-lead { font-size: 18px; margin: 0 0 .5em; }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 54px; padding: 0 26px; border: 0; border-radius: 999px;
  font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap; cursor: pointer;
  transition: background-color .3s, color .3s, transform .4s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--red { background: var(--red); color: #fff; }
.btn--red:hover { background: #bd1e15; }
.btn--glass { background: rgba(255, 255, 255, .14); color: #fff; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .28); }
.btn--glass:hover { background: rgba(255, 255, 255, .24); }
.btn--light { background: var(--mist); color: var(--ink); }
.btn--light:hover { background: #fff; }
.btn--sm { height: 40px; padding: 0 16px; font-size: 14px; }
.btn--wide { width: 100%; }
@media (min-width: 960px) { .btn--wide { width: auto; min-width: 280px; } }
.tlink {
  background: none; border: 0; padding: 6px 0; cursor: pointer;
  font: 600 14px/1.2 var(--sans); color: inherit;
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px;
  text-decoration-color: color-mix(in srgb, currentColor 40%, transparent);
}
.tlink:hover { text-decoration-color: var(--red); }
.tlink--light { color: var(--mist); }

/* ---------- header ---------- */
.hdr {
  position: fixed; inset: 0 0 auto; z-index: 50;
  height: calc(var(--hdr) + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) var(--g) 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  color: #fff;
  transition: background-color .4s, color .4s, box-shadow .4s;
}
.hdr.is-solid {
  background: rgba(232, 237, 242, .82); color: var(--ink);
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: 0 1px 0 var(--line);
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__img { width: 38px; height: 38px; flex: none; }
/* the club's brush lettering (traced from the logo sheet), coloured by the header text colour */
.logo__word {
  width: 100px; aspect-ratio: 2341 / 373; background: currentColor;
  -webkit-mask: url(../media/tenno-dojo.svg) center / contain no-repeat; mask: url(../media/tenno-dojo.svg) center / contain no-repeat;
}
@media (max-width: 374px) { .logo { gap: 8px; } .logo__img { width: 34px; height: 34px; } .logo__word { width: 80px; } }
.hdr__nav { display: none; }
.hdr__right { display: flex; align-items: center; gap: 10px; }
.burger { width: 44px; height: 44px; border: 0; border-radius: 50%; background: transparent; display: grid; place-content: center; gap: 6px; cursor: pointer; }
.burger i { display: block; width: 22px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.menu-open .burger i:first-child { transform: translateY(3.75px) rotate(45deg); }
.menu-open .burger i:last-child { transform: translateY(-3.75px) rotate(-45deg); }
@media (min-width: 960px) {
  .hdr__nav { display: flex; gap: 32px; font-size: 15px; font-weight: 500; }
  .hdr__nav a { text-decoration: none; opacity: .85; }
  .hdr__nav a:hover { opacity: 1; }
  .burger { display: none; }
  .btn--sm { height: 44px; padding: 0 20px; }
  .logo { gap: 12px; }
  .logo__img { width: 46px; height: 46px; }
  .logo__word { width: 128px; }
}

/* ---------- menu (phones) ---------- */
.menu {
  position: fixed; inset: 0; z-index: 45;
  padding: calc(var(--hdr) + env(safe-area-inset-top) + 20px) var(--g) calc(28px + env(safe-area-inset-bottom));
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  background: var(--night); color: var(--mist); overflow-y: auto;
  visibility: hidden; opacity: 0; transition: opacity .4s, visibility 0s .4s;
}
.menu-open .menu { visibility: visible; opacity: 1; transition: opacity .4s; }
.menu-open .hdr { background: transparent; color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.menu__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line-l); text-decoration: none; }
.menu__list span { font: 500 clamp(30px, 8.6vw, 56px)/1.1 var(--display); text-transform: uppercase; }
.menu__list small { font-size: 13px; color: var(--frost); white-space: nowrap; }
.menu__phone { font: 500 20px/1.2 var(--sans); text-decoration: none; }

/* ---------- 1. hero ---------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; color: #fff; overflow: hidden; background: var(--night); }
.hero__media { position: absolute; inset: 0; }
.hero__media img, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* the video fades in over its poster once it really plays (main.js adds .is-playing) */
.hero__video { transition: opacity .8s; }
.js .hero__video:not(.is-playing) { opacity: 0; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12, 20, 49, .55) 0%, rgba(12, 20, 49, .05) 28%, rgba(12, 20, 49, .15) 50%, rgba(12, 20, 49, .88) 100%),
    rgba(12, 20, 49, .18);
}
.hero__seal {
  position: absolute; z-index: 2; right: var(--g); top: calc(var(--hdr) + env(safe-area-inset-top) + 18px);
  padding: 10px 9px; border-radius: 6px; background: var(--red); color: #fff;
}
/* 極真會, the Kyokushinkai calligraphy from the club's logo sheet */
.hero__kanji {
  display: block; width: 34px; aspect-ratio: 648 / 1660; background: currentColor;
  -webkit-mask: url(../media/kanji.svg) center / contain no-repeat; mask: url(../media/kanji.svg) center / contain no-repeat;
}
.hero__content {
  position: absolute; z-index: 2; left: 0; right: 0; bottom: 0;
  padding: 0 var(--g) calc(30px + env(safe-area-inset-bottom));
  max-width: 1360px; margin: 0 auto;
}
.hero__kicker { font-size: 14px; font-weight: 500; opacity: .85; margin-bottom: 14px; }
.hero__h { font: 600 clamp(46px, 13vw, 140px)/.95 var(--display); text-transform: uppercase; }
/* each line is a mask for the load scene; the clip reaches past the line box for Й/Ї and Д/Ц */
.hero__h .line { display: block; clip-path: inset(-.2em -.15em -.2em); }
.hero__h .line > span { display: inline-block; }
.hero__facts { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 18px; margin-top: 24px; padding-top: 16px; }
/* the top rule is a pseudo-element so animations.js can draw it with scaleX (--rule) */
.hero__facts::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: rgba(255, 255, 255, .22); transform: scaleX(var(--rule, 1)); transform-origin: left; }
.hero__facts div:nth-child(2) { grid-column: 1 / -1; order: 3; }
.hero__facts dt { font-size: 12px; opacity: .7; }
.hero__facts dd { font-size: 15px; font-weight: 600; }
.hero__cta { display: grid; gap: 10px; margin-top: 24px; }
.hero__scroll { display: none; }
@media (min-width: 960px) {
  .hero__seal { top: calc(var(--hdr) + 28px); padding: 14px 12px; }
  .hero__kanji { width: 46px; }
  .hero__content { padding-bottom: 48px; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; }
  .hero__kicker, .hero__h { grid-column: 1 / -1; }
  .hero__kicker { font-size: 15px; }
  .hero__facts { grid-template-columns: repeat(3, auto); justify-content: start; gap: 40px; }
  .hero__facts div:nth-child(2) { grid-column: auto; order: 0; }
  .hero__facts dd { font-size: 17px; }
  .hero__cta { display: flex; margin-top: 0; }
  .hero__scroll { display: block; position: absolute; z-index: 2; left: 50%; bottom: 22px; width: 1px; height: 48px; background: rgba(255, 255, 255, .25); overflow: hidden; }
  .hero__scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 18px; background: #fff; animation: drip 2s var(--ease) infinite; }
}
@keyframes drip { from { transform: translateY(-20px); } to { transform: translateY(50px); } }

/* ---------- 2. booking ---------- */
.book { background: var(--mist); padding: 72px 0 80px; }
.book__grid { display: grid; gap: 40px; }
.book__h { font: 600 clamp(38px, 10.6vw, 84px)/1.04 var(--display); text-transform: uppercase; text-wrap: balance; }
.book__note { margin-top: 18px; color: var(--muted); max-width: 30em; }
.book__note b { color: var(--ink); font-weight: 700; }
.book__count { margin-top: 22px; display: flex; align-items: baseline; gap: 12px; }
.book__count-label { font-size: 14px; color: var(--muted); }
.book__count b { font: 500 26px/1 var(--display); }
.book__card { background: #fff; border-radius: var(--r); padding: 22px 20px 20px; box-shadow: 0 30px 60px -40px rgba(15, 24, 48, .35); }
.tariffs li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.tariffs li:first-child { padding-top: 0; }
.tariffs span { font-size: 15px; color: var(--muted); }
.tariffs b { font: 500 clamp(32px, 9vw, 48px)/1 var(--display); white-space: nowrap; font-variant-numeric: lining-nums; }
.book__per { font-size: 13px; color: var(--muted); margin-top: 10px; }
.incl { margin-top: 18px; display: grid; gap: 8px; }
.incl li { position: relative; padding-left: 22px; font-size: 15px; font-weight: 500; }
.incl li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.book__actions { margin-top: 22px; display: grid; gap: 12px; justify-items: center; }
.book__phone { font-size: 14px; color: var(--muted); text-decoration: none; }
@media (min-width: 960px) {
  .book { padding: 120px 0; }
  .book__grid { grid-template-columns: 1.15fr 1fr; gap: 80px; align-items: center; }
  .book__card { padding: 32px; }
  .book__actions { justify-items: start; }
}

/* ---------- 3. schedule ---------- */
.plan { background: var(--night); color: var(--mist); padding: 88px 0 96px; }
.timeline { position: relative; display: grid; gap: 28px; }
.timeline::before { content: ""; position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--line-l); }
.tl { position: relative; padding-left: 28px; display: grid; gap: 12px; }
.tl::before { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--night); box-shadow: inset 0 0 0 2px var(--red); }
.tl__date { display: flex; align-items: baseline; gap: 10px; }
.tl__date b { font: 500 24px/1 var(--display); }
.tl__date span { font-size: 13px; color: var(--frost); }
/* phones: the red stub is a band across the top, perforation and notches run horizontally */
.ticket {
  --stub: 52px;
  position: relative; overflow: hidden;
  display: grid; grid-template-rows: var(--stub) auto;
  background: var(--paper); color: var(--ink); border-radius: var(--r);
}
.ticket::before, .ticket::after { content: ""; position: absolute; top: var(--stub); width: 16px; height: 16px; border-radius: 50%; background: var(--night); transform: translate(-50%, -50%); }
.ticket::before { left: 0; }
.ticket::after { left: 100%; }
.ticket__stub { position: relative; background: var(--red); color: #fff; display: flex; justify-content: space-between; align-items: center; padding: 0 18px 0 22px; }
.ticket__stub::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 2px; background: repeating-linear-gradient(90deg, var(--paper) 0 4px, transparent 4px 10px); }
.ticket__kind { font: 500 13px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.ticket__time { font: 500 26px/1 var(--display); }
.ticket__body { position: relative; padding: 18px 18px 18px 22px; min-width: 0; }
.ticket__route { font: 500 clamp(26px, 7.4vw, 40px)/1.05 var(--display); }
.ticket__route i { font-style: normal; color: var(--red); font-family: var(--sans); font-size: .7em; vertical-align: .08em; }
.ticket__rows { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 16px; margin-top: 16px; }
.ticket__rows .w { grid-column: 1 / -1; }
.ticket__rows dt { font-size: 12px; color: var(--muted); }
.ticket__rows dd { font-size: 16px; font-weight: 600; }
.ticket__links { display: flex; flex-wrap: wrap; gap: 0 18px; margin-top: 10px; }
.stamp {
  display: inline-block; margin-top: 12px;
  padding: 5px 9px; border: 1.5px solid var(--red); border-radius: 4px;
  color: var(--red); font: 500 12px/1 var(--display); letter-spacing: .1em; text-transform: uppercase;
  transform: rotate(-6deg); transform-origin: left center;
}
.stop { border: 1px solid var(--line-l); border-radius: var(--r); padding: 16px 18px; }
.stop__time { font: 500 20px/1 var(--display); color: var(--gold); margin-bottom: 8px; }
.stop__h { font: 500 24px/1.1 var(--display); margin-bottom: 6px; }
.stop p:not(.stop__time) { color: var(--frost); font-size: 15px; }
.stop .tlink { margin-top: 8px; }
.bus { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 56px calc(var(--g) * -1) 0; padding: 0 var(--g); scrollbar-width: none; }
.bus::-webkit-scrollbar { display: none; }
.bus__item { flex: 0 0 64vw; scroll-snap-align: start; scroll-margin-left: var(--g); }
.bus__item--main { flex-basis: 84vw; }
.bus__item--tall { flex-basis: 40vw; }
.bus__item img { width: 100%; height: 56vw; object-fit: cover; border-radius: 10px; }
.bus__cap { margin-top: 12px; font-size: 14px; color: var(--frost); }
@media (min-width: 960px) {
  .plan { padding: 140px 0; }
  .timeline { max-width: 1000px; margin-left: auto; gap: 36px; }
  .timeline::before { left: 150px; }
  .tl { grid-template-columns: 130px 1fr; padding-left: 0; column-gap: 50px; align-items: start; }
  .tl::before { left: 145px; top: 10px; }
  .tl__date { flex-direction: column; gap: 4px; text-align: right; align-items: flex-end; }
  .tl__date b { font-size: 32px; }
  /* desktop: the stub stands on the left as a vertical strip */
  .ticket { grid-template-columns: 84px 1fr; grid-template-rows: none; }
  .ticket::before, .ticket::after { left: 84px; transform: translateX(-50%); }
  .ticket::before { top: -8px; }
  .ticket::after { top: auto; bottom: -8px; }
  .ticket__stub { flex-direction: column; padding: 18px 0; }
  .ticket__stub::after { left: auto; right: -1px; top: 12px; bottom: 12px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--paper) 0 4px, transparent 4px 10px); }
  .ticket__stub span { writing-mode: vertical-rl; transform: rotate(180deg); }
  .ticket__time { font-size: 34px; }
  .ticket__body { padding: 26px 30px; }
  .ticket__rows { grid-template-columns: repeat(3, auto); justify-content: start; column-gap: 40px; }
  .ticket__rows .w { grid-column: auto; }
  .stamp { position: absolute; right: 24px; top: 26px; margin: 0; }
  .stop { padding: 22px 26px; }
  .bus { display: grid; grid-template-columns: 2fr 1fr 1fr .75fr; overflow: visible; margin: 96px 0 0; padding: 0; gap: 14px; }
  .bus__item img { height: 300px; }
}

/* ---------- 4. hotel ---------- */
.hotel { background: var(--paper); padding: 88px 0 96px; }
.hotel__h { font: 600 clamp(52px, 15.4vw, 150px)/.92 var(--display); text-transform: uppercase; }
.hotel__h span { display: block; }
.hotel__h span:last-child { padding-left: .9em; color: var(--gold-d); }
/* phones: the facade large, the other seven in a swipe strip; desktop: one bento grid */
.hotel__gallery { display: grid; gap: 10px; margin-top: 40px; }
.hotel__strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 calc(var(--g) * -1); padding: 0 var(--g); scrollbar-width: none; }
.hotel__strip::-webkit-scrollbar { display: none; }
.ph { position: relative; border-radius: var(--r); overflow: hidden; background: var(--mist); }
.ph img { width: 100%; height: 100%; object-fit: cover; }
.ph--main { aspect-ratio: 4 / 3; }
.hotel__strip .ph { flex: 0 0 74vw; aspect-ratio: 4 / 3; scroll-snap-align: start; scroll-margin-left: var(--g); }
.ph figcaption { position: absolute; left: 12px; bottom: 12px; font-size: 12px; font-weight: 600; color: #fff; background: rgba(12, 20, 49, .55); padding: 6px 10px; border-radius: 99px; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.rooms { display: grid; gap: 10px; margin-top: 40px; }
.room { display: flex; gap: 18px; align-items: center; padding: 18px; border-radius: var(--r); background: var(--mist); }
.room__n { font: 500 56px/.9 var(--display); color: var(--red); min-width: .6em; }
.room__h { font: 500 22px/1.15 var(--display); }
.room p:not(.room__n) { font-size: 15px; color: var(--muted); }
.amen { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.amen li { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; }
.amen svg { width: 24px; height: 24px; flex: none; fill: none; stroke: var(--ink); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 960px) {
  .hotel { padding: 140px 0; }
  .hotel__head { display: grid; grid-template-columns: 1.3fr 1fr; align-items: end; column-gap: 64px; }
  .hotel__head .label { grid-column: 1 / -1; }
  .hotel__gallery { grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(3, 230px); gap: 14px; margin-top: 64px; }
  .hotel__strip { display: contents; }
  .ph--main { grid-column: 1 / 3; grid-row: 1 / 3; aspect-ratio: auto; }
  .hotel__strip .ph { aspect-ratio: auto; }
  .hotel__strip .ph:first-child { grid-column: 3 / 5; }
  .rooms { grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
  .room { padding: 26px 28px; }
  .amen { grid-template-columns: repeat(5, auto); justify-content: space-between; margin-top: 48px; }
  .amen li { font-size: 15px; }
}

/* ---------- 5. activities ---------- */
.fun { background: var(--mist); padding: 88px 0 72px; }
.ski { background: #fff; border-radius: var(--r); padding: 20px 18px 8px; }
.ski__top { display: grid; gap: 12px; margin-bottom: 4px; }
.ski__h { font: 500 26px/1 var(--display); text-transform: uppercase; }
.ski__axis { display: flex; justify-content: space-between; font-size: 11px; color: var(--muted); font-variant-numeric: tabular-nums; border-bottom: 1px solid var(--line); padding-bottom: 4px; }
.ski__row { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.ski__row:last-child { border-bottom: 0; }
.ski__name { font-size: 15px; font-weight: 600; }
.ski__name small { display: block; font-size: 13px; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.ski__price { font: 500 24px/1 var(--display); white-space: nowrap; align-self: center; }
.ski__track { grid-column: 1 / -1; position: relative; height: 6px; margin-top: 10px; border-radius: 3px; background: var(--mist); }
.ski__track i { position: absolute; top: 0; bottom: 0; border-radius: 3px; background: var(--ink); left: calc((var(--from) - 8) / 12 * 100%); width: calc((var(--to) - var(--from)) / 12 * 100%); transform-origin: left; }
.ski__row--any .ski__track i { background: var(--red); animation: anytime 8s ease-in-out infinite alternate; }
@keyframes anytime { from { left: calc(.5 / 12 * 100%); } to { left: calc(8.5 / 12 * 100%); } }
.acts { display: grid; gap: 14px; margin-top: 28px; }
.act {
  position: sticky; top: calc(var(--hdr) + 12px);
  height: min(118vw, 560px); border-radius: var(--r); overflow: hidden; color: #fff; background: var(--night);
  box-shadow: 0 -20px 40px -30px rgba(15, 24, 48, .5);
}
.act > img, .act > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.act::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 20, 49, 0) 35%, rgba(12, 20, 49, .85) 100%); }
.act__body { position: absolute; z-index: 1; left: 0; right: 0; bottom: 0; padding: 20px; display: grid; gap: 6px; }
.act__where { font-size: 13px; font-weight: 500; opacity: .8; }
.act__h { font: 600 clamp(32px, 9vw, 56px)/1 var(--display); text-transform: uppercase; margin-bottom: 8px; }
.act__price { display: flex; justify-content: space-between; align-items: baseline; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, .25); }
.act__price + .act__price { padding-top: 6px; border-top: 0; }
.act__price span { font-size: 14px; opacity: .85; }
.act__price b { font: 500 26px/1 var(--display); }
@media (min-width: 960px) {
  .fun { padding: 140px 0 120px; }
  .ski { padding: 32px 36px 16px; display: grid; grid-template-columns: 220px 1fr; column-gap: 48px; }
  .ski__top { grid-column: 1 / -1; grid-template-columns: 220px 1fr; column-gap: 48px; align-items: end; }
  .ski__list { grid-column: 1 / -1; }
  .ski__row { grid-template-columns: 220px 1fr 120px; column-gap: 48px; align-items: center; }
  .ski__track { grid-column: 2; grid-row: 1; margin: 0; }
  .ski__price { grid-column: 3; text-align: right; }
  .acts { grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
  .act { position: relative; top: auto; height: 460px; }
  .act:nth-child(3n + 2) { transform: translateY(48px); }
}

/* ---------- 6. photos ---------- */
.photos { background: var(--night); color: var(--mist); padding: 88px 0 96px; }
.grid { columns: 2; column-gap: 10px; }
.g { break-inside: avoid; margin-bottom: 10px; border-radius: 10px; overflow: hidden; background: var(--night-2); }
.g img, .g video { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.g--tall img { aspect-ratio: 3 / 4.6; }
.g--video video { aspect-ratio: 3 / 4; }
.photos__cta { margin-top: 28px; }
@media (min-width: 960px) {
  .photos { padding: 140px 0; }
  .grid { columns: 4; column-gap: 14px; }
  .g { margin-bottom: 14px; }
  .photos__cta { margin-top: 48px; text-align: center; }
}

/* ---------- 7. booking reprise ---------- */
.book2 { position: relative; color: #fff; padding: 120px 0 110px; overflow: hidden; background: var(--night); }
.book2__bg { position: absolute; inset: -8% 0; width: 100%; height: 116%; object-fit: cover; object-position: 50% 35%; }
.book2__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 20, 49, .92) 0%, rgba(12, 20, 49, .55) 45%, rgba(12, 20, 49, .9) 100%); }
.book2__inner { position: relative; z-index: 1; }
.book2__h { font: 600 clamp(42px, 11.6vw, 112px)/1.02 var(--display); text-transform: uppercase; text-wrap: balance; }
.book2__count { display: flex; gap: 18px; margin-top: 32px; }
.book2__count span { display: grid; }
.book2__count b { font: 500 clamp(40px, 11vw, 96px)/1 var(--display); font-variant-numeric: tabular-nums lining-nums; min-width: 1.1em; }
.book2__count small { font-size: 12px; opacity: .7; }
.book2__sub { margin: 10px 0 28px; font-size: 14px; opacity: .75; }
@media (min-width: 960px) {
  .book2 { padding: 180px 0; }
  .book2__inner { text-align: center; display: grid; justify-items: center; }
  .book2__count { gap: 40px; }
}

/* ---------- 8. footer ---------- */
.foot { background: var(--night); color: var(--mist); padding: 80px 0 calc(96px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line-l); }
.foot__top { display: grid; gap: 44px; }
.foot__logo { width: 96px; height: 96px; margin-bottom: 22px; }
.foot__name { font: 500 clamp(30px, 8.4vw, 52px)/1.05 var(--display); }
.foot__phone { display: inline-block; margin-top: 10px; font: 500 clamp(24px, 6.6vw, 34px)/1.1 var(--sans); text-decoration: none; letter-spacing: -.01em; white-space: nowrap; }
.foot__row { display: flex; flex-wrap: wrap; gap: 0 20px; margin: 8px 0 20px; }
.foot__navh { font-size: 13px; color: var(--frost); margin-bottom: 10px; }
.foot__nav { display: grid; gap: 4px; justify-items: start; align-content: start; }
.foot__nav a { font: 500 22px/1.4 var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; }
.foot__nav a:hover { color: var(--gold); }
.foot__when p:not(.foot__navh) { font-size: 15px; color: var(--mist); }
/* the club's brush lettering, one <path> per letter so they can rise one by one */
.foot__word { margin-top: 64px; color: var(--mist); }
.foot__word svg { display: block; width: 100%; height: auto; overflow: hidden; }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 20px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line-l); font-size: 13px; color: var(--frost); }
.foot__legal a { color: var(--mist); }
@media (min-width: 960px) {
  .foot { padding: 120px 0 40px; }
  .foot__top { grid-template-columns: 1.4fr .6fr .8fr; gap: 64px; }
  .foot__word { margin-top: 96px; }
}

/* ---------- dock + toast ---------- */
.dock {
  position: fixed; z-index: 40; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 7px 7px 7px 18px; border-radius: 999px;
  background: rgba(12, 20, 49, .82); color: #fff;
  -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3);
  box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5);
  transform: translateY(160%); transition: transform .6s var(--ease);
}
.dock.is-on { transform: none; }
.dock__txt { display: grid; line-height: 1.15; }
.dock__txt b { font: 500 18px/1.1 var(--display); }
.dock__txt span { font-size: 11px; opacity: .7; }
@media (min-width: 960px) { .dock { display: none; } }
.toast {
  position: fixed; z-index: 60; left: 50%; bottom: calc(80px + env(safe-area-inset-bottom));
  transform: translate(-50%, 16px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 99px; font-size: 14px; font-weight: 600;
  transition: opacity .3s, transform .4s var(--ease);
}
.toast.is-on { opacity: 1; transform: translate(-50%, 0); }


/* ---------- motion hooks for js/animations.js (see ANIMATIONS.md) ----------
   Nothing here hides content: every element below looks the same without JS.
   Initial states are set from JS only; the one exception is .intro (hero only, failsafe in <head>). */
.intro .hero__media, .intro .hero__seal, .intro .hero__content > * { visibility: hidden; }

/* accent words (the booking date): a gold marker behind the text, drawn with --u (scaleX) */
.mark { position: relative; z-index: 0; white-space: nowrap; padding: 0 .12em; margin: 0 -.04em; }
.mark::before {
  content: ""; position: absolute; z-index: -1; left: 0; right: 0; top: .32em; bottom: .2em; /* cap top - .06em … baseline + .09em (Oswald metrics) */
  background: var(--gold); border-radius: .06em; transform: scaleX(var(--u, 1)) skewX(-6deg); transform-origin: left;
}
.book2__h .mark { color: var(--night); }
.nw { white-space: nowrap; } /* keeps "до 10 грудня" together once SplitText turns words into boxes */

/* SplitText masks: the clip reaches past the line box (Ї/Й above, Д/Ц below) without changing layout */
.sl-mask, .sw-mask { overflow: visible !important; clip-path: inset(-.2em -.15em -.2em); }

/* digit drum: the real digit keeps width and baseline, the column of digits slides over it.
   Rows are spaced by .6em and the clip reaches a bit past the line box, so old-style digits keep
   their ascenders/descenders and never show a neighbour from the column. */
.drums, .drums i { font-style: normal; }
.drum { position: relative; display: inline-block; clip-path: inset(-.25em -.1em -.3em); }
.drum > i:first-child { visibility: hidden; }
.drum__c { position: absolute; left: 0; top: 0; width: 100%; text-align: center; }
.drum__c > i { display: block; padding-bottom: .6em; }

/* schedule: red progress line over the grey one, dots light up when it reaches them */
.timeline__progress { position: absolute; left: 5px; top: 8px; bottom: 8px; width: 1px; background: var(--red); transform-origin: top; }
.tl::after { content: ""; position: absolute; left: 0; top: 6px; width: 11px; height: 11px; border-radius: 50%; background: var(--red); transform: scale(0); transition: transform .3s var(--ease); }
.tl.is-reached::after { transform: none; }
@media (min-width: 960px) {
  .timeline__progress { left: 150px; }
  .tl::after { left: 145px; top: 10px; }
}

/* activities: the darkening layer of a card that is being covered (--dim, opacity only) */
.act::before { content: ""; position: absolute; inset: 0; z-index: 2; background: var(--night); opacity: var(--dim, 0); pointer-events: none; }
@media (hover: hover) and (min-width: 960px) {
  .act > img, .act > video { transition: transform .8s var(--ease); }
  .act:hover > img, .act:hover > video { transform: scale(1.05); }
  .act__price b { transition: color .3s; }
  .act:hover .act__price b { color: var(--gold); }
}

/* buttons: label roll (desktop, wrapper added from JS), Drive arrow */
.roll { position: relative; display: inline-block; margin: -.2em 0; clip-path: inset(0 -.6em); }
.roll > span { display: block; padding: .2em 0; transition: transform .5s var(--ease); }
.roll > span + span { position: absolute; inset: 100% 0 auto; }
.btn:hover .roll > span { transform: translateY(-100%); }
.btn__arr { display: inline-block; transition: transform .4s var(--ease); }
@media (hover: hover) { .btn:hover .btn__arr { transform: translate(3px, -3px); } }
.foot__phone:hover { color: var(--gold); }

/* mobile dock steps aside during a fast scroll down */
.dock.is-on.is-away { transform: translateY(160%); transition-duration: .3s; }

/* Lenis (desktop only), from lenis/dist/lenis.css 1.3.27 */
html.lenis, html.lenis body { height: auto; }
html.lenis { scroll-behavior: auto; } /* Lenis does the smoothing, the native one would stack on top */
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis:not(.lenis-autoToggle).lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

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