/* src-3e1ac42f66/css/fonts.css */
/* Self-hosted fonts (OFL): Unbounded, Manrope, JetBrains Mono — variable weights, latin + cyrillic subsets (₴ is in latin-ext).
   Files in /fonts/ are immutable (the version is in the name); this stylesheet lives under /src/ and is re-checked like the rest. */
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/jetbrains-mono-v1-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/jetbrains-mono-v1-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/jetbrains-mono-v1-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'JetBrains Mono'; font-style: normal; font-weight: 400 600; font-display: swap; src: url('/fonts/jetbrains-mono-v1-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/manrope-v1-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/manrope-v1-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/manrope-v1-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Manrope'; font-style: normal; font-weight: 400 700; font-display: swap; src: url('/fonts/manrope-v1-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/fonts/unbounded-v1-cyrillic-ext.woff2') format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/fonts/unbounded-v1-cyrillic.woff2') format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/fonts/unbounded-v1-latin-ext.woff2') format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Unbounded'; font-style: normal; font-weight: 200 900; font-display: swap; src: url('/fonts/unbounded-v1-latin.woff2') format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* src-3e1ac42f66/css/site.css */
/* Viacheslav Yermolenko — site base.
   Style «Монтажна» (A, html[data-theme='A']) — NLE black, warm white, REC red ·
   Unbounded (variable 200–900: liquid heads AND subheads) / Manrope / JetBrains Mono */

:root {
  --bg: #0b0b0c;
  --bg-2: #121214;
  --surface: #161618;
  --surface-2: #1e1e21;
  --line: rgba(241, 239, 234, 0.1);
  --line-strong: rgba(241, 239, 234, 0.22);
  --field-edge: rgba(241, 239, 234, 0.4);   /* input borders: 3:1 against bg and surface */
  --text: #f1efea;
  --muted: #a3a097;
  --accent: #ff453a;          /* REC */
  --accent-ink: #0b0b0c;     /* 5.8:1 on REC (white would be 3.4:1) */
  --link: #f1efea;
  --btn-bg: #f1efea;          /* primary button */
  --btn-ink: #0b0b0c;
  --on-media: #ffffff;
  --rec: #ff453a;
  --stage-bg: radial-gradient(120% 90% at 50% 40%, #18181b 0%, #0d0d0f 55%, #070708 100%);
  --card-bg: #161619;
  --card-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(255, 255, 255, 0.05);
  --shade: #050506;
  --lt-ripple: 255 255 255;

  --f-display: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --f-ui: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --f-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, monospace;
  --f-liquid: 'Unbounded', 'Manrope', system-ui, sans-serif;
  --display-w: 500;
  --line-w: 400;              /* the second-level statement under a wordmark */
  --display-ls: -0.025em;
  --display-vs: normal;

  --radius: 14px;
  --gutter: clamp(16px, 4vw, 48px);
  --maxw: 1320px;
  --tsb-right: 0px;
  --tsb-bottom: 0px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* type scale (2026-10-29): one size per role, nothing in between.
     Desktop (≥1440) → phone (≤767): sec 72→38 · sub 48→29 · big 28→22 · lead 19→17 · body/btn/ui/mono stay.
     Tablets and small laptops (768–1439): sec and sub run in proportion to the viewport (5vw = 72 px at 1440),
     so a single long word still fits a half-width column; at any width every head is the same size.
     Outside the scale on purpose: the intro VY|MIRY, the footer name, the hero h1 of the pages. */
  --fs-sec: clamp(38px, 5vw, 72px);       /* section heads (.sec-h): all the same; a long one wraps, never shrinks */
  --fs-sub: clamp(29px, 3.3334vw, 48px);  /* direction name (.fm-name, next-direction), an opened work's title */
  --fs-big: 28px;   /* big words: marquee, work titles, card heads, «Здача» */
  --fs-lead: 19px;  /* ledes next to a head, hero and contact leads */
  --fs-body: 16px;  /* running text, links, inputs */
  --fs-btn: 15px;   /* buttons, footer nav */
  --fs-ui: 13px;    /* menu, chips, captions, UI */
  --fs-mono: 11px;  /* mono labels, timecodes, kickers */
  color-scheme: dark;
}
/* whole pixels in between too (browsers without round() keep the plain clamp above) */
@supports (width: round(1.5px, 1px)) {
  :root { --fs-sec: round(clamp(38px, 5vw, 72px), 1px); --fs-sub: round(clamp(29px, 3.3334vw, 48px), 1px); }
}
@media (max-width: 767px) {
  :root { --fs-sec: 38px; --fs-sub: 29px; --fs-big: 22px; --fs-lead: 17px; }
}

html[data-tsb='v'] { --tsb-right: 86px; }
html[data-tsb='h'] { --tsb-bottom: 90px; }
@media (max-width: 767px) { html[data-tsb='h'] { --tsb-bottom: 62px; } }

/* ---------- base ---------- */
* { box-sizing: border-box; }
html { overflow-x: clip; -webkit-text-size-adjust: 100%; }
html, body { margin: 0; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-ui);
  font-size: var(--fs-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background-color 0.4s ease, color 0.4s ease;
}
a { color: inherit; }
button { font: inherit; color: inherit; }
img, video, canvas { display: block; max-width: 100%; }
::selection { background: var(--accent); color: var(--accent-ink); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.mono { font-family: var(--f-mono); }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 calc(var(--gutter) + var(--tsb-right)) 0 var(--gutter); }
.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; }
h1, h2, h3 { text-wrap: balance; }
p { text-wrap: pretty; hyphens: manual; }

.skip { position: fixed; left: 12px; top: 12px; z-index: 200; background: var(--btn-bg); color: var(--btn-ink); padding: 10px 14px; border-radius: 10px; transform: translateY(-160%); transition: transform 0.2s; text-decoration: none; font-weight: 600; }
.skip:focus { transform: none; }

/* ---------- buttons, links, segmented ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; justify-content: center;
  min-height: 44px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line-strong);
  font-family: var(--f-ui); font-weight: 600; font-size: var(--fs-btn); letter-spacing: 0.005em; text-decoration: none; cursor: pointer;
  background: transparent; color: var(--text);
  transition: transform 0.25s var(--ease-out), background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--btn-bg); color: var(--btn-ink); border-color: transparent; }
.btn-primary:hover { background: color-mix(in oklab, var(--btn-bg) 86%, var(--bg)); }
.btn-ghost:hover { border-color: var(--text); }
.btn-sm { min-height: 36px; padding: 0 14px; font-size: var(--fs-ui); }
.btn-lg { min-height: 52px; padding: 0 24px; font-size: var(--fs-btn); }
.btn-xl { min-height: 60px; padding: 0 28px; font-size: var(--fs-btn); }
.btn-glass { background: rgba(11, 11, 12, 0.62); color: #fff; border-color: rgba(255, 255, 255, 0.28); }
.btn-glass svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }

.link-arrow { display: inline-flex; align-items: center; gap: 8px; color: var(--link); font-weight: 600; text-decoration: none; border-bottom: 1px solid color-mix(in oklab, var(--link) 40%, transparent); padding-bottom: 2px; }
.link-arrow::after { content: '→'; transition: transform 0.3s var(--ease-out); }
.link-arrow:hover::after, a:hover > .link-arrow::after { transform: translateX(4px); }

.seg { display: inline-flex; padding: 3px; gap: 2px; border-radius: 999px; background: color-mix(in oklab, var(--bg) 82%, transparent); border: 1px solid var(--line); }
.seg button { border: 0; background: transparent; color: var(--muted); font-size: var(--fs-ui); font-weight: 600; padding: 6px 11px; border-radius: 999px; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; min-height: 30px; transition: color 0.2s, background-color 0.25s; }
.seg button:hover { color: var(--text); }
.seg button[aria-pressed='true'] { background: var(--text); color: var(--bg); }

.rec-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--rec); flex: none; }

/* kicker = a clip label: colour chip + number + name */
.kick { display: flex; align-items: center; gap: 10px; margin: 0 0 18px; font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.kick i { width: 10px; height: 10px; border-radius: 3px; background: var(--c); display: block; flex: none; }
.kick span:first-of-type { color: var(--text); }

/* section heads */
.sec-h {
  font-family: var(--f-display); font-weight: var(--display-w); font-variation-settings: var(--display-vs);
  letter-spacing: var(--display-ls); line-height: 1; margin: 0 0 22px; font-size: var(--fs-sec); text-wrap: balance;
}
.sec-h.lt { font-family: var(--lt-font); }
/* phones: liquid heads break their lines in 90% of the column — the intro wave and the finger widen a few letters,
   so the headroom is in the measure, not in a smaller font (all section heads stay one size) */
@media (max-width: 767px) { .sec-h > .lt-inner, .pg-next-name > .lt-inner { max-width: 90%; } }

/* NLE clip header at the top edge of a section: the "splice" between two clips */
.clip-head {
  position: relative; z-index: 3; display: flex; align-items: center; gap: 10px; height: 26px;
  margin: 0 calc(var(--tsb-right)) 0 0; padding: 0 var(--gutter);
  font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--muted); letter-spacing: 0.04em;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  background: linear-gradient(90deg, color-mix(in oklab, var(--bg-2) 92%, transparent), transparent 70%);
}
.clip-head i { width: 18px; height: 10px; border-radius: 2px; background: var(--c); display: block; }
.clip-head b { font-weight: 500; color: var(--text); }
.clip-head em { margin-left: auto; font-style: normal; }

/* ---------- top bar ---------- */
.topbar {
  position: fixed; z-index: 70; left: 0; right: var(--tsb-right); top: 0;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  padding: 14px var(--gutter); pointer-events: none;
  transition: transform 0.45s var(--ease-out);
}
.topbar > * { pointer-events: auto; }
.topbar.hide { transform: translateY(-110%); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--f-display); font-weight: var(--display-w); font-variation-settings: var(--display-vs); font-size: var(--fs-ui); letter-spacing: -0.005em; color: var(--text); padding: 8px 12px 8px 10px; border-radius: 999px; background: color-mix(in oklab, var(--bg) 70%, transparent); }
.topbar-r { display: flex; align-items: center; gap: 8px; }
.topbar-link {
  display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 82%, transparent);
  font-size: var(--fs-ui); font-weight: 600; color: var(--text); text-decoration: none;
  transition: border-color 0.2s, background-color 0.2s;
}
.topbar-link:hover { border-color: var(--line-strong); background: var(--surface); }
html.on-media .brand, html.on-media .seg, html.on-media .topbar-link { color: #fff; }

@media (max-width: 767px) {
  .topbar { padding: 10px 12px; gap: 6px; }
  .topbar-link { display: none; }
  .topbar-cta { min-height: 34px; padding: 0 11px; font-size: var(--fs-ui); }
  .brand { font-size: var(--fs-ui); padding: 7px 10px 7px 9px; gap: 7px; }
  .seg button { padding: 5px 8px; font-size: var(--fs-ui); min-height: 30px; }
}
/* the call to action never wraps or runs off the screen (audit 2026-11-26): on narrow phones the short label;
   the full text stays the accessible name, the visible short one is hidden from screen readers (content / "") */
.topbar-cta { white-space: nowrap; flex: none; }
@media (max-width: 430px) {
  .topbar-cta { font-size: 0 !important; gap: 0; }
  .topbar-cta > * { font-size: 0; }
  .topbar-cta::after { content: "Обговорити"; content: "Обговорити" / ""; font-size: var(--fs-ui); }
  html[lang="en"] .topbar-cta::after { content: "Let's talk"; content: "Let's talk" / ""; }
  /* the short mark VY + playhead (brand system: the abbreviation of VY│MIRY) frees the room for the call to action */
  .brand-vy > span { display: none; }
  .topbar-r { gap: 6px; }
}
@media (max-width: 359px) {
  .topbar { padding-left: 8px; padding-right: 8px; }
  .topbar-r { gap: 4px; }
  .seg button { padding: 5px 5px; }
  .topbar-cta { padding: 0 9px; }
  .pg-dirs summary svg { display: none; }
  .pg-dirs summary { padding: 0 9px; }
  .topbar { gap: 4px; }
  .brand { padding: 7px 6px; }
}

/* ---------- toast ---------- */
.toast { position: fixed; z-index: 120; left: 50%; bottom: calc(24px + var(--tsb-bottom) + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 12px; font-size: var(--fs-ui); font-weight: 600; transition: opacity 0.3s, transform 0.3s var(--ease-out); max-width: calc(100vw - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- detail (framed modal open of a work over dimmed/blurred page) ---------- */
.detail {
  position: fixed; inset: 0; z-index: 150;
  background: rgba(4, 4, 5, 0.74);
  backdrop-filter: blur(12px) saturate(0.82);
  -webkit-backdrop-filter: blur(12px) saturate(0.82);
  color: #fff; display: grid; place-items: center;
  padding: clamp(16px, 3.2vw, 44px) clamp(16px, 4vw, 56px) clamp(76px, 11vh, 112px);
}
.detail[hidden] { display: none; }
.d-frame {
  position: relative;
  width: min(86vw, 1280px, calc(74vh * var(--ar, 1.7778)));
  aspect-ratio: var(--ar, 16 / 9);
  max-height: 76vh;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 36px 96px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.45);
  overflow: hidden; transform-origin: 50% 50%; will-change: transform;
  background: #070709;
}
.d-frame.portrait {
  width: auto;
  height: min(78vh, calc(88vw / var(--ar, 0.5625)));
  max-width: 88vw; max-height: 78vh;
  aspect-ratio: var(--ar, 9 / 16);
}
.d-bg { display: none !important; }
.d-fg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.d-fg.contain { object-fit: contain; }
.d-grad { display: none; }
.d-info {
  position: absolute; left: var(--gutter); right: var(--gutter);
  bottom: calc(clamp(16px, 2.6vh, 32px) + env(safe-area-inset-bottom));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 12px 24px; pointer-events: none;
}
.d-info > * { pointer-events: auto; }
.d-info .mask { overflow: hidden; padding-bottom: 2px; }
.d-info .mask > * { will-change: transform; }
.d-kick { display: inline-flex; gap: 10px; align-items: center; font-size: var(--fs-mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.78); text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.d-kick::before { content: ''; width: 18px; height: 1px; background: var(--rec); }
.d-info h2 { margin: 0; font-family: var(--f-display); font-weight: var(--display-w); font-variation-settings: var(--display-vs); font-size: clamp(22px, 2.4vw, 34px); line-height: 1.05; letter-spacing: var(--display-ls); text-shadow: 0 2px 16px rgba(0,0,0,.75); }
.d-sub-m { margin-top: 0; }
.d-sub { display: block; font-size: var(--fs-body); line-height: 1.4; color: rgba(255,255,255,.75); text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.d-info .btn-primary { background: #fff; color: #0b0b0c; }
.d-top { position: absolute; right: var(--gutter); top: calc(clamp(14px, 2.4vw, 26px) + env(safe-area-inset-top)); display: flex; gap: 8px; z-index: 2; }
.d-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(255,255,255,.32); background: rgba(10,10,12,.62); color: #fff; cursor: pointer; display: grid; place-items: center; transition: border-color 0.2s, background-color 0.2s; }
.d-btn:hover { border-color: #fff; background: rgba(20,20,24,.85); }
.d-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.d-btn:focus-visible { outline: 2px solid #fff; }
.d-btn[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ---------- shared top bar pieces (home + direction pages) ---------- */
/* topbar mark: VY | MIRY in miniature */
.brand-vy { display: inline-flex; align-items: center; gap: 0; font-family: var(--f-display); letter-spacing: -0.01em; }
.brand-vy b { font-weight: 700; }
.brand-vy span { font-weight: 300; }
.brand-vy i { display: inline-block; width: 2px; height: 1.05em; background: var(--rec); margin: 0 0.18em; }

/* directions menu */
.pg-dirs { position: relative; }
.pg-dirs summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0 14px;
  border-radius: 999px; border: 1px solid var(--line); background: color-mix(in oklab, var(--bg) 82%, transparent);
  font-size: var(--fs-ui); font-weight: 600; color: var(--text);
  transition: border-color 0.2s, background-color 0.2s;
}
.pg-dirs summary:hover, .pg-dirs[open] summary { border-color: var(--line-strong); background: var(--surface); }
.pg-dirs summary::-webkit-details-marker { display: none; }
.pg-dirs summary svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; transition: transform 0.3s var(--ease-out); }
.pg-dirs[open] summary svg { transform: rotate(180deg); }
.pg-dirs-list {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none; min-width: 280px;
  background: var(--surface); border: 1px solid var(--line-strong); border-radius: 14px; box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.6);
  transform-origin: top right; animation: pgDirsDrop 0.24s var(--ease-out) both;
}
.pg-dirs-list::before { content: ''; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.pg-dirs[open] .pg-dirs-list li { animation: pgDirsItem 0.26s var(--ease-out) both; }
.pg-dirs[open] .pg-dirs-list li:nth-child(2) { animation-delay: 0.018s; }
.pg-dirs[open] .pg-dirs-list li:nth-child(3) { animation-delay: 0.036s; }
.pg-dirs[open] .pg-dirs-list li:nth-child(4) { animation-delay: 0.054s; }
.pg-dirs[open] .pg-dirs-list li:nth-child(5) { animation-delay: 0.072s; }
.pg-dirs[open] .pg-dirs-list li:nth-child(6) { animation-delay: 0.090s; }
.pg-dirs[open] .pg-dirs-list li:nth-child(7) { animation-delay: 0.108s; }
@keyframes pgDirsDrop { from { opacity: 0; transform: translateY(-8px) scale(0.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes pgDirsItem { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.pg-dirs-list a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 9px; text-decoration: none; font-size: var(--fs-ui); font-weight: 600; color: var(--text); }
.pg-dirs-list a:hover { background: var(--surface-2); }
.pg-dirs-list a[aria-current='page'] { background: color-mix(in oklab, var(--c) 22%, var(--surface)); }
.pg-dirs-list i { width: 14px; height: 8px; border-radius: 2px; background: var(--c); flex: none; }
.pg-dirs-list b { font-weight: 500; font-size: var(--fs-mono); color: var(--muted); }
html.on-media .pg-dirs summary { color: #fff; }
/* phones: the menu stays in the topbar as a compact chip; the list opens full-width under the bar */
@media (max-width: 900px) {
  .pg-dirs summary { min-height: 34px; padding: 0 10px; gap: 6px; font-size: var(--fs-ui); }
  .pg-dirs-list { position: fixed; left: 12px; right: 12px; top: 58px; min-width: 0; max-height: calc(100svh - 80px); overflow: auto; }
  .pg-dirs-list a { padding: 12px; }
}

/* lenis@1.1.13 base styles (inlined: one render-blocking third-party request less on every page) */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* sections off screen: endless decorative CSS loops wait (main.js / shell.js toggle .offscreen) */
.offscreen, .offscreen *, .offscreen *::before, .offscreen *::after { animation-play-state: paused !important; }

/* keyboard focus is never hidden: the topbar comes back while it holds focus; the phone strip keeps focus above it */
.topbar:has(:focus-visible) { transform: none; }
html { scroll-padding-bottom: calc(var(--tsb-bottom, 0px) + 12px); }

/* src-3e1ac42f66/css/scrollbar.css */
/* Timeline scrollbar (from lab/fx/timeline-scrollbar). The strip is an NLE panel: always dark. */
html { scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; width: 0; height: 0; }

.tsb {
  --tsb-bg: rgba(14, 14, 16, 0.94);
  --red: var(--rec, #ff453a);
  --text: #f1efea; --muted: #a3a097; --line: rgba(255, 255, 255, 0.1); --line-strong: rgba(255, 255, 255, 0.2);
  --font-mono: var(--f-mono); --font-ui: var(--f-ui);
  position: fixed; z-index: 60; display: flex; gap: 6px;
  background: var(--tsb-bg); border: 1px solid var(--line-strong); border-radius: 12px;
  /* no backdrop-filter: blurring a playing background video every frame halves the frame rate */
  box-shadow: 0 14px 40px -18px rgba(0, 0, 0, .9);
  font-family: var(--font-mono); color: var(--text); user-select: none; -webkit-user-select: none;
}
.tsb-track { position: relative; flex: 1 1 auto; touch-action: none; cursor: pointer; }
.tsb.scrubbing .tsb-track { cursor: grabbing; }
.tsb-clips { position: absolute; }
.tsb-clip {
  position: absolute; padding: 0; margin: 0; border: 0; cursor: pointer; overflow: hidden;
  background: color-mix(in srgb, var(--c) 55%, #000); border-radius: 4px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16);
  transition: filter .2s, box-shadow .2s, opacity .2s; opacity: .78; color: #fff;
}
.tsb-clip:hover { filter: brightness(1.18); opacity: 1; }
.tsb-clip.on { opacity: 1; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .92); }
.tsb-clip:focus-visible { outline: 2px solid var(--text); outline-offset: 1px; z-index: 2; }
.tsb-film {
  position: absolute; inset: 0; background-image: var(--poster, none); opacity: .55; pointer-events: none;
}
.tsb-film::after { content: ''; position: absolute; inset: 0; background: color-mix(in srgb, var(--c) 25%, transparent); }
.tsb-name {
  position: absolute; display: flex; gap: 6px; align-items: center; white-space: nowrap; pointer-events: none;
  font-family: var(--font-ui); font-weight: 600; font-size: var(--fs-mono); letter-spacing: .01em; text-shadow: 0 1px 3px rgba(0,0,0,.6);
}
.tsb-name b { font-family: var(--font-mono); font-weight: 500; font-size: var(--fs-mono); opacity: .75; }
.tsb-name .short { display: none; }
.tsb-clip::before { content: ''; position: absolute; background: var(--c); z-index: 1; }

.tsb-ruler { position: absolute; pointer-events: auto; cursor: ew-resize; }
.tsb-head { position: absolute; left: 0; top: 0; pointer-events: none; will-change: transform; z-index: 3; }
.tsb-line { position: absolute; background: var(--red); box-shadow: 0 0 8px color-mix(in srgb, var(--red) 60%, transparent); }
.tsb-flag { position: absolute; background: var(--red); pointer-events: auto; cursor: grab; }
.tsb-bubble {
  position: absolute; background: var(--red); color: #fff; font-size: var(--fs-mono); font-weight: 500; padding: 3px 7px; border-radius: 6px;
  white-space: nowrap; opacity: 0; transition: opacity .2s; pointer-events: none;
}
.tsb:hover .tsb-bubble, .tsb.scrubbing .tsb-bubble { opacity: 1; }
.tsb-tc { display: flex; flex-direction: column; justify-content: center; gap: 2px; pointer-events: none; }
.tsb-tc-main { font-size: var(--fs-mono); font-weight: 500; letter-spacing: .02em; }
.tsb-tc-sec { font-family: var(--font-ui); font-size: var(--fs-mono); color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- vertical: right edge ---------- */
.tsb[data-mode='v'] { right: 10px; top: 12px; bottom: 12px; width: 66px; flex-direction: column; padding: 8px 6px; }
.tsb[data-mode='v'] .tsb-tc { align-items: center; text-align: center; }
.tsb[data-mode='v'] .tsb-tc-main { font-size: var(--fs-mono); }
.tsb[data-mode='v'] .tsb-tc-sec { display: none; }
.tsb[data-mode='v'] .tsb-ruler {
  left: 0; top: 0; bottom: 0; width: 8px;
  background:
    repeating-linear-gradient(to bottom, rgba(255,255,255,.4) 0 1px, transparent 1px calc(var(--tick, 8px) * 5)) left top / 8px 100% no-repeat,
    repeating-linear-gradient(to bottom, rgba(255,255,255,.18) 0 1px, transparent 1px var(--tick, 8px)) left top / 4px 100% no-repeat;
}
.tsb[data-mode='v'] .tsb-clips { left: 11px; right: 0; top: 0; bottom: 0; }
.tsb[data-mode='v'] .tsb-clip { left: 0; right: 0; border-bottom: 3px solid #09090b; }
.tsb[data-mode='v'] .tsb-clip:last-child { border-bottom: 0; }
.tsb[data-mode='v'] .tsb-clip > .tsb-film { background-size: 100% auto; background-repeat: repeat-y; }
.tsb[data-mode='v'] .tsb-clip::before { left: 0; top: 0; bottom: 0; width: 3px; }
.tsb[data-mode='v'] .tsb-name { left: 50%; top: 50%; writing-mode: vertical-rl; transform: translate(-50%, -50%); }
.tsb[data-mode='v'] .tsb-clip.use-short .tsb-name .full { display: none; }
.tsb[data-mode='v'] .tsb-clip.use-short .tsb-name .short { display: inline; }
.tsb[data-mode='v'] .tsb-clip.num-only .tsb-name { writing-mode: horizontal-tb; }
.tsb[data-mode='v'] .tsb-clip.num-only .tsb-name .full,
.tsb[data-mode='v'] .tsb-clip.num-only .tsb-name .short { display: none; }
.tsb[data-mode='v'] .tsb-head { right: -6px; left: -4px; height: 0; }
.tsb[data-mode='v'] .tsb-line { left: 0; right: 0; top: -1px; height: 2px; }
.tsb[data-mode='v'] .tsb-flag { left: -4px; top: -6px; width: 12px; height: 12px; clip-path: polygon(0 0, 60% 0, 100% 50%, 60% 100%, 0 100%); }
.tsb[data-mode='v'] .tsb-bubble { right: calc(100% + 12px); top: -11px; }

/* ---------- horizontal: bottom ---------- */
.tsb[data-mode='h'] { left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); height: 64px; padding: 6px 8px; align-items: stretch; }
.tsb[data-mode='h'] .tsb-tc { width: 112px; flex: none; padding: 0 6px; border-right: 1px solid var(--line); margin-right: 4px; }
.tsb[data-mode='h'] .tsb-ruler {
  left: 0; right: 0; top: 0; height: 12px;
  background:
    repeating-linear-gradient(to right, rgba(255,255,255,.42) 0 1px, transparent 1px calc(var(--tick, 8px) * 5)) left bottom / 100% 10px no-repeat,
    repeating-linear-gradient(to right, rgba(255,255,255,.18) 0 1px, transparent 1px var(--tick, 8px)) left bottom / 100% 5px no-repeat;
}
.tsb[data-mode='h'] .tsb-clips { left: 0; right: 0; top: 15px; bottom: 0; }
.tsb[data-mode='h'] .tsb-clip { top: 0; bottom: 0; border-right: 2px solid #0b0b0c; }
.tsb[data-mode='h'] .tsb-clip:last-child { border-right: 0; }
.tsb[data-mode='h'] .tsb-clip > .tsb-film { background-size: auto 100%; background-repeat: repeat-x; }
.tsb[data-mode='h'] .tsb-clip::before { left: 0; right: 0; top: 0; height: 3px; }
.tsb[data-mode='h'] .tsb-name { left: 7px; top: 50%; transform: translateY(-50%); }
.tsb[data-mode='h'] .tsb-clip.use-short .tsb-name .full { display: none; }
.tsb[data-mode='h'] .tsb-clip.use-short .tsb-name .short { display: inline; }
.tsb[data-mode='h'] .tsb-clip.num-only .tsb-name .full,
.tsb[data-mode='h'] .tsb-clip.num-only .tsb-name .short { display: none; }
.tsb[data-mode='h'] .tsb-head { top: -4px; bottom: -2px; width: 0; }
.tsb[data-mode='h'] .tsb-line { top: 0; bottom: 0; left: -1px; width: 2px; }
.tsb[data-mode='h'] .tsb-flag { left: -6px; top: 0; width: 12px; height: 12px; clip-path: polygon(0 0, 100% 0, 100% 60%, 50% 100%, 0 60%); }
.tsb[data-mode='h'] .tsb-bubble { bottom: calc(100% + 6px); left: 0; transform: translateX(-50%); }

/* ---------- phone: compact strip ---------- */
.tsb.compact[data-mode='h'] { left: 8px; right: 8px; bottom: calc(8px + env(safe-area-inset-bottom)); height: 46px; padding: 4px 6px; border-radius: 10px; }
/* vertical swipes that start on the strip scroll the page (scrollbar.js decides by the first movement) */
.tsb[data-mode='h'] .tsb-track { touch-action: pan-y; }
.tsb.compact .tsb-tc { width: 78px; padding: 0 4px 0 2px; }
.tsb.compact .tsb-tc-main { font-size: var(--fs-mono); }
.tsb.compact .tsb-tc-sec { font-size: var(--fs-mono); }
.tsb.compact .tsb-ruler { height: 8px; }
.tsb.compact .tsb-clips { top: 10px; }
.tsb.compact .tsb-name { left: 4px; font-size: var(--fs-mono); gap: 3px; }
.tsb.compact .tsb-name b { display: none; }
.tsb.compact .tsb-name .full { display: none; }
.tsb.compact .tsb-name .short { display: inline; }
.tsb.compact .tsb-clip.tiny .tsb-name { display: none; }
.tsb.compact .tsb-bubble { display: none; }
.tsb.compact .tsb-flag { width: 10px; height: 9px; left: -5px; }

@media (prefers-reduced-motion: reduce) {
  .tsb-clip, .tsb-bubble { transition: none; }
}

/* ---------- v1: nested sequence (a group of sections = one clip with sub-clips) ---------- */
.tsb-clip.is-group { background: #1d1d22; --c: #8a877e; }
.tsb-clip.is-group.on { background: #222228; }
.tsb-clip.is-group > .tsb-film { display: none; }
.tsb-clip.is-group::before { background: #8a877e; opacity: 0.75; }
.tsb-subs { position: absolute; inset: 0; pointer-events: none; }
.tsb-sub {
  position: absolute; display: flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--c) 45%, #111114);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .1);
  border-radius: 3px;
  transition: background-color .25s, box-shadow .25s;
  overflow: hidden;
}
.tsb-sub::before { content: ''; position: absolute; background: var(--c); }
.tsb-sub.on {
  background: color-mix(in srgb, var(--c) 76%, #111114);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .55);
}
.tsb-sub-t {
  font-family: var(--font-ui); font-size: 11px; font-weight: 600;
  color: rgba(241, 239, 234, 0.78); letter-spacing: 0.01em;
  white-space: nowrap; pointer-events: none;
}
.tsb-sub.on .tsb-sub-t { color: #fff; }
.tsb-sub.hide-t .tsb-sub-t, .tsb.compact .tsb-sub-t { display: none; }
.tsb[data-mode='v'] .tsb-clip.is-group > .tsb-name { left: 9px; top: 50%; transform: translate(-50%, -50%); }
.tsb[data-mode='v'] .tsb-subs { left: 18px; right: 1px; top: 1px; bottom: 1px; }
.tsb[data-mode='v'] .tsb-sub { left: 0; right: 0; border-bottom: 2px solid #0b0b0c; }
.tsb[data-mode='v'] .tsb-sub:last-child { border-bottom: 0; }
.tsb[data-mode='v'] .tsb-sub::before { left: 0; top: 0; bottom: 0; width: 3px; }
.tsb[data-mode='v'] .tsb-sub-t { writing-mode: vertical-rl; padding-left: 2px; }
.tsb[data-mode='h'] .tsb-subs { left: 1px; right: 1px; top: 18px; bottom: 1px; }
.tsb[data-mode='h'] .tsb-clip.is-group > .tsb-name { top: 9px; transform: translateY(-50%); font-size: 11px; }
.tsb[data-mode='h'] .tsb-sub { top: 0; bottom: 0; border-right: 2px solid #0b0b0c; }
.tsb[data-mode='h'] .tsb-sub:last-child { border-right: 0; }
.tsb[data-mode='h'] .tsb-sub::before { left: 0; right: 0; top: 0; height: 3px; }
.tsb-clip.is-group .tsb-name { z-index: 1; }
/* names are the point now (9 clips instead of 14): bigger, numbers quieter */
.tsb-name { font-size: var(--fs-mono); }
.tsb-name b { opacity: .78; }

/* hover tooltip: poster + name + in-point */
.tsb-tip {
  position: absolute; z-index: 5; pointer-events: none; display: flex; gap: 10px; align-items: center;
  padding: 6px 12px 6px 6px; border-radius: 10px; background: rgba(14, 14, 16, .96); border: 1px solid var(--line-strong);
  box-shadow: 0 16px 36px -18px rgba(0, 0, 0, .9); white-space: nowrap; opacity: 0; transition: opacity .18s, transform .25s cubic-bezier(.16, 1, .3, 1);
}
.tsb-tip-img { width: 72px; height: 41px; border-radius: 5px; flex: none; background: #222 center / cover no-repeat; box-shadow: inset 0 -3px 0 var(--c); }
.tsb-tip.no-img .tsb-tip-img { background: color-mix(in srgb, var(--c) 55%, #000); }
.tsb-tip-t { display: grid; gap: 2px; }
.tsb-tip b { font-family: var(--font-ui); font-size: var(--fs-ui); font-weight: 600; color: var(--text); }
.tsb-tip em { font-style: normal; font-size: var(--fs-mono); color: var(--muted); letter-spacing: .03em; }
.tsb[data-mode='v'] .tsb-tip { right: calc(100% + 14px); top: 0; transform: translate3d(6px, calc(var(--at, 0px) - 50%), 0); }
.tsb[data-mode='v'].tipping .tsb-tip { opacity: 1; transform: translate3d(0, calc(var(--at, 0px) - 50%), 0); }
.tsb[data-mode='h'] .tsb-tip { bottom: calc(100% + 12px); left: 0; transform: translate3d(calc(var(--at, 0px) - 50%), 6px, 0); }
.tsb[data-mode='h'].tipping .tsb-tip { opacity: 1; transform: translate3d(calc(var(--at, 0px) - 50%), 0, 0); }
.tsb.scrubbing .tsb-tip, .tsb.compact .tsb-tip { display: none; }
@media (hover: none) { .tsb-tip { display: none; } }
/* while the tooltip names the clip, the timecode bubble steps aside */
.tsb.tipping .tsb-bubble { opacity: 0; }
@media (prefers-reduced-motion: reduce) { .tsb-tip { transition: none; } }

/* ---------- polish 2026-10-29: colour lives only in the current clip; the rest of the strip is quiet ---------- */
.tsb-clip { transition: filter .2s, box-shadow .2s, opacity .2s, background-color .35s; }
.tsb-film { transition: opacity .35s; }
.tsb-clip:not(.on):not(.is-group) { background: #19191c; opacity: 1; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07); }
.tsb-clip:not(.on) > .tsb-film { opacity: 0; }
.tsb-clip:not(.on)::before { opacity: .45; }
.tsb-clip:not(.on) .tsb-name { color: var(--muted); text-shadow: none; }
.tsb-clip:not(.on):hover { filter: none; background: #222226; }
.tsb-sub:not(.on) { background: #18181b; }
.tsb-sub:not(.on)::before { opacity: .45; }
/* phone strip: steps aside while reading downward (scrollbar.js adds .away) */
.tsb.compact { transition: transform .45s cubic-bezier(.16, 1, .3, 1), opacity .3s; }
.tsb.compact.away { transform: translate3d(0, calc(100% + 16px), 0); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .tsb.compact { transition: none; } }

/* src-3e1ac42f66/css/liquid-type.css */
/* LiquidType (from lab/fx/liquid-type) — component styles. Font: any variable font with a wght axis (wdth optional).
   Tokens: --lt-font, --lt-rest (ink at rest), --lt-hot (ink under the mass), --lt-ls, --lt-glow. */

.lt {
  --lt-font: var(--f-liquid, 'Unbounded'), sans-serif;
  --lt-rest: color-mix(in oklab, var(--text, #f1f0ec) 86%, transparent);
  --lt-hot: color-mix(in oklab, var(--text, #fff) 70%, var(--accent, #fff));
  --lt-glow: 0.5;
  position: relative;
  isolation: isolate;
  margin: 0;
  font-family: var(--lt-font);
  font-weight: 400;
  font-optical-sizing: auto;
  font-kerning: normal;
  line-height: 0.98;
  letter-spacing: -0.015em;
  color: var(--lt-rest);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  user-select: text;
}
.lt-inner { position: relative; display: block; }
.lt-line { display: block; white-space: nowrap; }
.lt-word { display: inline-block; white-space: nowrap; }
.lt-ch {
  display: inline-block;
  font-variation-settings: 'wght' var(--w, 300), 'wdth' var(--d, 100), 'opsz' 144;
  letter-spacing: calc(var(--m, 0) * var(--lt-ls, -0.03em));
  color: color-mix(in oklab, var(--lt-hot) calc(var(--m, 0) * 100%), var(--lt-rest));
  text-shadow: 0 0 calc(var(--m, 0) * 0.42em) rgb(var(--lt-ripple, 255 255 255) / calc(var(--m, 0) * var(--lt-glow)));
}
.lt[data-liquid='weight'] { --lt-ls: -0.065em; }
.lt[data-liquid='width'] { --lt-ls: -0.015em; }
.lt[data-liquid='breathe'] { --lt-ls: -0.02em; --lt-glow: 0.38; }

/* glow + ripples layer (drawn by JS) */
.lt-fx {
  position: absolute; left: 0; right: 0; top: -45%; bottom: -45%;
  width: 100%; height: 190%;
  z-index: -1; pointer-events: none;
  /* feather the edges so the glow never shows the canvas box */
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(transparent, #000 22%, #000 78%, transparent);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent), linear-gradient(transparent, #000 22%, #000 78%, transparent);
  mask-composite: intersect;
}

/* appear: letters rise out of a blur, then the mass wave runs through */
.lt.lt-pre .lt-ch { opacity: 0; }
.lt.lt-intro .lt-ch {
  opacity: var(--a, 0);
  transform: translateY(calc((1 - var(--a, 0)) * 0.32em));
  filter: blur(calc((1 - var(--a, 0)) * 10px));
}

@media (prefers-reduced-motion: reduce) {
  .lt .lt-ch { opacity: 1 !important; transform: none !important; filter: none !important; }
  .lt-fx { display: none; }
}

/* src-3e1ac42f66/css/t2t.css */
/* Text → Timeline section (from lab/fx/text-to-timeline). Colours come from site tokens. */
.t2t { position: relative; height: 380vh; }
.t2t-sticky {
  position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden;
  background: var(--bg);
}
.t2t canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.t2t-base { z-index: 1; touch-action: pan-y; }
.t2t-gl { z-index: 4; pointer-events: none; }

.t2t-kicker {
  position: absolute; z-index: 2; left: 0; top: 0; display: flex; gap: 12px; align-items: center;
  font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted);
  will-change: opacity, transform; pointer-events: none;
}
.t2t-kicker i { width: 8px; height: 8px; border-radius: 2px; background: var(--rec); display: block; }
.t2t-hint {
  position: absolute; z-index: 2; left: 50%; bottom: calc(22px + env(safe-area-inset-bottom)); transform: translateX(-50%);
  font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--muted);
  display: flex; gap: 10px; align-items: center; pointer-events: none; will-change: opacity; white-space: nowrap;
}
.t2t-hint b { display: block; width: 1px; height: 22px; background: linear-gradient(var(--muted), transparent); animation: t2t-drop 1.6s ease-in-out infinite; transform-origin: top; }
@keyframes t2t-drop { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

.t2t-monitor {
  position: absolute; z-index: 3; left: 0; top: 0; opacity: 0;
  display: grid; grid-template-rows: 28px 1fr 28px; background: #000;
  border: 1px solid var(--line-strong); border-radius: 10px; overflow: hidden;
  will-change: opacity, transform; transform-origin: 50% 100%;
  box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .9);
}
.t2t-monitor.morph { transition: width .7s cubic-bezier(.16,1,.3,1), height .7s cubic-bezier(.16,1,.3,1), left .7s cubic-bezier(.16,1,.3,1), top .7s cubic-bezier(.16,1,.3,1); }
.t2t-mon-bar {
  display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 0 10px;
  background: #121214; font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--muted); white-space: nowrap; overflow: hidden;
}
.t2t-mon-bar b { color: var(--text); font-weight: 500; }
.t2t-mon-bar .tc { color: var(--text); font-size: var(--fs-mono); letter-spacing: .02em; }
.t2t-mon-bar .tr { display: flex; gap: 12px; opacity: .7; }
.t2t-mon-bar .src { overflow: hidden; text-overflow: ellipsis; max-width: 45%; text-align: right; }
.t2t-frame { position: relative; overflow: hidden; background: #000; }
.t2t-layer { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; }
.t2t-layer.on { opacity: 1; }
.t2t-layer img, .t2t-layer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.t2t-layer video { opacity: 0; transition: opacity .3s; }
.t2t-layer.fit img, .t2t-layer.fit video { object-fit: contain; background: #0f0f11; }
.t2t-layer video.ready { opacity: 1; }
.t2t-stage, .t2t-safe { display: none !important; }
.t2t-title {
  position: absolute; left: 6%; bottom: 22%; z-index: 2; padding: 8px 14px 9px; border-left: 3px solid #e0a03c;
  background: rgba(0,0,0,.72);
  font-family: var(--f-ui); font-size: var(--fs-ui); line-height: 1.25; opacity: 0; transform: translateX(-10px);
  transition: opacity .3s, transform .3s; pointer-events: none;
}
.t2t-title.on { opacity: 1; transform: none; }
.t2t-title b { display: block; font-family: var(--f-display); font-weight: 600; font-size: var(--fs-body); }
.t2t-safe { position: absolute; inset: 6%; border: 1px dashed rgba(255,255,255,.12); pointer-events: none; z-index: 1; }

.t2t-fps {
  position: fixed; left: 50%; top: 10px; transform: translateX(-50%); z-index: 99; white-space: nowrap; font-family: var(--f-mono); font-size: var(--fs-mono);
  background: rgba(0,0,0,.7); border: 1px solid var(--line-strong); border-radius: 8px; padding: 4px 8px; color: var(--ok);
  pointer-events: none;
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

@media (max-width: 767px) {
  .t2t { height: 360vh; }
  .t2t-monitor { grid-template-rows: 24px 1fr 24px; border-radius: 8px; }
  .t2t-mon-bar { font-size: var(--fs-mono); padding: 0 8px; }
  .t2t-mon-bar .tr { display: none; }
  .t2t-stage { left: 10px; bottom: 8px; }
  .t2t-stage span { font-size: var(--fs-mono); }
  /* the monitor keeps the step name and the timecode; a drawn document's 6 px print and the V2/V3 lower thirds are not shown */
  .t2t-layer.doc img { filter: blur(7px) brightness(0.5); transform: scale(1.06); }
  .t2t-title { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .t2t { height: 360vh; }
  .t2t-hint b { animation: none; }
}

/* the system run: a vertical monitor — fewer bar items, smaller lower thirds */
.t2t-vert .t2t-mon-bar .tr { display: none; }
.t2t-vert .t2t-mon-bar .src { max-width: 55%; }
.t2t-vert .t2t-mon-bar .st { margin-left: auto; }
.t2t-vert .t2t-stage { left: 10px; bottom: 10px; font-size: var(--fs-big); }
.t2t-vert .t2t-title { left: 5%; right: 5%; bottom: 14%; font-size: var(--fs-mono); }
.t2t-vert .t2t-prog { display: none; }
.t2t-vert .t2t-mon-bar span:first-child { overflow: hidden; text-overflow: ellipsis; min-width: 0; }
.t2t-vert .t2t-title b { font-size: var(--fs-ui); }

/* src-3e1ac42f66/css/sections.css */
/* Sections of the home page. Footage zones (hero) and the dark works bin keep light ink. */

.on-media-ink, .hero, .bin.works, html.on-media .topbar {
  --text: #f4f2ed; --muted: rgba(244, 242, 237, 0.78); --line: rgba(255, 255, 255, 0.16); --line-strong: rgba(255, 255, 255, 0.3);
  --bg: #0b0b0c; --lt-ripple: 255 255 255; --link: #ffffff; --btn-bg: #f4f2ed; --btn-ink: #0b0b0c;
}
html.on-media .topbar .brand { background: rgba(5, 5, 6, 0.6); }

/* ================================================================ 01 HERO */
.hero-wrap { position: relative; height: 200vh; height: 200svh; }
.hero { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #050506; color: var(--text); isolation: isolate; }
.hero-media { position: absolute; inset: 0; transform-origin: 50% 62%; will-change: transform; }
.hero-layer { position: absolute; inset: 0; opacity: 0; will-change: transform, opacity; }
.hero-layer img, .hero-layer video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.hero-layer video { opacity: 0; transition: opacity 0.25s linear; }
.hero-layer video.ready { opacity: 1; }
.hero-layer.on { opacity: 1; transform: none; z-index: 2; transition: opacity 0.14s linear, transform 1.5s cubic-bezier(0.16, 1, 0.3, 1); }
.hero-layer.enter { opacity: 0; transform: translate3d(var(--dx, 0), 0, 0) scale(1.15); transition: none; }
.hero-layer.leave { opacity: 1; z-index: 1; transform: translate3d(var(--dx, 0), 0, 0) scale(1.09); transition: transform 0.7s cubic-bezier(0.5, 0, 0.9, 0.6); }
.hero-scrim {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0.85;
  background:
    linear-gradient(0deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.55) 34%, rgba(5, 5, 6, 0.08) 62%, rgba(5, 5, 6, 0.38) 100%),
    linear-gradient(90deg, rgba(5, 5, 6, 0.6) 0%, rgba(5, 5, 6, 0) 62%);
}
/* the statement row sits on its own dark floor: ≥ 4.5:1 for the small text on any frame, even a bright one */
.hero::after {
  content: ''; position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; height: calc(clamp(170px, 30svh, 300px) + var(--tsb-bottom)); pointer-events: none;
  background: linear-gradient(0deg, rgba(5, 5, 6, 0.9) 0%, rgba(5, 5, 6, 0.82) 45%, rgba(5, 5, 6, 0.5) 72%, rgba(5, 5, 6, 0) 100%);
}
@media (max-width: 767px) { .hero::after { height: calc(min(52vh, 440px) + var(--tsb-bottom)); background: linear-gradient(0deg, rgba(5, 5, 6, 0.92) 0%, rgba(5, 5, 6, 0.84) 50%, rgba(5, 5, 6, 0.45) 78%, rgba(5, 5, 6, 0) 100%); } }
.hero-in {
  position: absolute; z-index: 4; left: var(--gutter); right: calc(var(--gutter) + var(--tsb-right));
  bottom: calc(clamp(26px, 6vh, 64px) + var(--tsb-bottom)); will-change: transform, opacity;
}
.hero-rec { display: flex; align-items: center; gap: 12px; font-size: var(--fs-mono); letter-spacing: 0.05em; color: var(--muted); margin-bottom: clamp(10px, 1.8vh, 20px); min-width: 0; }
.hero-rec .rec-dot { animation: rec 1.6s steps(1) infinite; }
.hero-tc { color: var(--text); font-variant-numeric: tabular-nums; }
.hero-src { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
@keyframes rec { 50% { opacity: 0.2; } }
/* one hierarchy: the name is the wordmark; the statement is the second level (≈1/5 of it); one action */
.hero-name { margin: 0; font-size: clamp(52px, 10.4vw, 172px); line-height: 0.9; max-width: 11.5em; text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35); }
html[data-theme='A'] .hero-name { font-size: clamp(40px, 7.7vw, 132px); line-height: 1.02; letter-spacing: -0.02em; }
.hero-row {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 22px 48px;
  margin-top: clamp(16px, 2.8vh, 32px); padding-top: clamp(14px, 2.2vh, 24px); border-top: 1px solid var(--line);
}
.hero-copy { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr); gap: 10px clamp(24px, 3vw, 48px); align-items: start; max-width: 980px; }
.hero-line { font-family: var(--f-display); font-weight: var(--line-w, 400); font-variation-settings: var(--display-vs); letter-spacing: var(--display-ls); font-size: var(--fs-lead); line-height: 1.22; margin: 0; max-width: 21ch; }
.hero-sub { margin: 0; max-width: 46ch; color: rgba(244, 242, 237, 0.88); font-size: var(--fs-body); line-height: 1.55; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.hero-line { text-shadow: 0 1px 14px rgba(0, 0, 0, 0.55); }
/* the slate (timecode + shot) floats over the frame itself: its own dark chip keeps the small mono text ≥ 4.5:1 */
.hero-slate { display: inline-flex; align-items: center; gap: 12px; min-width: 0; padding: 5px 12px 5px 10px; border-radius: 999px; background: rgba(5, 5, 6, 0.82); color: rgba(244, 242, 237, 0.94); }
.hero-slate .hero-src { color: rgba(244, 242, 237, 0.84); }
.hero-cta { justify-self: end; }
.hero-strip { margin-left: auto; display: flex; gap: 4px; width: min(220px, 18vw); flex: none; }
.hero-strip i { flex: 1; height: 3px; background: rgba(255, 255, 255, 0.22); border-radius: 2px; overflow: hidden; }
.hero-strip b { display: block; height: 100%; background: var(--rec); transform: scaleX(0); transform-origin: 0 50%; }
.hero-strip i.on b { animation: segfill var(--hold, 3s) linear forwards; }
.hero-strip i.done b { transform: scaleX(1); background: rgba(255, 255, 255, 0.7); }
@keyframes segfill { to { transform: scaleX(1); } }

/* ================================================================ 02 WHAT I DO — formation */
/* 6 directions, film 1.75 units long (formation.js WT): 100 + 6.75 × 53.3 */
.fm { position: relative; z-index: 2; margin-top: -100vh; margin-top: -100svh; height: 465vh; height: 465svh; background: var(--bg); --dir: #a46ee8; }
.fm > .clip-head { position: absolute; left: 0; right: 0; top: -26px; }
.fm-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: var(--stage-bg); }
.fm-stage { position: absolute; inset: 0 calc(var(--tsb-right) + var(--fm-rail-room, 0px)) var(--tsb-bottom) 0; perspective: var(--persp, 1500px); perspective-origin: 50% 46%; touch-action: pan-y; user-select: none; -webkit-user-select: none; cursor: grab; transform-origin: 50% 50%; }
.fm-stage.dragging { cursor: grabbing; }
.fm-world { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; will-change: transform; }
.fm-card {
  position: absolute; left: calc(var(--cw, 220px) * -0.5); top: calc(var(--ch, 275px) * -0.5);
  width: var(--cw, 220px); height: var(--ch, 275px); border-radius: 12px; overflow: hidden;
  background: var(--card-bg); will-change: transform, opacity; backface-visibility: hidden; -webkit-backface-visibility: hidden;
  box-shadow: var(--card-shadow); cursor: pointer; opacity: 0;
}
.fm-card .media { position: absolute; inset: 0; will-change: transform; }
.fm-card img, .fm-card video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; max-width: none; }
.fm-card video { opacity: 0; transition: opacity 0.35s ease; }
.fm-card.fit img, .fm-card.fit video { object-fit: contain !important; object-position: 50% 50% !important; } /* the monitor: the whole frame */
.fm-card video.on { opacity: 1; }
.fm-card .seq-strip {
  position: absolute; left: 50%; top: 50%; pointer-events: none; opacity: 0;
  background-repeat: repeat-x; background-size: auto 100%; background-position: 0 50%;
  border-radius: 5px; overflow: hidden; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  transition: opacity 0.22s ease;
}
.fm-card .seq-strip::before {
  content: ''; position: absolute; left: 0; right: 0; top: 0; height: 3px;
  background: var(--lane-c, #d0609a); opacity: 0.92;
}
.fm-card .seq-strip[data-lane='1'] { --lane-c: #a46ee8; }
.fm-card .seq-strip[data-lane='2'] { --lane-c: #4a8de8; }
.fm-card.seq-lane .seq-strip { opacity: 1; }
.fm-card.seq-lane .media { opacity: 0; }
.fm-card .shade { position: absolute; inset: 0; background: var(--shade); opacity: 0; pointer-events: none; will-change: opacity; }

.fm-seq { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.45s ease; }
.fm-seq.on { opacity: 1; transition-delay: 0.15s; }
.fm-mon { position: absolute; left: 0; top: 0; border-radius: 6px; box-shadow: 0 0 0 1px var(--line-strong); }
.fm-mon-l { position: absolute; left: 0; bottom: 100%; padding-bottom: 8px; display: flex; gap: 14px; font-size: var(--fs-mono); letter-spacing: 0.12em; color: var(--muted); white-space: nowrap; text-transform: uppercase; }
.fm-mon-l b { color: var(--text); font-weight: 500; }
.fm-mon-l .rec { color: var(--rec); }
.fm-tl { position: absolute; left: 0; right: 0; top: 0; }
.fm-ruler { position: absolute; left: 0; right: 0; height: 20px; overflow: hidden; border-bottom: 1px solid var(--line); }
.fm-ruler i { position: absolute; top: 0; bottom: 0; left: -200px; width: calc(100% + 400px); will-change: transform;
  background-image: repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 100px), repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 20px);
  background-size: 100% 100%, 100% 7px; background-position: 0 0, 0 100%; background-repeat: no-repeat; }
.fm-tl .lane { position: absolute; left: 0; right: 0; background: color-mix(in oklab, var(--text) 3%, transparent); border-top: 1px solid var(--line); }
.fm-tl .lane span { position: absolute; left: 10px; top: 50%; transform: translateY(-50%); font-family: var(--f-mono); font-size: var(--fs-mono); color: var(--muted); background: var(--bg); padding: 2px 6px; border-radius: 4px; z-index: 2; }
.fm-tl .ph { position: absolute; width: 2px; margin-left: -1px; top: 0; background: var(--rec); }
.fm-tl .ph::before { content: ''; position: absolute; left: -6px; top: -2px; width: 14px; height: 12px; background: var(--rec); clip-path: polygon(0 0, 100% 0, 100% 55%, 50% 100%, 0 55%); }
.fm-ghost { position: absolute; left: 0; top: 0; border-radius: 4px; border: 1px dashed var(--line-strong); will-change: transform; }
/* film: one 2.39 frame in thin black fields; the iris is a clip-path circle driven by the scroll */
.fm-iris { position: absolute; inset: 0; pointer-events: none; opacity: 0; transition: opacity 0.45s ease; }
.fm-iris.on { opacity: 1; transition-delay: 0.15s; }
.fm-cine { position: absolute; left: 0; top: 0; background: #000; box-shadow: 0 0 0 1px var(--line); }
.fm-iris.on .fm-cine { pointer-events: auto; cursor: pointer; }
.fm-cine-l { position: absolute; left: 0; right: 0; bottom: 100%; padding-bottom: 8px; display: flex; justify-content: space-between; gap: 14px; font-size: var(--fs-mono); letter-spacing: 0.12em; color: var(--muted); white-space: nowrap; }
.fm-cine-l b { color: var(--text); font-weight: 500; font-variant-numeric: tabular-nums; }
.fm-cine-pic { position: absolute; left: 0; right: 0; top: var(--bar, 12px); bottom: var(--bar, 12px); overflow: hidden; background: #000; --z: 1; }
.fm-cine-pic img, .fm-cine-pic video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; pointer-events: none; opacity: 0; transform: scale(var(--z)); }
.fm-cine-pic img.on { opacity: 1; }
.fm-cine-pic video { transition: opacity 0.35s ease; }
.fm-cine-pic video.on { opacity: 1; }
.fm-cine-ring { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; pointer-events: none; opacity: 0; }
.fm-cine-ring .rim { fill: none; stroke: color-mix(in oklab, var(--text) 45%, transparent); stroke-width: 1; }
.fm-cine-ring .dot { fill: var(--rec); }
/* 360: the live sphere in place of cards; shown only on its slide (formation.js sets size and place) */
.fm-sph { position: absolute; left: 0; top: 0; z-index: 1; display: none; opacity: 0; transition: opacity 0.45s ease; }
.fm-sph.near { display: block; }
.fm-sph.on { opacity: 1; transition-delay: 0.15s; }
.fm-sph .stage.sphere { aspect-ratio: auto; max-height: none; }
.fm-sph .stage.sphere:not(:fullscreen):not(.is-fs) { height: var(--sph-h, 400px); }
/* one full-screen button under the sphere; the one inside it shows only in full screen, as the way out */
.fm-sph .stage.sphere:not(:fullscreen):not(.is-fs) #s360-fsBtn { display: none; }
/* iPhone fallback (.is-fs, position: fixed) must rise over the title, the top bar and the timeline */
.fm:has(.is-fs), .fm-sph:has(.is-fs) { z-index: 165; }
.fm-sph .stage.sphere[data-mode='inside'] { touch-action: pan-y; } /* a vertical swipe keeps scrolling the page; sideways turns the sphere */
.fm-sph .imm-ctl { flex-direction: row; flex-wrap: nowrap; margin-top: 12px; }
.fm-sph .imm-clips { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; min-width: 0; }
.fm-sph .imm-clips::-webkit-scrollbar { display: none; }
.fm-sph .imm-clips .clip { flex: none; min-height: 40px; padding: 4px 12px 4px 4px; }
.fm-sph-fs { flex: none; }

.fm-chrome { position: absolute; inset: 0 var(--tsb-right) var(--tsb-bottom) 0; pointer-events: none; z-index: 2; }
.fm-chrome a, .fm-chrome button { pointer-events: auto; }
/* a persistent head: «02 Що я роблю 01/06 · кільце» + the direction as the screen title (same slot as the h2) */
.fm-head { position: absolute; left: var(--gutter); right: calc(var(--gutter) + 230px); top: clamp(70px, 11vh, 118px); --fn: var(--fs-sub); }
.fm-head .kick { margin-bottom: clamp(10px, 1.6vh, 18px); }
.fm-head .kick i { transition: background-color 0.4s; }
.fm-idx { display: inline-flex; gap: 10px; margin-left: 6px; padding-left: 14px; border-left: 1px solid var(--line-strong); color: var(--muted); }
.fm-idx .fm-n { color: var(--text); font-variant-numeric: tabular-nums; }
.fm-slot { display: grid; }
.fm-slot > * { grid-area: 1 / 1; }
.fm-head .sec-h { margin: 0; will-change: transform, opacity; }
.fm-title { opacity: 0; will-change: transform, opacity; text-shadow: 0 2px 30px color-mix(in oklab, var(--bg) 70%, transparent); }
.fm-name-mask { position: relative; overflow: hidden; height: calc(var(--fn) * 1.2); }
.fm-name { position: absolute; left: 0; top: 0; white-space: nowrap; font-family: var(--f-display); font-weight: var(--display-w); font-variation-settings: var(--display-vs); letter-spacing: var(--display-ls); font-size: var(--fn); line-height: 1.12; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease; }
.fm-cap { position: absolute; left: var(--gutter); bottom: clamp(22px, 5vh, 56px); width: min(540px, 40vw); }
.fm-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 20px; }
.fm-more { display: inline-flex; gap: 8px; }
.fm-more:empty { display: none; }
.fm-name.out { transform: translateY(-105%); opacity: 0; }
.fm-name.in { transform: translateY(105%); opacity: 0; transition: none; }
.fm-text { margin: 0 0 16px; font-size: var(--fs-body); line-height: 1.5; color: var(--text); max-width: 44ch; }
.fm-rail { position: absolute; right: var(--gutter); top: 50%; transform: translateY(-50%); display: grid; gap: 2px; }
.fm-rail { transition: transform 0.5s var(--ease-out); }
/* sequence mode: lift the rail to the top band — transform only (the rail's box is the 100svh sticky) */
.fm.is-seq .fm-rail { transform: translateY(calc(clamp(84px, 12vh, 120px) - 50svh)); }
.fm-rail button { display: flex; align-items: center; justify-content: flex-end; gap: 10px; border: 0; background: none; cursor: pointer; padding: 7px 0; min-height: 34px; color: var(--muted); font-size: var(--fs-ui); font-weight: 600; text-align: right; }
.fm-rail button i { order: 2; width: 34px; height: 8px; border-radius: 2px; background: var(--c); opacity: 0.45; clip-path: inset(0 0 0 16px round 2px); transition: clip-path 0.35s var(--ease-out), opacity 0.3s; }
.fm-rail button span { transition: color 0.3s; }
.fm-rail button[aria-current='true'] { color: var(--text); }
.fm-rail button[aria-current='true'] i { clip-path: inset(0 0 0 0 round 2px); opacity: 1; }
.fm-rail button:hover { color: var(--text); }
/* the hover caption of a card is off: its numbering disagreed with the 01/06 counter */
.fm-info { position: absolute; right: var(--gutter); bottom: clamp(22px, 5vh, 56px); max-width: 34vw; text-align: right; display: none; gap: 2px; font-size: var(--fs-mono); color: var(--muted); letter-spacing: 0.04em; }
.fm-info-t { color: var(--text); font-family: var(--f-ui); font-size: var(--fs-ui); font-weight: 600; letter-spacing: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fm-hint { position: absolute; left: 50%; transform: translateX(-50%); bottom: 14px; margin: 0; font-size: var(--fs-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); white-space: nowrap; transition: opacity 0.4s; }
/* desktop: 1.25 screens of scroll per direction (100 + 6.75 × 125) — at half a screen a few wheel notches flew past a direction (Slava, 2026-10-29) */
@media (min-width: 768px) { .fm { --fm-rail-room: 200px; height: 957vh; height: 957svh; } }
.fm-marks { position: absolute; left: 0; top: 0; width: 1px; height: 100%; pointer-events: none; }
.fm-marks i { position: absolute; left: 0; width: 1px; height: 1px; }

/* ================================================================ 03 HOW I WORK — text → timeline */
.proc { position: relative; z-index: 2; background: var(--bg); }
.proc-head { padding-top: clamp(84px, 15vh, 170px); padding-bottom: clamp(8px, 3vh, 32px); }
.proc-lead { color: var(--muted); max-width: 46ch; margin: 0; font-size: var(--fs-lead); }
.proc-t2t { --t2t-inset-right: var(--tsb-right); --t2t-inset-bottom: var(--tsb-bottom); --t2t-inset-top: 52px; }
.proc-t2t .t2t-hint { bottom: calc(22px + var(--tsb-bottom)); margin-left: calc(var(--tsb-right) / -2); }
.proc-t2t .t2t-kicker { display: none; }
.proc-t2t .t2t-monitor { --text: #f1efea; --muted: #a3a097; --line-strong: rgba(255, 255, 255, 0.2); }
.proc-toggle { position: absolute; z-index: 6; top: 74px; left: calc((100% - var(--tsb-right)) / 2); transform: translateX(-50%); max-width: calc(100% - 24px); }
.proc-toggle .seg { background: color-mix(in oklab, var(--bg) 90%, transparent); border-color: var(--line-strong); }
.proc-toggle .seg button { font-size: var(--fs-ui); padding: 8px 16px; min-height: 38px; white-space: nowrap; }
.proc-toggle .seg button.nudge { color: var(--text); box-shadow: inset 0 0 0 1px var(--line-strong); }
.proc-toggle .seg button.nudge::before { content: ''; display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: var(--rec); vertical-align: 1px; animation: proc-nudge 1.2s ease-in-out 6; }
.proc-toggle .seg button.nudge::after { content: ' →'; }
@keyframes proc-nudge { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .proc-toggle .seg button.nudge::before { animation: none; } }

/* ================================================================ 04 360 · VR · AR */
.imm { position: relative; z-index: 2; background: var(--bg-2); padding: 0 0 clamp(80px, 14vh, 160px); }
.imm > .clip-head { margin-bottom: clamp(70px, 12vh, 140px); }
.imm-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.imm-copy p:not(.kick) { max-width: 46ch; font-size: var(--fs-body); }
.imm-copy .sec-h { font-size: var(--fs-sec); }
.imm-try { color: var(--muted); font-family: var(--f-mono); font-size: var(--fs-ui) !important; letter-spacing: 0.04em; }
.stage.sphere { position: relative; width: 100%; aspect-ratio: 16 / 9; max-height: 78vh; border-radius: var(--radius); overflow: hidden; background: #000; border: 1px solid var(--line); cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: pan-y; color: #fff; }
.stage.sphere[data-mode='inside'], .stage.sphere[data-mode='planet'] { cursor: grab; touch-action: none; }
.stage.sphere.dragging { cursor: grabbing; }
.stage.sphere canvas, .s360-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.stage.sphere.is-fs { position: fixed; inset: 0; z-index: 160; max-height: none; aspect-ratio: auto; border-radius: 0; border: 0; height: 100vh; height: 100dvh; }
.stage.sphere:fullscreen { max-height: none; aspect-ratio: auto; border-radius: 0; border: 0; }
.ov { position: absolute; pointer-events: none; transition: opacity 0.35s, transform 0.35s; z-index: 2; }
.ov[hidden] { display: none; }
.ov.off { opacity: 0; }
.enter { inset: auto 0 clamp(16px, 4%, 28px) 0; display: flex; justify-content: center; }
.enter .btn { pointer-events: auto; }
.tag-equi { top: 12px; left: 12px; font-size: var(--fs-mono); letter-spacing: 0.06em; color: rgba(255,255,255,.8); background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: 4px 10px; }
.chip { left: 50%; bottom: clamp(16px, 5%, 32px); transform: translateX(-50%); font-size: var(--fs-ui); font-weight: 500; padding: 9px 16px; border-radius: 999px; white-space: nowrap; background: rgba(11,11,12,.6); border: 1px solid rgba(255,255,255,.18); }
.chip.off { transform: translate(-50%, 8px); }
.compass { left: 12px; bottom: 12px; display: flex; gap: 10px; align-items: center; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 6px 12px 6px 6px; }
.compass svg { width: 46px; height: 46px; display: block; }
.compass .read { font-size: var(--fs-mono); line-height: 1.45; color: rgba(255,255,255,.82); min-width: 9.5ch; }
.compass .read b { color: #fff; font-weight: 500; font-size: var(--fs-ui); }
.tools { top: 12px; right: 12px; display: flex; gap: 8px; }
.ibtn { pointer-events: auto; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; cursor: pointer; background: rgba(0,0,0,.45); border: 1px solid rgba(255,255,255,.18); color: #fff; }
.ibtn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.ibtn[hidden] { display: none; }
.ibtn[aria-pressed='true'] { background: #fff; color: #000; }
.loading { top: 14px; left: 50%; transform: translateX(-50%); font-size: var(--fs-ui); color: rgba(255,255,255,.85); display: flex; gap: 8px; align-items: center; background: rgba(0,0,0,.5); border-radius: 999px; padding: 5px 12px 5px 8px; }
.spin { width: 14px; height: 14px; border-radius: 50%; border: 2px solid rgba(255,255,255,.3); border-top-color: #fff; animation: spin 0.9s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.imm-ctl .seg[hidden] { display: none; }
.imm-ctl { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; justify-content: space-between; margin-top: 14px; }
.imm-clips { display: flex; gap: 8px; flex-wrap: wrap; }
.imm-clips .clip { display: flex; gap: 10px; align-items: center; text-align: left; padding: 6px 12px 6px 6px; border-radius: 999px; cursor: pointer; background: var(--surface); border: 1px solid var(--line); min-height: 44px; transition: border-color 0.15s; }
.imm-clips .clip:hover { border-color: var(--line-strong); }
.imm-clips .clip[aria-pressed='true'] { border-color: var(--text); }
.imm-clips .clip img { width: 32px; height: 32px; border-radius: 50%; object-fit: cover; flex: none; transition: transform 0.6s; }
.imm-clips .clip:hover img { transform: rotate(-30deg); }
.imm-clips .t { display: block; font-weight: 600; font-size: var(--fs-ui); line-height: 1.2; }
.imm-clips .s { display: none; }
.imm-credit { margin: 12px 0 0; font-size: var(--fs-ui); color: var(--muted); }

/* ================================================================ 05 SELECTED WORKS — iris */
.iris.works { position: relative; z-index: 2; height: calc(100vh + var(--steps, 5) * 100vh); height: calc(100svh + var(--steps, 5) * 100svh); background: #000; color: var(--text); }
.iris-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; background: #050506; }
.iris-sticky::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 220px; z-index: 2; pointer-events: none; background: linear-gradient(rgba(0,0,0,.6), rgba(0,0,0,0)); }
.iris-sticky::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: 2; pointer-events: none; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.7)); }
.iris-gl { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.iris-media { position: absolute; width: 2px; height: 2px; overflow: hidden; opacity: 0; pointer-events: none; }
.iris-media video { width: 2px; height: 2px; }
.iris-fallback { position: absolute; inset: 0; }
.iris-fallback > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.works-top { position: absolute; z-index: 3; left: var(--gutter); top: clamp(76px, 11vh, 120px); }
.works-h { font-size: var(--fs-sec); margin: 0; }
.iris-title { position: absolute; z-index: 3; left: var(--gutter); right: calc(var(--gutter) + var(--tsb-right) + 40px); bottom: calc(clamp(30px, 8vh, 90px) + var(--tsb-bottom)); pointer-events: none; }
.iris-title .in { will-change: opacity, transform; }
.iris-idx { font-size: var(--fs-mono); letter-spacing: 0.14em; color: var(--muted); margin-bottom: 12px; }
.iris-name { margin: 0; max-width: 18ch; font-family: var(--f-display); font-weight: var(--display-w); font-variation-settings: var(--display-vs); letter-spacing: var(--display-ls); font-size: var(--fs-sub); line-height: 1.04; text-shadow: 0 2px 30px rgba(0,0,0,.5); }
.iris-meta { margin-top: 12px; font-size: var(--fs-ui); color: var(--muted); }
.iris-rail { position: absolute; z-index: 3; right: calc(var(--tsb-right) + 12px); top: 50%; transform: translateY(-50%); display: grid; gap: 2px; }
.iris-rail button { width: 32px; height: 32px; border: 0; background: none; padding: 0; cursor: pointer; display: grid; place-items: center; }
.iris-rail button i { width: 8px; height: 8px; border-radius: 50%; border: 1px solid rgba(255,255,255,.65); transition: background-color 0.25s, transform 0.25s; }
.iris-rail button[aria-current='true'] i { background: #fff; transform: scale(1.3); }
.works-hook { position: absolute; z-index: 3; right: calc(var(--gutter) + var(--tsb-right)); bottom: calc(clamp(30px, 8vh, 90px) + var(--tsb-bottom)); }
.iris-hint { position: absolute; z-index: 3; left: 50%; bottom: calc(16px + var(--tsb-bottom)); transform: translateX(-50%); font-size: var(--fs-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); transition: opacity 0.4s; pointer-events: none; }

/* ================================================================ 06 LAB */
.lab { position: relative; z-index: 2; background: var(--bg); padding-bottom: clamp(70px, 12vh, 140px); }
.lab > .clip-head { margin-bottom: clamp(70px, 12vh, 140px); }
.lab-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr); gap: 0 clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(28px, 5vh, 56px); }
.lab-head .kick { grid-column: 1 / -1; }
.lab-head .sec-h { margin: 0; }
.lab-lead { margin: 0 0 8px; color: var(--muted); max-width: 40ch; font-size: var(--fs-lead); }
.lab-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(14px, 2vw, 24px); align-items: start; }
.lab-card { display: block; text-decoration: none; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; background: var(--surface); transition: transform 0.45s var(--ease-out), border-color 0.3s; }
.lab-card:hover { transform: translateY(-4px); border-color: var(--line-strong); }
.lab-pf { margin-top: clamp(0px, 8vw, 110px); }
.lab-prev { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.lab-pf .lab-prev { aspect-ratio: 4 / 3; }
.lab-prev img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.lab-ar .lab-prev img { animation: kb 14s ease-in-out infinite alternate; }
@keyframes kb { from { transform: scale(1.02) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-2%, 1%, 0); } }
.pf-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s; }
.lab-pf.live .pf-gl { opacity: 1; }
.pf-tag { position: absolute; left: 12px; top: 12px; font-size: var(--fs-mono); letter-spacing: 0.1em; color: #fff; background: rgba(0,0,0,.45); border-radius: 999px; padding: 4px 9px; }
.ar-hud { position: absolute; inset: 0; color: #8ff3ff; font-size: var(--fs-mono); letter-spacing: 0.06em; }
.ar-c { position: absolute; width: 22px; height: 22px; border: 2px solid currentColor; opacity: 0.85; }
.ar-c.tl { left: 14px; top: 14px; border-right: 0; border-bottom: 0; }
.ar-c.tr { right: 14px; top: 14px; border-left: 0; border-bottom: 0; }
.ar-c.bl { left: 14px; bottom: 14px; border-right: 0; border-top: 0; }
.ar-c.br { right: 14px; bottom: 14px; border-left: 0; border-top: 0; }
.ar-scan { position: absolute; left: 0; right: 0; top: 0; height: 2px; background: linear-gradient(90deg, transparent, rgba(143, 243, 255, 0.9), transparent); box-shadow: 0 0 18px rgba(143, 243, 255, 0.7); animation: scan 3.2s cubic-bezier(0.45, 0, 0.55, 1) infinite; }
@keyframes scan { 0% { transform: translateY(0); } 50% { transform: translateY(var(--scan-h, 300px)); } 100% { transform: translateY(0); } }
.lab-ar .lab-prev { --scan-h: calc(min(100vw, 760px) * 0.5); }
.ar-read { position: absolute; right: 44px; top: 18px; text-align: right; line-height: 1.5; text-shadow: 0 0 8px rgba(0,0,0,.8); }
.ar-read b { font-weight: 500; }
.lab-body { padding: clamp(18px, 2vw, 26px); display: grid; gap: 8px; }
.lab-body h3 { margin: 0; font-family: var(--f-display); font-weight: var(--display-w); font-variation-settings: var(--display-vs); letter-spacing: var(--display-ls); font-size: var(--fs-big); }
.lab-body p { margin: 0 0 6px; color: var(--muted); max-width: 48ch; }
.lab-body .link-arrow { justify-self: start; }

/* ================================================================ 07 CONSULTING */
.learn { position: relative; z-index: 2; background: var(--bg-2); padding-bottom: clamp(80px, 14vh, 160px); }
.learn > .clip-head { margin-bottom: clamp(70px, 12vh, 140px); }
.learn-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(28px, 5vw, 80px); margin-top: clamp(18px, 4vh, 40px); align-items: start; }
.learn h3 { margin: 0 0 14px; font-family: var(--f-display); font-weight: var(--display-w); font-variation-settings: var(--display-vs); letter-spacing: var(--display-ls); font-size: var(--fs-big); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.learn p { max-width: 48ch; }
.learn-free p { font-size: var(--fs-lead); margin: 0 0 24px; }
.tag { font-family: var(--f-mono); font-size: var(--fs-mono); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text); border: 1px solid var(--line-strong); border-radius: 999px; padding: 4px 10px; line-height: 1.2; }
.learn-free .tag { color: var(--muted); }
.tracks { list-style: none; padding: 0; margin: 18px 0 18px; display: grid; gap: 6px; }
.tracks li { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 4px; }
.tracks .tr { display: grid; place-items: center; font-size: var(--fs-mono); color: var(--muted); background: var(--surface); border-radius: 6px; }
.tracks .clip { width: max(var(--w), min(100%, 300px)); display: grid; gap: 2px; padding: 11px 14px; border-radius: 6px; border-left: 3px solid var(--c); background: var(--surface-2); transform-origin: 0 50%; transition: transform 0.9s var(--ease-out); }
.tracks .clip b { font-weight: 650; }
.tracks .clip span { color: var(--muted); font-size: var(--fs-ui); }
.js .tracks:not(.in) .clip { transform: scaleX(0.04); }
.tracks li:nth-child(2) .clip { transition-delay: 0.08s; }
.tracks li:nth-child(3) .clip { transition-delay: 0.16s; }
.tracks li:nth-child(4) .clip { transition-delay: 0.24s; }
.learn-note { color: var(--muted); font-size: var(--fs-ui); }

/* ================================================================ 08 ABOUT */
.about { position: relative; z-index: 2; background: var(--bg); padding-bottom: clamp(50px, 8vh, 100px); overflow: hidden; }
.about > .clip-head { margin-bottom: clamp(70px, 12vh, 140px); }
.about-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(28px, 5vw, 88px); align-items: center; }
.about .sec-h { font-size: var(--fs-sec); }
.about-copy p:not(.kick) { font-size: var(--fs-lead); max-width: 50ch; }
.collage { position: relative; aspect-ratio: 5 / 5.4; }
.cl-f { position: absolute; left: var(--x); top: var(--y); width: var(--w); margin: 0; transform: rotate(var(--r)); border-radius: 10px; overflow: hidden; background: #000; box-shadow: var(--card-shadow); will-change: transform; }
.cl-f img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.cl-f figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 10px 7px; font-size: var(--fs-mono); color: #fff; background: linear-gradient(rgba(0,0,0,0), rgba(0,0,0,.75)); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: 0.04em; }
.marquee { margin-top: clamp(56px, 10vh, 120px); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(18px, 2.6vh, 28px) 0; overflow: hidden; display: grid; gap: clamp(14px, 2.2vh, 24px); mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 5%, #000 95%, transparent 100%); }
.mq-row { display: flex; align-items: center; width: max-content; list-style: none; margin: 0; padding: 0; animation: mq-l 110s linear infinite; will-change: transform; }
.mq-row.mq-row-r { animation-name: mq-r; animation-duration: 118s; }
.mq-row li { position: relative; white-space: nowrap; display: inline-flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 4px clamp(22px, 2.6vw, 38px); opacity: 0.58; transition: opacity 0.28s var(--ease-out), transform 0.28s var(--ease-out); cursor: default; }
.mq-row li::after { content: ''; position: absolute; right: 0; top: 50%; width: 3px; height: 3px; border-radius: 50%; background: var(--muted); opacity: 0.35; transform: translate(50%, -6px); pointer-events: none; }
.mq-row li:hover, .mq-row li:focus-visible { opacity: 1; transform: translateY(-1px); }
.mq-mark { height: 36px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.mq-mark img { height: var(--lh, 26px); width: auto; max-width: none; display: block; object-fit: contain; pointer-events: none; select: none; }
.mq-sep { font: 500 13px/1 var(--f-mono); color: var(--muted); font-style: normal; opacity: 0.7; margin: 0 2px; }
.mq-sfx { font: 500 13px/1 var(--f-display); letter-spacing: 0.06em; color: var(--text); padding-left: 8px; border-left: 1px solid rgba(241, 239, 234, 0.25); }
.mq-wm { font-family: var(--f-display); font-weight: 500; font-size: clamp(13px, 1.15vw, 15px); letter-spacing: 0.05em; line-height: 1; color: var(--text); padding: 6px 12px; border: 1px solid rgba(241, 239, 234, 0.16); border-radius: 7px; background: rgba(241, 239, 234, 0.025); }
.mq-cap { font-size: 10px; line-height: 1; letter-spacing: 0.06em; color: var(--muted); opacity: 0; transform: translateY(-2px); transition: opacity 0.22s var(--ease-out), transform 0.22s var(--ease-out); pointer-events: none; }
.mq-row li:hover .mq-cap, .mq-row li:focus-visible .mq-cap, .marquee.held .mq-cap { opacity: 0.88; transform: translateY(0); }
.marquee.paused .mq-row, .marquee.still .mq-row, .marquee.held .mq-row { animation-play-state: paused; }
.marquee.still { overflow-x: auto; mask-image: none; -webkit-mask-image: none; }
@keyframes mq-l { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes mq-r { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
@media (max-width: 640px) {
  .mq-row li { padding: 3px 18px; }
  .mq-mark { height: 30px; }
  .mq-mark img { height: calc(var(--lh, 26px) * 0.86); }
  .mq-wm { font-size: 12px; padding: 5px 10px; }
}

/* ================================================================ 09 CONTACT */
.contact { position: relative; z-index: 2; background: var(--bg-2); padding-bottom: clamp(80px, 12vh, 140px); }
.contact > .clip-head { margin-bottom: clamp(70px, 12vh, 140px); }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 88px); align-items: start; }
.contact-h { font-size: var(--fs-sec); margin-bottom: 18px; }
.contact-lead { font-size: var(--fs-lead); margin: 0 0 30px; color: var(--muted); }
.channels { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; }
.channels a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong); text-decoration: none; font-weight: 600; font-size: var(--fs-btn); transition: border-color 0.2s, background-color 0.2s; }
.channels a:hover { border-color: var(--text); }
.brief-card { display: grid; gap: 8px; padding: clamp(20px, 2.2vw, 28px); border-radius: 18px; text-decoration: none; background: var(--surface); transition: transform 0.45s var(--ease-out); }
.brief-card:hover { transform: translateY(-3px); }
.brief-card .kick { margin: 0; }
.brief-card b { font-family: var(--f-display); font-weight: var(--display-w); font-variation-settings: var(--display-vs); letter-spacing: var(--display-ls); font-size: var(--fs-big); line-height: 1.1; }
.brief-card > span:not(.kick):not(.link-arrow) { color: var(--muted); }
.brief-card .link-arrow { justify-self: start; margin-top: 6px; }
.quick { margin-top: 10px; padding: clamp(20px, 2.2vw, 28px); border-radius: 18px; background: var(--surface); display: grid; gap: 12px; }
.quick-h { margin: 0; font-weight: 700; }
.quick label { display: grid; gap: 6px; font-size: var(--fs-ui); color: var(--muted); }
.quick input { min-height: 46px; border-radius: 10px; border: 1px solid var(--field-edge); background: var(--bg); color: var(--text); padding: 0 12px; font: inherit; font-size: var(--fs-body); }
.quick input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent); }
.quick-err { margin: 0; color: var(--rec); font-size: var(--fs-ui); }
.quick-ok { margin: 0; font-size: var(--fs-ui); color: var(--muted); }
.quick .btn { justify-self: start; }

/* ================================================================ FOOTER */
.foot { position: relative; z-index: 2; background: var(--bg); padding: clamp(28px, 6vh, 64px) 0 calc(28px + var(--tsb-bottom)); border-top: 1px solid var(--line); overflow: hidden; }
.foot-word { padding: 0 calc(var(--gutter) + var(--tsb-right)) 0 var(--gutter); font-family: var(--f-display); font-weight: var(--display-w); font-variation-settings: var(--display-vs); letter-spacing: var(--display-ls); font-size: clamp(40px, 9.6vw, 170px); line-height: 0.95; white-space: nowrap; color: transparent; -webkit-text-stroke: 1px var(--line-strong); margin-bottom: clamp(18px, 3vh, 32px); }
.foot-row { display: flex; flex-wrap: wrap; gap: 12px 24px; justify-content: space-between; font-size: var(--fs-ui); color: var(--muted); }
.foot-row nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.foot-row a { color: var(--muted); }
.foot-row a:hover { color: var(--text); }

/* ================================================================ phone */
@media (max-width: 767px) {
  /* phone hero: its own composition — the name on top of the frame's lower third, statement, then the action */
  .hero-in { bottom: calc(20px + var(--tsb-bottom)); }
  .hero-strip { display: none; }
  .hero-rec { font-size: var(--fs-mono); }
  .hero-row { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hero-copy { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .hero-line { font-size: var(--fs-lead); }
  .hero-sub { font-size: var(--fs-body); }
  .hero-cta { justify-self: start; }
  .fm-head { top: 58px; right: var(--gutter); --fn: var(--fs-sub); }
  .fm-head .sec-h { font-size: var(--fs-sec); }
  .fm-head .kick { font-size: var(--fs-mono); gap: 7px; letter-spacing: 0.06em; white-space: nowrap; }
  .fm-idx { margin-left: 2px; padding-left: 9px; gap: 6px; }
  .fm-hook { font-size: var(--fs-body); }
  .fm-cap { left: var(--gutter); right: var(--gutter); width: auto; bottom: 16px; }
  .fm-text { font-size: var(--fs-body); margin: 0 0 12px; }
  .fm-rail, .fm.is-seq .fm-rail { display: none; }
  .fm-cine-l { padding-left: var(--gutter); padding-right: var(--gutter); }
  .fm-info, .fm-hint { display: none; }
  .proc-toggle { top: 56px; }
  .proc-toggle .seg button { font-size: var(--fs-ui); padding: 7px 10px; min-height: 36px; }
  .proc-t2t { --t2t-inset-top: 40px; }
  .imm-grid, .lab-grid, .learn-grid, .about-grid, .contact-grid, .lab-head { grid-template-columns: minmax(0, 1fr); }
  .stage.sphere { aspect-ratio: 4 / 5; max-height: 70svh; }
  .compass .read { display: none; }
  .compass { padding: 5px; }
  .lab-pf { margin-top: 0; }
  .ar-read { right: 40px; }
  .works-top { top: 64px; }
  .iris-name { font-size: var(--fs-sub); }
  .works-hook { left: var(--gutter); right: auto; bottom: calc(14px + var(--tsb-bottom)); }
  .iris-title { bottom: calc(64px + var(--tsb-bottom)); right: 48px; }
  .iris-hint { display: none; }
  .collage { order: 2; }
  .channels a { padding: 0 14px; }
  .btn-xl { min-height: 56px; font-size: var(--fs-btn); width: 100%; }
  .clip-head b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-layer, .hero-layer.on, .hero-layer.leave { transition: opacity 0.6s linear; transform: none !important; }
  .lab-ar .lab-prev img, .ar-scan, .hero-rec .rec-dot, .spin { animation: none; }
  .tracks .clip { transition: none; }
  .js .tracks:not(.in) .clip { transform: none; }
}

/* reserve the scroll length of the lazy text→timeline before it mounts (same as t2t.css) */
.proc-t2t { height: 380vh; }
@media (max-width: 767px) { .proc-t2t { height: 360vh; } }
@media (prefers-reduced-motion: reduce) { .proc-t2t { height: 360vh; } }
/* short screens (landscape phones, small laptop windows): the hero copy must fit */
@media (max-height: 620px) {
  .hero-name { font-size: clamp(40px, 13vh, 120px); }
  .hero-sub { display: none; }
  .hero-tag { margin: 10px 0 14px; }
}

/* ================================================================ v1 additions */
/* about: frames in depth; the one under the cursor comes forward and plays */
.cl-f { transition: box-shadow 0.4s; }
.cl-f.hot { z-index: 5; box-shadow: 0 30px 60px -24px rgba(0, 0, 0, 0.85), 0 0 0 1px rgba(255, 255, 255, 0.14); }
.cl-f video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; opacity: 0; transition: opacity 0.35s; }
.cl-f video.on { opacity: 1; }
.cl-f figcaption { z-index: 1; }
/* marquee: stops under the cursor, the brand you point at lights up */
.marquee.hovered .mq-row, .marquee.held .mq-row { animation-play-state: paused; }
.mq-row li { transition: color 0.25s; }
.marquee.hovered .mq-row li { color: var(--muted); }
.marquee.hovered .mq-row li:hover { color: var(--text); }
/* footer: the wordmark fits the width (JS sets the size; this is the no-JS fallback) */
.foot-word { font-size: clamp(32px, 8.2vw, 170px); text-align: center; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-bottom: clamp(18px, 3vh, 30px); padding-bottom: clamp(16px, 2.6vh, 26px); border-bottom: 1px solid var(--line); }
.foot-nav a { color: var(--text); text-decoration: none; font-size: var(--fs-btn); font-weight: 500; padding: 6px 0; }
.foot-nav a:hover { color: var(--accent); }
html[data-theme='A'] .foot-nav a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 767px) { .foot-nav { gap: 2px 18px; } .foot-nav a { font-size: var(--fs-btn); } }

/* Unbounded is a wide display face — the heads get their own scale */
html[data-theme='A'] .sec-h { font-size: var(--fs-sec); letter-spacing: -0.02em; line-height: 1.04; }
html[data-theme='A'] .imm-copy .sec-h { font-size: var(--fs-sec); }
html[data-theme='A'] .contact-h { font-size: var(--fs-sec); }
html[data-theme='A'] .about .sec-h { font-size: var(--fs-sec); }
html[data-theme='A'] .works-h { font-size: var(--fs-sec); }
html[data-theme='A'] .fm-head { --fn: var(--fs-sub); }
html[data-theme='A'] .iris-name { font-size: var(--fs-sub); }
@media (max-width: 767px) {
  html[data-theme='A'] .fm-head { --fn: var(--fs-sub); }
  html[data-theme='A'] .sec-h, html[data-theme='A'] .contact-h, html[data-theme='A'] .imm-copy .sec-h, html[data-theme='A'] .about .sec-h { font-size: var(--fs-sec); }
  html[data-theme='A'] .fm-head .sec-h { font-size: var(--fs-sec); }
  html[data-theme='A'] .hero-name { font-size: clamp(30px, 10.6vw, 52px); }
}

/* «Що я роблю»: the direction colour lives only in the kick chip and the rail — the stage itself stays neutral */
/* tablets / small laptops: the statement and its subline stack, the action stays on the right */
@media (min-width: 768px) and (max-width: 1100px) {
  .hero-copy { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .fm-head { right: calc(var(--gutter) + 190px); }
}

/* footer name: V and Y solid (the VY of the logo), the rest thin outline; unrolled by foot-name.js */
.foot-word, .pg-foot-word { position: relative; }
.foot-word b, .pg-foot-word b { font-weight: 700; font-variation-settings: 'wght' 700; color: var(--text); -webkit-text-stroke: 0; }
.foot-word .fw-r { font-weight: 300; font-variation-settings: 'wght' 300; }
.fw-r { display: inline-block; }
.fw-ch { transition: color 0.12s ease-out; }
.fw-ph { position: absolute; left: 0; top: 0.06em; bottom: 0.02em; width: 2px; margin-left: -1px; background: var(--rec); opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.fw-anim .fw-ph { left: 0; }
.fw-run .fw-ph { opacity: 1; transition: none; }

/* phones: the name on two lines, V and Y stacked like the logo; fitText sizes it to the longer line */
@media (max-width: 599px) { .foot-word { line-height: 1.02; text-align: left; } .foot-word .fw-sp { display: block; height: 0; overflow: hidden; } }

/* src-3e1ac42f66/css/fx.css */
/* v1 motion layer: prelude, review panel, splices between sections, reveal, small links.
   Transform/opacity only; everything is static under prefers-reduced-motion. */

/* ================================================================ prelude: REC → timecode → the first cut */
.intro { display: none; }
html.intro-on .intro { display: block; position: fixed; inset: 0; z-index: 300; pointer-events: none; }
.intro-bar { position: absolute; left: 0; right: 0; height: 50.2%; background: #050506; will-change: transform; }
.intro-t { top: 0; }
.intro-b { bottom: 0; }
.intro-hud {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 12px;
  font-size: var(--fs-ui); letter-spacing: 0.08em; color: rgba(244, 242, 237, 0.86); opacity: 0; transition: opacity 0.18s;
}
.intro-hud .rec-dot { background: #ff453a; box-shadow: 0 0 14px rgba(255, 69, 58, 0.7); }
.intro-rec { color: #ff453a; font-weight: 600; }
.intro-tc { font-variant-numeric: tabular-nums; min-width: 11ch; }
html.intro-rec .intro-hud { opacity: 1; }
.intro-flash { position: absolute; inset: 0; background: #fff6ea; opacity: 0; }
/* the cut: bars snap to a 2.39:1 letterbox (first frame), then open to full frame */
html.intro-cut .intro-hud { opacity: 0; transition-duration: 0.08s; }
html.intro-cut .intro-t { animation: intro-open-t 0.56s cubic-bezier(0.7, 0, 0.18, 1) forwards; }
html.intro-cut .intro-b { animation: intro-open-b 0.56s cubic-bezier(0.7, 0, 0.18, 1) forwards; }
html.intro-cut .intro-flash { animation: intro-flash 0.26s ease-out forwards; }
@keyframes intro-open-t { 0% { transform: translateY(0); } 18% { transform: translateY(-76%); } 46% { transform: translateY(-76%); } 100% { transform: translateY(-101%); } }
@keyframes intro-open-b { 0% { transform: translateY(0); } 18% { transform: translateY(76%); } 46% { transform: translateY(76%); } 100% { transform: translateY(101%); } }
@keyframes intro-flash { 0% { opacity: 0.16; } 100% { opacity: 0; } }
/* chrome and hero copy arrive after the cut */
.topbar, .tsb { transition: opacity 0.6s ease 0.1s; }
html.intro-on:not(.intro-cut) .topbar, html.intro-on:not(.intro-cut) .tsb { opacity: 0; transition: none; }
.hero-rec, .hero-row { transition: opacity 0.7s ease 0.28s, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.28s; }
html.intro-on:not(.intro-cut) .hero-rec, html.intro-on:not(.intro-cut) .hero-row { opacity: 0; transform: translate3d(0, 18px, 0); transition: none; }


/* ================================================================ splices: the playhead runs over each clip header */
.clip-head { overflow: hidden; }
.clip-head::after {
  content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--rec);
  box-shadow: 0 0 12px var(--rec); opacity: 0; pointer-events: none;
}
.clip-head.cut-play::after { animation: cut-run 1.05s cubic-bezier(0.5, 0, 0.2, 1) forwards; }
@keyframes cut-run { 0% { opacity: 1; transform: translateX(0); } 88% { opacity: 1; } 100% { opacity: 0; transform: translateX(calc(100vw - var(--tsb-right))); } }
.js .clip-head:not(.cut-play):not(.cut-done) > b, .js .clip-head:not(.cut-play):not(.cut-done) > em { clip-path: inset(0 100% 0 0); }
.clip-head.cut-play > b { animation: cut-name 0.7s steps(14, end) 0.08s both; }
.clip-head.cut-play > em { animation: cut-name 0.5s steps(11, end) 0.55s both; }
.clip-head.cut-play > i { animation: cut-chip 0.5s cubic-bezier(0.16, 1, 0.3, 1) both; transform-origin: 0 50%; }
@keyframes cut-name { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0 0 0 0); } }
.clip-head > em { opacity: 0.5; }
@keyframes cut-chip { from { transform: scaleX(0.2); } to { transform: none; } }
/* the splice itself: a hairline of light and a short glow at the head of the new clip — not a panel, not a strobe */
main > section.cut-flash::before {
  content: ''; position: absolute; z-index: 5; left: 0; right: var(--tsb-right); top: 0; height: 140px; pointer-events: none;
  background:
    linear-gradient(90deg, transparent, color-mix(in oklab, var(--rec) 70%, #fff) 30%, #fff8ee 50%, color-mix(in oklab, var(--rec) 70%, #fff) 70%, transparent) 0 0 / 100% 1px no-repeat,
    linear-gradient(180deg, rgba(255, 244, 228, 0.1) 0%, rgba(255, 244, 228, 0) 100%);
  animation: cut-burn 0.75s ease-out forwards;
}
@keyframes cut-burn { 0% { opacity: 1; } 100% { opacity: 0; } }

/* ================================================================ reveal: rise out of a mask */
.rv { opacity: 0; transform: translate3d(0, 22px, 0); }
.rv.rv-in { opacity: 1; transform: none; transition: opacity 0.8s ease var(--rv-d, 0ms), transform 1s cubic-bezier(0.16, 1, 0.3, 1) var(--rv-d, 0ms); }

/* ================================================================ links: underline wipes out and back in */
.link-arrow {
  border-bottom: 0; padding-bottom: 3px;
  background: linear-gradient(color-mix(in oklab, currentColor 45%, transparent), color-mix(in oklab, currentColor 45%, transparent)) 0 100% / 100% 1px no-repeat;
}
.link-arrow:hover, a:hover > .link-arrow { animation: ul-wipe 0.7s cubic-bezier(0.65, 0, 0.35, 1); }
@keyframes ul-wipe {
  0% { background-size: 100% 1px; background-position: 100% 100%; }
  48% { background-size: 0% 1px; background-position: 100% 100%; }
  52% { background-size: 0% 1px; background-position: 0 100%; }
  100% { background-size: 100% 1px; background-position: 0 100%; }
}

/* «Детальніше» → direction pages */
.more-btn { gap: 8px; }
.more-btn svg { width: 16px; height: 16px; }
.sec-acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 10px; }
.magnetic { will-change: transform; transition-property: background-color, color, border-color; }
.magnetic > * { display: inline-block; }

@media (prefers-reduced-motion: reduce) {
  html.intro-on .intro { display: none; }
  .clip-head::after, main > section.cut-flash::before { display: none; }
  .js .clip-head > b, .js .clip-head > em { clip-path: none !important; }
  .rv { opacity: 1; transform: none; }
  .link-arrow:hover, a:hover > .link-arrow { animation: none; }
}

/* the brand dot is the camera's tally light: it breathes while you are on the page */
.brand .rec-dot { animation: tally 2.4s ease-in-out infinite; }
@keyframes tally { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
/* channels and cards: a hairline playhead runs across on hover */
.channels a { position: relative; overflow: hidden; }
.channels a::after { content: ''; position: absolute; top: 0; bottom: 0; left: 0; width: 1.5px; background: var(--rec); opacity: 0; transform: translateX(-4px); }
.channels a:hover::after { animation: chan-run 0.6s cubic-bezier(0.5, 0, 0.2, 1); }
@keyframes chan-run { 0% { opacity: 1; transform: translateX(0); } 100% { opacity: 0; transform: translateX(var(--w, 140px)); } }
@media (prefers-reduced-motion: reduce) { .brand .rec-dot, .channels a:hover::after { animation: none; } }

/* «Детальніше» → the direction page: a neutral ghost button (the direction colour stays in the chip and the rail) */
/* the way into a direction page is the one solid button of the slide — the effects around it used to swallow a ghost one (Slava, 2026-10-29) */
.fm-more .more-btn { font-weight: 600; transition: background 0.3s, transform 0.35s var(--ease-out); }
.fm-more .more-btn:hover, .fm-more .more-btn:focus-visible { background: color-mix(in oklab, var(--btn-bg) 86%, var(--bg)); }
.fm-more .more-btn svg { transition: transform 0.35s var(--ease-out); }
.fm-more .more-btn:hover svg { transform: translateX(3px); }

/* src-3e1ac42f66/css/vymiry.css */
/* VYMIRY — the entrance of the home page.
   Rule: every dimension adds an axis — point → timeline → frame → space (7 faces = 7 directions);
   the initials VY open the «MIRY». Prototype: lab/vymiry/. */

/* like the old hero: the entrance holds still while «Що я роблю» slides over it (.fm has margin-top: -100vh) */
.vy-wrap { position: relative; height: 200vh; height: 200svh; }
.vy { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; color: var(--text);
  background: radial-gradient(120% 90% at 62% 45%, #161619 0%, #0c0c0e 55%, #070708 100%); isolation: isolate; }
.vy-mono { font-family: var(--f-mono); }

/* 3D object */
.vy-scene { position: absolute; left: 50%; top: 50%; width: 0; height: 0; perspective: 2200px; }
.vy-world { position: absolute; left: 0; top: 0; transform-style: preserve-3d; }
.vy-scene, .vy-face { touch-action: pan-y; } /* a horizontal drag turns the ring, a vertical one still scrolls the page */
.vy-face {
  --W: 560px; --H: 315px;
  position: absolute; left: calc(var(--W) / -2); top: calc(var(--H) / -2); width: var(--W); height: var(--H); margin: 0;
  border-radius: 10px; overflow: hidden; background: #111; transform-style: preserve-3d;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07); cursor: pointer;
}
.vy-face video, .vy-face img { width: 100%; height: 100%; max-width: none; object-fit: cover; display: block; pointer-events: none; }
.vy-face figcaption {
  position: absolute; left: 12px; bottom: 10px; z-index: 1; font: 500 11px/1 var(--f-mono); letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8); display: flex; gap: 8px; align-items: center;
}
.vy-face figcaption i { width: 8px; height: 8px; border-radius: 2px; background: var(--c); }
.vy-face::after { content: ''; position: absolute; inset: 0; background: rgba(5, 5, 6, var(--dim, 0)); pointer-events: none; transition: background 0.3s; }

/* point & timeline: 2D, on top of face 0's slot */
.vy-flat { position: absolute; left: 50%; top: 50%; width: 0; height: 0; pointer-events: none; z-index: 2; }
.vy-dot { position: absolute; left: -7px; top: -7px; width: 14px; height: 14px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 24px rgba(255, 69, 58, 0.55); }
/* hidden until vymiry.js draws its first frame (it sets both inline every frame) */
.vy-face { opacity: 0; }
.vy-dot { transform: scale(0); }
.vy-tl { position: absolute; top: -1px; height: 2px; background: var(--text); border-radius: 2px; opacity: 0; }
.vy-tl-clips { position: absolute; left: 0; right: 0; bottom: 8px; height: 12px; display: flex; gap: 3px; }
.vy-tl-clips b { flex: var(--w) 1 0; border-radius: 3px; background: var(--c); transform-origin: left center; }
.vy-tl-ph { position: absolute; top: -26px; width: 2px; height: 52px; background: var(--rec); }
.vy-tl-ph::before { content: ''; position: absolute; left: -5px; top: -2px; border: 6px solid transparent; border-top: 8px solid var(--rec); }
.vy-dimtag { position: absolute; left: 0; top: 0; transform: translate(-50%, 0); white-space: nowrap; font: 500 12px/1 var(--f-mono);
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.vy-dimtag b { color: var(--text); font-weight: 500; margin-right: 10px; }

/* wordmark + the seven dimensions */
.vy-brand { position: absolute; left: calc(var(--gutter) + 2vw); top: 50%; transform: translateY(-50%); width: min(46vw, 640px); z-index: 2; }
.vy-wm { margin: 0; font-family: var(--f-display); font-size: clamp(64px, 8.6vw, 156px); line-height: 0.9; letter-spacing: -0.03em;
  display: flex; align-items: flex-end; position: relative; white-space: nowrap; font-weight: 300; font-variation-settings: normal; text-wrap: nowrap; }
.vy-wm > * { flex: none; }
.vy-wm .vy-i { font-weight: 700; display: inline-block; position: relative; will-change: transform; opacity: 0; }
.vy-wm .vy-ph { display: inline-block; width: 0.055em; align-self: stretch; margin: -0.06em 0.1em -0.04em; background: var(--rec); position: relative; transform-origin: top; transform: scaleY(0); }
.vy-wm .vy-ph::before { content: ''; position: absolute; left: 50%; top: -0.02em; transform: translate(-50%, -100%);
  border: 0.06em solid transparent; border-top: 0.08em solid var(--rec); border-bottom: 0; }
.vy-wm .vy-miry { display: inline-block; }
.vy-wm .vy-miry span { display: inline-block; opacity: 0; }

.vy-dims { list-style: none; margin: 40px 0 0; padding: 0; border-top: 1px solid transparent; }
.vy-dims li { border-bottom: 1px solid var(--line); opacity: 0; }
.vy-dims a { display: grid; grid-template-columns: 52px 30px 1fr auto; align-items: center; gap: 12px; padding: 11px 4px; color: inherit; text-decoration: none;
  transition: background 0.25s, padding 0.35s var(--ease-out); }
.vy-dims .n { font: 500 12px/1 var(--f-mono); color: var(--muted); letter-spacing: 0.08em; }
.vy-dims .c { width: 26px; height: 10px; background: var(--c); clip-path: inset(0 16px 0 0 round 3px); transition: clip-path 0.45s var(--ease-out); }
.vy-dims .t { font: 500 17px/1.2 var(--f-ui); }
.vy-dims .go { font: 500 12px/1 var(--f-mono); color: var(--muted); opacity: 0; transition: opacity 0.2s; }
.vy-dims a:hover, .vy-dims a.on, .vy-dims a:focus-visible { background: rgba(241, 239, 234, 0.04); padding-left: 12px; }
.vy-dims a:hover .c, .vy-dims a.on .c { clip-path: inset(0 0 0 0 round 3px); }
.vy-dims a:hover .go, .vy-dims a.on .go { opacity: 1; }

.vy-skip { position: absolute; right: calc(var(--gutter) + var(--tsb-right)); bottom: calc(22px + var(--tsb-bottom)); z-index: 3;
  font: 500 12px/1 var(--f-mono); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); padding: 10px 14px;
  border: 1px solid var(--line-strong); border-radius: 999px; background: none; cursor: pointer; transition: opacity 0.4s; }
.vy-skip:hover { color: var(--text); border-color: var(--text); }
.vy-skip[hidden] { display: none; }
.vy-done .vy-skip { opacity: 0.55; }
.vy-done .vy-skip:hover, .vy-done .vy-skip:focus-visible { opacity: 1; }

/* while the entrance plays, the site chrome waits */
html.vy-intro .topbar-r, html.vy-intro .tsb { opacity: 0; pointer-events: none; } /* the brand mark stays: you know where you are from the first frame */
.topbar-r { transition: opacity 0.8s ease; }
.topbar, .tsb { transition: opacity 0.8s ease; }

@media (max-width: 900px) {
  /* the list sits above the skip / replay button (32 px + a gap), so the button never covers row 07 */
  .vy-brand { left: var(--gutter); right: var(--gutter); width: auto; top: auto; bottom: calc(18px + 42px + var(--tsb-bottom)); transform: none; }
  .vy-wm { font-size: clamp(46px, 11.5vw, 84px); }
  .vy-dims { margin-top: clamp(12px, 2vh, 24px); }
  .vy-dims .t { font-size: 15px; }
  .vy-dims a { padding: 7px 4px; }
}

@media (prefers-reduced-motion: reduce) {
  .vy-face::after, .vy-dims a, .vy-dims .c, .vy-dims .go, .topbar, .tsb { transition: none; }
}


/* the monitor frame while the entrance plays (vymiry.js → .vy-hud): muted, thin, mono — a frame, not a message */
.vy-hud { position: absolute; inset: 0; pointer-events: none; z-index: 1; opacity: 0; --hud: rgba(241, 239, 234, 0.42); }
.vy-cn { position: absolute; width: 22px; height: 22px; border: 0 solid var(--hud); }
.vy-cn.tl { left: var(--gutter); top: 78px; border-left-width: 1px; border-top-width: 1px; }
.vy-cn.tr { right: calc(var(--gutter) + var(--tsb-right)); top: 78px; border-right-width: 1px; border-top-width: 1px; }
.vy-cn.bl { left: var(--gutter); bottom: calc(76px + var(--tsb-bottom)); border-left-width: 1px; border-bottom-width: 1px; }
.vy-cn.br { right: calc(var(--gutter) + var(--tsb-right)); bottom: calc(76px + var(--tsb-bottom)); border-right-width: 1px; border-bottom-width: 1px; }
.vy-rec { position: absolute; right: calc(var(--gutter) + var(--tsb-right)); top: 28px; display: flex; align-items: center; gap: 8px;
  font: 500 12px/1 var(--f-mono); letter-spacing: 0.1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.vy-rec b { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); animation: vy-rec 1.2s steps(2, jump-none) infinite; }
.vy-rec .vy-tc { color: var(--text); }
@keyframes vy-rec { 50% { opacity: 0.25; } }
.vy-ruler { position: absolute; left: var(--gutter); right: calc(var(--gutter) + var(--tsb-right) + 150px); bottom: calc(36px + var(--tsb-bottom)); height: 10px;
  border-bottom: 1px solid var(--hud); background: repeating-linear-gradient(90deg, var(--hud) 0 1px, transparent 1px 2.5%) bottom / 100% 5px no-repeat; }
.vy-ruler span { position: absolute; bottom: 16px; transform: translateX(-50%); font: 500 11px/1 var(--f-mono); letter-spacing: 0.1em; color: var(--muted); opacity: 0.45; transition: opacity 0.3s, color 0.3s; white-space: nowrap; }
.vy-ruler span.on { opacity: 1; color: var(--text); }
.vy-ruler span em { font-style: normal; text-transform: uppercase; }
.vy-ruler-ph { position: absolute; bottom: -4px; width: 2px; height: 18px; margin-left: -1px; background: var(--rec); }
@media (max-width: 899px) { .vy-cn { display: none; } .vy-ruler span em { display: none; } .vy-ruler { right: var(--gutter); bottom: calc(84px + var(--tsb-bottom)); } }

/* src-3e1ac42f66/css/bin.css */
/* 05 · SELECTED WORKS — clips on a timeline. The open clip plays full-frame and lights the room;
   the rest are slivers with vertical names. Phones: a 2-column bin (same DOM). */

.bin.works { position: relative; z-index: 2; background: #050506; color: var(--text); padding-bottom: clamp(64px, 11vh, 130px); overflow: hidden; isolation: isolate; }
.bin > .clip-head { margin-bottom: clamp(56px, 9vh, 110px); }

/* the room light: a gradient in the open clip's colours behind the track (bin.js → tint) */
.bin-glow { position: absolute; inset: 10% -10% -10%; z-index: -1; pointer-events: none; }
.bin-glow i { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-out);
  background: radial-gradient(55% 50% at 50% 56%, var(--g1, transparent) 0%, transparent 72%), radial-gradient(70% 60% at 22% 30%, var(--g2, transparent) 0%, transparent 75%); }
.bin-glow i.on { opacity: 0.5; }
.bin-glow::after { content: ''; position: absolute; inset: 0; background: radial-gradient(75% 65% at 50% 58%, rgba(5,5,6,0) 0%, rgba(5,5,6,.5) 68%, #050506 100%); }

.bin-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(22px, 4vh, 44px); }
.bin-head .kick { grid-column: 1 / -1; }
.bin-head .sec-h { margin: 0; }
.bin-p { margin: 0; color: var(--muted); font-size: var(--fs-body); max-width: 34ch; text-align: right; }

/* ---------------------------------------------------------------- desktop: the track */
.bin-grid { --h: clamp(340px, 56vh, 600px); --open: min(64%, calc(var(--h) * 16 / 9)); --ruler: 26px;
  position: relative; display: flex; gap: 4px; height: calc(var(--h) + var(--ruler)); }
/* ruler ticks across the whole track, like the time ruler above a timeline */
.bin-grid::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: var(--ruler); pointer-events: none;
  background:
    repeating-linear-gradient(90deg, rgba(255,255,255,.22) 0 1px, transparent 1px 64px) 0 100% / 100% 9px no-repeat,
    repeating-linear-gradient(90deg, rgba(255,255,255,.1) 0 1px, transparent 1px 16px) 0 100% / 100% 5px no-repeat;
  border-bottom: 1px solid rgba(255,255,255,.12); }

.bin-tile { position: relative; flex: 1 1 0px; min-width: 0; display: block; padding: var(--ruler) 0 0; border: 0; background: none; color: inherit; text-align: left; cursor: pointer; container-type: inline-size;
  transition: flex-grow 0.75s var(--ease-out), flex-basis 0.75s var(--ease-out); }
.bin-tile.on { flex: 0 0 var(--open); }
.bin-tile.bin-split { margin-left: 14px; } /* AI | classic: two groups on one track */
.bin-tc { position: absolute; left: 12px; top: 3px; font-size: var(--fs-mono); letter-spacing: 0.04em; color: rgba(255,255,255,.4); white-space: nowrap; transition: color 0.4s, opacity 0.4s; }
.bin-tile.on .bin-tc { color: rgba(255,255,255,.85); }
.bin-tile:not(.on) .bin-tc { opacity: 0; }

.bin-clip { position: relative; display: block; height: 100%; border-radius: 6px; overflow: hidden; background: #0d0d0f;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.07); }
/* the clip header bar in the label colour (Premiere / Resolve) with the file name */
.bin-bar { position: absolute; z-index: 3; left: 0; right: 0; top: 0; height: 22px; display: flex; align-items: center; gap: 8px; padding: 0 8px;
  background: color-mix(in oklab, var(--tag) 78%, #000); color: rgba(255,255,255,.92); font-size: var(--fs-mono); letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; }
.bin-bar b { font-weight: 600; opacity: .75; }
.bin-fn { overflow: hidden; text-overflow: ellipsis; }

.bin-media { position: absolute; inset: 22px 0 0; display: block; overflow: hidden; container-type: inline-size; }
.bin-media img, .bin-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; max-width: none; }
.bin-media img { transition: filter 0.7s var(--ease-out), transform 1.4s var(--ease-out); }
.bin-media video { opacity: 0; transition: opacity 0.25s linear; }
.bin-media video.ready { opacity: 1; }
.bin-tile:not(.on) .bin-media img { filter: brightness(0.42) saturate(0.55); transform: scale(1.06); }
.bin-tile:not(.on):hover .bin-media img { filter: brightness(0.7) saturate(0.8); }
/* a shade under the caption of the open clip */
.bin-media::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,0) 52%, rgba(0,0,0,.78) 100%); opacity: 0; transition: opacity 0.6s; }
.bin-tile.on .bin-media::after { opacity: 1; }

/* sliver label: the work name written along the clip */
.bin-vl { position: absolute; z-index: 2; left: 50%; bottom: 14px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg);
  font-size: var(--fs-mono); letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,.72); white-space: nowrap; max-height: calc(100% - 50px); overflow: hidden; text-overflow: ellipsis;
  transition: opacity 0.35s; }
.bin-tile.on .bin-vl { opacity: 0; }

/* caption of the open clip */
.bin-cap { position: absolute; z-index: 2; left: clamp(16px, 1.6vw, 26px); right: clamp(110px, 10vw, 150px); bottom: clamp(16px, 1.8vw, 26px); display: grid; gap: 8px;
  opacity: 0; transform: translate3d(0, 10px, 0); transition: opacity 0.35s, transform 0.5s var(--ease-out); pointer-events: none; }
.bin-tile.on .bin-cap { opacity: 1; transform: none; transition-delay: 0.3s; }
.bin-t { font-family: var(--f-display); font-weight: 400; letter-spacing: -0.01em;
  font-size: var(--fs-big); line-height: 1.08; text-shadow: 0 2px 22px rgba(0,0,0,.5); max-width: 22ch; }
.bin-m { display: flex; gap: 12px; align-items: baseline; font-size: var(--fs-mono); letter-spacing: 0.1em; color: rgba(255,255,255,.75); white-space: nowrap; text-transform: uppercase; }
.bin-m b { font-weight: 600; color: #fff; }
.bin-open { position: absolute; z-index: 2; right: clamp(16px, 1.6vw, 26px); bottom: clamp(16px, 1.8vw, 26px); font-size: var(--fs-mono); letter-spacing: 0.14em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255,255,255,.35); background: rgba(10,10,12,.4); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.35s, background-color 0.25s, color 0.25s; }
.bin-tile.on .bin-open { opacity: 1; transition-delay: 0.35s; }
.bin-tile.on:hover .bin-open { background: #fff; color: #0b0b0c; }

/* the playhead: from the ruler down through the open clip; its head sits on the ruler */
.bin-ph { position: absolute; z-index: 4; top: 4px; bottom: 0; left: 0; width: 2px; margin-left: -1px; background: var(--rec); box-shadow: 0 0 12px rgba(255,69,58,.65);
  opacity: 0; transform: translate3d(calc(var(--p, 0) * 100cqw), 0, 0); pointer-events: none; }
.bin-ph::before { content: ''; position: absolute; left: -5px; top: -4px; width: 12px; height: 14px; background: var(--rec); clip-path: polygon(0 0, 100% 0, 100% 62%, 50% 100%, 0 62%); }
.bin-tile.on .bin-ph { opacity: 1; }

.bin-tile:focus-visible { outline: none; }
.bin-tile:focus-visible .bin-clip { box-shadow: inset 0 0 0 2px #fff; }

.bin-foot { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-top: clamp(24px, 4.5vh, 48px); }
.bin-count { font-size: var(--fs-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.bin .works-hook { position: static; }

/* ---------------------------------------------------------------- phones: a plain 2-column bin */
@media (max-width: 759px) {
  .bin-head { grid-template-columns: minmax(0, 1fr); }
  .bin-p { text-align: left; }
  .bin-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 10px; height: auto; align-items: start; }
  .bin-grid::before, .bin-tc, .bin-vl, .bin-open, .bin-ph { display: none; }
  .bin-tile, .bin-tile.on { flex: none; padding: 0; }
  .bin-tile.bin-split { margin-left: 0; }
  .bin-tile { container-type: normal; }
  .bin-clip { height: auto; display: grid; gap: 10px; overflow: visible; background: none; box-shadow: none; border-radius: 0; }
  .bin-bar { display: none; }
  .bin-media { position: relative; inset: auto; aspect-ratio: 16 / 9; border-radius: 6px; }
  .bin-tile:not(.on) .bin-media img { filter: brightness(0.75); transform: none; }
  .bin-media::after { display: none; }
  .bin-cap { position: static; opacity: 1; transform: none; gap: 4px; }
  .bin-t { font-family: inherit; font-weight: 600; font-size: var(--fs-body); line-height: 1.25; text-shadow: none; }
  .bin-m { font-size: var(--fs-mono); color: var(--muted); }
  .bin-m .bin-k { display: none; }
  .bin-foot { flex-direction: column; align-items: flex-start; }
}
@media (prefers-reduced-motion: reduce) {
  .bin-tile, .bin-media img, .bin-glow img, .bin-cap { transition: none !important; }
}

/* editor keys hint (desktop only — added by bin.js on a fine pointer) */
.bin-keys { display: inline-flex; align-items: center; gap: 4px; margin-left: auto; font-size: var(--fs-mono); letter-spacing: 0.08em; color: var(--muted); opacity: 0.7; }
.bin-keys kbd { font: inherit; min-width: 20px; padding: 3px 5px; text-align: center; border: 1px solid var(--line-strong, #2c2c30); border-radius: 5px; color: var(--text, #f1efea); }
.bin-keys span { margin-left: 6px; text-transform: uppercase; letter-spacing: 0.14em; }
@media (max-width: 759px) { .bin-keys { display: none; } }

/* src-3e1ac42f66/css/lbx.css */
/* Letterbox viewer — shared by the direction pages (src/pages/viewer.js) and the home page bin. */
.lbx { position: fixed; inset: 0; z-index: 180; color: #fff; }
.lbx[hidden] { display: none; }
.lbx-bg {
  position: absolute; inset: 0;
  background: rgba(4, 4, 5, 0.74);
  backdrop-filter: blur(12px) saturate(0.82);
  -webkit-backdrop-filter: blur(12px) saturate(0.82);
  opacity: 0; transition: opacity 0.25s;
}
.lbx.in .lbx-bg { opacity: 1; }
.lbx-frame {
  position: absolute; left: 50%; top: 47%;
  width: min(86vw, 1280px, calc(74vh * var(--ar, 1.7778)));
  aspect-ratio: var(--ar, 16 / 9);
  max-height: 76vh;
  transform: translate(-50%, -50%) scale(0.96);
  opacity: 0; transition: transform 0.45s var(--ease-out), opacity 0.25s;
  background: #070709;
  border-radius: 14px;
  border: 1px solid var(--line-strong);
  box-shadow: 0 36px 96px -24px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.lbx.portrait .lbx-frame {
  width: auto;
  height: min(78vh, calc(88vw / var(--ar, 0.5625)));
  max-width: 88vw; max-height: 78vh;
  aspect-ratio: var(--ar, 9 / 16);
}
.lbx.in .lbx-frame { transform: translate(-50%, -50%); opacity: 1; }
/* a whole work (bin «Окремі роботи»): a smaller, higher frame so the native controls never sit under the caption */
.lbx.whole .lbx-frame { width: min(86vw, 1240px, calc(70vh * var(--ar, 1.7778))); top: 45%; }
.lbx.whole.portrait .lbx-frame { width: auto; height: min(72vh, calc(88vw / var(--ar, 0.5625))); max-width: 88vw; }
.lbx-frame img, .lbx-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; max-width: none; }
.lbx-frame video { opacity: 0; transition: opacity 0.2s; }
.lbx-frame video.on { opacity: 1; }
.lbx-top { position: absolute; left: var(--gutter); right: var(--gutter); top: calc(16px + env(safe-area-inset-top)); display: flex; justify-content: space-between; align-items: center; gap: 12px; z-index: 2; }
.lbx-top-r { display: flex; align-items: center; gap: 10px; }
.lbx-n { font-size: var(--fs-mono); letter-spacing: 0.08em; color: rgba(255, 255, 255, 0.78); }
.lbx-sound {
  height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(10, 10, 12, 0.68); color: #fff;
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--f-mono); font-size: var(--fs-mono); letter-spacing: 0.06em; text-transform: uppercase;
  cursor: pointer; transition: border-color 0.2s, background-color 0.2s;
}
.lbx-sound:hover { border-color: #fff; background: rgba(20, 20, 24, 0.88); }
.lbx-sound[hidden] { display: none; }
.lbx-sound svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lbx-info { position: absolute; left: var(--gutter); right: 120px; bottom: calc(24px + env(safe-area-inset-bottom)); display: grid; gap: 6px; pointer-events: none; z-index: 2; }
.lbx-k { font-size: var(--fs-mono); letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.lbx-s { font-size: var(--fs-body); line-height: 1.4; color: rgba(255, 255, 255, 0.72); text-shadow: 0 1px 12px rgba(0, 0, 0, 0.6); }
.lbx-s:empty { display: none; }
.lbx-t { margin: 0; font-family: var(--f-display); font-weight: var(--display-w); font-variation-settings: var(--display-vs); letter-spacing: var(--display-ls); font-size: var(--fs-sub); line-height: 1.08; text-shadow: 0 2px 18px rgba(0, 0, 0, 0.6); }
.lbx-btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, 0.3); background: rgba(10, 10, 12, 0.62); color: #fff; display: grid; place-items: center; cursor: pointer; z-index: 2; transition: border-color 0.2s, background-color 0.2s; }
.lbx-btn:hover { border-color: #fff; background: rgba(20, 20, 24, 0.85); }
.lbx-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.lbx-btn:focus-visible, .lbx-sound:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.lbx-prev, .lbx-next { position: absolute; top: 50%; transform: translateY(-50%); }
.lbx-prev { left: var(--gutter); }
.lbx-next { right: var(--gutter); }
.lbx-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255, 255, 255, 0.12); z-index: 2; }
.lbx-bar i { display: block; height: 100%; background: var(--rec); transform-origin: 0 50%; transform: scaleX(0); }
@media (max-width: 767px) {
  .lbx-prev, .lbx-next { top: auto; bottom: calc(22px + env(safe-area-inset-bottom)); transform: none; width: 44px; height: 44px; }
  .lbx-prev { left: auto; right: calc(var(--gutter) + 52px); }
  .lbx-info { right: 120px; }
  .lbx-sound span { display: none; }
  .lbx-sound { width: 44px; padding: 0; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .lbx-frame, .lbx-bg { transition: none !important; } }

/* src-3e1ac42f66/css/talk.css */
/* «Обговорити» pop-up: a clip window cut into the page. It opens from the middle like a splice
   (a red cut line, then the window spreads to both sides), closes the same way back. */

.talk { position: fixed; inset: 0; z-index: 190; display: grid; place-items: center; padding: clamp(12px, 3vw, 40px); color: var(--text); }
.talk[hidden] { display: none; }
.talk-bg { position: absolute; inset: 0; background: rgba(4, 4, 5, 0.72); backdrop-filter: blur(10px) saturate(0.8); -webkit-backdrop-filter: blur(10px) saturate(0.8);
  opacity: 0; transition: opacity 0.35s var(--ease-out); }
.talk.in .talk-bg { opacity: 1; }

.talk-win { position: relative; width: min(1080px, 100%); max-height: calc(100svh - 2 * clamp(12px, 3vw, 40px)); overflow: auto; overscroll-behavior: contain;
  background: var(--bg-2); border: 1px solid var(--line-strong); border-radius: 18px;
  box-shadow: 0 40px 120px -30px rgba(0, 0, 0, 0.9), 0 0 0 1px rgba(0, 0, 0, 0.4);
  clip-path: inset(0 50% 0 50% round 18px); transition: clip-path 0.6s var(--ease-out); }
.talk.in .talk-win { clip-path: inset(0 0 0 0 round 18px); }
/* the cut: a red line in the middle that the window opens from */
.talk-win::before { content: ''; position: absolute; z-index: 3; left: 50%; top: 0; bottom: 0; width: 2px; margin-left: -1px; background: var(--rec);
  box-shadow: 0 0 18px rgba(255, 69, 58, 0.8); opacity: 1; transition: opacity 0.5s 0.15s; pointer-events: none; }
.talk.in .talk-win::before { opacity: 0; }

/* header = a clip head on the V1 track */
.talk-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 12px; height: 46px; padding: 0 8px 0 clamp(18px, 2.4vw, 32px);
  background: color-mix(in oklab, var(--bg-2) 92%, #000); border-bottom: 1px solid var(--line); font-size: var(--fs-mono); letter-spacing: 0.06em; }
.talk-head > i { width: 26px; height: 12px; border-radius: 3px; background: var(--rec); }
.talk-head > span { color: var(--muted); }
.talk-head > b { font-weight: 500; }
.talk-tc { margin-left: auto; font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; }
.talk-x { width: 40px; height: 40px; border-radius: 50%; border: 0; background: none; color: var(--text); display: grid; place-items: center; cursor: pointer; transition: background-color 0.2s; }
.talk-x:hover { background: rgba(255, 255, 255, 0.08); }
.talk-x:focus-visible { outline: 2px solid var(--text); outline-offset: 0; }
.talk-x svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }

.talk-body { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 4vw, 64px); padding: clamp(26px, 4vw, 52px) clamp(18px, 3.4vw, 48px) clamp(26px, 3.6vw, 46px); }
.talk-main { min-width: 0; }
.talk-ref { margin: 0 0 14px; font-size: var(--fs-mono); letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.talk-ref b { font-weight: 500; color: var(--text); letter-spacing: 0.06em; }
.talk-h { margin: 0 0 14px; font-family: var(--f-display); font-weight: 300; letter-spacing: -0.02em;
  font-size: var(--fs-sec); line-height: 1.02; }
.talk-lead { margin: 0 0 26px; font-size: var(--fs-lead); color: var(--muted); }
.talk-brief { display: inline-flex; margin-top: 26px; }
.talk-quick { margin-top: 0; align-self: start; align-content: start; }

/* content rises after the window has opened */
.talk-body > * { opacity: 0; transform: translate3d(0, 14px, 0); transition: opacity 0.4s, transform 0.6s var(--ease-out); }
.talk.in .talk-body > * { opacity: 1; transform: none; transition-delay: 0.28s; }
.talk.in .talk-body > * + * { transition-delay: 0.36s; }

/* channels and the short form — self-contained, so the window looks the same on the direction pages */
.talk .channels { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 22px 0 0; }
.talk .channels a { position: relative; overflow: hidden; display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-strong);
  text-decoration: none; font-weight: 600; font-size: var(--fs-btn); color: var(--text); transition: border-color 0.2s, background-color 0.2s; }
.talk .channels a:hover { border-color: var(--text); }
.talk-quick { padding: clamp(20px, 2.2vw, 28px); border-radius: 18px; border: 1px solid var(--line); display: grid; gap: 12px; }
.talk-quick .quick-h { margin: 0; font-weight: 700; }
.talk-quick label { display: grid; gap: 6px; font-size: var(--fs-ui); color: var(--muted); }
.talk-quick input { min-height: 46px; border-radius: 10px; border: 1px solid var(--field-edge); background: var(--bg); color: var(--text); padding: 0 12px; font: inherit; font-size: var(--fs-body); }
.talk-quick input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent); }
.talk-quick .quick-err { margin: 0; color: var(--rec); font-size: var(--fs-ui); }
.talk-quick .quick-ok { margin: 0; font-size: var(--fs-ui); color: var(--muted); }
.talk-quick .btn { justify-self: start; }

/* two ways to write: Telegram (left button) and an email straight from the site (the mail button) */
.talk-acts { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
.talk-mailbtn { gap: 10px; }
.talk-mailbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linejoin: round; }

.talk-side { align-self: start; min-width: 0; display: grid; gap: 12px; }
.talk-seg { position: relative; display: grid; grid-template-columns: 1fr 1fr; padding: 4px; border-radius: 999px; border: 1px solid var(--line); font-size: var(--fs-mono); letter-spacing: 0.08em; text-transform: uppercase; }
.talk-seg button { position: relative; z-index: 1; min-height: 34px; border: 0; background: none; color: var(--muted); font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; border-radius: 999px; transition: color 0.3s; }
.talk-seg button[aria-selected='true'] { color: #0b0b0c; }
.talk-seg button:focus-visible { outline: 2px solid var(--text); outline-offset: 2px; }
.talk-seg > i { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px; background: var(--text); transition: transform 0.45s var(--ease-out); }
.talk-side[data-mode='mail'] .talk-seg > i { transform: translateX(100%); }

/* the two forms share one cell; switching is a cut with a short slide */
.talk-panes { display: grid; }
.talk-pane { grid-area: 1 / 1; transition: opacity 0.3s, transform 0.45s var(--ease-out), visibility 0s 0.45s; }
.talk-side[data-mode='tg'] .talk-pane[data-pane='mail'], .talk-side[data-mode='mail'] .talk-pane[data-pane='tg'] { opacity: 0; visibility: hidden; pointer-events: none; }
.talk-side[data-mode='tg'] .talk-pane[data-pane='mail'] { transform: translate3d(24px, 0, 0); }
.talk-side[data-mode='mail'] .talk-pane[data-pane='tg'] { transform: translate3d(-24px, 0, 0); }
.talk-side[data-mode='tg'] .talk-pane[data-pane='tg'], .talk-side[data-mode='mail'] .talk-pane[data-pane='mail'] { transition: opacity 0.35s 0.08s, transform 0.5s 0.08s var(--ease-out), visibility 0s; }

.talk-mail { padding: clamp(20px, 2.2vw, 28px); border-radius: 18px; border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.talk-mail .quick-h { margin: 0; font-weight: 700; }
.talk-mail label { display: grid; gap: 6px; font-size: var(--fs-ui); color: var(--muted); }
.talk-mail input, .talk-mail textarea { min-height: 46px; border-radius: 10px; border: 1px solid var(--field-edge); background: var(--bg); color: var(--text); padding: 10px 12px; font: inherit; font-size: var(--fs-body); }
.talk-mail textarea { min-height: 120px; resize: vertical; line-height: 1.45; }
.talk-mail input:focus, .talk-mail textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--accent) 30%, transparent); }
.talk-mail .quick-err { margin: 0; color: var(--rec); font-size: var(--fs-ui); }
.talk-mail .btn { justify-self: start; }
.talk-mail .btn[disabled] { background: var(--surface-2); color: var(--muted); border-color: var(--line-strong); cursor: progress; }
/* Turnstile: invisible (0 px, its grid gap folded away) until Cloudflare asks for a click — then .on */
.talk-ts { min-height: 0; }
.talk-ts:not(.on) { margin-top: -12px; }
.talk-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
/* sent: the fields step aside, a short confirmation stays */
.talk-mail.sent > :not(.talk-sent):not(.quick-h) { display: none; }
.talk-sent { display: grid; gap: 8px; }
.talk-sent[hidden], .talk [hidden] { display: none !important; }
.talk-sent-h { font-family: var(--f-display); font-weight: 300; font-size: var(--fs-big); }
.talk-sent p { margin: 0; color: var(--muted); }
.talk-sent p b { color: var(--text); font-weight: 600; }
.talk-again { justify-self: start; background: none; border: 0; padding: 0; color: var(--text); font: inherit; cursor: pointer; }

html.talk-open { overflow: hidden; }

@media (max-width: 759px) {
  .talk { padding: 0; place-items: end stretch; }
  .talk-win { width: 100%; max-height: 92svh; border-radius: 18px 18px 0 0; clip-path: inset(100% 0 0 0 round 18px 18px 0 0); }
  .talk.in .talk-win { clip-path: inset(0 0 0 0 round 18px 18px 0 0); }
  .talk-win::before { display: none; }
  .talk-body { grid-template-columns: minmax(0, 1fr); }
  .talk-head > span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .talk-win, .talk-bg, .talk-body > * { transition: none !important; }
  .talk-win { clip-path: none !important; }
  .talk-win::before { display: none; }
}

