/* Сайт студії Our Small Office. Рамка студії темна й стримана; кожен світ має свої кольори, шрифти й правила бренду.
   Режими: .th — театр скролу (GSAP + Lenis); .calm — без руху (prefers-reduced-motion або бібліотеки не завантажились);
   .no-js — звичайна сторінка. Без класу .th кожен світ стоїть у своєму кінцевому стані. */

@font-face { font-family: "Unbounded"; src: url(/fonts/unbounded-lat.woff2) format("woff2"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Unbounded"; src: url(/fonts/unbounded-cyr.woff2) format("woff2"); font-weight: 200 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Onest"; src: url(/fonts/onest-lat.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Onest"; src: url(/fonts/onest-cyr.woff2) format("woff2"); font-weight: 100 900; font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Ruslan"; src: url(/fonts/ruslan.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: "Rubik"; src: url(/fonts/rubik-800.woff2) format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url(/fonts/space-grotesk-lat.woff2) format("woff2"); font-weight: 300 700; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

:root {
  --ink: #0d0c0b; --ink2: #171512; --paper: #f1ebdf; --lamp: #ffb547;
  --mute: rgba(241, 235, 223, .58); --line: rgba(241, 235, 223, .16);
  --display: "Unbounded", system-ui, sans-serif; --body: "Onest", system-ui, sans-serif;
  --gutter: clamp(18px, 4vw, 64px);
  --ease: cubic-bezier(.19, 1, .22, 1); --ease-io: cubic-bezier(.77, 0, .18, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--ink); color: var(--paper); -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body { margin: 0; font: 400 16px/1.55 var(--body); -webkit-font-smoothing: antialiased; overflow-x: clip; background: var(--ink); }
img, video, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--lamp); color: var(--ink); }
:focus-visible { outline: 2px solid var(--lamp); outline-offset: 3px; }
.w-scene, .sev-map, .ff-key, .ff-film, .ff-phone, .sev-phone, .ayo-bird, .new-pot, .hero, .outro, canvas, img, video {
  -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
img { -webkit-user-drag: none; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 120; background: var(--lamp); color: var(--ink); padding: 10px 14px; font-weight: 600; }
.skip:focus { top: 12px; }

/* ——— Завантаження: у вікні офісу по черзі вмикається світло. ——— */
.loader { position: fixed; inset: 0; z-index: 110; background: var(--ink); display: grid; place-content: center; justify-items: center; gap: 22px;
  animation: loader-out .01s 5s forwards; }
.no-js .loader, .calm .loader { display: none; }
.loader-win { width: 58px; height: 58px; display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; border: 2px solid var(--paper); }
.loader-win i { background: rgba(241, 235, 223, .07); }
.loader-word { margin: 0; font: 500 11px var(--display); letter-spacing: .32em; text-transform: uppercase; color: var(--mute); }
@keyframes loader-out { to { visibility: hidden; opacity: 0; } }

.grain { position: fixed; inset: -60px; z-index: 96; pointer-events: none; opacity: .055;
  /* Готова плитка шуму: живий SVG-фільтр feTurbulence на весь екран Firefox перераховує дорого. */
  background-image: url(/img/grain.png); background-size: 128px;
  animation: grain .9s steps(3) infinite; }
@keyframes grain { 0% { transform: translate(0, 0); } 33% { transform: translate(-22px, 14px); } 66% { transform: translate(16px, -20px); } }

/* ——— Курсор: крапка й кільце, над активними місцями кільце показує дію. ——— */
.cursor { position: fixed; left: 0; top: 0; z-index: 105; pointer-events: none; mix-blend-mode: difference; display: none; }
.has-cursor .cursor { display: block; }
.has-cursor, .has-cursor a, .has-cursor button, .has-cursor canvas { cursor: none; }
.cursor-dot { position: absolute; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: #fff; }
.cursor-ring { position: absolute; width: 38px; height: 38px; margin: -19px 0 0 -19px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .55);
  display: grid; place-items: center; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), background-color .3s, border-color .3s; }
.cursor-label { font: 600 10px var(--display); letter-spacing: .1em; text-transform: uppercase; color: #000; opacity: 0; transition: opacity .2s; }
.cursor.is-label .cursor-ring { width: 86px; height: 86px; margin: -43px 0 0 -43px; background: #fff; border-color: #fff; }
.cursor.is-label .cursor-label { opacity: 1; transition-delay: .1s; }
.cursor.is-hover .cursor-ring { width: 56px; height: 56px; margin: -28px 0 0 -28px; }
.cursor.is-down .cursor-ring { transform: scale(.82); }

/* ——— Шапка: різниця кольорів, читається на будь-якому світі. ——— */
.top { position: fixed; inset: 0 0 auto; z-index: 100; display: flex; align-items: center; justify-content: space-between;
  padding: 20px var(--gutter); color: #fff; mix-blend-mode: difference; pointer-events: none; }
.top a { pointer-events: auto; text-decoration: none; }
.logo { display: flex; align-items: center; gap: 10px; font: 600 13px/1 var(--display); letter-spacing: -.01em; }
.logo-mark { width: 24px; height: 24px; }
.logo-mark .lit { fill: currentColor; transition: opacity .3s; }
.logo:hover .lit { animation: flick .5s steps(2) 2; }
@keyframes flick { 50% { opacity: .1; } }
.top nav { display: flex; gap: clamp(16px, 2.6vw, 40px); }
.roll { display: inline-block; overflow: hidden; font: 500 11.5px/1.25 var(--display); letter-spacing: .08em; text-transform: uppercase; }
.roll span { position: relative; display: inline-block; transition: transform .7s var(--ease); }
.roll span::after { content: attr(data-t); position: absolute; left: 0; top: 100%; }
.roll:hover span, .roll:focus-visible span { transform: translateY(-100%); }

/* ——— HUD світів: номер, назва, позначки. ——— */
.hud { position: fixed; left: 50%; top: 22px; translate: -50% 0; z-index: 101; display: none; align-items: center; gap: 18px; color: #fff;
  mix-blend-mode: difference; opacity: 0; transition: opacity .6s; pointer-events: none; }
.th .hud { display: flex; }
.hud.on { opacity: 1; }
.hud-count { display: flex; gap: 6px; font: 600 12px/1 var(--display); }
.hud-n, .hud-name { display: inline-flex; flex-direction: column; height: 1.25em; overflow: hidden; line-height: 1.25em; }
.hud-n span, .hud-name span { transform: translateY(calc(var(--i, 0) * -100%)); transition: transform .9s var(--ease); white-space: nowrap; }
.hud-of { opacity: .5; }
.hud-name { font: 500 11px/1.25em var(--display); letter-spacing: .08em; text-transform: uppercase; }
.hud-ticks { display: flex; gap: 5px; pointer-events: auto; }
.hud-ticks button { width: 22px; height: 14px; padding: 0; border: 0; background: none; position: relative; cursor: pointer; }
.hud-ticks button::before { content: ""; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: currentColor; opacity: .3; transition: opacity .4s; }
.hud-ticks button.on::before { opacity: 1; }

/* ——— Прогрес сторінки: сім частин у лівому полі, під ними — що далі. На вузьких екранах — смуга вгорі. ——— */
.prog { position: fixed; z-index: 101; left: clamp(8px, 1.1vw, 20px); top: 50%; translate: 0 -50%; display: flex; flex-direction: column; align-items: flex-start; gap: 22px;
  color: var(--paper); pointer-events: none; opacity: 0; transition: opacity 1s .15s; }
.prog[hidden] { display: none; }
.prog.in { opacity: 1; }
/* Тінь, щоб смугу було видно на строкатій карті сіверян. */
.prog-bars, .prog-n, .prog-next { filter: drop-shadow(0 0 5px rgba(0, 0, 0, .55)); }
.prog.light .prog-bars, .prog.light .prog-n, .prog.light .prog-next { filter: none; }
.prog-bars { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; pointer-events: auto; }
.prog-bars li { display: block; transform: scaleY(0); transform-origin: 50% 0; transition: transform .9s var(--ease) calc(var(--k, 0) * 70ms + .25s); }
.prog.in .prog-bars li { transform: none; }
.prog-bars button { position: relative; display: block; width: 18px; height: 14px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; transition: height .9s var(--ease); }
.prog-bars button::before, .prog-bars i { content: ""; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; border-radius: 2px; }
.prog-bars button::before { background: rgba(241, 235, 223, .3); transition: background .3s; }
.prog-bars i { background: var(--lamp); transform-origin: 50% 0; transform: scaleY(var(--p, 0)); transition: background-color .4s; }
/* Лічильник: номер поточної частини над смугою, загальна кількість — під нею. */
.prog-n { display: block; width: 18px; overflow: hidden; text-align: center; font: 600 10px/1.2 var(--display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.prog-n b { display: block; font-weight: 600; color: var(--lamp); transition: color .4s; }
.prog-n.all { margin-top: -12px; opacity: .45; }
.prog-bars .on button { height: 46px; }
.prog-bars .on i { box-shadow: 0 0 12px rgba(255, 181, 71, .6); }
.prog-bars button:hover::before { background: rgba(241, 235, 223, .5); }
.prog-bars span { position: absolute; left: 26px; top: 50%; translate: 0 -50%; display: flex; gap: 8px; align-items: center; white-space: nowrap; padding: 4px 10px 3px; border-radius: 99px;
  background: rgba(13, 12, 11, .8); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 10px/1 var(--display); letter-spacing: .12em; text-transform: uppercase;
  opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; }
.prog-bars span b { font-weight: 600; color: var(--lamp); }
.prog-bars:hover span { opacity: .7; transform: none; }
.prog-bars li:hover span { opacity: 1; }
.prog-next { pointer-events: auto; display: flex; flex-direction: column; align-items: center; gap: 12px; width: 18px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer;
  font: 500 10px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.prog-next i { position: relative; flex: none; width: 1.5px; height: 36px; overflow: hidden; background: rgba(241, 235, 223, .18); }
.prog-next i::after { content: ""; position: absolute; left: 0; top: -45%; width: 100%; height: 45%; background: var(--lamp); animation: progDrip 2.2s var(--ease-io) infinite; }
.prog-next span { writing-mode: vertical-rl; white-space: nowrap; }
.prog-k { opacity: .55; }
.prog-name { color: var(--lamp); }
.prog-next:hover .prog-k { opacity: .9; }
/* Наприкінці — «На початок»: лінія над текстом біжить угору. */
.prog.end .prog-next { flex-direction: column-reverse; }
.prog.end .prog-next i::after { animation-direction: reverse; }
/* Якщо читач зупинився, підказка кличе далі. */
.prog.idle .prog-next { animation: progNudge 1.8s var(--ease-io) infinite; }
/* Світла секція студії: ті самі частини темним. */
.prog { transition: opacity 1s .15s, color .4s; }
.prog.light { color: var(--ink); }
.prog.light .prog-bars button::before, .prog.light .prog-next i { background: rgba(13, 12, 11, .18); }
.prog.light .prog-bars i, .prog.light .prog-next i::after { background: #c77812; }
.prog.light .prog-bars .on i { box-shadow: none; }
.prog.light .prog-name, .prog.light .prog-n b { color: #a8600a; }
@keyframes progDrip { to { top: 100%; } }
@keyframes progNudge { 0%, 100% { transform: none; } 45% { transform: translateY(9px); } }
@media (max-width: 1023px), (max-height: 599px) {
  .prog { left: 0; right: 0; top: 0; translate: none; padding: env(safe-area-inset-top) 0 0; flex-direction: row; gap: 0; }
  .prog-bars { flex: 1; flex-direction: row; gap: 3px; pointer-events: none; }
  .prog-bars li { flex: 1; transform: scaleX(0); transform-origin: 0 50%; }
  .prog-bars button, .prog-bars .on button { width: 100%; height: 2px; transition: none; }
  .prog-bars button::before, .prog-bars i { left: 0; right: 0; bottom: auto; width: auto; height: 2px; border-radius: 0; }
  .prog-bars i { transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  .prog-bars span, .prog-next, .prog-n { display: none; }
}

/* ——— Театр: один липкий екран, у ньому шарами герой і чотири світи. ——— */
.theatre { position: relative; }
.th .theatre { height: var(--th-h, 1200vh); }
.th .stage { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.th .stage > * { position: absolute; inset: 0; }
.th .world { visibility: hidden; }
.th .world.vis { visibility: visible; }

/* ——— Перший екран: нічне місто з вікон; світлі вікна складаються в SMALL OFFICE. В отворі «O» — наше вікно. ——— */
.hero { position: relative; z-index: 10; min-height: 100vh; overflow: clip; }
.hero-city { position: absolute; inset: 0; width: 100%; height: 100%; touch-action: pan-y; }
.hero-ui { position: absolute; inset: 0; pointer-events: none; }
.hero-ui::before { content: ""; position: absolute; inset: 52% 0 0; background: linear-gradient(rgba(13, 12, 11, 0), rgba(13, 12, 11, .78) 55%, rgba(13, 12, 11, .92)); }
.hero-ui a { pointer-events: auto; }
.hero-title { position: absolute; left: 0; right: 0; bottom: calc(5vh + 120px); margin: 0; text-align: center; font: 500 clamp(26px, 3.3vw, 60px)/1 var(--display); letter-spacing: -.04em; }
.hero-name { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.no-js .hero-name { position: static; width: auto; height: auto; clip-path: none; display: block; font-size: 2.6em; line-height: .9; margin-bottom: .2em; }
.ln { display: block; overflow: hidden; padding-bottom: .07em; margin-bottom: -.07em; }
.ln > span { display: inline-block; }
.hero-lead { position: absolute; left: 0; right: 0; bottom: calc(5vh + 56px); width: min(38rem, 84vw); margin: 0 auto; text-align: center; font-size: 15px; line-height: 1.55; color: var(--mute); }
.hero-scroll { position: absolute; left: 0; right: 0; bottom: 4vh; width: max-content; margin: 0 auto; display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--paper);
  font: 500 11px var(--display); letter-spacing: .14em; text-transform: uppercase; }
.hero-scroll i { position: relative; width: 1.5px; height: 26px; background: var(--line); overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; left: 0; top: -40%; width: 100%; height: 40%; background: var(--paper); animation: drip 1.8s var(--ease-io) infinite; }
@keyframes drip { to { top: 100%; } }
.hero-us { position: absolute; left: 0; top: 0; z-index: 2; font: 600 10.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp);
  white-space: nowrap; pointer-events: none; opacity: 0; translate: -50% 0; }

/* ——— Спільне для світів. ——— */
.world { position: relative; min-height: 100vh; overflow: hidden; isolation: isolate; color: var(--tx, var(--paper)); }
.w-copy { position: absolute; left: var(--gutter); bottom: 9vh; z-index: 6; width: min(30rem, 34vw); }
.w-idx { margin: 0; display: flex; align-items: center; gap: 12px; font: 600 10.5px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; }
.w-idx span { padding: 5px 8px 4px; border: 1px solid currentColor; border-radius: 99px; letter-spacing: .04em; }
.w-title { margin: 18px 0 12px; font: 600 clamp(38px, 5vw, 92px)/.92 var(--display); letter-spacing: -.04em; }
.w-tag { margin: 0; font: 500 clamp(16px, 1.4vw, 21px)/1.3 var(--display); letter-spacing: -.01em; }
.w-desc { margin: 14px 0 20px; max-width: 29rem; font-size: 15px; line-height: 1.6; opacity: .8; }
.w-meta { margin: 0 0 24px; border-top: 1px solid color-mix(in srgb, currentColor 22%, transparent); font-size: 13px; }
.w-meta div { display: grid; grid-template-columns: 7.2rem 1fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 22%, transparent); }
.w-meta dt { opacity: .6; }
.w-meta dd { margin: 0; }
.plats { display: flex; align-items: center; gap: 12px; }
.plat { display: inline-grid; width: 19px; height: 19px; color: inherit; opacity: .85; transition: opacity .2s, transform .3s var(--ease); }
.plat svg { width: 100%; height: 100%; fill: currentColor; }
.plat:hover { opacity: 1; transform: translateY(-2px); }
.w-cta { position: relative; display: inline-flex; align-items: center; gap: 14px; padding: 16px 22px 16px 26px; border-radius: 99px; overflow: hidden;
  background: var(--cta-bg, var(--paper)); color: var(--cta-tx, var(--ink)); font: 600 13px/1 var(--display); text-decoration: none; isolation: isolate; }
.w-cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--cta-hover, var(--lamp)); border-radius: 50%; transform: translateY(101%) scale(1.4);
  transition: transform .7s var(--ease), border-radius .7s var(--ease); }
.w-cta:hover::before, .w-cta:focus-visible::before { transform: translateY(0) scale(1.4); border-radius: 0; }
.w-cta i { font-style: normal; transition: transform .6s var(--ease); }
.w-cta:hover i { transform: translateX(5px); }
.w-soon { margin: 0; font: 600 11px var(--display); letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
.w-scene { position: absolute; inset: 0; }

/* ——— 01 The Severians: ізометричне село, що росте, темніє й захищається. ——— */
.w-sev { --tx: #f6ead0; --cta-bg: #f4c35a; --cta-tx: #2a1a0c; --cta-hover: #fff1c9; background: #2f4a2a; }
.w-sev::before { content: ""; position: absolute; inset: 0; z-index: 5; pointer-events: none;
  background: linear-gradient(90deg, rgba(16, 20, 12, .86), rgba(16, 20, 12, .55) 30%, rgba(16, 20, 12, 0) 56%); }
.w-sev .w-title { font: 400 clamp(40px, 5.2vw, 96px)/.95 "Ruslan", var(--display); letter-spacing: .01em; text-transform: uppercase; color: #f4c35a;
  text-shadow: 0 3px 0 #6b3c12, 0 14px 30px rgba(0, 0, 0, .4); }
.w-sev .w-title em { display: block; margin-top: 8px; font-style: normal; font-size: .4em; letter-spacing: .5em; color: var(--tx); text-shadow: none; }
.sev-beats { margin: 0; font: 400 clamp(20px, 1.9vw, 30px)/1.15 "Ruslan", var(--display); color: #f6ead0; }
.th .sev-beats { display: grid; }
.th .sev-beats span { grid-area: 1 / 1; }
.sev-map { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; image-rendering: pixelated; }
.sev-say { position: absolute; z-index: 3; left: 0; top: 0; margin: 0; display: flex; align-items: center; gap: 10px; max-width: 17em;
  padding: 8px 14px 8px 8px; background: #f6ead0; color: #2a1a0c; border: 3px solid #2a1a0c; box-shadow: 5px 5px 0 #2a1a0c;
  font: 600 13px/1.25 var(--body); pointer-events: none; }
.sev-say img { width: 44px; image-rendering: pixelated; background: #e6cf9c; border: 2px solid #2a1a0c; }
.sev-tip { position: absolute; z-index: 4; left: 0; top: 0; margin: 0; padding: 6px 10px 5px; background: #2a1a0c; color: #f4c35a; white-space: nowrap;
  font: 400 13px/1 "Ruslan", var(--display); letter-spacing: .06em; text-transform: uppercase; pointer-events: none; opacity: 0; transition: opacity .2s; }
.sev-tip.on { opacity: 1; }
.sev-phone { position: absolute; z-index: 6; right: 4.5vw; top: 50%; width: clamp(150px, 14vw, 240px); aspect-ratio: 9 / 16; margin: 0; padding: 7px;
  border-radius: 28px; background: #101010; box-shadow: inset 0 0 0 1.5px #3b3b3b, 0 40px 80px -24px rgba(0, 0, 0, .7); translate: 0 -50%; }
.calm .sev-phone, .no-js .sev-phone { transform: rotate(4deg); }
.sev-phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 22px; background: #000; }

/* ——— 02 AreYouOK: друкований плакат, небо перефарбовує весь світ. Радіус 0, без тіней. ——— */
.w-ayo { --bg: #431301; --bg2: #5c1e07; --tx: #fff2e2; --mu: #e09e77; --ac: #ffb25c;
  background: var(--bg); color: var(--tx); font-family: "Space Grotesk", var(--body); }
.w-ayo *, .w-ayo *::before { border-radius: 0; }
.ayo-weather { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.ayo-wrap { position: absolute; inset: 0; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); grid-template-rows: auto auto 1fr auto;
  column-gap: 5vw; padding: 88px var(--gutter) 92px; }
.ayo-head { grid-column: 1 / -1; display: flex; justify-content: space-between; gap: 20px; }
.ayo-head .w-idx span { border-radius: 0; }
.ayo-eyebrow { margin: 0; font: 700 11px/1 "Space Grotesk", var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mu); }
.ayo-title { grid-column: 1; grid-row: 2; margin: 3vh 0 0; font: 800 clamp(60px, 9.4vw, 184px)/.84 var(--display); letter-spacing: -.055em; text-transform: uppercase; }
.ayo-title span { display: block; white-space: nowrap; }
.ayo-stamp { grid-column: 1; grid-row: 2; align-self: end; justify-self: end; margin: 0 4vw -1.4vw 0; padding: 10px 14px 9px; border: 2px solid var(--tx);
  font: 700 clamp(11px, .9vw, 14px)/1 "Space Grotesk", var(--body); letter-spacing: .14em; text-transform: uppercase; transform: rotate(-3deg); background: var(--bg); }
.ayo-sky { grid-column: 1; grid-row: 3; align-self: start; margin-top: 5vh; }
.ayo-sky p { margin: 0; display: grid; }
.ayo-sky span { grid-area: 1 / 1; }
.th .ayo-sky span:not(:first-child) { visibility: hidden; }
.calm .ayo-sky span:not(:last-child), .no-js .ayo-sky span:not(:last-child) { visibility: hidden; }
.ayo-sky-name { font: 700 11px/1 "Space Grotesk", var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--mu); margin-bottom: 12px !important; }
.ayo-sky-line { font: 500 clamp(22px, 2.5vw, 44px)/1.12 "Space Grotesk", var(--body); letter-spacing: -.02em; }
.ayo-bird { grid-column: 2; grid-row: 2 / 4; justify-self: center; align-self: start; position: relative; width: min(30vw, 34vh); aspect-ratio: 1; margin-top: 1vh;
  padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 70%; }
.ayo-bird svg { width: 100%; height: 100%; overflow: visible; }
/* Птах живе, як на сайті AreYouOK: повільне похитування поверх «кипіння» лінії й зсув разом зі сценою. */
.ayo-bob { display: block; width: 100%; height: 100%; translate: 0 var(--drift, 0px); transform-origin: 50% 90%; animation: ayoBob 4.2s ease-in-out infinite; }
@keyframes ayoBob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-3.5%) rotate(-1.1deg); } }
.ayo-reply { position: absolute; left: 0; right: 0; bottom: -10%; width: max-content; margin: 0 auto; padding: 8px 10px 7px; background: var(--bg); border: 1.5px solid var(--tx); font: 700 11px/1.2 "Space Grotesk", var(--body);
  letter-spacing: .1em; text-transform: uppercase; transform: rotate(-3deg); white-space: nowrap; pointer-events: none; }
.ayo-card { grid-column: 2; grid-row: 3 / 5; align-self: end; justify-self: stretch; max-width: 27rem; margin-left: auto; width: 100%; background: var(--bg2); border: 1.5px solid var(--tx); }
.ayo-poll, .ayo-result { padding: 18px 18px 0; }
.ayo-result { padding-bottom: 18px; }
.ayo-card:not(.done) .ayo-result, .ayo-card.done .ayo-poll { display: none; }
.ayo-q { margin: 0 0 22px; font: 600 clamp(17px, 1.4vw, 22px)/1.2 "Space Grotesk", var(--body); letter-spacing: -.01em; }
.ayo-slider { position: relative; height: 34px; }
.ayo-slider input { position: absolute; inset: 0; width: 100%; margin: 0; opacity: 0; cursor: pointer; touch-action: pan-y; }
.ayo-slider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1.5px; background: var(--tx); }
.ayo-crumb { position: absolute; top: 50%; left: var(--v, 64%); width: 18px; height: 14px; margin: -7px 0 0 -9px; background: var(--ac); pointer-events: none;
  clip-path: polygon(18% 0, 70% 6%, 100% 40%, 86% 92%, 40% 100%, 0 70%, 4% 22%); transition: transform .2s; }
.ayo-slider:active .ayo-crumb { transform: scale(1.25) rotate(12deg); }
.ayo-ends { margin: 6px 0 18px; display: flex; justify-content: space-between; font: 700 10.5px/1 "Space Grotesk", var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--mu); }
.ayo-lock { display: block; width: calc(100% + 36px); margin: 0 -18px; height: 54px; padding: 0 18px; border: 0; border-top: 1.5px solid var(--tx); background: var(--tx); color: var(--bg);
  font: 700 13px/1 "Space Grotesk", var(--body); letter-spacing: .12em; text-transform: uppercase; text-align: left; cursor: pointer; transition: background-color .3s, color .3s; }
.ayo-lock:hover { background: var(--ac); }
.ayo-num { margin: 0; font: 800 clamp(56px, 6.4vw, 118px)/.86 var(--display); letter-spacing: -.06em; color: var(--ac); }
.ayo-of { margin: 6px 0 14px; font: 600 15px/1.3 "Space Grotesk", var(--body); }
.ayo-dots { display: grid; grid-template-columns: repeat(15, 1fr); gap: 5px; margin-bottom: 14px; }
.ayo-dots i { aspect-ratio: 1; border-radius: 50% !important; border: 1.5px solid var(--mu); }
.ayo-dots i.on { background: var(--tx); border-color: var(--tx); animation: ayoDot .32s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ayoDot { from { transform: scale(.4); opacity: 0; } }
.ayo-dots i.you { outline: 2px solid var(--ac); outline-offset: 2px; }
.ayo-people { margin: 0; font-size: 14px; line-height: 1.4; }
.ayo-people b { color: var(--tx); }
.ayo-divided { display: none; margin: 12px 0 0; width: max-content; padding: 6px 9px; border: 2px solid var(--tx); font: 700 11px/1 "Space Grotesk", var(--body);
  letter-spacing: .14em; text-transform: uppercase; transform: rotate(2deg); }
.ayo-card.split .ayo-divided { display: block; }
.ayo-copy { position: static; grid-column: 1; grid-row: 4; align-self: end; width: auto; max-width: 31rem; }
.ayo-copy .w-desc { margin: 0 0 16px; font-size: 14.5px; }
.ayo-copy .w-meta { margin: 0; }
.ayo-copy .w-meta a { color: inherit; text-underline-offset: 3px; }
/* Смуга дії — як на сайті AreYouOK: Unbounded 800 великими літерами, праворуч стрілка. */
.ayo-cta { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: clamp(54px, 8.6vh, 77px); display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 var(--gutter); background: var(--tx); color: var(--bg); font: 800 clamp(15px, 1.8vw, 26px)/1 "Unbounded", var(--display); letter-spacing: .021em; text-transform: uppercase;
  text-decoration: none; transition: background-color .35s, color .35s; }
.ayo-cta:hover { background: var(--ac); }
.ayo-cta span:last-child { display: flex; align-items: center; gap: 18px; transition: transform .4s var(--ease); }
.ayo-cta:hover span:last-child { transform: translateX(6px); }
.ayo-cta small { font: 700 12px/1 "Unbounded", var(--display); letter-spacing: .06em; opacity: .6; }

/* ——— Розбиття AreYouOK на блоки (перехід до Fortifall). ——— */
.shards { position: absolute; inset: 0; z-index: 6; pointer-events: none; display: none; --crack: 0; }
.shard { position: absolute; overflow: hidden; border-radius: calc(var(--crack) * 9px); will-change: transform; contain: strict; }
.shard::after { content: ""; position: absolute; inset: 0; z-index: 9; border-radius: inherit; pointer-events: none;
  box-shadow: inset 0 0 0 calc(var(--crack) * 1.5px) rgba(0, 0, 0, .55), inset 4px 4px 0 rgba(255, 255, 255, calc(var(--crack) * .22)), inset -5px -5px 0 rgba(0, 0, 0, calc(var(--crack) * .32)); }

/* ——— 03 Fortifall: нічне небо з променями, золотий знак і полігон, де можна валити фортецю. ——— */
.w-ff { --gold: #ffc83d; --navy: #101b38; --stone: #b8cee8; --cobalt: #2f6fe0; --ruby: #e52c46; --tx: #eaf0ff;
  background: radial-gradient(120% 95% at 70% 42%, #22449a 0%, #16296a 34%, #0c1636 72%, #080f26); font-family: var(--body); }
.w-ff::before { content: ""; position: absolute; inset: 0; z-index: 4; pointer-events: none;
  background: linear-gradient(90deg, rgba(8, 15, 38, .9), rgba(8, 15, 38, .55) 30%, rgba(8, 15, 38, 0) 52%); }
.ff-bg { position: absolute; inset: 0; overflow: hidden; }
/* Промені — готова картинка з уже вшитим згасанням: конічний градієнт під маскою Firefox перераховував щокадру. */
.ff-rays { position: absolute; left: 68%; top: 46%; width: 142.6vmax; aspect-ratio: 1; translate: -50% -50%;
  background: url(/img/ff-rays.png) center / 100% 100% no-repeat; will-change: transform; animation: spin 120s linear infinite; }
@keyframes spin { to { rotate: 360deg; } }
.ff-glow { position: absolute; left: 68%; top: 48%; width: 70vmax; aspect-ratio: 1; translate: -50% -50%; background: radial-gradient(closest-side, rgba(255, 186, 80, .3), transparent 70%); }
.ff-embers { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none; }
.ff-key { position: absolute; z-index: 3; left: 87%; top: 19%; width: min(17vw, 27vh); translate: -50% -50%; filter: drop-shadow(0 30px 40px rgba(0, 0, 20, .45)); }
.ff-key img { width: 100%; }
.ff-word { display: flex; margin: 16px 0 10px; font: 800 clamp(42px, 5.6vw, 104px)/.9 "Rubik", var(--display); letter-spacing: .01em; color: var(--gold);
  text-shadow: 0 1px 0 #f1b52b, 0 2px 0 #e2a21f, 0 3px 0 #d39116, 0 4px 0 #bf7d10, 0 5px 0 #a3670b, 0 6px 0 #1b2452, 0 7px 0 #1b2452, 0 16px 26px rgba(0, 0, 0, .45); }
.ff-word span { display: inline-block; }
.ff-slogan { margin: 0 0 6px; font: 800 11px/1.3 "Rubik", var(--display); letter-spacing: .26em; text-transform: uppercase; color: #cddcff; }
.ff-tag { font-family: "Rubik", var(--display); font-weight: 800; color: var(--gold); letter-spacing: .08em; text-transform: uppercase; }
/* «Велике падіння»: справжній дубль гри, скрол перемотує постріл титаном і обвал фортеці. */
.ff-film { position: absolute; inset: 0; z-index: 3; visibility: hidden; background: #0b1430; }
.ff-film video { display: block; width: 100%; height: 100%; object-fit: cover; }
.ff-say { position: absolute; z-index: 5; left: 44%; right: 3%; top: 11%; margin: 0; text-align: center; font: 800 clamp(34px, 5vw, 92px)/1 "Rubik", var(--display);
  letter-spacing: .02em; text-transform: uppercase; color: #fff; -webkit-text-stroke: clamp(4px, .45vw, 9px) #1b2a4a; paint-order: stroke fill;
  text-shadow: 0 .08em 0 #1b2a4a, 0 .2em .3em rgba(0, 0, 0, .35); pointer-events: none; }
.ff-say span { position: absolute; left: 0; right: 0; visibility: hidden; }
.ff-say span:last-child { color: var(--gold); }
/* Кнопка трейлера в тексті: для дотику, де немає курсора «▶ Трейлер». */
.ff-watch { display: inline-flex; align-items: center; gap: 12px; margin: 18px 0 0; padding: 13px 22px 12px 14px; border: 0; border-radius: 99px; background: var(--gold); color: #1b2452;
  font: 800 13px/1 "Rubik", var(--display); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; box-shadow: 0 4px 0 #a3670b, 0 16px 30px -12px rgba(0, 0, 0, .7); }
.ff-watch i { width: 24px; height: 24px; border-radius: 50%; background: #1b2452; display: grid; place-items: center; }
.ff-watch i::after { content: ""; width: 0; height: 0; margin-left: 3px; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent var(--gold); }
.ff-watch:active { translate: 0 2px; box-shadow: 0 2px 0 #a3670b, 0 10px 24px -12px rgba(0, 0, 0, .7); }
.ff-phone { position: absolute; z-index: 5; right: var(--gutter); top: 0; bottom: 0; height: max-content; width: min(54vw, 980px); margin: auto 0; }
.ff-phone video { display: block; width: 100%; height: auto; aspect-ratio: 1920 / 886; object-fit: cover; border-radius: 26px; background: #0b1430;
  border: 10px solid #0a0f1f; box-shadow: 0 0 0 2px #2b3c70, 0 0 0 5px rgba(255, 200, 61, .85), 0 50px 90px -30px rgba(0, 0, 0, .75); }
.ff-phone figcaption { margin-top: 18px; text-align: right; font: 800 11px/1 "Rubik", var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); opacity: .85; }

/* ——— 04 Щось нове: каструля під кришкою, пара й тепле світло. Назви й арту наступної гри не показуємо. ——— */
.w-new { --tx: var(--paper); --amp: 1; background: radial-gradient(90% 70% at 50% 64%, #2b1c10 0%, #171009 52%, #0d0b09); }
.new-dust { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 4; pointer-events: none; }
.new-light { position: absolute; left: 50%; top: 56%; width: 90vmin; aspect-ratio: 1; translate: -50% -50%; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 181, 71, .2), rgba(255, 140, 50, .06) 50%, transparent 72%); }
.new-pot { flex: 1 1 0; min-height: 110px; width: 100%; display: grid; place-items: center; margin: 2.5vh 0; pointer-events: auto; }
.new-pot-in { position: relative; height: min(100%, 58vh); max-width: 80vw; aspect-ratio: 1 / 1.05; --a: 6; --beam: .3; container-type: size; }
.door-room::before { content: ""; position: absolute; left: -60%; right: -60%; top: 88%; height: 1px; background: linear-gradient(90deg, transparent, rgba(241, 235, 223, .2), transparent); }
.door-room::after { content: ""; position: absolute; left: 10%; right: 10%; top: 84%; height: 12%; border-radius: 50%; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 176, 80, calc(.25 + var(--beam) * .5)), transparent); filter: blur(6px); }
.door-frame { position: absolute; left: 0; right: 0; bottom: 12%; height: 84%; aspect-ratio: 1 / 2.05; margin: 0 auto; border: 7px solid #3a2d21; border-bottom: 0;
  background: radial-gradient(130% 90% at 55% 55%, #fff4da 0%, #ffcb74 32%, #ff9a3d 70%, #e2701f);
  box-shadow: 0 0 calc(20px + var(--beam) * 70px) calc(var(--beam) * 14px) rgba(255, 170, 70, calc(.12 + var(--beam) * .4)), inset 0 0 0 1px rgba(0, 0, 0, .4); }
.door-frame::after { content: ""; position: absolute; left: 3%; right: 3%; bottom: -2px; height: 3px; background: #ffd796; box-shadow: 0 0 16px 6px rgba(255, 170, 70, .5); }
.door { position: absolute; inset: 0; padding: 0; border: 0; cursor: pointer; transform-origin: 0 50%; transform: perspective(900px) rotateY(calc(var(--a) * 1deg));
  background: linear-gradient(90deg, #2e231a, #251c14 55%, #1b140e); box-shadow: inset 0 0 0 1px rgba(255, 220, 170, .07), inset -10px 0 18px rgba(0, 0, 0, .35); }
.door-panel { position: absolute; left: 15%; right: 15%; top: 8%; height: 37%; border: 1px solid rgba(255, 220, 170, .07); box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .16), inset 0 0 0 6px rgba(255, 220, 170, .04); }
.door-panel.low { top: 52%; height: 40%; }
.door-knob { position: absolute; right: 9%; top: 50%; width: 9%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #ffe2a0, #c9862c 60%, #6b4416); box-shadow: 0 2px 4px rgba(0, 0, 0, .5); }
.door-note { position: absolute; left: 14%; right: 14%; top: 24%; padding: 7% 4% 6%; background: #efe6d2; color: #2a1d12; font: 700 3.1cqh/1.2 var(--display);
  letter-spacing: .02em; text-transform: uppercase; text-align: center; rotate: -4deg; box-shadow: 0 4px 10px rgba(0, 0, 0, .35); transform-origin: 50% 0; }
.door-note::before { content: ""; position: absolute; left: 36%; top: -7px; width: 28%; height: 13px; background: rgba(241, 235, 223, .55); rotate: 3deg; }
.door:hover .door-note { animation: sway 1.2s ease-in-out infinite alternate; }
@keyframes sway { from { transform: rotate(-2deg); } to { transform: rotate(3deg); } }
.door-beam { position: absolute; z-index: -1; left: 58%; top: 88%; width: 110%; height: 34%; pointer-events: none; opacity: var(--beam);
  clip-path: polygon(0 0, 9% 0, 100% 100%, 26% 100%); background: linear-gradient(165deg, rgba(255, 196, 110, .7), rgba(255, 160, 70, .12) 70%, transparent); }
.new-say { position: absolute; left: 62%; top: 4%; z-index: 3; margin: 0; padding: 9px 13px 8px; border: 2px solid var(--paper); background: #1d140c; white-space: nowrap;
  font: 600 12px/1 var(--display); letter-spacing: .12em; text-transform: uppercase; rotate: -5deg; opacity: 0; pointer-events: none; }
.new-copy { inset: 13vh var(--gutter) 6vh; bottom: 6vh; width: auto; display: flex; flex-direction: column; align-items: center; text-align: center; pointer-events: none; }
.new-copy a { pointer-events: auto; }
.new-copy .w-idx { justify-content: center; }
.new-title { margin: 22px 0 0; font: 500 clamp(42px, 6.6vw, 128px)/.9 var(--display); letter-spacing: -.05em; }
.new-title .ln:nth-child(2) > span { color: transparent; -webkit-text-stroke: 1.5px var(--paper); }
.new-copy .w-desc { margin: 0 0 16px; max-width: 30rem; }
.new-copy .w-meta { display: flex; gap: 28px; margin: 0 0 22px; border: 0; }
.new-copy .w-meta div { display: flex; gap: 10px; padding: 0; border: 0; }

/* ——— Студія і контакти. ——— */
.th .studio { margin-top: -100vh; }
.studio { position: relative; z-index: 2; background: var(--paper); color: var(--ink); padding: 20vh var(--gutter) 16vh; border-radius: 32px 32px 0 0; }
.eyebrow { margin: 0; display: flex; align-items: center; gap: 12px; font: 600 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; opacity: .62; }
.eyebrow::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.studio-text { max-width: 21em; margin: 30px 0 14vh; font: 400 clamp(26px, 3.6vw, 62px)/1.13 var(--display); letter-spacing: -.035em; }
.studio-text .sw { opacity: .14; }
.desk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 4vw; align-items: end; padding-top: 34px; border-top: 1px solid rgba(13, 12, 11, .16); }
.desk-time { display: block; font: 500 clamp(76px, 11vw, 200px)/.84 var(--display); letter-spacing: -.06em; font-variant-numeric: tabular-nums; }
.desk-time i { font-style: normal; animation: blink 1s steps(2) infinite; }
.desk-clock span, .desk-label { display: block; margin-top: 14px; font-size: 14px; opacity: .62; }
.desk-label { margin: 0 0 12px; }
.desk-line { margin: 0; min-height: 2.25em; font: 400 clamp(24px, 3.1vw, 54px)/1.1 var(--display); letter-spacing: -.03em; }
.desk-caret { display: inline-block; width: .07em; height: .86em; margin-left: .08em; vertical-align: -.08em; background: #e0892b; animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.how-label { margin: 16vh 0 0; display: flex; align-items: center; gap: 12px; font: 600 11px/1 var(--display); letter-spacing: .16em; text-transform: uppercase; opacity: .62; }
.how-label::before { content: ""; width: 32px; height: 1px; background: currentColor; }
.values { list-style: none; margin: 26px 0 0; padding: 0; counter-reset: v; }
.values li { display: grid; grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1.15fr); gap: 2rem; align-items: baseline; padding: 36px 0;
  border-top: 1px solid rgba(13, 12, 11, .16); transition: padding .6s var(--ease); }
.values li:last-child { border-bottom: 1px solid rgba(13, 12, 11, .16); }
.values li:hover { padding-left: 18px; }
.v-n { font: 500 13px var(--display); opacity: .5; }
.values h3 { margin: 0; font: 500 clamp(22px, 2.5vw, 40px)/1.08 var(--display); letter-spacing: -.025em; }
.values p { margin: 0; max-width: 31rem; opacity: .72; }
.outro { position: relative; z-index: 2; background: var(--ink); }
.th .outro { height: 230vh; }
.outro-pin { position: sticky; top: 0; height: 100vh; overflow: clip; }
.outro-city { position: absolute; inset: 0; width: 100%; height: 100%; }
.outro-us { position: absolute; left: 0; top: 0; z-index: 2; font: 600 10.5px/1 var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--lamp);
  white-space: nowrap; pointer-events: none; opacity: 0; }
.outro-ui { position: absolute; left: 0; right: 0; bottom: 8vh; z-index: 3; display: grid; justify-items: center; gap: 16px; padding: 0 var(--gutter); text-align: center; }
.outro-pin::after { content: ""; position: absolute; inset: 50% 0 0; z-index: 1; pointer-events: none; background: linear-gradient(rgba(13, 12, 11, 0), rgba(13, 12, 11, .82) 50%, rgba(13, 12, 11, .95)); }
.outro-title { margin: 0; font: 500 clamp(26px, 3.2vw, 56px)/1 var(--display); letter-spacing: -.04em; }
.contact-lead { max-width: 26rem; margin: 0; color: var(--mute); }
.mail { position: relative; display: inline-block; margin-top: 10px; font: 500 clamp(19px, 2.8vw, 46px)/1.1 var(--display); letter-spacing: -.02em; text-decoration: none; padding-bottom: 10px; }
.mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--lamp); transform-origin: right; transition: transform .8s var(--ease); }
.mail:hover::after { transform: scaleX(0); }
.mail:hover { color: var(--lamp); }
.plane { position: absolute; z-index: 4; left: 0; top: 0; width: clamp(46px, 4.6vw, 78px); fill: #f1ebdf; stroke: #0d0c0b; stroke-width: 1.6; stroke-linejoin: round; pointer-events: none; opacity: 0; }
.foot { position: relative; z-index: 2; background: var(--ink); }
.foot-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding: 22px var(--gutter) 26px; border-top: 1px solid var(--line);
  font-size: 13px; color: var(--mute); }
.foot-row a { color: inherit; }
.foot-row a:hover { color: var(--paper); }
.pause { padding: 0; border: 0; background: none; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }

/* ——— Пауза руху. ——— */
.paused *, .paused *::before, .paused *::after { animation-play-state: paused !important; }

/* ——— Вузькі екрани: HUD лише з номером світу. ——— */
@media (max-width: 1100px) {
  .hud-ticks, .hud-name { display: none; }
}

/* ——— Телефони й планшети в портреті: сцена згори, текст знизу. ——— */
@media (max-width: 760px), (max-width: 1100px) and (orientation: portrait) {
  .hide-s { display: none; }
  .hero-title { bottom: calc(4vh + 126px); font-size: clamp(24px, 7.4vw, 36px); }
  .hero-lead { bottom: calc(4vh + 44px); font-size: 13.5px; }
  .top { padding-top: 16px; }
  .logo span { display: none; }
  .hud { top: 19px; }
  .w-copy { left: var(--gutter); right: var(--gutter); bottom: 4vh; width: auto; }
  .w-title { font-size: clamp(32px, 10vw, 46px); margin: 12px 0 8px; }
  .w-desc { display: none; }
  .w-meta { margin-bottom: 16px; font-size: 12px; }
  .w-meta div { grid-template-columns: 6rem 1fr; padding: 6px 0; }
  .w-meta div:nth-child(3) { display: none; }
  .w-cta { padding: 13px 18px 13px 20px; }
  .w-sev::before, .w-ff::before { background: linear-gradient(0deg, var(--shade, rgba(16, 20, 12, .92)) 0%, var(--shade, rgba(16, 20, 12, .8)) 34%, transparent 58%); }
  .w-ff { --shade: rgba(8, 15, 38, .92); }
  .sev-phone { right: 5vw; top: 30%; width: 30vw; border-radius: 20px; padding: 5px; }
  .sev-phone video { border-radius: 16px; }
  .ayo-wrap { grid-template-columns: 1fr; grid-template-rows: auto auto auto 1fr auto; padding: 96px var(--gutter) 74px; }
  .ayo-eyebrow { display: none; }
  .ayo-title { font-size: 17.5vw; margin-top: 2vh; }
  .ayo-stamp { margin: 0 0 -3vw; }
  .ayo-sky { margin-top: 3vh; }
  .ayo-bird { grid-column: 1; grid-row: 3; justify-self: end; align-self: start; width: 30vw; margin: 1vh -2vw 0 0; z-index: 1; }
  .ayo-sky { max-width: 64%; }
  .ayo-reply { left: auto; right: 0; bottom: auto; top: 100%; margin: 0; opacity: 0; }
  .ayo-card { grid-column: 1; grid-row: 4; align-self: end; max-width: none; }
  .ayo-poll, .ayo-result { padding: 14px 14px 0; }
  .ayo-result { padding-bottom: 14px; }
  .ayo-lock { width: calc(100% + 28px); margin: 0 -14px; height: 48px; padding: 0 14px; }
  .ayo-q { margin-bottom: 14px; }
  .ayo-ends { margin-bottom: 12px; }
  .ayo-num { font-size: 15vw; }
  .ayo-dots { gap: 3px; }
  .ayo-copy { display: none; }
  .ayo-cta { height: 54px; }
  .ayo-cta small { display: none; }
  .ff-key { left: 50%; top: 32%; width: 46vw; }
  .ff-phone { left: var(--gutter); right: var(--gutter); top: 14vh; bottom: auto; width: auto; margin: 0; }
  .ff-say { left: 4%; right: 4%; top: 15%; }
  .ff-phone video { border-width: 6px; border-radius: 18px; }
  .ff-phone figcaption { margin-top: 10px; font-size: 9.5px; text-align: left; }
  .ff-word { font-size: 12.4vw; margin: 10px 0 6px; }
  .ff-slogan { font-size: 9.5px; }
  .new-title { font-size: 12vw; margin-top: 14px; }
  .new-copy { top: 12vh; bottom: 4vh; }
  .new-copy .w-desc { display: block; margin-bottom: 12px; font-size: 13.5px; }
  .studio { padding: 14vh var(--gutter) 12vh; border-radius: 22px 22px 0 0; }
  .desk { grid-template-columns: 1fr; gap: 28px; }
  .values li { grid-template-columns: 1fr; gap: .6rem; padding: 26px 0; }
}
@media (max-width: 760px) and (max-height: 700px) {
  .w-tag { display: none; }
  .hero-lead { display: none; }
  .hero-title { bottom: calc(4vh + 50px); }
}
@media (min-width: 761px) and (max-height: 760px) {
  .w-desc { display: none; }
  .ayo-bird { width: min(26vw, 25vh); }
  .ayo-num { font-size: 9vh; }
  .ayo-of { margin: 4px 0 10px; }
  .ayo-dots { gap: 3px; margin-bottom: 10px; }
  .w-title { margin: 12px 0 8px; }
}
@media (min-width: 761px) and (max-width: 1100px) and (orientation: landscape) {
  .w-copy { width: 40vw; }
  .ff-phone { width: auto; left: calc(var(--gutter) + 40vw + 5vw); }
  .ayo-bird { width: min(22vw, 24vh); }
}

/* ——— Планшети в портреті: більше місця, ніж на телефоні. ——— */
@media (min-width: 761px) and (max-width: 1100px) and (orientation: portrait) {
  .logo span { display: inline; }
  .hero-title { font-size: 5vw; }
  .hero-lead { font-size: 15px; }
  .w-desc { display: block; font-size: 15px; }
  .w-meta div:nth-child(3) { display: grid; }
  .w-title { font-size: 7.4vw; }
  .ayo-title { font-size: 15vw; }
  .ayo-bird { width: 24vw; margin-top: 4vh; }
  .ayo-num { font-size: 11vw; }
  .ff-word { font-size: 10vw; }
  .new-title { font-size: 9vw; }
  .sev-phone { width: 22vw; }
}
/* ——— Маленькі телефони: стискаємо опитування й тизер. ——— */
@media (max-width: 760px) and (max-height: 700px) {
  .ayo-wrap { padding-top: 84px; padding-bottom: 64px; }
  .ayo-title { font-size: 15vw; }
  .ayo-sky-line { font-size: 5.6vw; }
  .ayo-num { font-size: 12vw; }
  .ayo-of { margin: 4px 0 8px; font-size: 13px; }
  .ayo-dots { gap: 2px; margin-bottom: 8px; }
  .ayo-people { font-size: 12.5px; }
  .ayo-cta { height: 48px; }
  .new-copy .w-desc { display: none; }
  .ff-slogan, .w-soon { display: none; }
  .ff-phone { top: 11vh; }
  .ff-phone figcaption { display: none; }
}
/* ——— Телефон горизонтально й інші низькі вікна. ——— */
@media (min-width: 761px) and (max-height: 520px) {
  .top { padding-top: 12px; }
  .hero-lead { display: none; }
  .hero-title { bottom: calc(4vh + 46px); }
  .w-copy { bottom: 4vh; }
  .w-idx { display: none; }
  .w-title { font-size: 12vh; margin: 0 0 6px; }
  .w-tag { font-size: 13px; }
  .w-desc, .w-meta { display: none; }
  .w-cta { margin-top: 12px; padding: 10px 16px; }
  .ff-watch { margin-top: 8px; padding: 8px 14px 7px 8px; font-size: 11px; gap: 8px; }
  .ff-watch i { width: 18px; height: 18px; }
  .w-ff .w-soon { display: none; }
  .ff-slogan { letter-spacing: .14em; }
  .w-sev .w-title em { margin-top: 4px; }
  .sev-beats { font-size: 5.5vh; }
  .ayo-wrap { padding: 52px var(--gutter) 48px; }
  .ayo-eyebrow, .ayo-stamp, .ayo-copy { display: none; }
  .ayo-title { font-size: 15vh; margin-top: 1vh; }
  .ayo-sky { margin-top: 5vh; }
  .ayo-sky-line { font-size: 5vh; }
  .ayo-bird { grid-column: 1; grid-row: 3; justify-self: end; align-self: start; width: 20vh; margin: 0; }
  .ayo-reply { display: none; }
  .ayo-card { grid-row: 2 / 5; max-width: 21rem; }
  .ayo-poll, .ayo-result { padding: 10px 12px 0; }
  .ayo-result { padding-bottom: 10px; }
  .ayo-q { font-size: 14px; margin-bottom: 8px; }
  .ayo-ends { margin: 2px 0 8px; }
  .ayo-lock { height: 38px; width: calc(100% + 24px); margin: 0 -12px; }
  .ayo-num { font-size: 10vh; }
  .ayo-of { margin: 2px 0 6px; font-size: 12px; }
  .ayo-dots { grid-template-columns: repeat(20, 1fr); gap: 2px; margin-bottom: 6px; }
  .ayo-people { font-size: 11px; }
  .ayo-cta { height: 40px; }
  .ff-word { font-size: 11vh; margin: 0 0 4px; }
  .ff-phone { left: auto; right: var(--gutter); width: min(54vw, calc((100vh - 110px) * 2.1)); }
  .ff-phone figcaption { display: none; }
  .new-copy { top: 52px; bottom: 3vh; }
  .new-title { font-size: 9vh; margin-top: 4px; }
  .new-pot { min-height: 60px; margin: 1.5vh 0; }
}

/* ——— Без руху: світи стоять вертикально, кожен у кінцевому стані. ——— */
.calm .grain, .no-js .grain { display: none; }
.calm .ff-key, .no-js .ff-key, .calm .ff-film, .no-js .ff-film { display: none; }
.calm .hero-scroll i::after, .calm .ff-rays, .calm .ayo-bob, .calm .prog-next i::after, .calm .prog.idle .prog-next { animation: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
