/* razrabotka.org — design system «Кадр».
   Flat colour, no gradients or outlines in the interface: light lives only in the 3D scene. */

/* ---------- Fonts (vendored, OFL) ---------- */
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/v2/onest-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/v2/onest-latin-400-normal.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+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/v2/onest-cyrillic-500-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 500; font-display: swap; src: url('/assets/fonts/v2/onest-latin-500-normal.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+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/v2/onest-cyrillic-600-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Onest'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/v2/onest-latin-600-normal.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+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/assets/fonts/v2/cormorant-garamond-cyrillic-500-italic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Cormorant Garamond'; font-style: italic; font-weight: 500; font-display: swap; src: url('/assets/fonts/v2/cormorant-garamond-latin-500-italic.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+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/v2/jetbrains-mono-cyrillic-400-normal.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/v2/jetbrains-mono-latin-400-normal.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+2212, U+2215, U+FEFF, U+FFFD; }
/* Arrows drawn to match the type; only U+2190–2199. */
@font-face { font-family: 'Razrabotka Symbols'; src: url('/assets/fonts/symbols.ttf') format('truetype'); font-weight: 100 900; font-display: block; unicode-range: U+2190-2199; }

/* ---------- Tokens ---------- */
:root {
  --ink: #000000;
  --surface: #0C0F13;
  --surface-2: #12161B;
  --raised: #171C21;
  --paper: #ECEFF2;
  --soft: #C9CFD6;
  --mist: #9AA3AD;
  --dim: #5D6670;
  --faint: #2A3036;
  --signal: #7DF2DD;
  --signal-ink: #04211D;

  --sans: 'Onest', 'Razrabotka Symbols', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --serif: 'Cormorant Garamond', 'Razrabotka Symbols', 'Times New Roman', serif;
  --mono: 'JetBrains Mono', 'Razrabotka Symbols', ui-monospace, 'SFMono-Regular', Menlo, Consolas, monospace;

  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.83, 0, .17, 1);
  --ease-soft: cubic-bezier(.33, 1, .68, 1);

  --gutter: clamp(16px, 3.4vw, 48px);
  --header-h: 84px;
  --radius: 28px;
  --frame-r: 30px;
  --max: 1440px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { background: var(--ink); color-scheme: dark; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
body {
  margin: 0;
  min-height: 100svh;
  background: transparent;
  color: var(--paper);
  font: 400 17px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video, svg, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; margin: 0; cursor: pointer; -webkit-tap-highlight-color: transparent; }
a { -webkit-tap-highlight-color: transparent; }
p, h1, h2, h3, h4, ol, ul, figure { margin: 0; }
ol, ul { padding: 0; list-style: none; }
::selection { background: var(--signal); color: var(--ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; border-radius: 6px; }
[hidden] { display: none !important; }

.skip-link { position: fixed; left: 16px; top: 16px; z-index: 300; padding: 12px 18px; border-radius: 14px; background: var(--signal); color: var(--ink); font-weight: 500; transform: translateY(-160%); transition: transform .3s var(--ease-out); }
.skip-link:focus-visible { transform: none; outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- Type ---------- */
.display, .h1, .h2, .h3 { font-weight: 500; letter-spacing: -.045em; line-height: .96; text-wrap: balance; }
.h1 { font-size: clamp(44px, 7.4vw, 124px); }
.h2 { font-size: clamp(38px, 5.6vw, 92px); }
.h3 { font-size: clamp(26px, 2.5vw, 38px); letter-spacing: -.035em; line-height: 1.04; }
.display em, .h1 em, .h2 em, .h3 em, .accent {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: 1.12em;
  line-height: .84;
  letter-spacing: -.015em;
  color: var(--signal);
}
.meta, .sec-index { font-family: var(--mono); font-size: 12px; line-height: 1.4; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.lead { font-size: clamp(17px, 1.4vw, 21px); line-height: 1.5; color: var(--soft); max-width: 36em; }
.muted { color: var(--mist); }

.sec-head { display: grid; gap: clamp(20px, 2.4vw, 32px); margin-bottom: clamp(48px, 6vw, 96px); }
.sec-index { display: flex; gap: 12px; align-items: baseline; }
.sec-index span { color: var(--signal); }
.sec-head--split { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); align-items: end; column-gap: clamp(32px, 6vw, 120px); }
.sec-head--split .sec-index { grid-column: 1 / -1; }

.section { position: relative; padding-block: clamp(96px, 12vw, 200px); background: transparent; --seam: 1; }
html.has-motion .section::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--signal); transform: scaleX(var(--seam)); opacity: calc(1 - var(--seam) * .65); box-shadow: 0 0 22px 2px rgba(125, 242, 221, .55); pointer-events: none; }
.sec-head { transform-origin: 50% 100%; will-change: transform; }

/* ---------- Interactive text roll (frameless buttons) ---------- */
.roll { position: relative; display: inline-flex; overflow: hidden; vertical-align: top; }
.roll > span { display: inline-block; transition: transform .7s var(--ease-out); }
.roll > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
@media (hover: hover) {
  a:hover .roll > span, button:hover .roll > span { transform: translateY(-100%); }
}
a:focus-visible .roll > span, button:focus-visible .roll > span { transform: translateY(-100%); }

.cta { display: inline-flex; align-items: center; gap: 14px; font-weight: 500; font-size: 17px; line-height: 1.2; color: var(--paper); white-space: nowrap; }
.cta__dot { flex: none; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; background: var(--signal); color: var(--ink); transition: transform .6s var(--ease-out); }
.cta__dot svg { width: 16px; height: 16px; transition: transform .6s var(--ease-out); }
@media (hover: hover) {
  .cta:hover .cta__dot { transform: scale(1.08); }
  .cta:hover .cta__dot svg { transform: rotate(45deg); }
}
.cta:focus-visible .cta__dot svg { transform: rotate(45deg); }
.cta--small { font-size: 15px; gap: 12px; }
.cta--small .cta__dot { width: 34px; height: 34px; }
.cta--small .cta__dot svg { width: 13px; height: 13px; }
.cta--big { font-size: clamp(19px, 1.7vw, 24px); gap: 18px; }
.cta--big .cta__dot { width: clamp(52px, 4.6vw, 64px); height: clamp(52px, 4.6vw, 64px); }

.link { display: inline-flex; align-items: center; gap: 8px; color: var(--mist); font-size: 16px; transition: color .4s; }
.link i { font-style: normal; color: var(--signal); transition: transform .5s var(--ease-out); }
@media (hover: hover) { .link:hover { color: var(--paper); } .link:hover i { transform: translate(2px, -2px); } }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 70; height: var(--header-h);
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px;
  padding-inline: var(--gutter);
  transition: transform .7s var(--ease-out), background-color .5s;
}
.site-header.is-hidden { transform: translateY(-105%); }
.site-header.is-solid { background: rgba(0, 0, 0, .72); -webkit-backdrop-filter: blur(16px) saturate(1.2); backdrop-filter: blur(16px) saturate(1.2); }
.brand { display: inline-flex; align-items: center; gap: 12px; justify-self: start; font-weight: 500; font-size: 16px; letter-spacing: -.02em; }
.brand__mark { width: 26px; height: 26px; flex: none; }
.brand__mark path { fill: none; stroke: currentColor; stroke-width: 150; stroke-linecap: round; stroke-linejoin: round; }
.brand__tld { color: var(--mist); }
.nav { display: flex; gap: clamp(20px, 2.6vw, 40px); font-size: 15px; }
.nav a { position: relative; color: var(--soft); transition: color .4s; }
.nav a::before { content: ''; position: absolute; left: -12px; top: 50%; width: 5px; height: 5px; margin-top: -2px; border-radius: 50%; background: var(--signal); transform: scale(0); transition: transform .5s var(--ease-out); }
.nav a.is-current { color: var(--paper); }
.nav a.is-current::before { transform: scale(1); }
@media (hover: hover) { .nav a:hover { color: var(--paper); } }
.header__end { display: flex; align-items: center; gap: clamp(18px, 2vw, 32px); justify-self: end; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; }
.lang a { color: var(--mist); padding: 10px 2px; transition: color .3s; }
.lang a[aria-current] { color: var(--paper); }
.lang span { color: var(--dim); }
@media (hover: hover) { .lang a:hover { color: var(--paper); } }

/* ---------- Mobile dock & menu ---------- */
.dock { display: none; }
.menu { display: none; }
@media (max-width: 899px) {
  :root { --header-h: 64px; }
  .site-header { grid-template-columns: 1fr auto; }
  .site-header .nav, .site-header .header__cta { display: none; }
  .dock {
    position: fixed; z-index: 80; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: flex; align-items: center; justify-content: space-between; gap: 12px;
    height: 64px; padding: 0 8px 0 10px; border-radius: 22px;
    background: rgba(18, 22, 26, .9); -webkit-backdrop-filter: blur(18px) saturate(1.2); backdrop-filter: blur(18px) saturate(1.2);
    transition: transform .7s var(--ease-out);
  }
  .dock.is-away { transform: translateY(calc(100% + 24px)); }
  .dock__menu { width: 48px; height: 48px; display: grid; place-items: center; position: relative; }
  .dock__menu span { position: absolute; left: 13px; height: 1.5px; background: var(--paper); border-radius: 2px; transition: transform .6s var(--ease-out), width .6s var(--ease-out), top .6s var(--ease-out); }
  .dock__menu span:nth-child(1) { top: 19px; width: 22px; }
  .dock__menu span:nth-child(2) { top: 27px; width: 14px; }
  .menu-open .dock__menu span:nth-child(1) { top: 23px; width: 22px; transform: rotate(45deg); }
  .menu-open .dock__menu span:nth-child(2) { top: 23px; width: 22px; transform: rotate(-45deg); }
  .dock__label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mist); margin-right: auto; }
  .dock .cta { font-size: 15px; gap: 12px; }
  .dock .cta__dot { width: 48px; height: 48px; border-radius: 16px; }

  .menu {
    position: fixed; inset: 0; z-index: 75; display: flex; flex-direction: column; justify-content: space-between;
    padding: calc(var(--header-h) + 24px) 28px calc(110px + env(safe-area-inset-bottom, 0px));
    background: var(--ink); visibility: hidden; opacity: 0;
    transition: opacity .5s var(--ease-out), visibility 0s .5s;
  }
  .menu-open .menu { visibility: visible; opacity: 1; transition: opacity .5s var(--ease-out); }
  .menu__nav { display: grid; gap: 4px; }
  .menu__nav a { display: flex; align-items: baseline; gap: 14px; padding: 6px 0; font-size: clamp(38px, 11.5vw, 56px); font-weight: 500; letter-spacing: -.045em; line-height: 1.02; transform: translateY(24px); opacity: 0; transition: transform .8s var(--ease-out), opacity .6s; }
  .menu__nav a small { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; color: var(--mist); }
  .menu__nav a.is-accent { font-family: var(--serif); font-style: italic; color: var(--signal); letter-spacing: -.02em; font-size: clamp(44px, 13vw, 64px); }
  .menu-open .menu__nav a { transform: none; opacity: 1; transition-delay: calc(80ms + var(--i, 0) * 45ms); }
  .menu__foot { display: grid; gap: 10px; font-size: 15px; color: var(--soft); opacity: 0; transition: opacity .6s .35s; }
  .menu-open .menu__foot { opacity: 1; }
  .menu__foot .lang { margin-top: 8px; }
}

/* ---------- Cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor, html.has-cursor a, html.has-cursor button, html.has-cursor [data-cursor] { cursor: none; }
  html.has-cursor .cursor {
    display: grid; place-items: center; position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none;
    width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%;
    font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--ink);
    opacity: 0; transition: opacity .3s;
  }
  html.has-cursor .cursor.is-on { opacity: 1; }
  .cursor__dot { position: absolute; inset: 0; border-radius: 50%; background: var(--paper); transform: scale(.11); transition: transform .5s var(--ease-out), background-color .4s; }
  .cursor__label { position: relative; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--ease-out); white-space: nowrap; }
  .cursor.is-link .cursor__dot { transform: scale(.32); background: var(--signal); }
  .cursor.is-label .cursor__dot { transform: scale(1); background: var(--signal); }
  .cursor.is-label .cursor__label { opacity: 1; transform: none; }
  .cursor.is-down .cursor__dot { transform: scale(.08); }
  .cursor.is-label.is-down .cursor__dot { transform: scale(.9); }
}

/* ---------- Loader & page transition ---------- */
.loader { display: none; }
html.js.is-first .loader {
  display: flex; position: fixed; inset: 0; z-index: 260; flex-direction: column; justify-content: space-between;
  padding: clamp(20px, 3vw, 40px) var(--gutter); background: var(--ink);
  clip-path: inset(0 0 0 0);
}
html.js.is-first .loader.is-done { clip-path: inset(0 0 100% 0); transition: clip-path 1.1s var(--ease-in-out); }
html.js.is-first .loader.is-gone { display: none; }
.loader__top, .loader__bottom { display: flex; justify-content: space-between; }
.loader__mark { position: absolute; left: 50%; top: 50%; width: clamp(64px, 8vw, 96px); height: clamp(64px, 8vw, 96px); transform: translate(-50%, -50%); transition: transform .9s var(--ease-in-out), opacity .6s; }
.loader__mark path { fill: none; stroke: var(--paper); stroke-width: 150; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.15s var(--ease-in-out) forwards; }
.loader__mark path + path { animation-delay: .22s; }
.loader.is-done .loader__mark { transform: translate(-50%, -64%); opacity: 0; }
.loader__count { font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--paper); }
@keyframes draw { to { stroke-dashoffset: 0; } }

.curtain { position: fixed; inset: 0; z-index: 240; pointer-events: none; background: var(--ink); clip-path: inset(100% 0 0 0); display: grid; place-items: center; }
.curtain svg { width: 44px; height: 44px; opacity: 0; transition: opacity .3s; }
.curtain path { fill: none; stroke: var(--paper); stroke-width: 150; stroke-linecap: round; stroke-linejoin: round; }
.curtain.is-covering { clip-path: inset(0 0 0 0); transition: clip-path .75s var(--ease-in-out); pointer-events: auto; }
.curtain.is-covering svg { opacity: 1; transition-delay: .35s; }
html.is-arriving .curtain { clip-path: inset(0 0 0 0); }
html.is-arriving .curtain svg { opacity: 1; }
.curtain.is-leaving { clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease-in-out); }
.curtain.is-leaving svg { opacity: 0; transition-delay: 0s; }

/* ---------- Reveal system (only when the motion module runs) ---------- */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .1em; margin-bottom: -.1em; }
em .w, .accent .w { padding-right: .08em; margin-right: -.08em; padding-left: .04em; margin-left: -.04em; }
.w > span { display: inline-block; }
html.has-motion [data-split] .w > span { transform: translate3d(0, 108%, 0); transition: transform 1.1s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
html.has-motion [data-split].is-in .w > span { transform: none; }
html.has-motion [data-reveal] { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity 1s var(--ease-soft), transform 1.2s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
html.has-motion [data-reveal].is-in { opacity: 1; transform: none; }

/* ---------- 3D portal canvas ---------- */
.portal { position: fixed; left: 0; top: 0; width: 100%; height: 100lvh; z-index: -1; pointer-events: none; visibility: hidden; will-change: transform; }
.portal.is-visible { visibility: visible; }
main { position: relative; }
.site-footer { position: relative; z-index: 1; }

/* ---------- Hero ---------- */
.hero { position: relative; }
.hero__sticky { position: relative; }
.hero__stage { position: relative; height: 100svh; min-height: 560px; }
html.has-motion .hero__track { height: 420svh; }
html.has-motion .hero__sticky { position: sticky; top: 0; height: 100svh; min-height: 560px; overflow: hidden; }
.hero__anchor, .hero__screen { position: absolute; left: 22%; top: 17%; width: 56%; height: 56%; }
.hero__anchor { pointer-events: none; visibility: hidden; }
.hero__screen { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(14px, 2.6svh, 28px); padding: 4%; text-align: center; transform-origin: 50% 50%; will-change: transform, opacity; }
.frame-css { position: absolute; inset: 0; border-radius: var(--frame-r); box-shadow: 0 0 0 1.5px #E9FFFB, 0 0 14px rgba(125, 242, 221, .5); pointer-events: none; }
html.webgl .frame-css { opacity: 0; }
.hero__title { font-size: clamp(36px, min(4.7vw, 8.6svh), 116px); line-height: .96; letter-spacing: -.05em; }
.hero__title .l { display: block; white-space: nowrap; }
.hero__below { position: absolute; left: 0; right: 0; top: calc(73% + 3.6svh); display: flex; align-items: center; justify-content: center; gap: clamp(24px, 3vw, 48px); padding-inline: var(--gutter); }
.hero__below p { max-width: 24em; font-size: 16px; line-height: 1.5; color: var(--soft); }

/* Manifesto lives inside the pinned hero once motion runs; otherwise it is a normal block. */
.manifesto { position: relative; padding: clamp(80px, 10vw, 160px) var(--gutter); display: grid; place-items: center; }
html.has-motion .manifesto { position: absolute; inset: 0; padding-block: 0; opacity: 0; visibility: hidden; }
html.has-motion .manifesto.is-on { visibility: visible; }
.manifesto__inner { max-width: 1060px; display: grid; gap: clamp(24px, 3vw, 40px); text-align: center; justify-items: center; }
.manifesto__statement { font-size: clamp(28px, 3.9vw, 62px); font-weight: 500; letter-spacing: -.035em; line-height: 1.08; text-wrap: balance; }
.manifesto__statement em { font-family: var(--serif); font-style: italic; font-size: 1.1em; letter-spacing: -.01em; color: var(--signal); }
.mw { transition: opacity .25s linear; }
.manifesto__aside { display: grid; gap: 10px; max-width: 30em; justify-items: center; }
.manifesto__aside p { color: var(--soft); font-size: 17px; }

@media (max-width: 899px) {
  html.has-motion .hero__track { height: 380svh; }
  .hero__anchor, .hero__screen { left: 18%; top: 9%; width: 64%; height: 64%; }
  .hero__screen { padding: 7% 5%; }
  .hero__title { font-size: clamp(32px, 10vw, 54px); }
  .hero__title .l { white-space: normal; }
  .hero__below { top: calc(73% + 2.6svh); flex-direction: column; gap: 14px; }
  .hero__below p { font-size: 15px; text-align: center; max-width: 22em; }
  .hero__below .cta { display: none; }
    .hero .frame-css { border-radius: 26px; }
  :root { --frame-r: 26px; }
}
@media (max-width: 899px) and (max-height: 640px) {
  .hero__below p { display: none; }
}

/* ---------- Works ---------- */
.works { padding-bottom: clamp(80px, 10vw, 160px); }
.works .sec-head { margin-bottom: 0; }
.works__stage { display: none; position: relative; }
html.has-motion .works__stage { display: block; height: 320svh; }
.works__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.ring { position: absolute; inset: 0; perspective: 1700px; perspective-origin: 50% 40%; }
.ring__world { position: absolute; left: 50%; top: 42%; width: 0; height: 0; transform-style: preserve-3d; }
.ring__word { position: absolute; left: 0; top: 0; transform: translate(-50%, -54%); font: italic 500 clamp(120px, 19vw, 330px)/1 var(--serif); letter-spacing: -.02em; white-space: nowrap; color: var(--paper); pointer-events: none; user-select: none; }
.ring__spin { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.ring__item { --w: clamp(200px, 17vw, 300px); position: absolute; left: 0; top: 0; width: var(--w); height: calc(var(--w) * .625); margin: calc(var(--w) * -.3125) 0 0 calc(var(--w) * -.5); transform-style: preserve-3d; }
.ring__face, .ring__back { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; }
.ring__face { background: var(--surface); box-shadow: 0 0 calc(var(--lit, 0) * 70px) calc(var(--lit, 0) * 6px) rgba(125, 242, 221, calc(var(--lit, 0) * .55)); }
.ring__floor { position: absolute; left: 0; top: 0; width: 1500px; height: 1500px; margin: -750px 0 0 -750px; border-radius: 50%; transform: translateY(330px) rotateX(90deg); box-shadow: 0 0 0 1px rgba(125, 242, 221, .45), 0 0 80px 10px rgba(125, 242, 221, .18), inset 0 0 120px 20px rgba(125, 242, 221, .12); pointer-events: none; }
.ring__floor::after { content: ''; position: absolute; inset: 22%; border-radius: 50%; box-shadow: 0 0 0 1px rgba(125, 242, 221, .25); }
.ring__word { text-shadow: 0 0 60px rgba(125, 242, 221, .35); }
@media (max-width: 899px) { .ring__floor { display: none; } }
.ring__face img, .ring__back img { width: 100%; height: 100%; object-fit: cover; }
.ring__face::after { content: ''; position: absolute; inset: 0; background: var(--ink); opacity: var(--shade, 0); }
.ring__back { background: var(--surface); transform: rotateY(180deg); }
.ring__back img { opacity: .55; }
.ring__back::after { content: ''; position: absolute; inset: 0; background: var(--ink); opacity: var(--shade, 0); }
.ring__tag { position: absolute; left: 12px; bottom: 10px; font-family: var(--mono); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; color: var(--paper); opacity: 0; transition: opacity .4s; }
.works__hud { position: absolute; left: var(--gutter); right: var(--gutter); bottom: clamp(20px, 4svh, 40px); display: flex; justify-content: space-between; align-items: end; gap: 24px; pointer-events: none; }
.works__now { display: grid; gap: 6px; }
.works__now strong { font-weight: 500; font-size: clamp(20px, 1.8vw, 26px); letter-spacing: -.03em; color: var(--paper); text-transform: none; font-family: var(--sans); }
@media (max-width: 899px) {
  html.has-motion .works__stage { height: 520svh; }
  .ring { perspective: 900px; perspective-origin: 50% 38%; }
  .ring__world { top: 38%; }
  .works__hud { bottom: calc(96px + env(safe-area-inset-bottom, 0px)); flex-direction: column; align-items: flex-start; gap: 4px; }
  .ring__word { font-size: clamp(96px, 30vw, 170px); color: var(--faint); transform: translate(-50%, -50%) translateZ(-1400px) scale(2.85); }
  .ring__item { --w: min(84vw, 380px); }
  .ring__face, .ring__back { border-radius: 14px; }
}

/* Case list (home + portfolio) */
.cases { display: grid; margin-top: clamp(40px, 6vw, 96px); }
.case__link { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto 40px; align-items: baseline; gap: 24px; padding: clamp(22px, 2.6vw, 34px) 0; }
.case__title { font-size: clamp(36px, 5.6vw, 92px); font-weight: 500; letter-spacing: -.045em; line-height: 1; transition: color .5s, transform .8s var(--ease-out); }
.case__kind { font-size: 15px; color: var(--mist); text-align: right; }
.case__arrow { color: var(--signal); font-size: 22px; justify-self: end; transition: transform .6s var(--ease-out); }
.case__media { display: none; }
@media (hover: hover) {
  .cases:hover .case__title { color: var(--dim); }
  .cases .case__link:hover .case__title { color: var(--paper); transform: translateX(12px); }
  .case__link:hover .case__arrow { transform: rotate(45deg); }
}
.cases__all { margin-top: clamp(32px, 4vw, 56px); }
.float { position: fixed; left: 0; top: 0; z-index: 30; width: clamp(280px, 26vw, 420px); aspect-ratio: 16 / 10; pointer-events: none; border-radius: 16px; overflow: hidden; opacity: 0; transform: translate3d(-50%, -50%, 0) scale(.86); transition: opacity .4s, transform .7s var(--ease-out); background: var(--surface); }
.float.is-on { opacity: 1; transform: translate3d(-50%, -50%, 0) scale(1); }
.float img, .float video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .35s; }
.float [data-active] { opacity: 1; }
.float-host { position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none; will-change: transform; }
@media (max-width: 899px) {
  .case__link { grid-template-columns: 1fr auto; grid-template-areas: 'media media' 'title arrow' 'kind kind'; gap: 8px 16px; padding: 18px 0 28px; }
  .case__media { display: block; grid-area: media; aspect-ratio: 16 / 10; border-radius: 16px; overflow: hidden; background: var(--surface); margin-bottom: 10px; }
  .case__media img { width: 100%; height: 100%; object-fit: cover; }
  .case__title { grid-area: title; font-size: clamp(30px, 8.6vw, 44px); }
  .case__kind { grid-area: kind; text-align: left; }
  .case__arrow { grid-area: arrow; }
}

/* ---------- Cinema (video) ---------- */
.cinema { padding-bottom: clamp(96px, 12vw, 180px); }
.cinema .sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.cinema__stage { position: relative; overflow-x: clip; }
html.has-motion .cinema__stage { height: 190svh; }
.cinema__sticky { position: relative; display: grid; place-items: center; }
html.has-motion .cinema__sticky { position: sticky; top: 0; height: 100svh; }
.film { position: relative; width: 100%; }
.film--main { width: min(100%, calc((100svh - 150px) * 16 / 9)); margin-inline: auto; transform-origin: 50% 100%; }
.film__screen { position: relative; aspect-ratio: 16 / 9; background: var(--surface); overflow: hidden; }
.film__screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.film__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; transition: opacity .5s; }
.film__preview { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s; pointer-events: none; }
.film.is-previewing .film__preview { opacity: 1; }
.film.is-playing .film__poster, .film.is-playing .film__preview, .film.has-started .film__poster { opacity: 0; }
.film__play { position: absolute; inset: 0; display: grid; place-items: center; width: 100%; }
.film__play-dot { width: clamp(72px, 7vw, 108px); height: clamp(72px, 7vw, 108px); border-radius: 50%; display: grid; place-items: center; gap: 2px; background: var(--paper); color: var(--ink); transition: transform .6s var(--ease-out), opacity .4s; }
.film__play-dot svg { width: 22%; height: 22%; margin-left: 6%; }
@media (hover: hover) { .film__play:hover .film__play-dot { transform: scale(1.08); } }
html.has-cursor .film__play .film__play-dot { opacity: 0; transform: scale(.6); }
html.has-cursor .film__play:focus-visible .film__play-dot { opacity: 1; transform: none; }
.film__caption { display: flex; justify-content: space-between; align-items: baseline; gap: 16px 32px; flex-wrap: wrap; padding-top: 18px; }
.film__caption h3 { font-size: clamp(18px, 1.5vw, 22px); font-weight: 500; letter-spacing: -.02em; line-height: 1.25; }
.film__time { font-family: var(--mono); font-size: 12px; color: var(--mist); font-variant-numeric: tabular-nums; }
.film__status { font-size: 14px; color: var(--soft); min-height: 0; }
.film__status:empty { display: none; }
.film__fallback { color: var(--signal); font-size: 14px; }
.film--main .film__screen { --inset-x: 0%; --inset-y: 0%; --r: 0px; }
html.has-motion .film--main .film__screen { clip-path: inset(var(--inset-y) var(--inset-x) round var(--r)); }
html.has-motion .film--main.is-playing .film__screen, html.has-motion .film--main.has-started .film__screen { clip-path: inset(0 0 round 0); transition: clip-path .8s var(--ease-out); }
.film--main .film__bar { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 18px var(--gutter) 0; }
.audio { display: inline-flex; align-items: center; gap: 14px; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); }
.audio__opts { display: inline-flex; gap: 4px; }
.audio__opts button { padding: 10px 8px; color: var(--mist); letter-spacing: .1em; transition: color .3s; }
.audio__opts button[aria-pressed='true'] { color: var(--signal); }
@media (hover: hover) { .audio__opts button:hover { color: var(--paper); } }
.film--main .film__caption { padding-inline: var(--gutter); }
.film__screen[aria-busy='true']::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--signal); animation: busy 1.2s var(--ease-in-out) infinite; transform-origin: 0 50%; }
@keyframes busy { from { transform: scaleX(0); } to { transform: scaleX(1); opacity: 0; } }

.reels { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(24px, 3vw, 48px) clamp(16px, 2vw, 32px); margin-top: clamp(96px, 10vw, 160px); }
.reels__lead { grid-column: 1 / span 5; align-self: end; display: grid; gap: 22px; padding-bottom: 8px; }
.reels__lead h3 { font-size: clamp(30px, 3.4vw, 54px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.reels__lead p:not(.meta) { color: var(--soft); max-width: 30em; }
.reels .film--wide { grid-column: 6 / -1; }
.reels .film--half { grid-column: span 6; }
.reels .film__screen { border-radius: 18px; }
.film:not(.film--main) .film__play-dot { width: 64px; height: 64px; }
/* Phones: an autoplaying preview is the cue itself — no play icon; the whole screen stays a button that opens the film. */
@media (hover: none) { .film.is-previewing .film__play-dot { opacity: 0; transform: scale(.6); } }

.scenes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2vw, 32px); margin-top: clamp(64px, 7vw, 112px); }
.scene-step { display: grid; gap: 10px; align-content: start; }
.scene-step .meta { color: var(--signal); }
.scene-step h4 { font-size: 20px; font-weight: 500; letter-spacing: -.02em; }
.scene-step p { font-size: 15px; color: var(--mist); }
.scene-step__bar { height: 2px; background: var(--faint); position: relative; overflow: hidden; margin-bottom: 14px; }
.scene-step__bar::after { content: ''; position: absolute; inset: 0; background: var(--signal); transform: scaleX(0); transform-origin: 0 50%; transition: transform 1.4s var(--ease-out); transition-delay: calc(var(--d, 0) * 1ms); }
.scenes.is-in .scene-step__bar::after, html:not(.has-motion) .scene-step__bar::after { transform: none; }
.cinema__cta { margin-top: clamp(56px, 6vw, 96px); }

@media (max-width: 899px) {
  html.has-motion .cinema__stage { height: auto; }
  html.has-motion .cinema__sticky { position: relative; height: auto; }
  html.has-motion .film--main .film__screen { clip-path: none; }
  .film--main .film__bar { flex-direction: column; align-items: flex-start; gap: 6px; }
  .reels { grid-template-columns: 1fr; margin-top: 88px; gap: 40px; }
  .reels__lead, .reels .film--wide, .reels .film--half { grid-column: auto; }
  .reels .film__screen { border-radius: 14px; }
  .scenes { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
}

/* ---------- Services: the dust assembles into each service (WebGL stage) ---------- */
.services { background: transparent; }
.morph { display: none; }
html.has-motion .morph { display: block; position: relative; height: 470svh; margin: calc(clamp(48px, 6vw, 96px) * -1) 0 clamp(64px, 7vw, 120px); }
.morph__sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.morph__hud { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 3svh, 36px); pointer-events: none; }
.morph__list { display: grid; gap: clamp(2px, .6svh, 8px); max-width: 46%; }
.morph__item { display: block; color: var(--faint); transition: color .6s var(--ease-out); }
.morph__name { font-size: clamp(34px, min(4.4vw, 7svh), 74px); font-weight: 500; letter-spacing: -.045em; line-height: 1.04; transition: transform .8s var(--ease-out); }
.morph__item.is-current { color: var(--paper); }
.morph__item.is-current .morph__name { transform: translateX(12px); }
.morph__descs { position: relative; height: 3.2em; max-width: 30em; color: var(--soft); font-size: 17px; line-height: 1.5; }
.morph__descs p { position: absolute; inset: 0; opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .7s var(--ease-out); }
.morph__descs p.is-current { opacity: 1; transform: none; }
@media (max-width: 899px) {
  html.has-motion .morph { height: 430svh; }
  .morph__hud { justify-content: flex-end; padding-bottom: calc(120px + env(safe-area-inset-bottom, 0px)); gap: 14px; }
  .morph__list { max-width: none; }
  .morph__item { display: none; }
  .morph__item.is-current { display: block; }
  .morph__item.is-current .morph__name { transform: none; }
  .morph__name { font-size: clamp(34px, 10vw, 48px); }
  .morph__descs { font-size: 15px; height: 4.6em; }
  }

/* ---------- Services ---------- */
.svc-list { display: grid; }
.svc { position: relative; }
.svc__title { margin: 0; font: inherit; letter-spacing: inherit; }
.svc__head { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) auto 56px; align-items: center; gap: 24px; padding: clamp(14px, 1.6vw, 22px) 0; text-align: left; }
.svc__name { font-size: clamp(40px, 6vw, 100px); font-weight: 500; letter-spacing: -.05em; line-height: 1; color: var(--paper); transition: color .5s, transform .8s var(--ease-out); }
.svc__short { font-size: 15px; color: var(--mist); text-align: right; max-width: 28em; text-wrap: balance; }
.svc__toggle { position: relative; width: 56px; height: 56px; border-radius: 50%; background: var(--surface-2); justify-self: end; transition: background-color .4s, transform .7s var(--ease-out); }
.svc__toggle::before, .svc__toggle::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 1.5px; margin: -.75px 0 0 -8px; background: var(--paper); transition: transform .6s var(--ease-out), background-color .3s; }
.svc__toggle::after { transform: rotate(90deg); }
.svc.is-open .svc__toggle { background: var(--signal); transform: rotate(135deg); }
.svc.is-open .svc__toggle::before, .svc.is-open .svc__toggle::after { background: var(--ink); }
@media (hover: hover) {
  .svc-list:hover .svc__name { color: var(--dim); }
  .svc-list .svc:hover .svc__name, .svc-list .svc.is-open .svc__name { color: var(--paper); }
  .svc__head:hover .svc__name { transform: translateX(12px); }
}
.svc__body { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .8s var(--ease-out); }
.svc.is-open .svc__body { grid-template-rows: 1fr; }
.svc__clip { min-height: 0; overflow: hidden; }
.svc__content { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1fr); gap: 24px; padding: 8px 0 clamp(36px, 4vw, 56px); opacity: 0; transform: translateY(-12px); transition: opacity .5s, transform .8s var(--ease-out); }
.svc.is-open .svc__content { opacity: 1; transform: none; transition-delay: .12s; }
.svc__text { grid-column: 2; display: grid; gap: 20px; align-content: start; max-width: 34em; }
.svc__text p { color: var(--soft); font-size: clamp(17px, 1.3vw, 19px); }
.svc__tags { font-family: var(--mono); font-size: 13px; letter-spacing: 0; color: var(--mist); line-height: 1.8; }
.svc__text .link { margin-top: 4px; }
.svc__spec { grid-column: 3; justify-self: end; width: min(100%, 420px); }
.svc-deck-bar { display: none; }

@media (max-width: 899px) {
  .svc-list { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter) 8px; scroll-padding-inline: var(--gutter); scrollbar-width: none; overscroll-behavior-x: contain; }
  .svc-list::-webkit-scrollbar { display: none; }
  .svc { flex: 0 0 min(84vw, 380px); scroll-snap-align: start; background: var(--surface); border-radius: 24px; padding: 20px; display: flex; flex-direction: column; }
  .svc__head { grid-template-columns: 1fr; gap: 6px; padding: 0 0 16px; cursor: default; pointer-events: none; }
  .svc__name { font-size: 32px; letter-spacing: -.04em; }
  .svc__short { text-align: left; font-size: 14px; }
  .svc__toggle { display: none; }
  .svc__body, .svc.is-open .svc__body { grid-template-rows: 1fr; }
  .svc__content, .svc.is-open .svc__content { grid-template-columns: 1fr; gap: 18px; padding: 0; opacity: 1; transform: none; }
  .svc__spec { grid-column: 1; grid-row: 1; justify-self: stretch; width: 100%; }
  .svc__text { grid-column: 1; gap: 14px; }
  .svc__text p { font-size: 15px; }
  .svc-deck-bar { display: flex; gap: 6px; margin-top: 20px; }
  .svc-deck-bar span { flex: 1; height: 2px; background: var(--faint); transition: background-color .4s; }
  .svc-deck-bar span.is-on { background: var(--signal); }
}

/* Service specimens live in the «Scenes» block at the end of this file. */

/* ---------- Approach ---------- */
.stack { display: grid; gap: clamp(16px, 2vw, 28px); }
.stack__card { position: sticky; top: calc(var(--header-h) + 12px + var(--i, 0) * 26px); min-height: min(64svh, 600px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; padding: clamp(28px, 4.4vw, 72px); border-radius: 32px; background: var(--surface); transform-origin: 50% 0; will-change: transform; }
.stack__card:nth-child(2) { background: var(--surface-2); }
.stack__card:nth-child(3) { background: var(--raised); }
.stack__text { display: grid; gap: 22px; align-content: center; }
.stack__text .meta { color: var(--signal); }
.stack__text h3 { font-size: clamp(34px, 4.2vw, 68px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.stack__text p { color: var(--soft); font-size: clamp(16px, 1.3vw, 19px); max-width: 26em; }
.stack__art { justify-self: center; width: min(100%, 440px); }
@media (max-width: 899px) {
  .stack__card { grid-template-columns: 1fr; min-height: 0; padding: 26px 22px 30px; border-radius: 26px; top: calc(var(--header-h) + var(--i, 0) * 18px); gap: 22px; }
  .stack__art { order: -1; width: 62%; justify-self: start; }
  .stack__text h3 { font-size: clamp(30px, 8.4vw, 42px); }
}

/* ---------- Outcomes ---------- */
/* the butterfly, cut out of black and laid straight onto the sand */
.outcomes__top { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); align-items: center; gap: clamp(24px, 4vw, 72px); margin-bottom: clamp(32px, 4vw, 64px); }
.outcomes__top .sec-head { margin-bottom: 0; }
.outcomes__film { position: relative; margin-right: calc(var(--gutter) * -1); pointer-events: none; user-select: none; }
/* The film has no edges: black disappears in screen blend, and the hand dissolves into the page instead of being cut by the frame line. */
.outcomes__film video { display: block; width: min(100%, calc(80svh * 7 / 6)); height: auto; margin-left: auto; aspect-ratio: 7 / 6; object-fit: cover; object-position: 50% 50%; mix-blend-mode: screen; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 52%, transparent 90%); mask-image: linear-gradient(to bottom, transparent 0, #000 8%, #000 52%, transparent 90%); }
html.has-motion .outcomes__film video { opacity: 0; transform: scale(.96); transform-origin: 50% 40%; transition: opacity 1.2s var(--ease-soft), transform 3.2s var(--ease-out); }
html.has-motion .outcomes__film video.is-on { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .outcomes__top { grid-template-columns: 1fr; }
  .outcomes__film { margin: 0 calc(var(--gutter) * -1); }
  .outcomes__film video { width: min(100%, calc(80svh * 7 / 6)); margin-inline: auto; }
}
.outcomes__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.outcome { display: grid; gap: 16px; align-content: start; }
.outcome .meta { color: var(--signal); }
.outcome h3 { font-size: clamp(24px, 2.2vw, 34px); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.outcome p { color: var(--mist); }
html.has-motion .outcome[data-reveal]:not(.is-in) { transform: perspective(900px) rotateX(-62deg) translateY(24px); transform-origin: 50% 0; }
.outcome[data-reveal] { transition-duration: 1s, 1.4s; }
@media (max-width: 899px) {
  .outcomes__grid { grid-template-columns: 1fr; gap: 40px; }
  .sec-head--split { grid-template-columns: 1fr; }
  .hero__screen .meta { font-size: 10px; letter-spacing: .08em; white-space: nowrap; }
}

/* ---------- Process ---------- */
.steps { position: relative; padding-top: 56px; --progress: 0; transform-origin: 50% 100%; }
.steps__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.steps__track { position: absolute; left: 0; right: 0; top: 18px; height: 2px; background: var(--faint); }
.steps__fill { position: absolute; inset: 0; background: var(--signal); transform-origin: 0 50%; transform: scaleX(var(--progress)); }
.step { position: relative; display: grid; gap: 14px; align-content: start; }
.step__node { position: absolute; top: -45px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--faint); transition: background-color .5s, transform .6s var(--ease-out); }
.step.is-lit .step__node { background: var(--signal); transform: scale(1.15); }
.step .meta { color: var(--mist); transition: color .5s; }
.step.is-lit .meta { color: var(--signal); }
.step h3 { font-size: clamp(26px, 2.4vw, 38px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.step p { color: var(--mist); font-size: 16px; }
.step__action { justify-self: start; margin-top: 6px; display: inline-flex; align-items: center; gap: 10px; color: var(--soft); font-size: 15px; padding: 6px 0; }
.step__action i { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--signal); font-style: normal; transition: background-color .4s, color .4s, transform .6s var(--ease-out); }
@media (hover: hover) { .step__action:hover i { background: var(--signal); color: var(--ink); transform: rotate(45deg); } .step__action:hover { color: var(--paper); } }
@media (max-width: 899px) {
  .steps { padding: 0 0 0 40px; }
  .steps__list { grid-template-columns: 1fr; gap: 44px; }
  .steps__track { left: 6px; right: auto; top: 6px; bottom: 6px; width: 2px; height: auto; }
  .steps__fill { transform-origin: 50% 0; transform: scaleY(var(--progress)); }
  .step__node { left: -40px; top: 2px; }
}

/* ---------- Finale (contact stage) ---------- */
.finale { position: relative; min-height: 100svh; display: block; background: transparent; }
.finale__anchor, .finale__screen { position: absolute; left: 22%; top: 18%; width: 56%; height: 56%; }
.finale__anchor { visibility: hidden; pointer-events: none; }
.finale__screen { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(16px, 2.4svh, 28px); padding: 4%; text-align: center; }
.finale__title { font-size: clamp(38px, min(5.6vw, 9.4svh), 108px); }
.finale__screen > p:not(.meta) { color: var(--soft); max-width: 30em; }
.finale__actions { position: absolute; left: 0; right: 0; top: calc(74% + 3.4svh); display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 18px clamp(24px, 3vw, 48px); padding-inline: var(--gutter); }
.copy { display: inline-flex; align-items: center; gap: 10px; }
.copy button { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); padding: 10px 4px; transition: color .3s; }
@media (hover: hover) { .copy button:hover { color: var(--signal); } }
.copy__status { font-size: 13px; color: var(--soft); }
.copy__status:empty { display: none; }
@media (max-width: 899px) {
  .finale { min-height: 100svh; }
  .finale__anchor, .finale__screen { left: 9%; top: 10%; width: 82%; height: 50%; }
  .finale__screen { padding: 8% 7%; gap: 14px; }
  .finale__title { font-size: clamp(30px, 9vw, 46px); }
  .finale__screen > p:not(.meta) { font-size: 15px; }
  .finale__actions { top: calc(60% + 4svh); flex-direction: column; gap: 10px; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); padding: clamp(72px, 8vw, 120px) 0 clamp(24px, 3vw, 36px); overflow: hidden; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.footer__top p { color: var(--mist); margin-top: 18px; max-width: 22em; }
.footer__col { display: grid; gap: 12px; align-content: start; }
.footer__col .meta { margin-bottom: 6px; }
.footer__col a { color: var(--soft); transition: color .3s; justify-self: start; }
@media (hover: hover) { .footer__col a:hover { color: var(--paper); } }
.wordmark { display: flex; margin: clamp(64px, 8vw, 120px) 0 clamp(20px, 2vw, 28px); font-size: calc((min(100vw, var(--max)) - 2 * var(--gutter)) / 4.5); font-weight: 500; letter-spacing: -.07em; line-height: .8; color: var(--paper); user-select: none; overflow: hidden; padding: 0 .07em .05em 0; white-space: nowrap; }
.wordmark span { display: inline-block; }
html.has-motion .wordmark span { transform: translate3d(0, 104%, 0); transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 45ms); }
html.has-motion .wordmark.is-in span { transform: none; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__bottom a { color: var(--mist); }
@media (max-width: 899px) {
  .site-footer { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__top > :first-child { grid-column: 1 / -1; }
}

/* ---------- Dialog ---------- */
.dialog { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: var(--gutter); border: 0; background: transparent; color: inherit; display: none; place-items: center; }
.dialog[open] { display: grid; }
.dialog::backdrop { background: rgba(0, 0, 0, .84); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dialog__panel { position: relative; width: min(100%, 560px); padding: clamp(28px, 4vw, 48px); border-radius: 32px; background: var(--surface); display: grid; gap: 18px; animation: dialogIn .7s var(--ease-out); }
@keyframes dialogIn { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.dialog__panel h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1.02; padding-right: 48px; }
.dialog__panel > p:not(.meta) { color: var(--mist); }
.dialog__close { position: absolute; right: 18px; top: 18px; width: 48px; height: 48px; border-radius: 50%; background: var(--surface-2); display: grid; place-items: center; font-size: 22px; line-height: 1; color: var(--paper); }
.dialog__options { display: grid; gap: 4px; margin-top: 10px; }
.dialog__option { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 4px 16px; padding: 18px 0; }
.dialog__option span { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mist); grid-column: 1; }
.dialog__option strong { font-weight: 500; font-size: clamp(19px, 2vw, 24px); letter-spacing: -.02em; grid-column: 1; overflow-wrap: anywhere; }
.dialog__option i { grid-column: 2; grid-row: 1 / span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--surface-2); color: var(--signal); font-style: normal; transition: background-color .4s, color .4s; }
.dialog__option--primary i { background: var(--signal); color: var(--ink); }
.dialog-open { overflow: hidden; }

/* ---------- Inner pages ---------- */
.page-hero { padding: calc(var(--header-h) + clamp(64px, 10vw, 160px)) 0 clamp(56px, 7vw, 112px); }
.page-hero .sec-index { margin-bottom: clamp(20px, 2.4vw, 32px); }
.page-hero .lead { margin-top: clamp(24px, 3vw, 40px); }
.back { display: inline-flex; gap: 10px; align-items: center; color: var(--mist); font-size: 15px; margin-bottom: clamp(28px, 4vw, 48px); transition: color .3s; }
@media (hover: hover) { .back:hover { color: var(--paper); } }
.case-hero__meta { display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center; margin-top: clamp(28px, 3vw, 44px); }
.shot { position: relative; border-radius: clamp(16px, 2vw, 28px); overflow: hidden; background: var(--surface); }
.shot img { width: 100%; height: auto; }
html.has-motion .shot[data-reveal-clip] { clip-path: inset(8% 8% 8% 8% round 28px); transition: clip-path 1.6s var(--ease-out); }
html.has-motion .shot[data-reveal-clip].is-in { clip-path: inset(0 0 0 0 round 0); }
.shot-pair { display: grid; grid-template-columns: minmax(0, 2.4fr) minmax(0, 1fr); gap: clamp(16px, 2vw, 32px); align-items: end; }
.shot--phone { border-radius: 26px; max-width: 360px; justify-self: center; }
.story { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(32px, 6vw, 120px); padding-block: clamp(72px, 9vw, 144px); }
.story + .story { padding-top: 0; }
.story__label { display: grid; gap: 14px; align-content: start; }
.story__label h2 { font-size: clamp(32px, 3.6vw, 58px); font-weight: 500; letter-spacing: -.045em; line-height: 1; }
.story__body > p { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.45; color: var(--soft); letter-spacing: -.01em; max-width: 34em; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 3.4vw, 56px) clamp(24px, 3vw, 48px); }
.fact { display: grid; gap: 12px; align-content: start; }
.fact .meta { color: var(--signal); }
.fact h3 { font-size: clamp(22px, 1.9vw, 28px); font-weight: 500; letter-spacing: -.03em; line-height: 1.1; }
.fact p { color: var(--mist); }
.timeline { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; padding-top: 46px; margin-top: 8px; }
.timeline::before { content: ''; position: absolute; left: 0; right: 0; top: 14px; height: 2px; background: var(--faint); }
.timeline li { position: relative; display: grid; gap: 6px; }
.timeline li::before { content: ''; position: absolute; top: -38px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--signal); }
.timeline strong { font-size: clamp(26px, 2.6vw, 40px); font-weight: 500; letter-spacing: -.04em; line-height: 1; }
.timeline span { color: var(--mist); font-size: 15px; }
.note { margin-top: 28px; padding: 22px 24px; border-radius: 20px; background: var(--surface); color: var(--soft); }
.next-case { display: grid; gap: 16px; padding-block: clamp(80px, 10vw, 160px); }
.next-case a { display: inline-flex; flex-wrap: wrap; align-items: baseline; gap: 0 .3em; font-size: clamp(42px, 7vw, 120px); font-weight: 500; letter-spacing: -.05em; line-height: .96; }
.next-case a i { font-style: normal; color: var(--signal); transition: transform .7s var(--ease-out); font-size: .7em; }
@media (hover: hover) { .next-case a:hover i { transform: translateX(14px); } }
@media (max-width: 899px) {
  .shot-pair { grid-template-columns: 1fr; }
  .story { grid-template-columns: 1fr; gap: 28px; }
  .facts { grid-template-columns: 1fr; }
  .timeline { grid-template-columns: 1fr 1fr; row-gap: 56px; }
}

html.has-motion [data-reveal-clip]:not(.shot) { clip-path: inset(9% 9% 9% 9% round 28px); transition: clip-path 1.6s var(--ease-out); }
html.has-motion [data-reveal-clip]:not(.shot).is-in { clip-path: inset(0 0 0 0 round 0); }

/* Portfolio overview */
.projects { display: grid; gap: clamp(96px, 11vw, 176px); }
.project { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2.4vw, 40px); align-items: center; }
.project__media { grid-column: 1 / span 7; grid-row: 1; }
.project__text { grid-column: 9 / span 4; grid-row: 1; display: grid; gap: 20px; align-content: center; }
.project:nth-child(even) .project__media { grid-column: 6 / span 7; }
.project:nth-child(even) .project__text { grid-column: 1 / span 4; }
.project__media a { display: block; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 10; background: var(--surface); }
.project__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease-out); }
@media (hover: hover) { .project__media a:hover img { transform: scale(1.035); } }
.project__text .meta { color: var(--signal); }
.project__text h2 { font-size: clamp(36px, 4vw, 64px); font-weight: 500; letter-spacing: -.045em; line-height: .98; }
.project__text p:not(.meta) { color: var(--soft); }
@media (max-width: 899px) {
  .project { grid-template-columns: 1fr; row-gap: 22px; }
  .project__media, .project__text, .project:nth-child(even) .project__media, .project:nth-child(even) .project__text { grid-column: auto; grid-row: auto; }
  .project__media a { border-radius: 16px; }
}

/* HubSpot flow */
.flow { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-top: 28px; }
.flow li { position: relative; display: grid; gap: 8px; align-content: start; padding: 22px 22px 26px; border-radius: 20px; background: var(--surface); }
.flow li .meta { color: var(--signal); }
.flow li strong { font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; letter-spacing: -.02em; line-height: 1.15; }
.flow li span:not(.meta) { color: var(--mist); font-size: 14px; }
@media (max-width: 899px) { .flow { grid-template-columns: 1fr 1fr; } }

/* Closing call to action on inner pages */
.page-cta .container { display: grid; gap: clamp(28px, 3vw, 44px); justify-items: start; }

/* Contact page */
.contact-page .finale { min-height: max(100svh, 640px); }
.contact-page .finale__actions { row-gap: 14px; }
.contact-page .finale__actions { top: calc(74% + 2.6svh); }
@media (max-width: 899px) {
  .contact-page .finale__actions { top: calc(60% + 4svh); }
  .contact-page .finale__back { margin-top: 8px; }
}

/* ==========================================================================
   Scenes — concrete, recognisable motion studies in CSS 3D.
   Base styles are the finished state (shown without motion); keyframes start from "not built yet".
   ========================================================================== */
.spec, .scene3d { position: relative; container-type: size; perspective: 900px; --rx: 0deg; --ry: 0deg; }
.spec { aspect-ratio: 16 / 11; border-radius: 18px; background: var(--surface-2); overflow: hidden; }
.scene3d { aspect-ratio: 1; }
.spec__stage, .scene__stage { position: absolute; inset: 0; transform-style: preserve-3d; transform: rotateX(calc(var(--bx, 8deg) + var(--rx))) rotateY(calc(var(--by, -12deg) + var(--ry))); }
.spec *, .scene3d * { animation-play-state: paused !important; }
.spec.is-live *, .scene3d.is-live * { animation-play-state: running !important; }
html:not(.has-motion) .spec *, html:not(.has-motion) .scene3d * { animation: none !important; }
.spec i, .spec b, .spec u, .scene3d i, .scene3d b, .scene3d u { display: block; font-style: normal; text-decoration: none; }

/* Timeline utilities: .a + .aNN appears at NN% of the scene loop, .g + .gNN grows in from the left. Everything leaves together at the end of the loop. */
.a, .g { animation-duration: var(--L, 8s); animation-timing-function: var(--ease-out); animation-iteration-count: infinite; animation-fill-mode: both; }
.g { transform-origin: 0 50%; }
.a00 { animation-name: a00; } .g00 { animation-name: g00; }
.a02 { animation-name: a02; } .g02 { animation-name: g02; }
.a04 { animation-name: a04; } .g04 { animation-name: g04; }
.a06 { animation-name: a06; } .g06 { animation-name: g06; }
.a08 { animation-name: a08; } .g08 { animation-name: g08; }
.a10 { animation-name: a10; } .g10 { animation-name: g10; }
.a12 { animation-name: a12; } .g12 { animation-name: g12; }
.a14 { animation-name: a14; } .g14 { animation-name: g14; }
.a16 { animation-name: a16; } .g16 { animation-name: g16; }
.a18 { animation-name: a18; } .g18 { animation-name: g18; }
.a20 { animation-name: a20; } .g20 { animation-name: g20; }
.a22 { animation-name: a22; } .g22 { animation-name: g22; }
.a24 { animation-name: a24; } .g24 { animation-name: g24; }
.a26 { animation-name: a26; } .g26 { animation-name: g26; }
.a28 { animation-name: a28; } .g28 { animation-name: g28; }
.a30 { animation-name: a30; } .g30 { animation-name: g30; }
.a32 { animation-name: a32; } .g32 { animation-name: g32; }
.a34 { animation-name: a34; } .g34 { animation-name: g34; }
.a36 { animation-name: a36; } .g36 { animation-name: g36; }
.a38 { animation-name: a38; } .g38 { animation-name: g38; }
.a40 { animation-name: a40; } .g40 { animation-name: g40; }
.a42 { animation-name: a42; } .g42 { animation-name: g42; }
.a44 { animation-name: a44; } .g44 { animation-name: g44; }
.a46 { animation-name: a46; } .g46 { animation-name: g46; }
.a48 { animation-name: a48; } .g48 { animation-name: g48; }
.a50 { animation-name: a50; } .g50 { animation-name: g50; }
.a52 { animation-name: a52; } .g52 { animation-name: g52; }
.a54 { animation-name: a54; } .g54 { animation-name: g54; }
.a56 { animation-name: a56; } .g56 { animation-name: g56; }
.a58 { animation-name: a58; } .g58 { animation-name: g58; }
.a60 { animation-name: a60; } .g60 { animation-name: g60; }
.a62 { animation-name: a62; } .g62 { animation-name: g62; }
.a64 { animation-name: a64; } .g64 { animation-name: g64; }
.a66 { animation-name: a66; } .g66 { animation-name: g66; }
.a68 { animation-name: a68; } .g68 { animation-name: g68; }
.a70 { animation-name: a70; } .g70 { animation-name: g70; }
.a72 { animation-name: a72; } .g72 { animation-name: g72; }
.a74 { animation-name: a74; } .g74 { animation-name: g74; }
.a76 { animation-name: a76; } .g76 { animation-name: g76; }
.a78 { animation-name: a78; } .g78 { animation-name: g78; }
.a80 { animation-name: a80; } .g80 { animation-name: g80; }
.a82 { animation-name: a82; } .g82 { animation-name: g82; }
.a84 { animation-name: a84; } .g84 { animation-name: g84; }
.a86 { animation-name: a86; } .g86 { animation-name: g86; }
@keyframes a00 { 0%, 0% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 6%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g00 { 0%, 0% { transform: scaleX(0); opacity: 1; } 8%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a02 { 0%, 2% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 8%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g02 { 0%, 2% { transform: scaleX(0); opacity: 1; } 10%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a04 { 0%, 4% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 10%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g04 { 0%, 4% { transform: scaleX(0); opacity: 1; } 12%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a06 { 0%, 6% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 12%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g06 { 0%, 6% { transform: scaleX(0); opacity: 1; } 14%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a08 { 0%, 8% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 14%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g08 { 0%, 8% { transform: scaleX(0); opacity: 1; } 16%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a10 { 0%, 10% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 16%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g10 { 0%, 10% { transform: scaleX(0); opacity: 1; } 18%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a12 { 0%, 12% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 18%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g12 { 0%, 12% { transform: scaleX(0); opacity: 1; } 20%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a14 { 0%, 14% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 20%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g14 { 0%, 14% { transform: scaleX(0); opacity: 1; } 22%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a16 { 0%, 16% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 22%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g16 { 0%, 16% { transform: scaleX(0); opacity: 1; } 24%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a18 { 0%, 18% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 24%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g18 { 0%, 18% { transform: scaleX(0); opacity: 1; } 26%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a20 { 0%, 20% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 26%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g20 { 0%, 20% { transform: scaleX(0); opacity: 1; } 28%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a22 { 0%, 22% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 28%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g22 { 0%, 22% { transform: scaleX(0); opacity: 1; } 30%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a24 { 0%, 24% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 30%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g24 { 0%, 24% { transform: scaleX(0); opacity: 1; } 32%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a26 { 0%, 26% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 32%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g26 { 0%, 26% { transform: scaleX(0); opacity: 1; } 34%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a28 { 0%, 28% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 34%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g28 { 0%, 28% { transform: scaleX(0); opacity: 1; } 36%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a30 { 0%, 30% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 36%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g30 { 0%, 30% { transform: scaleX(0); opacity: 1; } 38%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a32 { 0%, 32% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 38%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g32 { 0%, 32% { transform: scaleX(0); opacity: 1; } 40%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a34 { 0%, 34% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 40%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g34 { 0%, 34% { transform: scaleX(0); opacity: 1; } 42%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a36 { 0%, 36% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 42%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g36 { 0%, 36% { transform: scaleX(0); opacity: 1; } 44%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a38 { 0%, 38% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 44%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g38 { 0%, 38% { transform: scaleX(0); opacity: 1; } 46%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a40 { 0%, 40% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 46%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g40 { 0%, 40% { transform: scaleX(0); opacity: 1; } 48%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a42 { 0%, 42% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 48%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g42 { 0%, 42% { transform: scaleX(0); opacity: 1; } 50%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a44 { 0%, 44% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 50%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g44 { 0%, 44% { transform: scaleX(0); opacity: 1; } 52%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a46 { 0%, 46% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 52%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g46 { 0%, 46% { transform: scaleX(0); opacity: 1; } 54%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a48 { 0%, 48% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 54%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g48 { 0%, 48% { transform: scaleX(0); opacity: 1; } 56%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a50 { 0%, 50% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 56%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g50 { 0%, 50% { transform: scaleX(0); opacity: 1; } 58%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a52 { 0%, 52% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 58%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g52 { 0%, 52% { transform: scaleX(0); opacity: 1; } 60%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a54 { 0%, 54% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 60%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g54 { 0%, 54% { transform: scaleX(0); opacity: 1; } 62%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a56 { 0%, 56% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 62%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g56 { 0%, 56% { transform: scaleX(0); opacity: 1; } 64%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a58 { 0%, 58% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 64%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g58 { 0%, 58% { transform: scaleX(0); opacity: 1; } 66%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a60 { 0%, 60% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 66%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g60 { 0%, 60% { transform: scaleX(0); opacity: 1; } 68%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a62 { 0%, 62% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 68%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g62 { 0%, 62% { transform: scaleX(0); opacity: 1; } 70%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a64 { 0%, 64% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 70%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g64 { 0%, 64% { transform: scaleX(0); opacity: 1; } 72%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a66 { 0%, 66% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 72%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g66 { 0%, 66% { transform: scaleX(0); opacity: 1; } 74%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a68 { 0%, 68% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 74%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g68 { 0%, 68% { transform: scaleX(0); opacity: 1; } 76%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a70 { 0%, 70% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 76%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g70 { 0%, 70% { transform: scaleX(0); opacity: 1; } 78%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a72 { 0%, 72% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 78%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g72 { 0%, 72% { transform: scaleX(0); opacity: 1; } 80%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a74 { 0%, 74% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 80%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g74 { 0%, 74% { transform: scaleX(0); opacity: 1; } 82%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a76 { 0%, 76% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 82%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g76 { 0%, 76% { transform: scaleX(0); opacity: 1; } 84%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a78 { 0%, 78% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 84%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g78 { 0%, 78% { transform: scaleX(0); opacity: 1; } 86%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a80 { 0%, 80% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 86%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g80 { 0%, 80% { transform: scaleX(0); opacity: 1; } 88%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a82 { 0%, 82% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 88%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g82 { 0%, 82% { transform: scaleX(0); opacity: 1; } 90%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a84 { 0%, 84% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 90%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g84 { 0%, 84% { transform: scaleX(0); opacity: 1; } 92%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }
@keyframes a86 { 0%, 86% { opacity: 0; transform: translateY(1.2cqw) scale(.94); } 92%, 92% { opacity: 1; transform: none; } 97%, 100% { opacity: 0; transform: none; } }
@keyframes g86 { 0%, 86% { transform: scaleX(0); opacity: 1; } 94%, 92% { transform: none; opacity: 1; } 97%, 100% { transform: none; opacity: 0; } }

/* ---- 01 Websites: a page builds itself, gets clicked, scrolls, then appears on a phone ---- */
.spec--web { --L: 8s; --bx: 9deg; --by: -16deg; }
.w-browser { position: absolute; left: 6%; top: 10%; width: 64%; height: 80%; border-radius: 2.4cqw; background: #0C0F13; overflow: hidden; transform: translateZ(0); }
.w-bar { position: absolute; inset: 0 0 auto; height: 12%; display: flex; align-items: center; gap: 1.6cqw; padding: 0 3.4cqw; background: #171C21; }
.w-bar i { width: 1.8cqw; height: 1.8cqw; border-radius: 50%; background: #2A3036; }
.w-bar span { margin-left: 3cqw; width: 46%; height: 40%; border-radius: 9cqw; background: #20272E; }
.w-view { position: absolute; left: 0; right: 0; top: 12%; bottom: 0; overflow: hidden; }
.w-page { position: absolute; left: 0; right: 0; top: 0; height: 190%; animation: wScroll var(--L) var(--ease-in-out) infinite both; }
.w-page > * { position: absolute; border-radius: .9cqw; }
.w-logo { left: 6%; top: 3%; width: 5%; height: 4%; background: var(--paper); }
.w-link { top: 4.4%; width: 8%; height: 1.4%; background: #2A3036; }
.w-nbtn { right: 6%; top: 3.2%; width: 12%; height: 3.8%; border-radius: 9cqw !important; background: var(--signal); }
.w-h1 { left: 6%; top: 13%; width: 46%; height: 4.6%; background: var(--paper); }
.w-h2 { left: 6%; top: 19.4%; width: 34%; height: 4.6%; background: var(--paper); }
.w-p { left: 6%; top: 26.4%; width: 40%; height: 1.6%; background: #5D6670; }
.w-p2 { left: 6%; top: 29.4%; width: 30%; height: 1.6%; background: #5D6670; }
.w-btn { left: 6%; top: 34.5%; width: 17%; height: 5%; border-radius: 9cqw !important; background: var(--signal); animation: a14 var(--L) var(--ease-out) infinite both, wPress var(--L) linear infinite both; }
.w-img { left: 57%; top: 12%; width: 37%; height: 27.5%; background: #1B2228; overflow: hidden; }
.w-img svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.w-card { top: 49%; width: 27%; height: 17%; background: #171C21; }
.w-card::before, .w-card::after { content: ''; position: absolute; left: 10%; height: 7%; border-radius: 4cqw; background: #2A3036; }
.w-card::before { top: 16%; width: 30%; height: 18%; background: #20272E; }
.w-card::after { top: 50%; width: 70%; box-shadow: 0 2.4cqw 0 #2A3036; }
.w-band { left: 6%; right: 6%; top: 72%; height: 13%; background: #171C21; }
.w-phone { position: absolute; left: 73%; top: 19%; width: 21%; height: 68%; border-radius: 3cqw; background: #171C21; transform: translateZ(70px) rotateY(-10deg); animation: wPhone var(--L) var(--ease-out) infinite both; }
.w-phone__screen { position: absolute; inset: 4.5% 7%; border-radius: 2cqw; background: #0C0F13; overflow: hidden; }
.w-phone__screen > * { position: absolute; left: 10%; border-radius: .7cqw; }
.w-phone .p-logo { top: 5%; width: 16%; height: 5%; background: var(--paper); }
.w-phone .p-h { top: 16%; width: 78%; height: 6%; background: var(--paper); }
.w-phone .p-h2 { top: 24%; width: 56%; height: 6%; background: var(--paper); }
.w-phone .p-img { top: 35%; width: 80%; height: 26%; background: #1B2228; }
.w-phone .p-btn { top: 66%; width: 50%; height: 7%; border-radius: 9cqw; background: var(--signal); }
.w-phone .p-card { top: 78%; width: 80%; height: 16%; background: #171C21; }
.w-cursor { position: absolute; left: 0; top: 0; width: 5.4cqw; height: 5.4cqw; transform: translate3d(17cqw, 66cqh, 90px); animation: wCursor var(--L) var(--ease-in-out) infinite both; }
.w-cursor svg { width: 100%; height: 100%; }
.w-ripple { position: absolute; left: 15.5cqw; top: 62.5cqh; width: 6cqw; height: 6cqw; margin: -3cqw 0 0 -3cqw; border-radius: 50%; border: .35cqw solid var(--signal); opacity: 0; transform: translateZ(40px) scale(.2); animation: wRipple var(--L) linear infinite; }
@keyframes wPress { 0%, 34% { transform: none; } 36% { transform: scale(.88); } 39%, 100% { transform: none; } }
@keyframes wScroll { 0%, 42% { transform: none; } 54%, 88% { transform: translateY(-34%); } 96%, 100% { transform: none; } }
@keyframes wPhone { 0%, 56% { opacity: 0; transform: translateZ(160px) rotateY(-28deg) translateX(10%); } 64%, 92% { opacity: 1; transform: translateZ(70px) rotateY(-10deg); } 99%, 100% { opacity: 0; transform: translateZ(70px) rotateY(-10deg); } }
@keyframes wCursor {
  0%, 18% { opacity: 0; transform: translate3d(58cqw, 88cqh, 90px); }
  22% { opacity: 1; transform: translate3d(58cqw, 88cqh, 90px); }
  32% { transform: translate3d(17cqw, 66cqh, 90px); }
  36% { transform: translate3d(17cqw, 66cqh, 90px) scale(.82); }
  39% { transform: translate3d(17cqw, 66cqh, 90px); }
  46% { opacity: 1; transform: translate3d(40cqw, 52cqh, 90px); }
  54% { opacity: 1; transform: translate3d(40cqw, 40cqh, 90px); }
  60%, 100% { opacity: 0; transform: translate3d(40cqw, 40cqh, 90px); }
}
@keyframes wRipple { 0%, 35% { opacity: 0; transform: translateZ(40px) scale(.2); } 36% { opacity: 1; } 44%, 100% { opacity: 0; transform: translateZ(40px) scale(2.2); } }

/* ---- 02 Automation: a form becomes a CRM row, a document and an email, on an isometric board ---- */
.spec--flow { --L: 7s; --bx: 0deg; --by: 0deg; }
.f-board { position: absolute; left: 50%; top: 53%; width: 84%; height: 92%; transform-style: preserve-3d; transform: translate(-50%, -50%) rotateX(56deg) rotateZ(-34deg); }
.f-wires { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.f-wires .wire { fill: none; stroke: #2A3036; stroke-width: 1.6; vector-effect: non-scaling-stroke; }
.f-wires .dot { fill: none; stroke: var(--signal); stroke-width: 9; stroke-linecap: round; vector-effect: non-scaling-stroke; stroke-dasharray: 0.001 2; stroke-dashoffset: 1.5; animation: fDot var(--L) linear infinite both; animation-delay: var(--d, 0s); }
@keyframes fDot { 0%, 15% { stroke-dashoffset: 0; opacity: 1; } 30% { stroke-dashoffset: -1; opacity: 1; } 31%, 100% { stroke-dashoffset: -1; opacity: 0; } }
.f-wires .dot--out { animation-name: fDotOut; }
@keyframes fDotOut { 0%, 33% { stroke-dashoffset: 0; opacity: 0; } 34% { opacity: 1; } 50% { stroke-dashoffset: -1; opacity: 1; } 51%, 100% { stroke-dashoffset: -1; opacity: 0; } }
.f-tile { position: absolute; width: 23%; height: 25%; transform-style: preserve-3d; }
.f-tile::before { content: ''; position: absolute; inset: 0; border-radius: 1.4cqw; background: #070809; transform: translateZ(0); }
.f-top { position: absolute; inset: 0; border-radius: 1.4cqw; background: #20272E; transform: translateZ(10px); animation: fPop var(--L) var(--ease-out) infinite both; animation-delay: var(--d, 0s); overflow: hidden; }
@keyframes fPop { 0%, 49% { transform: translateZ(10px); } 53% { transform: translateZ(24px); } 60%, 100% { transform: translateZ(10px); } }
.f-form { left: 3%; top: 37.5%; }
.f-form .f-top { --d: -2.6s; display: grid; align-content: center; gap: 9%; padding: 0 14%; }
.f-form .f-top i { height: 1.6cqw; border-radius: 1cqw; background: #3A434B; }
.f-form .f-top i:nth-child(2) { width: 76%; }
.f-form .f-top i:nth-child(3) { width: 54%; }
.f-form .f-top u { width: 44%; height: 3.2cqw; border-radius: 3cqw; background: var(--signal); animation: fSend var(--L) var(--ease-out) infinite both; }
@keyframes fSend { 0%, 13% { transform: none; } 15% { transform: scale(.82); } 18%, 100% { transform: none; } }
.f-hub { left: 39%; top: 34.7%; height: 30.6%; }
.f-hub::before, .f-hub .f-top { border-radius: 50%; }
.f-hub .f-top { display: grid; place-items: center; background: #171C21; animation: none; }
.f-hub svg { width: 70%; height: 70%; color: var(--signal); animation: fSpin var(--L) linear infinite; }
@keyframes fSpin { to { transform: rotate(360deg); } }
.f-crm { left: 74%; top: 2%; }
.f-crm .f-top { display: grid; grid-template-rows: repeat(4, 1fr); gap: 7%; padding: 14% 12%; }
.f-crm .f-top i { border-radius: .6cqw; background: #2A3036; }
.f-crm .f-top i.new { background: var(--signal); transform-origin: 0 50%; animation: fRow var(--L) var(--ease-out) infinite both; }
@keyframes fRow { 0%, 50% { transform: scaleX(0); opacity: 0; } 56%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.f-doc { left: 76%; top: 37.5%; }
.f-doc .f-top { background: #2A3036; clip-path: polygon(0 0, 74% 0, 100% 24%, 100% 100%, 0 100%); display: grid; align-content: center; gap: 10%; padding: 0 16%; }
.f-doc .f-top i { height: 1.3cqw; border-radius: 1cqw; background: #3A434B; }
.f-doc .f-top i:nth-child(2) { width: 70%; }
.f-doc .f-top i:nth-child(3) { width: 84%; }
.f-mail { left: 74%; top: 73%; }
.f-mail .f-top svg { position: absolute; inset: 18%; width: 64%; height: 64%; }
.f-mail .f-top svg path { fill: none; stroke: #5D6670; stroke-width: 2; vector-effect: non-scaling-stroke; }
.f-badge { position: absolute; right: -6%; top: -10%; width: 7cqw; height: 7cqw; transform: translateZ(30px); }
.f-badge > span { position: absolute; inset: 0; border-radius: 50%; background: var(--signal); display: grid; place-items: center; }
.f-badge svg { width: 60%; height: 60%; }
.f-badge path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* ---- 03 Bots: a chat in a phone — question, typing, answer with buttons, tap, payment, done ---- */
.spec--chat { --L: 8s; --bx: 6deg; --by: -18deg; }
.c-phone { position: absolute; left: 50%; top: 50%; width: 40%; height: 92%; margin: -46% 0 0 -20%; border-radius: 3.6cqw; background: #20272E; transform: translateZ(0); }
.spec--chat .c-phone { margin: 0; transform: translate(-50%, -50%); }
.c-screen { position: absolute; inset: 2.8% 4%; border-radius: 2.8cqw; background: #0A0C0F; overflow: hidden; }
.c-head { position: absolute; inset: 0 0 auto; height: 12%; display: flex; align-items: center; gap: 6%; padding: 0 8%; background: #12161B; }
.c-head b { width: 6.4cqw; height: 6.4cqw; border-radius: 50%; background: var(--signal); }
.c-head i { width: 34%; height: 1.6cqw; border-radius: 1cqw; background: #3A434B; }
.c-screen > .m { position: absolute; border-radius: 2.2cqw; }
.c-q { right: 7%; top: 17%; width: 56%; height: 8%; background: var(--signal); border-bottom-right-radius: .6cqw !important; }
.c-typing { left: 7%; top: 28%; width: 22%; height: 7%; background: #20272E; display: flex !important; align-items: center; justify-content: center; gap: 12%; opacity: 0; animation: cTyping var(--L) var(--ease-out) infinite both; }
.c-typing i { width: 1.4cqw; height: 1.4cqw; border-radius: 50%; background: #9AA3AD; animation: cDot .9s ease-in-out infinite; }
.c-typing i:nth-child(2) { animation-delay: .15s; }
.c-typing i:nth-child(3) { animation-delay: .3s; }
.c-a { left: 7%; top: 28%; width: 70%; height: 15%; background: #20272E; border-bottom-left-radius: .6cqw !important; display: grid !important; align-content: center; gap: 18%; padding: 0 8%; }
.c-a i { height: 1.5cqw; border-radius: 1cqw; background: #5D6670; }
.c-a i:last-child { width: 62%; }
.c-kb { left: 7%; top: 45%; width: 70%; height: 7%; display: flex !important; gap: 4%; }
.c-kb i { flex: 1; border-radius: 1.4cqw; background: #2A3036; }
.c-kb i:first-child { animation: cPick var(--L) var(--ease-out) infinite both; }
.c-tap { left: 23.8%; top: 48.5%; width: 9cqw; height: 9cqw; margin: -4.5cqw 0 0 -4.5cqw; border-radius: 50% !important; background: rgba(236, 239, 242, .28); opacity: 0; animation: cTap var(--L) linear infinite both; }
.c-pay { left: 9%; top: 57%; width: 82%; height: 23%; background: #171C21; }
.c-pay i { position: absolute; border-radius: .8cqw; }
.c-pay .chip { left: 9%; top: 20%; width: 15%; height: 22%; background: #7DF2DD; opacity: .85; }
.c-pay .num { left: 9%; top: 60%; width: 52%; height: 10%; background: #3A434B; }
.c-pay .sum { right: 9%; top: 20%; width: 26%; height: 14%; background: var(--paper); }
.c-done { left: 50%; top: 84%; width: 10cqw; height: 10cqw; margin-left: -5cqw; border-radius: 50% !important; background: var(--signal); display: grid !important; place-items: center; animation: cDone var(--L) var(--ease-out) infinite both; }
.c-done svg { width: 58%; height: 58%; }
.c-done path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; animation: cCheck var(--L) var(--ease-out) infinite both; }
@keyframes cTyping { 0%, 9% { opacity: 0; transform: scale(.8); } 12%, 21% { opacity: 1; transform: none; } 23%, 100% { opacity: 0; transform: scale(.8); } }
@keyframes cDot { 50% { transform: translateY(-.8cqw); background: var(--paper); } }
@keyframes cPick { 0%, 40% { background: #2A3036; } 43%, 92% { background: var(--signal); } 100% { background: #2A3036; } }
@keyframes cTap { 0%, 38% { opacity: 0; transform: scale(.4); } 41% { opacity: 1; transform: scale(.8); } 47%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes cDone { 0%, 60% { opacity: 0; transform: scale(.3); } 66%, 92% { opacity: 1; transform: none; } 99%, 100% { opacity: 0; } }
@keyframes cCheck { 0%, 63% { stroke-dashoffset: 1; } 72%, 100% { stroke-dashoffset: 0; } }

/* ---- 04 AI: a question is typed, the documents are scanned, the answer streams in with its sources ---- */
.spec--ai { --L: 8s; --bx: 8deg; --by: -10deg; }
.a-docs { position: absolute; left: 7%; top: 15%; width: 34%; height: 70%; transform-style: preserve-3d; transform: rotateY(26deg) translateZ(-10px); }
.a-page { position: absolute; inset: 0; background: #20272E; border-radius: 1.2cqw; clip-path: polygon(0 0, 78% 0, 100% 15%, 100% 100%, 0 100%); display: grid; align-content: start; gap: 6%; padding: 22% 13% 0; }
.a-page:nth-child(1) { transform: translate3d(14%, -8%, -60px); background: #171C21; }
.a-page:nth-child(2) { transform: translate3d(7%, -4%, -30px); background: #1B2228; }
.a-page i { position: relative; height: 1.3cqw; border-radius: 1cqw; background: #3A434B; }
.a-page i:nth-child(2n) { width: 74%; }
.a-page .hl::after { content: ''; position: absolute; inset: -.5cqw -1cqw; border-radius: .9cqw; background: var(--signal); opacity: .5; transform-origin: 0 50%; animation: aMark var(--L) var(--ease-out) infinite both; }
.a-page .hl2::after { animation-name: aMark2; }
.a-scan { position: absolute; left: 4%; right: 4%; top: 18%; height: 1.4%; background: var(--paper); opacity: 0; transform: translateZ(4px); animation: aScan var(--L) var(--ease-in-out) infinite both; }
.a-chat { position: absolute; right: 6%; top: 11%; width: 46%; height: 78%; border-radius: 2.4cqw; background: #0A0C0F; transform: translateZ(30px); }
.a-ans { position: absolute; left: 8%; right: 8%; top: 8%; display: grid; gap: 1.6cqw; }
.a-spark { width: 6cqw; height: 6cqw; color: var(--signal); animation: aSpark var(--L) linear infinite both; }
.a-spark svg { width: 100%; height: 100%; }
.a-ans > i { height: 1.4cqw; border-radius: 1cqw; background: var(--soft); }
.a-ans > i:nth-of-type(2) { width: 88%; }
.a-ans > i:nth-of-type(3) { width: 94%; }
.a-ans > i:nth-of-type(4) { width: 58%; }
.a-src { display: flex; gap: 1.4cqw; margin-top: .6cqw; }
.a-src b { width: 9cqw; height: 3cqw; border-radius: 3cqw; background: #20272E; position: relative; }
.a-src b::before { content: ''; position: absolute; left: 1cqw; top: 50%; width: 1.4cqw; height: 1.4cqw; margin-top: -.7cqw; border-radius: 50%; background: var(--signal); }
.a-input { position: absolute; left: 7%; right: 7%; bottom: 7%; height: 12%; border-radius: 9cqw; background: #171C21; display: flex; align-items: center; gap: 1.4cqw; padding: 0 1.6cqw 0 4cqw; }
.a-input i { flex: 1; height: 1.4cqw; border-radius: 1cqw; background: #5D6670; transform-origin: 0 50%; animation: aTypeQ var(--L) steps(14) infinite both; }
.a-input b { width: 6cqw; height: 6cqw; border-radius: 50%; background: var(--signal); animation: aSend var(--L) var(--ease-out) infinite both; }
.a-links { position: absolute; inset: 0; width: 100%; height: 100%; transform: translateZ(16px); overflow: visible; }
.a-links path { fill: none; stroke: var(--signal); stroke-width: 1.6; stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: non-scaling-stroke; animation: aLink var(--L) var(--ease-in-out) infinite both; }
@keyframes aTypeQ { 0% { transform: scaleX(0); } 16%, 92% { transform: none; } 100% { transform: scaleX(0); } }
@keyframes aSend { 0%, 17% { transform: none; } 19% { transform: scale(.8); } 22%, 100% { transform: none; } }
@keyframes aScan { 0%, 20% { opacity: 0; top: 18%; } 22% { opacity: .5; } 34% { opacity: .5; top: 86%; } 36%, 100% { opacity: 0; top: 86%; } }
@keyframes aMark { 0%, 26% { transform: scaleX(0); } 30%, 92% { transform: none; } 100% { transform: scaleX(0); } }
@keyframes aMark2 { 0%, 31% { transform: scaleX(0); } 35%, 92% { transform: none; } 100% { transform: scaleX(0); } }
@keyframes aLink { 0%, 34% { stroke-dashoffset: 1; opacity: 1; } 44%, 92% { stroke-dashoffset: 0; opacity: 1; } 100% { opacity: 0; } }
@keyframes aSpark { 0%, 22% { transform: scale(0) rotate(0); } 30% { transform: scale(1) rotate(90deg); } 90% { transform: scale(1) rotate(270deg); } 100% { transform: scale(0) rotate(300deg); } }

/* ---- 05 Video: an edit — real frames on the timeline, a running playhead and timecode ---- */
.spec--cut { --L: 8s; --bx: 12deg; --by: -12deg; }
.v-editor { position: absolute; inset: 6%; border-radius: 2.2cqw; background: #0A0C0F; transform: translateZ(0); }
.v-viewer { position: absolute; left: 5%; right: 5%; top: 6%; height: 52%; border-radius: 1.2cqw; overflow: hidden; background: #000; }
.v-viewer img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; animation: vShot var(--L) linear infinite both; animation-delay: var(--d, 0s); }
.v-viewer img:first-child { opacity: 1; animation: none; }
@keyframes vShot { 0% { opacity: 1; } 22.4% { opacity: 1; } 22.5%, 100% { opacity: 0; } }
.v-tc { position: absolute; right: 3%; bottom: 5%; display: flex; font-family: var(--mono); font-size: 3.1cqw; line-height: 1; color: var(--paper); font-variant-numeric: tabular-nums; }
.v-roll { display: inline-block; height: 1em; overflow: hidden; }
.v-roll span { display: block; animation: vCount 1s steps(24) infinite; }
.v-roll--s span { animation: vCountS var(--L) steps(8) infinite; }
@keyframes vCount { to { transform: translateY(-24em); } }
@keyframes vCountS { to { transform: translateY(-8em); } }
.v-roll span b { display: block; height: 1em; font-weight: 400; }
.v-time { position: absolute; left: 5%; right: 5%; top: 64%; bottom: 7%; overflow: hidden; }
.v-ruler { position: absolute; inset: 0 0 auto; height: 10%; display: flex; justify-content: space-between; }
.v-ruler i { width: 1px; height: 100%; background: #2A3036; }
.v-ruler i:nth-child(4n + 1) { height: 160%; background: #3A434B; }
.v-track { position: absolute; left: 0; right: 0; display: flex; gap: 1%; }
.v-track--t { top: 18%; height: 14%; }
.v-track--t i { margin-left: 30%; width: 26%; border-radius: .6cqw; background: var(--signal); }
.v-track--v { top: 37%; height: 30%; }
.v-track--v span { flex: 1; border-radius: .6cqw; overflow: hidden; background: #171C21; }
.v-track--v img { width: 100%; height: 100%; object-fit: cover; opacity: .82; }
.v-track--a { top: 72%; height: 24%; align-items: center; gap: 1.2%; }
.v-track--a i { flex: 1; height: calc(var(--h) * 1%); border-radius: 1cqw; background: #3A434B; transform-origin: 50% 50%; animation: vWave 1.1s ease-in-out infinite alternate; animation-delay: calc(var(--h) * -12ms); }
@keyframes vWave { to { transform: scaleY(.45); } }
.v-head { position: absolute; inset: -2% 0 0 0; transform: translateX(0); animation: vHead var(--L) linear infinite both; }
.v-head::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: .45cqw; background: var(--paper); }
.v-head::after { content: ''; position: absolute; left: -1.2cqw; top: 0; width: 2.8cqw; height: 2cqw; background: var(--paper); clip-path: polygon(0 0, 100% 0, 50% 100%); }
@keyframes vHead { 0% { transform: translateX(0); } 90% { transform: translateX(100%); } 100% { transform: translateX(100%); } }

/* ---- Approach 01: the iceberg — we trace the visible symptom down to the hidden cause ---- */
.scene--ice { --L: 7s; --bx: 4deg; --by: -6deg; }
.ice-svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: iceBob 6s ease-in-out infinite alternate; }
@keyframes iceBob { to { transform: translateY(-1.6%); } }
.ice-sea { fill: #0C0F13; }
.ice-under { fill: #1E262D; }
.ice-tip { fill: var(--paper); }
.ice-line { stroke: var(--signal); stroke-width: 2; fill: none; vector-effect: non-scaling-stroke; }
.ice-wave { stroke: #2A3036; stroke-width: 2; stroke-linecap: round; fill: none; vector-effect: non-scaling-stroke; }
.ice-path { fill: none; stroke: var(--signal); stroke-width: 2; stroke-dasharray: 0.03 0.03; vector-effect: non-scaling-stroke; }
.ice-trace { stroke-dasharray: 1; stroke-dashoffset: 0; animation: iceTrace var(--L) var(--ease-in-out) infinite both; }
.ice-root { fill: var(--signal); transform-box: fill-box; transform-origin: center; animation: iceRoot var(--L) var(--ease-out) infinite both; }
.ice-scan { transform: translate(0, 0); animation: iceScan var(--L) var(--ease-in-out) infinite both; }
.ice-scan circle, .ice-scan path { fill: none; stroke: var(--signal); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ice-scan circle { transform-box: fill-box; transform-origin: center; animation: iceLock var(--L) var(--ease-out) infinite both; }
.ice-bubble { fill: #3A434B; animation: iceBubble 4.5s linear infinite; animation-delay: var(--d, 0s); }
@keyframes iceScan { 0%, 10% { transform: translate(0, 0); } 45%, 100% { transform: translate(0, 212px); } }
@keyframes iceTrace { 0%, 10% { stroke-dashoffset: 1; } 45%, 92% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
@keyframes iceLock { 0%, 44% { transform: scale(1); } 50% { transform: scale(1.35); } 56%, 100% { transform: scale(1); } }
@keyframes iceRoot { 0%, 46% { opacity: .15; transform: scale(.85); } 54%, 92% { opacity: 1; transform: none; } 100% { opacity: .15; } }
@keyframes iceBubble { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-150px); opacity: 0; } }

/* ---- Approach 02: three versions of the same screen — wireframe, layout, finished ---- */
.scene--ver { --L: 9s; --bx: 10deg; --by: -24deg; }
.ver { position: absolute; left: 12%; top: 26%; width: 64%; height: 42%; border-radius: 2.2cqw; background: #171C21; overflow: hidden; transform: translate3d(0, 0, 60px); animation: verCycle var(--L) var(--ease-in-out) infinite both; animation-delay: var(--d, 0s); }
.ver > * { position: absolute; border-radius: .8cqw; }
.ver--1 { --d: 0s; background: #0C0F13; }
.ver--2 { --d: -6s; background: #12161B; }
.ver--3 { --d: -3s; background: #1B2228; }
.ver .t1 { left: 8%; top: 18%; width: 42%; height: 9%; }
.ver .t2 { left: 8%; top: 32%; width: 30%; height: 9%; }
.ver .tx { left: 8%; top: 48%; width: 36%; height: 4%; }
.ver .bt { left: 8%; top: 62%; width: 18%; height: 11%; border-radius: 9cqw; }
.ver .im { left: 56%; top: 16%; width: 36%; height: 58%; }
.ver--1 .t1, .ver--1 .t2, .ver--1 .tx, .ver--1 .bt, .ver--1 .im { background: transparent; box-shadow: inset 0 0 0 .3cqw #2A3036; }
.ver--1 .im svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ver--1 .im path { stroke: #2A3036; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.ver--2 .t1, .ver--2 .t2 { background: #3A434B; }
.ver--2 .tx, .ver--2 .bt { background: #2A3036; }
.ver--2 .im { background: #20272E; }
.ver--3 .t1, .ver--3 .t2 { background: var(--paper); }
.ver--3 .tx { background: #5D6670; }
.ver--3 .bt { background: var(--signal); }
.ver--3 .im { background: #2D4A55; overflow: hidden; }
.ver--3 .im svg { position: absolute; inset: 0; width: 100%; height: 100%; }
@keyframes verCycle {
  0%, 28% { transform: translate3d(0, 0, 60px); opacity: 1; }
  33%, 61% { transform: translate3d(17%, -26%, -150px); opacity: .45; }
  66%, 94% { transform: translate3d(8.5%, -13%, -45px); opacity: .75; }
  100% { transform: translate3d(0, 0, 60px); opacity: 1; }
}
.ver-steps { position: absolute; left: 14%; width: 64%; top: 74%; display: flex; gap: 2%; transform: translateZ(60px); }
.ver-steps i { flex: 1; height: .9cqw; border-radius: 1cqw; background: #2A3036; animation: verStep var(--L) linear infinite both; animation-delay: var(--d, 0s); }
.ver-steps i:nth-child(1) { --d: 0s; animation-name: verStep1; }
.ver-steps i:nth-child(2) { animation-name: verStep2; }
.ver-steps i:nth-child(3) { animation-name: verStep3; }
@keyframes verStep1 { 0%, 100% { background: var(--signal); } }
@keyframes verStep2 { 0%, 32% { background: #2A3036; } 33%, 100% { background: var(--signal); } }
@keyframes verStep3 { 0%, 65% { background: #2A3036; } 66%, 100% { background: var(--signal); } }
.ver-pin { position: absolute; left: 62%; top: 26%; width: 7cqw; height: 7cqw; border-radius: 50% 50% 50% .6cqw; background: var(--paper); transform: translateZ(90px); display: grid; place-items: center; animation: verPin var(--L) var(--ease-out) infinite both; }
.ver-pin::after { content: ''; width: 34%; height: 34%; border-radius: 50%; background: var(--ink); }
.ver-ok { position: absolute; left: 73%; top: 15%; width: 9cqw; height: 9cqw; border-radius: 50%; background: var(--signal); display: grid; place-items: center; transform: translateZ(100px); animation: verOk var(--L) var(--ease-out) infinite both; }
.ver-ok svg { width: 56%; height: 56%; }
.ver-ok path { fill: none; stroke: var(--ink); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
@keyframes verPin { 0%, 37% { opacity: 0; transform: translateZ(90px) scale(.3); } 41%, 58% { opacity: 1; transform: translateZ(90px) scale(1); } 61%, 100% { opacity: 0; transform: translateZ(90px) scale(.6); } }
@keyframes verOk { 0%, 70% { opacity: 0; transform: translateZ(100px) scale(.3) rotate(-30deg); } 75%, 92% { opacity: 1; transform: translateZ(100px) scale(1); } 97%, 100% { opacity: 0; transform: translateZ(100px) scale(1); } }

/* ---- Approach 03: the handover box — keys, documents and code come out to you ---- */
.scene--box { --L: 10s; --bx: -18deg; --by: 32deg; --S: 36cqw; }
.box-world { position: absolute; left: 50%; top: 58%; width: 0; height: 0; transform-style: preserve-3d; animation: boxSway 10s ease-in-out infinite alternate; }
@keyframes boxSway { from { transform: rotateY(-14deg); } to { transform: rotateY(14deg); } }
.box-f, .box-lid { position: absolute; left: calc(var(--S) / -2); top: calc(var(--S) / -2); width: var(--S); height: var(--S); }
.box-front { background: #20272E; transform: translateZ(calc(var(--S) / 2)); }
.box-front::after { content: ''; position: absolute; left: 44%; width: 12%; top: 0; bottom: 0; background: var(--signal); }
.box-back { background: #12161B; transform: rotateY(180deg) translateZ(calc(var(--S) / 2)); }
.box-left { background: #171C21; transform: rotateY(-90deg) translateZ(calc(var(--S) / 2)); }
.box-right { background: #171C21; transform: rotateY(90deg) translateZ(calc(var(--S) / 2)); }
.box-right::after { content: ''; position: absolute; top: 44%; height: 12%; left: 0; right: 0; background: #5FC9B7; }
.box-bottom { background: #0C0F13; transform: rotateX(-90deg) translateZ(calc(var(--S) / 2)); }
.box-floor { position: absolute; left: calc(var(--S) * -.9); top: calc(var(--S) * -.9); width: calc(var(--S) * 1.8); height: calc(var(--S) * 1.8); border-radius: 50%; background: #0A0C0F; transform: rotateX(90deg) translateZ(calc(var(--S) / -2 - 2px)); }
.box-hinge { position: absolute; left: 0; top: 0; transform-style: preserve-3d; transform: translate3d(0, calc(var(--S) / -2), calc(var(--S) / -2)); }
.box-lid { left: calc(var(--S) / -2); top: 0; background: #2A3036; transform-origin: 50% 0; transform: rotateX(205deg); animation: boxLid var(--L) var(--ease-in-out) infinite both; }
.box-lid::after { content: ''; position: absolute; left: 44%; width: 12%; top: 0; bottom: 0; background: #5FC9B7; }
@keyframes boxLid { 0%, 8% { transform: rotateX(90deg); } 22%, 80% { transform: rotateX(205deg); } 92%, 100% { transform: rotateX(90deg); } }
.box-item { position: absolute; left: calc(var(--S) * -.22); top: calc(var(--S) * -.22); width: calc(var(--S) * .44); height: calc(var(--S) * .44); display: grid; place-items: center; border-radius: 1.6cqw; background: #171C21; transform: translate3d(var(--x), calc(var(--S) * -1.15), 0); animation: boxItem var(--L) var(--ease-out) infinite both; animation-delay: var(--d, 0s); }
.box-item svg { width: 62%; height: 62%; }
.box-item path, .box-item circle, .box-item rect { fill: none; stroke: var(--paper); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.box-item .sig { stroke: var(--signal); }
.box-item--key { --x: calc(var(--S) * -.62); --d: .2s; }
.box-item--doc { --x: 0px; --d: 0s; }
.box-item--code { --x: calc(var(--S) * .62); --d: .4s; }
@keyframes boxItem {
  0%, 18% { opacity: 0; transform: translate3d(calc(var(--x) * .2), calc(var(--S) * -.1), 0) scale(.5); }
  32% { opacity: 1; transform: translate3d(var(--x), calc(var(--S) * -1.15), 0) scale(1); }
  56% { transform: translate3d(var(--x), calc(var(--S) * -1.25), 0) scale(1); }
  76% { opacity: 1; transform: translate3d(var(--x), calc(var(--S) * -1.15), 0) scale(1); }
  88%, 100% { opacity: 0; transform: translate3d(calc(var(--x) * .2), calc(var(--S) * -.1), 0) scale(.5); }
}

/* ---- Film production steps: four tiny 3D icons ---- */
.scene-icon { position: relative; width: 64px; height: 64px; margin-bottom: 18px; perspective: 400px; }
.scene-icon * { animation-play-state: paused !important; }
.scenes.is-in .scene-icon * { animation-play-state: running !important; }
html:not(.has-motion) .scene-icon * { animation: none !important; }
.si-page { position: absolute; inset: 6% 18%; border-radius: 6px; background: #171C21; display: grid; align-content: center; gap: 12%; padding: 0 16%; transform: rotateY(-18deg); }
.si-page i { height: 3px; border-radius: 2px; background: #5D6670; transform-origin: 0 50%; animation: siType 3.2s var(--ease-out) infinite both; animation-delay: var(--d, 0s); }
.si-page i:last-child { width: 60%; background: var(--signal); }
@keyframes siType { 0% { transform: scaleX(0); } 30%, 90% { transform: none; } 100% { transform: scaleX(0); } }
.si-cube { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; animation: siSpin 6s linear infinite; }
.si-cube i { position: absolute; left: -18px; top: -18px; width: 36px; height: 36px; background: rgba(23, 28, 33, .55); box-shadow: inset 0 0 0 1.5px #9AA3AD; }
.si-cube i:nth-child(1) { transform: translateZ(18px); box-shadow: inset 0 0 0 1.5px var(--signal); }
.si-cube i:nth-child(2) { transform: rotateY(180deg) translateZ(18px); }
.si-cube i:nth-child(3) { transform: rotateY(90deg) translateZ(18px); }
.si-cube i:nth-child(4) { transform: rotateY(-90deg) translateZ(18px); }
.si-cube i:nth-child(5) { transform: rotateX(90deg) translateZ(18px); }
.si-cube i:nth-child(6) { transform: rotateX(-90deg) translateZ(18px); }
@keyframes siSpin { from { transform: rotateX(-24deg) rotateY(0); } to { transform: rotateX(-24deg) rotateY(360deg); } }
.si-cam { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.si-cam path, .si-cam rect { fill: none; stroke: #9AA3AD; stroke-width: 1.5; stroke-linejoin: round; }
.si-cam .frame { stroke: var(--signal); transform-box: fill-box; transform-origin: center; animation: siDolly 3.4s var(--ease-in-out) infinite alternate; }
.si-cam .body { fill: #171C21; stroke: none; }
@keyframes siDolly { from { transform: scale(.78); } to { transform: scale(1.06); } }
.si-edit { position: absolute; inset: 14% 4%; display: grid; grid-template-rows: 1fr 1fr 1fr; gap: 12%; overflow: hidden; }
.si-edit i { border-radius: 3px; background: #2A3036; }
.si-edit i:nth-child(1) { width: 56%; margin-left: 20%; background: var(--signal); }
.si-edit i:nth-child(2) { background: #3A434B; }
.si-edit i:nth-child(3) { width: 82%; }
.si-edit b { position: absolute; left: 0; top: -10%; bottom: -10%; width: 2px; background: var(--paper); animation: siHead 3s linear infinite; }
@keyframes siHead { from { transform: translateX(0); } to { transform: translateX(56px); } }

/* ---- Pointer tilt for media (desktop) ---- */
[data-tilt] { transform: perspective(1200px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg)); transition: transform .9s var(--ease-out); will-change: transform; }

/* ---------- Phone held sideways: the frame becomes a wide screen ---------- */
@media (max-width: 899px) and (orientation: landscape) {
  .ring__item { --w: min(40vw, 46svh * 1.6); }
  .ring__world { top: 40%; }
  .hero__stage, html.has-motion .hero__sticky { min-height: 0; }
  .hero__anchor, .hero__screen { left: 18%; top: 12%; width: 64%; height: 64%; }
  .hero__screen { padding: 3% 4%; gap: 10px; }
  .hero__title { font-size: clamp(24px, min(5.2vw, 11svh), 48px); }
  .hero__title .l { white-space: nowrap; }
  .hero__below { display: none; }
  .finale__anchor, .finale__screen { left: 16%; top: 17%; width: 68%; height: 48%; }
  .finale__screen { padding: 3% 5%; gap: 8px; }
  .finale__title { font-size: clamp(22px, 8.5svh, 40px); }
  .finale__screen > p:not(.meta) { font-size: 13px; }
  .finale__actions, .contact-page .finale__actions { top: calc(65% + 3svh); flex-direction: row; gap: 6px 22px; }
  .finale__actions .cta--big { font-size: 16px; }
  .finale__actions .cta--big .cta__dot { width: 40px; height: 40px; }
  .contact-page .finale { min-height: max(100svh, 340px); }
  .contact-page .finale__back { display: none; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
