/* self-hosted fonts (cyrillic + latin), was Google Fonts */
/* Golos Text 400 cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/g/golos-text-cyrillic-ext-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Golos Text 400 cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/g/golos-text-cyrillic-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Golos Text 400 latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/g/golos-text-latin-ext-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Golos Text 400 latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(/fonts/g/golos-text-latin-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Golos Text 500 cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/golos-text-cyrillic-ext-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Golos Text 500 cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/golos-text-cyrillic-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Golos Text 500 latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/golos-text-latin-ext-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Golos Text 500 latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/golos-text-latin-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Golos Text 600 cyrillic-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/g/golos-text-cyrillic-ext-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Golos Text 600 cyrillic */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/g/golos-text-cyrillic-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Golos Text 600 latin-ext */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/g/golos-text-latin-ext-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Golos Text 600 latin */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/fonts/g/golos-text-latin-q5uCsoe9.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono 500 cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/jetbrains-mono-cyrillic-ext-tDbv2o-f.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* JetBrains Mono 500 cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/jetbrains-mono-cyrillic-tDbv2o-f.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* JetBrains Mono 500 latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/jetbrains-mono-latin-ext-tDbv2o-f.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono 500 latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/jetbrains-mono-latin-tDbv2o-f.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* JetBrains Mono 700 cyrillic-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/g/jetbrains-mono-cyrillic-ext-tDbv2o-f.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* JetBrains Mono 700 cyrillic */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/g/jetbrains-mono-cyrillic-tDbv2o-f.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* JetBrains Mono 700 latin-ext */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/g/jetbrains-mono-latin-ext-tDbv2o-f.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* JetBrains Mono 700 latin */
@font-face {
  font-family: 'JetBrains Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/g/jetbrains-mono-latin-tDbv2o-f.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Unbounded 500 cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/unbounded-cyrillic-ext-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Unbounded 500 cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/unbounded-cyrillic-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Unbounded 500 latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/unbounded-latin-ext-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Unbounded 500 latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/fonts/g/unbounded-latin-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Unbounded 700 cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/g/unbounded-cyrillic-ext-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Unbounded 700 cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/g/unbounded-cyrillic-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Unbounded 700 latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/g/unbounded-latin-ext-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Unbounded 700 latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/fonts/g/unbounded-latin-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* Unbounded 900 cyrillic-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/g/unbounded-cyrillic-ext-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
/* Unbounded 900 cyrillic */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/g/unbounded-cyrillic-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
/* Unbounded 900 latin-ext */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/g/unbounded-latin-ext-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* Unbounded 900 latin */
@font-face {
  font-family: 'Unbounded';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(/fonts/g/unbounded-latin-Yq6W-LOT.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0b0e13;
  --panel: #121722;
  --panel-2: #171d2a;
  --line: rgba(232, 238, 248, .09);
  --text: #eef1f5;
  --muted: #8e98a8;
  --orange: #ff5b1f;
  --orange-2: #ff8a3d;
  --sky: #7fd0ff;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Golos Text", system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;
  --gut: 20px;
  --s1: 8px; --s2: 16px; --s3: 24px; --s4: 40px; --s5: 72px; --s6: 128px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: clip; overscroll-behavior-x: none; scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font: 400 17px/1.6 var(--body);
  color: var(--text);
  background: #07080d;
  overflow-x: hidden;
  overflow-x: clip;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
  position: relative;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 4px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.02; letter-spacing: -.02em; text-transform: uppercase; }
h2 { font-size: clamp(34px, 7.4vw, 88px); max-width: 16ch; margin-bottom: var(--s4); }
.label { color: var(--orange); margin-bottom: var(--s2); }
main > section { position: relative; z-index: 2; padding: var(--s5) var(--gut); max-width: 1320px; margin: 0 auto; }

.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 28px; background: var(--orange); color: #120a05; font: 700 14px var(--display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; border: 0; border-radius: 999px; cursor: pointer; transition: background .15s, transform .15s; }
.btn:hover { background: var(--orange-2); transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: 11px; }
.btn--big { min-height: 64px; width: 100%; font-size: 16px; }
.link { font-weight: 600; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--orange); padding-bottom: 2px; }
.link:hover { color: var(--orange); }

.nav { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; gap: var(--s2); padding: 12px var(--gut); background: rgba(11, 14, 19, .12); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; font: 900 18px var(--display); letter-spacing: .06em; text-decoration: none; }
.logo svg { width: 30px; height: 30px; }
.nav__links { display: flex; gap: 16px; font-size: 14px; }
.nav__links a { text-decoration: none; color: var(--muted); }
.nav__links a:hover { color: var(--text); }
.nav .btn--sm { display: none; }

.hero { display: flex; flex-direction: column; justify-content: center; padding-top: var(--s5); padding-bottom: 112px !important; }
.hero__count { color: var(--muted); margin-bottom: var(--s3); }
.hero h1 { font-size: clamp(36px, 8vw, 124px); max-width: 13ch; }
.hero h1 span { display: block; color: var(--orange); }
.drift { display: inline-block; font-style: normal; animation: drift-word 14s ease-in-out infinite; transform-origin: 40% 60%; }
@keyframes drift-word {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  30% { transform: translate(14px, -22px) rotate(-5deg); }
  60% { transform: translate(-6px, -34px) rotate(4deg); }
  80% { transform: translate(8px, -12px) rotate(-2deg); }
}
.hero h1 .nowrap { display: inline; white-space: nowrap; color: inherit; }
.hero h1 .orb { position: relative; display: inline-block; }
.orb__l { position: relative; z-index: 2; }
.orb__ring, .orb__sys { position: absolute; left: 50%; top: 50%; width: 1.7em; height: 1.7em; margin: -.85em 0 0 -.85em; border-radius: 50%; transform: rotate(-22deg) scaleY(.3); pointer-events: none; }
/* one gradient for both halves: dim at the back, white-hot at the front, so the two pieces meet without a seam */
.orb__ring { z-index: 1; padding: .035em; background: conic-gradient(rgba(255, 226, 205, .16), rgba(255, 238, 226, .92) 22%, #fff 30% 70%, rgba(255, 238, 226, .92) 78%, rgba(255, 226, 205, .16)); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }
.orb__ring--front { z-index: 3; clip-path: inset(50% -10% -10% -10%); filter: drop-shadow(0 0 .03em rgba(255, 150, 80, .9)) drop-shadow(0 0 .08em rgba(255, 110, 40, .45)); }
.orb__sys { animation: orb-z 3.2s linear infinite; }
.orb__sys b { position: absolute; left: 50%; top: 50%; width: .2em; height: .2em; margin: -.1em 0 0 -.1em; border-radius: 50%; background: #fff; box-shadow: 0 0 .12em .04em rgba(127, 208, 255, .9); animation: orb-spin 3.2s linear infinite; }
@keyframes orb-spin { from { transform: rotate(0) translateX(.85em); } to { transform: rotate(360deg) translateX(.85em); } }
@keyframes orb-z { 0%, 49.9% { z-index: 3; } 50%, 100% { z-index: 1; } }
.hero__sub { margin-top: var(--s3); font: 500 clamp(17px, 2.2vw, 26px)/1.3 var(--display); color: var(--text); letter-spacing: -.01em; }
.btn--float { animation: drift-btn 6s ease-in-out infinite, glow 3s ease-in-out infinite; }
.btn--float:hover { animation-play-state: paused; }
@keyframes drift-btn {
  0%, 100% { transform: translate(0, 0) rotate(0); }
  25% { transform: translate(4px, -10px) rotate(-1.5deg); }
  50% { transform: translate(-3px, -4px) rotate(1deg); }
  75% { transform: translate(-5px, -12px) rotate(-.5deg); }
}
@keyframes glow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 91, 31, 0); } 50% { box-shadow: 0 10px 40px -4px rgba(255, 91, 31, .55); } }
.hero__row { display: grid; gap: var(--s3); margin-top: var(--s3); }
.hero__lead { color: #c5ccd8; max-width: 46ch; font-size: 18px; }
.hero__cta { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s3); }
.pad { position: absolute; bottom: 24px; right: 18%; width: 120px; height: 14px; }
.crewpad { position: absolute; left: 50%; bottom: -2px; transform: translateX(-50%); display: flex; gap: 1px; z-index: 4; }
.astro-w { position: relative; display: block; cursor: default; outline: none; }
.astro { display: block; width: 21px; height: 33px; overflow: visible; transition: transform .5s cubic-bezier(.3, 1.4, .5, 1), opacity .35s; transition-delay: inherit; }
.astro-w:nth-child(2) .astro { transform: translateY(-2px); }
.astro__arm { transform-origin: 28px 30px; animation: wave .7s ease-in-out infinite alternate; }
.astro-w:nth-child(2) .astro__arm { animation-delay: -.25s; }
.astro-w:nth-child(3) .astro__arm { animation-delay: -.5s; }
@keyframes wave { from { transform: rotate(-18deg); } to { transform: rotate(26deg); } }
.astro-w::after { content: attr(data-role); position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translate(-50%, 6px); white-space: nowrap; font: 700 10px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bg); background: var(--text); padding: 6px 9px; border-radius: 7px; box-shadow: 0 6px 20px rgba(0, 0, 0, .5); opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; z-index: 6; }
.astro-w::before { content: ""; position: absolute; bottom: calc(100% + 3px); left: 50%; margin-left: -5px; border: 5px solid transparent; border-bottom: 0; border-top-color: var(--text); opacity: 0; transition: opacity .2s; z-index: 6; }
.astro-w:hover::after, .astro-w:focus-visible::after, .astro-w:active::after { opacity: 1; transform: translate(-50%, 0); }
.astro-w:hover::before, .astro-w:focus-visible::before, .astro-w:active::before { opacity: 1; }
.astro-w:hover .astro__arm { animation-duration: .3s; }
.bubble { position: absolute; bottom: calc(100% + 6px); right: 40%; transform: translate(var(--bx, 0px), 6px) scale(.8); transform-origin: 100% 100%; white-space: nowrap; font: 500 11px/1.2 var(--body); color: var(--bg); background: #ffd9c4; padding: 6px 10px; border-radius: 12px 12px 3px 12px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .25s cubic-bezier(.3, 1.5, .5, 1); z-index: 5; }
.astro-w.say .bubble { opacity: 1; transform: translate(var(--bx, 0px), 0) scale(1); }
.astro-w:hover .bubble { opacity: 0; }
.crewpad.talking .astro__arm { animation-play-state: paused; }
.crewpad.talking .astro-w.say .astro__arm { animation-play-state: running; animation-duration: .22s; }
.crewpad .astro-w:nth-child(1) { --dx: 22px; transition-delay: .2s; }
.crewpad .astro-w:nth-child(2) { --dx: 0px; transition-delay: .1s; }
.crewpad .astro-w:nth-child(3) { --dx: -22px; transition-delay: 0s; }
.crewpad.gone .astro-w { pointer-events: none; }
.crewpad.gone .astro-w:nth-child(1) { transition-delay: 0s; }
.crewpad.gone .astro-w:nth-child(3) { transition-delay: .2s; }
.crewpad.gone .astro { opacity: 0; transform: translate(var(--dx), -14px) scale(.2); }

/* sized to the largest viewport, so no bare strip shows when iPhone Safari hides or shows its toolbar */
.sky, .nebula { position: fixed; top: 0; left: 0; right: 0; height: 100vh; height: 100lvh; z-index: 0; pointer-events: none; }
.sky { width: 100%; }
.nebula { overflow: hidden; }
.nebula::before, .nebula::after { content: ""; position: absolute; inset: -20%; }
.nebula::before { background: radial-gradient(40% 30% at 78% 22%, rgba(118, 74, 255, .22), transparent 70%), radial-gradient(35% 28% at 18% 70%, rgba(40, 140, 255, .16), transparent 70%), radial-gradient(30% 22% at 60% 85%, rgba(255, 91, 31, .10), transparent 70%); animation: drift 60s ease-in-out infinite alternate; }
.nebula::after { background: radial-gradient(60% 18% at 50% 50%, rgba(200, 180, 255, .07), transparent 70%); transform: rotate(-28deg); animation: band 90s ease-in-out infinite alternate; }
@keyframes drift { to { transform: translate(-3%, 2%) scale(1.08) rotate(4deg); } }
@keyframes band { to { transform: rotate(-20deg) scale(1.15); } }

.clients { padding-top: 0 !important; padding-bottom: var(--s2) !important; max-width: none !important; }
.clients .label { max-width: 1320px; margin: 0 auto var(--s3); }
.marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee__row { list-style: none; display: flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee__row li { padding: 0 clamp(28px, 4vw, 56px); font: 700 clamp(20px, 2.6vw, 30px) var(--display); color: rgba(232, 238, 248, .55); white-space: nowrap; text-transform: uppercase; letter-spacing: .02em; transition: color .2s; }
.marquee { pointer-events: none; user-select: none; }
@keyframes marquee { to { transform: translateX(-50%); } }
.svc { list-style: none; border-top: 1px solid var(--line); }
.svc li { border-bottom: 1px solid var(--line); }
.svc a { display: grid; grid-template-columns: 44px 1fr; column-gap: var(--s2); padding: var(--s3) 0; text-decoration: none; transition: background .2s; }
.svc a:hover .svc__who { color: var(--orange); }
.svc a:hover { background: linear-gradient(90deg, rgba(255, 91, 31, .07), transparent 70%); }
.svc__n { color: var(--orange); padding-top: 6px; }
.svc h3 { font-size: clamp(22px, 4.6vw, 44px); }
.svc p { grid-column: 2; color: var(--muted); margin-top: var(--s1); max-width: 56ch; }
.svc__who { grid-column: 2; color: var(--sky); margin-top: var(--s2); }

.chain__row { display: grid; gap: 10px; counter-reset: c; }
.chain__step { position: relative; background: rgba(18, 23, 34, .5); border: 1px solid var(--line); border-radius: 18px; padding: var(--s3); }
.chain__step b { display: block; font: 700 24px var(--display); text-transform: uppercase; }
.chain__step span { color: var(--muted); }
.chain__step--end { background: var(--orange); color: #120a05; border-color: var(--orange); }
.chain__step--end span { color: #3d1a08; }
.chain__note { margin-top: var(--s4); max-width: 62ch; color: #c5ccd8; font-size: 19px; }

.case { grid-template-rows: auto 1fr; background: rgba(18, 23, 34, .5); border: 1px solid var(--line); border-radius: 24px; overflow: hidden; display: grid; min-width: 0; container-type: inline-size; position: relative; transition: border-color .2s, transform .2s; }
/* the title link covers the whole card, so a click anywhere opens the case */
.case h3 a::after { content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit; }
.case:has(h3 a):hover { border-color: rgba(255, 91, 31, .5); transform: translateY(-3px); }
.case:has(h3 a) { cursor: pointer; }
.case__shot { display: block; overflow: hidden; background: #000; }
.case__shot img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; transition: transform .5s; }
.case__shot:hover img { transform: scale(1.03); }
.case__body { padding: var(--s3); display: flex; flex-direction: column; align-items: flex-start; }
.case__tag { color: var(--orange); margin-bottom: var(--s1); }
.case h3 { font-size: clamp(24px, 4vw, 40px); margin-bottom: var(--s2); }
.case p:not(.case__tag) { color: var(--muted); max-width: 52ch; }
.case .link { display: inline-block; margin-top: auto; padding-top: var(--s3); overflow-wrap: anywhere; }
.case-list { display: grid; gap: var(--s2); margin-bottom: var(--s4); }
.case-list .case[hidden] { display: none; }
/* home: the three top cases always stay in one row; on narrow phones the row swipes sideways */
#top-cases { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 599px) {
  #top-cases { grid-template-columns: repeat(3, 80%) 1px; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; touch-action: pan-x pan-y; scrollbar-width: none; margin-right: calc(-1 * var(--gut)); padding-right: var(--gut); }
  /* empty last column: lets the third card snap to the left edge like the others */
  #top-cases::after { content: ""; width: 20vw; }
  #top-cases::-webkit-scrollbar { display: none; }
  #top-cases .case { scroll-snap-align: start; }
}
#top-cases .case__shot img { aspect-ratio: 16 / 9; }
#top-cases .case__body { padding: 18px 20px 20px; }
#top-cases .case h3 { font-size: clamp(20px, 2vw, 26px); margin-bottom: 8px; }
#top-cases .case p:not(.case__tag) { font-size: 15px; }
#top-cases .case .link { display: none; } /* the whole card is already a link */
#top-cases .case .case__metrics { min-height: 56.25cqi; }
#top-cases .case .case__metrics div { padding: 14px 20px; }
#top-cases .case .case__metrics div:first-of-type b { font-size: clamp(24px, min(17cqi, calc(100cqi / var(--n, 5))), 72px); }
#top-cases .case .case__metrics div:first-of-type span { margin-top: 4px; }
#cases > h2 { font-size: clamp(34px, 5vw, 64px); margin-bottom: var(--s3); }
#cases .stats { margin-bottom: var(--s3); }
#cases .stats div { padding: 16px; }
#cases .stats dt { font-size: clamp(16px, calc(100cqi / var(--n, 4)), 40px); }
#cases .stats dd { margin-top: 4px; font-size: 13px; }
#cases .case-list { margin-bottom: var(--s3); }
.btn--ghost { background: transparent; color: var(--text); border: 1px solid rgba(232, 238, 248, .3); }
.btn--ghost:hover { background: var(--text); color: var(--bg); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: calc(var(--s4) * -.5) 0 var(--s4); }
.filters button { min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: rgba(18, 23, 34, .7); color: var(--muted); font: 600 15px var(--body); cursor: pointer; }
.filters button[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.filters button span { opacity: .85; margin-left: 4px; }
.page-hero { padding-top: var(--s5) !important; padding-bottom: 0 !important; }
.page-hero h1 { font-size: clamp(32px, 7.4vw, 104px); overflow-wrap: break-word; }
.page-hero h1 span { display: block; color: var(--orange); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.page-hero p { color: #c5ccd8; max-width: 52ch; margin: var(--s3) 0 var(--s4); font-size: 18px; }
.back { display: inline-block; margin-bottom: var(--s3); color: var(--muted); text-decoration: none; }
.back:hover, .back a:hover { color: var(--text); }
.back a { color: inherit; text-decoration: none; }
.case--todo { border-style: dashed; border-color: rgba(255, 91, 31, .4); background: transparent; }
.case__metrics { display: grid; grid-template-columns: repeat(3, 1fr); }
.case__metrics div { padding: var(--s3) var(--s2); }
.case__metrics b { display: block; font: 700 clamp(16px, 2.1vw, 24px) var(--display); color: var(--orange); white-space: nowrap; }
.case__metrics--page b { font-size: clamp(22px, 4vw, 40px); }
.case__metrics span { font-size: 13px; color: var(--muted); }
/* on a card the numbers fill the same 16:10 slot a screenshot would: one big headline figure, two small ones under it */
.case .case__metrics { min-height: 62.5cqi; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr auto; }
.case .case__metrics div:first-of-type { grid-column: 1 / -1; align-self: center; padding: var(--s3); }
.case .case__metrics div:first-of-type b { font-size: clamp(26px, min(21cqi, calc(112cqi / var(--n, 5))), 92px); line-height: 1; }
.case .case__metrics div + div b { overflow: hidden; text-overflow: ellipsis; }
.case[data-type="ads"] h3 { font-size: clamp(20px, 8.5cqi, 38px); overflow-wrap: anywhere; hyphens: auto; }
.case .case__metrics div:first-of-type span { font-size: 15px; display: block; margin-top: 8px; }
.case .case__metrics div:nth-child(2) { border-left: 0; padding-left: var(--s3); }
.case .case__metrics { position: relative; }
.case .case__metrics div + div b { font-size: clamp(14px, min(7cqi, calc(46cqi / var(--n, 5))), 30px); }

.stops { list-style: none; display: grid; gap: 170px; padding: var(--s4) 0; }
.stop { display: grid; grid-template-columns: 96px 1fr; gap: var(--s3); align-items: center; }
.stop:nth-child(even) { grid-template-columns: 1fr 96px; }
.stop:nth-child(even) .planet { order: 2; }
.stop:nth-child(even) .stop__text { text-align: right; justify-self: end; }
.planet { width: 96px; height: 96px; border-radius: 50%; position: relative; flex: none; transition: box-shadow .8s; }
.planet::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--tex); filter: grayscale(.9) brightness(.5); transition: filter .8s; box-shadow: inset -20px -22px 30px rgba(7, 8, 20, .8), inset 6px 6px 14px rgba(200, 210, 255, .1); }
.stop.landed .planet { box-shadow: 0 0 70px var(--glow); }
.stop.landed .planet::before { filter: saturate(.5) brightness(.78) contrast(.95); }
.stop:nth-child(1) .planet { --glow: rgba(224, 110, 60, .16); --tex: radial-gradient(circle at 22% 34%, #7a2f14 0 6%, #a2431f 7% 9%, transparent 10%), radial-gradient(circle at 62% 58%, #6d2a12 0 5%, #9b4020 6% 8%, transparent 9%), radial-gradient(circle at 80% 30%, #7f3216 0 3%, transparent 4%), radial-gradient(circle at 40% 78%, #8a3719 0 4%, transparent 5%), radial-gradient(ellipse 60% 18% at 50% 8%, rgba(255, 230, 210, .5), transparent 70%), linear-gradient(160deg, #e3804f, #c45a2c 45%, #8e3a1a); }
.stop:nth-child(2) .planet { --glow: rgba(230, 190, 130, .16); --tex: radial-gradient(ellipse 12% 7% at 66% 62%, #b2462b 40%, #d8774f 60%, transparent 72%), repeating-linear-gradient(176deg, #f1dcbf 0 7%, #d6a774 7% 12%, #edd2ad 12% 19%, #b97d4e 19% 23%, #e9c99c 23% 31%, #c48a5a 31% 35%); }
.stop:nth-child(3) .planet { --glow: rgba(90, 170, 255, .16); --tex: radial-gradient(ellipse 22% 9% at 30% 30%, rgba(255, 255, 255, .75), transparent 70%), radial-gradient(ellipse 18% 7% at 75% 70%, rgba(255, 255, 255, .6), transparent 70%), radial-gradient(ellipse 16% 22% at 26% 52%, #3faa6a 55%, transparent 60%), radial-gradient(ellipse 12% 16% at 62% 40%, #2f9459 55%, transparent 60%), radial-gradient(ellipse 9% 12% at 84% 58%, #4bb877 55%, transparent 60%), radial-gradient(ellipse 14% 8% at 44% 80%, #3a9e62 55%, transparent 60%), linear-gradient(180deg, #5bb4ff, #2a74d6 55%, #164a9a); }
.stop:nth-child(4) .planet { --glow: rgba(170, 225, 255, .16); --tex: radial-gradient(circle at 70% 30%, #b9dcef 0 6%, transparent 7%), radial-gradient(circle at 30% 70%, #a9d0e6 0 5%, transparent 6%), linear-gradient(170deg, #f2fbff, #bfe3f5 50%, #7fb2d6); }
.stop:nth-child(5) .planet { --glow: rgba(170, 100, 255, .16); --tex: radial-gradient(circle at 30% 30%, #ff9d4d 0 4%, transparent 9%), radial-gradient(circle at 72% 64%, #ff7a33 0 3%, transparent 8%), linear-gradient(160deg, #8a5cff, #4b2aa8 50%, #24124f); }
.planet::after { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 1px dashed rgba(232, 238, 248, .18); transition: border-color .5s, transform 6s linear; }
.stop.landed .planet::after { border-color: rgba(232, 238, 248, .35); transform: rotate(180deg); }
.planet { --r: 46px; }
.pcrew { position: absolute; inset: 0; z-index: 2; }
.pa { position: absolute; left: 50%; top: 50%; width: 18px; height: 23px; margin: -23px 0 0 -9px; transform: rotate(var(--a)) translateY(calc(-1 * var(--r) + 3px)); transform-origin: 50% 100%; }
.pa__svg { display: block; width: 100%; height: 100%; overflow: visible; }
.pa--client .pa__svg { transform: scaleX(-1); }
.pa__arm { transform-origin: 27px 26px; transform: rotate(30deg); transition: transform .3s; }
.pa.talking .pa__arm { animation: gesture .35s ease-in-out infinite alternate; }
@keyframes gesture { from { transform: rotate(10deg); } to { transform: rotate(-30deg); } }
.pa__type { animation: type .18s steps(2) infinite; animation-delay: var(--d); animation-play-state: paused; }
.stop.landed .pa__type { animation-play-state: running; }
@keyframes type { 50% { transform: translateY(-1.5px); } }
.pa__screen { transition: fill .4s; }
.stop.landed .pa__screen { fill: #7fd0ff; animation: screen 2.4s ease-in-out infinite; animation-delay: var(--d); }
@keyframes screen { 50% { fill: #ffb27d; } }
.pa__say { position: absolute; bottom: calc(100% + 16px); left: 50%; transform: translate(calc(-50% + var(--sx, 0px)), var(--sy, 0px)) rotate(calc(-1 * var(--a))) scale(.7); transform-origin: 50% 100%; white-space: nowrap; font: 600 10px/1.2 var(--body); color: var(--bg); background: var(--text); padding: 4px 8px; border-radius: 10px; opacity: 0; transition: opacity .2s, transform .25s; pointer-events: none; }
.pa--client .pa__say { background: #9fd8ff; }
.pa.talking { z-index: 5; }
.pa.talking .pa__say { opacity: 1; transform: translate(calc(-50% + var(--sx, 0px)), var(--sy, 0px)) rotate(calc(-1 * var(--a))) scale(1); }
.stop__text { max-width: 44ch; opacity: .45; transition: opacity .5s; }
.stop.landed .stop__text { opacity: 1; }
.stop__text span { color: var(--orange); }
.stop__text h3 { font-size: clamp(24px, 4.4vw, 44px); margin: 6px 0 10px; }
.stop__text p { color: var(--muted); }

.flyers { display: grid; gap: var(--s4); padding: var(--s3) 0; }
.flyer { display: flex; align-items: center; gap: var(--s3); }
.flyer:nth-child(2) { flex-direction: row-reverse; text-align: right; }
.flyer__body { flex: none; width: 64px; animation: drift-a 16s ease-in-out infinite; }
.f2 .flyer__body { animation-name: drift-b; animation-duration: 19s; animation-delay: -6s; }
.f3 .flyer__body { animation-duration: 14s; animation-delay: -9s; animation-direction: reverse; }
.flyer__svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes drift-a {
  0%, 100% { transform: translate(0, 0) rotate(-18deg); }
  25% { transform: translate(34px, -26px) rotate(10deg); }
  50% { transform: translate(10px, -48px) rotate(28deg); }
  75% { transform: translate(-28px, -18px) rotate(-6deg); }
}
@keyframes drift-b {
  0%, 100% { transform: translate(0, -10px) rotate(14deg); }
  30% { transform: translate(-36px, -40px) rotate(-12deg); }
  60% { transform: translate(-8px, 6px) rotate(-30deg); }
  80% { transform: translate(26px, -20px) rotate(4deg); }
}
.flyer figcaption b { display: block; font: 700 clamp(18px, 4.6vw, 24px)/1.15 var(--display); text-transform: uppercase; }
.flyer figcaption span { display: block; color: var(--orange); margin-top: 6px; }

.faq details { border-top: 1px solid var(--line); }
.faq details:last-of-type { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s2); padding: var(--s3) 0; font: 600 clamp(18px, 3vw, 24px)/1.3 var(--body); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--display); color: var(--orange); font-size: 28px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: var(--s3); max-width: 62ch; }

.contact { text-align: center; }
.contact h2 { margin-left: auto; margin-right: auto; font-size: clamp(26px, 7.6vw, 88px); }
.contact__lead { margin-left: auto !important; margin-right: auto !important; }
.contact__grid { display: grid; justify-items: center; }
.contact .form { max-width: 680px; }
.contact .form { width: 100%; text-align: left; }
.contact__direct { justify-content: center; }
.cases__actions { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s2); }
.cta-strip { display: grid; gap: var(--s3); justify-items: center; text-align: center; padding-top: var(--s4) !important; padding-bottom: var(--s4) !important; }
.cta-strip p { font: 700 clamp(22px, 3.4vw, 40px)/1.15 var(--display); text-transform: uppercase; letter-spacing: -.01em; max-width: 22ch; }
.cta-strip p span { display: block; color: var(--orange); }
.sticky-cta { position: fixed; z-index: 40; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; align-items: center; justify-content: center; min-height: 56px; border-radius: 999px; background: rgba(255, 178, 150, .2); -webkit-backdrop-filter: blur(7px); backdrop-filter: blur(7px); color: #fff; font: 700 15px var(--display); text-transform: uppercase; text-decoration: none; transform: translateY(140%); transition: transform .35s cubic-bezier(.3, 1.3, .5, 1); }
.sticky-cta.on { transform: none; }
main > section:nth-child(3n) .contact--short h2 { margin-bottom: var(--s3); }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; margin-bottom: var(--s4); }
.stats div { background: rgba(14, 18, 27, .45); box-shadow: 0 0 0 .5px var(--line); padding: var(--s3) var(--s2); min-width: 0; container-type: inline-size; }
.stats dt { font: 900 clamp(16px, calc(118cqi / var(--n, 4)), 56px)/1 var(--display); color: var(--orange); white-space: nowrap; }
.stats dd { margin-top: 8px; font-size: 14px; color: var(--muted); }
.plat { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.plat li { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 128px; padding: 16px 10px; background: rgba(232, 238, 248, .04); border: 1px solid var(--line); color: #c5ccd8; border-radius: 14px; backdrop-filter: blur(6px); text-align: center; overflow: hidden; transition: transform .2s, box-shadow .2s; }
.plat li:hover { transform: translateY(-4px); border-color: rgba(232, 238, 248, .25); }
.plat__logo { display: flex; align-items: center; gap: 6px; }
.plat__logo svg { width: 34px; height: 34px; }
.plat__logo b { font: 600 22px var(--body); color: var(--text); letter-spacing: -.02em; }
.plat span { font: 500 12px/1.3 var(--body); }
.plat__logo--col { flex-direction: column; gap: 4px; }
.plat__logo--col svg { width: 30px; height: 22px; }
.plat__logo--col b { font-size: 17px !important; }
.plat__tt { font-weight: 800 !important; text-shadow: -1.5px -1px 0 #25f4ee, 1.5px 1px 0 #fe2c55; }
.plat em { align-self: stretch; margin: 4px -10px -16px; padding: 5px; background: rgba(232, 238, 248, .08); color: var(--muted); font: 600 10px var(--body); font-style: normal; letter-spacing: .06em; text-transform: uppercase; }
.incl { list-style: none; border-top: 1px solid var(--line); max-width: 760px; }
.incl li { display: flex; gap: var(--s2); align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); font-size: clamp(18px, 2.4vw, 22px); }
.incl .mono { color: var(--orange); }
.svc-more { display: grid; gap: 10px; }
.svc-more a { display: grid; gap: 6px; padding: var(--s3); border: 1px solid var(--line); border-radius: 20px; background: rgba(18, 23, 34, .7); text-decoration: none; transition: border-color .2s; }
.svc-more a:hover { border-color: var(--orange); }
.svc-more b { font: 700 20px var(--display); text-transform: uppercase; }
.svc-more span { color: var(--muted); }
.case h3 a { color: inherit; text-decoration: none; }
.case h3 a:hover { color: var(--orange); }
.case-h1 { font-size: clamp(36px, 8vw, 104px) !important; }
.case-page__img { width: 100%; border-radius: 24px; border: 1px solid var(--line); margin-bottom: var(--s5); }
.case__metrics--page { border: 1px dashed rgba(255, 91, 31, .4); border-radius: 24px; margin-bottom: var(--s5); }
.case-page { display: grid; gap: var(--s5); }
.case-shots__h { margin-top: var(--s5); }
.case-shots { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: var(--s2); }
.case-shots figure { margin: 0; }
.case-shots a { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .2s, border-color .2s; }
.case-shots a:hover { transform: translateY(-3px); border-color: var(--orange); }
.case-shots img { display: block; width: 100%; height: 120px; object-fit: cover; object-position: left top; cursor: zoom-in; }
.case-shots figcaption { margin-top: 8px; font: 500 11px/1.4 var(--mono); color: var(--muted); }
.case-page__task { font-size: clamp(19px, 2.6vw, 26px); line-height: 1.45; max-width: 36ch; }
.case-next a { font: 700 clamp(26px, 5vw, 56px)/1.1 var(--display); text-transform: uppercase; text-decoration: none; }
.case-next a:hover { color: var(--orange); }
.page-hero .btn { margin-top: var(--s1); }
.page-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: var(--s2); }
.contact__lead { color: #c5ccd8; max-width: 50ch; margin: calc(var(--s4) * -.5) 0 var(--s4); font-size: 19px; }
.form { display: grid; gap: var(--s2); background: rgba(18, 23, 34, .4); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); border: 1px solid var(--line); border-radius: 28px; padding: var(--s3); max-width: 760px; }
.form fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.form legend { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; font-weight: 600; transition: .15s; }
.chip input:checked + span { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip input:focus-visible + span { outline: 2px solid var(--orange); outline-offset: 3px; }
.form__row { display: grid; gap: var(--s2); }
.form label:not(.chip) { display: grid; gap: 8px; font-size: 13px; color: var(--muted); }
.form input:not([type="checkbox"]), .form textarea { width: 100%; font: 500 16px var(--body); color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; resize: vertical; }
.form input:focus, .form textarea:focus { outline: none; border-color: var(--orange); }
.form__hint { font-size: 13px; color: var(--muted); text-align: center; }
.contact__direct { display: flex; flex-wrap: wrap; gap: 10px; margin-top: var(--s3); }
.contact__direct a { text-decoration: none; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; color: #c5ccd8; text-transform: none; letter-spacing: 0; font-size: 14px; }
.contact__direct a:hover { border-color: var(--orange); color: var(--text); }

.foot { position: relative; z-index: 2; padding: var(--s5) var(--gut); text-align: center; border-top: 1px solid var(--line); overflow: hidden; }
.foot__word { font: 900 clamp(40px, 13vw, 230px)/0.9 var(--display); white-space: nowrap; letter-spacing: .02em; color: rgba(232, 238, 248, .07); }
.foot .mono { color: var(--muted); margin-top: var(--s3); }
.landing { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); font: 500 11px var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--orange); border-top: 3px solid var(--orange); padding-top: 8px; width: 140px; }

.flight { position: absolute; top: 0; left: 0; width: 100%; z-index: 1; pointer-events: none; overflow: hidden; }   /* rocket, smoke and trail never widen the page (iPhone pans sideways otherwise) */
.flight__svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.route { fill: none; stroke: none; }
.trail { fill: none; stroke: none; }
.tail { filter: drop-shadow(0 0 6px rgba(255, 91, 31, .55)); }
.tail path { fill: none; stroke: var(--orange); stroke-opacity: .26; stroke-linecap: round; }
.rocket { position: absolute; top: 0; left: 0; width: 34px; height: 68px; margin: -34px 0 0 -17px; will-change: transform; z-index: 3; }
.rocket__body { width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 8px 18px rgba(0, 0, 0, .5)); }
.flame { fill: var(--orange); transform-origin: 30px 92px; animation: flick .12s infinite alternate; opacity: var(--thrust, .5); }
.flame--in { fill: #ffd27a; }
@keyframes flick { to { transform: scaleY(.75) scaleX(.9); } }
.rocket__puffs { position: absolute; inset: 0; }
.puff { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: rgba(232, 238, 248, .5); pointer-events: none; animation: puff .9s ease-out forwards; }
@keyframes puff { to { transform: translate(var(--dx), var(--dy)) scale(3); opacity: 0; } }
.smoke { position: absolute; z-index: 1; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: rgba(200, 210, 225, .35); pointer-events: none; animation: smoke 1.2s ease-out forwards; }
@keyframes smoke { to { transform: scale(3.2); opacity: 0; } }

.hud { opacity: 0; transform: translateY(10px); transition: opacity .3s, transform .3s; position: fixed; z-index: 25; left: var(--gut); bottom: var(--gut); display: none; gap: 2px; font-family: var(--mono); background: rgba(11, 14, 19, .85); border: 1px solid var(--line); border-radius: 14px; padding: 10px 14px; backdrop-filter: blur(6px); }
.hud.on { opacity: 1; transform: none; }
.hud div { display: flex; justify-content: space-between; gap: 18px; font-size: 11px; }
.hud span { color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.hud b { color: var(--orange); font-weight: 700; min-width: 86px; text-align: right; }

@media (min-width: 760px) {
  .planet { --r: 68px; }
  .pa { width: 26px; height: 33px; margin: -33px 0 0 -13px; }
  .pa__say { font-size: 12px; }
  .rocket { width: 44px; height: 88px; margin: -44px 0 0 -22px; }
  :root { --gut: 40px; }
  .form__row { grid-template-columns: 1fr 1fr; }
  .chain__row { grid-template-columns: repeat(4, 1fr); }
  .chain__step:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 50%; transform: translateY(-50%); font-family: var(--display); color: var(--orange); z-index: 1; }
  .case-list { grid-template-columns: 1fr 1fr; }
  .case-list--all { grid-template-columns: repeat(2, 1fr); }
  .flyers { grid-template-columns: repeat(3, 1fr); align-items: start; }
  .flyer, .flyer:nth-child(2) { flex-direction: column; text-align: center; }
  .flyer:nth-child(2) { margin-top: var(--s5); }
  .flyer__body { width: 95px; }
  .flyer { gap: var(--s4); }
  .stop, .stop:nth-child(even) { grid-template-columns: 140px 1fr; }
  .stop:nth-child(even) { grid-template-columns: 1fr 140px; }
  .planet { width: 140px; height: 140px; }
  .form { padding: var(--s4); }
  .stats { grid-template-columns: repeat(4, 1fr); }
  .plat { grid-template-columns: repeat(4, 1fr); }
  .svc-more { grid-template-columns: repeat(3, 1fr); }
  .case-page { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 1000px) {
  .hero { padding-bottom: 88px !important; }
  .clients + .services { padding-top: var(--s5); }
  .hero { padding-right: 300px !important; }
  .hero h1 { font-size: clamp(36px, 6.4vw, 108px); max-width: none; }
  .rocket { width: 64px; height: 128px; margin: -64px 0 0 -32px; }
  .astro { width: 25px; height: 39px; }
  .pad { bottom: auto; top: 44%; right: 110px; }
  main > section { padding-top: var(--s6); padding-bottom: var(--s6); }
  .nav__links { gap: 32px; font-size: 15px; }
  .nav .btn--sm { display: inline-flex; }
  .sticky-cta { display: none; }
  .cta-strip { align-items: center; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .hud { display: grid; }
  .hero__row { grid-template-columns: 1fr auto; align-items: end; }
  .svc a { grid-template-columns: 80px 1.1fr 1fr 220px; align-items: start; padding: var(--s4) 0; }
  .svc p { grid-column: 3; margin-top: 4px; }
  .svc__who { grid-column: 4; text-align: right; margin-top: 10px; }
  .case-list--all { grid-template-columns: repeat(3, 1fr); }
  .stops { padding: var(--s5) 8%; gap: 230px; }
  .plat { grid-template-columns: repeat(9, 1fr); }
  }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flame, .astro__arm, .nebula::before, .nebula::after, .drift, .btn--float, .orb__sys, .orb__sys b, .pa__type, .pa.talking .pa__arm, .stop.landed .pa__screen, .planet::before, .flyer__body, .marquee__row,   .puff, .smoke { display: none; }
}

.zoom { margin: auto; border: 0; padding: 0; background: transparent; max-width: 94vw; max-height: 92vh; overflow: visible; }
.zoom::backdrop { background: rgba(5, 7, 10, .85); }
.zoom img { display: block; max-width: 94vw; max-height: 92vh; border-radius: 12px; cursor: zoom-out; }
.zoom__x { position: absolute; top: -14px; right: -14px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--orange); color: #120a05; font: 700 24px/1 var(--display); cursor: pointer; }

/* footer service names are links */
.foot__links a { color: inherit; text-decoration: none; transition: color .15s; }
.foot__links a:hover { color: var(--orange); }

/* header «Послуги» dropdown */
.nav__svc { position: relative; }
.nav__drop { position: absolute; top: 100%; left: -18px; z-index: 40; display: grid; min-width: 320px; margin-top: 14px; padding: 6px; background: rgba(11, 14, 19, .96); border: 1px solid var(--line); border-radius: 18px; box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .7); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .2s, visibility .2s; }
.nav__drop::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__links .nav__drop a { display: block; padding: 16px 18px; font: 800 18px/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em; color: var(--text); border-radius: 12px; transition: background .15s, color .15s; }
.nav__links .nav__drop a + a { border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; }
.nav__links .nav__drop a:hover, .nav__links .nav__drop a:focus-visible { color: var(--orange); background: rgba(255, 91, 31, .07); }
.nav__svc.open .nav__drop, .nav__svc:focus-within .nav__drop { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) { .nav__svc:hover .nav__drop { opacity: 1; visibility: visible; transform: none; } }
/* between phone and desktop the links sit near the right edge, so open leftwards */
@media (min-width: 760px) and (max-width: 999px) { .nav__drop { left: auto; right: -18px; } }
@media (max-width: 759px) { .nav__drop { position: fixed; top: 58px; left: 12px; right: 12px; min-width: 0; margin: 0; } }

/* services thrown out of the pulsar (desktop) */
html.pulsar-hot { cursor: pointer; }
.pburst { position: fixed; z-index: 35; width: 0; height: 0; }
.pburst a { position: absolute; left: 0; top: 0; white-space: nowrap; padding: 8px 12px; font: 800 12px/1 var(--display); text-transform: uppercase; color: var(--text); text-decoration: none; background: rgba(11, 14, 19, .9); border: 1px solid rgba(255, 91, 31, .45); border-radius: 999px; box-shadow: 0 0 24px -6px rgba(255, 140, 90, .5); opacity: 0; transform: translate(-50%, -50%) scale(.2); transition: transform .45s cubic-bezier(.2, 1.4, .4, 1), opacity .3s, color .15s, border-color .15s; }
.pburst.on a { opacity: 1; transform: translate(calc(-50% + var(--cx) * 50% + var(--tx)), calc(-50% + var(--cy) * 50% + var(--ty))) scale(1); }
.pburst a:hover { color: var(--orange); border-color: var(--orange); }
@media (prefers-reduced-motion: reduce) { .pburst a, .nav__drop { transition: none; } }

/* arms stay still: no waving, gesturing or typing (user request) */
.astro__arm, .pa__arm, .pa.talking .pa__arm, .pa__type { animation: none !important; }
/* audit form window */
.audit { margin: auto; width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 24px); overflow: auto; padding: 0; border: 0; background: none; color: var(--text); }
.audit::backdrop { background: rgba(5, 7, 12, .72); backdrop-filter: blur(4px); }
.audit h2 { font: 900 clamp(24px, 5vw, 40px)/1 var(--display); text-transform: uppercase; margin: 0 0 var(--s2); padding-right: 48px; }
.audit .form { max-width: none; }
.audit__x { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
.audit__x:hover { border-color: var(--orange); color: var(--orange); }
/* «Креативи і сайт» planet: the crew hops slowly, as in low gravity */
.stop:nth-child(3) .pa__svg { animation: hop 2.8s infinite; animation-delay: calc(var(--d) * 2); }
@keyframes hop {
  0%, 100% { transform: translateY(0) scaleY(1); animation-timing-function: cubic-bezier(.2, .6, .35, 1); }
  4% { transform: translateY(0) scaleY(.9); animation-timing-function: cubic-bezier(.2, .6, .35, 1); }
  48% { transform: translateY(-14px) scaleY(1.03); animation-timing-function: cubic-bezier(.65, 0, .8, .4); }
  92% { transform: translateY(0) scaleY(1); }
  96% { transform: translateY(0) scaleY(.92); }
}
@media (prefers-reduced-motion: reduce) { .stop:nth-child(3) .pa__svg { animation: none; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

/* 404 */
.p404 { min-height: calc(100svh - 160px); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.p404__num { display: flex; align-items: center; justify-content: center; gap: .04em; font-size: clamp(110px, 26vw, 300px); line-height: 1; color: var(--text); margin: var(--s2) 0 var(--s3); }
.p404__o { width: 1.05em; height: 1.05em; overflow: visible; filter: drop-shadow(0 0 .12em rgba(255, 91, 31, .45)); }
.p404__beams { transform-origin: 0 0; animation: p404-spin 6s linear infinite; opacity: .8; }
.p404__glow { transform-origin: 0 0; animation: p404-pulse 3.2s ease-in-out infinite; }
@keyframes p404-spin { to { transform: rotate(360deg); } }
@keyframes p404-pulse { 50% { transform: scale(1.35); opacity: .55; } }
.p404__text { color: #c5ccd8; font-size: clamp(17px, 2vw, 21px); max-width: 34ch; margin-bottom: var(--s4); }
.p404__actions { justify-content: center; }
@media (prefers-reduced-motion: reduce) { .p404__beams, .p404__glow { animation: none; } }

/* language switch in the header */
.lang { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 40px; min-height: 32px; padding: 0 10px; font: 700 12px var(--mono); letter-spacing: .08em; color: var(--muted); text-decoration: none; border: 1px solid var(--line); border-radius: 999px; transition: color .15s, border-color .15s; }
.lang:hover, .lang:focus-visible { color: var(--text); border-color: var(--orange); }
@media (max-width: 440px) { .nav__links { gap: 12px; font-size: 13px; } .nav__links > a[href$="#process"] { display: none; } .lang { min-width: 34px; padding: 0 7px; } }

/* header: logo left, links dead centre, language + audit on the right */
.nav__end { display: flex; align-items: center; gap: 12px; }
@media (min-width: 1000px) {
  .nav { display: grid; grid-template-columns: 1fr auto 1fr; }
  .nav__links { justify-self: center; }
  .nav__end { justify-self: end; }
}

/* the big footer word is decoration, drawn by CSS so it is not read as low-contrast text */
.foot__word::before { content: attr(data-word); }

/* request card inside the long case list */
.case-cta { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: var(--s4) var(--s3); border: 1px dashed rgba(255, 91, 31, .5); border-radius: 24px; background: rgba(255, 91, 31, .06); text-decoration: none; color: var(--text); }
.case-cta b { font: 700 clamp(22px, 2.4vw, 30px)/1.1 var(--display); text-transform: uppercase; }
.case-cta span { color: #c5ccd8; }
.case-cta em { font-style: normal; margin-top: var(--s1); }
.case-cta:hover em { background: var(--orange-2); }

/* home: the request form opens in the pop-up, the section keeps one big button */
.contact__btn { width: auto; min-width: min(100%, 420px); }
.case-cta[hidden] { display: none; }

/* case page numbers on phones: one per row, so long values like «727 тис.» never run off the card */
@media (max-width: 599px) {
  .case__metrics--page { grid-template-columns: 1fr; }
  .case__metrics--page div + div { border-left: 0; border-top: 1px dashed rgba(255, 91, 31, .4); }
  .case__metrics--page div { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s2); }
}

/* nothing inside the page may make it wider than the screen; iOS Safari lets you pan to any overflow */
main, .foot { overflow-x: clip; }

/* form button stays dim until the contact fields are filled */
.form button[type="submit"]:disabled { opacity: .4; cursor: not-allowed; transform: none; filter: saturate(.5); }

/* production cases: video wall and YouTube episodes */
.vids { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--s2); margin-bottom: var(--s5); }
.vids video { display: block; width: 100%; height: auto; border-radius: 18px; border: 1px solid var(--line); background: #000; }
.yts { display: grid; gap: var(--s3); margin-bottom: var(--s5); }
.yts a { display: grid; gap: 8px; text-decoration: none; color: var(--text); }
.yts img { width: 100%; height: auto; border-radius: 14px; border: 1px solid var(--line); transition: transform .3s; }
.yts a:hover img { transform: scale(1.02); }
.yts b { font-weight: 600; line-height: 1.3; }
.yts span { font-size: 14px; color: var(--muted); }
@media (min-width: 760px) { .vids { grid-template-columns: repeat(3, 1fr); } .yts { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .vids { grid-template-columns: repeat(5, 1fr); } .yts { grid-template-columns: repeat(3, 1fr); } }

/* card titles scale with the card, so long words like «ФРАНШИЗИ» never run past its edge */
.case-list .case h3 { font-size: clamp(14px, min(8vw, calc(var(--k, 9) * 1cqi)), 40px); align-self: stretch; overflow-wrap: normal; }
#top-cases .case h3 { font-size: clamp(18px, min(2vw, 9cqi), 26px); }
