/* ZXO Ads · shared layout for the orange variants (A black, B graphite, C light gray).
   Direction (user, 2026-12-01): zxogroup.pl brand (Geist, the ZXO mark) + art-yakushev.com feel
   (big type, video first, tiny labels, numbered work). Orange is the O of the mark.
   Motion: expo-out, 0.9-1.5 s entrances, word-by-word scroll reveals, transform/opacity/clip-path only,
   all of it off under prefers-reduced-motion or the Motion switch. */

/* Fonts are served from this site (SIL OFL 1.1, licences in fonts/), so the page makes no request to Google. */
@font-face { font-family: "Geist"; src: url("fonts/Geist-Variable.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Geist Mono"; src: url("fonts/GeistMono-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Regular.ttf") format("truetype"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("fonts/InstrumentSerif-Italic.ttf") format("truetype"); font-weight: 400; font-style: italic; font-display: swap; }

:root {
  --bg: #0A0A0A; --bg-2: #121211; --surface: #151514;
  --ink: #F2F1EE; --mute: #9C9A95; --dim: #6A6864; --line: rgba(242, 241, 238, .12); --line-strong: rgba(242, 241, 238, .38);
  --orange: #FF5A1F; --orange-ink: #FF5A1F; --on-orange: #0A0A0A;
  --deep: #050505; --on-deep: #F2F1EE; --deep-mute: #9C9A95; --deep-line: rgba(242, 241, 238, .12); --orange-on-deep: #FF5A1F;
  --mark: #F2F1EE; --foot-mark: #262624;
  --sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --serif: "Instrument Serif", Georgia, "Times New Roman", serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
  --wrap: 1440px; --pad: clamp(16px, 3.2vw, 48px); --head-h: 64px; --r-media: 18px;
  --reveal-y: 26px;
  /* ad mock-ups (placeholders) */
  --phone-frame: #050505; --hook-1: #d9a27e; --hook-2: #5a4f4a; --hook-3: #1f1d1c; --hook-bg: #141312;
  --proof-bg: #F2F1EE; --proof-ink: #0A0A0A; --prod-bg: #E3E1DC; --kin-bg: #FF5A1F; --kin-ink: #0A0A0A; --kin-accent: #0A0A0A;
  --check-bg: #1A1918; --check-ink: #F2F1EE; --check-tick: #FF5A1F; --ad-dot: #FF5A1F;
  --bowl-1: #c9b9a4; --bowl-hi: #efe6da; --bowl-in-1: #f3ece2; --bowl-ridge: rgba(0, 0, 0, .25); --bowl-shadow: rgba(0, 0, 0, .25);
  --studio-1: #f4f3f0; --studio-2: #c9c7c1; --badge-bg: #FF5A1F; --badge-fg: #0A0A0A; --zone: #FF5A1F;
  interpolate-size: allow-keywords;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 72px; overflow-x: clip; }
body {
  margin: 0; overflow-x: clip; background: var(--bg); color: var(--ink);
  font: 400 16.5px/1.5 var(--sans); letter-spacing: -.011em;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, figure { margin: 0; }
button { font: inherit; color: inherit; }
.defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 12px; z-index: 100; background: var(--orange); color: var(--on-orange); padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.label { font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; line-height: 1.35; }
.mute { color: var(--mute); }
sup a { display: inline-block; padding: 6px 4px; margin: -6px -2px; text-decoration: none; font-family: var(--mono); font-size: max(12px, .7em); color: var(--mute); }
sup a:hover { color: var(--orange-ink); }
em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.005em; }
[data-variant="b"] { display: none; }
.variant-b [data-variant="a"] { display: none; }
.variant-b [data-variant="b"] { display: block; }

/* ---------- type ---------- */
h1, h2, h3 { font-weight: 500; text-wrap: balance; }
.h2 { font-size: clamp(2.4rem, 5.6vw, 5.6rem); line-height: .94; letter-spacing: -.05em; }
.h2 em, .xl em, .final__h em, .next__h em, .hero__h em { color: var(--orange-ink); letter-spacing: -.02em; }
h3 { font-size: 1.3rem; line-height: 1.15; letter-spacing: -.025em; }

/* ---------- sections ---------- */
.sec { position: relative; padding-block: clamp(96px, 12vw, 180px); }
.sec--tint { background: var(--bg-2); }
.sec--deep, .final, .foot {
  background: var(--deep); color: var(--on-deep);
  --ink: var(--on-deep); --mute: var(--deep-mute); --line: var(--deep-line); --line-strong: rgba(242, 241, 238, .38);
  --bg: var(--deep); --orange-ink: var(--orange-on-deep); --dim: #6A6864;
}
.sec-head { display: grid; gap: 22px; align-content: start; max-width: 1000px; margin-bottom: clamp(48px, 6vw, 88px); }
.sec-head p:not(.label) { font-size: 1.12rem; color: var(--mute); max-width: 38em; }

/* ---------- buttons & links ---------- */
.btn {
  --tx: 0px; --ty: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 22px; border-radius: 999px; border: 1px solid transparent;
  font: 500 .98rem/1 var(--sans); letter-spacing: -.01em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transform: translate(var(--tx), var(--ty));
  transition: transform .5s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .3s;
}
.btn:active { transform: translate(var(--tx), var(--ty)) scale(.96); transition-duration: .12s; }
.btn--orange { background: var(--orange); color: var(--on-orange); }
.btn--orange:hover { box-shadow: 0 0 0 5px color-mix(in srgb, var(--orange) 28%, transparent), 0 14px 40px -12px color-mix(in srgb, var(--orange) 70%, transparent); }
.btn--ghost { background: transparent; color: inherit; border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.btn--lg { padding: 19px 28px; font-size: 1.05rem; }
.btn--sm { padding: 10px 15px; font-size: .88rem; }
.btn__arrow { width: 14px; height: 14px; flex: none; transition: transform .4s var(--ease); }
.btn:hover .btn__arrow, .link:hover .btn__arrow { transform: translateX(4px); }
.roll { display: inline-block; overflow: hidden; vertical-align: top; height: 1.2em; line-height: 1.2; }
.roll > span { display: block; text-shadow: 0 1.2em currentColor; transition: transform .45s var(--ease); }
a:hover .roll > span, button:hover .roll > span { transform: translateY(-1.2em); }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; text-decoration: none; font-weight: 500; border-bottom: 1px solid var(--line-strong); padding-bottom: 4px; color: var(--ink); }
.badge { display: inline-flex; align-items: center; justify-self: start; padding: 5px 9px; border-radius: 999px; background: var(--badge-bg); color: var(--badge-fg); }

/* ---------- header ---------- */
.top { position: fixed; inset: 0 0 auto; z-index: 60; transition: translate .5s var(--ease); }
.top::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: 0; transition: opacity .3s; background: color-mix(in srgb, var(--bg) 78%, transparent); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 1px solid var(--line); }
.top.is-scrolled::before { opacity: 1; }
.top.is-hidden { translate: 0 -100%; }
.top:focus-within, .menu-open .top { translate: none; }   /* "none", not "0 0": any translate value makes the header the containing block of the fixed menu */
.top__in { display: grid; grid-template-columns: auto 1fr auto auto; align-items: center; gap: 28px; height: var(--head-h); padding-inline: var(--pad); }
.top__logo { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; font-weight: 600; letter-spacing: -.02em; }
.top__logo svg { width: 50px; height: 22px; --logo-h: var(--ink); }
.top__tag { color: var(--mute); }
.nav { display: flex; gap: 22px; }
.nav a { text-decoration: none; font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); opacity: .82; transition: opacity .2s; }
.nav a:hover { opacity: 1; }
.top__actions { display: flex; align-items: center; gap: 10px; }
.lang { display: inline-flex; align-items: center; padding: 8px 11px; border-radius: 999px; border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: 12px; font-weight: 600; letter-spacing: .02em; }
.lang:hover { border-color: var(--line-strong); }
.rm-btn { display: inline-flex; align-items: center; gap: 8px; padding: 8px 11px; border-radius: 999px; background: transparent; border: 1px solid var(--line); color: var(--mute); cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
.rm-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.rm-btn__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 3px color-mix(in srgb, var(--orange) 25%, transparent); }
.rm .rm-btn__dot { background: transparent; box-shadow: inset 0 0 0 1.5px currentColor; }
.nav__rm { display: none; }
.menu-btn { display: none; padding: 9px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: transparent; cursor: pointer; font-size: 12px; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; }
@media (max-width: 1180px) { .top__tag { display: none; } .top__in { grid-template-columns: auto 1fr auto; } .nav { justify-self: end; } }
@media (max-width: 979px) {
  .top__in { grid-template-columns: auto 1fr auto; }
  .menu-btn { display: inline-flex; }
  .top .rm-btn { display: none; }
  .top__actions { grid-column: 3; }
  .nav { justify-self: stretch; position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; gap: 4px; padding: 96px var(--pad) 64px; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .4s var(--ease), visibility 0s .4s; }
  .menu-open .nav { opacity: 1; visibility: visible; transition: opacity .4s var(--ease); }
  .nav a { font-size: clamp(2.4rem, 11vw, 3.6rem); font-weight: 500; letter-spacing: -.05em; text-transform: none; opacity: 0; translate: 0 26px; transition: opacity .6s var(--ease), translate .7s var(--ease); }
  .menu-open .nav a { opacity: 1; translate: 0 0; }
  .top .nav__rm { display: inline-flex; align-self: flex-start; margin-top: 24px; opacity: 0; translate: 0 26px; transition: opacity .6s var(--ease) .25s, translate .7s var(--ease) .25s; }
  .menu-open .top .nav__rm { opacity: 1; translate: 0 0; }
  .menu-open .nav a:nth-child(2) { transition-delay: .05s; } .menu-open .nav a:nth-child(3) { transition-delay: .1s; }
  .menu-open .nav a:nth-child(4) { transition-delay: .15s; } .menu-open .nav a:nth-child(5) { transition-delay: .2s; }
  .nav .roll { height: auto; } .nav .roll > span { text-shadow: none; transform: none !important; }
  .menu-open { overflow: hidden; }
}
.nav__lang { display: none; }
/* phones (review 2026-12-01): the main call to action stays in the header, so the language switch moves into the menu,
   and every tap target outside running text is at least 44 px high */
@media (max-width: 480px) {
  .top__actions .lang { display: none; }
  .top .nav .nav__lang { display: inline-flex; align-self: flex-start; margin-top: 10px; font-size: 12px; letter-spacing: .02em; }
  .top .btn--sm { padding-inline: 13px; }
}
@media (max-width: 760px) {
  .top__logo, .lang, .menu-btn, .rm-btn, .top .btn--sm { min-height: 44px; }
  .lang { justify-content: center; min-width: 44px; }
  .link { position: relative; } .link::after { content: ""; position: absolute; inset: -10px -4px -9px; }   /* 44 px hit area, same underline */
  .foot__legal a { display: inline-flex; align-items: center; min-height: 44px; }
}

/* ---------- HERO: the mark in front, the reel behind ---------- */
.hero {
  position: relative; isolation: isolate; overflow: clip; min-height: 100vh; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: calc(var(--head-h) + 24px) var(--pad) clamp(22px, 3vw, 44px); color: var(--hero-ink, var(--ink));
}
.hero__reel { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--deep); transform: translateY(calc(var(--p, 0) * 22vh)) scale(calc(1.04 + var(--p, 0) * .06)); }
.hero__reel .slot-media { position: absolute; inset: 0; }
.hero__reel .slot-video { filter: var(--reel-filter, none); }
.hero__shade { position: absolute; inset: 0; pointer-events: none; background: var(--shade, linear-gradient(180deg, rgba(5, 5, 5, .55) 0%, rgba(5, 5, 5, .08) 26%, rgba(5, 5, 5, .12) 55%, rgba(5, 5, 5, .82) 100%)); }
.hero__ui { position: absolute; top: calc(var(--head-h) + 22px); left: var(--pad); right: var(--pad); display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; }
.hero__kicker { max-width: 24em; }
.hero__kicker span { color: var(--orange); }
.hero__note { color: var(--mute); padding-right: 56px; text-align: right; }
.hero__base { position: relative; display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: clamp(20px, 3.5vw, 56px); align-items: end; transform: translateY(calc(var(--p, 0) * -14vh)); }
.hero__mark { width: 100%; height: auto; overflow: hidden; }
.mk { transform-box: fill-box; transform-origin: 50% 50%; }
.mk--t, .mk--b { fill: var(--mark); }
.mk--o { fill: var(--orange); }
.hero__copy { display: grid; gap: 22px; padding-bottom: .6vw; }
.hero__h { font-size: clamp(2.1rem, 3.7vw, 3.9rem); line-height: .98; letter-spacing: -.045em; }
.hero__h--b { font-size: clamp(1.8rem, 2.8vw, 2.9rem); }
.hero__reel .slot-btn { top: calc(var(--head-h) + 14px); bottom: auto; right: var(--pad); }
@media (max-width: 860px) {
  .hero__base { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hero__ui { position: static; order: 2; flex-direction: column; gap: 8px; margin-top: 22px; padding-top: 14px; border-top: 1px solid var(--line); }
  .hero__note { text-align: left; padding-right: 0; }
  .hero__reel .slot-btn { top: auto; bottom: 14px; }
  .hero__shade { background: var(--shade-m, linear-gradient(180deg, rgba(5, 5, 5, .84) 0%, rgba(5, 5, 5, .5) 20%, rgba(5, 5, 5, .2) 40%, rgba(5, 5, 5, .55) 62%, rgba(5, 5, 5, .94) 100%)); }
}
/* the mark assembles once: triangles slide in through the mark's own edge, the O turns into place */
.js:not(.rm) .hero__mark .mk--t { transform: translateY(-112%); }
.js:not(.rm) .hero__mark .mk--b { transform: translateY(112%); }
.js:not(.rm) .hero__mark .mk--o { transform: scale(.2) rotate(-120deg); opacity: 0; }
.js:not(.rm).ready .hero__mark .mk { transform: none; opacity: 1; transition: transform 1.6s var(--ease) .15s, opacity .9s var(--ease) .15s; }
.js:not(.rm).ready .hero__mark .mk--b { transition-delay: .24s; }
.js:not(.rm).ready .hero__mark .mk--o { transition-delay: .38s; transition-duration: 1.8s, 1s; }
/* fallback reel (only when no video is set) */
.ph-reel { position: absolute; inset: 0; container-type: inline-size; }
.ph-reel__s { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; animation: reelcyc 9s var(--ease) infinite both; }
.ph-reel__s--1 { opacity: 1; background: radial-gradient(60% 60% at 30% 40%, #5a2a14, #0b0b0b 70%); }
.ph-reel__s--2 { animation-delay: 3s; background: radial-gradient(60% 60% at 70% 40%, #3a3633, #0b0b0b 70%); }
.ph-reel__s--3 { animation-delay: 6s; background: radial-gradient(60% 60% at 50% 60%, #7a2e0e, #0b0b0b 70%); }
.ph-reel__s span { font-size: 16cqw; font-weight: 500; letter-spacing: -.06em; color: rgba(255, 255, 255, .08); }
@keyframes reelcyc { 0% { opacity: 0; transform: scale(1.06); } 6%, 30% { opacity: 1; transform: none; } 36%, 100% { opacity: 0; } }

/* ---------- INTRO ---------- */
.intro__grid { display: grid; grid-template-columns: minmax(0, 110px) minmax(0, 1fr) minmax(0, 250px); gap: clamp(20px, 3vw, 48px); align-items: start; }
.statement { font-size: clamp(1.9rem, 4.1vw, 4.1rem); line-height: 1.04; letter-spacing: -.04em; font-weight: 450; }
.statement em { letter-spacing: -.015em; }
.statement .wi { color: var(--dim); transition: color .5s var(--ease); }
.statement .wi.on { color: var(--ink); }
.statement em .wi.on { color: var(--orange-ink); }
.intro__side { display: grid; gap: 18px; padding-top: 12px; color: var(--mute); }
.intro__side strong { color: var(--ink); font-weight: 500; }
.facts { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin-top: clamp(64px, 8vw, 120px); padding-top: 20px; border-top: 1px solid var(--line); }
.facts li { display: grid; gap: 6px; }
.facts strong { font-weight: 500; font-size: 1.25rem; letter-spacing: -.03em; }
@media (max-width: 980px) { .intro__grid { grid-template-columns: minmax(0, 1fr); } .intro__side { max-width: 30em; } }
@media (max-width: 700px) { .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 22px; } }

/* ---------- WORK ---------- */
.work { padding-top: clamp(72px, 9vw, 140px); }
.work__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(48px, 7vw, 110px); }
.xl { font-size: clamp(4.6rem, 15vw, 15rem); line-height: .8; letter-spacing: -.07em; font-weight: 500; }
.xl sup { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: .2em; letter-spacing: 0; vertical-align: top; margin-left: .12em; color: var(--orange-ink); }
.work__head > .label { text-align: right; padding-bottom: 1.2vw; }
.case { --rv: min(1, calc(var(--p, 1) * 2.4)); margin-bottom: clamp(72px, 9vw, 150px); }
.case__meta { display: grid; grid-template-columns: minmax(0, 90px) minmax(0, 1.2fr) minmax(0, 1.4fr) minmax(0, 1fr) auto; gap: 20px; align-items: start; margin-bottom: 18px; }
.case__no { font-size: .9rem; font-weight: 500; font-variant-numeric: tabular-nums; color: var(--mute); }
.case__title { font-weight: 500; font-size: 1.05rem; letter-spacing: -.02em; }
.case__desc { color: var(--mute); }
.case__tags { display: flex; flex-wrap: wrap; gap: 4px 12px; color: var(--mute); }
.case__media { position: relative; overflow: hidden; border-radius: var(--r-media); background: #0d0d0d; clip-path: inset(calc((1 - var(--rv)) * 7%) calc((1 - var(--rv)) * 5%) round var(--r-media)); }
.case__media .slot-media { position: absolute; inset: 0; transform: scale(calc(1.14 - .14 * var(--rv))); }
.case__media--169 { aspect-ratio: 16 / 9; width: min(100%, calc(74vh * 16 / 9)); }
.case__media--916 { aspect-ratio: 9 / 16; }
.case__media--45 { aspect-ratio: 4 / 5; }
.case__preview { position: absolute; top: 14px; right: 16px; z-index: 3; color: #fff; mix-blend-mode: difference; }
.case__cap { margin-top: 12px; color: var(--mute); }
.cases-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(24px, 6vw, 110px); align-items: end; }
.cases-pair .case__meta { grid-template-columns: minmax(0, 70px) minmax(0, 1fr); }
.cases-pair .case__desc { grid-column: 2; }
.case--tall .case__media { width: min(100%, 430px); }
.case--mid { padding-bottom: clamp(0px, 9vw, 140px); }
/* Dimhour: one launch in three formats. Each item's width follows its aspect ratio, so all three share one height. */
.case--set { margin-bottom: clamp(56px, 6vw, 100px); }
.set { display: flex; gap: clamp(12px, 1.6vw, 24px); align-items: flex-start; }
.set__item { margin: 0; min-width: 0; flex: var(--ar) 1 0; --rv: clamp(0, calc(var(--p, 1) * 2.4 - var(--i, 0) * .2), 1); }
.set__item--169 { --ar: 1.7778; } .set__item--916 { --ar: .5625; } .set__item--45 { --ar: .8; }
.set .case__media { width: 100%; }
.set__item--169 .case__media { aspect-ratio: 16 / 9; } .set__item--916 .case__media { aspect-ratio: 9 / 16; } .set__item--45 .case__media { aspect-ratio: 4 / 5; }
.set .case__cap { display: flex; flex-wrap: wrap; gap: 2px 10px; }
.set__no { color: var(--ink); font-variant-numeric: tabular-nums; }
.ph-dim { position: absolute; inset: 0; container-type: size; display: grid; place-items: center; align-content: center; gap: 7cqmin; background: radial-gradient(90% 70% at 30% 18%, rgba(255, 178, 107, .14), transparent 70%), #0C1020; color: #F3EEE6; text-align: center; }
.ph-dim__sun { width: 34cqmin; aspect-ratio: 1; border-radius: 50%; background: #FFB26B; box-shadow: 0 0 0 9cqmin rgba(255, 178, 107, .07), 0 0 8cqmin rgba(255, 178, 107, .5); animation: dimbreath 7s ease-in-out infinite both; }
.ph-dim__h { font-family: var(--serif); font-size: 8cqmin; line-height: 1; letter-spacing: -.01em; }
.set--light .case__media { box-shadow: inset 0 0 0 1px var(--line); }
.ph-hand { position: absolute; inset: 0; container-type: size; display: grid; place-items: center; align-content: center; gap: 6cqmin; background: #F7F5F0; color: #2347E8; text-align: center; }
.ph-hand__pin { width: 14cqmin; aspect-ratio: 1; border-radius: 50% 50% 50% 0; rotate: -45deg; background: #FFC93C; box-shadow: 0 0 0 4cqmin rgba(35, 71, 232, .08); animation: handdrop 3.2s var(--ease) infinite both; }
.ph-hand__h { font-size: 8cqmin; font-weight: 700; line-height: 1; letter-spacing: -.04em; }
@keyframes handdrop { 0% { translate: 0 -30%; opacity: 0; } 25%, 80% { translate: 0 0; opacity: 1; } 100% { translate: 0 0; opacity: 0; } }
@keyframes dimbreath { 0%, 100% { transform: scale(.8); } 45%, 55% { transform: scale(1); } }
.credit { margin-top: -40px; margin-bottom: 40px; font-size: .8rem; line-height: 1.5; color: var(--mute); }
.credit a { color: inherit; }
.next { margin-top: clamp(40px, 6vw, 100px); padding-top: 28px; border-top: 1px solid var(--line); }
.next__head { display: grid; grid-template-columns: minmax(0, 110px) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 48px); margin-bottom: 44px; align-items: start; }
.next__h { font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: .98; letter-spacing: -.045em; }
.next__head p { font-size: .98rem; }
.tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.tile { min-width: 0; }
.tile__media { position: relative; aspect-ratio: 9 / 16; border-radius: 12px; overflow: hidden; background: #111; isolation: isolate; transition: transform .6s var(--ease); }
.tile:hover .tile__media { transform: translateY(-4px); }
.ph-tile { position: absolute; inset: 0; }
.ph-tile > .ad { border-radius: 0; }
.tile__soon { position: absolute; left: 8px; bottom: 8px; z-index: 4; padding: 4px 7px; border-radius: 999px; background: rgba(10, 10, 10, .72); color: #fff; font-size: 12px; }
.tile__no { margin-top: 12px; color: var(--mute); }
.tile__title { margin-top: 4px; font-weight: 500; font-size: .98rem; line-height: 1.2; letter-spacing: -.02em; }
.tile__meta { margin-top: 4px; color: var(--mute); font-size: 12px; }
.has-video .ph, .has-video .tile__soon { display: none; }
.slot-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tile .ad__caption { top: 38%; }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } .case__meta { grid-template-columns: minmax(0, 70px) minmax(0, 1fr) minmax(0, 1fr); } .case__tags, .case__meta .badge { grid-column: 2 / -1; } }
@media (max-width: 760px) {
  .work__head { flex-direction: column; align-items: flex-start; } .work__head > .label { text-align: left; }
  .case__meta { grid-template-columns: minmax(0, 56px) minmax(0, 1fr); } .case__desc, .case__tags, .case__meta .badge { grid-column: 2; }
  .cases-pair { grid-template-columns: minmax(0, 1fr); } .case--mid { padding-bottom: 0; } .case--tall .case__media { width: 100%; }
  .next__head { grid-template-columns: minmax(0, 1fr); } .credit { margin-top: -24px; }
  .set { flex-wrap: wrap; row-gap: 22px; } .set__item--169 { flex: 1 1 100%; } .set .case__preview { display: none; }
  .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* own work from the studio */
.studio { margin-top: clamp(80px, 10vw, 150px); padding-top: 28px; border-top: 1px solid var(--line); }
.studio .next__head a { color: var(--ink); }
.studio__grid { display: grid; grid-template-columns: minmax(0, .62fr) minmax(0, 1.3fr) minmax(0, 1.6fr); gap: 18px; align-items: end; }
.studio__item { min-width: 0; }
.studio__item figcaption { display: grid; gap: 4px; }
.studio__media { position: relative; overflow: hidden; border-radius: 14px; background: #111; margin-bottom: 12px; }
.studio__media .slot-media { position: absolute; inset: 0; }
.studio__item--916 .studio__media { aspect-ratio: 9 / 16; }
.studio__item--169 .studio__media { aspect-ratio: 16 / 9; }
.studio__item--wide .studio__media { aspect-ratio: 1280 / 560; }
@media (max-width: 860px) { .studio__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .studio__item--wide { grid-column: 1 / -1; } }
.studio__grid--two { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1.6fr); margin-top: clamp(56px, 7vw, 110px); }
@media (max-width: 860px) { .studio__grid--two { grid-template-columns: minmax(0, 1fr); } }

/* ZXO Yard: one film, three formats. The frame changes shape; 16:9 plays the wide cut, 9:16 and 4:5 the tall one. */
.fmt { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; }
.fmt__side { display: grid; gap: 16px; align-content: start; }
.fmt__title { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 500; letter-spacing: -.035em; line-height: 1.05; }
.fmt__desc { color: var(--mute); }
.fmt__bar { display: inline-flex; gap: 4px; padding: 4px; border-radius: 999px; border: 1px solid var(--line-strong); justify-self: start; }
.fmt__btn { min-width: 64px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 0; background: transparent; color: var(--ink); font: 500 .95rem/1 var(--mono); cursor: pointer; transition: background-color .3s, color .3s; }
.fmt__btn:hover { background: color-mix(in srgb, var(--ink) 10%, transparent); }
.fmt__btn[aria-pressed="true"] { background: var(--orange); color: var(--on-orange); }
.fmt__note span { display: none; }
.fmt[data-now="169"] [data-fmt-note="169"], .fmt[data-now="916"] [data-fmt-note="916"], .fmt[data-now="45"] [data-fmt-note="45"] { display: inline; }
.fmt__stage { --sh: min(64vh, 600px); container-type: inline-size; display: grid; place-items: center; height: var(--sh); }
.fmt__frame { --ar: 1.7778; position: relative; height: min(var(--sh), calc(100cqi / var(--ar))); width: calc(min(var(--sh), calc(100cqi / var(--ar))) * var(--ar)); border-radius: var(--r-media); overflow: hidden; background: #0d0d0d; transition: width .8s var(--ease), height .8s var(--ease); }
.fmt__frame[data-ar="916"] { --ar: .5625; } .fmt__frame[data-ar="45"] { --ar: .8; }
.fmt__v { position: absolute; inset: 0; margin: 0; }
.fmt__v .slot-media { position: absolute; inset: 0; }
.fmt__frame[data-ar="169"] .fmt__v--tall, .fmt__frame:not([data-ar="169"]) .fmt__v--wide { display: none; }
.credit--fmt { margin: 18px 0 0; }
@media (max-width: 860px) { .fmt { grid-template-columns: minmax(0, 1fr); } .fmt__stage { --sh: min(72vh, 560px); height: auto; } }   /* phones: the film sits right under the switch */

/* Vertical loops in phone frames: on a computer they play while the pointer or focus is on them; a phone scrolls them sideways */
.reels__k { margin-top: clamp(56px, 7vw, 110px); }
.reels { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2.2vw, 32px); }
.reel { min-width: 0; }
.reel__phone { position: relative; margin: 0 0 14px; aspect-ratio: 9 / 16; border-radius: 30px; background: #0b0b0b; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1), 0 22px 44px -26px rgba(0, 0, 0, .7); transition: transform .6s var(--ease); }
.reel__phone .slot-media { position: absolute; inset: 7px; border-radius: 24px; overflow: hidden; background: #111; }
.reel__phone::after { content: ""; position: absolute; z-index: 7; top: 15px; left: 50%; width: 28%; height: 13px; translate: -50% 0; border-radius: 99px; background: #0b0b0b; pointer-events: none; }
.reel__cap { display: grid; gap: 4px; }
@media (hover: hover) and (pointer: fine) { .reel__phone:hover, .reel__phone:focus-within { transform: translateY(-8px); } }
@media (max-width: 760px) {
  .reels { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--pad)); padding: 4px var(--pad) 8px; scroll-padding-inline: var(--pad); scrollbar-width: none; }
  .reels::-webkit-scrollbar { display: none; }
  .reel { flex: 0 0 60%; scroll-snap-align: start; }
}
.rm .reel__phone { transform: none !important; }
.reels--wall { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 24px); }
.reels--wall .reel__phone { border-radius: 24px; } .reels--wall .reel__phone .slot-media { inset: 5px; border-radius: 19px; }
.reels--wall .reel__phone::after { top: 11px; height: 10px; }
.reel__more { justify-self: start; position: relative; margin-top: 4px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.reel__more::after { content: ""; position: absolute; inset: -14px -6px; }
.studio__grid--pair { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.studio__grid--pair:has(> :nth-child(3)) { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) and (min-width: 761px) { .studio__grid--pair:has(> :nth-child(3)) { grid-template-columns: repeat(2, minmax(0, 1fr)); } .studio__grid--pair > :nth-child(3) { grid-column: 1 / -1; } }
@media (max-width: 1100px) and (min-width: 761px) { .reels--wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .reels--wall .reel { flex-basis: 46%; } .studio__grid--pair, .studio__grid--pair:has(> :nth-child(3)) { grid-template-columns: minmax(0, 1fr); } }

/* ---------- ad mock-ups (placeholders) ---------- */
.ad { position: absolute; inset: 0; overflow: hidden; isolation: isolate; border-radius: inherit; container-type: inline-size; font-family: var(--sans); }
.ad--hook { background: var(--hook-bg); color: #fff; }
.ad__footage { position: absolute; inset: 0;
  background: radial-gradient(42% 30% at 58% 36%, var(--hook-1), transparent 70%), radial-gradient(40% 34% at 30% 68%, var(--hook-2), transparent 70%), radial-gradient(60% 50% at 78% 88%, var(--hook-3), transparent 70%), linear-gradient(170deg, #3a332e, #151615 60%, #0c0d0c); }
.ad--warm .ad__footage, .ad__footage.ad--warm { background: radial-gradient(40% 30% at 40% 40%, #e2a96b, transparent 70%), radial-gradient(40% 34% at 70% 62%, #8a5a3c, transparent 70%), radial-gradient(60% 50% at 20% 90%, #2d2a22, transparent 70%), linear-gradient(180deg, #4a3a2a, #1a1612 70%); }
.ad__chip { position: absolute; top: 6%; left: 7%; z-index: 3; background: #fff; color: #111; font: 500 max(8px, 3.6cqw)/1 var(--mono); letter-spacing: .04em; text-transform: uppercase; padding: 1.6cqw 2.2cqw; border-radius: 1.6cqw; }
.ad__caption { position: absolute; left: 8%; right: 8%; top: 50%; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6cqw; }
.ad__caption span { background: #fff; color: #111; font-weight: 650; font-size: max(10px, 7cqw); line-height: 1; letter-spacing: -.02em; padding: 1.8cqw 2.4cqw 2.2cqw; border-radius: 1.6cqw; animation: capword 6s var(--ease) infinite both; }
.ad__caption span:nth-child(2) { animation-delay: .35s; } .ad__caption span:nth-child(3) { animation-delay: .7s; }
@keyframes capword { 0% { opacity: 0; transform: translateY(14px) scale(.94); } 8%, 82% { opacity: 1; transform: none; } 90%, 100% { opacity: 0; transform: none; } }
.grain::after { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .2; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ad--proof { background: var(--proof-bg); color: var(--proof-ink); display: grid; align-content: start; gap: 4cqw; padding: 26% 9% 0; }
.ad__h { font-weight: 600; font-size: max(13px, 10cqw); line-height: 1; letter-spacing: -.04em; margin-bottom: 2cqw; animation: rowin 6s var(--ease) infinite both; }
.ad__row { display: flex; align-items: center; gap: 2.6cqw; font-size: max(9px, 4.8cqw); font-weight: 600; line-height: 1.2; animation: rowin 6s var(--ease) infinite both; }
.ad__row:nth-of-type(2) { animation-delay: .25s; } .ad__row:nth-of-type(3) { animation-delay: .5s; }
.ad__row i { flex: none; width: 4.2cqw; height: 4.2cqw; border-radius: 50%; background: var(--ad-dot); }
@keyframes rowin { 0% { opacity: 0; transform: translateX(-12px); } 10%, 86% { opacity: 1; transform: none; } 96%, 100% { opacity: 0; } }
.ad__bar { position: absolute; left: 9%; right: 9%; bottom: 8%; height: max(4px, 1.4cqw); border-radius: 99px; background: color-mix(in srgb, currentColor 14%, transparent); overflow: hidden; }
.ad__bar::after { content: ""; position: absolute; inset: 0; background: currentColor; transform-origin: 0 50%; animation: fillbar 6s linear infinite; }
@keyframes fillbar { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.ad--product { background: var(--prod-bg); }
.ad--product::before { content: ""; position: absolute; inset: 0; background: radial-gradient(70% 45% at 50% 30%, rgba(255, 255, 255, .55), transparent 70%); }
.ad__turntable { position: absolute; left: 7%; right: 7%; bottom: 14%; animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3%); } }
.kin { position: absolute; inset: 0; background: var(--kin-bg); color: var(--kin-ink); container-type: inline-size; }
.kin__w { position: absolute; inset: 0; display: grid; place-items: center; }
.kin__w span { grid-area: 1 / 1; font-weight: 600; font-size: 21cqw; letter-spacing: -.06em; opacity: 0; animation: kin 4.5s var(--ease) infinite both; }
.kin__w span:nth-child(1) { opacity: 1; } .kin__w span:nth-child(2) { animation-delay: 1.5s; } .kin__w span:nth-child(3) { animation-delay: 3s; }
@keyframes kin { 0% { opacity: 0; transform: translateY(30%) scale(.9); } 6%, 28% { opacity: 1; transform: none; } 33%, 100% { opacity: 0; transform: translateY(-20%) scale(1.04); } }
.kin__bars { position: absolute; left: 10%; right: 10%; bottom: 30%; display: flex; gap: 6px; }
.kin__bars i { flex: 1; height: 4px; border-radius: 4px; background: color-mix(in srgb, currentColor 22%, transparent); position: relative; overflow: hidden; }
.kin__bars i::after { content: ""; position: absolute; inset: 0; background: var(--kin-accent); transform-origin: 0 50%; animation: kbar 4.5s linear infinite; }
.kin__bars i:nth-child(2)::after { animation-delay: 1.5s; } .kin__bars i:nth-child(3)::after { animation-delay: 3s; }
@keyframes kbar { 0% { transform: scaleX(0); } 33%, 100% { transform: scaleX(1); } }
.turn { position: absolute; inset: 0; background: radial-gradient(80% 60% at 50% 35%, var(--studio-1), var(--studio-2)); display: grid; place-items: center; container-type: inline-size; }
.turn svg { width: 72%; position: relative; z-index: 2; }
.turn__floor { position: absolute; left: 22%; right: 22%; top: 60%; height: 5%; border-radius: 50%; background: radial-gradient(closest-side, rgba(0, 0, 0, .28), transparent); }
.turn--strip svg { fill: #ee9db8; animation: stripturn 6s var(--ease-io) infinite, stripcol 6s steps(1) infinite; }
@keyframes stripturn { 0%, 100% { transform: scaleX(1) rotate(-6deg); } 25% { transform: scaleX(.55) rotate(-6deg); } 50% { transform: scaleX(1) rotate(-6deg); } 75% { transform: scaleX(.55) rotate(-6deg); } }
@keyframes stripcol { 0% { fill: #ee9db8; } 33.3% { fill: #1c1c1c; } 66.6% { fill: #f4f2ec; } }
.turn__label { position: absolute; left: 0; right: 0; bottom: 30%; display: grid; justify-items: center; color: #1c1c1c; }
.turn__label span { grid-area: 1 / 1; padding: 3px 7px; border-radius: 6px; background: rgba(255, 255, 255, .85); opacity: 0; animation: swatch 6s steps(1) infinite; }
.turn__label span:nth-child(1) { opacity: 1; } .turn__label span:nth-child(2) { animation-delay: 2s; } .turn__label span:nth-child(3) { animation-delay: 4s; }
@keyframes swatch { 0% { opacity: 1; } 33.3%, 100% { opacity: 0; } }
.turn--bowl svg { width: 80%; margin-top: 8%; }
.kibble { position: absolute; inset: 0; z-index: 1; }
.kibble b { position: absolute; top: 22%; left: calc(32% + var(--k) * 5.5%); width: 6px; height: 5px; border-radius: 40%; background: #8a5a35; animation: kib 2.4s cubic-bezier(.5, 0, .9, .6) infinite; animation-delay: calc(var(--k) * .28s); }
@keyframes kib { 0% { transform: translateY(-30px) rotate(0); opacity: 0; } 15% { opacity: 1; } 70% { transform: translateY(90px) rotate(200deg); opacity: 1; } 100% { transform: translateY(90px) rotate(200deg); opacity: 0; } }
.check { position: absolute; inset: 0; padding: 22% 10%; background: var(--check-bg); color: var(--check-ink); display: grid; align-content: start; gap: 10px; container-type: inline-size; }
.check__h { font-weight: 600; font-size: 12cqw; line-height: 1; letter-spacing: -.04em; }
.check ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.check li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: max(9px, 6.4cqw); }
.check li i { width: 16px; height: 16px; border-radius: 5px; border: 1.5px solid currentColor; position: relative; flex: none; }
.check li i::after { content: ""; position: absolute; left: 4px; top: 0; width: 5px; height: 9px; border: solid var(--check-tick); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); animation: tick 6s var(--ease) infinite both; }
.check li:nth-child(2) i::after { animation-delay: .7s; } .check li:nth-child(3) i::after { animation-delay: 1.4s; }
@keyframes tick { 0%, 8% { opacity: 0; transform: rotate(45deg) scale(.4); } 14%, 90% { opacity: 1; transform: rotate(45deg) scale(1); } 100% { opacity: 0; } }
/* concept app Pennypace placeholders (brand from zxo-wideo: Ink #15171C, Paper #F4F0E8, Penny #F0612E) */
.ph-app { position: absolute; inset: 0; display: grid; place-items: center; background: radial-gradient(70% 80% at 75% 15%, #3a2a22, #15171C 70%); container-type: inline-size; }
.ph-app__win { width: 76%; aspect-ratio: 16 / 10; border-radius: 1.6cqw; background: #F4F0E8; color: #15171C; box-shadow: 0 4cqw 8cqw -3cqw rgba(0, 0, 0, .6); overflow: hidden; display: grid; grid-template-rows: auto 1fr; animation: winin 8s var(--ease) infinite both; }
@keyframes winin { 0% { transform: translateY(6%) scale(.96); opacity: 0; } 8%, 92% { transform: none; opacity: 1; } 100% { opacity: 0; } }
.ph-app__bar { display: flex; align-items: center; gap: .8cqw; padding: 1.2cqw 1.6cqw; border-bottom: 1px solid rgba(21, 23, 28, .08); }
.ph-app__bar i { width: 1cqw; height: 1cqw; border-radius: 50%; background: rgba(21, 23, 28, .18); }
.ph-app__bar span { margin-left: 2cqw; width: 20%; height: 1cqw; border-radius: 1cqw; background: rgba(21, 23, 28, .1); }
.ph-app__body { display: grid; grid-template-columns: 18% 1fr; }
.ph-app__side { display: grid; align-content: start; gap: 1.6cqw; padding: 2.4cqw 1.8cqw; border-right: 1px solid rgba(21, 23, 28, .08); }
.ph-app__side b { height: 1.1cqw; border-radius: 1cqw; background: rgba(21, 23, 28, .12); }
.ph-app__side b:first-child { background: #F0612E; }
.ph-app__main { padding: 2.6cqw 3cqw; display: grid; align-content: start; gap: 1cqw; }
.ph-app__k { font-size: max(8px, 1.3cqw); color: rgba(21, 23, 28, .6); }
.ph-app__v { font-size: 4.4cqw; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.ph-app__v small { font-size: .4em; font-weight: 600; color: rgba(21, 23, 28, .55); letter-spacing: 0; }
.ph-app__chart { width: 100%; height: 13cqw; margin-top: 1cqw; overflow: visible; }
.ph-app__chart path { fill: none; stroke: #F0612E; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 420; animation: draw 8s var(--ease) infinite both; vector-effect: non-scaling-stroke; }
.ph-app__chart .ph-app__pace { stroke: rgba(21, 23, 28, .25); stroke-width: 1.5; stroke-dasharray: 4 5; animation: none; }
@keyframes draw { 0%, 6% { stroke-dashoffset: 420; } 40%, 100% { stroke-dashoffset: 0; } }
.ph-app__rows { display: grid; gap: .9cqw; margin-top: 1cqw; }
.ph-app__rows i { height: 2.2cqw; border-radius: .8cqw; background: rgba(21, 23, 28, .07); animation: rowin 8s var(--ease) infinite both; animation-delay: 1.2s; }
.ph-app__rows i:nth-child(2) { width: 86%; animation-delay: 1.4s; } .ph-app__rows i:nth-child(3) { width: 70%; animation-delay: 1.6s; }
.ph-appv { position: absolute; inset: 0; background: #F4F0E8; color: #15171C; display: grid; align-content: start; gap: 4cqw; padding: 22% 9% 0; container-type: inline-size; }
.ph-appv__k { color: #C2410C; font-size: max(9px, 4.4cqw); }
.ph-appv__v { font-size: 17cqw; font-weight: 700; letter-spacing: -.05em; line-height: .9; animation: rowin 6s var(--ease) infinite both; }
.ph-appv__s { font-size: 5.6cqw; font-weight: 600; color: rgba(21, 23, 28, .7); }
.ph-appv__cards { display: grid; gap: 3cqw; margin-top: 4cqw; }
.ph-appv__cards i { height: 14cqw; border-radius: 4cqw; background: rgba(21, 23, 28, .07); animation: rowin 6s var(--ease) infinite both; }
.ph-appv__cards i:nth-child(1) { background: #F0612E; animation-delay: .3s; } .ph-appv__cards i:nth-child(2) { animation-delay: .5s; } .ph-appv__cards i:nth-child(3) { animation-delay: .7s; }
.ph-appv__cta { position: absolute; left: 9%; right: 9%; bottom: 7%; padding: 4cqw; border-radius: 99px; background: #15171C; color: #F4F0E8; text-align: center; font-weight: 700; font-size: 5cqw; }
.ph-appt { position: absolute; inset: 0; background: #F4F0E8; color: #15171C; display: grid; place-items: center; align-content: center; gap: 4cqw; container-type: inline-size; }
@property --pp { syntax: "<number>"; inherits: false; initial-value: .72; }
.ph-appt__ring { width: 44cqw; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#F0612E calc(var(--pp) * 360deg), rgba(21, 23, 28, .1) 0); -webkit-mask: radial-gradient(closest-side, transparent 72%, #000 73%); mask: radial-gradient(closest-side, transparent 72%, #000 73%); animation: ppring 7s var(--ease) infinite both; }
@keyframes ppring { 0% { --pp: 0; } 45%, 100% { --pp: .72; } }
.ph-appt__v { font-size: 12cqw; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.ph-appt__k { color: rgba(21, 23, 28, .65); }
[data-anim]:not(.play), [data-anim]:not(.play) * { animation-play-state: paused !important; }
.phone { position: relative; width: 100%; aspect-ratio: 9 / 16; border-radius: 34px; background: var(--phone-frame); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .06); }
.phone > .ad, .phone > .ph, .phone > .slot-video { position: absolute; inset: 7px; width: calc(100% - 14px); height: calc(100% - 14px); border-radius: 27px; overflow: hidden; }

/* ---------- LAYERS: an assembly drawing of one ad ----------
   motion.js writes --draw, --e (explode + tilt), --q1..3 (acts), --f per plate (focus), --m (merge),
   --fin (finished ad), --t (timeline) and data-step / data-crop / data-glaze. No transitions on the
   scroll-driven transforms: the smoothing happens once, in JS. */
.layers { padding-bottom: 0; }
.layers > .wrap > .sec-head { margin-bottom: 0; }
.layers__track { --draw: 0; --e: 0; --m: 0; --fin: 0; --t: 0; --q1: 0; --q2: 0; --q3: 0; position: relative; height: 290vh; }
.layers__sticky { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: clip; }
.layers__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 80px); align-items: center; }

/* left: a rail with one expanded step */
.rail { --railp: 0; list-style: none; margin: 0; padding: 0 0 0 26px; position: relative; display: grid; gap: 4px; }
.rail::before, .rail::after { content: ""; position: absolute; left: 4px; top: 20px; width: 1px; }
.rail::before { bottom: 20px; background: var(--line); }
.rail::after { height: calc((100% - 40px) * var(--railp)); background: var(--orange); transition: height .6s var(--ease); }
.layers__track[data-step="1"] .rail { --railp: .25; } .layers__track[data-step="2"] .rail { --railp: .5; }
.layers__track[data-step="3"] .rail { --railp: .75; } .layers__track[data-step="4"] .rail { --railp: 1; }
.lstep { position: relative; padding: 10px 0; }
.lstep::before { content: ""; position: absolute; left: -26px; top: 18px; width: 9px; height: 9px; border-radius: 50%; background: var(--deep); border: 1.5px solid var(--line-strong); transition: background-color .4s, border-color .4s, transform .4s var(--ease); }
.lstep__k { display: flex; align-items: baseline; gap: 10px; color: var(--mute); }
.lstep__num { font-family: var(--serif); font-style: italic; font-size: 1.45rem; line-height: 1; text-transform: none; letter-spacing: 0; color: var(--mute); transition: color .4s; }
.lstep h3 { margin-top: 4px; font-size: clamp(1.1rem, 1.5vw, 1.35rem); color: var(--mute); transition: color .4s; }
.lstep__body { display: grid; grid-template-rows: 0fr; opacity: 0; transition: grid-template-rows .6s var(--ease), opacity .45s var(--ease); }
.lstep__body > div { min-height: 0; overflow: hidden; }
.lstep__body p:not(.chips) { margin-top: 10px; color: var(--mute); max-width: 34em; }
.lstep__body .link { margin-top: 16px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips span { border: 1px solid var(--line); padding: 5px 9px; border-radius: 999px; color: var(--mute); }
.layers__track[data-step="0"] .lstep[data-n="0"], .layers__track[data-step="1"] .lstep[data-n="1"], .layers__track[data-step="2"] .lstep[data-n="2"],
.layers__track[data-step="3"] .lstep[data-n="3"], .layers__track[data-step="4"] .lstep[data-n="4"] { --on: 1; }
.layers__track[data-step="0"] .lstep[data-n="0"] h3, .layers__track[data-step="1"] .lstep[data-n="1"] h3, .layers__track[data-step="2"] .lstep[data-n="2"] h3,
.layers__track[data-step="3"] .lstep[data-n="3"] h3, .layers__track[data-step="4"] .lstep[data-n="4"] h3 { color: var(--ink); font-size: clamp(1.4rem, 2.1vw, 1.9rem); }
.layers__track[data-step="0"] .lstep[data-n="0"] .lstep__body, .layers__track[data-step="1"] .lstep[data-n="1"] .lstep__body, .layers__track[data-step="2"] .lstep[data-n="2"] .lstep__body,
.layers__track[data-step="3"] .lstep[data-n="3"] .lstep__body, .layers__track[data-step="4"] .lstep[data-n="4"] .lstep__body { grid-template-rows: 1fr; opacity: 1; }
.layers__track[data-step="0"] .lstep[data-n="0"]::before, .layers__track[data-step="1"] .lstep[data-n="1"]::before, .layers__track[data-step="2"] .lstep[data-n="2"]::before,
.layers__track[data-step="3"] .lstep[data-n="3"]::before, .layers__track[data-step="4"] .lstep[data-n="4"]::before { background: var(--orange); border-color: var(--orange); transform: scale(1.35); }
.layers__track[data-step="1"] .lstep[data-n="1"] .lstep__num, .layers__track[data-step="2"] .lstep[data-n="2"] .lstep__num,
.layers__track[data-step="3"] .lstep[data-n="3"] .lstep__num, .layers__track[data-step="4"] .lstep[data-n="4"] .lstep__num { color: var(--orange-ink); }

/* right: the drawing sheet and the stack */
.stage { position: relative; display: grid; justify-items: center; gap: 16px; min-width: 0; }
.stage__clip { position: relative; width: 100%; height: min(72vh, 660px); display: grid; place-items: center; perspective: 1900px; }
.sheet { position: absolute; inset: 0; pointer-events: none; }
.sheet__z { position: absolute; left: 50%; top: 3%; bottom: 8%; width: 1px; background: repeating-linear-gradient(var(--line-strong) 0 6px, transparent 6px 11px); transform-origin: 50% 100%; transform: scaleY(var(--draw)); }
.sheet__x { position: absolute; left: 16%; right: 16%; bottom: 8%; height: 1px; background: var(--line-strong); transform: scaleX(var(--draw)); }
.sheet__x::before, .sheet__x::after { content: ""; position: absolute; top: -5px; width: 1px; height: 11px; background: var(--line-strong); }
.sheet__x::before { left: 0; } .sheet__x::after { right: 0; }
.sheet__o { position: absolute; left: 50%; bottom: 8%; width: 18px; height: 18px; margin: 0 0 -9px -9px; border-radius: 50%; border: 2px solid var(--orange); background: var(--deep); transform: scale(var(--draw)); }
.merged .sheet__o { animation: opulse 1.4s var(--ease) 1; }
@keyframes opulse { 0% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--orange) 70%, transparent); } 100% { box-shadow: 0 0 0 44px transparent; } }
.sheet__zl, .sheet__xl, .sheet__ol, .sheet__name { position: absolute; color: var(--mute); opacity: var(--draw); }
.sheet__zl { left: calc(50% + 10px); top: 3%; }
.sheet__xl { right: 16%; bottom: calc(8% + 10px); }
.sheet__ol { left: calc(50% + 16px); bottom: calc(8% - 22px); color: var(--orange-ink); }
.sheet__name { left: 0; bottom: 0; opacity: calc(var(--draw) * (1 - var(--m))); }
.stack { position: relative; height: min(56vh, 520px); aspect-ratio: 9 / 16; transform-style: preserve-3d; transform: translateY(calc(var(--e) * -3%)) rotateX(calc(56deg * var(--e))) rotateZ(calc(-34deg * var(--e))) scale(calc(1 - .16 * var(--e))); }
/* a focused plate goes back to the origin, turns to face the viewer and comes forward (last translateZ is in the face-on frame) */
.plane { --f: 0; --fz: 170px; position: absolute; inset: 0; border-radius: 26px; transform-style: preserve-3d;
  transform: translateZ(calc(var(--z) * var(--e) * (1 - var(--f)) + var(--z0))) rotateZ(calc(34deg * var(--e) * var(--f))) rotateX(calc(-56deg * var(--e) * var(--f))) translateZ(calc(var(--f) * var(--e) * var(--fz))) scale(calc(1 + .1 * var(--f) * var(--e)));
  opacity: calc(1 - var(--fin)); }
.plane--1 { --z: 190px; --z0: 2px; } .plane--2 { --z: 0px; --z0: 1px; } .plane--3 { --z: -190px; --z0: 0px; }
.plate { position: absolute; inset: 0; overflow: hidden; border-radius: 26px; container-type: inline-size; transition: opacity .45s var(--ease);
  box-shadow: 0 0 0 calc(var(--f) * 2px) var(--orange), 0 30px 60px -24px rgba(0, 0, 0, calc(.6 * var(--e))); }
.layers__track[data-step="1"] .plane:not(.plane--1) .plate, .layers__track[data-step="2"] .plane:not(.plane--2) .plate, .layers__track[data-step="3"] .plane:not(.plane--3) .plate { opacity: .28; }
.plane__tag { position: absolute; left: calc(100% + 18px); top: 8%; white-space: nowrap; padding: 6px 10px; border-radius: 999px; background: rgba(255, 255, 255, .08); color: var(--on-deep); opacity: calc(var(--e) * (1 - var(--f))); }

/* 01 hook: three hooks fan out, one is picked, the AI label stamps in */
.plate--hook { background: #17120f; color: #fff; }
.hook__chip { transform-origin: 0 0; --st: clamp(0, calc((var(--q1) - .16) * 6), 1); opacity: var(--st); transform: scale(calc(1.6 - .6 * var(--st))); }
.hooks { position: absolute; left: 8%; right: 8%; top: 50%; height: 0; }
.hookcard { --fan: clamp(0, calc(var(--q1) * 3.2), 1); --pick: clamp(0, calc((var(--q1) - .45) * 4), 1);
  position: absolute; left: 0; right: 0; top: 0; margin: 0; padding: 3.6cqw 4.4cqw 4cqw; border-radius: 3cqw; background: #fff; color: #111;
  font-weight: 650; font-size: 6cqw; line-height: 1.12; letter-spacing: -.02em;
  transform: translateY(calc(-50% + var(--k) * 36cqw * var(--fan))) rotate(calc(var(--k) * -2.5deg * var(--fan))) scale(calc(1 - (1 - var(--sel)) * .08 * var(--pick)));
  opacity: calc(1 - (1 - var(--sel)) * .62 * var(--pick)); box-shadow: 0 0 0 calc(var(--sel) * var(--pick) * 3px) var(--orange), 0 8cqw 14cqw -6cqw rgba(0, 0, 0, .55); }
.hookcard b { display: block; margin-bottom: 1.6cqw; font: 500 3.2cqw/1 var(--mono); color: #7d7873; }
.hookcard[data-h="1"] { --k: -1; --sel: 0; } .hookcard[data-h="2"] { --k: 0; --sel: 1; z-index: 2; } .hookcard[data-h="3"] { --k: 1; --sel: 0; }

/* 02 proof: a transparent sheet with a grid; two bowls draw in, rows slide, the bar fills */
.plate--proof { padding: 20% 9% 0; display: grid; align-content: start; gap: 4cqw; color: #F3F0EB;
  background: linear-gradient(rgba(243, 240, 235, .06) 1px, transparent 1px) 0 0 / 10cqw 10cqw, linear-gradient(90deg, rgba(243, 240, 235, .06) 1px, transparent 1px) 0 0 / 10cqw 10cqw, rgba(26, 24, 22, .92);
  border: 1px solid rgba(243, 240, 235, .16); }
.proof__bowls { width: 100%; clip-path: inset(0 calc((1 - clamp(0, calc(var(--q2) * 2.4), 1)) * 100%) 0 0); }
.proof__row { --ro: 0; display: flex; align-items: center; gap: 2.6cqw; margin: 0; font-weight: 600; font-size: 5.4cqw; line-height: 1.2; opacity: var(--ro); transform: translateX(calc((1 - var(--ro)) * -6cqw)); }
.proof__row[data-r="1"] { --ro: clamp(0, calc((var(--q2) - .34) * 5), 1); } .proof__row[data-r="2"] { --ro: clamp(0, calc((var(--q2) - .5) * 5), 1); }
.proof__row i { flex: none; width: 4cqw; height: 4cqw; border-radius: 50%; background: var(--orange); }
.proof__bar { position: absolute; left: 9%; right: 9%; bottom: 9%; height: 1.4cqw; border-radius: 99px; background: rgba(243, 240, 235, .14); overflow: hidden; }
.proof__bar i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(clamp(0, calc((var(--q2) - .55) * 2.6), 1)); }

/* 03 product: a line drawing wipes into the render, then the glazes change */
.plate--product { --wipe: clamp(0, calc(var(--q3) * 2.6), 1); background: radial-gradient(80% 60% at 50% 35%, #f4f1ea, #cfc8bb); color: #2a2622; }
.prod__line, .prod__render { position: absolute; left: 8%; right: 8%; top: 38%; aspect-ratio: 220 / 150; }
.prod__line { opacity: calc(.85 - .55 * var(--wipe)); }
.prod__render { clip-path: inset(0 calc((1 - var(--wipe)) * 100%) 0 0); }
.glaze { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity .5s var(--ease); }
.glaze--0 { --bowl-1: #c49a7c; --bowl-hi: #f0dccb; --bowl-in-1: #efe3d6; }
.glaze--1 { --bowl-1: #3a4752; --bowl-hi: #7b8995; --bowl-in-1: #5a6672; }
.glaze--2 { --bowl-1: #a7b59a; --bowl-hi: #e3eadb; --bowl-in-1: #dfe6d6; }
.glaze--3 { --bowl-1: #e6dbc6; --bowl-hi: #fbf6ec; --bowl-in-1: #f8f2e6; }
.layers__track[data-glaze="0"] .glaze--0, .layers__track[data-glaze="1"] .glaze--1, .layers__track[data-glaze="2"] .glaze--2, .layers__track[data-glaze="3"] .glaze--3 { opacity: 1; }
.prod__cap { position: absolute; left: 9%; right: 9%; top: 14%; margin: 0; font-weight: 650; font-size: 6cqw; line-height: 1.1; letter-spacing: -.03em; opacity: clamp(0, calc((var(--q3) - .28) * 5), 1); }
.prod__glaze { position: absolute; left: 0; right: 0; bottom: 11%; display: grid; justify-items: center; margin: 0; opacity: clamp(0, calc((var(--q3) - .42) * 6), 1); }
.prod__glaze span { grid-area: 1 / 1; padding: 1.6cqw 3cqw; border-radius: 99px; background: rgba(255, 255, 255, .88); color: #2a2622; opacity: 0; transition: opacity .4s; }
.layers__track[data-glaze="0"] .prod__glaze span:nth-child(1), .layers__track[data-glaze="1"] .prod__glaze span:nth-child(2),
.layers__track[data-glaze="2"] .prod__glaze span:nth-child(3), .layers__track[data-glaze="3"] .prod__glaze span:nth-child(4) { opacity: 1; }

/* merge: the phone frame closes, the finished ad plays, then the crop steps 9:16 → 4:5 → 1:1 */
.plane__frame { position: absolute; inset: -8px; border-radius: 34px; border: 8px solid var(--phone-frame); opacity: calc(1 - var(--e)); transform: translateZ(6px); pointer-events: none; box-shadow: 0 50px 90px -40px rgba(0, 0, 0, .8); }
.ad-final { position: absolute; inset: 0; overflow: hidden; border-radius: 26px; background: #000; opacity: var(--fin); transform: translateZ(4px); clip-path: inset(0 round 26px); transition: clip-path .7s var(--ease); }
.layers__track[data-crop="45"] .ad-final { clip-path: inset(14.8% 0 round 16px); }
.layers__track[data-crop="11"] .ad-final { clip-path: inset(21.9% 0 round 12px); }
.ad-final .slot-media { position: absolute; inset: 0; }
.crop { position: absolute; inset: 0; transform: translateZ(8px); pointer-events: none; opacity: clamp(0, calc((var(--fin) - .5) * 2), 1); }
.layers__track:not([data-step="4"]) .crop { opacity: 0; }
.crop::before { content: ""; position: absolute; inset: 0; border: 1.5px dashed var(--orange); border-radius: 26px; transition: inset .7s var(--ease), border-radius .7s var(--ease); }
.layers__track[data-crop="45"] .crop::before { inset: 14.8% -6px; border-radius: 16px; }
.layers__track[data-crop="11"] .crop::before { inset: 21.9% -6px; border-radius: 12px; }
.crop span { position: absolute; left: calc(100% + 18px); top: 50%; translate: 0 -50%; padding: 5px 9px; border-radius: 99px; background: var(--orange); color: var(--on-orange); font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .3s; }
.layers__track[data-crop="916"] .crop span:nth-child(1), .layers__track[data-crop="45"] .crop span:nth-child(2), .layers__track[data-crop="11"] .crop span:nth-child(3) { opacity: 1; }
.animatic { position: absolute; inset: 0; background: #120f0d; container-type: inline-size; }
.layers__track:not(.fin-on) .animatic, .layers__track:not(.fin-on) .animatic * { animation-play-state: paused !important; }
.am { position: absolute; inset: 0; opacity: 0; animation: am4 8s linear infinite both; }
.am--1 { opacity: 1; } .am--2 { animation-delay: 2s; } .am--3 { animation-delay: 4s; } .am--4 { animation-delay: 6s; }
@keyframes am4 { 0% { opacity: 0; } 3%, 25% { opacity: 1; } 28%, 100% { opacity: 0; } }
.am__cap { position: absolute; left: 8%; right: 8%; top: 48%; z-index: 3; display: flex; flex-wrap: wrap; justify-content: center; gap: 1.6cqw; margin: 0; }
.am__cap span { background: #fff; color: #111; font-weight: 650; font-size: 7cqw; line-height: 1; padding: 1.8cqw 2.4cqw 2.2cqw; border-radius: 1.6cqw; }
.am--2 { background: #1A1816; color: #F3F0EB; display: grid; place-items: center; align-content: center; gap: 8cqw; }
.am__bowls { width: 80%; }
.am--3 { background: radial-gradient(80% 60% at 50% 35%, #f4f1ea, #cfc8bb); color: #2a2622; display: grid; justify-items: center; align-content: center; gap: 6cqw; --bowl-1: #c49a7c; --bowl-hi: #f0dccb; --bowl-in-1: #efe3d6; }
.am__bowl { width: 84%; }
.am--4 { background: #F3F0EB; color: #1A1816; display: grid; place-items: center; align-content: center; gap: 7cqw; }
.am__dots { display: flex; gap: 3cqw; margin: 0; }
.am__dots i { width: 12cqw; aspect-ratio: 1; border-radius: 50%; box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.am__dots i:nth-child(1) { background: #c49a7c; } .am__dots i:nth-child(2) { background: #3a4752; } .am__dots i:nth-child(3) { background: #a7b59a; } .am__dots i:nth-child(4) { background: #e6dbc6; }
.am__txt { margin: 0; padding: 0 8%; font-weight: 650; font-size: 8cqw; line-height: 1.05; letter-spacing: -.03em; text-align: center; }

/* timeline of the 18 s ad */
.stage__time { width: min(100%, 440px); display: grid; gap: 8px; color: var(--mute); }
.stage__bar { position: relative; display: flex; gap: 4px; height: 5px; }
.seg { display: block; flex: var(--w); height: 100%; border-radius: 99px; background: var(--line); transition: background-color .4s; }
.seg--1 { --w: 3; } .seg--2 { --w: 6; } .seg--3 { --w: 5; } .seg--4 { --w: 4; }
.layers__track[data-step="1"] .seg--1, .layers__track[data-step="2"] .seg--2, .layers__track[data-step="3"] .seg--3, .layers__track[data-step="4"] .seg { background: var(--orange); }
.stage__head { position: absolute; top: -5px; left: calc(var(--t) * 100%); width: 2px; height: 15px; border-radius: 2px; background: var(--on-deep); }
.stage__marks { position: relative; height: 1.4em; }
.stage__marks span { position: absolute; transform: translateX(-50%); }
.stage__marks span:nth-child(1) { left: 0; transform: none; } .stage__marks span:nth-child(2) { left: 16.7%; } .stage__marks span:nth-child(3) { left: 50%; }
.stage__marks span:nth-child(4) { left: 77.8%; } .stage__marks span:nth-child(5) { right: 0; transform: none; }
.stage__note { color: var(--mute); opacity: var(--fin); }

@media (max-width: 899px) {
  .layers__track { height: 270vh; }
  .layers__grid { grid-template-columns: minmax(0, 1fr); gap: 4px; align-content: center; height: 100%; padding-top: 52px; }
  .stage { order: -1; gap: 6px; }
  .stage__clip { height: 50svh; } .stack { height: 42svh; }
  .plane { --fz: 90px; }
  .plane__tag, .sheet__name, .sheet__xl, .stage__time { display: none; }
  .crop span { left: auto; right: calc(100% + 10px); }
  .rail { padding-left: 0; min-height: 200px; }
  .rail::before, .rail::after, .lstep::before { display: none; }
  .lstep { position: absolute; inset: 0 0 auto 0; padding: 0; opacity: 0; translate: 0 12px; transition: opacity .45s var(--ease), translate .5s var(--ease); }
  .layers__track[data-step="0"] .lstep[data-n="0"], .layers__track[data-step="1"] .lstep[data-n="1"], .layers__track[data-step="2"] .lstep[data-n="2"],
  .layers__track[data-step="3"] .lstep[data-n="3"], .layers__track[data-step="4"] .lstep[data-n="4"] { opacity: 1; translate: 0 0; }
  .lstep__body p:not(.chips) { font-size: .95rem; }
}

/* reduced motion and no JS: a still sheet, three plates in their end state and the finished ad */
.rm .layers__track, .no-js .layers__track { height: auto; --e: 0; --m: 1; --fin: 1; --q1: 1; --q2: 1; --q3: 1; --draw: 1; --t: 1; }
.rm .layers__sticky, .no-js .layers__sticky { position: static; height: auto; padding-block: 56px 110px; }
.rm .layers__grid, .no-js .layers__grid { grid-template-columns: minmax(0, 1fr); gap: 56px; }
.rm .lstep, .no-js .lstep { position: relative; opacity: 1; translate: none; }
.rm .lstep h3, .no-js .lstep h3 { color: var(--ink); }
.rm .lstep__body, .no-js .lstep__body { grid-template-rows: 1fr; opacity: 1; }
.rm .rail, .no-js .rail { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; padding-left: 0; min-height: 0; }
.rm .rail::before, .rm .rail::after, .rm .lstep::before, .no-js .rail::before, .no-js .rail::after, .no-js .lstep::before { display: none; }
.rm .stage__clip, .no-js .stage__clip { height: auto; perspective: none; }
.rm .sheet, .rm .plane__frame, .rm .crop, .rm .stage__time, .no-js .sheet, .no-js .plane__frame, .no-js .crop, .no-js .stage__time { display: none; }
.rm .stack, .no-js .stack { width: 100%; height: auto; aspect-ratio: auto; transform: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 48px 18px; padding-bottom: 36px; }
.rm .plane, .rm .ad-final, .no-js .plane, .no-js .ad-final { position: relative; inset: auto; aspect-ratio: 9 / 16; transform: none !important; opacity: 1 !important; clip-path: none !important; --f: 0; }
.rm .plane--1, .no-js .plane--1 { order: 1; } .rm .plane--2, .no-js .plane--2 { order: 2; } .rm .plane--3, .no-js .plane--3 { order: 3; } .rm .ad-final, .no-js .ad-final { order: 4; }
.rm .plate, .no-js .plate { opacity: 1 !important; box-shadow: none; }
.rm .plane__tag, .no-js .plane__tag { top: calc(100% + 10px); left: 0; opacity: 1; background: none; padding: 0; color: var(--mute); }
.rm .stage__note, .no-js .stage__note { opacity: 1; }
@media (max-width: 899px) { .rm .stack, .no-js .stack { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rm .plane__tag, .no-js .plane__tag { display: block; } }

/* ---------- NUMBERS ---------- */
.nums { border-top: 1px solid var(--line); }
.num { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(20px, 4vw, 64px); align-items: end; padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.num__big { font-size: clamp(4.4rem, 12.5vw, 12.5rem); font-weight: 500; line-height: .82; letter-spacing: -.07em; font-variant-numeric: tabular-nums; }
.num__big--word { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.03em; color: var(--orange-ink); }
.num__txt { display: grid; gap: 14px; padding-bottom: .8vw; }
.num__txt p:first-child { color: var(--mute); max-width: 32em; }
@media (max-width: 860px) { .num { grid-template-columns: minmax(0, 1fr); } }

/* ---------- PROCESS ---------- */
.process__track { position: relative; }
.process__line { position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--line); }
.process__line i { display: block; height: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(clamp(0, calc((var(--p, 1) - .22) * 2.4), 1)); }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.steps li { position: relative; padding-top: 42px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: ""; position: absolute; top: 2px; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--bg-2); border: 1.5px solid var(--orange); }
.steps__when { color: var(--orange-ink); }
.steps h3 { font-size: 1.45rem; }
.steps p { color: var(--mute); }
@media (max-width: 860px) {
  .process__line { left: 6px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; }
  .process__line i { height: 100%; width: 100%; transform-origin: 50% 0; transform: scaleY(clamp(0, calc((var(--p, 1) - .15) * 1.8), 1)); }
  .steps { grid-template-columns: minmax(0, 1fr); gap: 30px; } .steps li { padding: 0 0 0 36px; }
}

/* ---------- PRICING ---------- */
.plans { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; align-items: stretch; }
.plan { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; gap: 18px; padding: 26px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
.plan:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.plan--featured { background: var(--orange); color: var(--on-orange); border-color: transparent; --line: rgba(0, 0, 0, .18); }
.plan--featured .btn--orange { background: var(--on-orange); color: var(--orange); }
.plan--featured .btn--orange:hover { box-shadow: 0 0 0 5px rgba(0, 0, 0, .18); }
.price { font-size: clamp(2.6rem, 3.8vw, 3.8rem); font-weight: 500; line-height: 1; letter-spacing: -.06em; }
.price--text { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.price small { font-family: var(--serif); font-style: italic; font-size: .42em; font-weight: 400; letter-spacing: 0; margin-left: 4px; opacity: .75; }
.price small.price__from { margin: 0; }   /* the gap is a real space inside it, so a copy or a screen reader gets "od 9 900" */
/* the price follows the card width, so the longest one ("od 9 900 zł/mies.") always stays on one line */
.plan { container-type: inline-size; }
.plan .price { font-size: clamp(2rem, 17.5cqi, 3.8rem); white-space: nowrap; }
.plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.plan li { position: relative; padding-left: 20px; }
.plan li::before { content: ""; position: absolute; left: 0; top: .68em; width: 8px; height: 1.5px; background: currentColor; opacity: .6; }
.plan .btn { margin-top: auto; }
.plan__per { margin-top: auto; }
.addons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.addons span { border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: .9rem; }
.addons .addons__lead { border-color: var(--orange); color: var(--ink); font-weight: 500; }
[data-glow]::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0; transition: opacity .4s; background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--orange) 16%, transparent), transparent 62%); }
[data-glow]:hover::after { opacity: 1; }
.plan--featured[data-glow]::after { background: radial-gradient(380px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, .22), transparent 62%); }
@media (max-width: 1100px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .plans { grid-template-columns: minmax(0, 1fr); } }

/* ---------- EU ---------- */
.eu__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(40px, 6vw, 96px); align-items: center; }
.eu .sec-head { margin-bottom: 32px; }
.checklist { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.checklist li { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.checklist .label { color: var(--orange-ink); padding-top: 3px; }
.checklist strong { font-weight: 500; }
.checklist p { color: var(--mute); margin-top: 2px; }
.disclaimer { margin-top: 20px; font-size: .9rem; color: var(--mute); }
.labeldemo { display: grid; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); gap: 22px; align-items: center; }
.labeldemo__panel { display: grid; gap: 12px; padding: 22px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.labeldemo__track { position: relative; height: 8px; border-radius: 99px; background: color-mix(in srgb, var(--ink) 10%, transparent); margin-top: 6px; }
.labeldemo__zone { position: absolute; left: 0; top: 0; bottom: 0; width: 16.7%; border-radius: 99px; background: var(--orange); }
.labeldemo__head { position: absolute; top: -5px; left: 0; width: 2px; height: 18px; border-radius: 2px; background: var(--ink); animation: playhead 6s linear infinite; }
@keyframes playhead { from { left: 0; } to { left: 100%; } }
.labeldemo__marks { position: relative; height: 1.4em; color: var(--mute); }
.labeldemo__marks span { position: absolute; } .labeldemo__marks span:nth-child(2) { left: 16.7%; transform: translateX(-50%); } .labeldemo__marks span:nth-child(3) { right: 0; }
.labeldemo__rows { list-style: none; margin: 0; padding: 0; }
.labeldemo__rows li { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 0; border-top: 1px solid var(--line); }
.labeldemo__rows em { font-family: var(--sans); font-style: normal; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; text-align: right; }
.switch i { width: 26px; height: 15px; border-radius: 99px; background: var(--orange); position: relative; }
.switch i::after { content: ""; position: absolute; top: 2px; right: 2px; width: 11px; height: 11px; border-radius: 50%; background: var(--on-orange); }
.ad__chip--timed { animation: chipon 6s linear infinite; }
@keyframes chipon { 0%, 16.6% { opacity: 1; transform: none; } 17%, 100% { opacity: 0; transform: translateY(-4px); } }
@media (max-width: 960px) { .eu__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .labeldemo { grid-template-columns: minmax(0, 1fr); justify-items: center; } .labeldemo__phone { width: 200px; } .labeldemo__panel { width: 100%; } }

/* ---------- FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 5vw, 64px); align-items: start; }
.faq__list details { border-bottom: 1px solid var(--line); }
.faq__list details:first-child { border-top: 1px solid var(--line); }
.faq__list summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 24px; padding: 24px 0; font-weight: 500; font-size: clamp(1.1rem, 1.5vw, 1.35rem); letter-spacing: -.025em; transition: color .2s; }
.faq__list summary::-webkit-details-marker { display: none; }
.faq__list summary:hover { color: var(--orange-ink); }
.faq__list summary i { position: relative; flex: none; width: 14px; height: 14px; margin-top: 7px; }
.faq__list summary i::before, .faq__list summary i::after { content: ""; position: absolute; left: 0; top: 6px; width: 14px; height: 1.5px; background: currentColor; transition: transform .45s var(--ease); }
.faq__list summary i::after { transform: rotate(90deg); }
.faq__list details[open] summary i::after { transform: rotate(0deg); }
.faq__list details p { padding-bottom: 24px; color: var(--mute); max-width: 44em; }
.faq__list details::details-content { block-size: 0; overflow: clip; transition: block-size .5s var(--ease), content-visibility .5s allow-discrete; }
.faq__list details[open]::details-content { block-size: auto; }
@media (max-width: 860px) { .faq__grid { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FINAL CTA ---------- */
.final { overflow: clip; isolation: isolate; padding-block: clamp(120px, 16vw, 240px) clamp(100px, 12vw, 180px); }
.final__glow { position: absolute; inset: 0; z-index: -1; pointer-events: none; background: radial-gradient(70% 70% at 50% 115%, var(--orange) 0%, color-mix(in srgb, var(--orange) 40%, transparent) 30%, transparent 70%); opacity: calc(.25 + .6 * var(--p, .5)); }
.final__in { position: relative; display: grid; gap: 26px; justify-items: start; }
.final__h { font-size: clamp(3.6rem, 11.5vw, 11.5rem); line-height: .84; letter-spacing: -.07em; }
.final__p { max-width: 34em; color: var(--mute); font-size: 1.12rem; }
.final__contact { color: var(--mute); }
.final__contact a { color: var(--ink); }

/* ---------- footer ---------- */
.foot { padding-block: 64px 120px; border-top: 1px solid var(--deep-line); }
.foot__cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.foot__cols p:not(.foot__k) { font-size: 1.05rem; line-height: 1.35; letter-spacing: -.02em; }
.foot__cols .rm-btn { margin-top: 14px; }
.foot__k { font-family: var(--serif); font-style: italic; color: var(--mute); margin-bottom: 8px; font-size: 1.05rem; }
.foot__src { margin-top: 56px; max-width: 900px; }
.sources { margin: 0; padding-left: 20px; display: grid; gap: 8px; color: var(--mute); font-size: .86rem; }
.foot__mark { margin-top: 72px; }
.foot__mark svg { width: 100%; height: auto; aspect-ratio: 225 / 100; --logo-h: var(--foot-mark); }
.foot__legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 28px; color: var(--mute); }
.foot__legal a, .foot__cols a { color: inherit; }
@media (max-width: 760px) { .foot__cols { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 32px; } }

/* variant switcher (preview only; remove before launch) */
.vswitch { position: fixed; left: 50%; bottom: 14px; translate: -50% 0; z-index: 70; display: flex; align-items: center; gap: 2px; padding: 5px; border-radius: 999px; background: rgba(14, 14, 14, .88); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 12px 30px -12px rgba(0, 0, 0, .5), 0 0 0 1px rgba(255, 255, 255, .08); }
.vswitch a { min-width: 34px; height: 32px; padding: 0 10px; display: grid; place-items: center; border-radius: 999px; color: #f2f2f2; text-decoration: none; font: 600 .85rem/1 var(--sans); }
.vswitch a:hover { background: rgba(255, 255, 255, .12); }
.vswitch a[aria-current] { background: #FF5A1F; color: #0A0A0A; }
.vswitch__all { font-size: .68rem !important; text-transform: uppercase; letter-spacing: .04em; }

/* slot controls */
.slot-btn { position: absolute; right: 12px; bottom: 12px; z-index: 6; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(8, 8, 8, .62); color: #fff; cursor: pointer; display: grid; place-items: center; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: transform .3s var(--ease), background-color .3s; }
.slot-btn:hover { transform: scale(1.08); }
.slot-btn::before { content: ""; width: 0; height: 0; margin-left: 3px; border-left: 11px solid currentColor; border-top: 7px solid transparent; border-bottom: 7px solid transparent; }
.slot-btn[data-state="pause"]::before { width: 10px; height: 12px; margin: 0; border: 0; background: linear-gradient(90deg, currentColor 0 35%, transparent 35% 65%, currentColor 65%); }
[data-sound] .slot-btn { width: 78px; height: 78px; right: 50%; bottom: 50%; transform: translate(50%, 50%); background: var(--orange); color: var(--on-orange); }
[data-sound] .slot-btn:hover { transform: translate(50%, 50%) scale(1.06); }
[data-sound] .slot-btn::before { border-left-width: 18px; border-top-width: 11px; border-bottom-width: 11px; }
.tile .slot-btn { width: 34px; height: 34px; right: 8px; bottom: 8px; }
.is-user .slot-btn { display: none; }
@media (max-width: 760px) { [data-sound] .slot-btn { width: 54px; height: 54px; } [data-sound] .slot-btn::before { border-left-width: 13px; border-top-width: 8px; border-bottom-width: 8px; } }

/* ---------- entrances (only with JS and with motion on) ---------- */
.js:not(.rm) [data-reveal]:not(.in), .js:not(.rm) [data-stagger]:not(.in) > * { opacity: 0; }
.js:not(.rm) [data-reveal].in { animation: reveal 1.1s var(--ease) var(--d, 0s) both; }
.js:not(.rm) [data-stagger].in > * { animation: reveal 1s var(--ease) calc(var(--d, 0s) + var(--i, 0) * 80ms) both; }
@keyframes reveal { from { opacity: 0; translate: 0 var(--reveal-y); } to { opacity: 1; translate: 0 0; } }
.w { display: inline-block; vertical-align: top; overflow: clip; padding-bottom: .12em; margin-bottom: -.12em; padding-inline: .05em; margin-inline: -.05em; }
.wi { display: inline-block; }
.js:not(.rm) [data-split]:not(.in) .wi { transform: translateY(115%); }
.js:not(.rm) [data-split].in .wi { animation: wordup 1.15s var(--ease) calc(var(--d, 0s) + var(--i, 0) * 55ms) both; }
@keyframes wordup { from { transform: translateY(115%); } to { transform: none; } }

/* ---------- reduced motion (OS setting or the Motion switch) ---------- */
.rm { scroll-behavior: auto; }
.rm *, .rm *::before, .rm *::after { animation: none !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
.rm .hero__reel, .rm .hero__base { transform: none; }
.rm .statement .wi { color: var(--ink); }
.rm .statement em .wi { color: var(--orange-ink); }
.rm .case, .rm .set__item { --rv: 1; }
.rm .process__line i { transform: none; }
.rm .final__glow { opacity: .6; }

/* ---- Review 2026-12-01 (docs/notatki/przeglad-zxo-ads-2026-12-01.md in the Plac Logistyczny repo) ----
   The first screen says what is sold and for whom; the pilot is drawn as a grid; plans build on each other. */
@media (min-width: 861px) { .hero__base { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); } }
.hero__h { font-size: clamp(1.75rem, 3vw, 3.2rem); line-height: 1.02; letter-spacing: -.04em; text-wrap: balance; }
.hero__lead { font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.45; max-width: 36em; color: var(--ink); }
.hero__kicker, .hero__note { text-transform: none; font-size: .84rem; letter-spacing: 0; }
@media (max-width: 860px) { .hero__mark { width: 46%; } .hero__copy { gap: 16px; } }
.js:not(.rm).ready .hero__mark .mk { transition-duration: 1.1s, .7s; transition-delay: 0s; }
.js:not(.rm).ready .hero__mark .mk--b { transition-delay: .08s; }
.js:not(.rm).ready .hero__mark .mk--o { transition-delay: .16s; transition-duration: 1.2s, .8s; }

/* sentences are set as sentences, not as small capitals */
.case__desc.label, .work__head > .label { text-transform: none; font-size: .9rem; letter-spacing: 0; line-height: 1.4; }

/* WHAT YOU GET */
.get__grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.get__rows { display: grid; gap: 30px; max-width: 560px; }
.get__row { display: grid; gap: 12px; }
.get__idea { display: flex; gap: 10px; align-items: baseline; }
.get__idea strong { font-weight: 500; font-size: 1.15rem; letter-spacing: -.02em; }
.minis { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.mini { display: grid; gap: 8px; align-content: start; }
.mini__ad { aspect-ratio: 9 / 16; display: grid; grid-template-rows: 3fr 6fr 9fr; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.mini__hook { display: grid; place-items: center; background: var(--orange); color: var(--on-orange); font-size: .8rem; font-weight: 600; letter-spacing: -.01em; }
.mini__proof { display: grid; align-content: center; gap: 7px; padding-inline: 16%; background: var(--deep); }
.mini__proof i { display: block; height: 5px; border-radius: 3px; background: var(--on-deep); opacity: .34; }
.mini__proof i:first-child { width: 78%; opacity: .7; }
.mini__prod { display: grid; place-items: center; background: #EDE7DC; }
.mini__prod svg { width: 74%; height: auto; }
.mini__line { font-size: .88rem; line-height: 1.3; color: var(--mute); }
.get__key { list-style: none; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); display: grid; gap: 8px; color: var(--mute); }
.get__key li { display: flex; align-items: center; gap: 10px; }
.get__key i { width: 12px; height: 12px; border-radius: 3px; flex: none; border: 1px solid var(--line-strong); }
.get__key--hook i { background: var(--orange); border-color: transparent; }
.get__key--proof i { background: var(--deep); }
.get__key--prod i { background: #EDE7DC; }
.get__side { display: grid; gap: 18px; align-content: start; justify-items: start; }
.get__side .checklist { width: 100%; }
.get__note { font-size: .9rem; }
@media (max-width: 900px) { .get__grid { grid-template-columns: minmax(0, 1fr); } .get__rows { max-width: none; } }

/* PRICING: what every plan shares, who each plan is for, what each adds */
.pricing .sec-head { margin-bottom: clamp(32px, 4vw, 56px); }
.facts--plans { margin-top: 0; margin-bottom: clamp(28px, 3.5vw, 48px); }
.plan__for { font-size: .98rem; line-height: 1.35; min-height: 2.7em; opacity: .84; }
.plan li.plan__all { font-weight: 600; }
.plan li.plan__all::before { width: 8px; height: 8px; top: .45em; border-radius: 50%; opacity: 1; background: var(--orange); }
@media (max-width: 640px) { .plan__for { min-height: 0; } }
.facts--plans { padding-left: 0; }
/* the copy sits on the moving reel: a soft patch of the page colour keeps it readable */
.hero__copy { position: relative; isolation: isolate; }
.hero__copy::before { content: ""; position: absolute; inset: -56px -72px -40px -72px; z-index: -1; pointer-events: none; background: radial-gradient(ellipse at 45% 55%, color-mix(in srgb, var(--hero-scrim, var(--deep)) 80%, transparent) 0%, color-mix(in srgb, var(--hero-scrim, var(--deep)) 62%, transparent) 40%, transparent 72%); }
@media (max-width: 860px) { .hero__copy::before { inset: -40px -16px -24px -16px; } }
/* phones: video buttons are 44 px tap targets (after the base .slot-btn rules, so it wins) */
@media (max-width: 760px) { .slot-btn, .tile .slot-btn { width: 44px; height: 44px; } }
/* phones and tablets in A and B (review 2026-12-01): the reel is a band at the top and the smaller ZXO mark sits under it,
   above the headline, so the mark never covers the phone in the film. C keeps its own window layout. */
@media (max-width: 860px) {
  html:not([data-design="c-orange-gray"]) .hero { --band: min(54svh, 140vw); min-height: 0; padding-top: calc(var(--band) - 48px); }   /* the mark sits in the faded tail of the band */
  html:not([data-design="c-orange-gray"]) .hero__reel { inset: 0 0 auto 0; height: var(--band); -webkit-mask-image: linear-gradient(180deg, #000 66%, transparent); mask-image: linear-gradient(180deg, #000 66%, transparent); }
  html:not([data-design="c-orange-gray"]) .hero__reel .slot-video { object-position: 50% 30%; }
  html:not([data-design="c-orange-gray"]) .hero__reel .slot-btn { top: calc(var(--head-h) + 10px); bottom: auto; }
  html:not([data-design="c-orange-gray"]) .hero__mark { width: 30%; }
}
/* computers in A and B (2026-12-02, laptop reel): the reel darkens its lower left for the headline and shows the laptops
   on the right, so the mark and the copy stack in one left column and the right side stays free for the film */
@media (min-width: 861px) {
  html:not([data-design="c-orange-gray"]) .hero__base { grid-template-columns: minmax(0, min(640px, 50vw)); gap: clamp(22px, 2.4vw, 34px); }
  html:not([data-design="c-orange-gray"]) .hero__mark { width: min(300px, 60%); }
  html:not([data-design="c-orange-gray"]) .hero__kicker, html:not([data-design="c-orange-gray"]) .hero__note { padding: 7px 12px; border-radius: 999px; background: rgba(8, 8, 8, .66); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
  html:not([data-design="c-orange-gray"]) .hero__note { padding-right: 12px; margin-right: 52px; }
  /* bright screen close-ups: keep the header readable */
  html:not([data-design="c-orange-gray"]) .hero__reel::after { content: ""; position: absolute; z-index: 1; inset: 0 0 auto 0; height: 170px; pointer-events: none; background: linear-gradient(180deg, rgba(5, 5, 5, .74), rgba(5, 5, 5, 0)); }
}

