:root {
  --ink: #07080b;
  --text: #eceae6;
  --muted: #8f95a3;
  --line: rgba(255, 255, 255, .1);
  --line-hi: rgba(255, 255, 255, .22);
  --ice: #9cc7ff;
  --chrome: linear-gradient(180deg, #ffffff 0%, #dfe6f2 40%, #8c97ad 80%, #5d667a 100%);
  --display: "Oswald", "Arial Narrow", Impact, sans-serif;
  --body: "Onest", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Pixelify Sans", "Oswald", monospace;
  --gutter: clamp(18px, 4vw, 56px);
  --max: 1280px;
  --Hmax: 1120px;   /* hero height cap */
  --tsmax: 206px;   /* hero title size cap */
}
@media (min-width: 1800px) { :root { --max: 1560px; --Hmax: 1320px; --tsmax: 250px; } }
@media (min-width: 2300px) { :root { --max: 1920px; --Hmax: 1640px; --tsmax: 310px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--ink); }
html:not(.lenis) { scroll-behavior: smooth; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; color: var(--text); font: 400 16px/1.55 var(--body); overflow-x: hidden; -webkit-font-smoothing: antialiased;
  background: radial-gradient(80% 50% at 80% 0%, rgba(40, 80, 140, .28), transparent 70%), radial-gradient(60% 40% at 0% 60%, rgba(30, 60, 110, .18), transparent 70%), var(--ink); }
main { position: relative; z-index: 1; overflow-x: clip; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; border-radius: 6px; }

#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; opacity: 0; transition: opacity 2s ease .3s; pointer-events: none; }
html.gl-ready.ready #scene { opacity: 1; }
html:not(.js-motion) #scene { opacity: 1; }
.no-webgl #scene { display: none; }
.grain { position: fixed; inset: 0; z-index: 90; pointer-events: none; opacity: .07;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>"); }

/* cursor */
.cur-dot, .cur-ring { position: fixed; left: 0; top: 0; z-index: 300; pointer-events: none; display: none; mix-blend-mode: difference; }
.has-cursor .cur-dot, .has-cursor .cur-ring { display: block; }
.has-cursor, .has-cursor a, .has-cursor button { cursor: none; }
.cur-dot { width: 8px; height: 8px; margin: -4px 0 0 -4px; border-radius: 50%; background: #fff; }
.cur-ring { width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; border: 1px solid #fff; transition: width .25s, height .25s, margin .25s, background .25s; }
.cur-ring.hot { width: 72px; height: 72px; margin: -36px 0 0 -36px; background: #fff; }

/* loader */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: grid; place-items: center; }
.loader.done { visibility: hidden; pointer-events: none; }
html:not(.js-motion) .loader { animation: loaderOut 0s 4s forwards; }
@keyframes loaderOut { to { visibility: hidden; opacity: 0; } }
.loader { --p: 0%; }
.loader-in { display: grid; justify-items: center; gap: 22px; }
/* the logo is an outline that fills from the bottom as the page loads */
.loader-mark { position: relative; width: 52px; height: 82px; }
.loader-mark img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.loader-mark .ghost { opacity: .14; }
.loader-mark .fill { opacity: .7; clip-path: inset(calc(100% - var(--p)) 0 0 0); }
.loader-count { font: 500 12px/1 var(--pixel); letter-spacing: .24em; color: var(--muted); }
.loader-bar { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: rgba(156,199,255,.6); transform: scaleX(0); transform-origin: left; }

/* glass */
.glass { position: relative; background: linear-gradient(150deg, rgba(255,255,255,.08), rgba(255,255,255,.015)); border: 1px solid var(--line);
  -webkit-backdrop-filter: blur(18px) saturate(1.3); backdrop-filter: blur(18px) saturate(1.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 20px 60px rgba(0,0,0,.35); }
.glass::before { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .25s;
  background: radial-gradient(260px circle at var(--mx, 50%) var(--my, 0%), rgba(156,199,255,.16), transparent 70%); }
.glass:hover::before { opacity: 1; }

/* header */
/* header: no pill, just type floating over a soft fade */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 24px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); }
.top::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 120px; z-index: -1; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,11,.82), rgba(5,7,11,.4) 55%, rgba(5,7,11,0));
  -webkit-mask-image: linear-gradient(#000 40%, transparent); mask-image: linear-gradient(#000 40%, transparent); }
.logo { display: block; line-height: 0; }
.logo img { height: 48px; width: auto; display: block; transition: transform .5s cubic-bezier(.2,.7,.2,1); }
.logo:hover img { transform: rotate(8deg) scale(1.08); }
.nav { position: absolute; left: 50%; transform: translateX(-50%); display: flex; gap: clamp(18px, 3.2vw, 44px); font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.nav a { position: relative; padding: 4px 0; transition: color .25s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--text); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.nav a:hover { color: var(--text); }
.nav a:hover::after { transform: scaleX(1); }
.lang { display: flex; gap: 2px; }
.lang button { position: relative; font: 500 12px/1 var(--body); letter-spacing: .1em; color: var(--muted); background: none; border: 0; padding: 8px 8px; cursor: pointer; transition: color .25s; }
.lang button::after { content: ""; position: absolute; left: 8px; right: 8px; bottom: 2px; height: 1px; background: var(--ice); transform: scaleX(0); transition: transform .3s; }
.lang button:hover { color: var(--text); }
.lang button[aria-pressed="true"] { color: var(--text); }
.lang button[aria-pressed="true"]::after { transform: scaleX(1); }
.top-r { display: flex; align-items: center; gap: 14px; }
.order { position: relative; }
.order-btn { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 16px; border-radius: 999px; font: 500 13px/1 var(--body); color: var(--ink); cursor: pointer;
  border: 0; background: linear-gradient(180deg, #f4f5f7, #b9bdc6); transition: transform .3s cubic-bezier(.2,.7,.2,1), box-shadow .3s; white-space: nowrap; }
.order-btn:hover { transform: translateY(-1px); box-shadow: 0 6px 22px rgba(156,199,255,.18); }
.order-btn svg { width: 11px; height: 11px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .3s; }
.order-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.order-menu { position: fixed; left: 0; top: 0; width: 270px; padding: 10px; border-radius: 22px; display: grid; gap: 6px; transform-origin: var(--ox, 100%) var(--oy, 0%);
  visibility: hidden; opacity: 0; transform: translateY(-12px) scale(.93); filter: blur(10px); clip-path: inset(0 0 100% 0 round 22px);
  transition: opacity .25s ease, filter .3s ease, transform .35s cubic-bezier(.4,0,.6,1), clip-path .35s cubic-bezier(.4,0,.6,1), visibility 0s .35s; }
.order-menu.up { transform: translateY(12px) scale(.93); clip-path: inset(100% 0 0 0 round 22px); }
.order.open .order-menu { visibility: visible; opacity: 1; transform: none; filter: blur(0); clip-path: inset(0 0 0 0 round 22px);
  transition: opacity .4s ease, filter .5s ease, transform .6s cubic-bezier(.16,1,.3,1), clip-path .7s cubic-bezier(.16,1,.3,1), visibility 0s; }
.order-menu > * { opacity: 0; transform: translateY(12px); transition: opacity .2s, transform .25s; }
.order.open .order-menu > * { opacity: 1; transform: none; transition: opacity .5s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.order.open .order-menu > :nth-child(1) { transition-delay: .12s; }
.order.open .order-menu > :nth-child(2) { transition-delay: .2s; }
.order.open .order-menu > :nth-child(3) { transition-delay: .28s; }
.order-ttl { padding: 6px 10px 4px; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.order-item { display: flex; align-items: center; gap: 12px; width: 100%; padding: 12px; border-radius: 14px; border: 1px solid var(--line); background: rgba(255,255,255,.03); color: var(--text); font: 500 14px/1 var(--body); text-align: left; cursor: pointer; transition: background .3s, border-color .3s, transform .3s cubic-bezier(.2,.7,.2,1); }
.order-item:hover { background: rgba(255,255,255,.09); border-color: var(--line-hi); }
.order-item .go { margin-left: auto; width: 14px; height: 14px; opacity: .5; transition: opacity .3s, transform .3s; }
.order-item .go svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.order-item:hover .go { opacity: 1; transform: translate(2px, -2px); }
.order-item svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linejoin: round; }
.order-item em { margin-left: auto; font-style: normal; font-size: 11px; color: var(--muted); padding: 3px 8px; border: 1px solid var(--line); border-radius: 999px; }

/* ---------- hero ---------- */
.hero { --H: min(118svh, var(--Hmax)); --FW: calc(var(--H) * .3072); --ts: min(14.6vw, var(--tsmax));
  position: relative; padding: 84px var(--gutter) calc(var(--H) * .16); max-width: var(--max); margin-inline: auto; }
.hero-bar { display: flex; align-items: center; gap: 18px; padding: 14px 0 8px; font-size: 13px; color: var(--muted); }
.hero-bar > i { flex: 1; height: 1px; background: var(--line); }
.avail { display: inline-flex; align-items: center; gap: 9px; }
.avail b { width: 7px; height: 7px; border-radius: 50%; background: #8fe3b0; box-shadow: 0 0 0 4px rgba(143,227,176,.15); }
.avail em { font-style: normal; color: var(--text); }

.stage { position: relative; height: var(--H); }
.ttl { position: absolute; left: 0; right: 0; top: calc(var(--H) * .04); z-index: 1; display: grid; grid-template-columns: 1fr calc(var(--FW) * .46) 1fr; white-space: nowrap; pointer-events: none; user-select: none;
  font: 500 var(--ts)/.86 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.ttl-l { grid-column: 1; justify-self: end; }
.ttl-r { grid-column: 3; justify-self: start; }
/* frosted letters: bright at the top, dissolving into the background below */
.ttl .ch { display: inline-block; color: transparent; padding: .04em 0 .14em; margin: -.04em 0 -.14em;
  background: linear-gradient(180deg, rgba(255,255,255,.95) 0%, rgba(222,232,250,.6) 45%, rgba(156,199,255,.16) 100%);
  -webkit-background-clip: text; background-clip: text; }

.fig { position: absolute; left: 50%; top: 0; width: var(--FW); height: var(--H); transform: translateX(-50%); z-index: 2; }
.fig-in { position: absolute; inset: 0; transform: translate3d(var(--px, 0), var(--py, 0), 0); }
.cut { --aw: var(--FW); position: absolute; inset: 0; overflow: hidden; }
.cut img { position: absolute; max-width: none; height: auto; width: calc(var(--aw) * 2.2165); left: calc(var(--aw) * -.5411); top: calc(var(--aw) * -.026); user-select: none; -webkit-user-drag: none; }
.refl { top: 100%; transform: scaleY(-1); opacity: .32; filter: blur(2px);
  -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,.5) 0, transparent 20%); mask-image: linear-gradient(to top, rgba(0,0,0,.5) 0, transparent 20%); }
.floor { position: absolute; left: 50%; top: 100%; width: 240%; height: 60px; transform: translate(-50%, -40%); pointer-events: none;
  background: radial-gradient(closest-side, rgba(156,199,255,.14), transparent 70%); }
.stage::before { content: ""; position: absolute; left: 50%; top: 4%; width: calc(var(--FW) * 3.2); aspect-ratio: 1; transform: translateX(-50%); pointer-events: none; z-index: 0;
  background: radial-gradient(closest-side, rgba(96, 140, 220, .12), transparent 72%); }

.side { position: absolute; z-index: 5; top: calc(var(--H) * .43); width: max(240px, calc(50% - var(--FW) * .5 - 36px)); }
.side-l { left: 0; }
.side-r { right: 0; }
.slash { font: 500 clamp(20px, 1.9vw, 27px)/1.15 var(--display); text-transform: uppercase; letter-spacing: .04em; text-wrap: balance; }
.plist { margin-top: 18px; display: grid; gap: 8px; color: var(--muted); }
.plist li { display: flex; align-items: center; gap: 12px; }
.plist li::before { content: ""; width: 18px; height: 1px; background: var(--ice); }
.role { font: 600 22px/1.25 var(--body); }
.lead { margin-top: 12px; color: var(--muted); max-width: 40ch; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn { display: inline-flex; align-items: center; padding: 14px 24px; border-radius: 999px; font: 500 15px/1 var(--body); transition: box-shadow .2s, background .2s, transform .25s cubic-bezier(.2,.7,.2,1); }
.btn-solid { color: var(--ink); background: linear-gradient(180deg, #fff, #b9bcc3); }
.btn-solid:hover { box-shadow: 0 14px 40px rgba(156,199,255,.35); }
.btn-ghost { border: 1px solid var(--line-hi); background: rgba(255,255,255,.04); }
.btn-ghost:hover { background: rgba(255,255,255,.1); }
.stats { display: flex; margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--line); }
.stats div { flex: 1; }
.stats div + div { padding-left: 18px; border-left: 1px solid var(--line); }
.stats dt { font: 500 34px/1 var(--pixel); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats dd { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* ---------- marquee ---------- */
.marquee { overflow: hidden; padding: 30px 0; border-block: 1px solid rgba(255,255,255,.06);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); mask-image: linear-gradient(90deg, transparent, #000 16%, #000 84%, transparent); }
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; align-items: center; gap: 48px; padding-right: 48px; font: 500 clamp(18px, 2vw, 28px)/1 var(--display); letter-spacing: .22em; text-transform: uppercase; white-space: nowrap; color: rgba(236, 234, 230, .38); }
.marquee-group i { font-size: 0; width: 5px; height: 5px; border-radius: 50%; background: var(--ice); opacity: .55; }

/* ---------- manifesto ---------- */
.man { max-width: var(--max); margin-inline: auto; padding: clamp(110px, 18vw, 240px) var(--gutter); }
.man-text { font: 500 clamp(34px, 6.4vw, 92px)/1.04 var(--display); text-transform: uppercase; max-width: 16em; }
.man-text .w { display: inline-block; margin-right: .22em; padding: .12em 0 .22em; margin-top: -.12em; margin-bottom: -.22em; color: transparent; background: var(--chrome); -webkit-background-clip: text; background-clip: text; opacity: calc(.14 + .86 * var(--o, 1)); }

/* ---------- skills: horizontal ---------- */
.hscroll { position: relative; }
.h-pin { position: relative; height: 100vh; height: 100svh; display: flex; align-items: center; overflow: hidden; }
.h-track { display: flex; align-items: center; gap: 22px; padding: 0 var(--gutter); will-change: transform; }
.h-head { flex: none; width: min(540px, 82vw); display: grid; gap: 16px; padding-right: 40px; }
.h-head p { color: var(--muted); max-width: 34ch; }
.h-end { flex: none; width: 6vw; }
.h-progress { position: absolute; left: var(--gutter); right: var(--gutter); bottom: 6vh; height: 2px; background: var(--line); }
.h-progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--ice), #fff); transform: scaleX(0); transform-origin: left; }

h2.x, .block-head h2, .h-head h2, .about h2, .contact h2 { font: 500 clamp(40px, 6vw, 84px)/.98 var(--display); text-transform: uppercase;
  /* room below the baseline so descenders of У, Д, Ц, Щ, Ę, Ą are painted too */
  padding: .08em 0 .2em; margin: -.08em 0 -.2em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }

.hcard { flex: none; width: clamp(300px, 27vw, 410px); height: min(66svh, 540px); border-radius: 30px; padding: 18px; display: flex; flex-direction: column; gap: 16px; transition: border-color .3s, transform .3s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.hcard:hover { border-color: var(--line-hi); }
.hcard .art { flex: 1; min-height: 0; }
.hc-text { display: grid; gap: 6px; padding: 0 6px 6px; }
.hc-text .no { font: 500 15px var(--pixel); color: var(--ice); }
.hc-text h3 { font: 600 24px/1.15 var(--body); }
.hc-text p { color: var(--muted); font-size: 15px; max-width: 32ch; }

.block { position: relative; max-width: var(--max); margin-inline: auto; padding: clamp(80px, 11vw, 150px) var(--gutter) 0; }
.block-head { display: grid; gap: 10px; margin-bottom: 36px; }
.block-head p { color: var(--muted); max-width: 46ch; }

/* mini illustrations */
.art { border-radius: 20px; background: rgba(0,0,0,.4); border: 1px solid var(--line); padding: 16px; overflow: hidden; display: grid; align-content: center; gap: 12px; }
.art svg { width: 100%; height: auto; max-height: 100%; }
.win { border-radius: 12px; background: #0d0f14; border: 1px solid var(--line-hi); overflow: hidden; }
.win-bar { display: flex; align-items: center; gap: 6px; padding: 8px 10px; border-bottom: 1px solid var(--line); }
.win-bar i { width: 7px; height: 7px; border-radius: 50%; background: #3a3f49; }
.win-bar span { margin: 0 auto; font-size: 10px; color: var(--muted); background: rgba(255,255,255,.06); padding: 2px 16px; border-radius: 999px; }
.win-body { padding: 12px; display: grid; gap: 12px; }
.site-nav { display: flex; align-items: center; gap: 10px; }
.site-nav b { width: 22px; height: 7px; border-radius: 4px; background: #e9ebee; }
.site-nav u { width: 26px; height: 4px; border-radius: 3px; background: var(--line-hi); }
.site-nav s { margin-left: auto; width: 38px; height: 12px; border-radius: 99px; background: linear-gradient(180deg, #fff, #9a9da6); }
.site-hero { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 12px; }
.lines em { display: block; height: 10px; border-radius: 4px; background: linear-gradient(90deg, #f2f3f5, #7b7f88); margin-bottom: 7px; }
.lines em.short { width: 55%; }
.mini-btn { width: 48px; height: 12px; border-radius: 99px; background: #e9ebee; margin-top: 9px; }
.site-orb { width: 70px; aspect-ratio: 1; margin-inline: auto; border-radius: 50%; background: radial-gradient(circle at 30% 26%, #fff, transparent 22%), conic-gradient(from 200deg, #f3f4f6, #6c7080, #15161a, #a3a9b8, #f3f4f6); }
.site-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.site-cards span { height: 36px; border-radius: 9px; border: 1px solid var(--line); background: rgba(255,255,255,.05); }
.app { display: grid; grid-template-columns: 36px 1fr; border-radius: 12px; border: 1px solid var(--line-hi); background: #0d0f14; overflow: hidden; }
.app-side { display: grid; align-content: start; gap: 10px; padding: 12px 9px; border-right: 1px solid var(--line); }
.app-side i { height: 14px; border-radius: 5px; background: var(--line); }
.app-side i.on { background: var(--ice); }
.app-main { padding: 12px; display: grid; gap: 10px; }
.app-top { display: flex; justify-content: space-between; align-items: center; }
.app-top b { width: 60px; height: 8px; border-radius: 4px; background: linear-gradient(90deg, #f2f3f5, #7b7f88); }
.app-top span { width: 14px; height: 14px; border-radius: 50%; background: var(--line-hi); }
.app-row { display: grid; grid-template-columns: 1fr 1fr 40px; gap: 8px; }
.app-row span { height: 16px; border-radius: 6px; background: var(--line); }
.app-row .tog { background: var(--ice); border-radius: 99px; }
.flow { display: flex; align-items: center; justify-content: space-between; gap: 4px; }
.flow > svg { width: 22px; flex: none; fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.scr { flex: 1; max-width: 64px; height: 100px; border-radius: 12px; border: 1px solid var(--line-hi); background: #0d0f14; padding: 8px; display: grid; gap: 6px; align-content: start; }
.scr i { height: 7px; border-radius: 4px; background: var(--line-hi); }
.scr i.s { width: 60%; }
.scr i.b { height: 14px; border-radius: 99px; background: linear-gradient(180deg, #fff, #9a9da6); }
.scr i.c { height: 24px; width: 24px; border-radius: 50%; margin: 0 auto; background: radial-gradient(circle at 30% 28%, #fff, #9cc7ff 60%); }
.scr.ok { border-color: var(--ice); box-shadow: 0 0 18px rgba(156,199,255,.25); }
.swatches { display: flex; gap: 8px; }
.swatches span { width: 26px; height: 26px; border-radius: 50%; border: 1px solid var(--line-hi); }
.chat { display: grid; gap: 7px; font-size: 12.5px; }
.msg { padding: 7px 12px; border-radius: 15px; width: fit-content; max-width: 90%; }
.msg.me { justify-self: end; background: #e9ebee; color: var(--ink); border-bottom-right-radius: 4px; }
.msg.bot { background: rgba(255,255,255,.09); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.kbd { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.kbd span { text-align: center; padding: 6px 4px; border-radius: 9px; border: 1px solid var(--line-hi); background: rgba(255,255,255,.05); font-size: 12px; }
.kbd span:first-child { border-color: var(--ice); }

/* ---------- process ---------- */
.steps { --p: 0; position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps::before, .steps::after { content: ""; position: absolute; left: 6%; right: 6%; top: 54px; height: 1px; z-index: 0; }
.steps::before { background: var(--line-hi); }
.steps::after { background: linear-gradient(90deg, var(--ice), #fff); box-shadow: 0 0 14px var(--ice); transform: scaleX(var(--p)); transform-origin: left; }
.step { z-index: 1; border-radius: 26px; padding: 24px; display: grid; gap: 8px; align-content: start; transition: border-color .4s, transform .3s cubic-bezier(.2,.7,.2,1); }
.step.on { border-color: rgba(156,199,255,.4); }
.step.on .orb { box-shadow: inset 0 0 20px rgba(156,199,255,.5), 0 0 30px rgba(156,199,255,.35); }
.step .no { position: absolute; top: 24px; right: 24px; font: 500 15px var(--pixel); color: var(--muted); }
.orb { display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; margin-bottom: 16px; transition: box-shadow .5s;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.38), rgba(255,255,255,.05) 58%); border: 1px solid var(--line-hi); box-shadow: inset 0 0 18px rgba(156,199,255,.2), 0 8px 24px rgba(0,0,0,.4); }
.orb svg { width: 26px; height: 26px; fill: none; stroke: #e9ebee; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.step h3 { font: 600 20px/1.25 var(--body); }
.step p { color: var(--muted); font-size: 15px; max-width: 26ch; }

/* ---------- works ---------- */
.works { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.work { border-radius: 28px; padding: 14px 14px 18px; display: grid; gap: 14px; will-change: transform; }
.art.tall { height: 300px; align-content: center; }
.w-meta { display: flex; justify-content: space-between; align-items: center; padding: 0 8px; }
.w-meta h3 { font: 600 19px/1.2 var(--body); }
.soon { font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line-hi); color: var(--muted); }

/* ---------- about ---------- */
.about-wrap { padding-top: clamp(150px, 16vw, 240px); }
.about { position: relative; border-radius: 34px; padding: clamp(24px, 4vw, 48px); display: grid; grid-template-columns: minmax(220px, 330px) 1.3fr 1fr; gap: clamp(22px, 4vw, 56px); align-items: center; overflow: visible; min-height: 340px; }
.about-fig { --aw: clamp(230px, 24vw, 330px); align-self: end; margin: 0 0 calc(-1 * clamp(24px, 4vw, 48px)) 0; position: relative; height: calc(var(--aw) * 1.5); width: var(--aw); justify-self: center; margin-top: calc(-1 * var(--aw) * .35); }
.about-fig .cut { --aw: inherit; -webkit-mask-image: linear-gradient(#000 78%, transparent); mask-image: linear-gradient(#000 78%, transparent); }
.foot-logo { height: 22px; width: auto; opacity: .7; }
.about-text { display: grid; gap: 14px; }
.about-text p { color: var(--muted); max-width: 46ch; }
.about-list { display: grid; gap: 12px; }
.about-list li { display: flex; align-items: center; gap: 12px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.04); font-size: 15px; }
.about-list li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 10px var(--ice); }

/* ---------- contact ---------- */
.contact { display: grid; grid-template-columns: 1.15fr 1fr; gap: 18px; align-items: stretch; }
.contact-metal { position: relative; overflow: hidden; border-radius: 32px; padding: clamp(28px, 4.5vw, 60px); display: grid; align-content: end; gap: 16px; min-height: 380px; color: #0a0b0e;
  background:
    repeating-linear-gradient(100deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px),
    linear-gradient(115deg, #101218 0%, #6f7480 20%, #d4d8df 36%, #7e838e 50%, #20232a 64%, #a9aeb8 82%, #4e535e 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 30px 80px rgba(0,0,0,.5); }
.contact-metal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.28)); pointer-events: none; }
.contact-metal h2 { position: relative; z-index: 1; text-wrap: balance; font: 700 clamp(32px, 4.6vw, 64px)/.95 var(--display); text-transform: uppercase; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: #090a0d; -webkit-text-fill-color: #090a0d; max-width: 12em; }
.contact-metal p { position: relative; z-index: 1; font-weight: 500; color: #1b1d23; }
.links { display: grid; gap: 10px; align-content: center; padding: 18px; border-radius: 32px; }
.links a { position: relative; display: flex; align-items: center; gap: 14px; padding: 18px 20px; border-radius: 18px; border: 1px solid var(--line); background: rgba(8,10,14,.5); overflow: hidden; transition: border-color .25s, color .25s; }
.links a::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, #fff, #b9bcc3); transform: translateY(101%); transition: transform .4s cubic-bezier(.2,.7,.2,1); }
.links a:hover { border-color: transparent; color: var(--ink); }
.links a:hover::before { transform: translateY(0); }
.links a > * { position: relative; }
.links svg { width: 22px; height: 22px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.links b { font-weight: 500; }
.links span { margin-left: auto; color: var(--muted); font-size: 15px; overflow-wrap: anywhere; text-align: right; transition: color .25s; }
.links a:hover span { color: #2a2d34; }
.links a[data-copy]::after { content: attr(data-done); position: absolute; inset: 0; display: grid; place-items: center; border-radius: inherit; background: #e9ebee; color: var(--ink); font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .2s; }
.links a.is-copied::after { opacity: 1; }

/* ---------- footer ---------- */
.foot { position: relative; z-index: 1; overflow: hidden; padding-top: clamp(60px, 9vw, 120px); }
.foot-giant { text-align: center; font: 700 min(19.6vw, 300px)/.78 var(--display); text-transform: uppercase; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.28); white-space: nowrap; margin-bottom: -.06em;
  -webkit-mask-image: linear-gradient(#000 30%, transparent 96%); mask-image: linear-gradient(#000 30%, transparent 96%); }
.foot-row { position: absolute; left: 0; right: 0; bottom: 0; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter) 28px; display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; }

/* skills as a plain grid when there is no pinned run (reduced motion / no GSAP) */
html.no-pin .h-pin { height: auto; display: block; padding: 40px 0 0; overflow: visible; }
html.no-pin .h-track { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0 var(--gutter); max-width: var(--max); margin-inline: auto; transform: none !important; }
html.no-pin .h-head { grid-column: 1 / -1; width: auto; padding: 0 0 10px; }
html.no-pin .h-end, html.no-pin .h-progress { display: none; }
html.no-pin .hcard { width: auto; height: auto; }
html.no-pin .hcard .art { min-height: 220px; }
.shot .cur-dot, .shot .cur-ring { display: none !important; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .steps::before, .steps::after { display: none; }
  .works { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: minmax(200px, 280px) 1fr; }
  .about-list { grid-column: 1 / -1; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .h-pin { height: auto; display: block; padding: 40px 0 0; overflow: visible; }
  .h-track, html.no-pin .h-track { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 0 var(--gutter); transform: none !important; }
  .h-head { grid-column: 1 / -1; width: auto; padding: 0 0 10px; }
  .h-end, .h-progress { display: none; }
  .hcard { width: auto; height: auto; }
  .hcard .art { min-height: 200px; }
  .contact { grid-template-columns: 1fr; }
}
@media (max-width: 1100px) {
  .nav { position: static; transform: none; margin: 0 auto 0 28px; gap: 18px; }
}
@media (max-width: 860px) {
  .hero { --H: min(150vw, 800px); --ts: 17.8vw; padding-bottom: 40px; }
  .stage { height: auto; display: grid; }
  .ttl { top: 0; grid-template-columns: auto auto; justify-content: center; }
  .ttl-l, .ttl-r { grid-column: auto; justify-self: auto; }
  .fig { position: relative; left: auto; top: auto; transform: none; margin: calc(var(--ts) * .9) auto 0; }
  .side { position: relative; top: auto; width: auto; margin-top: 26px; z-index: 5; }
  .side-l { order: 2; } .side-r { order: 3; }
  .refl { display: none; }
}
@media (max-width: 700px) {
  .top { padding: 18px var(--gutter); }
  .nav { display: none; }
  .h-track, html.no-pin .h-track { grid-template-columns: 1fr; }
  .steps, .works { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .about-fig { justify-self: center; margin: calc(-1 * var(--aw) * .3) 0 0; }
  .about-list { grid-template-columns: 1fr; }
  .links a { flex-wrap: wrap; }
  .links span { margin-left: 36px; text-align: left; width: 100%; }
}

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

/* ---------- price ---------- */
.price { overflow: visible; }
.price-word { position: relative; z-index: 0; text-align: center; font: 700 clamp(88px, 21vw, 300px)/.84 var(--display); text-transform: uppercase; letter-spacing: .01em;
  background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(222,232,250,.7) 55%, rgba(156,199,255,.18) 100%); -webkit-background-clip: text; background-clip: text; color: transparent;
  padding: .2em 0 .1em; margin: -.14em 0 calc(-1 * clamp(34px, 7.6vw, 118px)); }
.pgrid { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; align-items: stretch; }
.pcard { display: grid; grid-template-rows: auto 1fr auto; gap: 22px; padding: clamp(22px, 2.6vw, 34px); border-radius: 30px; background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.01) 60%), rgba(8,10,14,.55);
  -webkit-backdrop-filter: blur(26px) saturate(1.3); backdrop-filter: blur(26px) saturate(1.3); transition: border-color .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.pcard:hover { border-color: var(--line-hi); transform: translateY(-4px); }
.pcard.hl { border-color: rgba(156,199,255,.28); }
.pc-head { display: grid; gap: 14px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.pc-k { font-size: 14px; color: var(--muted); }
.pc-big { font: 600 clamp(36px, 4vw, 54px)/1.05 var(--body); display: flex; align-items: baseline; gap: .3em; white-space: nowrap; }
.pc-big span { font-size: .38em; font-weight: 500; color: var(--muted); }
.pc-big b { font-weight: 600; background: linear-gradient(90deg, #fff 55%, rgba(255,255,255,.35)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.pc-list { display: grid; gap: 14px; align-content: start; }
.pc-list li { display: flex; align-items: center; gap: 14px; font-size: 15px; color: rgba(236,234,230,.82); }
.pc-list b { margin-left: auto; padding-left: 10px; font-weight: 500; color: var(--text); white-space: nowrap; }
.ck { flex: none; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.07) url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'><path d='M6 12.5l4 4 8-9'/></svg>") center / 12px no-repeat; border: 1px solid var(--line); }
.pc-btn { height: 46px; padding: 0 22px; border-radius: 999px; font: 500 14px/1 var(--body); color: var(--text); background: rgba(0,0,0,.55); border: 1px solid var(--line-hi); cursor: pointer; transition: transform .3s cubic-bezier(.2,.7,.2,1), background .3s, box-shadow .3s; }
.pc-btn:hover { background: rgba(255,255,255,.1); transform: translateY(-2px); }
.pcard.hl .pc-btn, .pc-btn.solid { color: var(--ink); border-color: transparent; background: linear-gradient(180deg, #f6f7f9, #b9bdc6); }
.pcard.hl .pc-btn:hover, .pc-btn.solid:hover { background: linear-gradient(180deg, #fff, #c7cbd3); box-shadow: 0 10px 30px rgba(156,199,255,.28); }

.pbar { display: flex; align-items: center; justify-content: space-between; gap: 18px 30px; flex-wrap: wrap; margin: 26px 4px 34px; }
.pbar-note { color: var(--muted); font-size: 14px; max-width: 52ch; }
.cur { display: inline-flex; padding: 4px; gap: 2px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8,10,14,.5); }
.cur button { height: 34px; padding: 0 14px; border-radius: 999px; border: 0; background: none; color: var(--muted); font: 500 13px/1 var(--body); cursor: pointer; white-space: nowrap; transition: color .25s, background .35s, box-shadow .35s; }
.cur button:hover { color: var(--text); }
.cur button[aria-pressed="true"] { color: var(--ink); background: linear-gradient(180deg, #f6f7f9, #b9bdc6); box-shadow: 0 4px 16px rgba(156,199,255,.2); }

.pother { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px 34px; padding: clamp(22px, 3vw, 34px) clamp(24px, 3.4vw, 44px); border-radius: 30px; }
.pother h3 { font: 600 22px/1.2 var(--body); margin-bottom: 6px; }
.pother p { color: var(--muted); font-size: 15px; max-width: 54ch; }
.pother-p { font: 600 clamp(20px, 2.2vw, 28px)/1.1 var(--body); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; white-space: nowrap; }

.rules { margin-top: clamp(56px, 7vw, 96px); }
.rules-t { font: 500 clamp(30px, 4vw, 54px)/1 var(--display); text-transform: uppercase; padding: .08em 0 .2em; margin: -.08em 0 calc(-.2em + 26px); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.rules-list { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: r; }
.rule { position: relative; display: grid; gap: 10px; align-content: start; padding: 24px; border-radius: 26px; }
.rule .no { font: 500 15px var(--pixel); color: var(--ice); }
.rule h3 { font: 600 19px/1.25 var(--body); }
.rule p { color: var(--muted); font-size: 14.5px; line-height: 1.55; }
.rule p:empty { display: none; }

@media (max-width: 1100px) {
  .rules-list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .pgrid { grid-template-columns: 1fr; }
  .pother { grid-template-columns: 1fr; justify-items: start; }
  .pcard:hover { transform: none; }
}
@media (max-width: 700px) {
  .rules-list { grid-template-columns: 1fr; }
  .cur { width: 100%; overflow-x: auto; scrollbar-width: none; }
  .cur button { flex: 1; padding: 0 10px; }
}

/* ---------- text is not selectable; the contact rows still copy on click ---------- */
html, body { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
img, svg { -webkit-user-drag: none; user-select: none; }
::selection { background: transparent; }

/* process: keyword line under each step */
.step .meta { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line); font: 500 12.5px/1.45 var(--pixel); letter-spacing: .03em; color: var(--ice); max-width: none; }
.about-list { align-content: center; }
@media (max-width: 1100px) { .about-list { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .about-list { grid-template-columns: 1fr; } }

/* ---------- works by category ---------- */
.wcats { display: grid; gap: clamp(34px, 4vw, 56px); }
.wcat-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 0 4px 14px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.wcat-h h3 { font: 600 clamp(20px, 2vw, 26px)/1.2 var(--body); }
.wcat-h span { font: 500 13px var(--pixel); color: var(--muted); letter-spacing: .08em; }
.wgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.wk { border-radius: 24px; overflow: hidden; transition: border-color .3s, transform .4s cubic-bezier(.2,.7,.2,1); }
.wk:not(.empty):hover { border-color: var(--line-hi); transform: translateY(-4px); }
.wk-open { display: grid; width: 100%; padding: 0; border: 0; background: none; color: inherit; font: inherit; text-align: left; cursor: pointer; }
.wk-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: rgba(0,0,0,.4); }
.wk-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.wk-open:hover .wk-img img { transform: scale(1.04); }
.wk-t { padding: 14px 18px 18px; font: 500 15px/1.3 var(--body); }
.wk.empty { display: block; padding-top: 75%; border-style: dashed; background: rgba(255,255,255,.02); box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.wk.empty span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-size: 12px; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); }
.lightbox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 4vw; background: rgba(5,7,11,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; transition: opacity .25s; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox.on { opacity: 1; }
.lightbox figure { margin: 0; display: grid; gap: 14px; justify-items: center; max-width: 100%; transform: scale(.97); transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.lightbox.on figure { transform: none; }
.lightbox img { max-width: 92vw; max-height: 78vh; border-radius: 18px; border: 1px solid var(--line-hi); box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lightbox figcaption { color: var(--text); font-size: 15px; }
.lb-x { position: absolute; top: 20px; right: 24px; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-hi); background: rgba(255,255,255,.06); color: var(--text); font-size: 26px; line-height: 1; cursor: pointer; }
@media (max-width: 700px) { .wgrid { grid-template-columns: 1fr; } .wk.empty { padding-top: 40%; } }

/* ---------- works: category switcher ---------- */
.wtabs { position: relative; display: flex; gap: 2px; width: fit-content; max-width: 100%; padding: 6px; margin-bottom: 26px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; border: 1px solid var(--line);
  background: linear-gradient(150deg, rgba(255,255,255,.07), rgba(255,255,255,.015)), rgba(8,10,14,.55); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,.08); }
.wtabs::-webkit-scrollbar { display: none; }
.wpill { position: absolute; left: 0; top: 6px; bottom: 6px; width: 0; border-radius: 999px; z-index: 0; pointer-events: none;
  background: linear-gradient(180deg, #f8f9fb, #b4b9c4); box-shadow: 0 8px 26px rgba(156,199,255,.22), inset 0 1px 0 #fff;
  transition: transform .6s cubic-bezier(.16, 1, .3, 1), width .6s cubic-bezier(.16, 1, .3, 1); }
.wtab { position: relative; z-index: 1; display: flex; align-items: center; gap: 8px; height: 44px; padding: 0 12px 0 13px; border: 0; background: none; border-radius: 999px; color: var(--muted); font: 500 14px/1 var(--body); white-space: nowrap; cursor: pointer; transition: color .35s; }
.wtab small { font: 500 11px var(--pixel); letter-spacing: .06em; color: var(--ice); transition: color .35s; }
.wtab em { display: grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; border-radius: 999px; border: 1px solid var(--line); font: 500 11px/1 var(--pixel); font-style: normal; color: var(--muted); transition: color .35s, border-color .35s; }
.wtab:hover { color: var(--text); }
.wtab.on { color: var(--ink); }
.wtab.on small { color: #5b6a86; }
.wtab.on em { color: #3d4658; border-color: rgba(7, 8, 11, .25); }
/* no pointer glow on work cards */
.wk::before { display: none; }
.wk.empty { border: 1px dashed var(--line); border-radius: 24px; position: relative; }
.wk-t { color: var(--text); }
@media (max-width: 700px) { .wtabs { width: 100%; } }
.wtab em { display: none; }

/* work card: picture fills the card, the caption sits on a soft fade at the bottom */
.wk-open { position: relative; }
.wk-cap { position: absolute; left: 0; right: 0; bottom: 0; display: grid; gap: 4px; padding: 48px 20px 18px; pointer-events: none;
  background: linear-gradient(180deg, rgba(5,7,11,0), rgba(5,7,11,.55) 45%, rgba(5,7,11,.88)); transition: padding .5s cubic-bezier(.16,1,.3,1); }
.wk-cap b { font: 600 17px/1.25 var(--body); letter-spacing: -.005em; color: #fff; text-wrap: balance; }
.wk-open:hover .wk-cap { padding-bottom: 22px; }

/* several pictures in one work */
.wk-n { position: absolute; top: 14px; right: 14px; min-width: 28px; height: 28px; padding: 0 9px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line-hi); background: rgba(7,8,11,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 500 12px/1 var(--body); color: var(--text); pointer-events: none; }
.lb-a { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 1px solid var(--line-hi); background: rgba(255,255,255,.06); color: var(--text); font-size: 28px; line-height: 1; cursor: pointer; display: none; transition: background .25s; }
.lb-a:hover { background: rgba(255,255,255,.14); }
.lb-p { left: 22px; } .lb-n { right: 22px; }
.lightbox.multi .lb-a { display: block; }
.lb-dots { position: absolute; bottom: 22px; left: 0; right: 0; display: flex; justify-content: center; gap: 7px; pointer-events: none; }
.lb-dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.25); transition: background .3s, transform .3s; }
.lb-dots i.on { background: #fff; transform: scale(1.3); }
@media (max-width: 700px) { .lb-p { left: 8px; } .lb-n { right: 8px; } .lb-a { width: 40px; height: 40px; margin-top: -20px; } }

/* the whole picture is always visible on a plain dark card */
.wk-img { position: relative; }
.wk-img img { position: absolute; inset: 0; }
.wk-img .wk-main { object-fit: contain; }
.wk-img.cover .wk-main { object-fit: cover; }
.wk-open:hover .wk-img .wk-main { transform: scale(1.03); }
.wk-open:hover .wk-img.cover .wk-main { transform: scale(1.04); }

/* work card: framed picture, caption underneath on the same card */
.wk-open { padding: 10px 10px 6px; gap: 14px; }
.wk-img { aspect-ratio: 16 / 10; border-radius: 16px; background: #090b10; border: 1px solid rgba(255,255,255,.06); }
.wk-img img { width: 100%; height: 100%; }
.wk-img .wk-main { object-fit: contain; box-sizing: border-box; padding: 9%; }
.wk-img[data-mode="fill"] .wk-main { object-fit: cover; object-position: 50% 0; padding: 0; }
.wk-img.cover .wk-main { object-fit: cover; object-position: 50% 50%; padding: 0; }
.wk-img[data-blend] .wk-main { mix-blend-mode: lighten; }
.wk-n { top: 20px; right: 20px; }
.wk-cap { position: static; padding: 0 8px 8px; background: none; pointer-events: auto; }
.wk-cap b { font: 600 16px/1.3 var(--body); color: var(--text); }
.wk-open:hover .wk-cap { padding-bottom: 8px; }
.wk.empty { padding-top: calc(62.5% + 38px); }
@media (max-width: 700px) { .wk.empty { padding-top: calc(50% + 30px); } }
.wk-img[data-mode="wide"] .wk-main { object-fit: contain; padding: 3%; }
.wk-img[data-mode="art"] { display: grid; place-items: center; }
.wk-img[data-mode="art"] .wk-main { position: static; inset: auto; width: auto; height: 100%; max-width: 100%; padding: 0; object-fit: contain; border-radius: 12px; mix-blend-mode: normal; }
.wk-img[data-mode="card"] .wk-main { object-fit: cover; object-position: 50% 50%; padding: 0; mix-blend-mode: normal; position: absolute; inset: 0; width: 100%; height: 100%; }

/* show all works */
.wmore { display: flex; justify-content: center; margin-top: 26px; }
.wmore-btn { display: inline-flex; align-items: center; gap: 12px; height: 48px; padding: 0 22px 0 26px; border-radius: 999px; border: 1px solid var(--line-hi); cursor: pointer; color: var(--text); font: 500 14px/1 var(--body); letter-spacing: .01em;
  background: linear-gradient(150deg, rgba(255,255,255,.09), rgba(255,255,255,.02)), rgba(8,10,14,.6); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 1px 0 rgba(255,255,255,.1);
  transition: transform .35s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s, color .3s, box-shadow .3s; }
.wmore-btn[hidden] { display: none; }
.wmore-btn:hover { transform: translateY(-2px); color: var(--ink); border-color: transparent; background: linear-gradient(180deg, #f6f7f9, #b9bdc6); box-shadow: 0 10px 30px rgba(156,199,255,.22); }
.wmore-n { display: grid; place-items: center; min-width: 24px; height: 24px; padding: 0 8px; border-radius: 999px; border: 1px solid var(--line-hi); font: 500 12px/1 var(--pixel); font-style: normal; color: var(--ice); transition: color .3s, border-color .3s; }
.wmore-n[hidden] { display: none; }
.wmore-btn:hover .wmore-n { color: #3d4658; border-color: rgba(7,8,11,.25); }
.wmore-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transition: transform .4s cubic-bezier(.16,1,.3,1); }
.wmore-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.wgrid { gap: 18px; }
@media (max-width: 1000px) { .wgrid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) { .wgrid { grid-template-columns: 1fr; } .wmore-btn { width: 100%; justify-content: center; } }

/* =====================================================================
   Burger, mobile sheet, request form, reviews, FAQ, payments
   ===================================================================== */
.burger { display: none; position: relative; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line-hi); cursor: pointer; flex: none;
  background: linear-gradient(150deg, rgba(255,255,255,.1), rgba(255,255,255,.02)), rgba(8,10,14,.6); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.burger i { position: absolute; left: 13px; right: 13px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform .45s cubic-bezier(.16,1,.3,1), top .45s cubic-bezier(.16,1,.3,1); }
.burger i:nth-child(1) { top: 17px; } .burger i:nth-child(2) { top: 25px; }
.burger.x i:nth-child(1) { top: 21px; transform: rotate(45deg); } .burger.x i:nth-child(2) { top: 21px; transform: rotate(-45deg); }

.sheet { position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto;
  padding: calc(92px + env(safe-area-inset-top)) var(--gutter) calc(28px + env(safe-area-inset-bottom));
  background: radial-gradient(80% 50% at 80% 0%, rgba(40,80,140,.3), transparent 70%), rgba(7,8,11,.94); -webkit-backdrop-filter: blur(22px); backdrop-filter: blur(22px);
  visibility: hidden; opacity: 0; transition: opacity .4s ease, visibility 0s .4s; }
.sheet.open { visibility: visible; opacity: 1; transition: opacity .4s ease, visibility 0s; }
.sheet-nav { display: grid; }
.sheet-nav a { display: flex; align-items: baseline; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font: 500 clamp(30px, 9vw, 44px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .01em;
  background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent;
  opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .3s; }
.sheet-nav a small { font: 500 12px var(--pixel); letter-spacing: .06em; color: var(--ice); -webkit-text-fill-color: var(--ice); }
.sheet.open .sheet-nav a { opacity: 1; transform: none; transition: opacity .6s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.sheet.open .sheet-nav a:nth-child(1) { transition-delay: .06s; } .sheet.open .sheet-nav a:nth-child(2) { transition-delay: .1s; } .sheet.open .sheet-nav a:nth-child(3) { transition-delay: .14s; }
.sheet.open .sheet-nav a:nth-child(4) { transition-delay: .18s; } .sheet.open .sheet-nav a:nth-child(5) { transition-delay: .22s; } .sheet.open .sheet-nav a:nth-child(6) { transition-delay: .26s; } .sheet.open .sheet-nav a:nth-child(7) { transition-delay: .3s; }
.sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sheet-foot .lang button { padding: 12px 12px; font-size: 14px; }
html.sheet-open { overflow: hidden; }
html.sheet-open .grain { opacity: .04; }

@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: block; }
  .top-r { gap: 10px; }
}
@media (max-width: 560px) {
  .top-r > .lang { display: none; }
  .top { padding: 14px var(--gutter); }
  .order-btn { height: 44px; padding: 0 16px; }
}
@media (min-width: 1001px) { .sheet { display: none; } }

/* payments */
.paystrip { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 18px; margin: 0 4px 22px; }
.paystrip-t { font-size: 13px; letter-spacing: .02em; color: var(--muted); }
.paystrip ul { display: flex; flex-wrap: wrap; gap: 8px; }
.paystrip li { display: inline-flex; align-items: center; gap: 8px; height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.03); font-size: 13px; color: var(--text); }
.paystrip li::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--ice); box-shadow: 0 0 8px var(--ice); }

/* form fields (shared) */
.lbl { display: block; margin-bottom: 10px; padding: 0; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
fieldset.fld { border: 0; margin: 0; padding: 0; min-width: 0; }
.fld { display: grid; align-content: start; margin: 0; }
.fld input:not([type]), .fld input[type=text], .fld input[type=email], .fld input[type=tel], .fld textarea {
  width: 100%; font: 400 16px/1.45 var(--body); color: var(--text); background: rgba(0,0,0,.42); border: 1px solid var(--line); border-radius: 16px; padding: 15px 18px; outline: none; -webkit-user-select: text; user-select: text;
  transition: border-color .25s, background .25s, box-shadow .25s; }
.fld textarea { resize: vertical; min-height: 140px; }
.fld input::placeholder, .fld textarea::placeholder { color: rgba(143,149,163,.7); }
.fld input:focus, .fld textarea:focus { border-color: rgba(156,199,255,.7); background: rgba(0,0,0,.55); box-shadow: 0 0 0 4px rgba(156,199,255,.12); }
.count { margin-top: 6px; text-align: right; font-size: 12px; color: var(--muted); }
.err { min-height: 0; margin: 8px 2px 0; font-size: 13px; color: #ff9d9d; display: none; }
.err.on { display: block; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; cursor: pointer; }
.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 17px; border-radius: 999px; border: 1px solid var(--line); background: rgba(8,10,14,.5); color: var(--muted); font: 500 14px/1.1 var(--body);
  transition: color .3s, background .35s, border-color .3s, box-shadow .35s, transform .3s cubic-bezier(.2,.7,.2,1); }
.chip:hover span { color: var(--text); border-color: var(--line-hi); }
.chip input:checked + span { color: var(--ink); border-color: transparent; background: linear-gradient(180deg, #f8f9fb, #b4b9c4); box-shadow: 0 6px 20px rgba(156,199,255,.2); }
.chip input:focus-visible + span { outline: 2px solid var(--ice); outline-offset: 3px; }
.check { position: relative; display: flex; align-items: flex-start; gap: 12px; cursor: pointer; font-size: 14px; line-height: 1.45; color: rgba(236,234,230,.85); -webkit-user-select: none; user-select: none; }
.check input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check i { flex: none; width: 24px; height: 24px; margin-top: -2px; border-radius: 8px; border: 1px solid var(--line-hi); background: rgba(0,0,0,.4); display: grid; place-items: center; transition: background .3s, border-color .3s; }
.check i::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: rotate(-45deg) scale(0) translate(1px, -1px); transition: transform .3s cubic-bezier(.2,1.4,.3,1); }
.check input:checked + i { background: linear-gradient(180deg, #f8f9fb, #b4b9c4); border-color: transparent; }
.check input:checked + i::after { transform: rotate(-45deg) scale(1) translate(1px, -1px); }
.check input:focus-visible + i { outline: 2px solid var(--ice); outline-offset: 3px; }
.check a { color: var(--ice); text-decoration: underline; text-decoration-color: rgba(156,199,255,.4); text-underline-offset: 3px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.form-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 6px; }
.form-bar .btn { min-height: 52px; padding-inline: 30px; border: 0; cursor: pointer; }
.form-st { flex: 1; min-width: 160px; margin: 0; font-size: 14px; color: var(--muted); }
.form-st.bad { color: #ff9d9d; } .form-st.good { color: #8fe3b0; }
.btn:disabled { opacity: .6; cursor: progress; }

/* request form */
.lead-form { margin-top: 18px; border-radius: 32px; padding: clamp(22px, 4vw, 48px); }
.lead-form::before, .rev-form::before, .rev::before { display: none; }
.lead-form.busy { pointer-events: none; }
.lead-in { display: grid; gap: 28px; }
.lead-h h3 { font: 500 clamp(28px, 4vw, 44px)/1.05 var(--display); text-transform: uppercase; padding: .08em 0 .2em; margin: -.08em 0 -.1em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-h p { color: var(--muted); max-width: 52ch; }
.lead-cols { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(22px, 4vw, 52px); }
.lead-l, .lead-r { display: grid; gap: 24px; align-content: start; }
.lead-r .grow textarea { min-height: 190px; }
.lead-ok { display: grid; justify-items: center; text-align: center; gap: 14px; padding: clamp(24px, 5vw, 56px) 10px; }
.lead-ok[hidden], .lead-in[hidden] { display: none; }
.lead-ok h3 { font: 500 clamp(28px, 4vw, 40px)/1.1 var(--display); text-transform: uppercase; }
.lead-ok p { color: var(--muted); max-width: 46ch; }
.ok-ic { display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.4), rgba(255,255,255,.05) 60%); border: 1px solid var(--line-hi); box-shadow: 0 0 30px rgba(156,199,255,.25); }
.ok-ic svg { width: 28px; height: 28px; fill: none; stroke: #e9ebee; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* reviews */
.rev-top { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 18px 28px; margin-bottom: 26px; }
.rev-avg { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.rev-avg b { font: 500 clamp(40px, 6vw, 64px)/1 var(--display); background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; padding: .06em 0 .12em; }
.rev-avg small { color: var(--muted); font-size: 13px; }
.rev-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.rev-stars, .rev-s { display: inline-flex; gap: 3px; }
.rev-stars svg, .rev-s svg { width: 18px; height: 18px; fill: none; stroke: rgba(156,199,255,.45); stroke-width: 1.4; stroke-linejoin: round; }
.rev-stars svg.on, .rev-s svg.on { fill: var(--ice); stroke: var(--ice); filter: drop-shadow(0 0 6px rgba(156,199,255,.45)); }
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.rev { display: grid; gap: 16px; align-content: space-between; padding: 24px; border-radius: 26px; }
.rev p { color: rgba(236,234,230,.88); font-size: 15.5px; line-height: 1.6; }
.rev footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid var(--line); }
.rev footer b { font-weight: 600; font-size: 15px; }
.rev footer em, .rev footer time { font-style: normal; font-size: 12px; color: var(--muted); padding: 3px 10px; border: 1px solid var(--line); border-radius: 999px; }
.rev-empty { grid-column: 1 / -1; padding: 40px 10px; text-align: center; color: var(--muted); }
.rev-form { display: grid; grid-template-rows: 0fr; margin-top: 0; border-radius: 28px; border: 1px solid transparent; background: none; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; visibility: hidden; opacity: 0;
  transition: grid-template-rows .7s cubic-bezier(.16,1,.3,1), margin .7s cubic-bezier(.16,1,.3,1), opacity .5s, visibility 0s .7s, border-color .5s, background .5s; }
.rev-form.open { grid-template-rows: 1fr; margin-top: 22px; visibility: visible; opacity: 1; border-color: var(--line); background: linear-gradient(150deg, rgba(255,255,255,.08), rgba(255,255,255,.015)); box-shadow: inset 0 1px 0 rgba(255,255,255,.1), 0 20px 60px rgba(0,0,0,.35); transition: grid-template-rows .7s cubic-bezier(.16,1,.3,1), margin .7s cubic-bezier(.16,1,.3,1), opacity .5s, visibility 0s, border-color .5s, background .5s; }
.rev-form-in { overflow: hidden; display: grid; gap: 22px; padding: 0 clamp(18px, 3vw, 36px); max-width: 760px; }
.rev-form.open .rev-form-in { padding-block: clamp(22px, 3vw, 36px); }
.rstars { display: flex; gap: 6px; }
.rstar { width: 48px; height: 48px; padding: 0; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line); background: rgba(0,0,0,.35); cursor: pointer; transition: background .25s, border-color .25s, transform .3s cubic-bezier(.2,1.3,.3,1); }
.rstar svg { width: 26px; height: 26px; fill: none; stroke: var(--muted); stroke-width: 1.4; stroke-linejoin: round; transition: fill .25s, stroke .25s; }
.rstar.on svg { fill: var(--ice); stroke: var(--ice); }
.rstar.hov { transform: translateY(-2px); }
.rstar:focus-visible { outline: 2px solid var(--ice); outline-offset: 3px; }
#revNickWrap[hidden] { display: none; }

/* FAQ */
.faq { display: grid; max-width: 900px; border-top: 1px solid var(--line); }
.faq-i { border-bottom: 1px solid var(--line); }
.faq-q { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: 100%; padding: 22px 4px; background: none; border: 0; color: var(--text); font: 600 clamp(17px, 2vw, 20px)/1.3 var(--body); text-align: left; cursor: pointer; transition: color .3s; }
.faq-q:hover { color: #fff; }
.faq-q i { position: relative; flex: none; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-hi); transition: background .35s, border-color .35s, transform .5s cubic-bezier(.16,1,.3,1); }
.faq-q i::before, .faq-q i::after { content: ""; position: absolute; left: 11px; right: 11px; top: 17px; height: 1.6px; border-radius: 2px; background: var(--text); transition: transform .5s cubic-bezier(.16,1,.3,1), background .3s; }
.faq-q i::after { transform: rotate(90deg); }
.faq-i.open .faq-q i { background: linear-gradient(180deg, #f6f7f9, #b9bdc6); border-color: transparent; transform: rotate(180deg); }
.faq-i.open .faq-q i::before, .faq-i.open .faq-q i::after { background: var(--ink); }
.faq-i.open .faq-q i::after { transform: rotate(0); }
.faq-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s cubic-bezier(.16,1,.3,1); }
.faq-i.open .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p { padding: 0 60px 24px 4px; color: var(--muted); font-size: 16px; line-height: 1.65; max-width: 70ch; opacity: 0; transform: translateY(-6px); transition: opacity .45s .08s, transform .5s .08s cubic-bezier(.16,1,.3,1); }
.faq-i.open .faq-a p { opacity: 1; transform: none; }
.foot-link { color: var(--muted); font-size: 13px; text-decoration: underline; text-decoration-color: rgba(143,149,163,.4); text-underline-offset: 3px; }
.foot-link:hover { color: var(--text); }

@media (max-width: 1000px) {
  .rev-grid { grid-template-columns: repeat(2, 1fr); }
  .lead-cols { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .rev-grid { grid-template-columns: 1fr; }
  .rev-actions { width: 100%; } .rev-actions .btn { flex: 1; justify-content: center; text-align: center; }
  .lead-form { padding: 22px 16px; border-radius: 26px; }
  .form-bar .btn { width: 100%; }
  .faq-a p { padding-right: 6px; }
  .rstar { width: 44px; height: 44px; }
  .foot-row { flex-wrap: wrap; gap: 8px 16px; align-items: center; }
}
@media (hover: none) { .chip:hover span, .faq-q:hover { color: inherit; } }

/* comfortable touch targets on phones and tablets */
@media (pointer: coarse), (max-width: 1000px) {
  .cur button { height: 44px; padding: 0 16px; }
  .lang button { min-height: 44px; padding: 14px 10px; }
  .lang button::after { bottom: 8px; }
  .order-btn { height: 44px; }
  .btn { min-height: 44px; }
  .foot-link { display: inline-flex; align-items: center; min-height: 44px; }
  .wmore-btn { height: 52px; }
  .order-item { min-height: 48px; }
}

/* ---------- every screen shape ---------- */
/* very large screens: scale the whole composition up */
@media (min-width: 3000px) { :root { --max: 2300px; --Hmax: 1960px; --tsmax: 380px; } body { font-size: 19px; } .top { padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))); } }
@media (min-width: 3000px) { .lang button, .nav { font-size: 15px; } .order-btn { height: 44px; font-size: 15px; } }

/* phones and small tablets held sideways: a calmer, shorter hero instead of a screen-high title */
@media (max-height: 520px) and (orientation: landscape) and (max-width: 1000px) {
  .hero { --H: min(112svh, 520px); --ts: min(11.5vw, 96px); padding-bottom: 24px; }
  .fig { margin-top: calc(var(--ts) * .75); }
  .side { margin-top: 18px; }
  .sheet { padding-top: calc(76px + env(safe-area-inset-top)); }
  .sheet-nav a { padding: 8px 0; font-size: 26px; }
  .man { padding-block: 70px; }
  .block { padding-top: 70px; }
}

/* works on phones: swipeable strip */
@media (max-width: 700px) {
  .wgrid:not(.exp) { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none;
    margin-inline: calc(-1 * var(--gutter)); padding: 4px var(--gutter) 10px; scroll-padding-inline: var(--gutter); }
  .wgrid:not(.exp)::-webkit-scrollbar { display: none; }
  .wgrid:not(.exp) .wk { flex: 0 0 84%; scroll-snap-align: start; }
  .wgrid:not(.exp) .wk.empty { flex-basis: 84%; }
}
/* very narrow screens (foldables, small phones) */
@media (max-width: 340px) {
  :root { --gutter: 14px; }
  .order-btn { padding: 0 12px; font-size: 12px; }
  .wtab { padding: 0 10px 0 11px; }
  .hcard .hc-text h3 { font-size: 21px; }
  .pc-big { font-size: 34px; }
  .rstar { width: 40px; height: 40px; }
  .chip span { padding: 0 13px; }
}

/* =====================================================================
   Request window, call-to-action, sparkle ratings
   ===================================================================== */
.lead-cta { display: flex; align-items: center; justify-content: space-between; gap: 22px 40px; flex-wrap: wrap; margin-top: 18px; padding: clamp(22px, 3.4vw, 40px) clamp(22px, 4vw, 48px); border-radius: 32px; }
.lead-cta::before { display: none; }
.lead-cta h3 { font: 500 clamp(26px, 3.6vw, 40px)/1.05 var(--display); text-transform: uppercase; padding: .08em 0 .18em; margin: -.08em 0 -.06em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead-cta p { color: var(--muted); max-width: 48ch; }
.lead-cta .btn { min-height: 54px; padding-inline: 34px; border: 0; cursor: pointer; }

.modal { position: fixed; inset: 0; z-index: 160; display: grid; place-items: center; padding: clamp(12px, 3vw, 32px); visibility: hidden; pointer-events: none; transition: visibility 0s .6s; }
.modal.open { visibility: visible; pointer-events: auto; transition: visibility 0s; }
.modal-bg { position: absolute; inset: 0; opacity: 0; transition: opacity .55s ease; cursor: pointer;
  background: radial-gradient(60% 60% at 50% 40%, rgba(32, 64, 118, .4), rgba(3, 4, 7, .88)); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
.modal.open .modal-bg { opacity: 1; }
.modal-card { position: relative; display: grid; grid-template-columns: minmax(300px, 380px) 1fr; width: min(1040px, 100%); max-height: calc(100svh - 2 * clamp(12px, 3vw, 32px)); border-radius: 36px; overflow: hidden; background: #0b0d12;
  box-shadow: 0 50px 140px rgba(0, 0, 0, .75), 0 0 90px rgba(156, 199, 255, .08);
  opacity: 0; transform: translateY(34px) scale(.962); filter: blur(10px); transition: opacity .45s ease, transform .7s cubic-bezier(.16, 1, .3, 1), filter .55s ease; }
.modal.open .modal-card { opacity: 1; transform: none; filter: none; }
.modal-card::after { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 5;
  background: linear-gradient(135deg, rgba(255,255,255,.55), rgba(255,255,255,.06) 32%, rgba(156,199,255,.28) 62%, rgba(255,255,255,.45));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask: linear-gradient(#000 0 0) content-box exclude, linear-gradient(#000 0 0); }

.modal-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 28px; padding: clamp(28px, 3.4vw, 44px); color: #0a0b0e;
  background: repeating-linear-gradient(100deg, rgba(255,255,255,.06) 0 1px, transparent 1px 4px),
    linear-gradient(115deg, #151821 0%, #7a808c 22%, #dde1e8 38%, #848996 52%, #262a32 66%, #b0b5bf 84%, #565b67 100%);
  box-shadow: inset -1px 0 0 rgba(255,255,255,.25); }
.modal-side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,.3)); pointer-events: none; }
.side-mark { position: absolute; right: -34px; top: -22px; width: 170px; height: auto; opacity: .28; mix-blend-mode: multiply; filter: saturate(0) brightness(.4); pointer-events: none; }
.side-top, .side-steps { position: relative; z-index: 1; }
.side-top h3 { font: 700 clamp(34px, 4vw, 50px)/.96 var(--display); text-transform: uppercase; color: #090a0d; max-width: 8em; text-wrap: balance; }
.side-top p { margin-top: 14px; font-weight: 500; color: #1b1d23; max-width: 28ch; }
.side-steps { display: grid; gap: 8px; }
.side-steps li { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 14px; color: rgba(10,11,14,.55); transition: background .5s, color .5s, transform .5s cubic-bezier(.16,1,.3,1); }
.side-steps li b { font: 500 12px var(--pixel); letter-spacing: .06em; }
.side-steps li.on { background: rgba(7, 8, 11, .9); color: #fff; transform: translateX(6px); }
.side-steps li.on b { color: var(--ice); }
.side-steps li.done { color: rgba(10,11,14,.8); }
.side-steps li.done b::after { content: " ✓"; }

.modal-main { position: relative; display: flex; flex-direction: column; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: clamp(26px, 3.6vw, 46px) clamp(22px, 3.6vw, 48px) 0;
  background: radial-gradient(80% 50% at 90% 0%, rgba(40, 80, 140, .2), transparent 70%), #0b0d12; }
.modal-main .lead-in { display: flex; flex-direction: column; flex: 1; gap: 20px; }
.modal-main .lead-in[hidden], .modal-main .lead-ok[hidden] { display: none; }
.modal-x { position: absolute; top: 16px; right: 16px; z-index: 4; width: 44px; height: 44px; padding: 0; border-radius: 50%; border: 1px solid var(--line-hi); background: rgba(255,255,255,.05); cursor: pointer; transition: background .3s, transform .5s cubic-bezier(.16,1,.3,1); }
.modal-x:hover { background: rgba(255,255,255,.12); transform: rotate(90deg); }
.modal-x i { position: absolute; left: 13px; right: 13px; top: 21px; height: 1.6px; border-radius: 2px; background: var(--text); }
.modal-x i:nth-child(1) { transform: rotate(45deg); } .modal-x i:nth-child(2) { transform: rotate(-45deg); }
.pbar-steps { display: flex; gap: 6px; padding-right: 56px; }
.pbar-steps i { position: relative; flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.pbar-steps i::after { content: ""; position: absolute; inset: 0; border-radius: inherit; background: linear-gradient(90deg, var(--ice), #fff); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.16,1,.3,1); }
.pbar-steps i.on::after { transform: scaleX(1); }
.step-no { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-top: -8px; }
.step-no b { color: var(--text); font-weight: 600; }
.st { display: grid; gap: 22px; align-content: start; }
.st[hidden] { display: none; }
.st h4 { font: 500 clamp(28px, 3.6vw, 42px)/1.02 var(--display); text-transform: uppercase; padding: .08em 0 .16em; margin: -.08em 0 -.08em; background: var(--chrome); -webkit-background-clip: text; background-clip: text; color: transparent; }
.modal-main .fld textarea { min-height: 170px; }
.modal-bar { position: sticky; bottom: 0; margin-top: auto; display: flex; align-items: center; gap: 12px; padding: 22px 0 clamp(22px, 3vw, 34px); background: linear-gradient(transparent, #0b0d12 34%); }
.modal-bar .btn { min-height: 52px; padding-inline: 28px; border: 0; cursor: pointer; flex: none; }
.modal-bar .btn-ghost { border: 1px solid var(--line-hi); }
.modal-bar .btn[hidden] { display: none; }
.modal-bar .form-st { flex: 1; min-width: 0; }
.modal-bar .btn-solid { margin-left: auto; }
.modal-main .lead-ok { margin: auto; padding: 30px 0; }
.lead-form.busy, #lead.busy { pointer-events: none; }
html.modal-open { overflow: hidden; }

/* sparkle ratings: the same sharp star as the logo, in chrome */
.rev-stars svg, .rev-s svg { width: 17px; height: 17px; fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.2; stroke-linejoin: round; filter: none; }
.rev-stars svg.on, .rev-s svg.on { fill: url(#starGrad); stroke: rgba(255,255,255,.75); filter: drop-shadow(0 0 5px rgba(156,199,255,.5)); }
.rstars { gap: 8px; }
.rstar { border-radius: 50%; width: 52px; height: 52px; background: rgba(255,255,255,.03); }
.rstar svg { width: 26px; height: 26px; fill: none; stroke: rgba(255,255,255,.3); stroke-width: 1.2; }
.rstar.on { border-color: rgba(156,199,255,.45); background: radial-gradient(circle at 50% 38%, rgba(156,199,255,.18), rgba(255,255,255,.02) 70%); box-shadow: 0 0 22px rgba(156,199,255,.18); }
.rstar.on svg { fill: url(#starGrad); stroke: rgba(255,255,255,.8); filter: drop-shadow(0 0 5px rgba(156,199,255,.55)); }
.rstar.hov { transform: translateY(-2px) scale(1.04); }
.ok-ic svg { width: 30px; height: 30px; fill: url(#starGrad); stroke: none; filter: drop-shadow(0 0 8px rgba(156,199,255,.6)); }

@media (max-width: 760px) {
  .modal { place-items: end center; padding: 0; }
  .modal-card { grid-template-columns: 1fr; grid-template-rows: auto minmax(0, 1fr); width: 100%; max-height: 94svh; border-radius: 28px 28px 0 0; transform: translateY(100%); filter: none; opacity: 1; }
  .modal.open .modal-card { transform: none; }
  .modal-side { padding: 20px 70px 18px 22px; gap: 0; }
  .side-top h3 { font-size: 28px; max-width: none; }
  .side-top p, .side-steps, .side-mark { display: none; }
  .modal-x { top: 14px; right: 14px; background: rgba(7,8,11,.6); border-color: rgba(7,8,11,.25); z-index: 6; }
  .modal-x i { background: #fff; }
  .modal-main { padding: 22px 18px 0; }
  .modal-bar { padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .modal-bar .btn { padding-inline: 22px; }
  .modal-bar .form-st { display: none; }
  .modal-bar .form-st:not(:empty) { display: block; flex-basis: 100%; order: -1; }
  .modal-bar { flex-wrap: wrap; }
  .pbar-steps { padding-right: 0; }
  .lead-cta { padding: 22px 18px; } .lead-cta .btn { width: 100%; }
}
@media (max-height: 560px) and (min-width: 761px) { .modal-side { padding: 20px 28px; } .side-top p, .side-mark { display: none; } .side-steps { gap: 2px; } }
@media (prefers-reduced-motion: reduce) { .modal-card { filter: none; transform: none; transition: opacity .2s; } .modal-bg { transition: opacity .2s; } }
@media (min-width: 761px) { .modal-card { min-height: min(580px, calc(100svh - 2 * clamp(12px, 3vw, 32px))); } }
@media (max-width: 760px) { .modal-main { position: static; } }

/* five-point ice stars, with a little life */
.rev-stars svg, .rev-s svg { width: 18px; height: 18px; fill: rgba(255,255,255,.04); stroke: rgba(255,255,255,.32); stroke-width: 1.1; stroke-linejoin: round; transition: fill .3s, stroke .3s; }
.rev-stars svg.on, .rev-s svg.on { fill: url(#starGrad); stroke: rgba(255,255,255,.9); filter: drop-shadow(0 0 6px rgba(156,199,255,.55)); }
.rev-s svg.on { animation: starIn .7s cubic-bezier(.2,1.4,.3,1) both; animation-delay: calc(var(--i, 0) * 80ms + 250ms); }
.rev:hover .rev-s svg.on { animation: twinkle .8s ease both; animation-delay: calc(var(--i, 0) * 60ms); }
@keyframes starIn { from { transform: scale(.4) rotate(-30deg); opacity: 0; } }
@keyframes twinkle { 50% { transform: scale(1.28) rotate(14deg); filter: drop-shadow(0 0 11px rgba(205,228,255,.95)); } }
.rstar { border-radius: 50%; }
.rstar svg { fill: rgba(255,255,255,.03); stroke: rgba(255,255,255,.34); stroke-width: 1.1; stroke-linejoin: round; }
.rstar.on svg { fill: url(#starGrad); stroke: rgba(255,255,255,.9); filter: drop-shadow(0 0 6px rgba(156,199,255,.6)); }
.rstar.pop svg { animation: starPop .65s cubic-bezier(.2,1.5,.3,1) both; animation-delay: var(--d, 0ms); }
@keyframes starPop { 0% { transform: scale(.45) rotate(-40deg); } 60% { transform: scale(1.28) rotate(12deg); } 100% { transform: none; } }
.rate-word { min-height: 1.4em; margin-top: 10px; font: 500 12.5px var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--ice); }
.cap:empty { display: none; }
.cap { min-height: 65px; }

/* stars: a constant, soft shimmer that runs through the reviews one by one (1, 2, 3) */
.rev-s svg.on, .rev-stars svg.on { animation: shimmer 7.2s ease-in-out infinite; animation-delay: calc(var(--c, 0) * 1.8s + var(--i, 0) * .14s); }
.rev:hover .rev-s svg.on { animation: shimmer 7.2s ease-in-out infinite; animation-delay: calc(var(--c, 0) * 1.8s + var(--i, 0) * .14s); }
@keyframes shimmer {
  0%, 20%, 100% { transform: none; filter: drop-shadow(0 0 6px rgba(156,199,255,.5)); }
  8% { transform: scale(1.3) rotate(14deg); filter: drop-shadow(0 0 13px rgba(220,236,255,.98)); }
  14% { transform: scale(1) rotate(0); filter: drop-shadow(0 0 7px rgba(156,199,255,.6)); }
}
.fld[hidden], .check[hidden] { display: none; }


/* =====================================================================
   Phones, tablets and weaker devices: lighter effects, keyboard-aware windows, touch feedback
   ===================================================================== */
html.touch, html.touch * { -webkit-tap-highlight-color: transparent; }
html.touch a, html.touch button, html.touch label, html.touch summary { touch-action: manipulation; }
html.touch { overscroll-behavior-y: none; }

html.lite .grain { display: none; }
html.lite *, html.lite *::before, html.lite *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
html.lite .glass { background: linear-gradient(150deg, rgba(27, 30, 40, .95), rgba(13, 15, 20, .97)); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 6px 18px rgba(0,0,0,.32); }
html.lite .pcard { background: linear-gradient(160deg, rgba(26, 29, 39, .96), rgba(11, 13, 18, .98)); }
html.lite .wtabs, html.lite .burger, html.lite .wmore-btn, html.lite .cur, html.lite .order-menu { background: rgba(14, 16, 22, .97); }
html.lite .sheet { background: radial-gradient(80% 50% at 80% 0%, rgba(40,80,140,.22), transparent 70%), rgba(7, 8, 11, .985); }
html.lite .modal-bg { background: rgba(3, 4, 7, .9); }
html.lite .modal-card, html.lite .order-menu, html.lite .order.open .order-menu { filter: none; }
html.lite .modal-card { transition: opacity .35s ease, transform .6s cubic-bezier(.16, 1, .3, 1); }
html.lite .rev-s svg.on, html.lite .rev-stars svg.on, html.lite .rstar.on svg { filter: none; animation-name: shimmerLite; }
html.lite .rev:hover .rev-s svg.on { animation-name: shimmerLite; }
@keyframes shimmerLite { 0%, 20%, 100% { transform: none; } 8% { transform: scale(1.25) rotate(12deg); } 14% { transform: none; } }
html.lite .rstar.pop svg { animation-name: starPop; }
html.lite .hero .fig-in, html.lite .cut { will-change: auto; }

/* the windows follow the visible area, so the keyboard never covers the form */
.modal { inset: auto; left: 0; right: 0; top: var(--vvt, 0px); height: var(--vvh, 100dvh); }
.modal-bg { touch-action: none; }
.modal-main { touch-action: pan-y; }
.lightbox { touch-action: none; }
html.kb .modal { padding: 0; place-items: stretch; }
html.kb .modal-side { display: none; }
html.kb .modal-card { max-height: 100%; height: 100%; border-radius: 0; grid-template-rows: minmax(0, 1fr); }
html.kb .modal-x { top: 10px; right: 10px; background: rgba(255,255,255,.07); border-color: var(--line-hi); z-index: 6; }
html.kb .modal-main { padding-top: 16px; }
html.kb .pbar-steps { padding-right: 56px; }

/* touch feedback instead of hover */
@media (hover: none) {
  .btn:active, .order-btn:active, .pc-btn:active, .wmore-btn:active, .chip:active span, .wtab:active, .rstar:active, .burger:active, .modal-x:active { transform: scale(.96); transition-duration: .08s; }
  .faq-q:active { color: #fff; }
  .glass::before { display: none; }
  .modal-x:hover { transform: none; }
}
@media (max-width: 560px) {
  .top { padding-top: calc(14px + env(safe-area-inset-top)); }
  .foot-row { padding-bottom: calc(28px + env(safe-area-inset-bottom)); }
}
html.kb .step-no { display: none; }
html.kb .modal-main .lead-in { gap: 14px; }
html.kb .st h4 { font-size: 24px; }
html.kb .modal-bar { padding: 8px 0 10px; }
html.kb .modal-bar .btn { min-height: 46px; }
html.kb .modal-main textarea { min-height: 110px; }

/* studio status */
.avail b { transition: background .4s, box-shadow .4s; }
.avail.busy b { background: #ffb86b; box-shadow: 0 0 0 4px rgba(255, 184, 107, .16); }
.status-note { margin-top: 12px; font-size: 13.5px; line-height: 1.5; color: var(--muted); max-width: 44ch; }
.status-note[hidden] { display: none; }
.hero-note { margin: 14px 0 0; }
.lead-cta .status-note { margin-top: 10px; color: rgba(236,234,230,.7); }

/* =====================================================================
   Phone design pass (<= 700px): compact rhythm, swipeable strips, tidy lists
   ===================================================================== */
@media (max-width: 700px) {
  :root { --gutter: 18px; }
  .block { padding-top: 64px; }
  .about-wrap { padding-top: 76px; }
  .man { padding-block: 84px; }
  h2.x, .block-head h2, .h-head h2, .about h2, .contact h2 { font-size: clamp(36px, 11vw, 46px); }
  .block-head { margin-bottom: 22px; }

  /* skills: one swipeable strip instead of seven tall cards */
  html .hscroll .h-track { display: grid; grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: min(78vw, 320px); grid-template-rows: auto auto; column-gap: 12px; align-items: stretch;
    overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0; padding: 0 var(--gutter) 6px; scroll-padding-inline: var(--gutter); transform: none !important; max-width: none; }
  .hscroll .h-track::-webkit-scrollbar { display: none; }
  html .hscroll .h-head { grid-row: 1; grid-column: 1; position: sticky; left: var(--gutter); width: calc(100vw - 2 * var(--gutter)); padding: 0 0 20px; z-index: 2; }
  html .hscroll .hcard { grid-row: 2; width: auto; height: auto; scroll-snap-align: start; padding: 14px; gap: 12px; }
  .hscroll .hcard .art { min-height: 168px; padding: 12px; }
  .hscroll .hc-text h3 { font-size: 21px; }
  .hscroll .h-end { display: none; }
  .hscroll .h-progress { display: block; position: static; margin: 16px var(--gutter) 0; height: 2px; }

  /* process: one calm timeline card */
  html .steps { display: block; padding: 4px 20px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(27,30,40,.9), rgba(13,15,20,.95)); }
  html .steps::before, html .steps::after { display: none; }
  html .steps .step { position: relative; display: block; padding: 22px 0 22px 66px; background: none; border: 0; border-radius: 0; box-shadow: none; transform: none !important; }
  .steps .step + .step { border-top: 1px solid var(--line); }
  .steps .step .orb { position: absolute; left: 0; top: 22px; width: 48px; height: 48px; margin: 0; }
  .steps .step .orb svg { width: 22px; height: 22px; }
  .steps .step .no { top: 24px; right: 0; }
  .steps .step h3 { font-size: 19px; padding-right: 36px; }
  .steps .step p { max-width: none; margin-top: 6px; font-size: 14.5px; }
  .steps .step .meta { margin-top: 12px; padding-top: 0; border-top: 0; font: 500 11.5px/1.4 var(--body); letter-spacing: .08em; text-transform: uppercase; }

  /* rules: one list card */
  html .rules-list { display: block; padding: 4px 20px; border-radius: 28px; border: 1px solid var(--line); background: linear-gradient(150deg, rgba(27,30,40,.9), rgba(13,15,20,.95)); }
  html .rules-list .rule { display: block; background: none; border: 0; border-radius: 0; box-shadow: none; padding: 20px 0; }
  .rules-list .rule + .rule { border-top: 1px solid var(--line); }
  .rules-list .rule .no { float: right; }
  .rules-list .rule h3 { font-size: 18px; margin-bottom: 6px; }
  .rules-t { margin-bottom: 18px; }

  /* currency control: five equal buttons, nothing cut off */
  .cur { display: grid; grid-template-columns: repeat(5, 1fr); width: 100%; overflow: visible; padding: 4px; }
  .cur button { padding: 0 2px; font-size: 12.5px; flex: none; }

  /* works tabs: a soft edge hints that they scroll */
  .wtabs { -webkit-mask-image: linear-gradient(90deg, #000 86%, transparent); mask-image: linear-gradient(90deg, #000 86%, transparent); }

  /* reviews */
  .rev-top { margin-bottom: 18px; }
  .rev-actions { flex-direction: column; width: 100%; }
  .rev-actions .btn { width: 100%; justify-content: center; text-align: center; }
  .rev-empty { padding: 34px 20px; border: 1px dashed var(--line-hi); border-radius: 24px; background: rgba(255,255,255,.02); }

  /* contact */
  .contact-metal { min-height: 280px; padding: 24px 22px; border-radius: 28px; }
  .contact-metal::after { background: linear-gradient(180deg, rgba(226,230,238,0) 12%, rgba(228,232,240,.84) 78%); }
  .contact-metal h2 { font-size: clamp(30px, 9.5vw, 40px); }
  .links { padding: 8px; border-radius: 26px; gap: 6px; }
  html .links a { display: grid; grid-template-columns: 26px 1fr 16px; align-items: center; gap: 2px 14px; padding: 14px 16px; flex-wrap: nowrap; }
  .links a svg { grid-row: 1 / 3; grid-column: 1; }
  .links a b { grid-column: 2; grid-row: 1; }
  html .links a span { grid-column: 2; grid-row: 2; margin: 0; width: auto; text-align: left; font-size: 13.5px; }
  .links a:not([data-copy])::after { content: "\2197"; position: static; inset: auto; grid-column: 3; grid-row: 1 / 3; background: none; opacity: 1; color: var(--muted); font-size: 15px; display: block; }
  .lead-cta .btn { min-height: 52px; }

  /* footer: the line comes first, the big word closes the page */
  .foot { display: flex; flex-direction: column; padding-top: 46px; }
  .foot-row { position: static; order: -1; padding: 0 var(--gutter) 14px; }
  .foot-giant { font-size: 19vw; }
}
.rev-avg[hidden] { display: none; }
@media (max-width: 700px) { .price.block { padding-top: 28px; } #work.block { padding-bottom: 8px; } }
.lead-cta .btn, .rev-actions .btn { display: inline-flex; align-items: center; justify-content: center; text-align: center; }

/* phones: the 3D layer is as tall as the large viewport, so it never stretches when the browser bar moves */
@supports (height: 100lvh) { html.touch #scene { height: 100lvh; } }

/* the request window keeps one height on all three steps */
@media (max-width: 760px) {
  .modal-card { height: min(88svh, 640px); max-height: none; }
  .modal-main { overflow-x: hidden; }
  html.kb .modal-card { height: 100%; }
}
.chip input:focus:not(:focus-visible) + span { outline: none; }
