/* Кристина Ковальчук: продюсер и преподаватель.
   Два трека = две темы: «Учу» (день, кобальт и лёд), «Продюсирую» (ночь, контровой свет). */

:root {
  --f-display: "Unbounded", "Arial Black", system-ui, sans-serif;
  --f-body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --f-serif: "Playfair Display", Georgia, "Times New Roman", serif;

  --pad: clamp(18px, 4vw, 56px);
  --max: 1440px;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --ease-io: cubic-bezier(.7, 0, .2, 1);
  --head-h: 68px;

  /* day */
  --bg: #eef4fe;
  --bg-2: #dfeafb;
  --ink: #0a0d16;
  --mute: #46556f;
  --line: rgba(10, 13, 22, .14);
  --card: #ffffff;
  --accent: #ff3d86;
  --accent-strong: #d4125a;
  --on-accent: #ffffff;
  --cobalt: #2d5fe0;
  --sky: #8fc0ff;
  --glass: rgba(238, 244, 254, .82);
}

html[data-track="produce"] {
  --bg: #06080f;
  --bg-2: #0d1220;
  --ink: #f2f6ff;
  --mute: #a3b0cc;
  --line: rgba(255, 255, 255, .16);
  --card: #111830;
  --accent: #ff5c9a;
  --accent-strong: #ff4a8d;
  --on-accent: #1a0510;
  --cobalt: #5b8cff;
  --sky: #86a8ff;
  --glass: rgba(6, 8, 15, .78);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--head-h) + 8px); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 clamp(16px, 1.1vw + 11px, 18px)/1.55 var(--f-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
  transition: background-color .6s var(--ease), color .6s var(--ease);
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; padding: 0; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, figure { margin: 0; }
em { font-family: var(--f-serif); font-style: italic; font-weight: 500; letter-spacing: 0; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--ink); color: var(--bg); padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip:focus { top: 12px; }

/* theme-conditional bits */
.only-produce { display: none; }
html[data-track="produce"] .only-teach { display: none; }
html[data-track="produce"] .only-produce { display: inline; }

/* view transition (circle reveal on theme switch) */
::view-transition-old(root), ::view-transition-new(root) { animation: none; mix-blend-mode: normal; }
::view-transition-old(root) { z-index: 1; }
::view-transition-new(root) { z-index: 2; }

/* ---------- curtain / progress / cursor ---------- */
.curtain {
  position: fixed; inset: 0; z-index: 300; display: grid; place-items: center;
  background: #0a0d16; color: #fff; pointer-events: none;
  font: 800 clamp(64px, 14vw, 160px)/1 var(--f-display);
  clip-path: inset(0 0 0 0);
}
.curtain span { display: block; animation: curtain-mark .9s var(--ease) both; }
html:not(.js) .curtain, .curtain.is-gone { display: none; }
.curtain.is-out { animation: curtain-out .7s var(--ease-io) forwards; }
@keyframes curtain-mark { from { opacity: 0; transform: translateY(24px) scale(.96); } 40% { opacity: 1; } to { opacity: 1; transform: none; } }
@keyframes curtain-out { to { clip-path: inset(0 0 100% 0); } }

.progress { position: fixed; left: 0; right: 0; top: 0; height: 3px; z-index: 120; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }

.cur { position: fixed; left: 0; top: 0; z-index: 250; pointer-events: none; display: none; }
@media (hover: hover) and (pointer: fine) {
  html.js.has-cursor .cur { display: block; }
  html.js.has-cursor, html.js.has-cursor a, html.js.has-cursor button, html.js.has-cursor summary, html.js.has-cursor label { cursor: none; }
}
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; display: block; border-radius: 50%; will-change: transform; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--accent); }
.cur-ring {
  width: 38px; height: 38px; margin: -19px 0 0 -19px; border: 1.5px solid var(--accent);
  display: grid; place-items: center; transition: width .3s var(--ease), height .3s var(--ease), margin .3s var(--ease), background-color .3s, border-color .3s;
}
.cur-ring b { font: 600 11px/1 var(--f-body); letter-spacing: .04em; text-transform: uppercase; color: var(--on-accent); opacity: 0; transition: opacity .2s; white-space: nowrap; }
.cur.is-link .cur-ring { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: color-mix(in srgb, var(--accent) 22%, transparent); }
.cur.is-label .cur-ring { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: var(--accent-strong); border-color: transparent; }
.cur.is-label .cur-ring b { opacity: 1; color: #fff; }
.cur.is-label .cur-dot { opacity: 0; }
.cur.is-down .cur-ring { transform-origin: center; }

/* ---------- header ---------- */
.head {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--head-h);
  display: flex; align-items: center; gap: 18px; padding-inline: var(--pad);
  color: #fff; transition: background-color .35s, color .35s, box-shadow .35s;
}
.head::before { content: ""; position: absolute; inset: 0 0 -34px; z-index: -1; pointer-events: none; background: linear-gradient(180deg, rgba(8, 20, 70, .5), transparent); transition: opacity .35s; }
html[data-track="produce"] .head::before { background: linear-gradient(180deg, rgba(3, 5, 12, .55), transparent); }
.head.is-solid::before { opacity: 0; }
.head.is-solid { background: var(--glass); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
@supports (backdrop-filter: blur(10px)) { .head.is-solid { backdrop-filter: blur(14px) saturate(1.2); } }
.brand { display: inline-flex; align-items: center; gap: 10px; font: 700 14px/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.brand-mark { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0a0d16; font: 800 15px/1 var(--f-display); transition: background-color .35s, color .35s; }
.head.is-solid .brand-mark { background: var(--ink); color: var(--bg); }
.nav { margin-left: auto; display: none; gap: 26px; font-size: 15px; }
.nav a { position: relative; padding: 8px 0; opacity: .9; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 2px; background: currentColor; transform: scaleX(0); transform-origin: 0 50%; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.is-on::after { transform: scaleX(1); }
.head-cta { display: none; padding: 11px 20px; border-radius: 999px; background: #fff; color: #0a0d16; font-weight: 600; font-size: 15px; transition: background-color .3s, color .3s, transform .3s var(--ease); }
.head.is-solid .head-cta { background: var(--ink); color: var(--bg); }
.head-cta:hover { transform: translateY(-1px); }

.switch { position: relative; display: inline-flex; padding: 4px; border-radius: 999px; background: rgba(8, 20, 70, .32); border: 1px solid rgba(255, 255, 255, .3); margin-left: auto; isolation: isolate; }
.head.is-solid .switch { background: color-mix(in srgb, var(--ink) 8%, transparent); border-color: var(--line); }
.switch-btn { position: relative; z-index: 1; padding: 9px 16px; border-radius: 999px; font: 600 13.5px/1 var(--f-body); min-height: 36px; letter-spacing: .01em; transition: color .35s; }
.switch-thumb { position: absolute; z-index: 0; top: 4px; bottom: 4px; left: 4px; width: var(--tw, 60px); border-radius: 999px; background: #fff; transform: translateX(var(--tx, 0)); transition: transform .5s var(--ease), width .5s var(--ease), background-color .35s; }
.head.is-solid .switch-thumb { background: var(--ink); }
.switch-btn[aria-pressed="true"] { color: #0a0d16; }
.head.is-solid .switch-btn[aria-pressed="true"] { color: var(--bg); }

.burger { display: grid; place-items: center; width: 44px; height: 44px; margin-right: -8px; gap: 0; align-content: center; }
.burger i { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform .35s var(--ease); }
.burger i + i { margin-top: 6px; }
.burger[aria-expanded="true"] i:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] i:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 90; background: var(--bg); color: var(--ink); padding: calc(var(--head-h) + 24px) var(--pad) 28px; display: flex; flex-direction: column; justify-content: space-between; clip-path: circle(0 at calc(100% - 40px) 34px); transition: clip-path .6s var(--ease-io); }
.menu[hidden] { display: none; }
.menu.is-open { clip-path: circle(150% at calc(100% - 40px) 34px); }
.menu nav { display: grid; }
.menu nav a { font: 700 clamp(30px, 9vw, 52px)/1.1 var(--f-display); letter-spacing: -.03em; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu .menu-cta { margin-top: 22px; border: 0; padding: 18px 22px; border-radius: 18px; background: var(--accent-strong); color: #fff; font-size: clamp(20px, 5.5vw, 28px); text-align: center; }
.menu-foot { color: var(--mute); font-size: 15px; }
.menu-foot a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
body.menu-open { overflow: hidden; }
body.menu-open .head { color: var(--ink); background: transparent; box-shadow: none; }
body.menu-open .head .brand-mark { background: var(--ink); color: var(--bg); }
body.menu-open .head .switch { background: color-mix(in srgb, var(--ink) 8%, transparent); border-color: var(--line); }
body.menu-open .head .switch-thumb { background: var(--ink); }
body.menu-open .head .switch-btn[aria-pressed="true"] { color: var(--bg); }

/* ---------- buttons ---------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px/1 var(--f-body); letter-spacing: .005em; transition: transform .35s var(--ease), background-color .3s, color .3s, box-shadow .3s, border-color .3s; will-change: transform; overflow: hidden; }
.btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .35s var(--ease); }
.btn svg.ico-fill { fill: currentColor; stroke: none; }
.btn:hover svg:not(.ico-fill) { transform: translateX(4px); }
.btn-main { background: var(--accent-strong); color: #fff; box-shadow: 0 10px 30px -10px color-mix(in srgb, var(--accent-strong) 70%, transparent); }
html[data-track="produce"] .btn-main { background: var(--accent); color: #1a0510; }
.btn-main:hover { box-shadow: 0 16px 36px -10px color-mix(in srgb, var(--accent-strong) 80%, transparent); }
.btn-ghost { border: 1.5px solid currentColor; }
.btn-ghost:hover { background: color-mix(in srgb, currentColor 12%, transparent); }

main { overflow-x: clip; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; min-height: max(100svh, 640px); overflow: clip; color: #fff; isolation: isolate; display: grid; }
.hero-bg, .bg { position: absolute; inset: 0; }
.hero-bg { z-index: 0; }
.bg { transition: opacity .8s var(--ease); }
.bg-teach { background: radial-gradient(90% 70% at 50% 0%, #4a7ff0 0%, #3a6ce0 42%, #2750cc 74%, #1a38a0 100%); }
.bg-produce { background: radial-gradient(90% 70% at 70% 12%, #1b2a66 0%, #0b1230 45%, #05070e 80%); opacity: 0; }
html[data-track="produce"] .bg-teach { opacity: 0; }
html[data-track="produce"] .bg-produce { opacity: 1; }
.beam { position: absolute; width: 70vmax; height: 14vmax; border-radius: 50%; filter: blur(40px); opacity: 0; transition: opacity .8s; mix-blend-mode: screen; }
.beam-a { left: -20vmax; top: 22%; background: linear-gradient(90deg, transparent, rgba(110, 150, 255, .55), transparent); transform: rotate(-18deg); }
.beam-b { right: -26vmax; bottom: 14%; background: linear-gradient(90deg, transparent, rgba(255, 92, 154, .4), transparent); transform: rotate(-18deg); }
html[data-track="produce"] .beam { opacity: 1; }
.grain { position: absolute; inset: 0; opacity: .09; mix-blend-mode: overlay; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }

.hero-name {
  position: absolute; z-index: 1; left: 0; right: 0; top: clamp(78px, 13svh, 150px);
  display: flex; flex-direction: column; align-items: center; text-align: center;
  font: 800 clamp(34px, 11.8vw, 184px)/.86 var(--f-display); letter-spacing: -.03em; text-transform: uppercase; color: #fff;
  pointer-events: none; will-change: transform;
}
.hero-name .ln { display: block; white-space: nowrap; }
.hero-name .ln-2 { margin-top: .02em; }
html[data-track="produce"] .hero-name { color: #eaf0ff; filter: drop-shadow(0 0 36px rgba(91, 140, 255, .55)); }
.hero-name .ch { display: inline-block; will-change: transform; }
html.js .hero-name .ch { transform: translateY(105%) rotate(6deg); opacity: 0; }
html.js.is-ready .hero-name .ch { transform: none; opacity: 1; transition: transform 1s var(--ease) calc(var(--i) * 42ms + .1s), opacity .6s calc(var(--i) * 42ms + .1s); }
.hero-name .mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; margin-bottom: -.06em; }

.hero-fig { position: absolute; z-index: 2; left: 50%; bottom: 0; height: min(80svh, 112vw); aspect-ratio: 1400 / 1922; transform: translateX(-50%); pointer-events: none; will-change: transform; }
.fig { position: absolute; left: 0; bottom: 0; width: 100%; height: 100%; object-fit: contain; object-position: 50% 100%; transition: opacity .8s var(--ease), transform .9s var(--ease); filter: drop-shadow(0 30px 60px rgba(8, 20, 70, .35)); }
.fig-produce { opacity: 0; transform: translateY(3%) scale(.98); filter: drop-shadow(0 0 70px rgba(80, 130, 255, .5)); }
html[data-track="produce"] .fig-teach { opacity: 0; transform: translateY(3%) scale(.98); }
html[data-track="produce"] .fig-produce { opacity: 1; transform: none; }
html.js .hero-fig { opacity: 0; transform: translateX(-50%) translateY(6%); }
html.js.is-ready .hero-fig { opacity: 1; transform: translateX(-50%); transition: opacity 1.1s var(--ease) .25s, transform 1.4s var(--ease) .25s; }

.hero-ui { position: relative; z-index: 3; grid-area: 1/1; display: grid; grid-template-rows: auto 1fr; padding: calc(var(--head-h) + 12px) var(--pad) clamp(22px, 4vw, 40px); max-width: var(--max); width: 100%; margin-inline: auto; pointer-events: none; }
.hero-ui a, .hero-ui button { pointer-events: auto; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; text-shadow: 0 1px 14px rgba(8, 20, 70, .6); letter-spacing: .06em; text-transform: uppercase; opacity: .92; justify-self: start; }
.hero-eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent); animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(255, 61, 134, .6); } 70%, 100% { box-shadow: 0 0 0 12px rgba(255, 61, 134, 0); } }
.hero-lead { align-self: end; max-width: 440px; display: grid; gap: 14px; }
.role { font: 600 12.5px/1.3 var(--f-body); letter-spacing: .1em; text-transform: uppercase; opacity: .85; }
.lead-stack { display: grid; }
.lead { grid-area: 1/1; font-size: clamp(17px, 1.6vw, 22px); line-height: 1.4; transition: opacity .5s var(--ease), transform .6s var(--ease); text-wrap: pretty; }
.lead-produce { opacity: 0; transform: translateY(10px); visibility: hidden; }
html[data-track="produce"] .lead-teach { opacity: 0; transform: translateY(-10px); visibility: hidden; }
html[data-track="produce"] .lead-produce { opacity: 1; transform: none; visibility: visible; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.hero .btn-main { background: #fff; color: #0a0d16; box-shadow: none; }
html[data-track="produce"] .hero .btn-main { background: var(--accent); color: #1a0510; }
.hero .btn-ghost { color: #fff; }
.hero-scroll { position: absolute; right: var(--pad); bottom: clamp(22px, 4vw, 40px); display: none; align-items: center; gap: 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; writing-mode: vertical-rl; }
.hero-scroll i { display: block; width: 1px; height: 64px; background: linear-gradient(#fff, transparent); position: relative; overflow: hidden; }
.hero-scroll i::after { content: ""; position: absolute; inset: 0; background: #fff; animation: drip 2s var(--ease-io) infinite; }
@keyframes drip { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
.hero-tag { position: absolute; right: var(--pad); top: calc(var(--head-h) + 18px); display: none; font: 600 13px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; opacity: .85; }

html.js .hero-ui > * { opacity: 0; transform: translateY(16px); }
html.js.is-ready .hero-ui > * { opacity: 1; transform: none; transition: opacity .9s var(--ease) .7s, transform 1s var(--ease) .7s; }

/* band */
.band { overflow: hidden; background: var(--accent-strong); color: #fff; transform: rotate(-1.2deg) scale(1.02); margin: -22px 0 clamp(24px, 4vw, 48px); position: relative; z-index: 4; box-shadow: 0 -10px 40px rgba(0, 0, 0, .12); }
html[data-track="produce"] .band { background: var(--accent); color: #1a0510; }
.band-row { display: flex; align-items: center; gap: clamp(18px, 2.5vw, 36px); width: max-content; padding: 16px 0; font: 700 clamp(18px, 2.4vw, 30px)/1 var(--f-display); letter-spacing: -.02em; text-transform: uppercase; white-space: nowrap; animation: band 38s linear infinite; }
.band-row i { width: .5em; height: .5em; border-radius: 50%; background: currentColor; opacity: .7; flex: none; }
@keyframes band { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { padding-block: clamp(64px, 9vw, 140px); }
.kicker { display: inline-flex; align-items: center; gap: 12px; font: 600 13px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
.kicker::before { content: ""; width: 28px; height: 2px; background: var(--accent); }
.h2 { font: 700 clamp(30px, 5.1vw, 78px)/1.02 var(--f-display); letter-spacing: -.035em; max-width: 16ch; text-wrap: balance; }
.h2 em { font-size: 1.04em; letter-spacing: -.02em; color: var(--accent-strong); font-weight: 500; }
html[data-track="produce"] .h2 em { color: var(--accent); }
.sub { margin-top: 20px; max-width: 52ch; color: var(--mute); font-size: clamp(16px, 1.3vw, 19px); text-wrap: pretty; }

/* reveal */
html.js .rv { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease) var(--d, 0s), transform 1s var(--ease) var(--d, 0s); }
html.js .rv.in { opacity: 1; transform: none; }

/* ---------- tracks ---------- */
.duo { display: grid; gap: 16px; margin-top: clamp(32px, 4vw, 56px); }
.duo-card { position: relative; overflow: hidden; border-radius: clamp(22px, 2.6vw, 36px); min-height: 520px; display: grid; align-items: end; isolation: isolate; transition: flex-grow .7s var(--ease), transform .6s var(--ease), box-shadow .6s; }
.duo-teach { background: linear-gradient(160deg, #cfe3ff, #8fb9f8 60%, #5f93f0); color: #0a0d16; }
.duo-produce { background: linear-gradient(160deg, #141c3c, #090d1c 70%); color: #f2f6ff; }
.duo-img { position: absolute; z-index: -1; right: -4%; bottom: 0; height: 92%; width: auto; max-width: none; transition: transform .8s var(--ease); }
.duo-produce .duo-img { filter: drop-shadow(0 0 40px rgba(80, 130, 255, .45)); height: 80%; right: -2%; }
.duo-card::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.duo-teach::after { background: linear-gradient(90deg, rgba(207, 227, 255, .92) 0%, rgba(207, 227, 255, .7) 38%, transparent 62%); }
.duo-produce::after { background: linear-gradient(90deg, rgba(9, 13, 28, .94) 0%, rgba(9, 13, 28, .78) 40%, transparent 66%); }
.duo-body { padding: clamp(22px, 2.6vw, 40px); max-width: 58%; display: grid; gap: 14px; justify-items: start; }
.duo-n { font: 600 13px/1 var(--f-body); letter-spacing: .16em; opacity: .7; }
.duo-t { font: 800 clamp(28px, 3.3vw, 52px)/1 var(--f-display); letter-spacing: -.04em; }
.duo-p { font-size: clamp(15px, 1.2vw, 18px); opacity: .88; text-wrap: pretty; }
.duo-l { display: grid; gap: 6px; font-size: 15px; font-weight: 500; }
.duo-l li { position: relative; padding-left: 20px; }
.duo-l li::before { content: ""; position: absolute; left: 0; top: .62em; width: 10px; height: 2px; background: var(--accent-strong); }
.duo-produce .duo-l li::before { background: var(--accent); }
.duo-produce .duo-body { max-width: 54%; }
.duo-card .btn { margin-top: 6px; }
.duo-teach .btn-main { background: #0a0d16; color: #fff; box-shadow: none; }
.duo-produce .btn-main { background: var(--accent); color: #1a0510; }
.duo-card.is-active { box-shadow: 0 0 0 3px var(--accent); }
@media (hover: hover) { .duo-card:hover .duo-img { transform: translateY(-2%) scale(1.03); } }

/* ---------- services ---------- */
.serv-top { display: grid; gap: 8px; align-items: end; margin-bottom: clamp(28px, 4vw, 56px); }
.rows { border-top: 1px solid var(--line); }
.row { border-bottom: 1px solid var(--line); position: relative; transition: opacity .5s var(--ease); }
.row-a { display: grid; grid-template-columns: auto 1fr auto; gap: 8px 18px; align-items: start; padding: clamp(20px, 2.2vw, 34px) 0; position: relative; }
.row-a::before { content: ""; position: absolute; inset: 0 calc(var(--pad) * -1); background: color-mix(in srgb, var(--accent) 9%, transparent); transform: scaleY(0); transform-origin: 50% 100%; transition: transform .5s var(--ease); z-index: -1; }
.row-n { font: 600 14px/1.9 var(--f-display); color: var(--mute); min-width: 2.4em; }
.row-main { display: grid; gap: 8px; }
.row-t { font: 700 clamp(20px, 2.6vw, 38px)/1.12 var(--f-display); letter-spacing: -.03em; transition: transform .5s var(--ease), color .3s; text-wrap: balance; }
.row-d { color: var(--mute); max-width: 58ch; font-size: clamp(15px, 1.15vw, 17px); text-wrap: pretty; }
.row-tag { display: none; align-self: center; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); font: 600 12px/1 var(--f-body); letter-spacing: .1em; text-transform: uppercase; color: var(--mute); transition: background-color .4s, color .4s, border-color .4s; }
.row-go { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line); display: grid; place-items: center; align-self: center; transition: transform .5s var(--ease), background-color .3s, border-color .3s, color .3s; }
.row-go svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.row { opacity: .86; }
html[data-track="teach"] .row[data-tr="teach"], html[data-track="produce"] .row[data-tr="produce"] { opacity: 1; }
html[data-track="teach"] .row[data-tr="teach"] .row-tag, html[data-track="produce"] .row[data-tr="produce"] .row-tag { background: var(--accent-strong); color: #fff; border-color: transparent; }
html[data-track="produce"] .row[data-tr="produce"] .row-tag { background: var(--accent); color: #1a0510; }
@media (hover: hover) {
  .row:hover { opacity: 1; }
  .row:hover .row-a::before { transform: scaleY(1); }
  .row:hover .row-t { transform: translateX(10px); }
  .row:hover .row-go { transform: rotate(45deg); background: var(--ink); color: var(--bg); border-color: var(--ink); }
}
.peek { position: fixed; left: 0; top: 0; z-index: 60; width: clamp(200px, 20vw, 300px); aspect-ratio: 4/5; border-radius: 18px; overflow: hidden; pointer-events: none; opacity: 0; transform: translate3d(-999px, 0, 0) scale(.85); transition: opacity .3s, scale .3s; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); display: none; }
.peek img { width: 100%; height: 100%; object-fit: cover; }
.peek.is-on { opacity: 1; }
@media (hover: hover) and (pointer: fine) { html.js .peek { display: block; } }

/* ---------- statement ---------- */
.stmt { position: relative; height: 260svh; }
.stmt-pin { position: sticky; top: 0; height: 100svh; display: grid; place-items: center; align-content: center; gap: 28px; padding-inline: var(--pad); overflow: clip; }
.stmt-text { position: relative; z-index: 2; max-width: 16ch; text-align: center; font: 700 clamp(30px, 5.6vw, 96px)/1.06 var(--f-display); letter-spacing: -.04em; text-wrap: balance; }
.stmt-text .w { display: inline-block; opacity: .2; transition: opacity .35s linear; margin-right: .22em; }
.stmt-text .w.on { opacity: 1; }
.stmt-text em { font-size: 1.05em; color: var(--accent-strong); }
html[data-track="produce"] .stmt-text em { color: var(--accent); }
.stmt-sign { z-index: 2; font: 500 18px/1 var(--f-serif); font-style: italic; color: var(--mute); }
.sticker { position: absolute; z-index: 1; width: clamp(96px, 13vw, 210px); padding: 6px 6px 22px; background: #fff; border-radius: 6px; box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .45); will-change: transform; }
.sticker img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 3px; }
.st-1 { left: 3%; top: 14%; --r: -8deg; }
.st-2 { right: 4%; top: 11%; --r: 7deg; }
.st-3 { left: 6%; bottom: 9%; --r: 5deg; }
.st-4 { right: 5%; bottom: 8%; --r: -6deg; }
.sticker { transform: translate3d(0, var(--py, 0px), 0) rotate(var(--r)); }
.st-2 img, .st-3 img { aspect-ratio: 4/3; }

/* ---------- reel ---------- */
.reel { position: relative; background: var(--bg-2); transition: background-color .6s var(--ease); }
.reel-pin { position: sticky; top: 0; height: 100svh; display: grid; grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; padding-block: calc(var(--head-h) + 8px) clamp(18px, 3vw, 36px); overflow: clip; }
.reel-head { display: flex; justify-content: space-between; align-items: end; gap: 16px; }
.reel-head .h2 { font-size: clamp(26px, 3.6vw, 56px); max-width: 20ch; }
.reel-count { font: 700 clamp(18px, 2vw, 28px)/1 var(--f-display); color: var(--mute); white-space: nowrap; }
.reel-count b { color: var(--ink); font-weight: 800; }
.reel-view { align-self: center; overflow: visible; }
.reel-track { display: flex; align-items: center; gap: clamp(14px, 2vw, 28px); width: max-content; padding-inline: var(--pad); will-change: transform; }
.shot { flex: none; }
.shot figure { position: relative; height: min(56svh, 520px); border-radius: clamp(14px, 1.6vw, 22px); overflow: hidden; background: var(--bg); }
.shot img { height: 100%; width: auto; max-width: none; object-fit: cover; transition: transform 1s var(--ease); }
.shot figcaption { position: absolute; left: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(10, 13, 22, .62); color: #fff; font: 600 13px/1 var(--f-body); letter-spacing: .02em; }
.shot figcaption b { display: grid; place-items: center; min-width: 26px; height: 26px; padding-inline: 6px; border-radius: 999px; background: var(--accent); color: #1a0510; font: 700 11px/1 var(--f-display); }
@media (hover: hover) { .shot:hover img { transform: scale(1.04); } }
.shot:nth-child(even) { transform: translateY(clamp(8px, 3svh, 28px)); }
.shot:nth-child(odd) { transform: translateY(clamp(-26px, -2.5svh, -6px)); }
.reel-bar { height: 3px; background: var(--line); border-radius: 3px; overflow: hidden; }
.reel-bar i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(0); }
.shot figure { aspect-ratio: var(--ar, 4/5); }
.shot figure img { width: 100%; height: 100%; }
.sh-a { --ar: 3/2; } .sh-b { --ar: 3/4; } .sh-c { --ar: 4/3; } .sh-d { --ar: 4/5; } .sh-e { --ar: 4/3; }
.sh-f { --ar: 3/4; } .sh-g { --ar: 4/3; } .sh-h { --ar: 3/4; } .sh-i { --ar: 16/9; } .sh-j { --ar: 4/5; }
.no-pin .reel { height: auto !important; }
.no-pin .reel-pin { position: relative; height: auto; padding-bottom: 48px; }
.no-pin .reel-view { overflow-x: auto; scroll-snap-type: x proximity; -webkit-overflow-scrolling: touch; padding-block: 24px; }
.no-pin .reel-track { transform: none !important; }
.no-pin .shot { scroll-snap-align: center; }
.no-pin .reel-bar { display: none; }


/* ---------- projects / cases ---------- */
.projects { padding-bottom: clamp(48px, 7vw, 110px); }
.projects .clip { padding-block: clamp(32px, 5vw, 80px); }
.cases { display: grid; gap: 14px; }
.case { list-style: none; }
.case article { position: relative; height: 100%; display: grid; align-content: start; gap: 10px; padding: clamp(22px, 2.2vw, 30px); border-radius: 26px; background: var(--card); border: 1px solid var(--line); overflow: hidden; transition: transform .5s var(--ease), border-color .4s, box-shadow .5s; }
.case-cat { font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent-strong); margin-bottom: 4px; }
html[data-track="produce"] .case-cat { color: var(--accent); }
.case h3 { font: 700 clamp(19px, 1.5vw, 23px)/1.15 var(--f-display); letter-spacing: -.03em; max-width: 14ch; text-wrap: balance; }
.case p { color: var(--mute); font-size: 15.5px; text-wrap: pretty; }
.case .case-me { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14.5px; }
.case-me b { display: block; font: 600 11px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 6px; }
@media (hover: hover) { .case article:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 26px 50px -28px color-mix(in srgb, var(--accent) 80%, transparent); } }

/* ---------- teaching ---------- */
.teach { background: var(--bg-2); transition: background-color .6s var(--ease); }
.teach-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
.teach-copy .btn { margin-top: 28px; }
.tcards { display: grid; gap: 14px; }
.tcard { border-radius: 26px; overflow: hidden; background: var(--card); border: 1px solid var(--line); display: grid; }
.tcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--ease); }
.tcard-b { padding: clamp(20px, 2vw, 28px); display: grid; gap: 8px; }
.tcard h3 { font: 700 clamp(19px, 1.6vw, 24px)/1.15 var(--f-display); letter-spacing: -.03em; }
.tcard p { color: var(--mute); font-size: 15.5px; text-wrap: pretty; }
.tlist { display: grid; gap: 6px; font-weight: 500; }
.tlist li { position: relative; padding-left: 22px; }
.tlist li::before { content: ""; position: absolute; left: 0; top: .66em; width: 12px; height: 2px; background: var(--accent-strong); }
html[data-track="produce"] .tlist li::before { background: var(--accent); }
@media (hover: hover) { .tcard:hover img { transform: scale(1.04); } }
@media (min-width: 640px) { .cases { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .teach-grid { grid-template-columns: .9fr 1.1fr; } .teach-copy { position: sticky; top: calc(var(--head-h) + 28px); } }
@media (min-width: 1200px) { .cases { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 1100px) { .nav { gap: 22px; font-size: 14.5px; } }

/* ---------- clip ---------- */
.clip-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: center; }
.clip .h2 { font-size: clamp(44px, 10vw, 170px); letter-spacing: -.05em; max-width: none; }
.clip-card { position: relative; display: block; border-radius: clamp(20px, 2.4vw, 34px); overflow: hidden; aspect-ratio: 4/5; max-height: 80svh; background: #0b1230; isolation: isolate; box-shadow: 0 40px 80px -30px rgba(30, 60, 200, .55); }
.clip-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.clip-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(5, 8, 25, .75)); }
.clip-play { position: absolute; z-index: 2; left: 50%; top: 50%; width: clamp(76px, 9vw, 118px); aspect-ratio: 1; margin: calc(clamp(76px, 9vw, 118px) / -2) 0 0 calc(clamp(76px, 9vw, 118px) / -2); border-radius: 50%; background: #fff; color: #0a0d16; display: grid; place-items: center; transition: transform .5s var(--ease); }
.clip-play svg { width: 38%; fill: currentColor; margin-left: 6%; }
.clip-play::before { content: ""; position: absolute; inset: -14px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .5); animation: ring 2.4s var(--ease) infinite; }
@keyframes ring { 0% { transform: scale(.85); opacity: 1; } 100% { transform: scale(1.35); opacity: 0; } }
.clip-badge { position: absolute; z-index: 2; left: 18px; bottom: 18px; padding: 8px 14px; border-radius: 999px; background: rgba(255, 255, 255, .16); color: #fff; font: 600 13px/1 var(--f-body); border: 1px solid rgba(255, 255, 255, .3); }
@media (hover: hover) { .clip-card:hover img { transform: scale(1.05); } .clip-card:hover .clip-play { transform: scale(1.1); } }
.clip-copy .btn { margin-top: 28px; }

/* ---------- path ---------- */
.path { background: var(--bg-2); transition: background-color .6s var(--ease); position: relative; }
.steps { display: grid; gap: 14px; margin-top: clamp(32px, 4vw, 60px); counter-reset: s; }
.step { position: relative; background: var(--bg); border-radius: 24px; padding: 26px 24px 28px; display: grid; gap: 10px; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .4s, background-color .6s; }
.step-n { font: 800 clamp(54px, 6vw, 96px)/.9 var(--f-display); letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--ink); transition: color .5s, -webkit-text-stroke-color .5s; }
.step h3 { font: 700 clamp(20px, 1.8vw, 26px)/1.1 var(--f-display); letter-spacing: -.03em; margin-top: 6px; }
.step p { color: var(--mute); font-size: 16px; text-wrap: pretty; }
@media (hover: hover) { .step:hover { transform: translateY(-6px); border-color: var(--accent); box-shadow: 0 24px 50px -26px color-mix(in srgb, var(--accent) 80%, transparent); } .step:hover .step-n { color: var(--accent); -webkit-text-stroke-color: var(--accent); } }
.steps-line { display: none; }

/* ---------- faq ---------- */
.faq-grid { display: grid; gap: clamp(24px, 4vw, 64px); }
.acc { border-top: 1px solid var(--line); }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; cursor: pointer; font: 600 clamp(18px, 1.7vw, 24px)/1.25 var(--f-display); letter-spacing: -.025em; min-height: 64px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { position: relative; flex: none; width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--line); transition: background-color .3s, border-color .3s, transform .5s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 2px; margin: -1px 0 0 -7px; background: currentColor; border-radius: 2px; transition: transform .5s var(--ease); }
.qa summary i::after { transform: rotate(90deg); }
.qa[open] summary i { background: var(--accent-strong); border-color: transparent; color: #fff; transform: rotate(180deg); }
html[data-track="produce"] .qa[open] summary i { background: var(--accent); color: #1a0510; }
.qa[open] summary i::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .5s var(--ease); }
.qa[open] .qa-a { grid-template-rows: 1fr; }
.qa-a > p { overflow: hidden; color: var(--mute); max-width: 60ch; padding-bottom: 0; transition: padding .5s var(--ease); text-wrap: pretty; }
.qa[open] .qa-a > p { padding-bottom: 24px; }

/* ---------- contact ---------- */
.contact { background: linear-gradient(180deg, var(--bg), var(--bg-2)); position: relative; overflow: clip; transition: background .6s var(--ease); }
.contact-grid { display: grid; gap: clamp(28px, 4vw, 64px); align-items: start; }
.contact-copy { position: relative; }
.chan { display: grid; gap: 0; margin-top: 32px; border-top: 1px solid var(--line); max-width: 460px; position: relative; z-index: 2; }
.chan li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.chan span { font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.chan a { font: 600 clamp(17px, 1.5vw, 21px)/1.2 var(--f-display); letter-spacing: -.02em; transition: color .3s; }
.chan a:hover { color: var(--accent-strong); }
.form-col { position: relative; margin-top: clamp(130px, 38vw, 190px); }
.peeker { --pw: clamp(190px, 52vw, 290px); position: absolute; z-index: 0; right: clamp(18px, 8%, 90px); bottom: calc(100% - 26px); width: var(--pw); height: calc(var(--pw) * .8); overflow: hidden; pointer-events: none; }
.peeker img { position: absolute; left: 0; top: 0; width: 100%; height: auto; max-width: none; transform: translate3d(0, var(--py, 0px), 0); }
.form-col .form { z-index: 1; }

.form { position: relative; background: var(--card); border-radius: clamp(22px, 2.4vw, 34px); padding: clamp(22px, 3vw, 44px); display: grid; gap: 22px; box-shadow: 0 40px 80px -40px rgba(20, 40, 120, .45); border: 1px solid var(--line); }
.field { position: relative; }
.field input, .field textarea { width: 100%; font: 500 18px/1.3 var(--f-body); color: var(--ink); background: transparent; border: 0; border-bottom: 1.5px solid var(--line); padding: 26px 0 10px; border-radius: 0; outline: 0; transition: border-color .3s; resize: vertical; min-height: 58px; }
.field textarea { min-height: 96px; }
.field label { position: absolute; left: 0; top: 24px; color: var(--mute); pointer-events: none; transition: transform .3s var(--ease), font-size .3s, color .3s; transform-origin: 0 0; }
.field input:focus, .field textarea:focus { border-color: var(--accent-strong); }
.field input:focus ~ label, .field input:not(:placeholder-shown) ~ label, .field textarea:focus ~ label, .field textarea:not(:placeholder-shown) ~ label { transform: translateY(-20px) scale(.74); color: var(--accent-strong); }
html[data-track="produce"] .field input:focus ~ label, html[data-track="produce"] .field input:not(:placeholder-shown) ~ label, html[data-track="produce"] .field textarea:focus ~ label, html[data-track="produce"] .field textarea:not(:placeholder-shown) ~ label { color: var(--accent); }
.err { display: none; margin-top: 8px; font-size: 14px; color: var(--accent-strong); }
html[data-track="produce"] .err { color: var(--accent); }
.field.is-bad input { border-color: var(--accent-strong); }
.field.is-bad .err, .consent-bad + .err { display: block; }
.chips { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips legend { padding: 0 0 12px; font: 600 12px/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 500; font-size: 15px; transition: background-color .3s, color .3s, border-color .3s, transform .3s var(--ease); }
.chip input:checked + span { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.chip input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
@media (hover: hover) { .chip:hover span { border-color: var(--ink); transform: translateY(-1px); } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.consent { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; font-size: 14.5px; color: var(--mute); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 24px; height: 24px; margin: 0; cursor: pointer; }
.consent .box { width: 24px; height: 24px; border-radius: 8px; border: 1.5px solid var(--line); display: grid; place-items: center; transition: background-color .3s, border-color .3s; }
.consent .box svg { width: 16px; height: 16px; fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .4s var(--ease); }
.consent input:checked + .box { background: var(--accent-strong); border-color: transparent; }
html[data-track="produce"] .consent input:checked + .box { background: var(--accent); }
html[data-track="produce"] .consent .box svg { stroke: #1a0510; }
.consent input:checked + .box svg { stroke-dashoffset: 0; }
.consent input:focus-visible + .box { outline: 3px solid var(--accent); outline-offset: 2px; }
.consent a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.consent.consent-bad .box { border-color: var(--accent-strong); }
.btn-send { width: 100%; min-height: 60px; font-size: 17px; }
.btn-send[disabled] { opacity: .7; cursor: progress; }
.form-status { min-height: 1.3em; font-size: 14.5px; color: var(--accent-strong); text-align: center; }
.done { position: absolute; inset: 0; z-index: 3; display: grid; place-content: center; justify-items: center; gap: 14px; text-align: center; padding: 28px; border-radius: inherit; background: var(--card); opacity: 0; visibility: hidden; transform: scale(.98); transition: opacity .5s var(--ease), transform .6s var(--ease), visibility 0s .5s; }
.done svg { width: 76px; height: 76px; padding: 20px; border-radius: 50%; background: var(--accent-strong); fill: none; stroke: #fff; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
html[data-track="produce"] .done svg { background: var(--accent); stroke: #1a0510; }
.done h3 { font: 700 clamp(24px, 3vw, 34px)/1.1 var(--f-display); letter-spacing: -.03em; }
.done p { color: var(--mute); max-width: 32ch; }
.form.is-sent .done { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.form.is-sent .done svg path { stroke-dasharray: 30; stroke-dashoffset: 30; animation: draw .8s var(--ease) .3s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }

/* ---------- footer ---------- */
.foot { background: #06080f; color: #f2f6ff; padding: clamp(56px, 8vw, 110px) 0 calc(28px + env(safe-area-inset-bottom)); overflow: clip; }
.foot-name { display: flex; flex-direction: column; font: 800 clamp(30px, 11.1vw, 200px)/.86 var(--f-display); letter-spacing: -.03em; text-transform: uppercase; background: linear-gradient(180deg, #fff 20%, #5b8cff 120%); -webkit-background-clip: text; background-clip: text; color: transparent; user-select: none;
  /* the gradient is painted only inside the box: widen it past the glyph overhang so the last letters are not cut off */
  padding: 0 .3em .04em 0; margin: 0 -.3em -.04em 0; }
.foot-name span { display: block; white-space: nowrap; padding-right: .1em; margin-right: -.1em; }
/* the size follows the width of the footer column, not the viewport, so the nine-letter surname always fits */
.foot .wrap { container-type: inline-size; }
@supports (width: 1cqw) { .foot-name { font-size: clamp(26px, 11.4cqw, 200px); } }
.foot-row { display: grid; gap: 22px; margin-top: clamp(32px, 4vw, 60px); padding-top: 24px; border-top: 1px solid rgba(255, 255, 255, .16); font-size: 15px; color: #a3b0cc; }
.foot-links { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot-links a, .foot-credit a { color: #f2f6ff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, .35); }
.foot-links a:hover, .foot-credit a:hover { text-decoration-color: var(--accent); }

/* ---------- dock (mobile) ---------- */
.dock { position: fixed; z-index: 95; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); display: flex; gap: 8px; transform: translateY(140%); transition: transform .5s var(--ease); }
.dock.is-on { transform: none; }
.dock-main { flex: 1; display: grid; place-items: center; min-height: 54px; border-radius: 999px; background: var(--accent-strong); color: #fff; font-weight: 700; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
html[data-track="produce"] .dock-main { background: var(--accent); color: #1a0510; }
.dock-tg { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #0a0d16; box-shadow: 0 14px 30px -10px rgba(0, 0, 0, .5); }
.dock-tg svg { width: 24px; height: 24px; fill: currentColor; }

/* ---------- responsive ---------- */
@media (min-width: 640px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 761px) {
  .row-a { grid-template-columns: auto 1fr auto auto; gap: 8px 28px; }
  .row-tag { display: inline-block; }
  .hero-scroll, .hero-tag { display: flex; }
  .hero-tag { display: block; }
}
@media (min-width: 900px) {
  .duo { grid-template-columns: 1fr 1fr; }
  .duo-card { min-height: 640px; }
  .serv-top { grid-template-columns: 1.4fr 1fr; gap: 48px; }
  .clip-grid { grid-template-columns: 1.1fr 1fr; }
  .faq-grid { grid-template-columns: .9fr 1.1fr; }
  .contact-grid { grid-template-columns: 1fr 1fr; }
  .form-col { margin-top: 210px; }
  .chan { max-width: 440px; }
}
@media (min-width: 1100px) {
  .nav { display: flex; }
  .head-cta { display: inline-flex; }
  .burger { display: none; }
  .switch { margin-left: 0; }
  .nav { margin-left: auto; }
  .steps { grid-template-columns: repeat(4, 1fr); position: relative; }
  .steps-line { display: block; position: relative; height: 3px; margin-top: 28px; background: var(--line); border-radius: 3px; overflow: hidden; }
  .steps-line i { display: block; height: 100%; background: var(--accent); transform-origin: 0 50%; transform: scaleX(var(--p, 0)); }
  .dock { display: none; }
}
@media (max-width: 1099px) {
  .head-cta { display: none; }
  .brand-name { display: none; }
  .switch { margin-left: auto; }
}
@media (min-width: 520px) and (max-width: 1099px) { .brand-name { display: inline; } .switch { margin-left: auto; } }
@media (max-width: 520px) {
  .bg-teach { background: radial-gradient(90% 60% at 50% 0%, #3f72e6 0%, #3a6ce0 40%, #2750cc 74%, #1a38a0 100%); }
  .brand-name { display: none; }
  .switch-btn { padding: 9px 13px; font-size: 13px; }
  .hero-name { top: calc(var(--head-h) + 52px); font-size: clamp(30px, 11.2vw, 70px); }
  .hero-fig { height: min(72svh, 142vw); }
  .hero-ui { padding-bottom: calc(90px + env(safe-area-inset-bottom)); }
  .hero-lead { max-width: none; }
  .hero-lead::before { content: ""; position: absolute; left: calc(var(--pad) * -1); right: calc(var(--pad) * -1); bottom: calc(-1 * (90px + env(safe-area-inset-bottom))); height: 420px; z-index: -1; background: linear-gradient(180deg, transparent, rgba(8, 18, 64, .78) 55%); pointer-events: none; }
  .hero-lead { position: relative; }
  html[data-track="produce"] .hero-lead::before { background: linear-gradient(180deg, transparent, rgba(3, 5, 12, .85) 55%); }
  .duo-card { min-height: 560px; }
  .duo-body { max-width: 100%; }
  .duo-img { height: 58%; right: -10%; opacity: .95; }
  .duo-produce .duo-img { height: 54%; }
  .duo-card { align-items: start; }
  .duo-body { padding-bottom: 240px; }
  .duo-teach .duo-body, .duo-produce .duo-body { padding-bottom: 250px; }
  .stmt { height: 230svh; }
  .sticker { width: 28vw; }
  .st-1 { left: 3%; top: 8%; } .st-2 { right: 3%; top: 6%; } .st-3 { left: 4%; bottom: 7%; } .st-4 { right: 4%; bottom: 8%; }
  .reel-head .h2 { font-size: 24px; }
  .shot figure { height: min(50svh, 420px); }
}
@media (max-width: 380px) {
  .hero-name { font-size: 10.8vw; }
  .h2 { font-size: clamp(26px, 8.6vw, 34px); }
}
@media (min-width: 1500px) { .hero-fig { height: min(82svh, 940px); } }

/* ---------- motion safety ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .band-row { animation: none; }
  .curtain { display: none; }
  html.js .rv, html.js .hero-ui > *, html.js .hero-name .ch, html.js .hero-fig { opacity: 1 !important; transform: none !important; }
  html.js .hero-fig { transform: translateX(-50%) !important; }
  .stmt-text .w { opacity: 1; }
}

/* privacy / plain pages */
.plain { padding: calc(var(--head-h) + 40px) 0 80px; }
.plain h1 { font: 700 clamp(30px, 5vw, 60px)/1.05 var(--f-display); letter-spacing: -.035em; margin-bottom: 28px; }
.plain h2 { font: 700 clamp(20px, 2vw, 28px)/1.2 var(--f-display); letter-spacing: -.025em; margin: 36px 0 10px; }
.plain p, .plain li { max-width: 68ch; color: var(--mute); }
.plain ul { list-style: disc; padding-left: 22px; display: grid; gap: 6px; margin: 10px 0; }
.plain a { text-decoration: underline; text-underline-offset: 3px; color: var(--ink); }
.plain-head { position: fixed; inset: 0 0 auto 0; height: var(--head-h); display: flex; align-items: center; padding-inline: var(--pad); background: var(--glass); box-shadow: 0 1px 0 var(--line); z-index: 100; justify-content: space-between; }
.plain-head .brand-mark { background: var(--ink); color: var(--bg); }
.plain-head .brand-name { display: inline; }

/* touch targets on phones: links in contacts / footer / menu get a 44px hit area, logo and burger too */
@media (max-width: 760px), (pointer: coarse) {
  #contact li a[data-magnet], .foot-credit a, .menu-foot a { display: inline-flex; align-items: center; min-height: 44px; }
  .foot-links { gap: 0 12px; }
  .foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding-inline: 8px; margin-inline: -8px; }
  .brand { min-width: 44px; min-height: 44px; justify-content: center; }
  .burger { min-width: 44px; }
  .case-me b { font-size: 12px; }
}
