/* PLATKI HUB — landing page
   Art direction: one continuous night flight. The hero is the planet seen from orbit,
   the page descends through the brand's sunset skyline and ends on the sunrise horizon.
   Palette and type come from the brand artwork: deep-space navy, warm gold light, silver wordmark. */

:root {
  --bg: #03070f;
  --bg-deep: #01040a;
  --ink: #eeece6;
  --ink-soft: #d5d8df;
  --muted: #97a0b2;
  --dim: #667086;
  --line: rgba(255, 255, 255, 0.09);
  --line-gold: rgba(240, 180, 105, 0.32);
  --gold: #f0b469;
  --gold-hi: #ffe6bd;
  --gold-grad: linear-gradient(100deg, #ffe6bd 0%, #f3b25f 48%, #cf8431 100%);
  --gold-foil: linear-gradient(180deg, #fff0d4 0%, #f6c079 46%, #d8903a 100%);
  --silver-grad: linear-gradient(180deg, #ffffff 0%, #c9c5bd 100%);

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mark: "Michroma", "Montserrat", system-ui, sans-serif;

  --wrap: 1200px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 76px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 0.84, 0.3, 1);

  /* Alpha map for the planet artwork (see .planet__img) */
  --planet-mask: url("data:image/webp;base64,UklGRpwQAABXRUJQVlA4WAoAAAAQAAAAPwEA/wAAQUxQSLoPAAARf6CQbQToDHaPv+1BRESKpm5uAZ60bf/btv0/cQcEswIC2UABeAMl4C7AAJR5DdDtuALgo+OYoJ2xDVAZNyKpzCOSzrg1Sc1rE9QCKlIrMHkcz/O8QLzA19P/g4j+Q5AkuW0zIHTIlCUZF8AXXPzXLLX/uaGR9E/jC9IwtcjHUSdxX6/ysziRu7quU1q8vyytVeer0isShW3udvDbwc+BflEdcV2CBUnvMK6Qv7+D7fBBnEwm9jmQLB3fF9dNoVv9ORj0e7IM08I30LN7jufjZRksEX7cVuXXpJvkm7ItLOF4H5NjI0z/H3URS0gOSTbJnk+TS2ixhM41aHZo8ny/4g34URQAjm3omsZuMxMw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tx+4pN6QqEhdXTfFR9h0HZ9Tc/xokC93Cq4c+Y4BNJrwTWrgS1R9nTTp1ks4glHO4owCH+oN0NS/RS/8oJj7uB6lke+SVRW5TC9WSzzcDqHfhtmq0CZCOemQcK06onf1t4NakmRAHWG+eP+olrvtWIZSXGCM/m8HpaIpZO9sKQQGMNQR2+v0OWQSbVTqQqGQwWloOq2r1IQBBIWCUbqGdcUAcbNTJNgTkAcxUConQiWattPUhRVpOEA1offe/EOBPXcx7MMqtF/B68VPX1VQWYGFGVDwUmHB7W0a1HjISy3t8P2Zm/Ywx4F8qqyYdvhpd9YV19epK2ZVL/3l3eGsvizMEW6k7mVefTqcc1A/oJEKlS8S5z2bRngd+YIxrLbonav4dH996VhG58w0FeW4+nyOa19OU6JPAdUF3u9L89d2MRkGFaa68kXN/P7zofE8TPrPTmbV77NrdI3t7TDyXTKDz/XyrsFrvyYxPJk2RVXsi8aOQ55wGDo6JALP6SIbcDOlkfBoSEXmNOqXXQMj8Ca2pWO+4Jc0843kBrdFD9ayLOrD8kzd3/+yk1LzLjr/3Y5GhnFNv6m9w20Xr2GfvWgL0cELxqn926u7zb7GRpu6lWEnzKwL5ssPs025F1K5ng6lHrfgejvTiwd5MZkURdqXiGdzn44xc7pD/B9pugBWUDggvAAAAHAUAJ0BKkABAAE+7Xa4VqmnJSOgKAEwHYlpbuF3YRtADv8h77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk5D32ych77ZOQ99snIe+2TkPfbJyHvtk4/gAA/v+7KAAAAAAAAAAAAAAA");
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  -webkit-text-size-adjust: 100%;
  background: var(--bg);
}

body {
  margin: 0;
  /* The page colour sits on <html>; body stays clear so the page-wide stars show through */
  background: none;
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
@supports (overflow: clip) {
  body { overflow-x: clip; }
}

/* Film grain over the whole page: one static, non-interactive layer */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  opacity: 0.055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 240px 240px;
}

img, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--gold-hi);
  outline-offset: 4px;
  border-radius: 8px;
}

::selection { background: rgba(240, 180, 105, 0.35); }

.wrap {
  width: 100%;
  max-width: calc(var(--wrap) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}
/* Phone held sideways: keep the copy clear of the notch */
@supports (padding: max(0px)) {
  .wrap {
    padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
    padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
  }
}

.skip {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--gold);
  color: #1a1105;
  font-weight: 600;
  transition: top 0.2s;
}
.skip:focus { top: 12px; }

/* ───────── Wordmark ───────── */

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.brand__mark {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  box-shadow: 0 0 22px rgba(240, 170, 90, 0.3);
}
.brand__name {
  font-family: var(--font-mark);
  font-size: 1.05rem;
  letter-spacing: 0.16em;
  background: var(--silver-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.brand__hub {
  position: relative;
  padding-left: 14px;
  font-family: var(--font-mark);
  font-size: 0.62rem;
  letter-spacing: 0.42em;
  color: var(--gold);
}
.brand__hub::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 16px;
  transform: translateY(-50%);
  background: var(--line-gold);
}

/* ───────── Buttons ───────── */

.plane {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease),
    border-color 0.25s, background-color 0.25s, color 0.25s;
}

/* Primary call: gold pill with the Telegram plane in a dark badge */
.btn--primary {
  isolation: isolate;
  overflow: hidden;
  gap: 18px;
  min-height: 62px;
  padding: 8px 8px 8px 30px;
  color: #1a1104;
  background: linear-gradient(100deg, #ffe9c4 0%, #f5b966 46%, #d98d38 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 0 0 1px rgba(255, 236, 200, 0.35),
    0 14px 40px -14px rgba(240, 165, 70, 0.8),
    0 0 70px -20px rgba(240, 165, 70, 0.6);
}
/* A sheen that crosses the button every few seconds */
.btn--primary::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(105deg, transparent 32%, rgba(255, 255, 255, 0.7) 49%, transparent 64%);
  transform: translateX(-130%);
  animation: sheen 6.5s var(--ease) 3.2s infinite;
}
@keyframes sheen {
  0% { transform: translateX(-130%); }
  16%, 100% { transform: translateX(130%); }
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.65),
    inset 0 0 0 1px rgba(255, 236, 200, 0.35),
    0 20px 48px -14px rgba(240, 165, 70, 0.95),
    0 0 90px -16px rgba(240, 165, 70, 0.8);
}
.btn--primary:active { transform: scale(0.975); }
.hero__actions .btn--primary { flex: none; }
.btn--primary:focus-visible { outline-offset: 5px; border-radius: 999px; }

.btn__label {
  padding-block: 6px;
  white-space: nowrap;
}
.btn__badge {
  display: grid;
  place-items: center;
  flex: none;
  width: 46px;
  height: 46px;
  overflow: hidden;
  border-radius: 50%;
  background: #080d18;
  color: var(--gold-hi);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.btn__badge .plane { width: 21px; height: 21px; transform: translate(-1px, 1px); }
.btn:hover .btn__badge .plane { animation: fly 0.75s var(--ease) both; }
@keyframes fly {
  0% { transform: translate(-1px, 1px); opacity: 1; }
  42% { transform: translate(26px, -26px); opacity: 0; }
  43% { transform: translate(-28px, 28px); opacity: 0; }
  100% { transform: translate(-1px, 1px); opacity: 1; }
}

.btn--lg {
  min-height: 72px;
  padding: 9px 9px 9px 36px;
  font-size: 1.125rem;
}
.btn--lg .btn__badge { width: 54px; height: 54px; }
.btn--lg .btn__badge .plane { width: 24px; height: 24px; }

.btn--ghost {
  border: 1px solid var(--line-gold);
  color: var(--gold-hi);
  background: rgba(240, 180, 105, 0.05);
}
.btn--ghost:hover {
  border-color: var(--gold);
  background: rgba(240, 180, 105, 0.14);
}
.btn--ghost:focus-visible { border-radius: 999px; }

/* A call whose link is not set yet (see main.js): shown as usual, but not clickable */
.btn.is-off,
.dock .btn.is-off,
.nav__channel.is-off,
.social.is-off {
  pointer-events: none;
  cursor: default;
}

/* Second call: the Telegram channel. Quiet glass, so the gold button stays the main one */
.ico {
  width: 22px;
  height: 22px;
  flex: none;
  color: var(--gold);
}
.btn--line {
  gap: 12px;
  min-height: 62px;
  padding: 8px 26px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.04);
  color: var(--ink);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.btn--line:hover {
  border-color: var(--gold);
  background: rgba(240, 180, 105, 0.12);
}
.btn--line:active { transform: scale(0.975); }
.btn--line:focus-visible { border-radius: 999px; }
.btn--line.btn--lg {
  min-height: 72px;
  padding: 9px 34px;
}
.btn--line.btn--lg .ico { width: 25px; height: 25px; }
.btn--sm {
  gap: 9px;
  padding: 10px 18px 10px 14px;
  font-size: 0.875rem;
  white-space: nowrap;
}
.btn--sm .plane { width: 17px; height: 17px; color: var(--gold); }

/* ───────── Navigation ───────── */

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
}
.nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-bottom: 1px solid var(--line);
  background: rgba(2, 5, 12, 0.74);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
  transition: opacity 0.35s;
}
/* With JS the bar is clear over the hero and gains its background once the page is scrolled */
.js .nav::before { opacity: 0; }
.js .nav.is-stuck::before { opacity: 1; }
.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
}
.nav__actions {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.8vw, 24px);
}
.nav__channel {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 2px;
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
  white-space: nowrap;
  transition: color 0.2s;
}
.nav__channel:hover { color: var(--ink); }
.nav__channel .ico { width: 20px; height: 20px; }
.nav__links {
  display: flex;
  gap: clamp(22px, 3vw, 44px);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}
.nav__links a {
  position: relative;
  padding: 8px 0;
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}
.nav__links a:hover,
.nav__links a.is-active { color: var(--ink); }
.nav__links a:hover::after,
.nav__links a.is-active::after { transform: scaleX(1); transform-origin: left; }
/* Reading progress: a hairline of gold along the bottom of the bar */
.nav__progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold-grad);
  transform: scaleX(var(--p, 0));
  transform-origin: left;
}

/* ───────── Hero ───────── */

.hero {
  /* Planet geometry: diameter and the position of its centre inside the stage */
  --d: min(78vh, 52vw, 980px);
  --cxn: 0.77;
  --cx: calc(var(--cxn) * 100%);
  --cy: 55%;
  /* Scene unit: the copy scales with the same measure as the planet, so they keep their relationship */
  --u: min(1vh, 0.625vw);
  /* x of the ring's left tip, and the room the copy has before it reaches the ring */
  --tip: calc(var(--cxn) * 100vw - var(--d) * 0.738);
  --text-left: calc((100vw - min(100vw, var(--wrap) + var(--gutter) * 2)) / 2 + var(--gutter));
  --free: calc(var(--tip) - var(--text-left) - 32px);
  /* Set by main.js: pointer (-1…1) and scroll progress through the hero (0…1) */
  --px: 0;
  --py: 0;
  --sy: 0;

  position: relative;
  isolation: isolate;
  display: grid;
  min-height: max(660px, 100vh);
  overflow: hidden;
  background: var(--bg-deep);
}
@supports (height: 1svh) {
  .hero {
    --d: min(78svh, 52vw, 980px);
    --u: min(1svh, 0.625vw);
    min-height: max(660px, 100svh);
  }
}

.hero__stage {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background:
    radial-gradient(58% 62% at 88% 12%, rgba(255, 168, 78, 0.17), transparent 70%),
    radial-gradient(46% 60% at 6% 86%, rgba(46, 96, 200, 0.13), transparent 72%),
    linear-gradient(180deg, #01040a 0%, #03070f 70%);
}

/* Star field (canvas). Oversized so the parallax never shows an edge. */
.sky {
  position: absolute;
  left: -40px;
  top: -40px;
  width: calc(100% + 80px);
  height: calc(100% + 80px);
  max-width: none;
  pointer-events: none;
}
/* Faint stars behind the whole page: the night continues between the planet and the horizon.
   Fixed, so the content glides over them; sized to the tallest viewport so a collapsing
   browser bar never rebuilds it. */
.sky--page {
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  opacity: 0.5;
}

/* Shooting star (placed and launched by main.js) */
.meteor {
  position: absolute;
  height: 1.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(255, 236, 205, 0), rgba(255, 244, 224, 0.95));
  transform-origin: 100% 50%;
  opacity: 0;
  pointer-events: none;
}
.final .meteor { z-index: -2; }

.hero .sky {
  transform: translate3d(calc(var(--px) * -7px), calc(var(--py) * -5px + var(--sy) * 40px), 0);
  /* A slow drift: the stars slide behind the limb of the planet */
  animation: drift 90s ease-in-out infinite alternate;
}
@keyframes drift {
  from { translate: 30px 10px; }
  to { translate: -30px -10px; }
}

.orbit {
  position: absolute;
  inset: 0;
  transform-origin: var(--cx) var(--cy);
}

/* The planet box has the proportions of assets/planet.webp (2240×1790).
   In that image the sphere is centred at 50% / 60.335% and its diameter is 57.32% of the width. */
.planet {
  --w: calc(var(--d) / 0.5732);
  position: absolute;
  left: calc(var(--cx) - var(--w) / 2);
  top: calc(var(--cy) - var(--w) * 0.48214);
  width: var(--w);
  aspect-ratio: 2240 / 1790;
  transform-origin: 50% 60.335%;
  transform:
    translate3d(calc(var(--px) * -18px), calc(var(--py) * -12px + var(--sy) * 80px), 0)
    scale(calc(1 + var(--sy) * 0.06));
  will-change: transform;
  /* The camera never quite stops pushing in */
  animation: push 34s ease-in-out 3s infinite alternate;
}
@keyframes push {
  from { scale: 1; }
  to { scale: 1.03; }
}

.planet__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  /* Low-resolution alpha map of "where the artwork is": outside it the image is cut away,
     so the stars drift behind the planet instead of stopping at a rectangle.
     Inlined because a mask loaded from a file is blocked when the page is opened from disk. */
  -webkit-mask: var(--planet-mask) center / 100% 100% no-repeat;
  mask: var(--planet-mask) center / 100% 100% no-repeat;
}

/* Atmosphere: a cold halo hugging the limb */
.planet__halo {
  position: absolute;
  left: 50%;
  top: 60.335%;
  z-index: -1;
  width: calc(var(--d) * 1.56);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side,
    rgba(70, 140, 255, 0) 60%,
    rgba(70, 140, 255, 0.2) 64.5%,
    rgba(60, 120, 240, 0.09) 76%,
    rgba(60, 120, 240, 0) 100%);
  animation: breathe 9s ease-in-out infinite alternate;
}

/* Live light: city lights, the glint on the ring, routes between cities (canvas) */
.planet__life {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Night side that lifts as the sun comes up (entrance only) */
.planet__eclipse {
  position: absolute;
  left: 50%;
  top: 60.335%;
  width: calc(var(--d) * 1.03);
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle at 76% 16%, rgba(1, 3, 8, 0) 0%, rgba(1, 3, 8, 0.6) 38%, rgba(1, 3, 8, 0.94) 70%);
  opacity: 0;
  pointer-events: none;
}

/* Sun on the limb — sits on the flare of the artwork (66.25% / 31.51% of the box) */
.flare {
  --pulse: 0;
  position: absolute;
  left: 66.25%;
  top: 31.51%;
  width: 0;
  height: 0;
  pointer-events: none;
}
.flare i {
  position: absolute;
  left: 0;
  top: 0;
  display: block;
}
.flare__bloom {
  width: calc(var(--d) * 1.15);
  aspect-ratio: 1;
  margin: calc(var(--d) * -0.575) 0 0 calc(var(--d) * -0.575);
  background: radial-gradient(closest-side,
    rgba(255, 238, 206, 0.5) 0%,
    rgba(255, 190, 104, 0.24) 18%,
    rgba(255, 160, 70, 0.1) 42%,
    rgba(255, 150, 60, 0) 72%);
  opacity: calc(0.82 + var(--pulse) * 0.18);
  transform: scale(calc(1 + var(--pulse) * 0.12));
  animation: breathe 7s ease-in-out infinite alternate;
}
.flare__rays {
  width: calc(var(--d) * 1.5);
  aspect-ratio: 1;
  margin: calc(var(--d) * -0.75) 0 0 calc(var(--d) * -0.75);
  border-radius: 50%;
  background: repeating-conic-gradient(from 8deg,
    rgba(255, 214, 160, 0) 0deg,
    rgba(255, 214, 160, 0.13) 3deg,
    rgba(255, 214, 160, 0) 7deg,
    rgba(255, 214, 160, 0) 17deg,
    rgba(255, 226, 180, 0.08) 20deg,
    rgba(255, 214, 160, 0) 24deg,
    rgba(255, 214, 160, 0) 45deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 78%);
  mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, 0.5) 30%, transparent 78%);
  animation: spin 160s linear infinite;
}
/* Anamorphic streak, as from a cinema lens */
.flare__streak {
  width: calc(var(--d) * 1.2);
  height: 4px;
  margin: -2px 0 0 calc(var(--d) * -0.6);
  background: radial-gradient(closest-side, rgba(255, 244, 222, 0.95), rgba(255, 196, 120, 0.4) 36%, rgba(255, 170, 90, 0) 100%);
  opacity: calc(0.6 + var(--pulse) * 0.4);
  transform: scaleX(calc(0.9 + var(--pulse) * 0.14));
}
.flare__core {
  width: calc(var(--d) * 0.16);
  aspect-ratio: 1;
  margin: calc(var(--d) * -0.08) 0 0 calc(var(--d) * -0.08);
  background: radial-gradient(closest-side, #fff 0%, rgba(255, 246, 228, 0.85) 26%, rgba(255, 220, 160, 0) 100%);
  opacity: calc(0.75 + var(--pulse) * 0.25);
}

@keyframes breathe {
  from { opacity: 0.78; scale: 0.97; }
  to { opacity: 1; scale: 1.04; }
}
@keyframes spin {
  to { rotate: 360deg; }
}

/* Keeps the copy readable: darkness on the text side, a soft floor under the scene */
.hero__shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(1, 4, 10, 0.62) 0%, rgba(1, 4, 10, 0) 17%),
    linear-gradient(0deg, var(--bg) 0%, rgba(3, 7, 15, 0) 22%),
    linear-gradient(90deg, rgba(1, 4, 10, 0.72) 0%, rgba(1, 4, 10, 0.4) 24%, rgba(1, 4, 10, 0) 46%);
}

.hero__in {
  position: relative;
  display: grid;
  align-content: center;
  padding-top: calc(var(--nav-h) + 12px);
  padding-bottom: clamp(40px, 7vh, 96px);
}
.hero__copy {
  transform: translate3d(0, calc(var(--sy) * -48px), 0);
  opacity: calc(1 - var(--sy) * 1.5);
}

.hero__title {
  max-width: calc(var(--free) + var(--d) * 0.24);
  font-size: clamp(2.1rem, calc(var(--u) * 6), 4.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.03em;
}
.hero__q {
  display: block;
  text-wrap: balance;
}
.hero__a {
  display: block;
  margin-top: 0.16em;
  text-wrap: balance;
  font-style: italic;
  color: var(--gold);
}
/* Gold foil on the promise: per word, so it survives the word-by-word entrance */
.hero__a,
.hero__a .w__i,
.final__title em,
.final__title em .w__i {
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero__a:has(.w),
.final__title em:has(.w) { background: none; }

/* Words produced by main.js (data-split): each rises out of its own slot */
.w {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding: 0.1em 0.1em 0.2em 0.06em;
  margin: -0.1em -0.1em -0.2em -0.06em;
}
.w__i { display: inline-block; }

.hero__lead {
  margin-top: clamp(16px, calc(var(--u) * 3), 34px);
  max-width: min(31em, calc(var(--free) + var(--d) * 0.08));
  color: var(--ink-soft);
  font-size: clamp(1rem, calc(var(--u) * 2.05), 1.3125rem);
  line-height: 1.55;
  text-wrap: pretty;
}
.hero__lead strong {
  font-family: var(--font-mark);
  font-weight: 400;
  font-size: 0.84em;
  letter-spacing: 0.1em;
  color: #fff;
}
.hero__sub {
  margin-top: clamp(8px, calc(var(--u) * 1.3), 14px);
  max-width: min(30em, var(--free));
  color: var(--muted);
  font-size: clamp(0.9rem, calc(var(--u) * 1.72), 1.0625rem);
  text-wrap: pretty;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, calc(var(--u) * 2.2), 22px) 34px;
  max-width: var(--free);
  margin-top: clamp(20px, calc(var(--u) * 4), 44px);
}

/* "100 млн views" lockup, as on the brand banner */
.views {
  display: flex;
  align-items: center;
  gap: 16px;
}
.views__icon {
  width: 44px;
  height: 32px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
}
.views__play { fill: var(--gold-hi); stroke: none; }
.views__text {
  display: grid;
  padding-left: 16px;
  border-left: 1px solid var(--line-gold);
  line-height: 1.15;
}
.views__cap {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.views__num {
  margin-block: 3px;
  padding-right: 0.1em;
  font-size: 1.5rem;
  font-weight: 700;
  font-style: italic;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  color: var(--gold-hi);
}

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  display: grid;
  justify-items: center;
  gap: 10px;
  padding: 6px 10px;
  transform: translateX(-50%);
  color: var(--dim);
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
  text-transform: uppercase;
  opacity: calc(1 - var(--sy) * 6);
  transition: color 0.25s;
}
.hero__scroll:hover { color: var(--gold-hi); }
.hero__scroll-line {
  position: relative;
  width: 1px;
  height: 38px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.14);
}
.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, var(--gold-hi));
  transform: translateY(-100%);
  animation: drip 2.4s var(--ease) infinite;
}
@keyframes drip {
  0% { transform: translateY(-100%); }
  70%, 100% { transform: translateY(100%); }
}

/* ───────── Sections ───────── */

.section { padding-block: clamp(64px, 7.6vw, 118px); }

.h2 {
  position: relative;
  padding-top: 30px;
  font-size: clamp(1.85rem, 1rem + 2.7vw, 3.3rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 72px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(240, 180, 105, 0));
  transform-origin: left;
}

/* ───────── Who we are looking for ───────── */

.who {
  background: radial-gradient(48% 52% at 100% 54%, rgba(52, 104, 210, 0.09), rgba(52, 104, 210, 0) 100%);
}
.who__in {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.7fr);
  gap: clamp(32px, 6vw, 104px);
  align-items: start;
}
.aud { border-bottom: 1px solid var(--line); }
.aud__item {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(18px, 2.6vw, 36px);
  align-items: start;
  padding-block: clamp(28px, 3.4vw, 46px);
  border-top: 1px solid var(--line);
}
/* Gold hairline that runs along the top edge on hover */
.aud__item::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(240, 180, 105, 0));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.7s var(--ease-out);
}
.aud__item:hover::before { transform: scaleX(1); }
/* Soft warm light that follows the pointer (--mx / --my come from main.js) */
.aud__item,
.perk {
  isolation: isolate;
}
.aud__item::after,
.perk::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(240, 180, 105, 0.085), rgba(240, 180, 105, 0) 70%);
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}
.aud__item:hover::after,
.perk:hover::after { opacity: 1; }
.aud__icon {
  display: grid;
  place-items: center;
  width: clamp(52px, 5vw, 68px);
  aspect-ratio: 1;
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(240, 180, 105, 0.1), rgba(240, 180, 105, 0));
  transition: border-color 0.4s, box-shadow 0.4s;
}
.aud__item:hover .aud__icon {
  border-color: var(--gold);
  box-shadow: 0 0 34px -6px rgba(240, 170, 80, 0.55);
}
.aud__icon svg {
  width: 56%;
  fill: none;
  stroke: var(--gold-hi);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.aud__item p { text-wrap: pretty; }
.aud__item strong {
  display: block;
  font-size: clamp(1.25rem, 0.95rem + 1.05vw, 1.85rem);
  font-weight: 600;
  line-height: 1.22;
  letter-spacing: -0.018em;
  text-wrap: balance;
}
.aud__item p span {
  display: block;
  max-width: 36em;
  margin-top: 12px;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
}

/* ───────── What we bring: the 100+ million band ───────── */

.value { padding-bottom: clamp(48px, 6vw, 96px); }

.reach {
  --ry: 0;
  position: relative;
  isolation: isolate;
  margin-top: clamp(36px, 5vw, 68px);
  border-block: 1px solid var(--line);
  background: linear-gradient(90deg, rgba(240, 180, 105, 0.035), rgba(240, 180, 105, 0) 40%);
}
.reach__media {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  width: min(70%, 1100px);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 22%, #000 46%);
  mask-image: linear-gradient(90deg, transparent 0%, rgba(0, 0, 0, 0.5) 22%, #000 46%);
}
.reach__media img {
  width: 100%;
  height: 116%;
  margin-top: -8%;
  object-fit: cover;
  object-position: 62% 44%;
  transform: translate3d(0, calc(var(--ry) * 5%), 0);
  will-change: transform;
}
.reach__body {
  max-width: min(560px, 50%);
  padding-block: clamp(52px, 6.4vw, 100px);
}
.reach__title {
  display: grid;
  gap: clamp(12px, 1.4vw, 20px);
  margin-bottom: clamp(22px, 2.6vw, 34px);
  font-weight: inherit;
}
.reach__num {
  justify-self: start;
  padding-right: 0.08em;
  font-size: clamp(5.4rem, 2.6rem + 10.5vw, 11.5rem);
  font-weight: 700;
  font-style: italic;
  font-variant-numeric: tabular-nums;
  line-height: 0.86;
  letter-spacing: -0.045em;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: var(--gold);
  position: relative;
}
/* Warm haze behind the number. A separate layer rather than a filter on the number itself:
   Safari does not reliably combine filters with text-clipped gradients. */
.reach__num::before {
  content: "";
  position: absolute;
  inset: 4% -10% -22% -10%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(240, 160, 70, 0.2), rgba(240, 160, 70, 0));
  pointer-events: none;
}
.reach__label {
  font-size: clamp(0.75rem, 0.68rem + 0.32vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.26em;
  line-height: 1.5;
  text-transform: uppercase;
}
.reach__body p {
  max-width: 31em;
  color: var(--ink-soft);
  text-wrap: pretty;
}
.reach__body p + p { margin-top: 12px; }

.perks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.perk {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: clamp(16px, 2vw, 26px);
  align-items: start;
  padding-block: clamp(30px, 3.6vw, 52px);
}
.perk:first-child { padding-right: clamp(20px, 4vw, 64px); }
.perk + .perk {
  padding-left: clamp(20px, 4vw, 64px);
  border-left: 1px solid var(--line);
}
.perk__icon {
  width: clamp(34px, 3vw, 42px);
  margin-top: 2px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.perk p {
  max-width: 21em;
  font-size: clamp(1.125rem, 1rem + 0.55vw, 1.4rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

/* ───────── How we work ───────── */

.how {
  padding-top: clamp(40px, 5vw, 80px);
  background: radial-gradient(44% 46% at 0% 56%, rgba(240, 160, 70, 0.07), rgba(240, 160, 70, 0) 100%);
}

.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 64px);
  margin-top: clamp(40px, 5.4vw, 76px);
}
/* The route: a hairline, and a gold line that travels along it once the steps are on screen */
.steps::before,
.steps::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 1px;
  background: var(--line);
}
.steps::after {
  background: linear-gradient(90deg, var(--gold-hi), var(--gold) 60%, rgba(240, 180, 105, 0.15));
  transform-origin: left;
}
.step {
  position: relative;
  padding-top: clamp(36px, 4vw, 52px);
}
.step::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  z-index: 1;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold-hi);
  box-shadow: 0 0 0 5px var(--bg), 0 0 18px 4px rgba(240, 170, 80, 0.55);
}
.step__n {
  display: block;
  width: fit-content;
  margin-bottom: clamp(14px, 1.6vw, 22px);
  font-family: var(--font-mark);
  font-size: clamp(2.3rem, 1.5rem + 2.4vw, 3.6rem);
  line-height: 1;
  letter-spacing: 0.04em;
  color: var(--gold);
}
@supports (-webkit-text-stroke: 1px #000) {
  .step__n {
    color: transparent;
    -webkit-text-stroke: 1px rgba(240, 186, 115, 0.85);
  }
}
.step__t {
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 1.05rem + 0.5vw, 1.5rem);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.step p {
  max-width: 23em;
  color: var(--ink-soft);
  font-size: clamp(1.0625rem, 1rem + 0.2vw, 1.15rem);
  line-height: 1.6;
  text-wrap: pretty;
}

.pledge {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  margin-top: clamp(56px, 8vw, 120px);
  padding-block: clamp(30px, 4vw, 56px);
  font-size: clamp(1.3rem, 0.9rem + 1.9vw, 2.4rem);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.02em;
  text-wrap: balance;
}
.pledge::before,
.pledge::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), rgba(240, 180, 105, 0.2) 45%, rgba(240, 180, 105, 0));
}
.pledge::before { top: 0; }
.pledge::after { bottom: 0; }
.pledge span { max-width: 24em; }
.pledge b {
  font-weight: 600;
  color: var(--gold-hi);
}
.pledge__icon {
  width: clamp(40px, 4.6vw, 64px);
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ───────── Final call: sunrise over the horizon ───────── */

.final {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(64px, 6.4vw, 100px);
  padding-bottom: clamp(240px, 25vw, 380px);
  text-align: center;
  background:
    radial-gradient(60% 46% at 50% 100%, rgba(240, 150, 60, 0.12), transparent 70%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 46%);
}
.final .sky {
  z-index: -2;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 58%, transparent 80%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 22%, #000 58%, transparent 80%);
}
.final__in {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: center;
}
.final__goal {
  max-width: 41em;
  color: var(--muted);
  font-size: clamp(1.0625rem, 0.98rem + 0.4vw, 1.25rem);
  text-wrap: balance;
}
.final__title {
  max-width: 13em;
  margin-block: clamp(22px, 3vw, 38px) clamp(32px, 4.2vw, 52px);
  font-size: clamp(1.95rem, 0.9rem + 5.4vw, 5.6rem);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.034em;
  text-wrap: balance;
}
.final__title em { font-style: italic; }
/* The two calls side by side: apply to the manager, or look at the channel first */
.final__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px 16px;
}
/* Reassurance right under the buttons */
.final__note {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(18px, 2vw, 26px);
  color: var(--muted);
  font-size: 0.9375rem;
  font-weight: 500;
}
.final__note svg {
  width: 18px;
  height: 18px;
  flex: none;
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.final__horizon {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: -1;
  width: max(100%, 1180px);
  transform: translateX(-50%);
  pointer-events: none;
}
.final__horizon img {
  width: 100%;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 72%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 26%, #000 72%, transparent 100%);
}
/* The sun about to clear the horizon */
.final__sun {
  position: absolute;
  left: 50%;
  top: 31%;
  width: 62%;
  aspect-ratio: 3.2;
  transform: translate(-50%, -50%);
  background: radial-gradient(closest-side,
    rgba(255, 236, 200, 0.5) 0%,
    rgba(255, 184, 100, 0.22) 26%,
    rgba(255, 150, 60, 0.08) 56%,
    rgba(255, 150, 60, 0) 100%);
}

/* ───────── Social networks (built by main.js from SOCIALS) ───────── */

.socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
}
.socials[hidden] { display: none; }
.socials__label {
  color: var(--dim);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.socials__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.social {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px 9px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--ink-soft);
  font-size: 0.875rem;
  font-weight: 500;
  transition: border-color 0.25s, background-color 0.25s, color 0.25s;
}
.social:hover {
  border-color: var(--gold);
  background: rgba(240, 180, 105, 0.1);
  color: #fff;
}
.social:focus-visible { border-radius: 999px; }
.social__icon {
  width: 20px;
  height: 20px;
  flex: none;
  fill: currentColor;
  color: var(--gold);
}
.socials--final {
  justify-content: center;
  margin-top: clamp(26px, 3vw, 38px);
}
.socials--final .socials__label::after {
  content: "";
  display: inline-block;
  width: 28px;
  height: 1px;
  margin-left: 16px;
  vertical-align: middle;
  background: var(--line-gold);
}

/* ───────── Phones: the main button docked under the thumb ───────── */

.dock { display: none; }
@media (max-width: 640px) {
  .dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 60;
    display: flex;
    gap: 10px;
    padding: 34px 16px calc(14px + env(safe-area-inset-bottom, 0px));
    /* A soft floor of night under the button, so the page fades out behind it */
    background: linear-gradient(180deg, rgba(3, 7, 15, 0) 0%, rgba(3, 7, 15, 0.82) 44%, rgba(3, 7, 15, 0.97) 100%);
    pointer-events: none;
    transition: transform 0.55s var(--ease-out), opacity 0.4s, visibility 0s;
  }
  .dock .dock__btn {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    min-height: 58px;
    justify-content: space-between;
    pointer-events: auto;
  }
  .dock .dock__alt {
    flex: none;
    gap: 8px;
    min-height: 58px;
    padding: 8px 18px 8px 14px;
    background: rgba(8, 13, 24, 0.82);
    font-size: 0.9375rem;
    pointer-events: auto;
  }
  .dock.is-away {
    transform: translate3d(0, 105%, 0);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.45s var(--ease), opacity 0.3s, visibility 0s 0.45s;
  }
  /* It rises once the hero has made its entrance */
  .js:not(.is-lit) .dock { opacity: 0; visibility: hidden; }
  .js.is-lit .dock { animation: dock-in 0.9s var(--ease-out) 1.9s backwards; }

  /* The dock carries both calls on a phone: no second copy in the hero or in the bar */
  .hero__actions .btn--primary,
  .nav__actions { display: none; }
  .nav .brand__mark { display: block; }

  /* The two final buttons stack, each the full width */
  .final__cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 420px;
  }
  .final__cta .btn { width: 100%; }
  .final__cta .btn--line {
    justify-content: center;
    min-height: 60px;
    padding: 8px 24px;
    font-size: 1rem;
  }
}
/* Very narrow phones: the channel button keeps only its icon */
@media (max-width: 349px) {
  .dock .dock__alt { padding: 8px 17px; }
  .dock .dock__alt span { display: none; }
  .final__note {
    font-size: 0.8125rem;
    text-align: left;
  }
}
/* Narrow desktops: the bar is tight, the channel link keeps only its icon */
@media (min-width: 960px) and (max-width: 1199px) {
  .nav__channel span { display: none; }
}
@keyframes dock-in {
  from { transform: translate3d(0, 105%, 0); opacity: 0; }
  to { transform: none; opacity: 1; }
}

/* ───────── Footer ───────── */

.footer {
  position: relative;
  background: var(--bg-deep);
  border-top: 1px solid var(--line);
}
.footer__in {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px 32px;
  padding-block: 30px;
}
.brand--footer .brand__name { font-size: 0.9rem; }
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px clamp(18px, 2.6vw, 36px);
  color: var(--muted);
  font-size: 0.875rem;
  font-weight: 500;
}
.footer__nav a { padding: 6px 0; transition: color 0.2s; }
.footer__nav a:hover { color: var(--ink); }
.socials--footer { justify-content: flex-end; }
.footer__base > div {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
  padding-block: 18px 26px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--dim);
  font-size: 0.8125rem;
}
.footer__top {
  padding: 4px 0;
  transition: color 0.2s;
}
.footer__top:hover { color: var(--gold-hi); }

/* ───────── Entrance: hero choreography and scroll reveals (only with JS) ───────── */

/* Hero, before "is-lit" */
.js .hero .sky,
.js .orbit,
.js .flare,
.js .nav__in,
.js .rise,
.js .hero__scroll { opacity: 0; }
.js .orbit { transform: translate3d(2.5%, 3.5%, 0) scale(1.08); }
.js .flare { transform: scale(0.35); }
.js .planet__eclipse { opacity: 1; }
.js .nav__in { transform: translate3d(0, -10px, 0); }
.js .rise { transform: translate3d(0, 22px, 0); }
.js .hero__title .w__i { transform: translate3d(0, 115%, 0); }

/* Hero, lit: the scene settles like a camera move, the sun comes up, the copy rises */
.js.is-lit .hero .sky {
  opacity: 1;
  transition: opacity 2.4s ease-out;
}
.js.is-lit .orbit {
  opacity: 1;
  transform: none;
  transition: opacity 1.6s ease-out 0.1s, transform 3s var(--ease-out) 0.1s;
}
.js.is-lit .planet__eclipse {
  opacity: 0;
  transition: opacity 3.2s var(--ease) 0.5s;
}
.js.is-lit .flare {
  opacity: 1;
  transform: none;
  transition: opacity 1.4s ease-out 0.5s, transform 2.4s var(--ease-out) 0.5s;
}
.js.is-lit .nav__in {
  opacity: 1;
  transform: none;
  transition: opacity 1s ease-out 0.3s, transform 1s var(--ease-out) 0.3s;
}
.js.is-lit .hero__title .w__i {
  transform: none;
  transition: transform 1.1s var(--ease-out);
  transition-delay: calc(0.35s + var(--wi, 0) * 60ms);
}
.js.is-lit .rise {
  opacity: 1;
  transform: none;
  transition: opacity 1s ease-out, transform 1.1s var(--ease-out);
  transition-delay: calc(1.05s + var(--i, 0) * 0.14s);
}
.js.is-lit .hero__scroll {
  opacity: calc(1 - var(--sy) * 6);
  transition: opacity 1.2s ease-out 2.2s, color 0.25s;
}

/* Scroll reveals */
.js .reveal {
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease-out);
  transition-delay: var(--d, 0ms);
}
.js .reveal.is-in {
  opacity: 1;
  transform: none;
}
/* Headings come in word by word instead of fading as a block */
.js .reveal[data-split] {
  opacity: 1;
  transform: none;
}
.js .reveal[data-split] .w__i {
  transform: translate3d(0, 115%, 0);
  transition: transform 1s var(--ease-out);
  transition-delay: calc(var(--d, 0ms) + var(--wi, 0) * 70ms);
}
.js .reveal[data-split].is-in .w__i { transform: none; }
.js .h2.reveal::before {
  transform: scaleX(0);
  transition: transform 1.1s var(--ease-out) 0.15s;
}
.js .h2.reveal.is-in::before { transform: scaleX(1); }

/* Steps: the route draws itself, then the stops light up one after another */
.js .steps.reveal {
  opacity: 1;
  transform: none;
}
.js .steps.reveal::after {
  transform: scaleX(0);
  transition: transform 1.9s var(--ease) 0.15s;
}
.js .steps.reveal.is-in::after { transform: scaleX(1); }
.js .steps.reveal .step {
  opacity: 0;
  transform: translate3d(0, 24px, 0);
  transition: opacity 0.9s var(--ease), transform 1s var(--ease-out);
}
.js .steps.reveal.is-in .step {
  opacity: 1;
  transform: none;
}
.js .steps.reveal.is-in .step:nth-child(2) { transition-delay: 0.35s; }
.js .steps.reveal.is-in .step:nth-child(3) { transition-delay: 0.7s; }

/* A glint runs through each numeral as its stop lights up */
@supports (-webkit-text-stroke: 1px #000) and ((-webkit-background-clip: text) or (background-clip: text)) {
  .js .step__n {
    background: linear-gradient(100deg, rgba(255, 230, 189, 0) 36%, rgba(255, 236, 200, 0.95) 50%, rgba(255, 230, 189, 0) 64%) no-repeat 100% 0 / 300% 100%;
    -webkit-background-clip: text;
    background-clip: text;
  }
  .js .steps.reveal.is-in .step__n { animation: glint 1.5s var(--ease) 0.55s both; }
  .js .steps.reveal.is-in .step:nth-child(2) .step__n { animation-delay: 0.95s; }
  .js .steps.reveal.is-in .step:nth-child(3) .step__n { animation-delay: 1.35s; }
}
@keyframes glint {
  from { background-position: 100% 0; }
  to { background-position: 0% 0; }
}

/* Line icons draw themselves as their block arrives (shapes carry pathLength="1") */
.js .reveal .draw > * {
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: stroke-dashoffset 1.3s var(--ease);
  transition-delay: calc(var(--d, 0ms) + 0.3s);
}
.js .reveal .draw > :nth-child(2) { transition-delay: calc(var(--d, 0ms) + 0.55s); }
.js .reveal .draw > :nth-child(3) { transition-delay: calc(var(--d, 0ms) + 0.8s); }
.js .reveal.is-in .draw > * { stroke-dashoffset: 0; }

/* The promise: its two gold rules are drawn from the left */
.js .pledge.reveal::before,
.js .pledge.reveal::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 1.3s var(--ease-out) 0.2s;
}
.js .pledge.reveal::after { transition-delay: 0.45s; }
.js .pledge.reveal.is-in::before,
.js .pledge.reveal.is-in::after { transform: scaleX(1); }

/* The 100+ band: the evening city comes up out of the dark as the block arrives */
@supports selector(:has(*)) {
  .js .reach__media {
    opacity: 0.25;
    transition: opacity 2.4s var(--ease) 0.1s;
  }
  .js .reach__media img {
    scale: 1.08;
    transition: scale 3.4s var(--ease-out) 0.1s;
  }
  .js .reach:has(.reach__body.is-in) .reach__media { opacity: 1; }
  .js .reach:has(.reach__body.is-in) .reach__media img { scale: 1; }
}

/* Final call: the sun swells when the section arrives */
.js .final__sun {
  opacity: 0.35;
  transform: translate(-50%, -42%) scale(0.72);
  transition: opacity 3.4s var(--ease), transform 3.8s var(--ease-out);
}
.js .final.is-in .final__sun {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* ───────── Responsive ───────── */

@media (min-width: 960px) and (max-width: 1239px) {
  .hero { --cxn: 0.82; }
}

/* Two columns: the heading stays in view while its rows scroll past */
@media (min-width: 960px) {
  .who .h2 {
    position: sticky;
    top: calc(var(--nav-h) + 40px);
  }
}

/* Stacked hero: the planet fills the top of the screen, the copy sits under it */
@media (max-width: 959px) {
  :root { --nav-h: 68px; }
  .nav__links { display: none; }

  .hero {
    --d: min(82vw, 41vh, 600px);
    --cx: 51%;
    --cy: calc(var(--nav-h) + var(--d) * 0.53);
    display: block;
    min-height: 0;
  }
  @supports (height: 1svh) {
    .hero {
      --d: min(82vw, 41svh, 600px);
      min-height: 0;
    }
  }
  .hero__shade {
    background:
      linear-gradient(180deg, rgba(1, 4, 10, 0.6) 0, rgba(1, 4, 10, 0) calc(var(--nav-h) + 40px)),
      linear-gradient(180deg,
        rgba(3, 7, 15, 0) calc(var(--nav-h) + var(--d) * 0.72),
        rgba(3, 7, 15, 0.8) calc(var(--nav-h) + var(--d) * 1.02),
        var(--bg) calc(var(--nav-h) + var(--d) * 1.5));
  }
  .hero__in {
    display: block;
    padding-top: calc(var(--nav-h) + var(--d) * 0.95);
    padding-bottom: clamp(56px, 9vw, 88px);
  }
  /* Stacked, the copy runs below the first screen: it must not fade while the reader scrolls to it */
  .hero__copy {
    max-width: 640px;
    transform: none;
    opacity: 1;
  }
  .hero__title {
    max-width: none;
    font-size: clamp(1.9rem, 1.08rem + 3.6vw, 3.3rem);
  }
  .hero__lead {
    max-width: 31em;
    margin-top: clamp(16px, 3vw, 26px);
    font-size: clamp(1rem, 0.9rem + 0.5vw, 1.25rem);
  }
  .hero__sub {
    max-width: 32em;
    margin-top: 10px;
    font-size: clamp(0.9375rem, 0.88rem + 0.25vw, 1rem);
  }
  .hero__actions {
    max-width: none;
    gap: 22px 34px;
    margin-top: clamp(22px, 4vw, 34px);
  }
  .hero__scroll { display: none; }

  .who__in { grid-template-columns: 1fr; }

  .steps {
    grid-template-columns: 1fr;
    gap: clamp(30px, 6vw, 44px);
    padding-left: clamp(30px, 6vw, 44px);
  }
  .steps::before,
  .steps::after {
    left: 4px;
    right: auto;
    top: 6px;
    bottom: 6px;
    width: 1px;
    height: auto;
  }
  .steps::after {
    background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, rgba(240, 180, 105, 0.15));
    transform-origin: top;
  }
  .js .steps.reveal::after { transform: scaleY(0); }
  .js .steps.reveal.is-in::after { transform: scaleY(1); }
  .step { padding-top: 0; }
  .step::before {
    left: calc(clamp(30px, 6vw, 44px) * -1);
    top: 6px;
  }
  .step p { max-width: 34em; }

  .footer__in {
    grid-template-columns: 1fr auto;
  }
  .footer__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-content: flex-start;
  }
}

@media (max-width: 759px) {
  .reach {
    display: flex;
    flex-direction: column;
    background: none;
    border-top: 0;
  }
  .reach__media {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 100%);
    mask-image: linear-gradient(180deg, #000 0%, #000 46%, transparent 100%);
  }
  .reach__media img {
    height: 112%;
    margin-top: -6%;
    object-position: 58% 40%;
  }
  .reach__body {
    max-width: none;
    margin-top: clamp(-120px, -24vw, -76px);
    padding-block: 0 clamp(40px, 9vw, 56px);
  }

  .perks { grid-template-columns: 1fr; }
  .perk:first-child { padding-right: 0; }
  .perk + .perk {
    padding-left: 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .pledge { align-items: start; }
  .pledge__icon { margin-top: 0.1em; }
}

@media (max-width: 480px) {
  :root { --nav-h: 62px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand { gap: 10px; }
  .brand__name { font-size: 0.92rem; }
  .brand__hub { padding-left: 11px; letter-spacing: 0.34em; }
  .btn--sm { padding: 9px 14px 9px 11px; font-size: 0.8125rem; }
  .nav__in { gap: 12px; }

  /* Phones: the main button is docked at the bottom, so the planet can take
     almost half of the first screen and the headline sits right under the ring */
  .hero { --d: min(92vw, 44vh, 600px); }
  @supports (height: 1svh) {
    .hero { --d: min(92vw, 44svh, 600px); }
  }
  .hero__in {
    padding-top: calc(var(--nav-h) + var(--d) * 0.9);
    padding-bottom: 36px;
  }
  .hero__lead { margin-top: 12px; }
  .hero__sub { margin-top: 8px; }
  .hero__actions { gap: 22px; margin-top: 18px; }
  .btn--primary {
    width: 100%;
    justify-content: space-between;
    padding-left: 24px;
    font-size: 0.9688rem;
  }
  .btn--lg {
    min-height: 64px;
    padding: 8px 8px 8px 24px;
    gap: 12px;
    font-size: 0.9688rem;
  }
  .btn--lg .btn__badge { width: 48px; height: 48px; }

  .aud__item { grid-template-columns: 1fr; }
  .aud__icon { width: 48px; }

  .footer__in { gap: 14px 16px; }
}

/* Phones: the bar carries only the wordmark, centred like a poster */
@media (max-width: 640px) {
  .nav__in { justify-content: center; }
}
/* Short phone screens: a tighter headline keeps it clear of the docked button */
@media (max-width: 640px) and (max-height: 600px) {
  .hero { --d: min(92vw, 40vh, 600px); }
  @supports (height: 1svh) {
    .hero { --d: min(92vw, 40svh, 600px); }
  }
  .hero__title { font-size: 1.72rem; }
}

/* Narrow phones: keep "Подать заявку в PLATKI HUB" on one line as long as possible */
@media (max-width: 400px) {
  .btn--primary,
  .btn--lg {
    padding-left: 20px;
    gap: 10px;
    font-size: min(0.9688rem, 4.1vw);
  }
}

@media (max-width: 359px) {
  .btn__label { white-space: normal; }
  .brand__name { font-size: 0.84rem; letter-spacing: 0.12em; }
  .brand__hub { padding-left: 9px; font-size: 0.56rem; letter-spacing: 0.28em; }
  .btn--sm { padding: 9px 12px; }
  .btn--sm .plane { display: none; }
}

/* Short landscape screens: keep the copy clear of the fold */
@media (min-width: 960px) and (max-height: 700px) {
  .hero__scroll { display: none; }
  .hero__in { padding-bottom: 40px; }
}

@media (hover: none) {
  .aud__item::before { display: none; }
  /* Finger-sized targets */
  .footer__nav a,
  .footer__top { padding-block: 12px; }
  .social { min-height: 44px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .js .hero .sky,
  .js .orbit,
  .js .flare,
  .js .nav__in,
  .js .rise,
  .js .reveal,
  .js .steps.reveal .step {
    opacity: 1;
    transform: none;
  }
  .js .hero__scroll { opacity: 1; }
  .js .planet__eclipse { opacity: 0; }
  .js .hero__title .w__i,
  .js .reveal[data-split] .w__i { transform: none; }
  .js .h2.reveal::before,
  .js .steps.reveal::after { transform: none; }
  .js .final__sun {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
  .hero .sky,
  .planet,
  .hero__copy,
  .reach__media img { transform: none; }
  .hero__copy { opacity: 1; }
  .btn--primary::before { display: none; }
  .js .reveal .draw > * { stroke-dashoffset: 0; }
  .js .pledge.reveal::before,
  .js .pledge.reveal::after { transform: none; }
  .js .reach__media { opacity: 1; }
  .js .reach__media img { scale: 1; }
}
