/* ==========================================================================
   Photobox — customer landing v4 — site.css
   Monochrome: black & white sections, the inversion is the rhythm.
   Gold #F5C451 only on the gift certificate and the header gift pill;
   green #3DDC84 only for the hero booth's «На звʼязку» status.
   Type: Outfit (Latin) + Onest (Cyrillic companion).
   Performance: no animated filters, no backdrop-filter, blend modes only on
   tiny fixed UI; every moving thing animates transform/opacity.
   Hidden starting states live in site.js (GSAP) or under html.js-anim only.
   ========================================================================== */

/* ---------------------------------------------------------------- tokens */
:root {
  --black: #000000;
  --ink: #0b0b0b;
  --ink-2: #141414;
  --white: #ffffff;
  --gold: #F5C451;
  --online: #3DDC84;
  --mute-on-black: rgba(255, 255, 255, .6);
  --mute-on-white: rgba(0, 0, 0, .58);
  --line-on-black: rgba(255, 255, 255, .16);
  --line-on-white: rgba(0, 0, 0, .14);

  --bg: var(--black);
  --fg: var(--white);
  --mute: var(--mute-on-black);
  --line: var(--line-on-black);

  --f: 'Outfit', 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --gut: 24px;
  --hdr: 64px;
  --pill-w: 150px;
  --wm-top: calc(var(--hdr) + 26px);
  --wm-h: calc((100vw - 2 * var(--gut)) * .128);
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --stripe: repeating-linear-gradient(90deg, currentColor 0 .026em, transparent .026em .052em);
}
@media (max-width: 767px) {
  :root { --gut: 16px; --hdr: 56px; --wm-top: calc(var(--hdr) + 22px); --pill-w: 96px; }
}

/* ------------------------------------------------------------------ base */
*, *::before, *::after { box-sizing: border-box; }
html {
  background: var(--black);
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--black);
  color: var(--white);
  font: 300 16px/1.6 var(--f);
  letter-spacing: .005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  overflow-x: clip;
  text-rendering: optimizeLegibility;
}
img, svg, canvas { display: block; max-width: 100%; }
picture { display: contents; }
picture > source { display: none; }
a { color: inherit; }
button { font: inherit; color: inherit; }
p, h1, h2, h3, ul, ol, figure, blockquote { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { font-weight: inherit; }
:focus { outline: none; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
[tabindex="-1"]:focus-visible { outline: none; }
::selection { background: var(--white); color: var(--black); }
.t-light ::selection { background: var(--black); color: var(--white); }

html.is-locked, html.is-locked body { overflow: hidden; }
/* 3D reveals (perspective + rotateX) must never widen a phone's layout viewport */
#main, .foot { overflow-x: clip; }
/* a stored language is being applied: keep the Ukrainian copy from flashing */
.i18n-wait #main, .i18n-wait .hdr, .i18n-wait .hdr-gift, .i18n-wait .foot { visibility: hidden; }
/* Event rental is offered in Ukrainian and English only (owner, 22.11.2026): every «Оренда на подію»
   entry point carries [data-rent] and goes away for any other page language. It keys off <html lang>,
   which the server writes for ?lang= and site.js applyLang() sets when the visitor switches — so a page
   that stays Ukrainian because the dictionary failed to load keeps the button, matching its text. */
html:not(:lang(uk)):not(:lang(en)) [data-rent] { display: none !important; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  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 {
  position: fixed; z-index: 200; left: var(--gut); top: 12px;
  padding: 12px 18px; background: var(--white); color: var(--black);
  font: 500 11px/1 var(--f); letter-spacing: .1em; text-transform: uppercase;
  text-decoration: none; transform: translateY(-200%); transition: transform .3s var(--ease);
}
.skip:focus { transform: none; }

/* themes ----------------------------------------------------------------- */
.t-dark { --bg: var(--black); --fg: var(--white); --mute: var(--mute-on-black); --line: var(--line-on-black); background: var(--bg); color: var(--fg); }
.t-light { --bg: var(--white); --fg: var(--black); --mute: var(--mute-on-white); --line: var(--line-on-white); background: var(--bg); color: var(--fg); }
.prev-white { background: var(--white); }

/* type ------------------------------------------------------------------- */
.d {
  font-family: var(--f);
  font-weight: 200;
  text-transform: uppercase;
  letter-spacing: -.04em;
  line-height: .9;
}
.label {
  font-family: var(--f);
  font-weight: 500;
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .1em;
  text-transform: uppercase;
}
.mute { color: var(--mute); }
.wrap { padding-left: var(--gut); padding-right: var(--gut); }
.stripe {
  font-family: var(--f);
  font-weight: 800;
  text-transform: uppercase;
  background-image: var(--stripe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 1.4em;
  font: 500 11px/1.5 var(--f);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--mute);
}
.eyebrow__d { letter-spacing: .3em; opacity: .7; white-space: nowrap; }
.eyebrow__t { white-space: nowrap; }

/* SplitText masks: room for Й/Ї/Ґ marks and descenders */
.sl-mask { padding: .14em 0 .06em; margin: -.14em 0 -.06em; }

/* chips ------------------------------------------------------------------ */
.chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li, .chip {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-color: color-mix(in srgb, currentColor 32%, transparent);
  border-radius: 999px;
  font: 500 10.5px/1.2 var(--f);
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.chip--s { min-height: 22px; padding: 3px 10px; font-size: 9.5px; vertical-align: .3em; margin-left: .4em; }

/* rolling link text (site.js wraps the label) ------------------------------ */
.roll { position: relative; display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.25; }
.roll__in { position: relative; display: block; transition: transform .55s var(--ease); }
.roll__in::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
a:hover .roll__in, button:hover .roll__in, a:focus-visible .roll__in { transform: translateY(-100%); }

/* pills ------------------------------------------------------------------ */
.pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 50px;
  padding: 0 28px;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  text-decoration: none;
  font: 500 11px/1.2 var(--f);
  letter-spacing: .1em;
  text-transform: uppercase;
  transition: background-color .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.pill:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.pill .arr { width: 16px; height: 16px; flex: 0 0 auto; transition: transform .5s var(--ease); }
.pill:hover .arr { transform: translateX(5px); }
.pill--gold { color: var(--gold); background: var(--black); border-color: var(--gold); }
.pill--gold:hover { background: var(--gold); color: var(--black); border-color: var(--gold); }
.pill--solid { background: var(--gold); color: var(--black); }
.pill--solid:hover { background: var(--black); color: var(--gold); }
.pill--gold:focus-visible { outline-color: var(--gold); }

/* --------------------------------------------------------------- barcode */
/* Seeded vertical bars; site.js writes the bars and drives --p (0..1). */
.bc {
  position: absolute;
  left: 0;
  width: 100%;
  display: flex;
  overflow: hidden;
  pointer-events: none;
  color: var(--black);
  --p: 0;
}
.bc--top { top: 0; align-items: flex-start; }
.bc--bottom { bottom: 0; align-items: flex-end; }
.bc i {
  display: block;
  flex: 0 0 auto;
  height: 100%;
  background: currentColor;
  transform-origin: 50% 0;
  transform: scaleY(clamp(0, calc((var(--p) - var(--d) * .45) * var(--a)), 1));
}
.bc::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  transform-origin: 50% 0;
  transform: scaleY(clamp(0, calc((var(--p) - .6) * 2.5), 1));
}
.bc--bottom i, .bc--bottom::before { transform-origin: 50% 100%; }

/* ------------------------------------------------------------- aperture */
/* Six black blades open like a camera iris (site.js: Aperture). Transforms only. */
.iris { display: none; }
.js-anim .iris {
  display: block;
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  pointer-events: none;
}
.ap-b {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--Lx, 1600px);
  height: calc(var(--Ly, 1600px) * 2);
  margin-top: calc(var(--Ly, 1600px) * -1);
  transform-origin: 0 50%;
  background: var(--black);
  will-change: transform;
}
.iris.is-shut, .pre__shutter.is-shut { background: var(--black); }
.is-shut > .ap-b, .is-open > .ap-b { display: none; }
.iris.is-open, .pre__shutter.is-open { visibility: hidden; }

/* ----------------------------------------------------- flash, cursor */
.flash {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: var(--white);
  opacity: 0;
  pointer-events: none;
}
.vf { display: none; }
.has-vf .vf, .has-tapfocus .vf {
  display: block;
  position: fixed;
  left: 0;
  top: 0;
  z-index: 98;
  width: 0;
  height: 0;
  pointer-events: none;
  color: var(--white);
  mix-blend-mode: difference;
}
.has-vf, .has-vf a, .has-vf button, .has-vf [data-tilt] { cursor: none; }
.vf__c {
  position: absolute;
  left: 0;
  top: 0;
  width: 12px;
  height: 12px;
  border: 0 solid currentColor;
}
.vf__c--tl { border-top-width: 1.5px; border-left-width: 1.5px; }
.vf__c--tr { border-top-width: 1.5px; border-right-width: 1.5px; }
.vf__c--bl { border-bottom-width: 1.5px; border-left-width: 1.5px; }
.vf__c--br { border-bottom-width: 1.5px; border-right-width: 1.5px; }
.vf__d {
  position: absolute;
  left: -2.5px;
  top: -2.5px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
  transition: opacity .25s;
}
.vf__l {
  position: absolute;
  left: 0;
  top: 0;
  font: 500 9.5px/1 var(--f);
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  opacity: 0;
  transition: opacity .3s var(--ease);
}
.vf.is-view .vf__l { opacity: 1; }
.vf.is-link .vf__d { opacity: 0; }
.vf.is-off { opacity: 0; }

/* -------------------------------------------------------------- progress */
.progress {
  position: fixed;
  z-index: 62;
  left: 0;
  top: 0;
  width: 100%;
  height: 2px;
  pointer-events: none;
  mix-blend-mode: difference;
}
.progress__bar {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--white);
  transform-origin: 0 50%;
  transform: scaleX(0);
}

/* ---------------------------------------------------------------- header */
.hdr {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  right: 0;
  height: var(--hdr);
  padding: 0 var(--gut);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  color: var(--white);
  mix-blend-mode: difference;
  transition: transform .7s var(--ease);
  pointer-events: none;
}
.hdr > * { pointer-events: auto; }
.hdr__l { display: flex; align-items: center; gap: 32px; justify-self: start; }
.hdr__btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.hdr__burger { position: relative; width: 22px; height: 8px; }
.hdr__burger::before, .hdr__burger::after {
  content: '';
  position: absolute;
  left: 0;
  height: 1px;
  background: currentColor;
  transition: width .5s var(--ease), transform .5s var(--ease);
}
.hdr__burger::before { top: 0; width: 100%; }
.hdr__burger::after { bottom: 0; width: 64%; }
.hdr__btn:hover .hdr__burger::after { width: 100%; }
.hdr__link { text-decoration: none; padding: 10px 0; }
.hdr__logo { display: block; padding: 8px 0; }
.hdr__logo svg { width: 104px; height: 21px; }
.hdr__r { justify-self: end; display: flex; align-items: center; padding-right: calc(var(--pill-w) + 22px); }
.hdr-app { display: flex; align-items: center; gap: 8px; margin-right: 22px; }
.hdr-app__l { margin-right: 6px; opacity: .78; }
/* full store cards (owner 02.10: «full google play / app store cards here»). The header blends with
   `difference`, so outline cards on transparent invert over white sections exactly like the icons did. */
.hdr-app__a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 14px 0 11px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, .42);
  color: inherit;
  text-decoration: none;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.hdr-app__a .store__ic { width: 19px; height: 19px; }
.hdr-app__a .store__s { font-size: 9px; }
.hdr-app__a .store__b { font-size: 14.5px; }
a.hdr-app__a[href]:hover { background: var(--white); color: var(--black); }
.hdr-app__a.is-soon { opacity: .42; cursor: default; }
@media (max-width: 1599px) { .hdr-app__l { display: none; } }
/* narrower screens: the cards keep their icon only (the right column cannot fit both cards and the pill) */
@media (max-width: 1339px) {
  .hdr-app__a { width: 40px; padding: 0; justify-content: center; }
  .hdr-app__a .store__t { display: none; }
}
@media (max-width: 767px) { .hdr-app { display: none; } }

/* official-looking store badges, drawn in CSS/SVG */
.store {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 52px;
  padding: 7px 20px 7px 14px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  text-decoration: none;
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.store__ic { flex: 0 0 auto; width: 26px; height: 26px; }
.store__t { display: grid; text-align: left; }
.store__s { font: 400 10.5px/1.2 var(--f); letter-spacing: .02em; opacity: .86; white-space: nowrap; }
.store__b { font: 600 19px/1.08 var(--f); letter-spacing: -.012em; white-space: nowrap; }
a.store[href]:hover { transform: translateY(-3px); box-shadow: 0 16px 30px rgba(0, 0, 0, .25); }
.store.is-soon { cursor: default; opacity: .55; }
.store--s { min-height: 44px; padding: 5px 16px 5px 12px; border-radius: 10px; }
.store--s .store__ic { width: 22px; height: 22px; }
.store--s .store__b { font-size: 16px; }
.menu__apps { display: flex; flex-wrap: wrap; gap: 10px; }

.hdr-lang {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 4px;
  background: none;
  border: 0;
  cursor: pointer;
}
.hdr-lang__ic { width: 13px; height: 13px; transition: transform .45s var(--ease); }
.hdr-lang[aria-expanded="true"] .hdr-lang__ic { transform: rotate(180deg); }
.hdr-gift {
  position: fixed;
  z-index: 61;
  top: calc((var(--hdr) - 38px) / 2);
  right: var(--gut);
  min-height: 38px;
  padding: 0 20px;
  font-size: 10px;
  white-space: nowrap;
  transition: transform .7s var(--ease), background-color .4s var(--ease), color .4s var(--ease);
}
.hdr-hidden .hdr, .hdr-hidden .hdr-gift { transform: translateY(-160%); }
.hdr-gift__s { display: none; }
@media (max-width: 1099px) {
  /* with «Контакти» in the bar, «Підтримка» (also in the menu) would reach the logo on tablets */
  .hdr__link--sup { display: none; }
  .hdr-gift__l { display: none; }
  .hdr-gift__s { display: inline-block; }
}
@media (max-width: 767px) {
  .hdr__link { display: none; }
  .hdr { grid-template-columns: auto auto 1fr; column-gap: 18px; }
  .hdr__r { padding-right: calc(var(--pill-w) + 10px); }
  .hdr-lang__ic { width: 11px; height: 11px; }
  .hdr__logo svg { width: 84px; height: 17px; }
  .hdr-lang { padding: 0 2px; min-height: 32px; }
  .hdr-gift { min-height: 32px; top: calc((var(--hdr) - 32px) / 2); padding: 0 12px; font-size: 9px; letter-spacing: .08em; }
}

/* language picker: a small panel under the header, not blended */
.langs {
  position: fixed;
  z-index: 70;
  top: calc(var(--hdr) - 4px);
  right: var(--gut);
  width: 250px;
  padding: 14px 10px 10px;
  background: #0a0a0a;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 16px;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .55);
}
.langs[hidden] { display: none; }
.langs__t { color: var(--mute-on-black); margin: 0 10px 8px; }
.langs__list { list-style: none; display: grid; gap: 2px; }
.langs__b {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: none;
  color: inherit;
  text-align: left;
  cursor: pointer;
  font: 300 16px/1.2 var(--f);
  transition: background-color .25s, color .25s;
}
.langs__b:hover, .langs__b:focus-visible { background: rgba(255, 255, 255, .1); outline: none; }
.langs__b[aria-pressed="true"] { background: var(--white); color: var(--black); }
.langs__c { flex: 0 0 24px; font: 500 10px/1 var(--f); letter-spacing: .12em; opacity: .62; }

/* ------------------------------------------------------------------ menu */
.menu { position: fixed; inset: 0; z-index: 80; color: var(--white); }
.menu[hidden] { display: none; }
.menu__bars { top: 0; height: 100%; color: var(--black); }
.menu__in {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 0 var(--gut) var(--gut);
  overflow-y: auto;
}
.menu__top {
  flex: 0 0 auto;
  height: var(--hdr);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.menu__close { justify-self: start; display: inline-flex; align-items: center; gap: 12px; padding: 10px 0; background: none; border: 0; cursor: pointer; }
.menu__x { position: relative; width: 16px; height: 16px; }
.menu__x::before, .menu__x::after { content: ''; position: absolute; left: -2px; right: -2px; top: 50%; height: 1px; background: currentColor; transform: rotate(45deg); }
.menu__x::after { transform: rotate(-45deg); }
.menu__logo { width: 104px; height: 21px; }
/* the menu's own language button (it hides the header's): opens the same #langs panel, which langPicker
   then moves into the menu so it sits above the overlay and inside its focus trap */
.menu__lang { justify-self: end; }
.menu__nav { flex: 1 0 auto; display: flex; align-items: center; padding: 2vh 0; }
.menu__list { list-style: none; width: 100%; counter-reset: menu-n; }
.menu__list li { border-top: 1px solid var(--line-on-black); counter-increment: menu-n; }
/* the 01, 02 … are counted, not typed: an item hidden for a language ([data-rent]) leaves no gap */
.menu__n::before { content: counter(menu-n, decimal-leading-zero); }
.menu__list li:last-child { border-bottom: 1px solid var(--line-on-black); }
.menu__a { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); padding: .2vh 0; text-decoration: none; }
.menu__n { flex: 0 0 auto; width: 32px; color: var(--mute-on-black); }
.menu__m { position: relative; display: block; overflow: hidden; padding-top: .14em; }
.menu__t {
  position: relative;
  display: block;
  font: 200 clamp(30px, min(5.8vw, 6.6vh), 96px)/.98 var(--f);
  letter-spacing: -.04em;
  text-transform: uppercase;
  transition: transform .6s var(--ease);
}
.menu__t::after { content: attr(data-text); position: absolute; left: 0; top: 112%; }
.menu__a:hover .menu__t, .menu__a:focus-visible .menu__t { transform: translateY(-112%); }
.menu__a--gold { color: var(--gold); }
.menu__foot { flex: 0 0 auto; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 40px; }
.menu__meta { display: grid; gap: 4px; }
.menu__contacts { list-style: none; display: flex; flex-wrap: wrap; gap: 14px 36px; }
.menu__c { display: grid; gap: 2px; text-decoration: none; }
.menu__cv { font: 300 15px/1.3 var(--f); }
.menu__c:hover .menu__cv { text-decoration: underline; text-underline-offset: .2em; }

/* socials ---------------------------------------------------------------- */
.socials { list-style: none; display: flex; gap: 10px; }
.menu__socials { gap: 12px; }
.soc {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.soc svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.soc:hover { background: var(--white); color: var(--black); }

/* ------------------------------------------------------------- preloader */
.pre { display: none; }
.js-pre .pre {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 110;
  background: var(--black);
  color: var(--white);
}
.js-pre .pre.is-out { background: transparent; }
.pre__shutter { position: absolute; inset: 0; overflow: hidden; }
.js-pre, .js-pre body { overflow: hidden; }
.pre__ap {
  position: absolute;
  left: 50%;
  top: 46%;
  width: min(44vmin, 360px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  transition: opacity .2s;
}
.ap { width: 100%; height: 100%; overflow: visible; }
.ap__ring { fill: none; stroke: rgba(255, 255, 255, .5); stroke-width: .6; }
.ap__ring--in { stroke: rgba(255, 255, 255, .22); }
.ap__light { fill: var(--white); }
.ap__blade { fill: #101010; stroke: rgba(255, 255, 255, .55); stroke-width: .7; }
.ap__ticks line { stroke: rgba(255, 255, 255, .45); stroke-width: .6; }
.pre__label { position: absolute; left: var(--gut); bottom: var(--gut); display: flex; align-items: center; gap: 10px; transition: opacity .2s; }
.pre__rec { width: 7px; height: 7px; border-radius: 50%; background: var(--white); animation: blink 1s steps(2) infinite; }
.pre__count {
  position: absolute;
  right: var(--gut);
  bottom: calc(var(--gut) - .12em);
  font: 200 clamp(72px, 13vw, 200px)/.8 var(--f);
  letter-spacing: -.05em;
  font-variant-numeric: tabular-nums;
  transition: opacity .2s;
}
.pre.is-out .pre__label, .pre.is-out .pre__count, .pre.is-out .pre__ap { opacity: 0; }
@keyframes blink { 50% { opacity: .15; } }

/* ------------------------------------------------------------------ hero */
.stage { position: relative; background: var(--black); }
.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  background: var(--black);
  color: var(--white);
  perspective: 1000px;
  perspective-origin: 50% 46%;
  --bleed: 30px;
}
.hero__scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  transform-origin: 50% 62%;
}
.hero__cam { position: absolute; inset: 0; transform-origin: 56% 52%; }
.hero__scene.is-3d, .hero__scene.is-3d .hero__cam { transform-style: preserve-3d; }
.grp { position: absolute; inset: 0; }
.lay {
  position: absolute;
  inset: calc(var(--bleed) * -1);
  pointer-events: none;
  will-change: transform;
}
.lay picture { display: block; width: 100%; height: 100%; }
.lay img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 58% 50%; }
@media (max-aspect-ratio: 4/5) {
  .lay img { object-position: 50% 50%; }
}
.js .lay--glow img { animation: breathe 6.5s ease-in-out infinite; }
@keyframes breathe {
  0%, 100% { opacity: .58; }
  16% { opacity: .92; }
  18% { opacity: .66; }
  20% { opacity: .96; }
  48% { opacity: 1; }
  74% { opacity: .72; }
}
/* «На звʼязку»: a green status aura under the booth, a double blink then rest */
.lay--online img { opacity: .5; }
.js .lay--online img { animation: online 2.8s linear infinite; }
@keyframes online {
  0%, 100% { opacity: .12; }
  7% { opacity: .95; }
  13% { opacity: .3; }
  19% { opacity: 1; }
  34% { opacity: .12; }
}
.lay--wm {
  inset: auto;
  left: var(--gut);
  right: var(--gut);
  top: var(--wm-top);
  height: var(--wm-h);
}
.wm-cv { display: none; width: 100%; height: 100%; }
.wm-on .wm-cv { display: block; }
.wm-on .wm-css { display: none; }
.wm-css {
  margin: 0;
  font-family: var(--f);
  font-weight: 800;
  font-size: calc((100vw - 2 * var(--gut)) / 5.35);
  line-height: .74;
  letter-spacing: -.01em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  color: var(--white);
  padding-top: .02em;
}
.wm-css .fit { display: inline-block; vertical-align: top; }
.wm-css .ch {
  display: inline-block;
  background-image: var(--stripe);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__dust { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero__chip-wrap {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 82%;
  display: flex;
  flex-direction: column;
  align-items: center;
  translate: -50% 0;
  pointer-events: none;
}
.hero__chip-wrap.is-left { align-items: flex-start; translate: -16px 0; }
.hero__chip-wrap.is-left .hero__chip-line { margin-left: 15px; }
.hero__chip-line { width: 1px; height: 26px; background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .8)); }
.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 12px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: rgba(0, 0, 0, .72);
  font-size: 10px;
  white-space: nowrap;
}
.hero__on { color: var(--online); margin-right: -6px; }
.hero__chip-sep { margin-right: -6px; }
.pulse { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--white); }
.pulse::after {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  border: 1px solid var(--white);
  animation: pulse 2s var(--ease) infinite;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(3.4); opacity: 0; } }
/* the chip's green dot blinks with the aura: same 2.8 s clock, started together */
.pulse--on { background: var(--online); }
.pulse--on::after { border-color: var(--online); animation: onlineRing 2.8s linear infinite; }
.js .pulse--on { animation: onlineDot 2.8s linear infinite; }
@keyframes onlineDot {
  0%, 100% { opacity: .45; }
  7% { opacity: 1; }
  13% { opacity: .55; }
  19% { opacity: 1; }
  34% { opacity: .45; }
}
@keyframes onlineRing {
  0%, 6% { transform: scale(1); opacity: 0; }
  7% { transform: scale(1); opacity: .9; }
  18% { transform: scale(2.4); opacity: .5; }
  19% { transform: scale(1); opacity: .9; }
  40% { transform: scale(3.6); opacity: 0; }
  100% { transform: scale(3.6); opacity: 0; }
}

.hero__shade { position: absolute; inset: 0; z-index: 2; background: var(--black); opacity: 0; pointer-events: none; }
/* boot: the intro's first frame, painted before site.js runs (repeat visits have no preloader to cover it) */
.js-boot #home .hero__cam { transform: scale(1.16); }
.js-boot #home .hero__shade { opacity: .62; }
.js-boot #home [data-grp="wm"], .js-boot #home [data-intro], .js-boot #home [data-chip], .js-boot #home [data-hero-title] { visibility: hidden; }
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(34% 40% at 98% 36%, rgba(0, 0, 0, .66), rgba(0, 0, 0, 0) 72%),
    linear-gradient(90deg, rgba(0, 0, 0, .55) 0%, rgba(0, 0, 0, .25) 26%, rgba(0, 0, 0, 0) 42%),
    linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, 0) 22%, rgba(0, 0, 0, 0) 62%, rgba(0, 0, 0, .74) 100%);
}
.hero__ui {
  position: absolute;
  inset: 0;
  z-index: 6;
  pointer-events: none;
}
.hero__ui a, .hero__ui button { pointer-events: auto; }
.hero__kicker {
  position: absolute;
  left: var(--gut);
  top: calc(var(--hdr) + 2px);
  color: rgba(255, 255, 255, .78);
}
/* the counters and «Оренда на подію» (opens the contacts popup) as one right-aligned column */
.hero__side {
  position: absolute;
  right: var(--gut);
  top: calc(var(--wm-top) + var(--wm-h) + 3.2vh);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: clamp(20px, 3.6vh, 40px);
}
.hero__kpi {
  list-style: none;
  display: flex;
  gap: clamp(28px, 4vw, 64px);
}
/* scales with the screen: a 50 px pill on a laptop, ~76 px on a full-HD / full-screen desktop */
.hero__rent {
  color: var(--white);
  min-height: clamp(50px, 3.9vw, 78px);
  padding: 0 clamp(28px, 2.2vw, 46px);
  gap: clamp(14px, 1vw, 20px);
  font-size: clamp(11px, .82vw, 16px);
}
.hero__rent .arr { width: clamp(16px, 1.1vw, 22px); height: clamp(16px, 1.1vw, 22px); }
.hero__rent:hover { background: var(--white); color: var(--black); border-color: var(--white); }
.hero__kpi li { display: flex; flex-direction: column; gap: 8px; }
.kpi__n { font: 200 clamp(46px, 5.4vw, 92px)/.8 var(--f); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.hero__main {
  position: absolute;
  left: var(--gut);
  bottom: var(--gut);
  width: min(46vw, 660px);
}
.hero__title { font-size: clamp(60px, min(7.3vw, 13.5vh), 136px); line-height: .84; }
/* longer slogans (DE «Halten Sie den Moment fest») stay on two lines */
html[lang="de"] .hero__title { font-size: clamp(40px, min(4.6vw, 9vh), 88px); }
.hero__lead { margin: 24px 0 0; font-size: clamp(14px, 1.04vw, 16px); line-height: 1.55; color: rgba(255, 255, 255, .86); }
.hero__cue {
  position: absolute;
  right: var(--gut);
  width: 124px;
  bottom: calc(var(--gut) + 124px + 26px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.hero__cue-line { width: 1px; height: 40px; background: currentColor; transform-origin: 50% 0; animation: cue 2.2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 45% { transform: scaleY(1); transform-origin: 50% 0; } 55% { transform: scaleY(1); transform-origin: 50% 100%; } 100% { transform: scaleY(0); transform-origin: 50% 100%; } }

.badge {
  position: absolute;
  right: var(--gut);
  bottom: var(--gut);
  width: 124px;
  height: 124px;
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  color: var(--white);
  transition: background-color .45s var(--ease), color .45s var(--ease);
}
.badge:hover { background: var(--white); color: var(--black); }
.badge__ring { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); animation: spin 22s linear infinite; }
.badge__ring text { font: 500 8px var(--f); letter-spacing: .14em; fill: currentColor; text-transform: uppercase; }
.badge__arrow { width: 22px; height: 22px; transform: rotate(90deg); transition: transform .5s var(--ease); }
.badge:hover .badge__arrow { transform: rotate(45deg); }
@keyframes spin { to { transform: rotate(360deg); } }

/* hero · portrait framing (phones, tablets upright) */
@media (max-aspect-ratio: 4/5) {
  .hero { --bleed: 16px; }
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(0, 0, 0, .25) 0%, rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, 0) 64%, rgba(0, 0, 0, .78) 84%, rgba(0, 0, 0, .9) 100%);
  }
  .hero__side { top: calc(var(--wm-top) + var(--wm-h) + 20px); gap: 16px; }
  .hero__kpi { gap: 18px; }
  /* portrait: the pill is wider than the counters, so it drops below the two-line title (still right-aligned) */
  .hero__rent { position: absolute; right: 0; top: calc(clamp(46px, 13.4vw, 110px) * 1.68 + 10px); min-height: 40px; padding: 0 16px; gap: 10px; font-size: 10px; white-space: nowrap; }
  .kpi__n { font-size: clamp(34px, 9vw, 72px); }
  .hero__kpi li { gap: 4px; }
  .hero__main { position: static; width: auto; }
  .hero__title {
    position: absolute;
    left: var(--gut);
    top: calc(var(--wm-top) + var(--wm-h) + 16px);
    font-size: clamp(46px, 13.4vw, 110px);
  }
  html[lang="de"] .hero__title { font-size: clamp(34px, 9vw, 72px); }
  .hero__lead { position: absolute; left: var(--gut); right: var(--gut); }
  .hero__lead { bottom: var(--gut); margin: 0; max-width: 40ch; font-size: 14px; }
  .hero__lead .br-l { display: none; }
  .badge, .hero__cue { display: none; }
  .hero__chip { font-size: 9px; padding: 6px 12px 6px 10px; }
}
@media (max-aspect-ratio: 4/5) and (min-width: 600px) {
  .badge { display: grid; bottom: calc(var(--gut) + 140px); }
  .hero__lead { bottom: var(--gut); font-size: 16px; }
}
@media (min-aspect-ratio: 801/1000) and (max-width: 1100px) {
  .hero__main { width: min(48vw, 560px); }
  .hero__lead { display: none; }
}
@media (min-aspect-ratio: 801/1000) and (max-height: 640px) {
  .hero__lead { display: none; }
}

/* ------------------------------------------- network: tunnel → ring (3) */
/* static (no JS / reduced motion): heading, then a native horizontal strip of booths */
.net { position: relative; background: var(--black); color: var(--white); }
.net__head { padding-top: 14vh; padding-bottom: 6vh; }
.net__title { font-size: clamp(54px, 10vw, 180px); margin-top: 26px; line-height: .98; }
.net__lead { max-width: 40ch; margin-top: 26px; font-size: clamp(16px, 1.25vw, 19px); color: var(--mute); }
.tun { display: none; }
.ring__spin {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 var(--gut) 14vh;
  scrollbar-width: none;
}
.rc { position: relative; flex: 0 0 auto; width: min(62vw, 300px); scroll-snap-align: start; }
.rc__f img, .tc img { display: block; width: 100%; aspect-ratio: 3 / 4.4; object-fit: cover; background: #111; color: transparent; }
.rc__b { display: none; }
.rc__l, .tc__l { display: flex; gap: 10px; margin-top: 10px; color: rgba(255, 255, 255, .86); font-size: 10px; white-space: nowrap; }
.rc__n, .tc__n { color: rgba(255, 255, 255, .45); }

/* motion: a real 3D world */
/* the layer stays invisible until stage() has placed the cards and hidden the heading —
   on desktop it sits over the hero, and before that it flashed «Де нас знайти» on load */
.js-anim .net:not(.is-set) { visibility: hidden; }
.js-anim .net__vp {
  position: relative;
  height: 84vh;
  height: 84svh;
  overflow: hidden;
  perspective: 820px;
  perspective-origin: 50% 50%;
}
.js-anim .net__world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.js-anim .tun, .js-anim .ring { position: absolute; left: 0; top: 0; width: 0; height: 0; transform-style: preserve-3d; }
.js-anim .ring { will-change: transform; }
.js-anim .ring__spin {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  display: block;
  overflow: visible;
  padding: 0;
  transform-style: preserve-3d;
  will-change: transform;
}
.js-anim .tc, .js-anim .rc { position: absolute; left: 0; top: 0; margin: 0; }
.js-anim .tc { pointer-events: none; }
.js-anim .tc img { aspect-ratio: auto; width: 100%; height: auto; box-shadow: 0 30px 60px rgba(0, 0, 0, .5); }
.js-anim .tc__l { position: absolute; left: 0; top: 100%; }
.js-anim .rc { transform-style: preserve-3d; pointer-events: none; }
.js-anim .rc__f, .js-anim .rc__b {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  opacity: var(--a, 1);
}
.js-anim .rc__f { transition: transform .6s var(--ease); }
.js-anim .rc__f img { height: 100%; aspect-ratio: auto; }
.js-anim .rc__l { position: absolute; left: 0; top: 100%; }
.js-anim .rc__b {
  display: grid;
  place-items: center;
  transform: rotateY(180deg);
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, .16);
}
.js-anim .rc__b svg { width: 22%; height: auto; color: rgba(255, 255, 255, .55); }
.js-anim .net.is-ring .rc { pointer-events: auto; }
.js-anim .net__vp.is-off, .js-anim .mom__vp.is-off { content-visibility: hidden; }
/* three rows of greyed booths slide behind the ring (row 1 →, row 2 ←, row 3 →) */
.net__rows { display: none; }
.js-anim .net__rows {
  display: grid;
  position: absolute;
  inset: 0;
  align-content: center;
  gap: 1.8vh;
  opacity: 0;
  pointer-events: none;
}
.js-anim .net__rows::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(70% 80% at 0% 0%, rgba(0, 0, 0, .92), rgba(0, 0, 0, 0) 68%),
    linear-gradient(180deg, rgba(0, 0, 0, .6), rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0) 80%, rgba(0, 0, 0, .65));
}
.rowx { height: 25vh; overflow: hidden; }
.rowx__t { display: flex; gap: 12px; height: 100%; width: max-content; will-change: transform; }
.rowx__t img { display: block; height: 100%; width: auto; background: #0c0c0c; }
.js-anim .rc:hover .rc__f { transform: translate3d(0, -10px, 40px); }
@media (max-width: 767px) {
  /* three real rows centred behind the ring (a 24% height of an auto grid track collapsed them to
     40 px strips spread over the whole viewport, one right under the lead) */
  .js-anim .net__rows { opacity: .4; gap: 8px; grid-auto-rows: max-content; }
  .rowx { height: clamp(64px, 9.5svh, 96px); }
  .js-anim .net__rows::after { background: linear-gradient(180deg, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0) 25%, rgba(0, 0, 0, 0) 75%, rgba(0, 0, 0, .7)); }
  .js-anim .net__head { padding-bottom: 0; }
  .js-anim .rc { pointer-events: auto; }
}
@media (min-width: 768px) {
  .js-anim .net { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: transparent; }
  .js-anim .net__vp { position: absolute; inset: 0; height: auto; }
  .js-anim .tun { display: block; }
  .js-anim .net__head {
    position: absolute;
    z-index: 2;
    left: 0;
    top: calc(var(--hdr) + 3vh);
    padding: 0 var(--gut);
    width: min(46vw, 640px);
  }
  .js-anim .net__title { font-size: clamp(48px, 7.2vw, 132px); margin-top: 20px; }
  .js-anim .net__lead { max-width: 34ch; margin-top: 20px; color: rgba(255, 255, 255, .72); }
}

/* --------------------------------------- cities: formats, stats, map (4) */
/* Formats, counters and map share one centred container on wide screens. */
.netx { position: relative; background: var(--black); }
.netx__iris { position: relative; padding-bottom: 22vh; overflow: hidden; }
.netx__screen {
  position: relative;
  z-index: 1;
  width: min(100%, 1600px);
  margin-inline: auto;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3vh;
  padding: calc(var(--hdr) + 2vh) 0 3vh;
}
.netx__screen > .wrap { width: 100%; min-width: 0; }
.netx__head, .fmt, .netx__grid, .app__grid { position: relative; z-index: 1; }
.fmt { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: var(--gut); }
.fmt__i { position: relative; padding: 14px 0 0; --ln: 1; }
.fmt__i::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--fg); transform-origin: 0 50%; transform: scaleX(var(--ln)); }
.fmt__n { color: var(--mute); }
.fmt__t { font-size: clamp(22px, min(2.3vw, 4.4vh), 46px); line-height: .94; margin: 10px 0 8px; -webkit-hyphens: auto; hyphens: auto; }
.fmt__p { max-width: 26ch; font-size: clamp(13px, .95vw, 15px); color: var(--mute); }
.netx__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: 32px;
  align-items: center;
}
.netx__stats { grid-column: 1 / 5; min-width: 0; }
.stat { padding: 2.6vh 0; border-top: 1px solid var(--line); }
.stat:first-child { border-top: 0; padding-top: 0; }
.stat__h { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 16px; }
.stat__n { font-size: clamp(64px, min(7.6vw, 13.5vh), 156px); line-height: .8; font-variant-numeric: tabular-nums; }
.stat__w { font-size: clamp(22px, min(2.2vw, 4vh), 42px); line-height: .9; }
.stat__sub { margin-top: 12px; }
.map { grid-column: 5 / 13; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; }
.map__frame { position: relative; width: min(100%, calc(min(52vh, 580px) * 700 / 473)); aspect-ratio: 700 / 473; }
.map__scan { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .3s var(--ease); }
.map__scan.is-drawn, html:not(.js-anim) .map__scan { opacity: 1; }
.map__cities { list-style: none; position: absolute; inset: 0; }
.city {
  position: absolute;
  left: calc(var(--x) * 100%);
  top: calc(var(--y) * 100%);
  display: flex;
  align-items: center;
  gap: 6px;
  transform: translate(-7px, -50%);
}
.city__dot {
  position: relative;
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--black);
  border: 3px solid var(--white);
  outline: 1px solid var(--black);
}
.city__dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid var(--black); animation: pulse 2.4s var(--ease) infinite; animation-delay: calc(var(--i) * .4s); }
.city__name { background: var(--white); color: var(--black); padding: 1px 7px; white-space: nowrap; font-size: 10px; border: 1px solid var(--black); }
.js-anim .city { opacity: 0; transition: opacity .5s var(--ease); }
.js-anim .city__dot { transform: scale(0); transition: transform .7s cubic-bezier(.3, 1.6, .5, 1); }
.js-anim .is-lit .city { opacity: 1; transition-delay: calc(var(--i) * .14s); }
.js-anim .is-lit .city__dot { transform: none; transition-delay: calc(var(--i) * .14s); }
.map__cta { margin-top: 2.6vh; }
.netx__rise { height: 22vh; color: var(--black); }
@media (max-width: 1023px) {
  .fmt { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 26px; }
  .netx__stats, .map { grid-column: 1 / -1; }
  .netx__screen { min-height: 0; padding: 14vh 0 8vh; gap: 5vh; }
  .map__frame { width: 100%; }
}
@media (max-width: 767px) {
  .netx__iris { padding-bottom: 18vh; }
  .netx__screen { padding: 12vh 0 6vh; }
  .fmt__t { font-size: clamp(24px, 7.8vw, 40px); }
  .stat__n { font-size: 26vw; }
  .map__cta { width: 100%; }
  .city__dot { width: 12px; height: 12px; border-width: 2px; }
  .city__name { font-size: 9px; padding: 0 5px; }
  .netx__rise { height: 18vh; }
}

/* --------------------------------------------- moments: 3D statement (5) */
/* static: the statement, then a grid of real prints */
.mom { position: relative; background: var(--black); }
.mom__pin { position: relative; }
.mom__vp { padding: 14vh var(--gut) 6vh; }
.mom__world { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 28px; align-items: start; }
.mom__txt { grid-column: 1 / -1; text-align: center; margin-bottom: 6vh; }
.mom__title {
  font: 800 clamp(56px, 13.6vw, 250px)/.82 var(--f);
  letter-spacing: -.055em;
  text-transform: uppercase;
  color: var(--white);
}
.mp { position: relative; background: var(--white); box-shadow: 0 26px 60px rgba(0, 0, 0, .6); }
.mp img { display: block; width: 100%; height: auto; color: transparent; }
.mp__l { position: absolute; left: 0; top: calc(100% + 8px); color: rgba(255, 255, 255, .6); font-size: 9px; white-space: nowrap; }
.mom__meta { padding-bottom: 10vh; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 30px; }
.mom__cap { color: rgba(255, 255, 255, .6); font-size: 10px; }
/* motion: a pinned 3D field; the type sits on the z = 0 plane, prints fly through it */
.js-anim .mom__pin { height: 100vh; height: 100svh; overflow: hidden; }
.js-anim .mom__vp { position: absolute; inset: 0; padding: 0; perspective: 900px; perspective-origin: 50% 50%; }
.js-anim .mom__world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; display: block; transform-style: preserve-3d; will-change: transform; }
.js-anim .mom__txt {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--mw, 100vw);
  margin: 0 0 0 calc(var(--mw, 100vw) / -2);
  transform: translate3d(0, -50%, 0);
  transform-style: preserve-3d;
  pointer-events: none;
}
.js-anim .mom__txt .mom__title { font-size: 1em; }
.js-anim .mom__title .w { opacity: .16; }
.js-anim .mom__ghost {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  color: transparent;
  -webkit-text-stroke: 1.2px var(--white);
}
.js-anim .mom__ghost .w { opacity: 1; }
.js-anim .mp { position: absolute; left: 0; top: 0; visibility: hidden; }
.js-anim .mom__meta { position: absolute; z-index: 3; left: 0; right: 0; bottom: var(--gut); padding-bottom: 0; }
@media (max-width: 767px) {
  .mom__world { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mom__title { font-size: clamp(48px, 16.5vw, 120px); }
  .js-anim .mp--x { display: none; }
  .js-anim .mom__meta { flex-direction: column; align-items: flex-start; gap: 6px; }
}

/* ------------------------------------------------------- app slide (6) */
.app { position: relative; background: var(--black); }
.app__iris { position: relative; padding-bottom: 22vh; overflow: hidden; }
.app__grid {
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  align-items: center;
  padding-top: calc(var(--hdr) + 3vh);
  padding-bottom: 4vh;
}
.app__txt { grid-column: 1 / 7; }
.app__title { font-size: clamp(48px, min(7vw, 12.5vh), 130px); line-height: .9; margin-top: 22px; }
.app__lead { margin-top: 22px; max-width: 38ch; font-size: clamp(16px, 1.25vw, 19px); color: var(--mute); }
.app__feats { list-style: none; margin-top: 3.2vh; max-width: 560px; border-top: 1px solid var(--line); }
.app__f { display: flex; gap: 18px; align-items: baseline; padding: 1.3vh 0; border-bottom: 1px solid var(--line); font-size: clamp(15px, 1.1vw, 17px); line-height: 1.35; }
.app__fn { flex: 0 0 22px; color: var(--mute); }
.app__stores { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 3.4vh; }
.app__vis { grid-column: 7 / 13; display: grid; place-items: center; perspective: 1600px; }
.app__tilt { transform-style: preserve-3d; }
.aphone {
  position: relative;
  width: min(350px, 38vh, 70vw);
  aspect-ratio: 9 / 19.2;
  padding: 10px;
  border-radius: 50px;
  background: linear-gradient(160deg, #2a2a2a, #050505 40%, #1b1b1b);
  box-shadow: 0 60px 120px rgba(0, 0, 0, .3), 0 0 0 1.5px #3a3a3a inset, 0 0 0 1px #000;
  transform-style: preserve-3d;
}
.aphone__btn { position: absolute; width: 3px; background: #202020; border-radius: 2px; }
.aphone__btn--a { left: -3px; top: 18%; height: 7%; }
.aphone__btn--b { left: -3px; top: 28%; height: 11%; }
.aphone__btn--c { right: -3px; top: 24%; height: 14%; }
.aphone__scr {
  position: relative;
  height: 100%;
  border-radius: 41px;
  overflow: hidden;
  background: #f4f4f4;
  color: var(--black);
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 44px 12px 14px;
}
.aphone__island { position: absolute; z-index: 2; left: 50%; top: 9px; width: 30%; height: 24px; margin-left: -15%; border-radius: 20px; background: #000; }
.aphone__status { position: absolute; left: 0; right: 0; top: 0; height: 42px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px 0 28px; font: 600 11px/1 var(--f); }
.aphone__status i { position: relative; width: 20px; height: 9px; border-radius: 3px; border: 1px solid currentColor; }
.aphone__status i::after { content: ''; position: absolute; left: 1px; top: 1px; bottom: 1px; width: 70%; background: currentColor; border-radius: 1px; }
.aphone__bar { display: flex; justify-content: center; }
.aphone__bar svg { width: 82px; height: 16px; }
.aphone__h { font: 600 13px/1.2 var(--f); }
.aphone__hero { border-radius: 12px; overflow: hidden; box-shadow: 0 8px 20px rgba(0, 0, 0, .14); }
.aphone__hero img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.aphone__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.aphone__grid img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 5px; }
.aphone__cta { margin-top: auto; padding: 11px 10px; border-radius: 999px; background: var(--black); color: var(--white); text-align: center; font: 500 11.5px/1.2 var(--f); }
.app__rise { height: 22vh; color: var(--black); }
@media (max-width: 1023px) {
  .app__grid { min-height: 0; padding-top: 14vh; padding-bottom: 8vh; row-gap: 7vh; }
  .app__txt, .app__vis { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .app__iris { padding-bottom: 18vh; }
  .app__rise { height: 18vh; }
  .app__stores .store { flex: 1 1 150px; justify-content: center; padding-left: 10px; padding-right: 12px; }
  .store__b { font-size: 17px; }
  .aphone { width: min(250px, 66vw); border-radius: 42px; }
  .aphone__scr { border-radius: 34px; }
}

/* ------------------------------------------------ more: «10+» (7) */
.more { position: relative; padding-bottom: 22vh; overflow: hidden; background: var(--black); color: var(--white); }
.more__pin {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(var(--hdr) + 4vh) 0 8vh;
  text-align: center;
}
.more__num { font: 800 clamp(150px, min(31vw, 52vh), 560px)/.8 var(--f); letter-spacing: -.06em; }
.more__cv { display: none; }
.more__txt { position: relative; z-index: 1; max-width: 980px; margin-top: 4vh; }
.more__eyebrow { justify-content: center; }
.more__title { font-size: clamp(30px, min(4.6vw, 8.4vh), 92px); line-height: .92; margin-top: 18px; }
.more__lead { margin: 18px auto 0; max-width: 46ch; font-size: clamp(16px, 1.3vw, 20px); color: var(--mute); }
.more__rise { height: 22vh; color: var(--white); }
.js-anim .more__pin { height: 100vh; height: 100svh; min-height: 560px; justify-content: flex-end; padding-bottom: 9vh; }
.js-anim .more__cv { display: block; position: absolute; inset: 0; width: 100%; height: 100%; }
.js-anim .more__num { display: none; }
@media (max-width: 767px) {
  .more { padding-bottom: 18vh; }
  .more__rise { height: 18vh; }
  .js-anim .more__pin { padding-bottom: 10vh; }
}

/* ---------------------------------------------------------- what (8) */
.what { position: relative; overflow: hidden; padding: 16vh 0 calc(18vh + 12vh); }
.what__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: 26px;
  align-items: start;
}
.what__eyebrow { grid-column: 1 / -1; }
.what__q { grid-column: 1 / -1; font: 300 clamp(22px, 2.2vw, 34px)/1.15 var(--f); letter-spacing: -.01em; }
.what__word {
  grid-column: 1 / -1;
  font-size: calc((100vw - 2 * var(--gut)) / 5.4);
  line-height: 1;
  white-space: nowrap;
  overflow: hidden;
  font-weight: 200;
}
.what__word .fit { display: inline-block; vertical-align: top; padding: .08em 0 .06em; }
.what__word .ch { display: inline-block; text-align: center; }
.what__tr { grid-column: 1 / span 4; color: var(--mute); }
.what__def { grid-column: 6 / -1; }
.what__text { max-width: 58ch; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.65; }
.what__chips { margin-top: 26px; }
/* Four short benefits, with paired rows on smaller desktops and tablets. */
.what__feat { grid-column: 1 / -1; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px var(--gut); margin-top: 7vh; border-top: 1px solid var(--line); }
.wf { min-width: 0; display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 16px; row-gap: 10px; align-items: baseline; padding-top: 26px; }
.wf__n { color: var(--mute); }
.wf__t { font: 300 clamp(22px, 2vw, 34px)/1.08 var(--f); letter-spacing: -.02em; text-transform: uppercase; }
.wf__p { grid-column: 2; max-width: 34ch; color: var(--mute); font-size: clamp(14px, 1.02vw, 16px); line-height: 1.55; }
.what__rise { height: 18vh; color: var(--black); }
/* the 3D camera from the /session popup (assets/cam3d.js): floats behind the dictionary, top right */
.what__cam {
  position: absolute;
  z-index: 0;
  top: 1vh;
  right: max(0px, calc(var(--gut) - 2vw));
  width: clamp(280px, 31vw, 560px);
  aspect-ratio: 6 / 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 1.4s var(--ease);
}
.what__cam.is-on { opacity: 1; }
.what__cam canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; }
.what__cam-fx { position: absolute; left: 0; top: 0; width: 0; height: 0; color: var(--black); }
.what__cam-fx svg, .what__cam-fx i { position: absolute; left: 0; top: 0; opacity: 0; }
.what__cam-fx svg { width: clamp(40px, 4.4vw, 76px); height: clamp(40px, 4.4vw, 76px); }
.what__cam-fx i { width: clamp(120px, 13vw, 230px); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; box-shadow: 0 0 0 1px rgba(255, 255, 255, .7); }
@media (max-width: 1279px) {
  .what__feat { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .what { padding: 12vh 0 14vh; }
  .what__tr, .what__def { grid-column: 1 / -1; }
  .what__feat { grid-template-columns: 1fr; row-gap: 0; margin-top: 5vh; }
  .wf { padding: 20px 0; border-bottom: 1px solid var(--line); }
  .what__rise { height: 14vh; }
  .what__cam { top: 0; right: -2vw; width: 52vw; }
}

/* ---------------------------------------------------------- gift (10) */
.gift { position: relative; padding: 22vh 0 calc(22vh + 14vh); overflow: hidden; }
.gift__seam { position: absolute; z-index: 2; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, rgba(245, 196, 81, 0), rgba(245, 196, 81, .7), rgba(245, 196, 81, 0)); transform-origin: 50% 50%; }
.gift__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: 64px;
}
.gift__txt { grid-column: 1 / 7; }
.gift__eyebrow { color: var(--gold); }
.gift__title { font-size: clamp(50px, 7.4vw, 128px); margin: 28px 0 32px; }
.gift__lead { color: rgba(255, 255, 255, .8); max-width: 48ch; font-size: clamp(16px, 1.2vw, 18px); }
.perks { list-style: none; margin: 34px 0 26px; border-top: 1px solid rgba(245, 196, 81, .3); }
.perks li { display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid rgba(245, 196, 81, .3); font-size: 16px; }
.perks__ic { flex: 0 0 auto; width: 22px; height: 22px; color: var(--gold); }
.gift__how { color: var(--mute); font-size: 14px; max-width: 52ch; margin-bottom: 34px; }
.gift__vis { grid-column: 8 / 13; position: relative; }
.gift__sticky { position: sticky; top: 18vh; perspective: 1600px; padding: 4vh 0 10vh; }
.cert__tilt { transform-style: preserve-3d; }
.cert3d {
  position: relative;
  width: 100%;
  max-width: 560px;
  margin-left: auto;
  aspect-ratio: 1.6 / 1;
  transform-style: preserve-3d;
  will-change: transform;
}
.cert__face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(18px, 2.6vw, 34px);
  background: var(--black);
  border: 1px solid var(--gold);
  color: var(--white);
  overflow: hidden;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.cert__face::before { content: ''; position: absolute; inset: 8px; border: 1px solid rgba(245, 196, 81, .32); pointer-events: none; }
.cert__face--back { transform: rotateY(180deg); background: radial-gradient(120% 120% at 0% 100%, rgba(245, 196, 81, .14), rgba(0, 0, 0, 0) 60%), var(--black); }
.cert__top, .cert__bottom { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.cert__bottom { align-items: flex-end; }
.cert__logo { width: 112px; height: 22px; color: var(--white); }
.cert__title { position: relative; font-size: clamp(28px, 3.3vw, 54px); line-height: .92; color: var(--gold); }
.cert__code { position: relative; font: 300 clamp(26px, 3.2vw, 50px)/1 var(--f); letter-spacing: .14em; color: var(--gold); white-space: nowrap; }
.cert__chip { color: var(--gold); border: 1px solid rgba(245, 196, 81, .7); border-radius: 999px; padding: 4px 12px; font-size: 10px; }
.cert__bottom .cert__chip:last-child { margin-left: 8px; margin-right: auto; }
.cert__bars {
  flex: 0 0 auto;
  width: clamp(60px, 7.6vw, 108px);
  height: clamp(20px, 2.4vw, 32px);
  background: repeating-linear-gradient(90deg, var(--gold) 0 1px, transparent 1px 3px, var(--gold) 3px 5px, transparent 5px 6px, var(--gold) 6px 7px, transparent 7px 10px, var(--gold) 10px 13px, transparent 13px 15px);
}
.cert__sheen {
  position: absolute;
  inset: -50% -80%;
  background: linear-gradient(105deg, rgba(245, 196, 81, 0) 40%, rgba(245, 196, 81, .2) 48%, rgba(255, 240, 200, .32) 50%, rgba(245, 196, 81, .2) 52%, rgba(245, 196, 81, 0) 60%);
  transform: translateX(-60%);
  pointer-events: none;
}
.js .cert__sheen { animation: sheen 4.8s var(--ease-io) infinite; }
@keyframes sheen { 0%, 30% { transform: translateX(-60%); } 70%, 100% { transform: translateX(60%); } }
.cert__shadow { display: block; width: 70%; height: 30px; margin: 34px auto 0; border-radius: 50%; background: radial-gradient(closest-side, rgba(245, 196, 81, .22), rgba(245, 196, 81, 0)); }
.gift__rise { height: 22vh; color: var(--white); z-index: 3; }
@media (max-width: 1023px) {
  .gift__txt, .gift__vis { grid-column: 1 / -1; }
  .gift__vis { order: -1; }
  .gift__sticky { position: relative; top: 0; padding: 0; }
  .cert3d { margin: 0 auto; }
}
@media (max-width: 767px) {
  .gift { padding: 16vh 0 calc(18vh + 10vh); }
  .gift__title { margin: 22px 0 26px; }
  .gift .pill { width: 100%; }
  .perks li { font-size: 15px; }
  .gift__rise { height: 18vh; }
}

/* --------------------------------------------------- partnership (11) */
/* #contacts (was «Партнерство»): the team call is the header, then three full-width buttons — event rental
   and partnership open the contacts popup (site.js contactsPop), the team one goes to the form — then the
   contacts themselves (owner 02.10: «entire page - buttons», big side margins, no small texts) */
.part { position: relative; padding-bottom: 22vh; overflow: hidden; }
/* content height, not a full screen: centred in 100vh it left ~300 px of white under the white rise
   before «Команда» (owner 02.10: «very big white space») */
.part__slide {
  padding: max(7vh, 64px) clamp(var(--gut), 9vw, 220px) 6vh;
}
.part__team { font-size: clamp(34px, min(5.2vw, 9vh), 104px); line-height: .94; margin-top: 22px; }
.u { font-style: normal; background: linear-gradient(currentColor, currentColor) 0 94% / var(--u, 100%) .05em no-repeat; }
.acts { list-style: none; display: grid; gap: clamp(10px, 1.5vh, 16px); margin-top: clamp(32px, 6vh, 72px); counter-reset: act-n; }
.acts > li { counter-increment: act-n; }
.act__n::before { content: counter(act-n, decimal-leading-zero); }
.act {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: clamp(14px, 1.5vw, 26px);
  width: 100%;
  min-height: clamp(88px, 12.5vh, 144px);
  margin: 0;
  padding: 12px clamp(12px, 1.1vw, 22px) 12px clamp(24px, 2.6vw, 52px);
  border: 1px solid currentColor;
  border-radius: 999px;
  overflow: hidden;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color .45s var(--ease);
}
.act::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--black); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); }
.act:hover::before, .act[aria-expanded="true"]::before { transform: scaleY(1); }
.act:hover, .act[aria-expanded="true"] { color: var(--white); }
.act:focus-visible { outline: 2px solid var(--black); outline-offset: 4px; }
.act__n { color: var(--mute); transition: color .45s; }
.act:hover .act__n, .act[aria-expanded="true"] .act__n { color: rgba(255, 255, 255, .6); }
.act__t { min-width: 0; font: 300 clamp(20px, min(2.7vw, 4.8vh), 54px)/1.04 var(--f); letter-spacing: -.025em; text-transform: uppercase; }
.act__ic { display: grid; place-items: center; width: clamp(50px, min(5vw, 9.4vh), 104px); aspect-ratio: 1; border: 1px solid currentColor; border-radius: 50%; }
.act__ic svg { width: 38%; height: 38%; transition: transform .6s var(--ease); }
.act:hover .act__ic svg { transform: translateX(4px); }
.act[aria-expanded="true"] .act__ic svg { transform: rotate(90deg); }
.act--out .act__ic svg, .act--out:hover .act__ic svg { transform: rotate(-45deg); }
.rows { list-style: none; border-top: 1px solid var(--line); }
.part__rows { margin-top: clamp(28px, 5vh, 60px); }
.rows li { border-bottom: 1px solid var(--line); }
.row {
  position: relative;
  z-index: 0;
  display: grid;
  grid-template-columns: minmax(88px, auto) minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  padding: clamp(12px, 2vh, 22px) 0;
  text-decoration: none;
  overflow: hidden;
  transition: color .45s var(--ease), padding .6s var(--ease);
}
.row::before { content: ''; position: absolute; inset: 0; background: var(--black); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .6s var(--ease); z-index: -1; }
.row:hover::before { transform: scaleY(1); }
.row:hover { color: var(--white); padding-left: 14px; padding-right: 14px; }
.row__k { color: var(--mute); transition: color .45s; }
.row:hover .row__k { color: rgba(255, 255, 255, .6); }
.row__v { min-width: 0; font: 200 clamp(17px, 1.9vw, 34px)/1 var(--f); letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: anywhere; }
.row__arrow { width: clamp(18px, 1.6vw, 26px); height: clamp(18px, 1.6vw, 26px); transition: transform .6s var(--ease); }
.row:hover .row__arrow, .row:focus-visible .row__arrow { transform: translateX(6px) rotate(-45deg); }
.part__rise { height: 22vh; color: var(--black); }
@media (max-width: 1023px) {
  .part__slide { padding-top: 12vh; padding-bottom: 8vh; }
}
@media (max-width: 767px) {
  .part { padding-bottom: 18vh; }
  .part__rise { height: 18vh; }
  .row { grid-template-columns: 1fr auto; row-gap: 6px; column-gap: 12px; }
  .row__k { grid-column: 1 / -1; }
}

/* contacts popup (site.js contactsPop): a white card over the dimmed page; a bottom sheet on phones */
.cpop { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; padding: var(--gut); }
.cpop[hidden] { display: none; }
.cpop__bg { position: absolute; inset: 0; background: rgba(0, 0, 0, .74); }
.cpop__panel {
  position: relative;
  width: min(860px, 100%);
  max-height: calc(100svh - 2 * var(--gut));
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(28px, 3.6vw, 56px);
  border-radius: 28px;
}
.cpop__x {
  position: absolute;
  top: clamp(16px, 2vw, 28px);
  right: clamp(16px, 2vw, 28px);
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border: 1px solid currentColor;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease);
}
.cpop__x:hover, .cpop__x:focus-visible { background: var(--black); color: var(--white); }
.cpop__x svg { width: 20px; height: 20px; }
.cpop__t { margin: 18px 64px 0 0; font: 300 clamp(28px, 3.2vw, 54px)/1 var(--f); letter-spacing: -.03em; text-transform: uppercase; }
.cpop__sub { margin-top: clamp(12px, 1.6vh, 18px); max-width: 46ch; font-size: clamp(16px, 1.3vw, 20px); line-height: 1.45; color: var(--mute); }
.cpop__rows { margin-top: clamp(24px, 4vh, 44px); }
.cpop .row__v { font-size: clamp(17px, 1.7vw, 28px); }
@media (min-width: 768px) { .cpop .row { grid-template-columns: 158px minmax(0, 1fr) auto; } }
@media (max-width: 767px) {
  .cpop { place-items: end stretch; padding: 0; }
  .cpop__panel { width: 100%; max-height: 92svh; border-radius: 24px 24px 0 0; padding: 26px 20px calc(24px + env(safe-area-inset-bottom)); }
  .cpop__x { width: 44px; height: 44px; }
  .cpop__t { margin-right: 52px; }
}

/* ------------------------------------------------------- footer (12) */
.foot { position: relative; padding-top: 14vh; overflow: hidden; }
.foot__top {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gut);
  row-gap: 40px;
  align-items: start;
}
.foot__cols { grid-column: 1 / 6; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.foot__h { margin-bottom: 16px; }
.foot__links { list-style: none; display: grid; gap: 10px; font-size: 14px; }
.foot__links a {
  text-decoration: none;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size .45s var(--ease);
  padding-bottom: 2px;
}
.foot__links a:hover { background-size: 100% 1px; }
.foot__totem-wrap { grid-column: 6 / 9; display: flex; justify-content: center; }
.foot__totem { height: min(64vh, 600px); width: auto; aspect-ratio: 1 / 2.87; }
.foot__side { grid-column: 9 / 13; display: flex; flex-direction: column; align-items: flex-end; gap: 22px; text-align: right; }
.foot__tag { font: 300 18px/1.4 var(--f); max-width: 22ch; }
.foot__top-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 10px 0; }
.foot__top-btn svg { width: 16px; height: 16px; transform: rotate(-90deg); }
.foot__giant {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 1.2vh;
  padding: 0 var(--gut);
  margin-top: 8vh;
}
.giant { position: relative; display: block; text-decoration: none; color: var(--white); }
.giant__cv { display: none; width: 100%; }
.wm-on .giant__cv { display: block; }
.wm-on .giant__css { display: none; }
.giant__css {
  display: block;
  overflow: hidden;
  white-space: nowrap;
  font-family: var(--f);
  font-weight: 800;
  font-size: calc((100vw - 2 * var(--gut)) / 12);
  line-height: .95;
  letter-spacing: -.02em;
  text-transform: uppercase;
}
.giant__css .fit { display: inline-block; vertical-align: top; padding: .04em 0; }
.giant--mail .giant__css .fit > span { display: inline; }
.giant:hover .giant__css .fit, .giant:focus-visible .giant__css .fit { -webkit-text-fill-color: currentColor; }
.giant:focus-visible { outline-offset: 6px; }
.foot__band { position: relative; height: 24vh; min-height: 150px; margin-top: 6vh; }
.foot__bars { bottom: 0; height: 100%; color: var(--white); }
.foot__copy { position: absolute; z-index: 2; left: var(--gut); bottom: var(--gut); color: var(--white); mix-blend-mode: difference; }
@media (max-width: 1023px) {
  .foot__cols { grid-column: 1 / -1; }
  .foot__totem-wrap { grid-column: 1 / 7; justify-content: flex-start; }
  .foot__side { grid-column: 7 / 13; }
}
@media (max-width: 767px) {
  .foot { padding-top: 12vh; }
  .foot__cols { grid-template-columns: 1fr 1fr; }
  .foot__cols .foot__col:last-child { grid-column: 1 / -1; }
  .foot__totem-wrap { grid-column: 1 / -1; justify-content: center; }
  .foot__totem { height: min(52vh, 420px); }
  .foot__side { grid-column: 1 / -1; align-items: flex-start; text-align: left; }
  .foot__giant { margin-top: 36px; gap: 14px; }
  .giant--mail .giant__css .fit > span { display: block; }
}

/* --------------------------------------------------------- reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .badge__ring, .hero__cue-line, .lay--glow img, .pulse::after, .city__dot::after, .cert__sheen { animation: none !important; }
  .js .lay--online img, .lay--online img { animation: none !important; opacity: .5 !important; }
  .js .pulse--on { animation: none !important; opacity: 1; }
}

/* ------------------------------------------------------------ phone rhythm */
/* Owner 02.10 on a phone: «adapt mobile better». Every section kept its desktop transition zones — an 18vh
   barcode rise plus 12–16vh of padding on both sides — so 300–450 px of empty black or white sat between
   sections. Phones get short rises and tight paddings; the pinned scenes are tuned in site.js. */
@media (max-width: 767px) {
  /* network: the heading closer to the hero, the ring's viewport fitted to the ring */
  .js-anim .net__head { padding-top: max(9vh, 64px); }
  .js-anim .net__vp { height: clamp(340px, 42vh, 440px); height: clamp(340px, 42svh, 440px); }
  /* cities */
  .netx__iris { padding-bottom: 12vh; }
  .netx__screen { padding: max(8vh, 64px) 0 3vh; gap: 4vh; }
  .netx__rise { height: 9vh; }
  .netx__stats { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--gut); align-items: start; }
  .stat, .stat:first-child { padding: 0; border-top: 0; }
  .stat + .stat { padding-left: var(--gut); border-left: 1px solid var(--line); }
  .stat__n { font-size: 19vw; }
  .stat__w { font-size: 20px; }
  .stat__sub { margin-top: 10px; }
  /* app */
  .app__iris { padding-bottom: 12vh; }
  .app__grid { padding-top: max(8vh, 64px); padding-bottom: 3vh; row-gap: 5vh; }
  .app__feats { margin-top: 2.6vh; }
  .app__rise { height: 9vh; }
  .aphone { width: min(220px, 58vw); }
  /* «10+»: the number and its words are one centred group (site.js sets --more-top under the number) */
  .more { padding-bottom: 9vh; }
  .more__rise { height: 9vh; }
  .js-anim .more__pin { justify-content: flex-start; padding: var(--more-top, 56vh) 0 0; }
  .more__txt { margin-top: 0; }
  /* what */
  .what { padding: max(9vh, 64px) 0 calc(9vh + 5vh); }
  .what__rise { height: 9vh; }
  .what__feat { margin-top: 4vh; }
  /* gift */
  .gift { padding: max(9vh, 64px) 0 calc(9vh + 6vh); }
  .gift__rise { height: 9vh; }
  .gift__title { margin: 16px 0 20px; }
  .perks { margin: 24px 0 18px; }
  .gift__how { margin-bottom: 22px; }
  /* team + partnership */
  .part { padding-bottom: 12vh; }
  .part__slide { padding: max(8vh, 64px) 24px 3vh; }
  .acts { margin-top: 5vh; }
  .part__rise { height: 9vh; }
  .part__team { max-width: none; font-size: clamp(28px, 7.9vw, 40px); line-height: 1.06; }
  .part__team .u { background-position: 0 88%; }
  .act { min-height: 76px; padding-left: 22px; }
  .act__t { font-size: clamp(18px, 5.2vw, 22px); }
  .act__ic { width: 46px; }
  /* footer */
  .foot { padding-top: max(8vh, 64px); }
  .foot__totem { height: min(40vh, 330px); }
}

/* ----------------------------------------------------------- faq (9) */
/* Six answers, one tap away. Native <details>: they open without JS, and the text is in the HTML a
   crawler reads. The question is the row; the answer is muted and narrow so it reads as a footnote. */
.faq { padding: 14vh 0 12vh; }
.faq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); row-gap: 28px; align-items: start; }
.faq__head { grid-column: 1 / span 4; }
.faq__title { margin-top: 22px; font: 300 clamp(22px, 2.2vw, 34px)/1.15 var(--f); letter-spacing: -.01em; }
.faq__list { grid-column: 5 / -1; border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q { position: relative; display: block; padding: clamp(18px, 2.6vh, 28px) 56px clamp(18px, 2.6vh, 28px) 0; font: 300 clamp(18px, 1.6vw, 26px)/1.25 var(--f); letter-spacing: -.015em; cursor: pointer; list-style: none; }
.faq__q::-webkit-details-marker { display: none; }
/* a hairline plus that folds into a minus */
.faq__q::before, .faq__q::after { content: ''; position: absolute; right: 8px; top: 50%; width: 18px; height: 1px; background: currentColor; transition: transform .5s var(--ease); }
.faq__q::after { transform: rotate(90deg); }
.faq__item[open] > .faq__q::after { transform: rotate(0deg); }
.faq__a { max-width: 62ch; padding: 0 56px clamp(20px, 3vh, 32px) 0; color: var(--mute); font-size: clamp(15px, 1.1vw, 18px); line-height: 1.65; }
.faq__a a { color: var(--fg); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; }
@media (max-width: 1023px) {
  .faq__head, .faq__list { grid-column: 1 / -1; }
}
@media (max-width: 767px) {
  .faq { padding: max(9vh, 64px) 0 8vh; }
  .faq__q { padding-right: 40px; }
  .faq__a { padding-right: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .faq__q::before, .faq__q::after { transition: none; }
}
