/* =========================================================================
   KAI DELA CRUZ — UGC portfolio template · "Director's Cut"
   Built by Very Online Studio. Plain CSS, no build step.
   Sections: 1 fonts · 2 themes · 3 base · 4 ui kit · 5 overlays · 6 nav
   7 hero · 8 clips + scenes · 9 formats · 10 the edit · 11 reel wall
   12 player · 13 brands · 14 stats · 15 process · 16 rates · 17 comments
   18 faq · 19 contact/footer · 20 demo switcher · 21 motion prefs
   ========================================================================= */

/* ---------- 1 · FONTS (self-hosted, SIL OFL — see fonts/OFL-*.txt) ---------- */
@font-face { font-family: "Big Shoulders"; src: url("../fonts/big-shoulders-display-latin-wght-normal.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Manrope"; src: url("../fonts/manrope-latin-wght-normal.woff2") format("woff2"); font-weight: 200 800; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "JetBrains Mono"; src: url("../fonts/jetbrains-mono-latin-500-normal.woff2") format("woff2"); font-weight: 500 700; font-style: normal; font-display: swap; }

/* ---------- 2 · THEMES — EDIT colors here ---------- */
:root {
  --f-display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --f-sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --gutter: clamp(16px, 4vw, 72px);
  --max: 1680px;
  --nav-h: 80px;
  --sec-pad: clamp(96px, 12vw, 200px);
  --r-lg: 22px;
  --r-md: 14px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* STUDIO (default) — near-black editing suite, REC orange, cream type */
:root, [data-theme="studio"] {
  color-scheme: dark;
  --bg: #0B0B0F;
  --bg-2: #121218;
  --bg-3: #1A1A22;
  --bg-4: #262630;
  --panel: #111117;
  --panel-2: #181820;
  --panel-3: #20202A;
  --ink: #F4ECDC;
  --ink-2: rgba(244, 236, 220, .74);
  --ink-3: rgba(244, 236, 220, .56);
  --line: rgba(244, 236, 220, .11);
  --line-2: rgba(244, 236, 220, .22);
  --accent: #FF5A1F;
  --accent-ink: #160803;
  --accent-text: #FF7C4A;
  --accent-display: #FF5A1F;
  --accent-soft: rgba(255, 90, 31, .14);
  --accent-2: #FFC24B;
  --rec: #FF3B1F;
  --ok: #5EE6B8;
  --beat-1: #FF5A1F; --beat-2: #FFC24B; --beat-3: #FF7AA8; --beat-4: #5EE6B8;
  --film: #07070A;
  --hole: #1E1E26;
  --glow: rgba(255, 90, 31, .32);
  --grain-o: .085;
  --vignette: radial-gradient(130% 100% at 50% 40%, transparent 55%, rgba(0, 0, 0, .55) 100%);
  --shadow: 0 40px 90px -30px rgba(0, 0, 0, .75), 0 10px 30px -12px rgba(0, 0, 0, .5);
  --pt-bg1: #FFC9A3; --pt-bg2: #FF6A2E; --pt-ring: #FFF4E2; --pt-j1: #F4ECDC; --pt-j2: #CDBFA6;
}

/* DAYLIGHT — warm beige editorial, black ink, orange accent */
[data-theme="daylight"] {
  color-scheme: light;
  --bg: #F1E8D8;
  --bg-2: #EADFCB;
  --bg-3: #E2D5BE;
  --bg-4: #D5C6AC;
  --panel: #FBF6EC;
  --panel-2: #F3EBDC;
  --panel-3: #E9DFCC;
  --ink: #15120E;
  --ink-2: rgba(21, 18, 14, .78);
  --ink-3: rgba(21, 18, 14, .62);
  --line: rgba(21, 18, 14, .13);
  --line-2: rgba(21, 18, 14, .26);
  --accent: #F0561C;
  --accent-ink: #1A0A03;
  --accent-text: #B23A0B;
  --accent-display: #D24510;
  --accent-soft: rgba(240, 86, 28, .12);
  --accent-2: #D99A12;
  --rec: #E5341A;
  --ok: #0A6444;
  --beat-1: #F0561C; --beat-2: #E3A21A; --beat-3: #E2557F; --beat-4: #1FA07A;
  --film: #1A1714;
  --hole: #F1E8D8;
  --glow: rgba(240, 86, 28, .22);
  --grain-o: .06;
  --vignette: radial-gradient(130% 100% at 50% 40%, transparent 60%, rgba(120, 80, 30, .16) 100%);
  --shadow: 0 40px 80px -36px rgba(60, 40, 15, .45), 0 10px 28px -14px rgba(60, 40, 15, .3);
  --pt-bg1: #FFD8B8; --pt-bg2: #F0561C; --pt-ring: #FFFFFF; --pt-j1: #1C1915; --pt-j2: #3A342B;
}

/* NEON — deep purple, cyan + magenta */
[data-theme="neon"] {
  color-scheme: dark;
  --bg: #0D0420;
  --bg-2: #150A2E;
  --bg-3: #1D0F3D;
  --bg-4: #2A1754;
  --panel: #120727;
  --panel-2: #1A0D36;
  --panel-3: #241347;
  --ink: #F3EEFF;
  --ink-2: rgba(243, 238, 255, .76);
  --ink-3: rgba(243, 238, 255, .58);
  --line: rgba(190, 160, 255, .16);
  --line-2: rgba(190, 160, 255, .3);
  --accent: #22E6FF;
  --accent-ink: #07021A;
  --accent-text: #5DEEFF;
  --accent-display: #22E6FF;
  --accent-soft: rgba(34, 230, 255, .12);
  --accent-2: #FF3DCB;
  --rec: #FF3DCB;
  --ok: #7CFFB2;
  --beat-1: #22E6FF; --beat-2: #FF3DCB; --beat-3: #B88CFF; --beat-4: #7CFFB2;
  --film: #070214;
  --hole: #22124A;
  --glow: rgba(255, 61, 203, .32);
  --grain-o: .08;
  --vignette: radial-gradient(130% 100% at 50% 40%, transparent 50%, rgba(5, 0, 20, .6) 100%);
  --shadow: 0 40px 90px -30px rgba(0, 0, 0, .8), 0 0 60px -20px rgba(34, 230, 255, .25);
  --pt-bg1: #FF8BE5; --pt-bg2: #7B2CFF; --pt-ring: #22E6FF; --pt-j1: #22E6FF; --pt-j2: #0FA9C2;
}

@media (min-width: 2000px) { :root { --max: 2040px; --nav-h: 86px; } .nav__row { height: 66px; } }

/* ---------- 3 · BASE ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: clamp(16px, .28vw + 14.6px, 19px);
  line-height: 1.6;
  font-weight: 450;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color .5s var(--ease), color .5s var(--ease);
}
img, svg, video { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, blockquote, figure { margin: 0; }
ul[role="list"], ol.strip__track, ol.beats { list-style: none; padding: 0; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.btn--accent:focus-visible, .chip.is-on:focus-visible { outline-color: var(--ink); }
.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.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; }
.skip { position: fixed; left: 16px; top: -60px; z-index: 300; background: var(--accent); color: var(--accent-ink); padding: 10px 16px; border-radius: 10px; font-weight: 700; text-decoration: none; transition: top .2s; }
.skip:focus { top: 16px; }
.mono { font-family: var(--f-mono); }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.sec { padding-block: var(--sec-pad); position: relative; }

/* ---------- 4 · UI KIT ---------- */
.rec-dot { display: inline-block; width: .62em; height: .62em; border-radius: 50%; background: var(--rec); box-shadow: 0 0 0 0 var(--rec); animation: rec 1.6s var(--ease) infinite; flex: none; vertical-align: middle; }
@keyframes rec { 0%, 55% { opacity: 1; } 70%, 100% { opacity: .25; } }

.btn {
  --mx: 0px; --my: 0px;
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .9em 1.35em; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--f-sans); font-weight: 750; font-size: 15px; line-height: 1; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn .ico { width: 1.05em; height: 1.05em; }
.btn--lg { padding: 1.12em 1.7em; font-size: 16px; }
.btn--sm { padding: .72em 1.1em; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn--accent { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 30px -10px var(--glow); }
.btn--accent:hover { box-shadow: 0 16px 40px -10px var(--glow), 0 0 0 4px var(--accent-soft); }
.btn--ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); background: var(--accent-soft); }

.chip {
  display: inline-flex; align-items: center; gap: .4em; padding: .55em 1em; border-radius: 999px;
  border: 1px solid var(--line-2); background: transparent; cursor: pointer;
  font-weight: 700; font-size: 14px; transition: all .3s var(--ease);
}
.chip sup { font-family: var(--f-mono); font-size: 10px; opacity: .7; top: -.4em; }
.chip:hover { border-color: var(--ink); }
.chip.is-on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.slate {
  display: inline-flex; align-items: stretch; border: 1px solid var(--line-2); border-radius: 7px; overflow: hidden;
  font-family: var(--f-mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; line-height: 1;
  margin-bottom: clamp(18px, 2vw, 28px); background: color-mix(in srgb, var(--bg) 60%, transparent);
}
.slate > span { padding: 7px 10px; }
.slate > span + span { border-left: 1px solid var(--line-2); }
.slate__sc { background: var(--ink); color: var(--bg); font-weight: 600; }
.slate__tc { color: var(--accent-text); }
.slate__label { color: var(--ink-2); }

.sec-head { max-width: 1100px; }
.sec-head--row { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; flex-wrap: wrap; }
.sec-head--row .sec-lede { max-width: 440px; margin-bottom: .5em; }
.sec-title {
  font-family: var(--f-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(52px, 7.4vw, 140px); line-height: .86; letter-spacing: -.005em;
  text-wrap: balance;
}
.sec-lede { margin-top: 18px; font-size: clamp(16px, .45vw + 14px, 20px); color: var(--ink-2); max-width: 560px; text-wrap: pretty; }
.sec-lede b { color: var(--ink); font-weight: 750; }
.hint-touch { display: none; }
@media (hover: none) { .hint-hover { display: none; } .hint-touch { display: inline; } }

.iconbtn {
  width: 46px; height: 46px; border-radius: 50%; display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); background: color-mix(in srgb, var(--bg) 70%, transparent); cursor: pointer;
  transition: all .25s var(--ease);
}
.iconbtn:hover { border-color: var(--ink); background: var(--accent-soft); }
.iconbtn .ico { width: 20px; height: 20px; }

/* ---------- 5 · OVERLAYS: grain, vignette, cursor, intro leader ---------- */
.grain {
  position: fixed; inset: -120px; z-index: 120; pointer-events: none; opacity: var(--grain-o);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5 0 0 0 0 .5 0 0 0 0 .5 0 0 0 1.6 -.3'/%3E%3C/filter%3E%3Crect width='240' height='240' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  animation: grain .9s steps(5) infinite;
}
[data-theme="daylight"] .grain { mix-blend-mode: multiply; }
@keyframes grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-46px, 22px); } 40% { transform: translate(30px, -60px); } 60% { transform: translate(-70px, -14px); } 80% { transform: translate(54px, 40px); } 100% { transform: translate(0, 0); } }
body::after { content: ""; position: fixed; inset: 0; z-index: 119; pointer-events: none; background: var(--vignette); }

.cursor {
  position: fixed; left: 0; top: 0; z-index: 140; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%;
  display: grid; place-items: center; pointer-events: none; transform: scale(0);
  background: var(--accent); color: var(--accent-ink);
  font: 600 11px/1 var(--f-mono); letter-spacing: .14em; text-transform: uppercase;
}
.cursor span::before { content: ""; display: inline-block; width: 0; height: 0; border-left: 7px solid currentColor; border-block: 4.5px solid transparent; margin-right: 6px; vertical-align: 0; }

.leader { display: none; }
.js .leader {
  position: fixed; inset: 0; z-index: 400; display: grid; place-content: center; justify-items: center; gap: 26px;
  background: var(--bg); color: var(--ink);
}
.leader.is-skipped { display: none !important; }
.leader__ring {
  position: relative; width: min(46vw, 230px); aspect-ratio: 1; border-radius: 50%;
  border: 2px solid var(--line-2); display: grid; place-items: center; overflow: hidden;
  background:
    linear-gradient(var(--line-2), var(--line-2)) center / 1px 100% no-repeat,
    linear-gradient(var(--line-2), var(--line-2)) center / 100% 1px no-repeat;
}
.leader__ring::after { content: ""; position: absolute; inset: 14%; border-radius: 50%; border: 1px solid var(--line-2); }
.leader__sweep { position: absolute; inset: 0; border-radius: 50%; background: conic-gradient(from 0deg, var(--accent-soft) 0deg, color-mix(in srgb, var(--accent) 38%, transparent) var(--sweep, 0deg), transparent var(--sweep, 0deg)); }
.leader__num { position: relative; z-index: 2; font: 800 clamp(80px, 18vw, 140px)/1 var(--f-display); }
.leader__label { display: flex; align-items: center; gap: 10px; font: 500 11px/1 var(--f-mono); letter-spacing: .16em; color: var(--ink-3); }

/* ---------- 6 · NAV + TIMELINE SCRUBBER + MOBILE MENU ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 100; }
.nav__row, .scrub { background: color-mix(in srgb, var(--bg) 74%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); }
.nav__row { height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding-inline: var(--gutter); }
.nav__logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 800 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .04em; }
.nav__logo .rec-dot { width: 10px; height: 10px; }
.nav__links ul { display: flex; gap: clamp(14px, 2.2vw, 34px); list-style: none; padding: 0; }
.nav__links a { position: relative; text-decoration: none; font-weight: 650; font-size: 14.5px; color: var(--ink-2); padding: 6px 0; transition: color .25s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease); }
.nav__links a:hover { color: var(--ink); }
.nav__links a:hover::after, .nav__links a.is-current::after { transform: scaleX(1); transform-origin: left; }
.nav__links a.is-current { color: var(--ink); }
.nav__right { display: flex; align-items: center; gap: 18px; }
.nav__tc { font: 500 12px/1 var(--f-mono); letter-spacing: .06em; color: var(--ink-2); white-space: nowrap; }
.nav__tc-label { color: var(--ink-3); margin-right: 4px; }
.nav__burger { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-2); background: transparent; cursor: pointer; position: relative; }
.nav__burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .35s var(--ease), top .35s var(--ease); }
.nav__burger span:first-child { top: 17px; }
.nav__burger span:last-child { top: 25px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

.scrub { height: 18px; position: relative; border-bottom: 1px solid var(--line); cursor: ew-resize; touch-action: none; }
.scrub:hover .scrub__track::before { background: repeating-linear-gradient(90deg, var(--ink-3) 0 1px, transparent 1px 9px); }
.scrub__track { position: absolute; inset: 0 var(--gutter); }
.scrub__track::before, .scrub__fill { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 7px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 9px); }
.scrub__track::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 11px; background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px 90px); }
.scrub__fill { background: repeating-linear-gradient(90deg, var(--accent) 0 1px, transparent 1px 9px); transform-origin: left; transform: scaleX(0); height: 9px; }
.scrub__marks i { position: absolute; bottom: 0; width: 7px; height: 7px; margin-left: -3.5px; transform: translateY(-9px) rotate(45deg); background: var(--ink-3); }
.scrub__marks i.is-past { background: var(--accent); }
.scrub__head { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--accent); will-change: transform; }
.scrub__head::before { content: ""; position: absolute; top: 0; left: -4px; border-left: 5px solid transparent; border-right: 5px solid transparent; border-top: 6px solid var(--accent); }
.scrub__head span { position: absolute; left: 8px; top: 2px; font: 600 9px/1 var(--f-mono); letter-spacing: .14em; color: var(--accent-text); white-space: nowrap; }
.scrub__head.is-flip span { left: auto; right: 8px; }

.menu {
  position: fixed; inset: 0; z-index: 90; padding: calc(var(--nav-h) + 24px) var(--gutter) 32px;
  background: var(--bg); display: flex; flex-direction: column; justify-content: space-between;
}
.menu[hidden] { display: none; }
.menu ul { list-style: none; padding: 0; }
.menu a { display: flex; align-items: baseline; gap: 14px; padding: 8px 0; text-decoration: none; font: 800 clamp(42px, 12vw, 72px)/1 var(--f-display); text-transform: uppercase; border-bottom: 1px solid var(--line); }
.menu__n { font: 500 12px/1 var(--f-mono); color: var(--accent-text); }
.menu__foot { display: flex; gap: 10px; align-items: center; font: 500 12px/1 var(--f-mono); letter-spacing: .1em; color: var(--ink-2); text-transform: uppercase; }

@media (max-width: 899px) {
  :root { --nav-h: 74px; }
  .nav__row { height: 56px; }
  .nav__links, .nav__tc { display: none; }
  .nav__burger { display: block; }
  .nav__right .btn { display: none; }
}

/* ---------- 7 · HERO ---------- */
.hero { position: relative; min-height: 100svh; padding: calc(var(--nav-h) + clamp(28px, 5vh, 64px)) 0 clamp(80px, 10vh, 120px); display: flex; flex-direction: column; justify-content: center; overflow: clip; }
.hero__guides { position: absolute; inset: calc(var(--nav-h) + 14px) clamp(10px, 1.6vw, 28px) 14px; pointer-events: none; }
.hero__safe { position: absolute; inset: 4% 3%; border: 1px dashed var(--line); border-radius: 4px; }
.hero__safe em { position: absolute; bottom: 8px; right: 10px; font: 500 9.5px/1 var(--f-mono); letter-spacing: .2em; font-style: normal; color: var(--ink-3); opacity: .7; }
.crop { position: absolute; width: 22px; height: 22px; border-color: var(--ink-3); border-style: solid; border-width: 0; opacity: .8; }
.crop--tl { top: 0; left: 0; border-top-width: 1.5px; border-left-width: 1.5px; }
.crop--tr { top: 0; right: 0; border-top-width: 1.5px; border-right-width: 1.5px; }
.crop--bl { bottom: 0; left: 0; border-bottom-width: 1.5px; border-left-width: 1.5px; }
.crop--br { bottom: 0; right: 0; border-bottom-width: 1.5px; border-right-width: 1.5px; }
.hero__glow { position: absolute; right: -10%; top: 8%; width: 70vw; height: 80vh; border-radius: 50%; background: radial-gradient(closest-side, var(--glow), transparent 70%); filter: blur(10px); pointer-events: none; }
[data-theme="neon"] .hero__glow { background: radial-gradient(closest-side, rgba(255, 61, 203, .3), rgba(34, 230, 255, .12) 55%, transparent 75%); }

.hero__copy { container-type: inline-size; }
.hero__grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 90px); align-items: center; }
.hero__rec { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; font: 500 12px/1 var(--f-mono); letter-spacing: .08em; color: var(--ink-2); text-transform: uppercase; }
.rec-pill { display: inline-flex; align-items: center; gap: 7px; padding: 6px 10px 6px 8px; border-radius: 6px; background: color-mix(in srgb, var(--rec) 16%, transparent); color: var(--ink); font-weight: 600; letter-spacing: .14em; }
.hero__rec [data-live-tc] { color: var(--accent-text); font-variant-numeric: tabular-nums; }
.hero__niche { color: var(--ink-3); letter-spacing: .06em; }
.hero__title {
  margin: clamp(18px, 2.4vh, 30px) 0 clamp(18px, 2.6vh, 30px);
  font-family: var(--f-display); font-weight: 850; text-transform: uppercase;
  font-size: clamp(54px, min(17.6cqi, 14.5vh), 200px); line-height: .84; letter-spacing: -.008em;
}
.hero__title .line { display: block; }
.hero__title em { font-style: normal; color: var(--accent-display); position: relative; }
.hero__lede { max-width: 33em; font-size: clamp(16px, .5vw + 13.6px, 21px); color: var(--ink-2); text-wrap: pretty; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(22px, 3.4vh, 38px); }
.hero__proof { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-top: clamp(22px, 3.4vh, 36px); list-style: none; padding: 0; font-size: 14px; color: var(--ink-3); }
.hero__proof b { font: 800 22px/1 var(--f-display); color: var(--ink); letter-spacing: .02em; margin-right: 4px; }

.hero__stage { position: relative; height: min(74vh, 780px); min-height: 460px; perspective: 1700px; }
.fan { position: absolute; inset: 0; transform-style: preserve-3d; }
.phone {
  --pw: clamp(150px, 15.4vw, 320px);
  position: absolute; left: 50%; top: 48%; width: var(--pw); aspect-ratio: 9 / 19.2; margin: calc(var(--pw) * 19.2 / 9 / -2) 0 0 calc(var(--pw) / -2);
  border-radius: calc(var(--pw) * .15); padding: calc(var(--pw) * .035);
  background: linear-gradient(145deg, #2C2C33, #0C0C0F 40%, #1B1B21);
  box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .14), inset 0 0 0 4px #050506, var(--shadow);
  transform-style: preserve-3d; will-change: transform;
}
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .12); overflow: hidden; background: #000; isolation: isolate; }
.phone__screen::after { content: ""; position: absolute; top: 2.4%; left: 50%; width: 30%; height: 3.4%; translate: -50% 0; border-radius: 99px; background: #050506; z-index: 10; }
.phone__screen > .clip { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; }
.phone--l { transform: translate3d(-64%, 6%, -120px) rotateY(24deg) rotateZ(-7deg); }
.phone--r { transform: translate3d(64%, 4%, -120px) rotateY(-24deg) rotateZ(7deg); }
.phone--c { transform: translate3d(0, -2%, 40px) scale(1.06); z-index: 3; }

.talent {
  position: absolute; left: 0; bottom: 2%; z-index: 6; display: flex; align-items: center; gap: 14px;
  padding: 10px 18px 10px 10px; border-radius: 20px; max-width: 320px;
  background: color-mix(in srgb, var(--bg-3) 82%, transparent); border: 1px solid var(--line-2);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: var(--shadow);
}
.talent__photo { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex: none; box-shadow: 0 0 0 2px var(--accent); }
.talent__photo svg, .talent__photo img { width: 100%; height: 100%; object-fit: cover; }
.talent__name { font: 800 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.talent__role { font-size: 13px; color: var(--ink-2); margin-top: 3px; }
.talent__status { display: flex; align-items: center; gap: 7px; margin-top: 6px; font: 500 10.5px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ok); }
.talent__status .rec-dot { background: var(--ok); width: 7px; height: 7px; }

.hero__scroll { position: absolute; left: 50%; bottom: 22px; translate: -50% 0; display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 500 11px/1 var(--f-mono); letter-spacing: .18em; text-transform: uppercase; color: var(--ink-3); }
.hero__scroll .ico { width: 14px; height: 14px; animation: bob 1.8s var(--ease) infinite; }
.hero__scroll-perf { width: 20px; height: 12px; background: radial-gradient(circle, var(--ink-3) 1.6px, transparent 2px) 0 0 / 6.6px 6px; opacity: .7; }
@keyframes bob { 0%, 100% { transform: translateY(-2px); } 50% { transform: translateY(3px); } }

.js .hero [data-hero-in] { opacity: 0; }

@media (max-width: 899px) {
  .hero { padding-top: calc(var(--nav-h) + 26px); justify-content: flex-start; }
  .hero__grid { grid-template-columns: 1fr; gap: 10px; }
  .hero__title { font-size: clamp(50px, 17.4cqi, 120px); }
  .hero__stage { height: auto; min-height: 0; aspect-ratio: 1 / .98; margin-top: 18px; }
  .phone { --pw: min(37vw, 230px); top: 46%; }
  .phone--l { transform: translate3d(-70%, 6%, -120px) rotateY(22deg) rotateZ(-8deg); }
  .phone--r { transform: translate3d(70%, 4%, -120px) rotateY(-22deg) rotateZ(8deg); }
  .talent { left: 0; right: 0; margin-inline: auto; width: fit-content; bottom: -2%; padding: 8px 14px 8px 8px; gap: 10px; }
  .talent__photo { width: 48px; height: 48px; }
  .talent__name { font-size: 18px; white-space: nowrap; }
  .talent__role { font-size: 12px; white-space: nowrap; }
  .hero__scroll { display: none; }
  .hero__guides { inset: calc(var(--nav-h) + 8px) 8px 8px; }
}

/* ---------- 8 · CLIPS (video slots) + PLACEHOLDER SCENES ---------- */
.clip { position: relative; display: block; width: 100%; aspect-ratio: 9 / 16; overflow: hidden; background: #15131a; isolation: isolate; }
.clip--card { aspect-ratio: 4 / 5; }
.clip__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1; }
/* No source yet → hide the <video>, show the animated placeholder scene. JS adds .has-video once a source exists. */
.clip:not(.has-video) .clip__video { display: none; }
.clip.has-video .scene { display: none; }

.scene { position: absolute; inset: 0; display: block; overflow: hidden; container: scene / size; z-index: 0; color: #fff; }
.scene:empty { background: linear-gradient(160deg, #3a2b4f, #b8574a); }
.scene:empty::after { content: attr(data-caption); position: absolute; left: 8%; right: 8%; top: 40%; text-align: center; font: 800 16px/1.3 var(--f-sans); color: #111; background: #fff; padding: 6px 10px; border-radius: 8px; }
.scene__art { position: absolute; left: 50%; top: 50%; width: 100%; height: auto; aspect-ratio: 9 / 16; translate: -50% -50%; container: art / size; display: block; }
@container scene (max-aspect-ratio: 9 / 16) { .scene__art { width: auto; height: 100%; } }
.scene__art > *, .scene__art i, .scene__art b { position: absolute; display: block; }
.scene__art .bg { inset: 0; }
.scene i, .scene em { font-style: normal; }
.scene__art span { display: block; }
.sc-coffee .glass, .sc-beforeafter .before, .sc-beforeafter .lips, .sc-grwm .face { position: absolute; }
.ui i { display: block; font-style: normal; }

/* pause every loop unless the clip is in view / hovered (JS toggles .is-playing) */
.clip:not(.is-playing) .scene, .clip:not(.is-playing) .scene * { animation-play-state: paused !important; }

/* TikTok-style text overlay */
.cap {
  position: absolute; left: 7%; right: 7%; top: 27%; z-index: 4; text-align: center; display: block;
  font: 800 6.4cqw/1.42 var(--f-sans); color: #121212; letter-spacing: -.01em;
}
.cap > span { background: #fff; padding: .14em .42em; border-radius: .32em; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cap--outline { color: #fff; font-size: 7.2cqw; line-height: 1.15; text-shadow: 0 0 .1em #000, 0 0 .1em #000, 0 .06em .14em rgba(0, 0, 0, .8); }
.cap--outline > span { background: none; padding: 0; }
.cap--sub { top: auto; bottom: 20%; font: 700 5.2cqw/1.3 var(--f-sans); color: #fff; text-shadow: 0 .08em .3em rgba(0, 0, 0, .7); }
.cap--sub > span { background: rgba(0, 0, 0, .45); padding: .1em .4em; border-radius: .2em; }
.clip--card .cap { top: auto; bottom: 9%; font-size: 5.8cqw; }

/* platform UI layer (generic glyphs) — shown in phones + player, hidden on wall tiles */
.ui { position: absolute; inset: 0; z-index: 5; display: block; font-family: var(--f-sans); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .35); pointer-events: none; }
.ui > span { position: absolute; display: flex; }
.ui__top { top: 6.5%; left: 0; right: 0; justify-content: center; gap: 5cqw; font-size: 4.1cqw; font-weight: 700; }
.ui__top span { opacity: .7; }
.ui__top b { padding-bottom: 1cqw; border-bottom: .6cqw solid #fff; }
.ui--reels .ui__top, .ui--shorts .ui__top { justify-content: space-between; left: 5%; right: 5%; font-size: 5cqw; align-items: center; }
.ui--reels .ui__top b, .ui--shorts .ui__top b { border: 0; }
.ui__top .ico { width: 6cqw; height: 6cqw; }
.ui__rail { right: 3.2%; bottom: 19%; flex-direction: column; align-items: center; gap: 4.4cqw; }
.ui__av { width: 10.5cqw; height: 10.5cqw; border-radius: 50%; border: .55cqw solid #fff; background: radial-gradient(circle at 50% 38%, #E2A07B 0 26%, transparent 27%), radial-gradient(circle at 50% 110%, #F4ECDC 0 46%, transparent 47%), linear-gradient(160deg, #FF9A6B, #FF5A1F); position: relative; }
.ui__av::after { content: "+"; position: absolute; left: 50%; bottom: -2.4cqw; translate: -50% 0; width: 4.6cqw; height: 4.6cqw; border-radius: 50%; background: #FF3B5C; font: 800 3.6cqw/4.6cqw var(--f-sans); text-align: center; }
.ui__btn { display: flex; flex-direction: column; align-items: center; gap: .6cqw; font-size: 2.8cqw; font-weight: 700; }
.ui__btn .ico { width: 8.4cqw; height: 8.4cqw; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .3)); }
.ui__btn.is-liked .ico { color: #FF3B5C; }
.ui__disc { width: 9.6cqw; height: 9.6cqw; border-radius: 50%; background: radial-gradient(circle, #FF9A6B 0 22%, #111 23% 60%, #333 61% 64%, #111 65%); animation: spin 5s linear infinite; }
.ui__cap { left: 4.4%; right: 21%; bottom: 5.6%; flex-direction: column; gap: .8cqw; font-size: 3.5cqw; line-height: 1.35; }
.ui__cap b { font-size: 4cqw; }
.ui__sound { display: flex; align-items: center; gap: 1.4cqw; font-size: 3.2cqw; white-space: nowrap; overflow: hidden; }
.ui__sound .ico { width: 3.6cqw; height: 3.6cqw; }
.ui__prog { left: 0; right: 0; bottom: 0; height: .7cqw; background: rgba(255, 255, 255, .28); }
.ui__prog i { position: absolute; inset: 0; background: #fff; transform-origin: left; animation: prog 9s linear infinite; }
.tile .ui, .clip--card .ui { display: none; }
@keyframes prog { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-3.5%) rotate(2deg); } }
@keyframes twinkle { 0%, 100% { transform: scale(.2) rotate(0); opacity: 0; } 45% { transform: scale(1) rotate(45deg); opacity: 1; } 70% { transform: scale(.6) rotate(70deg); opacity: .6; } }
@keyframes rise { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: 1; } 100% { transform: translateY(-34cqw) scale(1.1); opacity: 0; } }
@keyframes pulseScale { 0%, 100% { transform: scale(1); } 12% { transform: scale(1.07); } 30% { transform: scale(1); } 52% { transform: scale(1.05); } 70% { transform: scale(1); } }
.spark { width: 7cqw; height: 7cqw; background: #fff; clip-path: polygon(50% 0, 61% 39%, 100% 50%, 61% 61%, 50% 100%, 39% 61%, 0 50%, 39% 39%); animation: twinkle 2.6s ease-in-out infinite; }

/* --- scene: SERUM (beauty) --- */
.sc-serum .bg { background: radial-gradient(120% 80% at 50% 26%, #FFE7D8 0%, #F7AF90 42%, #D7625A 100%); }
.sc-serum .sun { left: 50%; top: 40%; width: 92cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 246, 236, .95), rgba(255, 246, 236, 0) 70%); animation: sunPulse 4s ease-in-out infinite; }
@keyframes sunPulse { 0%, 100% { transform: scale(.94); opacity: .85; } 50% { transform: scale(1.04); opacity: 1; } }
.sc-serum .shelf { left: -5%; right: -5%; bottom: 0; height: 30%; background: linear-gradient(180deg, #E58C77, #B7514C); border-top: .6cqw solid rgba(255, 255, 255, .35); }
.bottle { left: 50%; top: 55%; width: 30cqw; translate: -50% -50%; animation: floaty 4.2s ease-in-out infinite; }
.bottle .b-bulb { position: relative; margin: 0 auto; width: 12cqw; height: 14cqw; border-radius: 48% 48% 26% 26%; background: linear-gradient(90deg, #121214, #3d3d45 38%, #0e0e10); }
.bottle .b-collar { position: relative; margin: 0 auto; width: 18cqw; height: 6cqw; border-radius: 1.4cqw 1.4cqw .6cqw .6cqw; background: linear-gradient(90deg, #a77f45, #f6dfab 42%, #8f6a37); }
.bottle .b-glass { position: relative; width: 30cqw; height: 40cqw; border-radius: 5cqw 5cqw 6.5cqw 6.5cqw; overflow: hidden; background: linear-gradient(90deg, rgba(255, 255, 255, .42), rgba(255, 255, 255, .1) 42%, rgba(255, 255, 255, .3)); box-shadow: inset 0 0 0 .6cqw rgba(255, 255, 255, .55), 0 6cqw 8cqw -3cqw rgba(110, 30, 20, .45); }
.bottle .b-liquid { left: 0; right: 0; bottom: 0; height: 74%; background: linear-gradient(180deg, #FFBE76, #F0763A); }
.bottle .b-liquid::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 2cqw; background: rgba(255, 240, 210, .6); }
.bottle .b-label { position: absolute; left: 13%; right: 13%; top: 36%; padding: 2.2cqw 0 1.8cqw; border-radius: 1.6cqw; background: #FFF6EC; color: #2a1a14; text-align: center; font: 800 6.2cqw/1 var(--f-display); letter-spacing: .22em; text-indent: .22em; }
.bottle .b-label small { display: block; margin-top: 1.2cqw; font: 600 2.1cqw/1 var(--f-mono); letter-spacing: .12em; text-indent: 0; }
.bottle .b-shine { left: 11%; top: 6%; width: 10%; height: 84%; border-radius: 99px; background: linear-gradient(rgba(255, 255, 255, .85), rgba(255, 255, 255, 0)); }
.bottle .bub { bottom: -3cqw; width: 2.2cqw; height: 2.2cqw; border-radius: 50%; border: .35cqw solid rgba(255, 255, 255, .8); animation: bubble 3.2s linear infinite; }
.bottle .bub:nth-child(1) { left: 22%; animation-delay: -.2s; }
.bottle .bub:nth-child(2) { left: 48%; animation-delay: -1.3s; width: 1.6cqw; height: 1.6cqw; }
.bottle .bub:nth-child(3) { left: 70%; animation-delay: -2.1s; }
.bottle .bub:nth-child(4) { left: 36%; animation-delay: -2.7s; width: 1.2cqw; height: 1.2cqw; }
.bottle .bub:nth-child(5) { left: 60%; animation-delay: -.8s; width: 1.4cqw; height: 1.4cqw; }
@keyframes bubble { 0% { transform: translateY(0); opacity: 0; } 10% { opacity: 1; } 85% { opacity: .9; } 100% { transform: translateY(-28cqw); opacity: 0; } }
.sc-serum .spark.s1 { left: 18%; top: 30%; animation-delay: -.4s; }
.sc-serum .spark.s2 { left: 74%; top: 38%; width: 5cqw; height: 5cqw; animation-delay: -1.4s; }
.sc-serum .spark.s3 { left: 68%; top: 22%; width: 4cqw; height: 4cqw; animation-delay: -2s; }
.sc-serum .sticker { left: 9%; bottom: 33%; padding: 1.4cqw 2.6cqw; border-radius: 99px; background: #2a1a14; color: #FFE7D8; font: 700 3.4cqw/1 var(--f-mono); rotate: -8deg; }

/* --- scene: HEADPHONES (tech) --- */
.sc-headphones .bg { background: radial-gradient(90% 60% at 50% 45%, #5B6CFF 0%, #2A2FD9 45%, #120F5C 100%); }
.sc-headphones .ring { left: 50%; top: 45%; width: 60cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; border: .5cqw solid rgba(255, 255, 255, .5); animation: ringOut 2.4s cubic-bezier(.2, .7, .3, 1) infinite; }
.sc-headphones .ring:nth-of-type(3) { animation-delay: -.8s; }
.sc-headphones .ring:nth-of-type(4) { animation-delay: -1.6s; }
@keyframes ringOut { 0% { transform: scale(.4); opacity: 0; } 20% { opacity: .9; } 100% { transform: scale(1.9); opacity: 0; } }
.sc-headphones .hp { left: 50%; top: 45%; width: 66cqw; translate: -50% -50%; animation: pulseScale 1.2s ease-out infinite; filter: drop-shadow(0 4cqw 5cqw rgba(0, 0, 20, .5)); }
.sc-headphones .hp svg { width: 100%; height: auto; }
.sc-headphones .eq { left: 18%; right: 18%; bottom: 25%; height: 12cqw; display: flex; align-items: flex-end; justify-content: space-between; }
.sc-headphones .eq i { position: relative; width: 4.2cqw; height: 100%; border-radius: 1cqw; background: linear-gradient(#FFD36B, #FF5A1F); transform-origin: bottom; animation: eq 1s ease-in-out infinite; }
.sc-headphones .eq i:nth-child(2n) { animation-duration: .8s; animation-delay: -.3s; }
.sc-headphones .eq i:nth-child(3n) { animation-duration: 1.3s; animation-delay: -.6s; }
.sc-headphones .eq i:nth-child(4n+1) { animation-delay: -.15s; }
@keyframes eq { 0%, 100% { transform: scaleY(.2); } 50% { transform: scaleY(1); } }
.sc-headphones .note { width: 7cqw; height: 7cqw; color: #FFD36B; animation: rise 3.4s ease-out infinite; }
.sc-headphones .note svg { width: 100%; height: 100%; }
.sc-headphones .note.n1 { left: 14%; top: 50%; }
.sc-headphones .note.n2 { left: 78%; top: 44%; animation-delay: -1.7s; color: #fff; }

/* --- scene: COFFEE (lifestyle) --- */
.sc-coffee .bg { background: linear-gradient(170deg, #FBEBD2 0%, #E9C08E 55%, #B9773F 100%); }
.sc-coffee .window { left: -20%; top: -10%; width: 90%; height: 70%; background: repeating-linear-gradient(115deg, rgba(255, 255, 255, .34) 0 9cqw, transparent 9cqw 17cqw); filter: blur(1.4cqw); opacity: .8; }
.sc-coffee .table { left: -5%; right: -5%; bottom: 0; height: 26%; background: linear-gradient(180deg, #8C5631, #5E3519); }
.sc-coffee .mug { left: 50%; bottom: 20%; width: 42cqw; height: 46cqw; translate: -50% 0; }
.sc-coffee .glass { left: 0; right: 14%; top: 0; bottom: 0; border-radius: 2cqw 2cqw 8cqw 8cqw; background: linear-gradient(90deg, rgba(255, 255, 255, .5), rgba(255, 255, 255, .14) 40%, rgba(255, 255, 255, .34)); box-shadow: inset 0 0 0 .7cqw rgba(255, 255, 255, .65); overflow: hidden; }
.sc-coffee .fill { left: 0; right: 0; bottom: 0; height: 100%; background: linear-gradient(180deg, #E8C79C 0 9%, #9A5A2C 10%, #4A2511 100%); transform-origin: bottom; animation: fillUp 5s ease-in-out infinite; }
@keyframes fillUp { 0% { transform: scaleY(.18); } 70% { transform: scaleY(.86); } 88%, 100% { transform: scaleY(.86); } }
.sc-coffee .handle { right: 0; top: 18%; width: 18%; height: 46%; border-radius: 0 50% 50% 0; border: 1.6cqw solid rgba(255, 255, 255, .6); border-left: 0; }
.sc-coffee .stream { left: 41%; top: 0; width: 3.4cqw; height: 60%; translate: -50% 0; border-radius: 0 0 2cqw 2cqw; background: linear-gradient(90deg, #4A2511, #8C4E24 45%, #4A2511); transform-origin: top; animation: pour 5s ease-in-out infinite; }
@keyframes pour { 0% { transform: scaleY(0); } 8% { transform: scaleY(1); } 64% { transform: scaleY(1) scaleX(.7); } 74%, 100% { transform: scaleY(0) scaleX(.5); } }
.sc-coffee .kettle { left: 30%; top: -4%; width: 26cqw; height: 16cqw; border-radius: 3cqw 3cqw 6cqw 6cqw; background: linear-gradient(180deg, #2E2E33, #121214); rotate: 18deg; }
.sc-coffee .kettle::after { content: ""; position: absolute; right: -16%; bottom: 10%; width: 40%; height: 2.4cqw; background: #1b1b1f; border-radius: 99px; rotate: 22deg; }
.sc-coffee .steam { width: 12cqw; height: 20cqw; bottom: 68%; color: rgba(255, 255, 255, .75); animation: steam 3.6s ease-in-out infinite; }
.sc-coffee .steam.s1 { left: 34%; }
.sc-coffee .steam.s2 { left: 50%; animation-delay: -1.8s; }
.sc-coffee .steam svg { width: 100%; height: 100%; }
@keyframes steam { 0% { transform: translateY(4cqw) scaleY(.6); opacity: 0; } 40% { opacity: .9; } 100% { transform: translateY(-10cqw) scaleY(1.1); opacity: 0; } }
.sc-coffee .bean { width: 5cqw; height: 7cqw; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #8A4A22, #3A1A09); bottom: 9%; }
.sc-coffee .bean::after { content: ""; position: absolute; left: 47%; top: 12%; bottom: 12%; width: .6cqw; border-radius: 99px; background: rgba(0, 0, 0, .45); rotate: 8deg; }
.sc-coffee .bean.k1 { left: 14%; rotate: -30deg; }
.sc-coffee .bean.k2 { left: 22%; bottom: 6%; rotate: 20deg; }
.sc-coffee .bean.k3 { left: 80%; bottom: 8%; rotate: 60deg; }

/* --- scene: CANDLE (home) --- */
.sc-candle .bg { background: radial-gradient(70% 50% at 50% 46%, #7A4A26 0%, #3A2418 46%, #150D0A 100%); }
.sc-candle .glow { left: 50%; top: 44%; width: 110cqw; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 186, 92, .55), rgba(255, 140, 50, .14) 50%, transparent 72%); animation: glow 2.2s ease-in-out infinite; }
@keyframes glow { 0%, 100% { opacity: .85; transform: scale(1); } 40% { opacity: 1; transform: scale(1.05); } 70% { opacity: .78; transform: scale(.98); } }
.sc-candle .shelf { left: -5%; right: -5%; top: 66%; height: 4cqw; background: linear-gradient(#9A6A43, #5C3A21); box-shadow: 0 3cqw 6cqw rgba(0, 0, 0, .5); }
.sc-candle .books { left: 6%; bottom: 34%; width: 24cqw; height: 26cqw; display: flex; align-items: flex-end; gap: .8cqw; }
.sc-candle .books i { position: relative; width: 5cqw; border-radius: .6cqw; }
.sc-candle .books i:nth-child(1) { height: 92%; background: #6B8F71; }
.sc-candle .books i:nth-child(2) { height: 78%; background: #D9A86C; }
.sc-candle .books i:nth-child(3) { height: 100%; background: #B5543C; }
.sc-candle .books i:nth-child(4) { height: 70%; background: #E8DCC5; rotate: 12deg; transform-origin: bottom left; }
.sc-candle .plant { right: 7%; bottom: 34%; width: 18cqw; height: 30cqw; }
.sc-candle .plant::before { content: ""; position: absolute; left: 15%; right: 15%; bottom: 0; height: 30%; border-radius: 1cqw 1cqw 3cqw 3cqw; background: #C9B49A; }
.sc-candle .plant::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 74%; border-radius: 50% 50% 40% 40%; background: radial-gradient(circle at 30% 30%, #6E9B6A, #2F5A3A); }
.sc-candle .jar { left: 50%; top: 66%; width: 30cqw; height: 34cqw; translate: -50% -100%; border-radius: 2.4cqw 2.4cqw 4cqw 4cqw; background: linear-gradient(90deg, rgba(255, 200, 140, .35), rgba(255, 220, 170, .12) 40%, rgba(255, 200, 140, .28)); box-shadow: inset 0 0 0 .6cqw rgba(255, 220, 180, .45); overflow: hidden; }
.sc-candle .wax { left: 0; right: 0; bottom: 0; height: 66%; background: linear-gradient(180deg, #F7E9D2, #E6D0AE); }
.sc-candle .label { left: 14%; right: 14%; top: 50%; padding: 2cqw 0; border-radius: 1cqw; background: #2A2420; color: #F7E9D2; text-align: center; font: 300 4.6cqw/1 var(--f-sans); letter-spacing: .14em; }
.sc-candle .wick { left: 50%; top: calc(66% - 34cqw + 8cqw); width: .7cqw; height: 4cqw; translate: -50% 0; background: #2a1a10; border-radius: 99px; }
.sc-candle .flame { left: 50%; top: calc(66% - 34cqw - 4cqw); width: 6cqw; height: 12cqw; translate: -50% 0; border-radius: 50% 50% 50% 50% / 64% 64% 36% 36%; background: radial-gradient(circle at 50% 74%, #fff 0 18%, #FFE07A 30%, #FF9A2E 62%, rgba(255, 90, 31, 0) 80%); transform-origin: 50% 90%; animation: flicker 1.4s ease-in-out infinite; filter: blur(.15cqw); }
@keyframes flicker { 0%, 100% { transform: scale(1) skewX(0); } 25% { transform: scale(.94, 1.08) skewX(3deg); } 50% { transform: scale(1.04, .95) skewX(-2deg); } 75% { transform: scale(.97, 1.05) skewX(2deg); } }
.sc-candle .dust { width: 1.2cqw; height: 1.2cqw; border-radius: 50%; background: rgba(255, 220, 160, .8); animation: rise 6s linear infinite; }
.sc-candle .dust.d1 { left: 30%; top: 60%; }
.sc-candle .dust.d2 { left: 62%; top: 52%; animation-delay: -2s; }
.sc-candle .dust.d3 { left: 46%; top: 70%; animation-delay: -4s; }

/* --- scene: BEFORE / AFTER --- */
.sc-beforeafter .bg { background: linear-gradient(180deg, #F1DCD2, #E4C2B4); }
.sc-beforeafter .half { inset: 0; overflow: hidden; }
.sc-beforeafter .after { background: radial-gradient(80% 60% at 50% 46%, #F8D8D0, #E9B1A3); }
.sc-beforeafter .mask { inset: 0; overflow: hidden; transform: translateX(-50%); animation: baMask 4.8s ease-in-out infinite; }
.sc-beforeafter .before { inset: 0; transform: translateX(50%); background: radial-gradient(80% 60% at 50% 46%, #E6DAD4, #C9B9B2); animation: baInner 4.8s ease-in-out infinite; }
@keyframes baMask { 0%, 100% { transform: translateX(-22%); } 50% { transform: translateX(-78%); } }
@keyframes baInner { 0%, 100% { transform: translateX(22%); } 50% { transform: translateX(78%); } }
.sc-beforeafter .lips { left: 50%; top: 47%; width: 74cqw; translate: -50% -50%; }
.sc-beforeafter .lips svg { width: 100%; height: auto; }
.sc-beforeafter .before .lips { filter: saturate(.25) brightness(1.06); }
.sc-beforeafter .divider { top: 0; bottom: 0; left: 0; width: 100%; transform: translateX(50%); animation: baLine 4.8s ease-in-out infinite; }
.sc-beforeafter .divider::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: .7cqw; margin-left: -.35cqw; background: #fff; box-shadow: 0 0 3cqw rgba(0, 0, 0, .25); }
.sc-beforeafter .divider::after { content: "‹ ›"; position: absolute; left: 0; top: 47%; width: 11cqw; height: 11cqw; margin: -5.5cqw 0 0 -5.5cqw; border-radius: 50%; background: #fff; color: #222; display: grid; place-items: center; font: 800 4.6cqw/1 var(--f-sans); box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .25); }
@keyframes baLine { 0%, 100% { transform: translateX(78%); } 50% { transform: translateX(22%); } }
.sc-beforeafter .tag { top: 15%; padding: 1.4cqw 2.6cqw; border-radius: 99px; font: 700 3.2cqw/1 var(--f-mono); letter-spacing: .12em; }
.sc-beforeafter .tag.t-b { left: 6%; background: rgba(0, 0, 0, .55); color: #fff; }
.sc-beforeafter .tag.t-a { right: 6%; background: #fff; color: #C2224A; }
.sc-beforeafter .tube { left: 50%; bottom: 10%; width: 12cqw; height: 30cqw; translate: -50% 0; rotate: 18deg; border-radius: 2cqw; background: linear-gradient(90deg, #2a1a1e, #4d2d34 45%, #22151a); }
.sc-beforeafter .tube::before { content: ""; position: absolute; left: 12%; right: 12%; top: -26%; height: 30%; border-radius: 3cqw 3cqw .6cqw .6cqw; background: linear-gradient(90deg, #A3123A, #E8456E 45%, #8F0F33); }
.sc-beforeafter .tube::after { content: "ROSÉ"; position: absolute; left: 0; right: 0; top: 40%; text-align: center; font: 700 2.6cqw/1 var(--f-mono); color: #F3C9CF; letter-spacing: .1em; writing-mode: vertical-rl; translate: 1.6cqw 0; }

/* --- scene: UNBOXING --- */
.sc-unbox .bg { background: radial-gradient(90% 70% at 50% 40%, #F2EDFF, #C3B2FF 60%, #8C73E8 100%); }
.sc-unbox .rays { left: 50%; top: 54%; width: 160cqw; aspect-ratio: 1; translate: -50% -50%; background: repeating-conic-gradient(from 0deg, rgba(255, 255, 255, .55) 0 8deg, rgba(255, 255, 255, 0) 8deg 22deg); -webkit-mask: radial-gradient(closest-side, #000 20%, transparent 70%); mask: radial-gradient(closest-side, #000 20%, transparent 70%); animation: rays 4.8s ease-in-out infinite; }
@keyframes rays { 0%, 30% { opacity: 0; transform: rotate(0); } 50%, 85% { opacity: 1; } 100% { opacity: 0; transform: rotate(60deg); } }
.sc-unbox .box { left: 50%; bottom: 20%; width: 56cqw; height: 36cqw; translate: -50% 0; border-radius: 1.6cqw; background: linear-gradient(180deg, #1D1A24, #0E0C12); box-shadow: 0 5cqw 8cqw -2cqw rgba(40, 20, 90, .45); z-index: 3; }
.sc-unbox .box::after { content: "ORBIT"; position: absolute; left: 0; right: 0; top: 40%; text-align: center; font: 800 5cqw/1 var(--f-sans); letter-spacing: .5em; text-indent: .5em; color: #C3B2FF; }
.sc-unbox .lid { left: 50%; bottom: calc(20% + 36cqw - 1cqw); width: 60cqw; height: 9cqw; margin-left: -30cqw; border-radius: 1.6cqw; background: linear-gradient(180deg, #2C2836, #17141E); transform-origin: 15% 100%; transform: translate(-12cqw, -34cqw) rotate(-28deg); animation: lid 4.8s cubic-bezier(.3, .7, .2, 1) infinite; z-index: 4; }
@keyframes lid { 0%, 14% { transform: translate(0, 0) rotate(0); } 18% { transform: translate(0, -1cqw) rotate(-2deg); } 22% { transform: translate(0, 0) rotate(0); } 36%, 86% { transform: translate(-12cqw, -34cqw) rotate(-28deg); } 100% { transform: translate(0, 0) rotate(0); } }
.sc-unbox .product { left: 50%; bottom: 26%; width: 24cqw; height: 46cqw; margin-left: -12cqw; border-radius: 4cqw; background: linear-gradient(150deg, #FF8A5B, #FF3D6E); box-shadow: inset 0 0 0 1cqw rgba(255, 255, 255, .25); z-index: 2; transform: translateY(-22cqw) rotate(-6deg); animation: prodUp 4.8s cubic-bezier(.3, .7, .2, 1) infinite; }
.sc-unbox .product::before { content: ""; position: absolute; left: 14%; top: 6%; width: 32%; aspect-ratio: 1; border-radius: 2cqw; background: #1D1A24; box-shadow: inset 0 0 0 .8cqw #3a3546; }
.sc-unbox .product::after { content: ""; position: absolute; left: 50%; top: 55%; width: 12cqw; height: 12cqw; translate: -50% -50%; border-radius: 50%; border: .8cqw solid rgba(255, 255, 255, .8); }
@keyframes prodUp { 0%, 30% { transform: translateY(16cqw) rotate(0); opacity: 0; } 34% { opacity: 1; } 52%, 86% { transform: translateY(-22cqw) rotate(-6deg); opacity: 1; } 96%, 100% { transform: translateY(16cqw) rotate(0); opacity: 0; } }
.sc-unbox .conf { width: 2.4cqw; height: 2.4cqw; border-radius: .5cqw; top: 40%; animation: conf 4.8s ease-out infinite; opacity: 0; }
.sc-unbox .conf.c1 { left: 30%; background: #FFD36B; }
.sc-unbox .conf.c2 { left: 64%; background: #FF5A1F; animation-delay: .1s; }
.sc-unbox .conf.c3 { left: 46%; background: #fff; animation-delay: .2s; }
.sc-unbox .conf.c4 { left: 76%; background: #5EE6B8; animation-delay: .05s; }
@keyframes conf { 0%, 38% { transform: translate(0, 14cqw) rotate(0); opacity: 0; } 45% { opacity: 1; } 75% { transform: translate(var(--cx, 4cqw), -18cqw) rotate(220deg); opacity: 1; } 90%, 100% { opacity: 0; transform: translate(var(--cx, 4cqw), -10cqw) rotate(300deg); } }
.sc-unbox .conf.c1 { --cx: -10cqw; }
.sc-unbox .conf.c3 { --cx: -3cqw; }

/* --- scene: GRWM (mirror) --- */
.sc-grwm .bg { background: linear-gradient(170deg, #FBE3DA 0%, #F0B7A6 60%, #D9867A 100%); }
.sc-grwm .mirror { left: 50%; top: 46%; width: 64cqw; height: 92cqw; translate: -50% -50%; border-radius: 32cqw 32cqw 4cqw 4cqw; background: linear-gradient(180deg, #F7EFEA, #E6D4CE); box-shadow: 0 0 0 2.2cqw #F4E7DC, 0 0 0 2.6cqw rgba(0, 0, 0, .08), 0 6cqw 10cqw -3cqw rgba(90, 30, 20, .4); overflow: hidden; }
.sc-grwm .mirror::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(255, 255, 255, .55) 0 18%, transparent 18% 30%, rgba(255, 255, 255, .3) 30% 34%, transparent 34%); }
.sc-grwm .face { left: 50%; bottom: -6%; width: 96%; translate: -50% 0; }
.sc-grwm .face svg { width: 100%; height: auto; }
.sc-grwm .blush { opacity: .75; animation: blush 4.4s ease-in-out infinite; }
@keyframes blush { 0%, 30% { opacity: 0; } 55%, 100% { opacity: .75; } }
.sc-grwm .bulb { width: 4.4cqw; height: 4.4cqw; border-radius: 50%; background: radial-gradient(circle, #fff 0 30%, #FFE7B0 50%, rgba(255, 210, 120, 0) 72%); animation: bulb 2.4s ease-in-out infinite; }
@keyframes bulb { 0%, 100% { opacity: .75; } 50% { opacity: 1; } }
.sc-grwm .brush { left: 50%; top: 44%; width: 30cqw; height: 4cqw; transform-origin: 90% 50%; animation: brush 4.4s ease-in-out infinite; z-index: 3; }
.sc-grwm .brush::before { content: ""; position: absolute; right: 0; top: 0; width: 70%; height: 100%; border-radius: 99px; background: linear-gradient(90deg, #E8B98A, #2A1A14 30%, #4a3328); }
.sc-grwm .brush::after { content: ""; position: absolute; left: 0; top: -2.8cqw; width: 34%; height: 9.6cqw; border-radius: 50% 40% 40% 50%; background: radial-gradient(circle at 30% 50%, #F28C8C, #E86B7A 60%, #D85068); }
@keyframes brush { 0%, 20% { transform: translate(30cqw, 20cqw) rotate(-20deg); opacity: 0; } 30% { opacity: 1; } 38% { transform: translate(-16cqw, 2cqw) rotate(-24deg); } 46% { transform: translate(-6cqw, -2cqw) rotate(-18deg); } 54% { transform: translate(-16cqw, 3cqw) rotate(-24deg); } 70%, 100% { transform: translate(30cqw, 24cqw) rotate(-10deg); opacity: 0; } }
.sc-grwm .list { right: 5%; top: 20%; display: flex; flex-direction: column; gap: 1.6cqw; z-index: 4; }
.sc-grwm .list b { position: relative; display: block; padding: 1.3cqw 2.4cqw; border-radius: 99px; background: rgba(255, 255, 255, .92); color: #3a1f1a; font: 700 3cqw/1 var(--f-mono); letter-spacing: .06em; animation: listIn 4.4s ease-out infinite; }
.sc-grwm .list b:nth-child(2) { animation-delay: .5s; }
.sc-grwm .list b:nth-child(3) { animation-delay: 1s; }
@keyframes listIn { 0%, 12% { opacity: 0; transform: translateX(6cqw); } 22%, 88% { opacity: 1; transform: none; } 100% { opacity: 0; } }
.sc-grwm .timer { left: 5%; top: 20%; padding: 1.4cqw 2.4cqw; border-radius: 1.4cqw; background: #2a1a14; color: #FBE3DA; font: 600 3.4cqw/1 var(--f-mono); z-index: 4; }

/* --- scene: TALK (testimonial) --- */
.sc-talk .bg { background: radial-gradient(90% 60% at 30% 30%, #6E5A4B 0%, #3B2F28 55%, #1E1814 100%); }
.sc-talk .bokeh { width: 22cqw; aspect-ratio: 1; border-radius: 50%; filter: blur(2.4cqw); opacity: .55; animation: sunPulse 5s ease-in-out infinite; }
.sc-talk .bokeh.k1 { left: 6%; top: 14%; background: #FFB86B; }
.sc-talk .bokeh.k2 { left: 66%; top: 8%; width: 30cqw; background: #FF8A5B; animation-delay: -2s; }
.sc-talk .bokeh.k3 { left: 58%; top: 34%; width: 14cqw; background: #FFE2A8; animation-delay: -3s; }
.sc-talk .shelf { left: 0; top: 30%; width: 36%; height: 1.4cqw; background: rgba(255, 220, 180, .25); }
.sc-talk .person { left: 50%; bottom: 0; width: 92cqw; translate: -50% 0; animation: talkBob 3.2s ease-in-out infinite; transform-origin: 50% 100%; }
.sc-talk .person svg { width: 100%; height: auto; overflow: visible; }
@keyframes talkBob { 0%, 100% { transform: rotate(0); } 30% { transform: rotate(-1.4deg) translateY(.6%); } 65% { transform: rotate(1deg); } }
.sc-talk .mouth { transform-box: fill-box; transform-origin: center; animation: talk .36s ease-in-out infinite alternate; }
@keyframes talk { 0% { transform: scaleY(.25); } 60% { transform: scaleY(1); } 100% { transform: scaleY(.55); } }
.sc-talk .eyes { transform-box: fill-box; transform-origin: center; animation: blink 3.8s infinite; }
@keyframes blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.sc-talk .pill { left: 50%; top: 13%; translate: -50% 0; padding: 1.5cqw 3cqw; border-radius: 99px; background: rgba(0, 0, 0, .5); color: #fff; font: 700 3.4cqw/1 var(--f-sans); white-space: nowrap; }
.karaoke { position: absolute; left: 6%; right: 6%; bottom: 13%; z-index: 4; display: block; text-align: center; font: 850 6.6cqw/1.18 var(--f-sans); color: #fff; text-transform: uppercase; text-shadow: 0 0 .1em #000, 0 .06em .16em rgba(0, 0, 0, .85); }
.karaoke > span { display: inline-block; margin: 0 .14em; animation: kara 4s steps(1) infinite; animation-delay: calc(var(--i) * .4s); }
@keyframes kara { 0% { color: #FFD43B; transform: scale(1.12); } 10%, 100% { color: #fff; transform: scale(1); } }
.clip--card .karaoke { bottom: 9%; font-size: 6cqw; }
.tile .karaoke { bottom: 31%; }
.clip--card .sc-talk .person { bottom: 12%; width: 80cqw; }
.clip--card .sc-talk .pill { top: 19%; }
.clip--card .sc-grwm .timer, .clip--card .sc-grwm .list { top: 25%; }
.clip--card .sc-tutorial .step { top: 22%; }
.clip--card .sc-voiceover .vo { top: 21%; }

/* --- scene: TUTORIAL --- */
.sc-tutorial .bg { background: linear-gradient(170deg, #E3F7EF 0%, #A9E2CF 60%, #6CC1A6 100%); }
.sc-tutorial .grid { inset: 0; background: linear-gradient(rgba(0, 60, 40, .07) 1px, transparent 1px) 0 0 / 8cqw 8cqw, linear-gradient(90deg, rgba(0, 60, 40, .07) 1px, transparent 1px) 0 0 / 8cqw 8cqw; }
.sc-tutorial .bottle2 { left: 50%; top: 52%; width: 24cqw; height: 66cqw; translate: -50% -50%; border-radius: 6cqw 6cqw 5cqw 5cqw; background: linear-gradient(90deg, #0F5A47, #1D8C6E 40%, #0B4A3A); box-shadow: 0 5cqw 8cqw -3cqw rgba(0, 60, 40, .5); animation: floaty 5s ease-in-out infinite; }
.sc-tutorial .bottle2::before { content: ""; position: absolute; left: 14%; right: 14%; top: -11cqw; height: 13cqw; border-radius: 3cqw 3cqw 1cqw 1cqw; background: linear-gradient(90deg, #E9E4D8, #fff 45%, #D9D2C2); }
.sc-tutorial .bottle2::after { content: "HALO"; position: absolute; left: 0; right: 0; top: 34%; text-align: center; font: 300 5cqw/1 var(--f-display); letter-spacing: .3em; text-indent: .3em; color: #E3F7EF; }
.sc-tutorial .step { left: 6%; top: 16%; padding: 1.6cqw 3cqw; border-radius: 1.4cqw; background: #0E3B2F; color: #E3F7EF; font: 700 3.4cqw/1 var(--f-mono); letter-spacing: .08em; opacity: 0; animation: step 6s steps(1) infinite; }
.sc-tutorial .step:nth-of-type(1) { opacity: 1; }
.sc-tutorial .step:nth-of-type(2) { animation-delay: 2s; }
.sc-tutorial .step:nth-of-type(3) { animation-delay: 4s; }
@keyframes step { 0% { opacity: 1; } 33.33%, 100% { opacity: 0; } }
.sc-tutorial .tap { width: 12cqw; height: 12cqw; margin: -6cqw 0 0 -6cqw; border-radius: 50%; border: .8cqw solid #fff; box-shadow: 0 0 0 2cqw rgba(255, 255, 255, .25); animation: tap 6s ease-in-out infinite; left: 50%; top: 26%; }
@keyframes tap { 0%, 4% { transform: translate(0, 0) scale(.6); opacity: 0; } 8%, 26% { transform: translate(0, 0) scale(1); opacity: 1; } 33.3% { transform: translate(0, 0) scale(1.3); opacity: 0; } 37%, 40% { transform: translate(-2cqw, 26cqw) scale(.6); opacity: 0; } 44%, 60% { transform: translate(-2cqw, 26cqw) scale(1); opacity: 1; } 66.6% { transform: translate(-2cqw, 26cqw) scale(1.3); opacity: 0; } 70%, 73% { transform: translate(4cqw, 50cqw) scale(.6); opacity: 0; } 77%, 94% { transform: translate(4cqw, 50cqw) scale(1); opacity: 1; } 100% { transform: translate(4cqw, 50cqw) scale(1.3); opacity: 0; } }
.sc-tutorial .arrow { right: 8%; top: 30%; width: 26cqw; height: 22cqw; color: #0E3B2F; }
.sc-tutorial .arrow svg { width: 100%; height: 100%; }

/* --- scene: VOICEOVER (botanical flat-lay) --- */
.sc-voiceover .bg { background: radial-gradient(90% 70% at 50% 40%, #2F6B52 0%, #173C2E 60%, #0B2019 100%); }
.sc-voiceover .pan { inset: -10%; animation: kenburns 9s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.14) translate(-3%, 2%); } }
.sc-voiceover .leaf { width: 38cqw; height: 16cqw; border-radius: 0 100% 0 100%; background: linear-gradient(135deg, #7BC08C, #2E7148); box-shadow: inset 0 0 0 .5cqw rgba(255, 255, 255, .08); }
.sc-voiceover .leaf::after { content: ""; position: absolute; left: 8%; right: 8%; top: 50%; height: .4cqw; background: rgba(255, 255, 255, .25); rotate: -22deg; }
.sc-voiceover .leaf.l1 { left: 4%; top: 18%; rotate: 30deg; }
.sc-voiceover .leaf.l2 { left: 58%; top: 12%; rotate: -40deg; width: 30cqw; }
.sc-voiceover .leaf.l3 { left: 54%; top: 60%; rotate: 150deg; }
.sc-voiceover .leaf.l4 { left: 2%; top: 58%; rotate: -150deg; width: 28cqw; }
.sc-voiceover .stone { width: 14cqw; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #EDE6DA, #B9AE9C); }
.sc-voiceover .stone.st1 { left: 18%; top: 40%; }
.sc-voiceover .stone.st2 { left: 70%; top: 44%; width: 10cqw; }
.sc-voiceover .dropb { position: absolute; left: 50%; top: 46%; width: 22cqw; translate: -50% -50%; }
.sc-voiceover .dropb .b-glass { width: 22cqw; height: 28cqw; border-radius: 3cqw 3cqw 4cqw 4cqw; position: relative; overflow: hidden; background: linear-gradient(90deg, #6B3A12, #A9622A 45%, #5A2F0E); box-shadow: inset 0 0 0 .5cqw rgba(255, 255, 255, .2); }
.sc-voiceover .dropb .b-bulb { position: relative; margin: 0 auto; width: 9cqw; height: 10cqw; border-radius: 48% 48% 26% 26%; background: #F1ECE2; }
.sc-voiceover .dropb .b-collar { position: relative; margin: 0 auto; width: 13cqw; height: 4cqw; border-radius: 1cqw; background: #D9D2C2; }
.sc-voiceover .dropb .b-label { position: absolute; left: 12%; right: 12%; top: 34%; padding: 1.6cqw 0; border-radius: 1cqw; background: #F1ECE2; color: #173C2E; text-align: center; font: 600 3.2cqw/1 var(--f-sans); letter-spacing: .1em; }
.sc-voiceover .vo { left: 6%; top: 15%; display: flex; align-items: center; gap: 1.6cqw; padding: 1.4cqw 2.6cqw 1.4cqw 1.6cqw; border-radius: 99px; background: rgba(0, 0, 0, .45); font: 700 3cqw/1 var(--f-mono); letter-spacing: .1em; }
.sc-voiceover .vo::before { content: ""; width: 2.4cqw; height: 2.4cqw; border-radius: 50%; background: #FF3B1F; animation: rec 1.6s infinite; }
.sc-voiceover .wave { left: 22%; right: 22%; bottom: 31%; height: 8cqw; display: flex; align-items: center; justify-content: space-between; }
.sc-voiceover .wave i { position: relative; width: 1.6cqw; height: 100%; border-radius: 99px; background: #E9F5EC; animation: eq .9s ease-in-out infinite; }
.sc-voiceover .wave i:nth-child(odd) { animation-duration: .7s; animation-delay: -.2s; }
.sc-voiceover .wave i:nth-child(3n) { animation-duration: 1.1s; animation-delay: -.5s; }

/* ---------- 9 · FORMATS ---------- */
.formats__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(36px, 3.6vw, 64px) clamp(16px, 2vw, 34px); margin-top: clamp(40px, 6vw, 88px); }
.fcard:nth-child(3n + 2) { margin-top: clamp(0px, 5vw, 90px); }
.fcard__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; border-radius: var(--r-lg); overflow: hidden; text-align: left; transform: translateZ(0); transition: box-shadow .4s var(--ease); box-shadow: 0 0 0 1px var(--line); }
.fcard__btn .clip { transition: transform .8s var(--ease), filter .6s var(--ease); filter: saturate(.75) brightness(.86); }
.fcard__btn::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .45)); transition: opacity .4s; }
.fcard.is-playing .fcard__btn { box-shadow: 0 0 0 2px var(--accent), 0 30px 60px -30px var(--glow); }
.fcard.is-playing .fcard__btn .clip { transform: scale(1.03); filter: none; }
.fcard.is-playing .fcard__btn::after { opacity: 0; }
.fcard__play { position: absolute; left: 14px; bottom: 14px; z-index: 7; display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px 8px 9px; border-radius: 999px; background: rgba(10, 10, 14, .62); color: #fff; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 11px/1 var(--f-mono); letter-spacing: .1em; text-transform: uppercase; transition: opacity .3s, transform .4s var(--ease); }
.fcard__play .ico { width: 14px; height: 14px; color: var(--accent); }
.fcard.is-playing .fcard__play { opacity: 0; transform: translateY(8px); }
.fcard__body { display: grid; grid-template-columns: auto 1fr; column-gap: 14px; padding: 20px 4px 0; }
.fcard__n { grid-row: span 3; font-size: 12px; color: var(--accent-text); padding-top: 8px; }
.fcard__title { font: 800 clamp(30px, 2.6vw, 46px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.fcard__desc { margin-top: 8px; color: var(--ink-2); font-size: 15.5px; line-height: 1.5; }
.fcard__meta { margin-top: 10px; font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
@media (max-width: 899px) { .formats__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .fcard:nth-child(3n + 2) { margin-top: 0; } .fcard:nth-child(2n) { margin-top: 48px; } }
@media (max-width: 599px) {
  .formats__grid { gap: 28px 12px; }
  .fcard__body { display: block; padding: 12px 2px 0; }
  .fcard__n { display: none; }
  .fcard__title { font-size: 26px; }
  .fcard__desc { font-size: 13.5px; }
  .fcard__meta { font-size: 10px; }
  .fcard__play { left: 8px; bottom: 8px; padding: 6px 9px 6px 7px; font-size: 9.5px; }
}

/* ---------- 10 · THE EDIT (signature scene) ---------- */
.edit { position: relative; padding-top: var(--sec-pad); }
.edit__intro { margin-bottom: clamp(28px, 4vw, 56px); }
.edit__pin { position: relative; height: 100vh; height: 100svh; padding: calc(var(--nav-h) + 10px) var(--gutter) 14px; display: flex; align-items: center; justify-content: center; }
.nle {
  --mon-h: clamp(250px, calc(100svh - var(--nav-h) - 384px), 680px);
  --tl-head: 44px;
  position: relative; width: min(100%, 1720px); height: 100%; max-height: 1100px;
  display: grid; grid-template-columns: minmax(170px, 1fr) auto minmax(220px, 1.12fr);
  grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "bar bar bar" "bin mon insp" "tl tl tl";
  gap: 8px; padding: 8px; border-radius: 18px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow);
  font-size: 13px; color: var(--ink);
}
.nle > * { min-width: 0; }
.nle__label { display: flex; justify-content: space-between; gap: 10px; font-size: 10.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-3); padding: 2px 4px 8px; }
.nle__label span { color: var(--ink-3); opacity: .8; }
.nle__bar { grid-area: bar; display: flex; align-items: center; gap: 16px; padding: 6px 10px; border-radius: 10px; background: var(--panel-2); }
.nle__dots { display: flex; gap: 6px; }
.nle__dots i { width: 10px; height: 10px; border-radius: 50%; background: var(--bg-4); }
.nle__dots i:first-child { background: var(--rec); }
.nle__proj { flex: 1; font-size: 12px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nle__ext { color: var(--ink-3); }
.nle__state { display: flex; align-items: center; gap: 7px; font-size: 11px; letter-spacing: .14em; color: var(--ink-2); }
.nle__state .rec-dot { width: 8px; height: 8px; }
.nle__tc { display: flex; align-items: baseline; gap: 8px; font-size: 20px; font-weight: 500; color: var(--accent-text); font-variant-numeric: tabular-nums; letter-spacing: .02em; }
.nle__tc small { font-size: 10px; color: var(--ink-3); letter-spacing: .1em; }

.nle__bin, .nle__insp, .nle__mon { border-radius: 12px; background: var(--panel-2); padding: 10px; overflow: hidden; }
.nle__bin { grid-area: bin; }
.bin { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.bin__item { display: grid; grid-template-columns: 62px minmax(0, 1fr); grid-template-rows: auto auto; column-gap: 10px; row-gap: 3px; align-items: center; padding: 6px; border-radius: 8px; background: var(--panel-3); border: 1px solid var(--line); }
.bin__thumb { grid-row: span 2; position: relative; display: grid; place-items: center; width: 62px; aspect-ratio: 16 / 10; border-radius: 5px; overflow: hidden; color: #fff; font: 700 11px/1 var(--f-mono); }
.bin__name { align-self: end; }
.bin__dur { align-self: start; }
.bin__thumb i { position: absolute; inset: 0; }
.bin__thumb--1 { background: radial-gradient(circle at 50% 60%, #FFE7D8 0 16%, transparent 17%), linear-gradient(160deg, #FFC2A6, #D7625A); }
.bin__thumb--1 i { background: linear-gradient(#2a1a14, #2a1a14) 50% 34% / 10% 22% no-repeat, linear-gradient(#F0763A, #F0763A) 50% 72% / 22% 36% no-repeat; }
.bin__thumb--2 { background: linear-gradient(170deg, #FFE1D2, #F2A58A); }
.bin__thumb--2 i { background: radial-gradient(ellipse at 50% 120%, #E2A07B 0 46%, transparent 47%), radial-gradient(circle at 50% 40%, #F0763A 0 7%, transparent 8%); }
.bin__thumb--3 { background: linear-gradient(160deg, #FFB98C, #E2557F); }
.bin__thumb--3 i { background: radial-gradient(ellipse at 50% 46%, #E2A07B 0 18%, transparent 19%), radial-gradient(ellipse at 50% 34%, #1B110D 0 22%, transparent 23%), radial-gradient(ellipse at 50% 120%, var(--beat-3) 0 50%, transparent 51%); }
.bin__thumb--4 { background: linear-gradient(170deg, #3A1C3A, #D7625A); }
.bin__thumb--4 i { background: linear-gradient(#fff, #fff) 50% 78% / 56% 16% no-repeat, linear-gradient(#F0763A, #F0763A) 50% 38% / 18% 34% no-repeat; border-radius: 4px; }
.bin__thumb--audio { background: color-mix(in srgb, var(--ok) 22%, var(--panel-3)); color: var(--ok); }
.bin__thumb--audio .ico { width: 16px; height: 16px; }
.bin__thumb--srt { background: color-mix(in srgb, var(--beat-2) 20%, var(--panel-3)); color: var(--beat-2); }
.bin__name { font-size: 10px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bin__dur { font-size: 9.5px; color: var(--ink-3); }

.nle__mon { grid-area: mon; display: flex; flex-direction: column; align-items: center; justify-content: center; padding-inline: 14px; }
.mon { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.mon__screen { position: relative; height: var(--mon-h); aspect-ratio: 9 / 16; border-radius: 10px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px var(--line-2), 0 20px 50px -20px rgba(0, 0, 0, .7); container: scene / size; }
.mon__transport { display: flex; align-items: center; gap: 12px; font-size: 11px; color: var(--ink-3); }
.mon__transport .ico { width: 14px; height: 14px; }
.mon__play { display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--ink); color: var(--bg); }
.mon__play .ico { width: 12px; height: 12px; margin-left: 2px; }
.mon__time { margin-left: 6px; font-variant-numeric: tabular-nums; }
.mon__res { margin-left: 6px; padding-left: 12px; border-left: 1px solid var(--line-2); }
.mon__safe { position: absolute; inset: 7% 6%; border: 1px dashed rgba(255, 255, 255, .35); border-radius: 3px; pointer-events: none; z-index: 8; }
.mon__safe::before, .mon__safe::after { content: ""; position: absolute; left: 50%; top: 50%; background: rgba(255, 255, 255, .35); }
.mon__safe::before { width: 14px; height: 1px; margin-left: -7px; }
.mon__safe::after { width: 1px; height: 14px; margin-top: -7px; }
.mon__bars { position: absolute; inset: 0; z-index: 7; opacity: 0; display: grid; place-items: center;
  background:
    linear-gradient(90deg, #BFBFBF 0 14.28%, #BFBF00 0 28.57%, #00BFBF 0 42.85%, #00BF00 0 57.14%, #BF00BF 0 71.42%, #BF0000 0 85.71%, #0000BF 0) top / 100% 66% no-repeat,
    linear-gradient(90deg, #0000BF 0 14.28%, #131313 0 28.57%, #BF00BF 0 42.85%, #131313 0 57.14%, #00BFBF 0 71.42%, #131313 0 85.71%, #BFBFBF 0) 0 75% / 100% 9% no-repeat,
    linear-gradient(90deg, #00214C 0 18%, #FFFFFF 0 36%, #32006A 0 54%, #131313 0 100%) bottom / 100% 26% no-repeat; }
.mon__bars b { transform: translateY(-260%); padding: 1.8cqw 3cqw; border-radius: 4px; background: rgba(0, 0, 0, .78); color: #fff; font-size: 3.4cqw; font-weight: 500; letter-spacing: .14em; white-space: nowrap; }
.mon__done { position: absolute; left: 7%; top: 19%; z-index: 10; display: flex; align-items: center; gap: 1.2cqw; padding: 1.6cqw 2.6cqw; border-radius: 1.4cqw; background: #5EE6B8; color: #04140d; font-size: 3.4cqw; font-weight: 700; letter-spacing: .12em; transform: rotate(-6deg); box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .3); }
.mon__done .ico { width: 3.8cqw; height: 3.8cqw; }
.mon__flash { position: absolute; inset: 0; background: #fff; opacity: 0; z-index: 9; pointer-events: none; }
.mon__beat { position: absolute; left: 8px; top: 8px; z-index: 10; padding: 5px 8px; border-radius: 6px; background: rgba(0, 0, 0, .62); color: #fff; font-size: 10px; letter-spacing: .1em; text-transform: uppercase; display: none; }
.mon__export { position: absolute; inset: 0; z-index: 11; display: grid; place-content: center; justify-items: center; gap: 4px; background: rgba(8, 8, 12, .55); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; color: #fff; }
.mon__export svg { width: 38cqw; height: 38cqw; rotate: -90deg; }
.mon__export circle { fill: none; stroke-width: 6; }
.mon__ring-bg { stroke: rgba(255, 255, 255, .2); }
.mon__ring { stroke: var(--ok); stroke-linecap: round; stroke-dasharray: 100 100; stroke-dashoffset: 0; }
.mon__export p { font-size: 6.4cqw; font-weight: 600; margin-top: -26cqw; margin-bottom: 18cqw; font-variant-numeric: tabular-nums; }

/* monitor scenes (scrubbed by JS; default = final CTA frame) */
.mscene { position: absolute; inset: 0; overflow: hidden; opacity: 0; container: m / size; }
.mscene--cta { opacity: 1; }
.mscene > * { position: absolute; }
.mcap { left: 7%; right: 7%; z-index: 5; text-align: center; font: 850 7.4cqw/1.2 var(--f-sans); color: #fff; text-shadow: 0 0 .1em #000, 0 0 .12em #000, 0 .06em .16em rgba(0, 0, 0, .8); text-transform: lowercase; }
.mcap .hl { color: #111; background: #FFD43B; text-shadow: none; padding: 0 .16em; border-radius: .14em; text-transform: uppercase; }
.mcap > span { display: inline-block; }
.mscene--hook .mh__bg { inset: 0; background: radial-gradient(110% 70% at 50% 34%, #FFE7D8, #F7AF90 46%, #C9534C 100%); }
.mh__burst { left: 50%; top: 56%; width: 170cqw; aspect-ratio: 1; margin: -85cqw 0 0 -85cqw; background: repeating-conic-gradient(rgba(255, 255, 255, .34) 0 7deg, transparent 7deg 18deg); -webkit-mask: radial-gradient(closest-side, #000 10%, transparent 72%); mask: radial-gradient(closest-side, #000 10%, transparent 72%); }
.mh__bottle, .mc__bottle { left: 50%; top: 60%; width: 36cqw; margin: -35cqw 0 0 -18cqw; display: flex; flex-direction: column; align-items: center; }
.mh__cap { position: relative; width: 15cqw; height: 22cqw; border-radius: 46% 46% 10% 10%; background: linear-gradient(90deg, #121214, #3d3d45 38%, #0e0e10); box-shadow: 0 3cqw 0 -1cqw #C79B57; }
.mh__body { position: relative; display: grid; place-content: center; justify-items: center; gap: 1.4cqw; margin-top: 2cqw; width: 36cqw; height: 46cqw; border-radius: 6cqw 6cqw 7cqw 7cqw; background: linear-gradient(90deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, 0) 40%, rgba(255, 255, 255, .22)), linear-gradient(180deg, #FFC27E 0 20%, #F0763A); box-shadow: inset 0 0 0 .8cqw rgba(255, 255, 255, .5), 0 6cqw 10cqw -4cqw rgba(80, 20, 10, .6); }
.mh__body b { font: 800 8cqw/1 var(--f-display); letter-spacing: .24em; text-indent: .24em; color: #2a1a14; background: #FFF6EC; padding: 2cqw 3.4cqw; border-radius: 1.6cqw; }
.mh__body small { font: 600 2.4cqw/1 var(--f-mono); letter-spacing: .14em; color: #2a1a14; }
.mcap--hook { top: 14%; font-size: 8.6cqw; }

.mscene--demo .md__bg { inset: 0; background: linear-gradient(175deg, #FFEADF, #F4B9A2 70%, #E99B83); }
.md__dropper { left: 50%; top: -4%; width: 12cqw; height: 46cqw; margin-left: -6cqw; transform: rotate(6deg); transform-origin: 50% 0; }
.md__bulb { position: absolute; left: 0; right: 0; top: 0; height: 14cqw; border-radius: 40% 40% 20% 20%; background: linear-gradient(90deg, #121214, #3d3d45 40%, #0e0e10); }
.md__glass { position: absolute; left: 25%; right: 25%; top: 13cqw; bottom: 0; border-radius: 0 0 3cqw 3cqw; background: linear-gradient(90deg, rgba(255, 255, 255, .6), rgba(255, 190, 120, .5) 50%, rgba(255, 255, 255, .5)); box-shadow: inset 0 -12cqw 0 #F0763A; }
.md__drop { left: 50%; top: 40%; width: 5cqw; height: 6.6cqw; margin-left: -2.5cqw; border-radius: 50% 50% 50% 50% / 64% 64% 36% 36%; background: radial-gradient(circle at 35% 60%, #FFE2B8, #F28A3E 60%, #D9622A); opacity: 0; }
.md__skin { left: -10%; right: -10%; bottom: -24%; height: 62%; border-radius: 50% 50% 0 0; background: radial-gradient(70% 50% at 50% 30%, #F2BC98, #D99470 80%); overflow: hidden; }
.md__ripple { left: 50%; top: 14%; width: 30cqw; height: 9cqw; margin: -4.5cqw 0 0 -15cqw; border-radius: 50%; border: .6cqw solid rgba(255, 255, 255, .8); opacity: 0; }
.md__sheen { left: -40%; top: 0; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .7), transparent); }
.mcount { right: 7%; top: 9%; padding: 1.6cqw 2.8cqw; border-radius: 99px; background: rgba(0, 0, 0, .55); color: #fff; font-size: 3.6cqw; letter-spacing: .08em; }
.mcap--demo { top: 46%; font-size: 7cqw; }

.mscene--react .mr__bg { inset: 0; background: radial-gradient(90% 60% at 50% 30%, #FFD8B8, #FF9C7A 50%, #C94E6B 100%); }
.mr__face { left: 50%; bottom: 0; width: 92cqw; margin-left: -46cqw; }
.mr__face svg { width: 100%; height: auto; }

.mr__spark { width: 10cqw; height: 10cqw; color: #fff; }
.mr__spark .ico { width: 100%; height: 100%; }
.mr__spark--1 { left: 12%; top: 28%; }
.mr__spark--2 { right: 12%; top: 22%; width: 7cqw; height: 7cqw; color: #FFE7A8; }
.mr__spark--3 { right: 18%; top: 46%; width: 6cqw; height: 6cqw; }
.mr__spark--4 { left: 20%; top: 50%; width: 5cqw; height: 5cqw; color: #FFE7A8; }
.mr__sticker { left: 8%; top: 9%; padding: 1.8cqw 3.2cqw; border-radius: 1.4cqw; background: #fff; color: #C2224A; font: 800 4.6cqw/1 var(--f-sans); rotate: -7deg; box-shadow: 0 1cqw 3cqw rgba(0, 0, 0, .2); }
.mcap--react { top: 32%; font-size: 8.4cqw; }

.mscene--cta .mc__bg { inset: 0; background: radial-gradient(90% 60% at 50% 46%, #FF8E5E, #9E2F4B 55%, #2A0F24 100%); }
.mc__rays { left: 50%; top: 46%; width: 170cqw; aspect-ratio: 1; margin: -85cqw 0 0 -85cqw; background: repeating-conic-gradient(rgba(255, 210, 160, .26) 0 6deg, transparent 6deg 16deg); -webkit-mask: radial-gradient(closest-side, #000 10%, transparent 70%); mask: radial-gradient(closest-side, #000 10%, transparent 70%); }
.mc__bottle { top: 42%; }
.mc__code { left: 0; right: 0; margin-inline: auto; width: fit-content; top: 9%; white-space: nowrap; padding: 1.8cqw 3.4cqw; border-radius: 99px; background: #FFD43B; color: #1a1205; font-size: 4cqw; font-weight: 600; }
.mc__btn { left: 0; right: 0; margin-inline: auto; width: fit-content; bottom: 13%; display: flex; align-items: center; gap: 2cqw; white-space: nowrap; padding: 3.6cqw 6cqw; border-radius: 99px; background: #fff; color: #111; font: 850 6.6cqw/1 var(--f-sans); box-shadow: 0 0 0 1.4cqw rgba(255, 255, 255, .25), 0 3cqw 8cqw rgba(0, 0, 0, .35); }
.mc__btn .ico { width: 6cqw; height: 6cqw; }
.mc__tap { left: 62%; bottom: 5%; width: 10cqw; height: 10cqw; color: #fff; filter: drop-shadow(0 1cqw 1.4cqw rgba(0, 0, 0, .4)); }
.mc__tap .ico { width: 100%; height: 100%; }

.nle__insp { grid-area: insp; display: flex; flex-direction: column; }
.ret { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; min-height: 0; margin-top: 12px; }
.ret__chart { position: relative; flex: 1; min-height: 40px; max-height: 190px; border-radius: 8px; background: var(--panel-3); border: 1px solid var(--line); overflow: hidden; }
.ret__chart svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.ret__area { fill: color-mix(in srgb, var(--accent) 16%, transparent); }
.ret__line { fill: none; stroke: var(--accent); stroke-width: 2; vector-effect: non-scaling-stroke; }
.ret__ph { position: absolute; top: 0; bottom: 0; left: 0; width: 100%; translate: 100% 0; }
.ret__ph::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--ink); opacity: .7; }
.edit-anim .ret__ph { translate: none; }
.ret__legend { display: flex; justify-content: space-between; gap: 8px; margin-top: 8px; font-size: 10px; letter-spacing: .06em; color: var(--ink-3); text-transform: uppercase; }
.ret__legend b { color: var(--ink); font-weight: 600; }
@media (max-height: 820px) { .ret { display: none; } }
.beats { padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.beat { --c: var(--beat-1); position: relative; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; padding: 10px 12px 10px 14px; border-radius: 10px; background: var(--panel-3); border: 1px solid var(--line); transition: background-color .35s, border-color .35s, opacity .35s; }
.beat::before { content: ""; position: absolute; left: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 0 3px 3px 0; background: var(--c); }
.beat[data-beat="2"] { --c: var(--beat-2); }
.beat[data-beat="3"] { --c: var(--beat-3); }
.beat[data-beat="4"] { --c: var(--beat-4); }
.beat__name { grid-row: 1; font: 800 22px/1 var(--f-display); text-transform: uppercase; letter-spacing: .03em; }
.beat__tc { grid-row: 1; grid-column: 2; font-size: 10.5px; color: var(--ink-3); align-self: center; }
.beat__note { grid-column: 1 / -1; font-size: 12.5px; line-height: 1.4; color: var(--ink-2); }
.edit-anim .beat { opacity: .5; }
.edit-anim .beat.is-active { opacity: 1; background: color-mix(in srgb, var(--c) 14%, var(--panel-3)); border-color: color-mix(in srgb, var(--c) 50%, transparent); }
.edit-anim .beat.is-done { opacity: .8; }

.nle__tl { grid-area: tl; overflow: hidden; border-radius: 12px; background: var(--panel-2); padding: 8px 10px 10px; }
.tl__top { display: flex; align-items: center; gap: 18px; margin-bottom: 8px; min-height: 30px; }
.tl__tools { display: flex; align-items: center; gap: 6px; }
.tl__tool { display: inline-flex; align-items: center; gap: 5px; height: 24px; padding: 0 7px; border-radius: 6px; color: var(--ink-3); border: 1px solid var(--line); }
.tl__tool .ico { width: 13px; height: 13px; }
.tl__tool.is-on { color: var(--ink); background: var(--panel-3); }
.tl__tool--snap b { font-size: 9.5px; letter-spacing: .14em; }
.tl__tool--snap.is-hit { color: var(--accent-ink); background: var(--accent); border-color: var(--accent); }

.tl { display: grid; grid-template-columns: var(--tl-head) minmax(0, 1fr); gap: 0 8px; }
.tl__heads { display: grid; grid-template-rows: 32px 18px 24px 42px 34px; gap: 5px; font-size: 10.5px; color: var(--ink-3); }
.tl__head { display: grid; place-items: center; border-radius: 6px; background: var(--panel-3); }
.tl__head--ruler { background: none; }
.tl__area { position: relative; display: grid; grid-template-rows: 32px 18px 24px 42px 34px; gap: 5px; }
.tl__ruler { position: relative; border-bottom: 1px solid var(--line-2); background: repeating-linear-gradient(90deg, var(--line-2) 0 1px, transparent 1px calc(100% / 28)) left bottom / 100% 6px no-repeat; font-size: 9.5px; color: var(--ink-3); }
.tl__ruler span { position: absolute; bottom: 4px; left: calc(var(--t) * 100% / 28); padding-left: 3px; border-left: 1px solid var(--line-2); line-height: 1; }
.tl__mark { --c: var(--beat-1); position: absolute; top: 0; left: calc(var(--a) * 100% / 28); width: calc((var(--b) - var(--a)) * 100% / 28); height: 11px; border-top: 3px solid var(--c); font: 600 8.5px/1 var(--f-mono); font-style: normal; letter-spacing: .12em; color: var(--c); padding: 2px 4px 0; white-space: nowrap; overflow: hidden; }
.tl__mark--2 { --c: var(--beat-2); } .tl__mark--3 { --c: var(--beat-3); } .tl__mark--4 { --c: var(--beat-4); }
.tl__track { position: relative; border-radius: 6px; background: repeating-linear-gradient(90deg, transparent 0 calc(100% / 28 - 1px), var(--line) calc(100% / 28 - 1px) calc(100% / 28)); }
.tl__track > span:not(.snapline) { position: absolute; top: 0; bottom: 0; left: calc(var(--a) * 100% / 28); width: calc((var(--b) - var(--a)) * 100% / 28); border-radius: 5px; overflow: hidden; }
.fx { padding-inline: 2px; display: grid; place-items: center; font: 600 8.5px/1 var(--f-mono); letter-spacing: .06em; color: var(--ink-2); background: repeating-linear-gradient(-45deg, var(--panel-3) 0 4px, var(--bg-4) 4px 8px); border: 1px solid var(--line-2); white-space: nowrap; }
.cue { --c: var(--beat-1); display: flex; align-items: center; padding: 0 8px; font: 500 10.5px/1 var(--f-mono); color: var(--ink); background: color-mix(in srgb, var(--c) 24%, var(--panel-3)); border: 1px solid color-mix(in srgb, var(--c) 60%, transparent); white-space: nowrap; text-overflow: ellipsis; transform-origin: left center; }
.cue[data-cue="2"] { --c: var(--beat-2); } .cue[data-cue="3"] { --c: var(--beat-3); } .cue[data-cue="4"] { --c: var(--beat-4); }
.vclip { --c: var(--beat-1); display: flex; flex-direction: column; justify-content: space-between; padding: 5px 7px; margin-right: 1px; color: #141008; background: linear-gradient(180deg, rgba(255, 255, 255, .22), transparent 40%), repeating-linear-gradient(90deg, color-mix(in srgb, var(--c) 88%, #000) 0 44px, color-mix(in srgb, var(--c) 70%, #000) 44px 46px), var(--c); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); transform-origin: center; }
.vclip--2 { --c: var(--beat-2); } .vclip--3 { --c: var(--beat-3); } .vclip--4 { --c: var(--beat-4); }
.vclip b { font: 700 10px/1 var(--f-mono); letter-spacing: .06em; }
.vclip em { font: 800 15px/1 var(--f-display); font-style: normal; letter-spacing: .08em; }
.snapline { position: absolute; top: -8px; bottom: -8px; width: 2px; margin-left: -1px; left: 0; background: var(--accent); box-shadow: 0 0 12px 2px var(--accent); opacity: 0; z-index: 3; }
.aclip { left: 0 !important; width: 100% !important; background: color-mix(in srgb, var(--ok) 13%, var(--panel-3)); border: 1px solid color-mix(in srgb, var(--ok) 40%, transparent); }
.aclip b { position: absolute; left: 7px; top: 4px; z-index: 2; font-size: 9px; font-weight: 500; color: var(--ok); letter-spacing: .04em; }
.wave { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.wave path { fill: none; stroke: var(--ok); stroke-width: 1.7; stroke-linecap: round; }
.tl__playhead { position: absolute; top: -4px; bottom: -4px; left: 0; width: 100%; pointer-events: none; z-index: 4; translate: 100% 0; }
.edit-anim .tl__playhead { translate: none; }
.tl__playhead::before { content: ""; position: absolute; left: -1px; top: 0; bottom: 0; width: 2px; background: var(--accent); box-shadow: 0 0 10px var(--glow); }
.tl__playhead i { position: absolute; left: -7px; top: -2px; width: 14px; height: 16px; background: var(--accent); clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }

.nle__export { position: relative; flex: 1; min-width: 0; display: flex; align-items: center; gap: 14px; }
.xbtn { display: inline-flex; align-items: center; gap: 8px; height: 28px; padding: 0 12px; border-radius: 8px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; flex: none; }
.xbtn .ico { width: 14px; height: 14px; }
.xbar { flex: 1 1 140px; height: 6px; min-width: 60px; border-radius: 99px; background: var(--panel-3); overflow: hidden; }
.xbar i { display: block; height: 100%; background: linear-gradient(90deg, var(--accent), var(--ok)); transform-origin: left; }
.xstatus { position: relative; flex: 0 1 auto; display: flex; align-items: center; gap: 12px; font-size: 11.5px; letter-spacing: .04em; color: var(--ink-2); white-space: nowrap; min-width: 0; }
.xstatus__wait { position: absolute; left: 0; top: 50%; translate: 0 -50%; opacity: 0; letter-spacing: .1em; color: var(--ink-2); white-space: nowrap; }
.xstatus__done { display: flex; align-items: center; gap: 12px; min-width: 0; }
.xstatus__ok { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px; border-radius: 6px; background: color-mix(in srgb, var(--ok) 18%, transparent); color: var(--ok); font-weight: 700; letter-spacing: .14em; }
.xstatus__ok .ico { width: 13px; height: 13px; }
.xstatus__spec { overflow: hidden; text-overflow: ellipsis; }
.xstatus b { color: var(--ink); font-weight: 600; }
.xcursor { position: absolute; left: 34px; top: 22px; width: 22px; height: 22px; color: #fff; opacity: 0; pointer-events: none; z-index: 3; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .5)); }
.xcursor .ico { width: 100%; height: 100%; }

/* The Edit — short desktop screens (13" laptops): slimmer tracks, bigger monitor */
@media (min-width: 1000px) and (min-height: 600px) and (max-height: 820px) {
  .nle { --mon-h: clamp(220px, calc(100svh - var(--nav-h) - 352px), 680px); gap: 6px; }
  .tl__heads, .tl__area { grid-template-rows: 28px 14px 20px 36px 28px; gap: 4px; }
  .fx { font-size: 7.5px; }
  .vclip { padding: 3px 6px; }
  .vclip b { display: none; }
  .vclip em { margin-top: auto; }
  .nle__bar { padding-block: 4px; }
  .nle__tc { font-size: 17px; }
  .bin__item { padding: 4px 6px; }
  .bin__thumb { width: 52px; }
}

/* The Edit — compact (tablet/phone) layout: monitor on top, simplified 2-track timeline */
@media (max-width: 999px), (max-height: 599px) {
  .edit__pin { padding: calc(var(--nav-h) + 8px) 12px 10px; }
  .nle { --mon-h: clamp(220px, calc(100svh - var(--nav-h) - 300px), 600px); --tl-head: 30px; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr) auto; grid-template-areas: "bar" "mon" "tl"; gap: 6px; padding: 6px; border-radius: 16px; }
  .nle__bin { display: none; }
  .nle__insp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); padding: 0; margin: -1px; }
  .nle__bar { gap: 10px; padding: 6px 8px; }
  .nle__dots, .nle__ext, .nle__state { display: none; }
  .nle__proj { font-size: 10.5px; }
  .nle__tc { font-size: 15px; }
  .nle__mon { padding: 8px; justify-content: center; }
  .mon__beat { display: block; }
  .mon__transport { display: none; }
  .tl__tools { display: none; }
  .tl__top { margin-bottom: 6px; }
  .tl__heads, .tl__area { grid-template-rows: 30px 24px 38px; }
  .tl__head--fx, .tl__head--a1, .tl__track--fx, .tl__track--a1 { display: none; }
  .tl__ruler span:nth-child(even) { display: none; }
  .vclip em { font-size: 12px; }
  .vclip b { display: none; }
  .vclip { justify-content: center; padding: 4px 5px; }
  .cue { font-size: 9px; padding: 0 5px; }
  .nle__export { gap: 6px 10px; flex-wrap: wrap; }
  .xbtn { height: 28px; padding: 0 10px; font-size: 10px; }
  .xstatus { flex: 1 1 100%; gap: 8px; font-size: 10px; }
  .xstatus__spec { white-space: normal; line-height: 1.35; }
  .xstatus__done { gap: 8px; }
}

/* ---------- 11 · REEL WALL ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.wall { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(28px, 3vw, 48px) clamp(12px, 1.6vw, 28px); margin-top: clamp(40px, 5vw, 80px); align-items: start; }
.tile { position: relative; }
.tile.is-hidden { display: none; }
.wall .tile.is-stagger { margin-top: clamp(40px, 7vw, 140px); }
.tile__btn { position: relative; display: block; width: 100%; padding: 0; border: 0; background: #000; cursor: pointer; border-radius: var(--r-lg); overflow: hidden; text-align: left; transform: translateZ(0); box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(0, 0, 0, .7); transition: box-shadow .4s var(--ease); }
.tile__btn .clip { transition: transform .9s var(--ease); }
.tile__btn:hover .clip, .tile__btn:focus-visible .clip { transform: scale(1.045); }
.tile__btn:hover, .tile__btn:focus-visible { box-shadow: 0 0 0 2px var(--accent), 0 30px 60px -30px var(--glow); }
.tile__btn::after { content: ""; position: absolute; inset: 0; z-index: 6; pointer-events: none; background: linear-gradient(180deg, rgba(0, 0, 0, .38), transparent 22%, transparent 58%, rgba(0, 0, 0, .78)); }
.tile__top { position: absolute; left: 12px; right: 12px; top: 12px; z-index: 7; display: flex; justify-content: space-between; align-items: center; color: #fff; font-size: 11px; }
.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px 5px 7px; border-radius: 999px; background: rgba(0, 0, 0, .45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font: 700 11px/1 var(--f-sans); }
.badge .ico { width: 13px; height: 13px; }
.tile__meta { position: absolute; left: 14px; right: 14px; bottom: 14px; z-index: 7; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 2px 8px; color: #fff; }
.tile__brand { grid-column: 1; font: 800 clamp(22px, 1.9vw, 32px)/.95 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
.tile__fmt { grid-column: 1; font-size: 13px; color: rgba(255, 255, 255, .8); }
.tile__views { grid-column: 2; grid-row: 1 / span 2; align-self: end; display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 600; }
.tile__views .ico { width: 14px; height: 14px; }
.tile__playbtn { position: absolute; left: 50%; top: 50%; z-index: 8; width: 70px; height: 70px; margin: -35px 0 0 -35px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); transform: scale(.6); opacity: 0; transition: transform .45s var(--ease), opacity .3s; }
.tile__playbtn .ico { width: 26px; height: 26px; margin-left: 4px; }
.tile__btn:focus-visible .tile__playbtn { transform: scale(1); opacity: 1; }
@media (hover: hover) and (pointer: fine) { .tile__btn:hover .tile__playbtn { transform: scale(1); opacity: 1; } .has-cursor .tile__btn:hover .tile__playbtn { opacity: 0; } }
@media (max-width: 1099px) { .wall { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 699px) {
  .wall { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 10px; }
  .wall .tile.is-stagger { margin-top: 52px; }
  .tile__btn { border-radius: 16px; }
  .tile__top { left: 8px; right: 8px; top: 8px; }
  .badge { font-size: 10px; padding: 4px 7px 4px 5px; }
  .tile__top > .mono { font-size: 10px; }
  .tile__meta { left: 10px; right: 10px; bottom: 10px; grid-template-columns: 1fr; }
  .tile__brand { font-size: 21px; }
  .tile__fmt { font-size: 11.5px; }
  .tile__views { grid-column: 1; grid-row: auto; font-size: 11px; margin-top: 4px; }
  .tile__playbtn { width: 54px; height: 54px; margin: -27px 0 0 -27px; }
}

/* ---------- 12 · PLAYER DIALOG ---------- */
.player { width: 100%; height: 100%; max-width: 100%; max-height: 100%; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ink); overflow: hidden; }
.player::backdrop { background: rgba(5, 5, 8, .82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
[data-theme="daylight"] .player::backdrop { background: rgba(30, 24, 16, .72); }
.player__in { position: relative; height: 100%; display: grid; grid-template-columns: auto minmax(0, 400px); justify-content: center; align-items: center; gap: clamp(20px, 4vw, 64px); padding: clamp(16px, 4vh, 48px) var(--gutter); }
.player__stage { position: relative; height: min(86vh, 860px); aspect-ratio: 9 / 16; border-radius: 22px; overflow: hidden; background: #000; box-shadow: 0 0 0 1px rgba(255, 255, 255, .12), 0 50px 120px -30px rgba(0, 0, 0, .8); }
.player__stage > .clip { position: absolute; inset: 0; aspect-ratio: auto; }
.player__stage video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.player__info { color: #F4ECDC; background: rgba(16, 16, 22, .78); border: 1px solid rgba(244, 236, 220, .14); border-radius: 22px; padding: clamp(20px, 2.4vw, 32px); }
.player__rec { display: flex; align-items: center; gap: 8px; font-size: 11px; letter-spacing: .14em; color: rgba(244, 236, 220, .65); }
.player__title { margin-top: 14px; font: 800 clamp(36px, 3.6vw, 56px)/.92 var(--f-display); text-transform: uppercase; }
.player__brand { margin-top: 10px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: #FF8A5B; }
.player__cap { margin-top: 16px; color: rgba(244, 236, 220, .8); font-size: 15.5px; }
.player__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 22px; }
.player__stats div { padding: 12px 14px; border-radius: 12px; background: rgba(244, 236, 220, .06); border: 1px solid rgba(244, 236, 220, .1); }
.player__stats dt { font: 500 10.5px/1 var(--f-mono); letter-spacing: .12em; text-transform: uppercase; color: rgba(244, 236, 220, .6); }
.player__stats dd { margin-top: 6px; font: 800 30px/1 var(--f-display); letter-spacing: .02em; }
.player__nav { display: flex; align-items: center; gap: 10px; margin-top: 22px; }
.player__nav .btn { margin-left: auto; }
.player .iconbtn { color: #F4ECDC; border-color: rgba(244, 236, 220, .25); background: rgba(16, 16, 22, .6); }
.player .iconbtn:hover { border-color: #F4ECDC; }
.player__close { position: absolute; top: clamp(12px, 3vh, 28px); right: clamp(12px, 2vw, 28px); z-index: 5; }
@media (max-width: 860px) {
  .player__in { grid-template-columns: 1fr; align-content: start; justify-items: center; overflow-y: auto; padding: 64px 14px 24px; gap: 14px; }
  .player__stage { height: min(62svh, 640px); }
  .player__info { width: min(100%, 520px); padding: 18px; }
  .player__title { font-size: 34px; }
  .player__stats dd { font-size: 24px; }
}

/* ---------- 13 · BRANDS (typographic wall) ---------- */
.bwall { --cols: 4; display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); margin-top: clamp(40px, 5vw, 72px); border-top: 1px solid var(--line-2); border-left: 1px solid var(--line-2); }
.bmark { --mx: 50%; --my: 50%; position: relative; display: grid; place-items: center; aspect-ratio: 16 / 10; border-right: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); overflow: hidden; cursor: default; isolation: isolate; color: var(--ink); }
.bmark::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(240px circle at var(--mx) var(--my), var(--accent-soft), transparent 70%); opacity: 0; transition: opacity .4s; }
.bmark::after { content: ""; position: absolute; inset: 12px; pointer-events: none; opacity: 0; transition: opacity .35s, inset .5s var(--ease);
  background:
    linear-gradient(var(--accent), var(--accent)) top left / 14px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) top left / 1.5px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) top right / 14px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) top right / 1.5px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom left / 14px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom left / 1.5px 14px no-repeat,
    linear-gradient(var(--accent), var(--accent)) bottom right / 14px 1.5px no-repeat, linear-gradient(var(--accent), var(--accent)) bottom right / 1.5px 14px no-repeat; }
.bmark__logo { display: inline-flex; align-items: center; gap: .35em; font-size: clamp(20px, 2.1vw, 36px); line-height: 1; transition: transform .6s var(--ease), color .4s, opacity .4s; text-align: center; }
.bmark__info { position: absolute; left: 0; right: 0; bottom: 16%; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; padding: 0 10px; opacity: 0; transform: translateY(14px); transition: opacity .4s, transform .6s var(--ease); }
.bmark__info b { font-size: 14px; font-weight: 750; }
.bmark__info span { font-size: 10.5px; letter-spacing: .08em; color: var(--accent-text); text-transform: uppercase; }
.bmark:hover::before, .bmark:focus-visible::before, .bmark.is-on::before { opacity: 1; }
.bmark:hover::after, .bmark:focus-visible::after, .bmark.is-on::after { opacity: 1; inset: 10px; }
.bmark:hover .bmark__logo, .bmark:focus-visible .bmark__logo, .bmark.is-on .bmark__logo { transform: translateY(-34%) scale(.82); color: var(--accent-text); }
.bmark:hover .bmark__info, .bmark:focus-visible .bmark__info, .bmark.is-on .bmark__info { opacity: 1; transform: none; }
.bmark:focus-visible { outline-offset: -4px; border-radius: 0; }
.bl-ico { width: 1em; height: 1em; }
.bl-lumi { font-family: var(--f-sans); font-weight: 600; letter-spacing: .02em; }
.bl-byte { font-family: var(--f-sans); font-weight: 800; letter-spacing: -.03em; }
.bl-byte i { font-style: normal; font-weight: 300; letter-spacing: 0; }
.bl-byte .bl-bars { width: .9em; height: .72em; fill: currentColor; margin-left: .1em; }
.bl-tala { flex-direction: column; gap: .3em; font-family: var(--f-display); font-weight: 900; letter-spacing: .32em; text-indent: .32em; font-size: clamp(26px, 2.8vw, 46px); }
.bl-tala small { font: 500 .24em/1 var(--f-mono); letter-spacing: .2em; text-indent: .2em; opacity: .8; }
.bl-nook { font-family: var(--f-sans); font-weight: 300; letter-spacing: -.01em; font-size: clamp(24px, 2.5vw, 42px); }
.bl-nook span { color: var(--accent-text); font-weight: 200; }
.bl-rose { font-family: var(--f-display); font-weight: 600; font-size: clamp(28px, 3vw, 50px); letter-spacing: .02em; }
.bl-rose em { font: 500 .36em/1 var(--f-mono); font-style: normal; align-self: flex-start; margin-top: .3em; padding: .2em .4em; border: 1px solid currentColor; border-radius: .3em; }
.bl-orbit { font-family: var(--f-sans); font-weight: 800; letter-spacing: .26em; font-size: clamp(16px, 1.6vw, 26px); }
.bl-orbit .bl-ico { width: 1.5em; height: 1.5em; }
.bl-halo { font-family: var(--f-display); font-weight: 300; letter-spacing: .1em; font-size: clamp(28px, 3vw, 50px); gap: .05em; }
.bl-halo b { font-weight: 900; color: var(--accent-text); }
.bl-pulse { font-family: var(--f-sans); font-weight: 700; letter-spacing: -.02em; gap: .15em; }
.bl-pulse .bl-wave { width: 1.6em; height: .7em; color: var(--accent-text); }
.bl-verde { flex-direction: column; gap: .1em; font-family: var(--f-sans); font-weight: 500; font-size: clamp(26px, 2.8vw, 46px); letter-spacing: -.04em; }
.bl-verde small { font: 500 .3em/1 var(--f-mono); letter-spacing: .4em; text-indent: .4em; }
.bl-mochi { font-family: var(--f-display); font-weight: 800; letter-spacing: .06em; gap: .2em; }
.bl-mochi i { font-style: normal; display: inline-grid; place-items: center; width: 1.3em; height: 1.3em; border-radius: 50%; border: 1.5px solid currentColor; font-family: var(--f-sans); font-size: .6em; font-weight: 600; }
.bl-salt { flex-direction: column; gap: .5em; font-family: var(--f-sans); font-weight: 800; letter-spacing: .34em; text-indent: .34em; font-size: clamp(15px, 1.5vw, 24px); }
.bl-salt small { font: 500 .5em/1 var(--f-mono); letter-spacing: .2em; text-indent: .2em; opacity: .75; }
.bl-fern { font-family: var(--f-sans); font-weight: 400; letter-spacing: -.02em; font-size: clamp(24px, 2.5vw, 42px); }
.bl-fern i { font-style: normal; font-weight: 200; color: var(--accent-text); }
@media (max-width: 999px) { .bwall { --cols: 3; } }
@media (max-width: 599px) { .bwall { --cols: 2; } .bmark { aspect-ratio: 1 / .8; } .bmark__logo { font-size: 20px; } .bl-tala, .bl-rose, .bl-halo, .bl-verde { font-size: 28px; } .bl-orbit, .bl-salt { font-size: 14px; } .bmark__info { bottom: 10%; } .bmark__info b { font-size: 12.5px; } .bmark__info span { font-size: 9.5px; } }

/* ---------- 14 · STATS (scopes) ---------- */
.scopes { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 22px); margin-top: clamp(40px, 5vw, 72px); }
.scope { position: relative; display: flex; flex-direction: column; padding: clamp(20px, 2vw, 30px); border-radius: var(--r-lg); border: 1px solid var(--line-2); overflow: hidden;
  background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 100% 24px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 24px 100%,
    var(--bg-2); }
.scope::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(120% 70% at 0% 0%, var(--accent-soft), transparent 60%); }
.scope__label { font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--ink-2); }
.scope__num { margin-top: clamp(16px, 2vw, 30px); font: 800 clamp(64px, 6.6vw, 128px)/.86 var(--f-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.scope__num small { font-size: .42em; color: var(--accent-text); margin-left: .08em; letter-spacing: 0; }
.scope__viz { width: 100%; height: auto; margin-top: clamp(16px, 2vw, 26px); overflow: visible; }
.scope__note { margin-top: 12px; font-size: 13px; color: var(--ink-3); }
.scope__bars rect { fill: var(--ink-3); transform-box: fill-box; transform-origin: bottom; }
.scope__bars rect.hot { fill: var(--accent); }
.scope__watch .track { fill: var(--line-2); }
.scope__watch .fill { fill: var(--accent); transform-box: fill-box; transform-origin: left; }
.scope__watch .ticks path { stroke: var(--ink-3); stroke-width: 1; }
.scope__watch .knob { fill: var(--bg-2); stroke: var(--accent); stroke-width: 3; }
.scope__gauge path { fill: none; stroke-width: 9; stroke-linecap: round; }
.scope__gauge .track { stroke: var(--line-2); }
.scope__gauge .fill { stroke: var(--accent); stroke-dasharray: 43 100; }
.scope__gauge .tick { stroke: var(--ink); stroke-width: 2; stroke-linecap: round; opacity: .8; }
.scope__line .fill { fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; }
.scope__line .area { fill: var(--accent-soft); }
.scope__line .dot { fill: var(--accent); }
.stats__foot { margin-top: 20px; font-size: 11px; letter-spacing: .06em; color: var(--ink-3); }
@media (max-width: 999px) { .scopes { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 459px) { .scope { padding: 16px; } .scope__num { font-size: 56px; } .scope__label { font-size: 9.5px; } .scope__note { font-size: 12px; } }

/* ---------- 15 · PROCESS (film strip) ---------- */
.process { position: relative; padding-top: var(--sec-pad); }
.process__pin { position: relative; }
.process__count { display: flex; align-items: center; gap: 12px; font-size: 12px; letter-spacing: .14em; color: var(--ink-3); margin-bottom: 10px; }
.process__count b { color: var(--accent-text); font-weight: 600; }
.process__bar { position: relative; width: 120px; height: 3px; border-radius: 3px; background: var(--line-2); overflow: hidden; }
.process__bar i { position: absolute; inset: 0; background: var(--accent); transform-origin: left; transform: scaleX(1); }
.strip { --hole-w: 14px; position: relative; margin-top: clamp(28px, 4vh, 56px); background: var(--film); padding: 38px 0; overflow: hidden; }
.strip::before, .strip::after { content: ""; position: absolute; left: 0; right: 0; height: 14px; background: var(--hole); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14'%3E%3Crect x='8' y='0' width='14' height='14' rx='3'/%3E%3C/svg%3E") repeat-x 0 0 / 30px 14px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='30' height='14'%3E%3Crect x='8' y='0' width='14' height='14' rx='3'/%3E%3C/svg%3E") repeat-x 0 0 / 30px 14px; }
.strip::before { top: 12px; }
.strip::after { bottom: 12px; }
.strip__track { display: flex; gap: 14px; padding: 0 var(--gutter); margin: 0; width: max-content; }
.frame { flex: none; width: clamp(300px, 31vw, 560px); }
.frame__in { position: relative; height: 100%; display: flex; flex-direction: column; padding: clamp(22px, 2.4vw, 36px); border-radius: 6px; background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); min-height: clamp(360px, 50vh, 520px); }
[data-theme="daylight"] .frame__in { background: var(--panel); }
.frame__n { font-size: 12px; letter-spacing: .12em; color: var(--ink-3); }
.frame__n span { color: var(--accent-text); font-weight: 600; }
.frame__ico { width: clamp(56px, 5vw, 80px); height: auto; margin-top: clamp(20px, 3vh, 40px); fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.frame__title { margin-top: auto; padding-top: 24px; font: 800 clamp(56px, 6vw, 112px)/.85 var(--f-display); text-transform: uppercase; letter-spacing: -.005em; }
.frame__desc { margin-top: 14px; color: var(--ink-2); font-size: clamp(15px, .3vw + 14px, 17px); max-width: 30em; }
.frame__out { margin-top: 18px; display: inline-flex; align-self: flex-start; padding: 7px 11px; border-radius: 6px; background: var(--accent-soft); color: var(--accent-text); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; }
.process { padding-bottom: var(--sec-pad); }
.strip { overflow-x: auto; scrollbar-width: thin; }
.process__count { display: none; }
.process.is-pinned { padding-top: 0; padding-bottom: 0; margin-top: var(--sec-pad); }
.process.is-pinned .process__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--nav-h); overflow: hidden; }
.process.is-pinned .strip { overflow: hidden; }
.process.is-pinned .process__count { display: flex; }
@media (max-width: 899px), (max-height: 599px) {
  .strip { padding: 0 34px; margin-inline: var(--gutter); border-radius: 4px; }
  .strip::before, .strip::after { top: 0; bottom: 0; left: auto; right: auto; width: 14px; height: auto; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='30'%3E%3Crect x='0' y='8' width='14' height='14' rx='3'/%3E%3C/svg%3E") repeat-y 0 0 / 14px 30px; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='30'%3E%3Crect x='0' y='8' width='14' height='14' rx='3'/%3E%3C/svg%3E") repeat-y 0 0 / 14px 30px; }
  .strip::before { left: 10px; }
  .strip::after { right: 10px; }
  .strip__track { flex-direction: column; width: auto; padding: 14px 0; gap: 14px; }
  .frame { width: auto; }
  .frame__in { min-height: 0; }
  .frame__title { margin-top: 18px; padding-top: 0; font-size: clamp(54px, 14vw, 80px); }
}

/* ---------- 16 · RATES ---------- */
.usage { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line-2); margin-bottom: 6px; }
.usage__label { font-weight: 700; font-size: 14.5px; }
.usage__hint { font-size: 11px; color: var(--accent-text); letter-spacing: .06em; }
.switch { position: relative; width: 52px; height: 30px; border-radius: 99px; border: 1px solid var(--line-2); background: var(--bg-3); cursor: pointer; flex: none; transition: background-color .3s; }
.switch__knob { position: absolute; left: 3px; top: 3px; width: 22px; height: 22px; border-radius: 50%; background: var(--ink); transition: transform .4s var(--ease); }
.switch[aria-checked="true"] { background: var(--accent); border-color: var(--accent); }
.switch[aria-checked="true"] .switch__knob { transform: translateX(22px); background: var(--accent-ink); }
.presets { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 26px); margin-top: clamp(40px, 5vw, 72px); align-items: stretch; }
.preset { position: relative; display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 36px); border-radius: 24px; border: 1px solid var(--line-2); background: var(--bg-2); }
.preset--hot { border-color: var(--accent); background: radial-gradient(120% 60% at 50% 0%, var(--accent-soft), transparent 70%), var(--bg-2); box-shadow: 0 40px 80px -50px var(--glow); }
.preset__badge { position: absolute; top: -13px; right: 22px; display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 10.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.preset__badge .rec-dot { background: var(--accent-ink); width: 7px; height: 7px; }
.preset__id { font-size: 11px; letter-spacing: .12em; color: var(--ink-3); }
.preset__name { margin-top: 12px; font: 800 clamp(34px, 3vw, 52px)/.9 var(--f-display); text-transform: uppercase; }
.preset__price { display: flex; align-items: flex-start; margin-top: 20px; font: 800 clamp(64px, 6vw, 112px)/.85 var(--f-display); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.preset__cur { font-size: .42em; margin-top: .1em; color: var(--accent-text); }
.preset__price small { align-self: flex-end; margin: 0 0 .5em .5em; font: 500 12px/1 var(--f-mono); color: var(--ink-3); letter-spacing: .06em; }
.preset__list { list-style: none; padding: 22px 0 0; margin: 22px 0 28px; border-top: 1px dashed var(--line-2); display: grid; gap: 11px; font-size: 15px; color: var(--ink-2); }
.preset__list li { position: relative; padding-left: 28px; }
.preset__list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-soft); }
.preset__list li::after { content: ""; position: absolute; left: 5px; top: calc(.2em + 5px); width: 8px; height: 4.5px; border-left: 2px solid var(--accent-text); border-bottom: 2px solid var(--accent-text); transform: rotate(-45deg); }
.preset .btn { margin-top: auto; }
.addons { margin-top: clamp(48px, 6vw, 96px); display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.6fr); gap: 24px 48px; }
.addons__title { font: 800 clamp(40px, 4vw, 72px)/.9 var(--f-display); text-transform: uppercase; }
.addons__list { border-top: 1px solid var(--line-2); }
.addon { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr) auto; gap: 6px 24px; align-items: baseline; padding: 18px 4px; border-bottom: 1px solid var(--line-2); transition: background-color .3s, padding .4s var(--ease); }
.addon:hover { background: var(--accent-soft); padding-inline: 14px; }
.addon__name { font-weight: 750; font-size: 16.5px; }
.addon__desc { color: var(--ink-2); font-size: 14.5px; }
.addon__price { font-size: 13px; color: var(--accent-text); white-space: nowrap; font-weight: 600; }
@media (max-width: 999px) { .presets { grid-template-columns: 1fr; max-width: 560px; } .addons { grid-template-columns: 1fr; } }
@media (max-width: 599px) { .addon { grid-template-columns: 1fr auto; } .addon__desc { grid-column: 1 / -1; grid-row: 2; } .usage { flex-wrap: wrap; border-radius: 18px; } }

/* ---------- 17 · COMMENTS (testimonials) ---------- */
.comments__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.comments .sec-head { position: sticky; top: calc(var(--nav-h) + 40px); }
.rating { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; margin-top: 28px; font-size: 15px; color: var(--ink-2); }
.rating b { color: var(--ink); }
.rating__stars { display: flex; gap: 2px; color: var(--accent); }
.rating__stars .ico { width: 18px; height: 18px; }
.sheet { position: relative; max-width: 600px; justify-self: end; width: 100%; padding: 10px 0 0; border-radius: 30px 30px 22px 22px; background: var(--panel); border: 1px solid var(--line-2); box-shadow: var(--shadow); overflow: hidden; }
.sheet__handle { width: 44px; height: 5px; margin: 0 auto; border-radius: 99px; background: var(--line-2); }
.sheet__head { display: flex; justify-content: center; position: relative; padding: 14px 20px 16px; font-size: 14.5px; border-bottom: 1px solid var(--line); }
.sheet__head span { position: absolute; right: 22px; top: 15px; font-size: 11px; color: var(--ink-3); }
.sheet__list { padding: 8px 0; }
.cmt { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 16px clamp(16px, 2vw, 26px); }
.cmt + .cmt { border-top: 1px solid var(--line); }
.cmt__av { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(140deg, var(--a1), var(--a2)); color: #fff; font: 800 15px/1 var(--f-sans); letter-spacing: .02em; text-shadow: 0 1px 2px rgba(0, 0, 0, .3); }
.cmt__who { font-size: 13.5px; color: var(--ink-3); display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.cmt__who b { color: var(--ink); font-weight: 750; font-size: 14.5px; }
.cmt__time { color: var(--ink-3); }
.cmt__text { margin-top: 6px; font-size: clamp(15.5px, .3vw + 14.5px, 17.5px); line-height: 1.5; }
.cmt__actions { display: flex; align-items: center; gap: 16px; margin-top: 10px; font: 600 12.5px/1 var(--f-mono); color: var(--ink-3); }
.cmt__like { display: inline-flex; align-items: center; gap: 6px; }
.cmt__like .ico { width: 16px; height: 16px; color: var(--rec); }
.cmt__creator { display: inline-flex; align-items: center; gap: 6px; padding: 4px 8px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-text); font-size: 10.5px; letter-spacing: .04em; }
.cmt__creator .ico { width: 11px; height: 11px; }
.sheet__input { display: flex; align-items: center; justify-content: space-between; margin: 4px 14px 14px; padding: 12px 18px; border-radius: 999px; background: var(--panel-3); color: var(--ink-3); font-size: 14px; }
.sheet__input .ico { width: 18px; height: 18px; color: var(--rec); }
.hearts { position: absolute; right: 20px; bottom: 56px; width: 60px; height: 70%; pointer-events: none; }
.hearts .ico { position: absolute; bottom: 0; left: 20px; width: 22px; height: 22px; color: var(--rec); opacity: 0; }
@media (max-width: 899px) { .comments__grid { grid-template-columns: 1fr; } .comments .sec-head { position: static; } .sheet { justify-self: stretch; max-width: none; } }

/* ---------- 18 · FAQ ---------- */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 120px); align-items: start; }
.faq .sec-lede a { color: var(--accent-text); text-underline-offset: 3px; }
.faq__list { border-top: 1px solid var(--line-2); }
.qa { border-bottom: 1px solid var(--line-2); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 4px; cursor: pointer; list-style: none; font-weight: 700; font-size: clamp(17px, .5vw + 15px, 22px); line-height: 1.3; transition: color .25s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--accent-text); }
.qa summary .ico { width: 22px; height: 22px; flex: none; padding: 3px; border-radius: 50%; border: 1px solid var(--line-2); box-sizing: content-box; transition: transform .45s var(--ease), background-color .3s, color .3s; }
.qa[open] summary .ico { transform: rotate(135deg); background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 48px 26px 4px; color: var(--ink-2); max-width: 46em; }
@media (max-width: 899px) { .faq__grid { grid-template-columns: 1fr; } .qa__a p { padding-right: 4px; } }

/* ---------- 19 · CONTACT + FOOTER ---------- */
.contact { position: relative; min-height: 88svh; display: flex; align-items: center; padding: calc(var(--sec-pad) * .6) 0 var(--sec-pad); overflow: clip; }
.contact__clap { position: absolute; right: -6vw; top: 8%; width: min(46vw, 640px); opacity: .07; pointer-events: none; }
[data-theme="daylight"] .contact__clap { opacity: .09; }
.clap { width: 100%; height: auto; overflow: visible; }
.clap__bar, .clap__board { fill: var(--ink); }
.clap__stripe { stroke: var(--bg); stroke-width: 12; }
.clap__stripe--b { stroke-width: 10; }
.clap__arm { transform-box: fill-box; transform-origin: 0% 100%; }
.clap__txt { fill: var(--bg); font: 800 15px var(--f-mono); letter-spacing: .1em; }
.clap__txt--big { font: 800 30px var(--f-display); letter-spacing: .06em; }
.contact__in { position: relative; }
.contact__title { font-family: var(--f-display); font-weight: 850; text-transform: uppercase; font-size: clamp(60px, 10.4vw, 220px); line-height: .84; letter-spacing: -.01em; max-width: 12ch; text-wrap: balance; }
.contact__title em { font-style: normal; color: var(--accent-display); }
.contact__lede { margin-top: clamp(20px, 3vw, 36px); max-width: 34em; font-size: clamp(16px, .5vw + 14px, 21px); color: var(--ink-2); }
.contact__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 14px; margin-top: clamp(28px, 4vw, 48px); }
.mailto { display: inline-flex; align-items: center; gap: 12px; margin-right: 10px; font: 800 clamp(26px, 3vw, 48px)/1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 3px no-repeat; padding-bottom: 8px; transition: background-size .5s var(--ease), color .3s; }
.mailto .ico { width: .8em; height: .8em; color: var(--accent); }
.mailto:hover { color: var(--accent-text); background-size: 0 3px; background-position: right bottom; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(36px, 5vw, 64px); }
.socials a { display: inline-flex; align-items: center; gap: 10px; padding: 12px 18px 12px 14px; border-radius: 999px; border: 1px solid var(--line-2); text-decoration: none; font-weight: 700; font-size: 14.5px; transition: all .3s var(--ease); }
.socials a .mono { font-weight: 400; font-size: 12px; color: var(--ink-3); }
.socials a:hover { border-color: var(--ink); background: var(--accent-soft); }
.socials .ico { width: 18px; height: 18px; color: var(--accent-text); }
.foot { border-top: 1px solid var(--line); padding-bottom: 96px; }
.foot__leader { display: flex; justify-content: space-between; align-items: center; padding: 14px var(--gutter); background: repeating-linear-gradient(-45deg, var(--bg-2) 0 14px, var(--bg-3) 14px 28px); font: 800 22px/1 var(--f-display); letter-spacing: .2em; text-transform: uppercase; }
.foot__leader .mono { font-size: 12px; font-weight: 500; letter-spacing: .1em; color: var(--accent-text); }
.foot__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; padding-top: 28px; font-size: 13.5px; color: var(--ink-3); }
.foot__row a { color: var(--ink-2); text-underline-offset: 3px; }
.foot__top { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; font-weight: 700; }
@media (max-width: 899px) { .contact__clap { width: 90vw; right: -30vw; top: 16%; } .mailto { margin-right: 0; } }

/* ---------- 20 · DEMO ONLY: theme switcher (remove for client sites) ---------- */
.demo-switch { position: fixed; left: 16px; bottom: 16px; z-index: 110; display: flex; align-items: center; gap: 4px; padding: 5px; border-radius: 999px; background: color-mix(in srgb, var(--bg-3) 86%, transparent); border: 1px solid var(--line-2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: 0 16px 40px -16px rgba(0, 0, 0, .5); }
html:not(.js) .demo-switch { display: none; }
.demo-switch { transition: opacity .4s var(--ease), transform .5s var(--ease); }
.demo-switch.is-tucked { opacity: 0; transform: translateY(24px); pointer-events: none; }
.demo-switch__tag { padding: 0 8px 0 10px; font-size: 10px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-text); }
.demo-switch button { display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 12px 0 5px; border-radius: 999px; border: 1px solid transparent; background: transparent; cursor: pointer; font-weight: 700; font-size: 12.5px; color: var(--ink-2); transition: all .25s; }
.demo-switch button:hover { color: var(--ink); }
.demo-switch button[aria-pressed="true"] { background: var(--ink); color: var(--bg); }
.sw { width: 24px; height: 24px; border-radius: 50%; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .25); }
.sw--studio { background: conic-gradient(#FF5A1F 0 120deg, #0B0B0F 120deg 270deg, #F4ECDC 270deg); }
.sw--daylight { background: conic-gradient(#F0561C 0 120deg, #F1E8D8 120deg 270deg, #15120E 270deg); }
.sw--neon { background: conic-gradient(#22E6FF 0 120deg, #0D0420 120deg 240deg, #FF3DCB 240deg); }
@media (max-width: 599px) { .demo-switch { left: 10px; bottom: 10px; } .demo-switch button { padding: 0 5px; gap: 0; } .demo-switch button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); } .demo-switch__tag { padding: 0 6px 0 8px; } }
/* /DEMO ONLY */

/* ---------- misc ---------- */
html:has(dialog[open]) { overflow: hidden; }
[tabindex="-1"]:focus { outline: none; }
.st-line-mask { padding-block: .12em; margin-block: -.12em; }
.qa.is-closing summary .ico { transform: none; background: transparent; color: inherit; border-color: var(--line-2); }
.player[open]::backdrop { animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; } }
@media (max-height: 520px) { .edit__pin { height: auto; } .nle { height: auto; --mon-h: 320px; } }

/* ---------- 21 · MOTION PREFERENCES ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .2s !important; }
  .scene, .scene * { animation: none !important; }
  .grain { animation: none; }
  .rec-dot { animation: none; }
  .leader { display: none !important; }
}

/* short desktop screens: keep hero CTAs clear of the bottom-left demo pill */
@media (min-width: 900px) and (max-height: 820px) {
  .hero__title { font-size: clamp(54px, min(17.6cqi, 13vh), 200px); margin-block: 14px 16px; }
  .hero__ctas { margin-top: 20px; }
  .hero__proof { margin-top: 18px; }
}
