/* ============ FONTS (self-hosted, latin + cyrillic) ============ */
@font-face{font-family:"Unbounded";font-weight:800;font-display:swap;src:url(../assets/fonts/unbounded-latin-800-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:"Unbounded";font-weight:800;font-display:swap;src:url(../assets/fonts/unbounded-cyrillic-800-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:"Unbounded";font-weight:400;font-display:swap;src:url(../assets/fonts/unbounded-latin-400-normal.woff2) format("woff2");unicode-range:U+0000-00FF,U+2000-206F,U+2122}
@font-face{font-family:"Unbounded";font-weight:400;font-display:swap;src:url(../assets/fonts/unbounded-cyrillic-400-normal.woff2) format("woff2");unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}

/* ============ TOKENS ============ */
:root{
  --bg:#04060c;
  --bg-2:#070b18;
  --navy:#0a1330;
  --blue:#1747ff;      /* electric blue from the banner */
  --blue-hi:#3a66ff;
  --ice:#9cbcff;
  --text:#e8edf7;
  --dim:#6b7aa0;
  --line:rgba(120,150,255,.18);
  --display:"Unbounded",system-ui,sans-serif;
  --mono:"Unbounded",system-ui,sans-serif;     /* small labels: Unbounded Regular */
  --body:"Unbounded",system-ui,sans-serif;
  --pad:clamp(16px,2.4vw,36px);
  --header-h:72px;
  --ease:cubic-bezier(.22,1,.36,1);            /* strong ease-out: things entering, settling, responding */
  --ease-out:var(--ease);
  --ease-in-out:cubic-bezier(.77,0,.175,1);    /* strong ease-in-out: things moving across the screen */
  --ease-drawer:cubic-bezier(.32,.72,0,1);     /* iOS-like sheet: the case view */
  --ease-soft:cubic-bezier(.45,0,.55,1);       /* gentle in-out: the hero's slow colour changes */
}

*,*::before,*::after{box-sizing:border-box}
html{background:var(--bg);color:var(--text);-webkit-text-size-adjust:100%;scrollbar-gutter:stable}  /* no width jump when the scrollbar appears */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
body{margin:0;font-family:var(--body);background:var(--bg);overflow-x:hidden;-webkit-font-smoothing:antialiased}
body.is-loading{overflow:hidden;height:100vh;touch-action:none;overscroll-behavior:none}
html.is-loading{overflow:hidden}   /* iOS ignores overflow on body alone; a class, not :has() — :has() on html re-styled the whole page whenever Lenis toggled its classes */
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer;padding:0}
img{display:block;max-width:100%}
.mono{font-family:var(--mono);font-weight:400;font-size:10.5px;letter-spacing:.08em;text-transform:uppercase;line-height:1.6}
::selection{background:var(--blue);color:#fff}

/* film grain over everything */
body::after{
  content:"";position:fixed;inset:-50%;z-index:90;pointer-events:none;opacity:.06;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* static on purpose: animating a full-screen layer makes Safari repaint every frame */
}
@keyframes grain{0%{transform:translate(0,0)}20%{transform:translate(-3%,2%)}40%{transform:translate(2%,-3%)}60%{transform:translate(-2%,-1%)}80%{transform:translate(3%,3%)}100%{transform:translate(0,0)}}

/* ============ LOADER (minimal) ============ */
.loader{position:fixed;inset:0;z-index:100;background:#000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;transition:opacity .6s ease-out}
.loader.is-done{opacity:0;pointer-events:none}
.loader__line{width:min(220px,50vw);height:1px;background:rgba(156,188,255,.14);overflow:hidden}
.loader__line i{display:block;height:100%;width:100%;background:var(--blue-hi);box-shadow:0 0 8px var(--blue);transform:scaleX(0);transform-origin:left}
.loader__count{color:var(--dim);font-variant-numeric:tabular-nums;letter-spacing:.12em}

/* ============ SCROLL PROGRESS ============ */
.progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:60;pointer-events:none;background:rgba(120,150,255,.08)}
.progress i{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:left center;
  background:linear-gradient(90deg,var(--blue) 0%,var(--blue-hi) 70%,var(--ice) 100%);
  box-shadow:0 0 12px rgba(23,71,255,.8),0 0 2px rgba(156,188,255,.9);will-change:transform}   /* own layer: scaling it on scroll doesn't repaint the page */

/* ============ HEADER ============ */
.header{position:fixed;top:0;left:0;right:0;z-index:50;height:var(--header-h);display:flex;align-items:center;justify-content:space-between;padding:0 var(--pad);pointer-events:none}
.header>*{pointer-events:auto}
@keyframes spin{to{transform:rotate(360deg)}}
.header__right{display:flex;align-items:center;gap:10px;margin-left:auto}

.pill{position:relative;display:inline-flex;align-items:center;gap:10px;height:42px;padding:0 6px 0 18px;border-radius:999px;
  font-family:var(--mono);font-size:11px;letter-spacing:.06em;text-transform:uppercase;transition:scale .16s var(--ease-out)}
.pill__icon{position:relative;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;color:#fff;transition:transform .4s var(--ease);
  background:radial-gradient(120% 120% at 30% 20%,#5f86ff 0%,var(--blue) 45%,#0d2fd1 100%);
  box-shadow:inset 0 1px 1px rgba(255,255,255,.7),inset 0 -2px 4px rgba(0,0,40,.35),0 0 16px rgba(23,71,255,.6)}
.pill__icon svg{width:14px;height:14px}
@media (hover:hover) and (pointer:fine){.pill--cta:hover .pill__icon svg{animation:ring .7s ease-in-out}}
@keyframes ring{0%,100%{rotate:0deg}15%{rotate:-16deg}30%{rotate:14deg}45%{rotate:-10deg}60%{rotate:6deg}75%{rotate:-2deg}}
.pill--menu{padding:0 16px 0 18px}
.burger{display:flex;flex-direction:column;gap:5px;width:16px}
.burger i{display:block;height:1.5px;background:currentColor;transition:transform .4s var(--ease)}
.menu-open .burger i:first-child{transform:translateY(3.25px) rotate(45deg)}
.menu-open .burger i:last-child{transform:translateY(-3.25px) rotate(-45deg)}

.lang{position:relative;display:flex;height:42px;padding:4px;border-radius:999px}
.lang__btn{position:relative;z-index:2;width:42px;border-radius:999px;font-family:var(--mono);font-size:11px;letter-spacing:.06em;color:var(--dim);transition:color .3s}
.lang__btn.is-active{color:#fff}
/* the glass droplet that slides (and stretches) between languages */
.lang__pill{position:absolute;z-index:1;top:4px;bottom:4px;left:4px;width:42px;border-radius:999px;transform-origin:center;
  translate:var(--x,0px) 0;transition:translate .45s var(--ease-in-out);
  background:linear-gradient(180deg,rgba(80,118,255,.55),rgba(23,71,255,.75));
  box-shadow:inset 0 1px 1px rgba(255,255,255,.75),inset 0 -2px 6px rgba(0,0,60,.35),inset 0 0 10px rgba(156,188,255,.35),0 4px 18px rgba(23,71,255,.55)}

/* ============ MENU OVERLAY ============ */
.lang.is-moving .lang__pill{animation:squish .6s var(--ease-in-out)}
@keyframes squish{0%{scale:1 1}30%{scale:1.3 .9}65%{scale:.96 1.04}100%{scale:1 1}}

.menu{position:fixed;inset:0;z-index:45;background:linear-gradient(160deg,rgba(30,48,110,.38),rgba(4,6,12,.72) 60%);
  backdrop-filter:blur(28px) saturate(170%);-webkit-backdrop-filter:blur(28px) saturate(170%);
  display:flex;flex-direction:column;justify-content:center;padding:calc(var(--header-h) + 20px) var(--pad) var(--pad);
  clip-path:inset(0 0 100% 0);transition:clip-path .45s var(--ease);visibility:hidden}
.menu-open .menu{clip-path:inset(0 0 0 0);visibility:visible}
.menu__grid{position:absolute;inset:0;background-image:linear-gradient(var(--line) 1px,transparent 1px),linear-gradient(90deg,var(--line) 1px,transparent 1px);background-size:80px 80px;opacity:.25;mask-image:radial-gradient(circle at 50% 50%,#000,transparent 70%)}
.menu__list{position:relative;list-style:none;margin:0;padding:0}
.menu__list li{border-top:1px solid var(--line);overflow:hidden}
.menu__list li:last-child{border-bottom:1px solid var(--line)}
.menu__list a{display:flex;align-items:baseline;gap:24px;padding:14px 0;transform:translateY(110%);transition:transform .45s var(--ease),color .3s}
.menu-open .menu__list a{transform:none}
.menu-open .menu__list li:nth-child(2) a{transition-delay:.04s}
.menu-open .menu__list li:nth-child(3) a{transition-delay:.08s}
.menu-open .menu__list li:nth-child(4) a{transition-delay:.12s}
.menu-open .menu__list li:nth-child(5) a{transition-delay:.16s}
.menu__list span{color:var(--blue-hi);min-width:60px}
.menu__list b{font-family:var(--display);font-weight:800;font-size:clamp(34px,6.5vw,88px);text-transform:uppercase;line-height:1}
@media (hover:hover) and (pointer:fine){.menu__list a:hover{color:var(--blue-hi)}}

/* ============ HERO ============ */
.hero{position:relative;height:320vh}
.hero__pin{position:sticky;top:0;height:100vh;height:100lvh;overflow:hidden;background:#000}
.hero__bg{position:absolute;inset:0}
/* the scene fades to pure black at the bottom, so it meets the next block without a step.
   It sits above the background and the front haze (z 2) but under the cat and the button (board, z 3). */
.hero__pin::after{content:"";position:absolute;left:0;right:0;bottom:0;height:calc(18% + var(--cut,0px));z-index:2;pointer-events:none;
  background:linear-gradient(#000,#000) bottom/100% var(--cut,0px) no-repeat,linear-gradient(180deg,rgba(0,0,0,0),#000 80%) top/100% calc(100% - var(--cut,0px)) no-repeat}   /* phones: the fade ends where Results starts (--cut, main.js) and it's solid black below, also while the scene is still pinned */

/* atmosphere (full bleed, outside the artboard) */
/* dollar pattern on the wall: thin, very faint, diagonal, static.
   The tile is pre-rotated and seamless (assets/dollars.svg), so there's no rotated layer or mask
   for the browser to recomposite while scrolling. It ends at the floor line (--horizon, set by JS). */
.hero__pattern{position:absolute;left:0;right:0;top:0;height:var(--horizon,70%);overflow:hidden}
.hero__pattern::before{content:"";position:absolute;inset:0;opacity:.03;background:url(../assets/dollars.svg) 0 0/400px 400px repeat}
.hero__pattern::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#000 0%,rgba(0,0,0,0) 12%,rgba(0,0,0,0) 70%,#000 100%)}
/* the beam: one pre-rendered soft cone (assets/beam.webp, 9 KB) instead of stacked gradients,
   so its edges fade smoothly with no visible borders or banding. Sized by the screen height,
   like the artboard, so it keeps its shape relative to the cat. */
.hero__light{position:absolute;left:50%;top:0;height:100%;aspect-ratio:4/5;pointer-events:none;opacity:.72;
  background:url(../assets/beam.webp) center top/100% 100% no-repeat;
  translate:calc(-50% + var(--px,0) * 2%) 0;transition:translate 1.6s var(--ease)}
/* as you scroll the beam opens up: a static, already-widened copy fades in on top.
   Only its opacity changes, which the browser does without repainting (scaling it per frame cost ~8ms). */
.hero__light--wide{aspect-ratio:1.83;height:104%;opacity:calc(var(--beam,0) * .6);will-change:opacity}
.hero__floor{position:absolute;left:0;right:0;bottom:0;top:var(--horizon,70%);opacity:.6;
  background:radial-gradient(ellipse 45% 40% at 50% 0%,rgba(58,102,255,.10),transparent 70%),linear-gradient(180deg,rgba(8,12,26,0),rgba(6,9,20,.75) 35%,#010103 100%);
  border-top:1px solid rgba(140,170,255,.07)}
.haze{position:absolute;left:-20%;right:-20%;pointer-events:none}
.haze--back{bottom:12%;height:30%;opacity:.55;
  background:radial-gradient(ellipse 30% 50% at 30% 60%,rgba(120,150,230,.18),transparent 70%),radial-gradient(ellipse 35% 45% at 72% 55%,rgba(120,150,230,.14),transparent 70%);
}
.haze--front{bottom:-6%;height:24%;z-index:2;opacity:.6;
  background:radial-gradient(ellipse 40% 50% at 40% 60%,rgba(110,140,220,.14),transparent 70%),radial-gradient(ellipse 30% 40% at 80% 70%,rgba(110,140,220,.1),transparent 70%);
}
.vignette{position:absolute;inset:0;z-index:4;pointer-events:none;
  background:radial-gradient(ellipse 80% 75% at 50% 50%,transparent 50%,rgba(0,0,0,.7) 100%),linear-gradient(180deg,rgba(0,0,0,.55),transparent 18%,transparent 92%,rgba(0,0,0,.45))}

/* ---------- the artboard: 1440×900 design pixels, scaled as one piece by JS (--s) ---------- */
.board{position:absolute;left:50%;top:50%;width:1440px;height:900px;z-index:3;pointer-events:none;
  transform:translate(-50%,-50%) scale(var(--s,1));transform-origin:50% 50%}
.board a,.board button{pointer-events:auto}
.board .mono{font-size:12px}

.corner{position:absolute;z-index:5;width:34px;height:34px}
.corner--tl{left:36px;top:96px;border-left:2px solid var(--blue);border-top:2px solid var(--blue)}
.corner--br{right:364px;bottom:40px}
.corner--br::before,.corner--br::after{content:"";position:absolute;background:var(--blue)}
.corner--br::before{left:16px;top:0;bottom:0;width:2px}
.corner--br::after{top:16px;left:0;right:0;height:2px}

/* name: one line above the cat, only the ear tips reach into it (JS fits --fs) */
.hero__title{position:absolute;left:0;right:0;top:92px;margin:0 auto;width:max-content;z-index:2;
  transition:color .9s var(--ease-soft),translate .9s var(--ease-soft);
  display:flex;flex-direction:column;align-items:flex-end;
  --fs:128px;font-family:var(--display);font-weight:800;line-height:.8;letter-spacing:-.04em;font-size:var(--fs);color:#e9edf6}
.hero__row{display:flex;gap:.24em}
.hero__mask{display:block;flex:none;overflow:hidden;padding:0 .02em .04em}
.hero__word{display:inline-block;white-space:nowrap}
.hero__mask--role{padding:.1em .02em .1em}
.hero__role{display:block;font-size:30px;letter-spacing:-.01em;line-height:1;white-space:nowrap;color:#fff;transition:color .9s var(--ease-soft)}
.hero__role em{font-style:normal;color:var(--blue-hi);transition:color .9s var(--ease-soft)}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}

/* focus list with blue crosshair bullets */
.hero__list{position:absolute;z-index:5;left:70px;top:340px;list-style:none;margin:0;padding:0 0 0 26px;transition:opacity .6s,translate .6s var(--ease);
  letter-spacing:.14em;color:#e8edf7;border-left:1px solid rgba(23,71,255,.55)}
.board .hero__list{font-size:14px}
.hero__list li{position:relative;padding:6px 0}
.hero__list li::before,.hero__list li::after{content:"";position:absolute;background:var(--blue)}
.hero__list li::before{left:-34px;top:50%;width:16px;height:2px;transform:translateY(-50%)}
.hero__list li::after{left:-27px;top:calc(50% - 8px);width:2px;height:16px}

/* cat */
.hero__stage{position:absolute;left:300px;top:104px;width:840px;height:840px;z-index:3;
  translate:calc(var(--px,0) * 14px) 0;transition:translate 1.4s var(--ease)}   /* follows the cursor a little */
.cat{position:absolute;inset:0;width:100%;height:100%;transform:translateZ(0)}
.hero__stage::before{content:"";position:absolute;left:27%;top:18%;width:46%;height:52%;border-radius:50%;
  background:radial-gradient(ellipse at center,rgba(23,71,255,.2),rgba(23,71,255,.06) 50%,transparent 75%);pointer-events:none}

/* HUD labels: keyword with the banner crosshair + text + a hairline toward the cat */
.hud{position:absolute;z-index:5;max-width:330px;display:flex;gap:12px;align-items:flex-start;
  opacity:0;translate:20px 0;transition:opacity .5s,translate .5s var(--ease)}
.hud.is-in{opacity:1;translate:0 0}
.hud p{margin:0;color:var(--ice)}
.hud__tag{position:relative;flex:none;padding-left:22px;color:var(--blue-hi);line-height:1.6;letter-spacing:.12em}
.hud__tag::before,.hud__tag::after{content:"";position:absolute;background:var(--blue)}
.hud__tag::before{left:0;top:50%;width:14px;height:2px;transform:translateY(-50%)}
.hud__tag::after{left:6px;top:calc(50% - 6px);width:2px;height:14px}
.hud::after{content:"";position:absolute;top:10px;width:100px;height:1px;background:linear-gradient(90deg,rgba(58,102,255,.8),rgba(58,102,255,0))}
.hud::before{content:"";position:absolute;top:7px;width:7px;height:7px;border:1px solid var(--blue-hi)}
.hud--1{right:36px;top:380px;flex-direction:row-reverse;text-align:right}
.hud--1::after,.hud--3::after{right:calc(100% + 14px);transform:scaleX(-1)}
.hud--1::before,.hud--3::before{right:calc(100% + 114px)}
.hud--2{left:36px;top:520px;translate:-20px 0}
.hud--2.is-in{translate:0 0}
.hud--2::after{left:calc(100% + 14px)}
.hud--2::before{left:calc(100% + 114px)}
.hud--3{right:36px;top:540px;flex-direction:row-reverse;text-align:right}

/* CTA card */
.cta{position:absolute;z-index:6;right:36px;bottom:36px;width:310px;height:200px;border-radius:26px;padding:24px 26px;
  translate:var(--mx,0px) var(--my,0px);transition:translate .5s var(--ease),scale .16s var(--ease-out);
  display:flex;flex-direction:column;justify-content:space-between;color:#fff;overflow:hidden;
  background:linear-gradient(150deg,rgba(58,102,255,.85),rgba(23,71,255,.78) 50%,rgba(13,47,209,.85))!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -10px 30px rgba(0,0,60,.35),0 10px 28px -8px rgba(23,71,255,.55)!important}   /* glow ends above the scene's bottom edge, so it isn't cut into a line */
.cta__text{font-family:var(--display);font-weight:800;font-size:25px;line-height:1.12;letter-spacing:-.01em;text-transform:uppercase}
@media (min-aspect-ratio:3/4){html[lang=uk] .cta__text{font-size:22px}}   /* "ПОПРАЦЮЄМО?" is one long word: a step smaller so it keeps the card padding */
.cta__arrow{align-self:flex-end;width:62px;height:62px;transition:transform .5s var(--ease)}
@media (hover:hover) and (pointer:fine){.cta:hover .cta__arrow{transform:translateX(6px) rotate(-45deg)}}
.cta.glass{-webkit-backdrop-filter:none;backdrop-filter:none}
.cta.glass::after{background:radial-gradient(300px circle at var(--gl-x,50%) var(--gl-y,0%),rgba(255,255,255,.15),rgba(255,255,255,.06) 40%,transparent 72%)}

.hero__scroll{position:absolute;z-index:5;left:0;right:0;margin:0 auto;width:max-content;bottom:40px;display:flex;align-items:center;gap:10px;color:var(--dim);transition:opacity .4s}
/* while the cat turns the name steps back: a darker but solid colour (opacity would let the dollars show through) */
.hero.is-turning .hero__title{color:#7c8293}
.hero.is-turning .hero__role{color:#7c8293}
.hero.is-turning .hero__role em{color:#3550c4}
.hero.is-scrolled .hero__list{opacity:0;translate:-30px 0}
.hero.is-scrolled .hero__scroll{opacity:0}
.hero__scroll i{position:relative;width:1px;height:28px;background:var(--line);overflow:hidden}
/* moved with transform (no layout or repaint per frame), and stopped once the hint has faded out */
.hero__scroll i::after{content:"";position:absolute;left:0;top:0;width:1px;height:40%;background:var(--ice);transform:translateY(-100%);animation:drip 1.6s var(--ease) infinite}
.hero.is-scrolled .hero__scroll i::after{animation-play-state:paused}
@keyframes drip{to{transform:translateY(250%)}}

/* ---------- portrait screens: a 390×844 artboard ---------- */
@media (max-aspect-ratio:3/4){
  .vignette{z-index:2}   /* phones: the full-width button sits low, keep it out of the shade */
  .board{width:390px;height:844px}   /* width-fitted; JS sets the height to the real screen height */
  .hero__pattern::before{background-size:230px 230px}
  .board .mono{font-size:10.5px}
  .corner--tl{left:10px;top:70px;width:26px;height:26px}
  .corner--br,.hero__list,.hero__scroll{display:none}
  .hero__title{left:26px;right:16px;top:84px;margin:0;width:auto;align-items:flex-start}
  .hero__row{flex-direction:column;gap:0}
  .hero__role{font-size:15px}
  .hero__stage{left:-40px;top:300px;width:470px;height:470px}   /* real size and place are set by JS */
  .hud{max-width:none;left:16px!important;right:16px!important;top:auto!important;bottom:138px;flex-direction:column!important;gap:6px;text-align:left!important}
  .hud::before,.hud::after{display:none}
  .hud p br{display:none}
  .hud__dup{display:none}   /* the title right above already says it */
  .board .hud p{font-size:12px;line-height:1.55}
  .cta{left:16px;right:16px;bottom:16px;width:auto;height:82px;padding:0 20px 0 22px;flex-direction:row;align-items:center;border-radius:22px}
  .cta__text{font-size:18px;white-space:nowrap}
  .cta{box-shadow:inset 0 1px 0 rgba(255,255,255,.55),inset 0 -10px 30px rgba(0,0,60,.35),0 -8px 24px -10px rgba(23,71,255,.55)!important}   /* glow goes up, not into the scene edge 16px below */
  .cta__text br{display:none}
  .cta__arrow{width:42px;height:42px;align-self:center}
}

/* ---------- skills: glass panels on the studio stage (js/skills.js) ---------- */
.skills{position:relative;z-index:1;height:400vh;background:var(--bg);margin-top:-24px}   /* small overlap under the cases block (which is on top): the heading glow isn't cut by its edge */
.cases.is-collapsed #cmoreEnd{display:none}   /* the empty end-of-list slot took 36–56px under "Show all": the folded list was taller below the button than the open one, so everything after it jumped */
.cases{z-index:2}   /* the cases block lies over the stage's empty top (open or folded), so its button is never covered; the cases block lies over the stage's empty top, so "Show less" isn't covered. The overlap itself never changes (it used to switch to 0 here, and everything under the button jumped when the list folded) */
.skills__pin{position:sticky;top:0;height:100vh;height:100lvh;overflow:hidden;--hz:78%}   /* the large viewport: when Safari's bars collapse the stage still fills the screen, no empty strip under it */
/* the bottom of the stage fades to pure black (over the floor and the reflection, under the counter), so it meets the
   contact block's black without a line */
.skills__pin::after{content:"";position:absolute;left:0;right:0;bottom:0;height:min(22%,190px);z-index:5;pointer-events:none;
  background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,.35) 35%,rgba(0,0,0,.8) 70%,#000 100%)}
.sk-studio{position:absolute;inset:0;background:#000}   /* opaque: Safari doesn't have to blend the stage with the page under it */
/* the top of the stage is the cases block's colour, fading to black: an opaque layer over the beam and the shade, no masks */
.sk-studio::after{content:"";position:absolute;left:0;right:0;top:0;height:62%;z-index:3;pointer-events:none;
  background:linear-gradient(180deg,rgba(4,6,12,1) 0%,rgba(4,6,12,0.985) 10%,rgba(4,6,12,0.94) 20%,rgba(4,6,12,0.86) 30%,rgba(4,6,12,0.75) 40%,rgba(4,6,12,0.62) 50%,rgba(4,6,12,0.48) 60%,rgba(4,6,12,0.34) 70%,rgba(4,6,12,0.2) 80%,rgba(4,6,12,0.08) 90%,rgba(4,6,12,0) 100%)}   /* eased: no visible crease where the cases block's flat colour starts to darken */
.sk-beam{position:absolute;left:50%;top:0;width:min(1100px,120vw);height:104%;translate:-50% 0;pointer-events:none;
  background:radial-gradient(ellipse 26% 92% at 50% 0%,rgba(156,188,255,.22),rgba(58,102,255,.14) 30%,rgba(23,71,255,.05) 60%,transparent 78%)}
/* the floor glow sits inside its box and fades out before any edge: no line where the floor starts */
.sk-floor{position:absolute;left:0;right:0;bottom:0;top:calc(var(--hz) - 120px);
  background:radial-gradient(ellipse 42% 34% at 50% 120px,rgba(58,102,255,.15),transparent 100%),linear-gradient(180deg,rgba(1,1,3,0) 0%,rgba(1,1,3,0) 110px,rgba(6,9,20,.7) 45%,#010103 100%)}
.sk-vig{position:absolute;inset:0;z-index:2;pointer-events:none;
  background:radial-gradient(ellipse 80% 75% at 50% 50%,transparent 50%,rgba(0,0,0,.75) 100%),linear-gradient(180deg,transparent 80%,rgba(0,0,0,.6))}
.sk-corner{position:absolute;z-index:6;width:34px;height:34px;pointer-events:none}
/* mirrored against the first block: the corner sits top right, the cross bottom left */
.sk-corner--tl{right:clamp(16px,2.5vw,36px);top:clamp(80px,12vh,110px);border-right:2px solid var(--blue);border-top:2px solid var(--blue)}
.sk-corner--br{left:clamp(16px,2.5vw,36px);bottom:clamp(20px,4vh,40px)}
.sk-corner--br::before,.sk-corner--br::after{content:"";position:absolute;background:var(--blue)}
.sk-corner--br::before{left:16px;top:0;bottom:0;width:2px}
.sk-corner--br::after{top:16px;left:0;right:0;height:2px}
.sk-head{position:absolute;left:50%;top:clamp(76px,10vh,104px);translate:-50% 0;z-index:5;text-align:center;width:max-content;max-width:90vw}
.sk-head::before{content:"";position:absolute;left:50%;top:44%;width:min(1100px,96vw);height:380%;translate:-50% -50%;pointer-events:none;z-index:-1;
  background:radial-gradient(ellipse 42% 36% at 50% 50%,rgba(58,102,255,.20),rgba(23,71,255,.07) 50%,rgba(23,71,255,.018) 68%,transparent 80%)}   /* soft pool behind the heading, same recipe as Results and Cases */
.sk-title{margin:0;font-family:var(--display);font-weight:800;font-size:clamp(40px,5.6vw,84px);letter-spacing:-.035em;line-height:.92;text-transform:uppercase;color:var(--text)}   /* same size as the Results and Cases headings */
.sk-note{margin:14px 0 0;color:var(--dim)}
.sk-stage{position:absolute;inset:0;z-index:4}
/* each panel gets the perspective on its own (no shared 3D space): the browser doesn't sort them in depth every frame;
   the stacking order comes from z-index (js/skills.js) */
.sk-track{position:absolute;left:50%;top:calc(var(--hz) - var(--ph));width:0;height:var(--ph);perspective:1300px;perspective-origin:50% 17%;--ph:min(460px,52vh);--pw:min(320px,70vw)}
.sk-panel{position:absolute;left:0;top:0;width:var(--pw);height:var(--ph);margin-left:calc(var(--pw) / -2);contain:layout style}
/* glass without backdrop blur: only black is behind, and blur would be recomputed every frame the panels move */
.sk-face{position:absolute;inset:0;border-radius:28px;isolation:isolate;
  background:linear-gradient(135deg,rgba(255,255,255,.13) 0%,rgba(255,255,255,.04) 45%,rgba(120,150,255,.07) 100%),#080b17;   /* opaque glass: the panels behind don't show through */
  box-shadow:inset 0 1px 0 rgba(255,255,255,.38),inset 0 -1px 0 rgba(255,255,255,.08),inset 1px 0 0 rgba(255,255,255,.10),inset 0 0 22px rgba(156,188,255,.10),0 10px 30px rgba(0,0,0,.35)}
.sk-face{border:1px solid rgba(255,255,255,.16);border-top-color:rgba(255,255,255,.34);border-left-color:rgba(255,255,255,.24)}   /* hairline rim, no mask: masks cost a render pass each */
/* lit state: switched at once (one repaint per switch; a fade would repaint the moving panel every frame, which Safari feels) */
.sk-face::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;visibility:hidden;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 0 40px rgba(58,102,255,.25),0 0 0 1px rgba(58,102,255,.55)}
/* the big blue glow stays put under the spotlight and fades while the panels move (js/skills.js sets its opacity),
   instead of jumping from one moving panel to the next halfway through the switch */
.sk-halo{position:absolute;left:50%;top:calc(var(--hz) - var(--ph) * 1.12);width:calc(var(--pw) * 1.9);height:calc(var(--ph) * 1.4);margin-left:calc(var(--pw) * -.95);pointer-events:none;
  --ph:min(460px,52vh);--pw:min(320px,70vw);
  /* a soft pool of light, filled and edgeless (a box-shadow leaves a dark hole where its box is once the panel moves away) */
  background:radial-gradient(ellipse 34% 40% at 50% 52%,rgba(23,71,255,.30),rgba(23,71,255,.12) 55%,transparent 100%),
             radial-gradient(ellipse 30% 9% at 50% 80%,rgba(58,102,255,.45),rgba(58,102,255,.12) 55%,transparent 100%);
  will-change:opacity}
.sk-panel.is-on .sk-face::after{visibility:visible}
.sk-in{position:relative;z-index:1;height:100%;display:flex;flex-direction:column;padding:26px 24px 22px;opacity:.4;transition:opacity .3s var(--ease-out)}
.sk-panel.is-on .sk-in{opacity:1}
.sk-n{display:flex;justify-content:space-between;color:var(--ice)}
.sk-n b{font-weight:800;color:#fff}
.sk-big{margin:auto 0 0;font-family:var(--display);font-weight:800;font-size:clamp(64px,8vw,104px);line-height:.8;letter-spacing:-.06em;color:transparent;
  background:linear-gradient(180deg,rgba(233,237,246,.9),rgba(233,237,246,.08));-webkit-background-clip:text;background-clip:text}
.sk-t{margin:14px 0 8px;font-family:var(--display);font-weight:800;font-size:clamp(20px,2vw,26px);letter-spacing:-.03em;text-transform:uppercase;line-height:1;color:#e9edf6}
.sk-d{margin:0 0 14px;font-size:11.5px;line-height:1.6;color:var(--ice);letter-spacing:.05em}
.sk-chips{display:flex;flex-wrap:wrap;gap:6px}
.sk-chips span{font-family:var(--display);font-size:10.5px;letter-spacing:.04em;padding:6px 10px;border-radius:999px;border:1px solid rgba(255,255,255,.16);background:rgba(255,255,255,.05);color:#fff;white-space:nowrap}
/* reflection on the floor: a flipped copy that moves with its panel */
.sk-refl{position:absolute;left:0;right:0;top:calc(100% + 6px);height:100%;transform:scaleY(-1);pointer-events:none;opacity:.22;visibility:hidden;
  }
.sk-refl::after{content:"";position:absolute;inset:-2px;background:linear-gradient(180deg,#020309 0%,#020309 52%,rgba(2,3,9,.55) 80%,rgba(2,3,9,0) 100%);pointer-events:none}   /* fades the copy into the floor */
.sk-panel.is-on .sk-refl{visibility:visible}   /* only the lit panel is reflected: masked layers are costly */
.sk-refl .sk-in,.sk-panel .sk-refl .sk-in{opacity:1;transition:none}
.skills.is-near .sk-panel:is(.is-on,.was-on)>.sk-face>.sk-in{will-change:opacity}   /* the text of the two panels in the switch fades on its own layer */
.sk-panel{cursor:pointer;outline:none}
.sk-panel.is-on{cursor:default}
.sk-panel:focus-visible .sk-face{outline:2px solid var(--blue-hi);outline-offset:4px}
@media (hover:hover) and (pointer:fine){.sk-panel:not(.is-on):hover .sk-in{opacity:.6}}
.sk-prog{position:absolute;right:clamp(20px,4vw,56px);bottom:clamp(20px,5vh,44px);z-index:6;display:flex;gap:10px;align-items:center;color:var(--dim)}
.sk-prog b{color:#fff;font-weight:400}
.sk-prog i{display:block;width:120px;height:2px;background:rgba(156,188,255,.15);overflow:hidden}
.sk-prog s{display:block;height:100%;background:var(--blue);box-shadow:0 0 8px var(--blue);transform:scaleX(0);transform-origin:0 50%;text-decoration:none;will-change:transform}
@media (max-width:760px){
  .skills{height:380vh;margin-top:-64px}   /* phones: the heading comes right after "Show all" */
  /* phones: the stage still fills the large viewport (no empty strip when Safari's bars collapse), but the cards are placed
     in the SMALL viewport: with Safari's bottom bar showing they stay above it, right under the heading */
  :root{--skph:clamp(300px,calc(100svh - 326px),420px)}
  .skills__pin{--ph:var(--skph);--hz:calc(230px + var(--ph))}   /* cards start right under the subtitle */
  /* the stage is the large viewport tall, but only its top (heading, cards, counter) is used: the contact block slides
     up over the empty floor under the counter, so there's no long black gap between the two blocks */
  .skills + .contact{margin-top:min(0px,calc(350px + var(--skph) - 100lvh))}   /* edge at hz + 120px: the floor under the counter is already black there */
  /* the contact block covers the stage's floor here: a short fade above its edge, so the reflection doesn't end on a line */
  .contact::before{content:"";position:absolute;left:0;right:0;bottom:100%;height:36px;pointer-events:none;background:linear-gradient(180deg,rgba(0,0,0,0),#000)}
  .skills__pin::after{top:calc(var(--hz) + 60px);bottom:0;height:auto;background:linear-gradient(180deg,rgba(0,0,0,0),#000 40px)}   /* black by hz + 100px, before the contact block's edge (hz + 120px) */
  .sk-track,.sk-halo{--ph:inherit}
  .sk-prog{bottom:auto;top:calc(var(--hz) + 44px)}
  .sk-corner--br{bottom:auto;top:calc(var(--hz) + 34px)}
  .sk-head{top:84px}
  .sk-prog i{width:64px}
  .sk-corner--tl{top:64px;width:26px;height:26px}   /* clear of the subtitle on narrow screens */
}

/* short fade that hides menu jumps through the first block (main.js) */
.veil{position:fixed;inset:0;z-index:44;background:var(--bg);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .26s ease,visibility 0s .26s}
.veil.is-on{opacity:1;visibility:visible;transition:opacity .26s ease}

/* ============ LIQUID GLASS ============ */
.glass{
  isolation:isolate;
  background:linear-gradient(135deg,rgba(255,255,255,.13) 0%,rgba(255,255,255,.04) 45%,rgba(120,150,255,.07) 100%);
  -webkit-backdrop-filter:blur(16px) saturate(180%) brightness(1.08);backdrop-filter:blur(16px) saturate(180%) brightness(1.08);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.38),          /* top specular edge */
    inset 0 -1px 0 rgba(255,255,255,.08),
    inset 1px 0 0 rgba(255,255,255,.10),
    inset 0 0 22px rgba(156,188,255,.10),         /* inner glow */
    0 10px 30px rgba(0,0,0,.35);
}
/* hairline rim with a light gradient, like the edge of a lens */
.glass::before{content:"";position:absolute;inset:0;border-radius:inherit;padding:1px;pointer-events:none;z-index:-1;
  background:linear-gradient(140deg,rgba(255,255,255,.55),rgba(255,255,255,.06) 35%,rgba(120,150,255,.12) 65%,rgba(255,255,255,.35));
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude}
/* soft caustic highlight that follows the cursor (set by JS) */
.glass::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;z-index:-1;opacity:var(--gl-o,0);transition:opacity .4s;
  background:radial-gradient(120px circle at var(--gl-x,50%) var(--gl-y,0%),rgba(255,255,255,.22),transparent 60%)}
@media (hover:hover) and (pointer:fine){.glass:hover{--gl-o:1}}
/* Chromium can refract what is behind the glass */
.refract .glass{-webkit-backdrop-filter:url(#lg-refract) blur(14px) saturate(180%) brightness(1.08);backdrop-filter:url(#lg-refract) blur(14px) saturate(180%) brightness(1.08)}

/* ============ NUMBERS ============ */
.nums{position:relative;z-index:1;overflow:hidden;
  background:linear-gradient(180deg,#000 0,var(--bg) 360px);   /* starts exactly where the hero ends: no line, no colour step */
  padding:clamp(60px,6.8vw,104px) 0 clamp(36px,4.4vw,64px)}
/* a soft electric-blue glow behind the big number, so the block carries on the hero's light */
.nums::before{content:"";position:absolute;left:50%;top:0;width:min(1400px,120vw);height:1100px;translate:-50% 0;pointer-events:none;
  background:radial-gradient(ellipse 45% 34% at 50% 48%,rgba(23,71,255,.15),rgba(23,71,255,.04) 55%,transparent 72%)}   /* fades out well before the top edge */
/* electric-blue haze behind the heading, so "Results" isn't flat after the lit scene of the first block */
.nums::after{content:"";position:absolute;left:0;top:0;width:min(1100px,90vw);height:min(820px,100%);pointer-events:none;
  background:radial-gradient(ellipse 52% 40% at 26% 46%,rgba(58,102,255,.20),rgba(23,71,255,.07) 48%,rgba(23,71,255,.02) 66%,transparent 78%)}
.nums__in{position:relative;max-width:1368px;margin:0 auto;padding:0 clamp(20px,3vw,36px)}
.tag{display:inline-flex;align-items:center;gap:12px;color:var(--blue-hi);font-size:12px}
.tag i{position:relative;width:14px;height:14px;flex:none}
.tag i::before,.tag i::after{content:"";position:absolute;background:var(--blue)}
.tag i::before{left:0;right:0;top:6px;height:2px}
.tag i::after{top:0;bottom:0;left:6px;width:2px}
.nums__head{display:grid;grid-template-columns:1fr auto;align-items:end;gap:16px 40px;margin-bottom:clamp(28px,3.4vw,52px)}
.nums__title{margin:0;font-family:var(--display);font-weight:800;font-size:clamp(40px,5.6vw,84px);line-height:.92;letter-spacing:-.035em;color:var(--text);text-transform:uppercase}
.nums__note{margin:0;color:var(--dim);text-align:right;white-space:nowrap}   /* two even lines, set by the <br> */

.nums__hero{position:relative;display:flex;align-items:flex-end;gap:clamp(16px,3vw,48px);padding-bottom:clamp(28px,4vw,56px);border-bottom:1px solid var(--line)}
.nums__big{font-family:var(--display);font-weight:800;font-size:clamp(150px,24vw,360px);line-height:.78;letter-spacing:-.06em;color:#e9edf6;white-space:nowrap}
.nums__big em,.cell__num em{font-style:normal;color:var(--blue-hi)}
.nums__lbl{position:relative;margin:0 0 .7em auto;max-width:280px;padding-left:96px;color:var(--ice);font-size:13px}
.nums__lbl::before{content:"";position:absolute;left:0;top:.8em;width:80px;height:1px;background:linear-gradient(90deg,rgba(58,102,255,0),rgba(58,102,255,.9))}

.nums__grid{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,1fr)}
.cell{position:relative;padding:clamp(28px,3.2vw,48px) clamp(20px,2.4vw,36px) clamp(28px,3vw,44px);border-bottom:1px solid var(--line)}
.cell:not(:nth-child(3n+1)){border-left:1px solid var(--line)}
/* blue corner brackets, like the hero's */
.cell::before,.cell::after{content:"";position:absolute;width:18px;height:18px;border:0 solid var(--blue);opacity:0;transition:opacity .5s}
.cell::before{left:-1px;top:-1px;border-top-width:2px;border-left-width:2px}
.cell::after{right:-1px;bottom:-1px;border-bottom-width:2px;border-right-width:2px}
@media (hover:hover) and (pointer:fine){.cell:hover::before,.cell:hover::after{opacity:1}}
.cell__num{font-family:var(--display);font-weight:800;font-size:clamp(56px,6.6vw,104px);line-height:.9;letter-spacing:-.045em;color:var(--text);white-space:nowrap}
.cell__lbl{margin:18px 0 0;color:var(--ice);font-size:12px}
.count{font-variant-numeric:tabular-nums}

/* entrance: rows rise in one after another when the block scrolls into view (JS adds .is-in) */
.nums .reveal,.nums__hero,.cell{opacity:0;translate:0 40px;transition:opacity .9s var(--ease),translate .9s var(--ease)}
.nums__head{opacity:0;translate:0 24px;transition:opacity .8s var(--ease),translate .8s var(--ease)}
.nums.is-in .nums__head,.nums.is-in .nums__hero,.nums.is-in .cell{opacity:1;translate:0 0}
.nums.is-in .nums__hero{transition-delay:.12s}
.nums.is-in .cell{transition-delay:calc(.3s + var(--i) * .08s)}

@media (max-width:900px){
  .nums__grid{grid-template-columns:1fr 1fr}
  .cell:not(:nth-child(3n+1)){border-left:0}
  .cell:nth-child(2n){border-left:1px solid var(--line)}
}
@media (max-width:640px){
  .nums{padding-top:28px}   /* phones: Results starts right under the hero's button (the gap was ~135px) */
  .nums__head{grid-template-columns:1fr}
  .nums__note{text-align:left}
  .nums__hero{flex-direction:column;align-items:flex-start;gap:14px}
  .nums__lbl{margin:0;padding-left:0}
  .nums__big{font-size:clamp(76px,23vw,104px)}
  .nums__lbl::before{display:none}
  .nums__hero{padding-bottom:22px}
  /* two columns on phones: six short stats read at a glance instead of six screens of giant digits */
  .cell{padding:20px 12px 18px 14px}
  .cell:nth-child(2n+1){padding-left:2px}
  .cell__num{font-size:clamp(32px,10vw,42px)}
  .cell__lbl{margin-top:10px;font-size:10.5px;line-height:1.45}
  .cell__lbl br{display:none}
}

/* ============ CASES OUTSIDE iGAMING ============ */
.cases{position:relative;background:linear-gradient(180deg,var(--bg) calc(100% - 70px),rgba(4,6,12,0));   /* the bottom fades out, so the Skills heading glow behind it isn't cut by an edge */padding:clamp(40px,4.6vw,68px) 0 clamp(20px,2.4vw,36px);overflow:hidden;overflow:clip}
.cases__in{max-width:1368px;margin:0 auto;padding:0 clamp(20px,3vw,36px)}
.cases__head{position:relative;display:grid;grid-template-columns:1fr auto;align-items:stretch;gap:16px 40px;margin-bottom:clamp(28px,3.4vw,52px)}
/* blue haze behind the heading, like the one under "Results" */
.cases__head::before{content:"";position:absolute;left:-12%;top:-70%;width:min(1000px,80vw);height:240%;pointer-events:none;z-index:-1;
  background:radial-gradient(ellipse 46% 38% at 34% 50%,rgba(58,102,255,.18),rgba(23,71,255,.06) 50%,rgba(23,71,255,.015) 68%,transparent 80%)}
.cases__title{margin:0;font-family:var(--display);font-weight:800;font-size:clamp(40px,5.6vw,84px);line-height:.92;letter-spacing:-.035em;text-transform:uppercase;color:var(--text)}
.cases__count{display:flex;flex-direction:column;align-items:flex-end;padding-right:56px}
.cases__count{--tf:clamp(40px,5.6vw,84px);padding-top:calc(var(--tf) * .04)}   /* --tf: the heading's font size */
.cases__note{margin-top:auto!important;margin-bottom:0!important}   /* 25 lines up with the top of OUTSIDE, the years with the baseline of IGAMING */   /* right edge lines up with the case figures (row padding + arrow column + gap) */
.cases__big{font-family:var(--display);font-weight:800;font-size:calc(var(--tf) * 1.04);line-height:.85;letter-spacing:-.05em;color:#e9edf6}
.cases__row{display:flex;align-items:baseline;gap:10px}
.cases__lbl{color:var(--ice)}
.cases__more{display:flex;align-items:baseline;gap:8px;margin:calc(var(--tf) * .14) 0 calc(var(--tf) * .06);color:var(--ice)}
.cases__more b{font-family:var(--display);font-weight:800;font-size:calc(var(--tf) * .34);letter-spacing:-.04em;color:#e9edf6;line-height:1}
.cases__more em{font-style:normal;color:var(--blue-hi);margin-right:.08em}
.cases__note{margin:0;color:var(--dim);text-align:right;white-space:nowrap}

/* the list: big names, one row per case */
.clist{list-style:none;margin:0;padding:0}
.crow{border-bottom:1px solid var(--line);opacity:0;translate:0 24px;transition:opacity .8s var(--ease),translate .8s var(--ease)}
.cases.is-in .crow{opacity:1;translate:0 0;transition-delay:calc(min(var(--i),10) * .06s)}
.crow__btn{all:unset;box-sizing:border-box;width:100%;cursor:pointer;position:relative;display:grid;align-items:center;gap:24px;
  grid-template-columns:96px minmax(0,1fr) minmax(0,300px) 210px 28px;padding:clamp(22px,2.3vw,34px) 4px}
.crow__logo{display:none}
.crow__btn:focus-visible{outline:2px solid var(--blue-hi);outline-offset:4px}
.crow__btn::before{content:"";position:absolute;left:0;bottom:-1px;height:1px;width:100%;background:var(--blue-hi);transform:scaleX(0);transform-origin:0 50%;transition:transform .7s var(--ease)}
.crow__i{color:var(--dim);white-space:nowrap}
.crow__name{font-family:var(--display);font-weight:800;font-size:clamp(28px,3.8vw,58px);line-height:.95;letter-spacing:-.04em;text-transform:uppercase;color:var(--text);
  text-wrap:balance;transition:translate .6s var(--ease),color .4s}
.crow__meta{color:var(--dim)}
.crow__yr{display:none}
/* on hover the niche gives way to the brand's white logo */
.crow__meta{position:relative}
.crow__mt{display:block;transition:opacity .3s}
.crow__lg{position:absolute;left:50%;top:50%;width:150px;height:46px;object-fit:contain;object-position:center;translate:-50% -50%;opacity:0;scale:.9;transform-origin:50% 50%;
  transition:opacity .35s,scale .5s var(--ease);pointer-events:none}
.crow__lg--type{width:auto;height:auto;text-align:center;font-family:var(--display);font-weight:800;font-size:16px;letter-spacing:-.02em;color:#fff;white-space:nowrap}
.crow.is-hot .crow__lg{opacity:1;scale:1}
.crow.is-hot .crow__mt{opacity:0}
.clist.is-hovering .crow:not(.is-hot) .crow__key em{color:#3c4560}
.clist.is-hovering .crow:not(.is-hot) .crow__i{color:#3c4560}
.crow__key{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;text-align:right;gap:4px;
  min-height:calc(clamp(30px,3vw,46px) * 1.25 + 21px)}   /* rows without a number are as tall as rows with one */
.crow__key b{font-family:var(--display);font-weight:800;font-size:clamp(30px,3vw,46px);letter-spacing:-.03em;color:var(--text)}
.crow__key em,.cnum em{font-style:normal;color:var(--blue-hi)}
.crow__key small{color:var(--ice);font-size:10.5px}
.crow__key .crow__did{color:var(--dim)}
.crow__arrow{width:28px;height:28px;color:var(--blue-hi);opacity:0;translate:-8px 8px;transition:opacity .4s,translate .5s var(--ease)}
.crow__arrow svg{width:100%;height:100%}
/* hover: the row you're on stays bright and slides a little, the others step back */
.clist.is-hovering .crow:not(.is-hot) .crow__name,.clist.is-hovering .crow:not(.is-hot) .crow__key b{color:#3c4560}
.crow.is-hot .crow__name{translate:10px 0}
/* small labels above the top 3 and above the rest */
.crow:first-child{border-top:1px solid var(--line)}
/* the running line of tenders stays hidden until the list is opened */
.cases.is-collapsed .also{display:none}
.cases.is-opening .also{animation:rise .8s var(--ease) both;animation-delay:.3s}
.clist.is-opening .crow--rest{animation:rise .7s var(--ease) both;animation-delay:calc(min(var(--r),12) * .04s)}
.cmore{display:flex;justify-content:center;padding-top:clamp(18px,2vw,28px)}
.cmore--end{padding-top:clamp(36px,4vw,56px)}
.cases.is-opening .cmore--end{animation:rise .8s var(--ease) both;animation-delay:.45s}
.cmore__btn{all:unset;box-sizing:border-box;position:relative;cursor:pointer;display:inline-flex;align-items:center;gap:12px;padding:17px 28px;border-radius:999px;color:var(--text);
  transition:scale .4s var(--ease)}
.cmore__btn span{color:var(--blue-hi);font-size:14px;transition:translate .3s}
@media (hover:hover) and (pointer:fine){.cmore__btn:hover{scale:1.03}}
.cmore__btn:focus-visible{outline:2px solid var(--blue-hi);outline-offset:4px}
@media (hover:hover) and (pointer:fine){.cmore__btn:hover span{translate:0 2px}}
.crow__i{color:var(--ice)}
/* folded list: the last of the top 3 fades towards the button */
.clist.is-collapsed .crow--last{-webkit-mask-image:linear-gradient(#000 30%,rgba(0,0,0,.18));mask-image:linear-gradient(#000 30%,rgba(0,0,0,.18));transition:-webkit-mask-image .4s}
.clist.is-collapsed .crow--last.is-hot,.clist.is-collapsed .crow--last:focus-within{-webkit-mask-image:none;mask-image:none}
.clist.is-collapsed .crow--last{border-bottom-color:transparent}
.clist.is-collapsed .crow--last .crow__btn::before{display:none}
/* the button sits a little over the faded Kilinski row */
.clist.is-collapsed .cmore{margin-top:-46px;position:relative;z-index:31;pointer-events:none}   /* above the logo card (z 30), so the card never covers the button */
.clist.is-collapsed .cmore__btn{pointer-events:auto}
/* press feedback: a quick, small give under the finger or cursor; release eases back on each element's own transition */
.pill:active,.cmore__btn:active,.cview__btn:active,.cview__close:active,.ct-sendbtn.is-on:active{scale:.97;transition-duration:.16s}
.cta:active{scale:.98}
/* each year starts with a slightly heavier line */
.crow:has(+ .crow--year){border-bottom-color:rgba(120,150,255,.34)}
.crow.is-hot .crow__btn::before{transform:scaleX(1)}
.crow.is-hot .crow__arrow,.crow__btn:focus-visible .crow__arrow{opacity:1;translate:0 0}

/* glow in the hovered brand's colour behind the list (desktop) */
/* the glow fades out towards the top and bottom of the block, so it never shows a hard edge against the block above */
.cglow-wrap{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none;visibility:hidden;transition:visibility 0s .6s;
  -webkit-mask-image:linear-gradient(transparent,#000 220px,#000 calc(100% - var(--gf,100px)),transparent);mask-image:linear-gradient(transparent,#000 220px,#000 calc(100% - var(--gf,100px)),transparent)}
.cglow{position:absolute;left:0;top:0;width:620px;height:620px;margin:-310px 0 0 -310px;border-radius:50%;pointer-events:none;
  --g:color-mix(in srgb,var(--gc,#1747ff) 85%,#fff);
  background:radial-gradient(closest-side,color-mix(in srgb,var(--g) 62%,transparent) 0%,color-mix(in srgb,var(--g) 52%,transparent) 22%,color-mix(in srgb,var(--g) 30%,transparent) 48%,color-mix(in srgb,var(--g) 12%,transparent) 70%,color-mix(in srgb,var(--g) 3%,transparent) 88%,transparent 100%);
  opacity:0;transition:opacity .6s;will-change:transform}
.cglow.is-on{opacity:.6}
.cglow-wrap:has(.is-on){visibility:visible;transition:none}
.cases__in,.also,.cmore--end{position:relative;z-index:1}
/* every brand the same way: its own logo in white on its colour */
.brand{position:absolute;inset:0;display:grid;place-items:center;
  background:radial-gradient(120% 100% at 28% 18%,color-mix(in srgb,var(--c) 82%,#fff),var(--c) 52%,color-mix(in srgb,var(--c) 62%,#000) 100%)}
.brand::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}
.lg{position:absolute;inset:0;margin:auto;display:block;width:64%;height:48%;object-fit:contain}
/* balanced logos: the same area for every mark (width ∝ √proportion), capped by the frame; sizes in container units */
@supports (width:calc(sqrt(4) * 1cqw)){
  .brand,.crow__logo,.cview__tile,.st__ava{container-type:size}
  img.lg{--wm:.5;--hm:.3;--k:.32;
    --w:min(calc(var(--wm) * 100cqw),calc(var(--hm) * 100cqh * var(--ar,2)),calc(var(--k) * min(100cqw,100cqh) * sqrt(var(--ar,2))));
    width:var(--w)!important;height:calc(var(--w) / var(--ar,2))!important}
  .crow__logo img.lg{--wm:.8;--hm:.62;--k:.5}
  .cview__tile img.lg{--wm:.92;--hm:.7;--k:.56}
  .st__ava img.lg{--wm:.76;--hm:.76;--k:.62}
}
.lg--type{display:grid;place-items:center;width:84%;height:60%;font-family:var(--display);font-weight:800;font-size:clamp(24px,2.4vw,38px);line-height:.95;letter-spacing:-.04em;text-transform:uppercase;color:#fff;text-align:center}

/* "also wrote for": one slow line of names */
.also{margin-top:clamp(22px,2.8vw,40px);display:flex;align-items:center;gap:28px;padding-left:clamp(20px,3vw,36px)}
.also__label{flex:none;margin:0;color:var(--dim);line-height:1.6}
.also__viewport{position:relative;overflow:hidden;flex:1}
/* soft edges drawn on top instead of a mask: a mask over a moving layer made the browser repaint every frame */
.also__viewport::before,.also__viewport::after{content:"";position:absolute;top:0;bottom:0;z-index:1;width:6%;pointer-events:none}
.also__viewport::before{left:0;background:linear-gradient(90deg,var(--bg),transparent)}
.also__viewport::after{right:0;background:linear-gradient(270deg,var(--bg),transparent)}
.also__track{display:flex;align-items:center;gap:clamp(26px,3vw,44px);width:max-content;animation:marquee 70s linear infinite paused;will-change:transform;backface-visibility:hidden}
.also__track.is-ready.is-vis{animation-play-state:running}   /* off screen it stops, so the page isn't redrawn for nothing */
.also__item{all:unset;box-sizing:border-box;cursor:pointer;flex:none;display:flex;align-items:center;height:clamp(54px,5vw,72px);padding:0 4px;opacity:.55;transition:opacity .3s,translate .4s var(--ease)}
.also__item{--lh:clamp(24px,2.3vw,34px)}
.also__item img{display:block;height:var(--lh);width:auto;max-width:220px}
.also__item span{font-family:var(--display);font-weight:800;font-size:clamp(18px,1.8vw,26px);letter-spacing:-.03em;text-transform:uppercase;color:#fff;white-space:nowrap}
.also__item:focus-visible{opacity:1;translate:0 -3px}
@media (hover:hover) and (pointer:fine){.also__item:hover{opacity:1;translate:0 -3px}}
.also__item:focus-visible{outline:2px solid var(--blue-hi);outline-offset:6px;border-radius:6px}
.also__track i{position:relative;width:12px;height:12px;flex:none}
.also__track i::before,.also__track i::after{content:"";position:absolute;background:var(--blue)}
.also__track i::before{left:0;right:0;top:5px;height:2px}
.also__track i::after{top:0;bottom:0;left:5px;width:2px}
/* speed is set from JS (hover: stop over the line, run fast over its right edge); the edge shows a small fast-forward mark */
.also__ff{position:absolute;right:4px;top:50%;z-index:2;width:38px;height:38px;margin-top:-19px;border-radius:50%;display:flex;align-items:center;justify-content:center;padding-left:3px;box-sizing:border-box;color:var(--blue-hi);background:rgba(6,9,18,.88);border:1px solid var(--line);opacity:0;scale:.85;pointer-events:none;transition:opacity .3s,scale .3s var(--ease),border-color .3s}
.also__ff svg{width:14px;height:14px;margin-left:-6px}
.also__ff svg:first-child{margin-left:0}
.also__viewport.is-fast .also__ff{scale:1;border-color:var(--blue-hi)}
.also__ff--back{right:auto;left:4px;transform:scaleX(-1)}
.also__viewport.is-fast .also__ff{opacity:.25;scale:.85;border-color:var(--line)}
.also__viewport.is-fast.is-fwd .also__ff:not(.also__ff--back),.also__viewport.is-fast.is-rev .also__ff--back{opacity:1;scale:1;border-color:var(--blue-hi)}
.also__viewport.is-fast.is-rev{cursor:w-resize}.also__viewport.is-fast.is-rev .also__item{cursor:w-resize}
.also__viewport.is-hover .also__ff{opacity:.7}
.also__viewport.is-fast .also__ff{opacity:1}
.also__viewport.is-fast .also__ff svg{animation:ff .6s linear infinite}
.also__viewport.is-fast .also__ff svg:nth-child(2){animation-delay:.15s}
@keyframes ff{0%,100%{opacity:.35}50%{opacity:1}}
.also__viewport.is-fast{cursor:e-resize}
.also__viewport.is-fast .also__item{cursor:e-resize}
@keyframes marquee{from{transform:translate3d(0,0,0)}to{transform:translate3d(-50%,0,0)}}

body.cview-open{overflow:hidden}
/* ---------- case view ---------- */
.cview{position:fixed;inset:0;z-index:90;visibility:hidden;opacity:0;transition:opacity .2s ease .2s,visibility 0s .4s;background:rgba(2,3,8,.6)}
.cview.is-open{visibility:visible;opacity:1;transition:none}
/* once the case view has finished opening, the page under it stops being drawn (the glass header and the cat cost a lot to composite) */
.cview-settled .header,.cview-settled main{visibility:hidden}
.cview__panel{position:absolute;inset:clamp(10px,1.4vw,20px);border-radius:22px;overflow:hidden;border:1px solid var(--line);
  background:radial-gradient(70% 90% at 22% 50%,color-mix(in srgb,var(--c,#1747ff) 38%,transparent),transparent 75%),#05070d;   /* the brand colour glows behind the glass */
  display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);
  clip-path:inset(100% 0 0 0 round 22px);transition:clip-path .34s var(--ease-drawer)}   /* closing: the system's response, quick */
.cview.is-open .cview__panel{clip-path:inset(0 0 0 0 round 22px);transition-duration:.46s}   /* opening: fast start, long soft landing */
.cview__media{position:relative;display:grid;padding:0;background:color-mix(in srgb,var(--c,#1747ff) 22%,#05070d);min-height:0}
.cview.is-tenders .cview__media{padding:10px}
.cview__fig{position:relative;margin:0;border-radius:0;overflow:hidden;min-height:0}   /* fills the left half edge to edge; the panel rounds the outer corners */
.cview__fig .lg{width:58%;height:34%}
/* work examples as stories: bars on top, one slide at a time */
.cview__media.has-shots{min-width:0}
.st{position:relative;height:100%;min-height:0;border-radius:0;overflow:hidden;background:#070a14;opacity:0;translate:0 26px}
.cview.is-open.is-swap .st{animation:rise .6s var(--ease) both}
.cview.is-first .st{animation-delay:.14s}
.st__bars{position:absolute;left:14px;right:14px;top:14px;z-index:4;display:flex;gap:5px}
.st__bars i{flex:1;height:3px;border-radius:3px;background:rgba(255,255,255,.28);overflow:hidden}
.st__bars i::after{content:"";display:block;height:100%;background:#fff;transform:scaleX(0);transform-origin:0 50%}
.st__bars i.done::after{transform:scaleX(1)}
.st__bars i.run::after{animation:stbar var(--d) linear forwards}
.st.is-paused .st__bars i.run::after{animation-play-state:paused}
@keyframes stbar{to{transform:scaleX(1)}}
.st__head{position:absolute;left:14px;right:70px;top:28px;z-index:4;display:flex;align-items:center;gap:10px;pointer-events:none}
.st__ava{position:relative;flex:none;width:34px;height:34px;border-radius:50%;overflow:hidden;background:var(--c);box-shadow:0 0 0 2px rgba(255,255,255,.75)}
.st__ava .lg{width:70%;height:70%}
.st__ava .lg--type{font-size:6px}
.st__head b{font-family:var(--display);font-weight:800;font-size:13px;letter-spacing:-.01em;text-transform:uppercase;color:#fff;text-shadow:0 1px 8px rgba(0,0,0,.5)}
.st::before{content:"";position:absolute;inset:0 0 auto;height:110px;z-index:3;background:linear-gradient(rgba(0,0,0,.5),transparent);pointer-events:none}
.st__slide{position:absolute;inset:0;opacity:0;transition:opacity .35s;display:grid;place-items:center;overflow:hidden}
.st__slide.on{opacity:1}
.st__slide::before{content:"";position:absolute;left:-1%;top:-1%;width:10.2%;height:10.2%;background:var(--bg) center/cover;filter:blur(3px) brightness(.45);transform:scale(10);transform-origin:0 0;will-change:transform}
.st__slide > img{position:relative;display:block;max-width:calc(100% - 40px);max-height:calc(100% - 110px);width:auto;height:auto;margin-top:40px;border-radius:12px;box-shadow:0 20px 60px rgba(0,0,0,.5);scale:.97;transition:scale 1.2s var(--ease)}
.st__slide.on > img{scale:1}
.st__slide--logo{display:block}
.st__slide--logo::before{display:none}
.st__slide--logo .lg{width:44%;height:24%}
.st__tap{all:unset;position:absolute;top:0;bottom:0;z-index:5;width:40%;cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent;user-select:none;-webkit-user-select:none}
.st__tap--prev{left:0;cursor:w-resize}
.st__tap--next{right:0;width:60%;cursor:e-resize}
.st__tap:focus-visible{outline:2px solid var(--blue-hi);outline-offset:-4px;border-radius:14px}
.cview__fig .lg--type{font-size:clamp(40px,5vw,84px)}
/* tenders: a wall of logos */
.cview__wall{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:1fr;gap:10px;min-height:0;opacity:0;translate:0 26px}
.cview__tile{position:relative;display:grid;place-items:center;border-radius:12px;background:color-mix(in srgb,var(--c) 70%,#0a1230);box-shadow:inset 0 0 0 1px rgba(255,255,255,.06);min-height:0;padding:10%}
.cview__tile .lg{width:72%;height:52%}
.cview__tile .lg--type{font-size:clamp(16px,1.6vw,24px)}
.tlist{list-style:none;margin:0;padding:0;border-top:1px solid var(--line)}
.tlist li{display:grid;grid-template-columns:minmax(0,170px) minmax(0,1fr);gap:16px;padding:12px 0;border-bottom:1px solid var(--line)}
.tlist b{font-family:var(--display);font-weight:800;font-size:15px;letter-spacing:-.02em;text-transform:uppercase;color:var(--text)}
.tlist span{color:#9aa6c4}
.cview.is-tenders .cview__body{max-width:none;font-size:13.5px;line-height:1.5}
.cview__did{margin:22px 0 0;display:flex;flex-wrap:wrap;align-items:center;gap:8px}
.cview__did span{color:var(--dim);margin-right:6px}
.cview__did i{font-style:normal;font-size:13px;color:var(--text);padding:7px 12px;border-radius:999px;border:1px solid var(--line);background:rgba(255,255,255,.03)}
.cview__did:empty,.cview__stats[hidden]{display:none}
.cview__text{position:relative;display:flex;flex-direction:column;padding:clamp(28px,4vw,64px) clamp(24px,4vw,64px) clamp(24px,3vw,40px);overflow:auto;isolation:isolate;
  /* liquid glass, like the header: frosted over the brand glow, light rim, top specular edge */
  background:linear-gradient(135deg,rgba(255,255,255,.10) 0%,rgba(255,255,255,.03) 45%,rgba(120,150,255,.06) 100%),rgba(8,11,22,.72);
  box-shadow:inset 1px 0 0 rgba(255,255,255,.22),inset 0 1px 0 rgba(255,255,255,.18),inset 0 0 40px rgba(156,188,255,.06)}
.cview__text::before{content:"";position:absolute;inset:0;pointer-events:none;z-index:-1;
  background:radial-gradient(60% 40% at 20% 0%,rgba(255,255,255,.08),transparent 70%)}
.cview__meta{margin:0 0 18px;color:var(--dim)}
.cview__name{margin:0;font-family:var(--display);font-weight:800;font-size:clamp(44px,5.4vw,92px);line-height:.9;letter-spacing:-.045em;text-transform:uppercase;color:var(--text)}
.cview__line{margin:22px 0 0;max-width:520px;font-size:clamp(16px,1.3vw,20px);line-height:1.45;color:var(--text)}
.cview__stats{list-style:none;margin:clamp(28px,3.4vw,52px) 0 0;padding:0;display:grid;grid-template-columns:repeat(var(--n,3),minmax(0,1fr));border-top:1px solid var(--line)}
.cview__stats li{padding:22px 18px 0 0}
.cview__stats li+li{padding-left:18px;border-left:1px solid var(--line)}
.cnum{display:flex;align-items:flex-end;font-family:var(--display);font-weight:800;font-size:clamp(28px,2.9vw,48px);line-height:1;letter-spacing:-.04em;color:var(--text);white-space:nowrap}
.cview__stats p{margin:12px 0 0;color:var(--ice);font-size:11px}
.cview__body{margin:clamp(24px,3vw,40px) 0 0;max-width:520px;font-size:14px;line-height:1.7;color:#9aa6c4}
.cview__nav{margin-top:auto;padding-top:32px;display:flex;align-items:center;justify-content:space-between;gap:16px}
.cview__btn{all:unset;cursor:pointer;color:var(--text);padding:12px 18px;border:1px solid var(--line);border-radius:999px;transition:border-color .3s,background .3s,scale .16s var(--ease-out)}
.cview__btn:focus-visible{border-color:var(--blue-hi);background:rgba(23,71,255,.12)}
@media (hover:hover) and (pointer:fine){.cview__btn:hover{border-color:var(--blue-hi);background:rgba(23,71,255,.12)}}
.cview__count{color:var(--dim)}
.cview__close{all:unset;cursor:pointer;position:absolute;right:18px;top:18px;z-index:3;width:48px;height:48px;border-radius:50%;background:rgba(6,9,18,.82);border:1px solid var(--line);
  transition:rotate .5s var(--ease),border-color .3s,scale .16s var(--ease-out)}
.cview__close:focus-visible{rotate:90deg;border-color:var(--blue-hi)}
@media (hover:hover) and (pointer:fine){.cview__close:hover{rotate:90deg;border-color:var(--blue-hi)}}
.cview__close i{position:absolute;left:14px;right:14px;top:23px;height:2px;background:#fff;rotate:45deg}
.cview__close i+i{rotate:-45deg}
/* contents rise in after the curtain, and again when switching cases */
.cview__fig,.cview__meta,.cview__name,.cview__line,.cview__stats,.cview__body,.cview__did{opacity:0;translate:0 26px}
.cview.is-open.is-swap .cview__fig,.cview.is-open.is-swap .cview__meta,.cview.is-open.is-swap .cview__name,.cview.is-open.is-swap .cview__line,
.cview.is-open.is-swap .cview__stats,.cview.is-open.is-swap .cview__body,.cview.is-open.is-swap .cview__did,.cview.is-open.is-swap .cview__wall{animation:rise .8s var(--ease) both}
/* the content rises in a short stagger (40 ms steps). On the first open it waits for the panel's fast start (.46 s sheet) to be
   mostly done; on Previous / Next the panel is already there, so it starts at once */
.cview.is-open.is-swap .cview__fig,.cview.is-open.is-swap .cview__meta,.cview.is-open.is-swap .cview__name,.cview.is-open.is-swap .cview__line,
.cview.is-open.is-swap .cview__stats,.cview.is-open.is-swap .cview__body,.cview.is-open.is-swap .cview__did,.cview.is-open.is-swap .cview__wall{animation-duration:.6s}
.cview.is-open .cview__fig,.cview.is-open .cview__wall,.cview.is-open .cview__meta{animation-delay:0s!important}
.cview.is-open .cview__name{animation-delay:.04s!important}
.cview.is-open .cview__line{animation-delay:.08s!important}
.cview.is-open .cview__stats{animation-delay:.12s!important}
.cview.is-open .cview__body{animation-delay:.16s!important}
.cview.is-open .cview__did{animation-delay:.2s!important}
.cview.is-first .cview__fig,.cview.is-first .cview__wall,.cview.is-first .cview__meta{animation-delay:.14s!important}
.cview.is-first .cview__name{animation-delay:.18s!important}
.cview.is-first .cview__line{animation-delay:.22s!important}
.cview.is-first .cview__stats{animation-delay:.26s!important}
.cview.is-first .cview__body{animation-delay:.3s!important}
.cview.is-first .cview__did{animation-delay:.34s!important}
@keyframes rise{from{opacity:0;translate:0 26px}to{opacity:1;translate:0 0}}

/* slot reels */
.reel{position:relative;display:inline-block;height:1em;line-height:1;overflow:hidden;vertical-align:bottom}
.reel__strip{display:flex;flex-direction:column;will-change:transform}
.reel__strip span{display:block;height:1em;line-height:1;text-align:center;font-variant-numeric:tabular-nums}
.reel__static,.cnum em{display:inline-block;line-height:1}
.cnum > *{flex:none}   /* digits never squeeze; the size is fitted to the column instead (cases-ui.js) */

@media (max-width:1100px){
  .crow__btn{grid-template-columns:90px minmax(0,1fr) 190px 24px}
  .cases__count{padding-right:52px}
  /* narrow case view: numbers stack, each with its label on the right */
  .cview__stats{grid-template-columns:1fr!important}
  .cview__stats li,.cview__stats li+li{padding:16px 0;border-left:0;border-bottom:1px solid var(--line);display:flex;align-items:baseline;justify-content:space-between;gap:16px}
  .cview__stats p{margin:0;text-align:right;max-width:55%}
  .crow__meta{display:none}
}
@media (max-width:760px){
  :root{--dim:#8a9ac2}   /* captions: lighter on phones (about 6:1 on the background instead of 4.3:1) */
  .mono{font-size:11.5px;letter-spacing:.05em}
  .cell__lbl,.nums__lbl,.cview__stats p{font-size:12px!important;letter-spacing:.02em}   /* tighter tracking: fewer line breaks at the bigger size */
  .crow__meta{font-size:11.5px;letter-spacing:.02em}
  .crow__key small{font-size:11.5px;letter-spacing:.04em}
  .cases__head{grid-template-columns:1fr}
  .cases__note,.cases__count{text-align:left}
  .cases__count{align-items:flex-start;padding-right:0;--tf:50px}
  .cases__note{margin-bottom:0!important}
  .crow__btn{grid-template-columns:44px minmax(0,1fr) auto;grid-template-areas:"lg name arrow" "lg meta meta" "lg key key";gap:2px 12px;padding:14px 2px}
  .crow__i{display:none}
  .crow__logo{grid-area:lg;align-self:start;position:relative;display:block;width:44px;height:44px;border-radius:10px;overflow:hidden;background:#10162b;box-shadow:inset 0 0 0 1px rgba(255,255,255,.08)}   /* one colour for all, so the list stays calm */
  .crow__logo .lg{width:76%;height:60%}
  .crow__logo .lg--type{font-size:8px;line-height:1;width:90%;height:90%}
  .crow__name{grid-area:name;font-size:clamp(19px,5.6vw,24px);white-space:normal;overflow:visible}
  .crow__key b{font-size:19px}
  .crow__meta{grid-area:meta;display:block}
  .crow__yr{display:inline}
  .crow:has(+ .crow--year){border-bottom-color:var(--line)}
  .crow__lg{display:none}
  .clist.is-collapsed .cmore{margin-top:-26px}
  .crow__key{grid-area:key;min-height:0;flex-direction:row;align-items:baseline;justify-content:flex-start;gap:8px;margin-top:4px}
  .crow__arrow{grid-area:arrow;opacity:1;translate:0 0;width:22px;height:22px}
  .also{flex-direction:column;align-items:flex-start;gap:14px;padding-left:0}
  .also__label{padding-left:20px}
  .also__item{opacity:.6}
  .also__viewport{width:100%}
  /* phones: the panel slides up and away. A clip-path closing to zero left a 1px line behind on iOS Safari */
  .cview__panel{inset:0;border-radius:0;border:0;grid-template-columns:minmax(0,1fr);grid-template-rows:42vh auto;overflow:auto;-webkit-overflow-scrolling:touch;overscroll-behavior:contain;
    clip-path:none;transform:translate3d(0,100%,0);transition:transform .34s var(--ease-drawer)}
  .cview.is-open .cview__panel{clip-path:none;transform:none;transition-duration:.46s}
  .cview__text{overflow:visible;padding:26px 20px 28px}
  .cview__text{-webkit-backdrop-filter:none;backdrop-filter:none;background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02)),#070a14}   /* phones: the text scrolls, a live blur under it would cost every frame */
  .cview__panel:has(.has-shots){grid-template-rows:68vh auto}
  .cview__stats{grid-template-columns:1fr}
  .cview.is-tenders .cview__panel{grid-template-rows:max-content max-content}
  .cview.is-tenders .cview__media{min-height:auto}
  .cview__wall{grid-template-columns:repeat(4,minmax(0,1fr));grid-auto-rows:64px;padding-top:56px}
  .tlist li{grid-template-columns:1fr;gap:4px}
  .cview__stats li,.cview__stats li+li{padding:16px 0;border-left:0;border-bottom:1px solid var(--line)}
  .cview__stats li{display:flex;align-items:baseline;justify-content:space-between;gap:16px}
  .cview__stats p{margin:0;text-align:right;max-width:55%}
  .cview__close{top:12px;right:12px}
}
@media (prefers-reduced-motion:reduce){.also__track{animation:none}}

/* ============ CONTACT ============
   The closing scene echoes the first screen: dollar wall, the same beam, a floor. On the floor stands a glass dock:
   every channel is an "app"; icons swell under the cursor, the call is the main one, Brief opens the chat window. */
.contact{position:relative;z-index:2;overflow:visible;overflow-x:clip;background:#000;display:flex;flex-direction:column;isolation:isolate;
  padding:clamp(64px,9vh,100px) 0 0}
.ct-bg{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:hidden;--hz:76%}
.ct-pattern{position:absolute;left:0;right:0;top:0;height:var(--hz);overflow:hidden}
.ct-pattern::before{content:"";position:absolute;inset:0;opacity:.03;background:url(../assets/dollars.svg) 0 0/400px 400px repeat}
.ct-pattern::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,#000 0%,rgba(0,0,0,0) 30%,rgba(0,0,0,0) 70%,#000 100%)}
.ct-light{position:absolute;left:50%;top:0;height:100%;aspect-ratio:4/5;opacity:.62;translate:-50% 0;background:url(../assets/beam.webp) center top/100% 100% no-repeat}
.ct-floor{position:absolute;left:0;right:0;bottom:0;top:var(--hz);opacity:.75;
  background:radial-gradient(ellipse 40% 42% at 50% 0%,rgba(58,102,255,.16),transparent 70%),linear-gradient(180deg,rgba(8,12,26,0),rgba(6,9,20,.75) 35%,#010103 100%);
  border-top:1px solid rgba(140,170,255,.07)}
.ct-haze{position:absolute;left:-20%;right:-20%;top:calc(var(--hz) - 18%);height:30%;opacity:.5;
  background:radial-gradient(ellipse 30% 50% at 30% 60%,rgba(120,150,230,.16),transparent 70%),radial-gradient(ellipse 35% 45% at 72% 55%,rgba(120,150,230,.12),transparent 70%)}
/* the top dissolves from black, so the end of Skills runs straight into it */
.ct-vig{position:absolute;inset:0;
  background:linear-gradient(180deg,#000 0%,rgba(0,0,0,.92) 6%,rgba(0,0,0,.6) 14%,rgba(0,0,0,.25) 24%,rgba(0,0,0,0) 34%),
             radial-gradient(ellipse 80% 75% at 50% 50%,transparent 50%,rgba(0,0,0,.7) 100%)}
.ct-corner{position:absolute;z-index:6;width:34px;height:34px;pointer-events:none}
.ct-corner--tl{left:clamp(16px,2.5vw,36px);top:clamp(40px,6vh,64px);border-left:2px solid var(--blue);border-top:2px solid var(--blue)}
.ct-corner--br{right:clamp(16px,2.5vw,36px);bottom:clamp(110px,14vh,130px)}
.ct-corner--br::before,.ct-corner--br::after{content:"";position:absolute;background:var(--blue)}
.ct-corner--br::before{left:16px;top:0;bottom:0;width:2px}
.ct-corner--br::after{top:16px;left:0;right:0;height:2px}
/* the cross marks are a hashtag now: a plus next to big numbers read as "plus", an asterisk would read as a footnote;
   # belongs to social media, so it says what this portfolio is about. Same 2px blue strokes as the corner brackets. */
.corner--br::before,.corner--br::after,.sk-corner--br::before,.sk-corner--br::after,.ct-corner--br::before,.ct-corner--br::after{
  inset:5px;width:auto;height:auto;background:none}
.corner--br::before,.sk-corner--br::before,.ct-corner--br::before{
  background:linear-gradient(var(--blue),var(--blue)) 7px 0/2px 100% no-repeat,linear-gradient(var(--blue),var(--blue)) 15px 0/2px 100% no-repeat;transform:skewX(-14deg)}
.corner--br::after,.sk-corner--br::after,.ct-corner--br::after{
  background:linear-gradient(var(--blue),var(--blue)) 0 7px/100% 2px no-repeat,linear-gradient(var(--blue),var(--blue)) 0 15px/100% 2px no-repeat}

.ct-in{position:relative;z-index:5;width:min(1240px,calc(100% - 32px));margin:0 auto;display:flex;flex-direction:column;align-items:center;text-align:center}
.ct-in::before{content:"";position:absolute;left:50%;top:calc(var(--tfs,14vw) * .42);width:min(1300px,110vw);height:calc(var(--tfs,14vw) * 2.6);translate:-50% -50%;z-index:-1;pointer-events:none;
  background:radial-gradient(ellipse 46% 36% at 50% 50%,rgba(58,102,255,.24),rgba(23,71,255,.08) 50%,rgba(23,71,255,.02) 68%,transparent 80%)}   /* soft pool behind the heading, same recipe as the other blocks */
.ct-title{margin:0;width:100%;font-family:var(--display);font-weight:800;text-transform:uppercase;letter-spacing:-.06em;line-height:.8;white-space:nowrap;
  font-size:var(--tfs,clamp(64px,14vw,230px));color:transparent;
  background:linear-gradient(180deg,#f4f6fb 0%,#e9edf6 45%,#8fa6e6 100%);-webkit-background-clip:text;background-clip:text;
  padding-top:.16em;margin-top:-.16em}   /* the gradient is clipped to the box, and with line-height .8 marks above capitals (the breve of Й) fell outside it */
.ct-lead{margin:clamp(28px,4.4vh,48px) 0 0;color:var(--ice);max-width:560px}
.ct-status{display:inline-flex;align-items:center;gap:9px;margin-top:clamp(18px,2.6vh,26px);padding:7px 12px 7px 10px;border-radius:999px;color:#fff;background:rgba(61,220,132,.08);border:1px solid rgba(61,220,132,.3)}
/* GPU layers and endless animations only while their block is within a screen of the viewport (js toggles .is-near):
   ~30 always-on layers made every scroll frame on the page re-build the layer tree */
.contact.is-near .ct-app,.contact.is-near .ct-bar{will-change:transform}
.contact.is-near .ct-face,.contact.is-near .ct-sep{will-change:transform}
.contact.is-near .ct-tip{will-change:transform,opacity}
.skills.is-near .sk-panel{will-change:transform,opacity}
.contact:not(.is-near) .ct-status::before{animation:none}
.hero.is-scrolled .hero__scroll i::after{animation:none}
.ct-status::before{content:"";width:7px;height:7px;border-radius:50%;background:#3ddc84;box-shadow:0 0 10px #3ddc84;animation:ctPulse 2s infinite;will-change:opacity}
@keyframes ctPulse{50%{opacity:.45}}   /* opacity on its own layer, not box-shadow: a box-shadow pulse repainted the whole contact block (giant heading included) 60 times a second, even while scrolling Skills */
.ct-title,.ct-lead,.ct-status{transition:opacity .45s var(--ease)}

/* the dock */
.ct-dock{position:relative;display:flex;align-items:flex-end;gap:10px;height:94px;margin-top:clamp(110px,17vh,190px);padding:10px 14px;isolation:isolate}
/* the glass bar is a separate layer: it widens with the swelling icons (only its own box changes, nothing else re-lays out),
   and it has no backdrop blur, so nothing behind it has to be re-blurred on every frame */
.ct-bar{position:absolute;top:0;bottom:0;left:0;right:0;z-index:-1;border-radius:30px;pointer-events:none;transform-origin:0 50%;
  background:linear-gradient(180deg,rgba(255,255,255,.14),rgba(255,255,255,.05)),rgba(10,14,32,.62);border:1px solid rgba(255,255,255,.18);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5)}
/* the big soft shadows sit on a layer that never changes size, so they are painted once, not on every frame of the swell */
.ct-dock::after{content:"";position:absolute;inset:0;z-index:-2;border-radius:30px;pointer-events:none;box-shadow:0 30px 80px -30px rgba(0,0,0,.9),0 20px 90px -40px rgba(23,71,255,.8)}
.ct-sep{width:1px;align-self:stretch;margin:6px 2px;background:rgba(255,255,255,.18)}
.ct-app{position:relative;display:block;flex:none;width:72px;height:72px;outline:none}   /* size never changes: the swell is a transform (see contact.js) */
.ct-tip{}
/* the face is its own size container, so the calendar's MIN / 20 and the CV letters grow with the icon — no jumps mid-animation */
.ct-face{position:absolute;left:-27.5%;bottom:0;width:155%;height:155%;container-type:size;transform-origin:50% 100%;transform:scale(.6452);border-radius:24%;display:grid;place-items:center;color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -6px 14px rgba(0,0,0,.18),0 10px 20px -8px rgba(0,0,0,.7);transition:box-shadow .4s}
.ct-ico{width:46%;height:46%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ct-f-cal{background:linear-gradient(180deg,#fff,#dfe6f7);color:#0b1020;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding-top:3%}
.ct-f-cal em{font-style:normal;font-family:var(--display);font-weight:800;font-size:12cqw;line-height:1.1;letter-spacing:.06em;color:var(--blue)}
.ct-f-cal strong{font-family:var(--display);font-weight:800;font-size:37cqw;line-height:.9;letter-spacing:-.05em}
.ct-f-in{background:linear-gradient(180deg,#2f6dff,#1747ff)}
.ct-f-tg{background:linear-gradient(180deg,#5ab8ff,#1f7fe8)}
.ct-f-mail{background:linear-gradient(180deg,#7ea2ff,#3a66ff)}
.ct-f-cv{background:linear-gradient(180deg,#f3f6ff,#cfd9f3);color:var(--blue)}
.ct-f-cv b{font-family:var(--display);font-weight:800;font-size:27cqw;letter-spacing:-.04em}
.ct-f-chat{background:linear-gradient(180deg,#22c06e,#139553)}
.ct-tip{position:absolute;left:50%;bottom:calc(100% + 14px);translate:-50% 6px;opacity:0;white-space:nowrap;padding:8px 12px;border-radius:10px;color:#fff;
  background:rgba(10,14,30,.88);border:1px solid rgba(255,255,255,.14);transition:opacity .3s,translate .3s var(--ease);pointer-events:none}
.ct-tip--main{background:linear-gradient(180deg,#3a66ff,#1747ff);border-color:#7f9bff;box-shadow:0 10px 26px -8px rgba(23,71,255,.9)}
.ct-app:focus-visible .ct-tip,.ct-app.is-tip .ct-tip{opacity:1;translate:-50% 0}
@media (hover:hover) and (pointer:fine){.ct-app:hover .ct-tip{opacity:1;translate:-50% 0}}
.ct-app:focus-visible .ct-face{box-shadow:inset 0 1px 0 rgba(255,255,255,.5),0 0 0 3px var(--blue-hi)}
/* the call, picked out at the end of the intro sweep: a soft glow, no hard ring */
.ct-app.is-lit .ct-face{box-shadow:inset 0 1px 0 rgba(255,255,255,.5),inset 0 -6px 14px rgba(0,0,0,.18),0 0 34px 2px rgba(58,102,255,.75)}
.ct-lbl{display:none}
.ct-dot{position:absolute;left:50%;bottom:-9px;width:4px;height:4px;margin-left:-2px;border-radius:50%;background:#c7d6ff;opacity:0;transition:opacity .3s}
.ct-app.is-ran .ct-dot{opacity:1}
.ct-app.is-bounce .ct-face{animation:ctBounce .7s var(--ease)}
@keyframes ctBounce{0%,60%,100%{bottom:0}30%{bottom:26px}80%{bottom:8px}}   /* animates `bottom`, never transform: in Safari a transform animation froze the icon's swell */

/* the brief opens like a messenger window: tall, like a real chat, centred in the space below the site header.
   It grows out of the dock; the heading only fades and blurs behind it, nothing on the page moves. */
.ct-win{--winh:min(660px,calc(100svh - 108px));position:fixed;left:50%;top:var(--wintop,calc(78px + (100svh - 78px - var(--winh)) / 2));z-index:10;width:min(420px,calc(100vw - 24px));height:var(--winh);
  display:flex;flex-direction:column;text-align:left;border-radius:28px;overflow:hidden;color:var(--text);
  background:#0a0f20;border:1px solid rgba(255,255,255,.14);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.22),0 18px 44px -22px rgba(0,0,0,.85);
  translate:-50% 0;opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .25s,visibility 0s .25s}   /* no scale on the window: the genie does the motion (Safari froze a scaled window small) */
.contact.is-chat .ct-win{opacity:1;visibility:visible;pointer-events:auto;transition-delay:0s}
/* during the genie the keyframes drive the window: no CSS transition on top, and it stays visible while it closes */
.contact.is-closing .ct-win{opacity:1;visibility:visible;pointer-events:none;transition:none}   /* stays put while its picture is taken */
.contact.is-genie .ct-win{visibility:hidden;transition:none}
/* genie: the window's picture, bent row by row on a canvas by contact.js */
.ct-genie{position:fixed;z-index:0;pointer-events:none}   /* first child of the dock: painted before (under) the icons, above the glass bar */
.contact.is-genie .ct-app,.contact.is-genie .ct-sep,.contact.is-genie .ct-bar,.contact.is-genie .ct-dock::after{opacity:1}
.contact.is-chat .ct-title,.contact.is-chat .ct-lead,.contact.is-chat .ct-status{opacity:.08}   /* no blur: animating a blur on the giant heading made the genie stutter */
@media (hover:none),(pointer:coarse){.contact.is-chat .ct-title,.contact.is-chat .ct-lead,.contact.is-chat .ct-status{opacity:.06}}
.contact.is-chat .ct-tip{opacity:0!important}
.contact.is-chat .ct-in{z-index:8}
.contact.is-chat .ct-corner,.contact.is-chat .ct-foot{opacity:.15;transition:opacity .4s}   /* above the footer and the corner mark, so nothing shows through the window */
.ct-app,.ct-sep,.ct-bar,.ct-dock::after{transition:opacity .4s}
.contact.is-chat .ct-app,.contact.is-chat .ct-sep,.contact.is-chat .ct-bar,.contact.is-chat .ct-dock::after{opacity:.12}
.ct-scrim{position:fixed;inset:0;z-index:4;background:rgba(2,3,8,.5);opacity:0;pointer-events:none;transition:opacity .45s}
.contact.is-chat .ct-scrim{opacity:1;pointer-events:auto}
/* header: avatar with an online dot, name, live status (online / typing…), close */
.ct-win__head{position:relative;z-index:2;display:flex;align-items:center;gap:12px;padding:12px 12px 12px 14px;background:rgba(16,22,44,.92);border-bottom:1px solid rgba(255,255,255,.07)}
.ct-ava{position:relative;width:42px;height:42px;border-radius:50%;flex:none;display:grid;place-items:center;font-family:var(--display);font-weight:800;font-size:14px;color:#fff;background:linear-gradient(160deg,#3a66ff,#0d2aa8);box-shadow:inset 0 1px 0 rgba(255,255,255,.4)}
.ct-ava::after{content:"";position:absolute;right:0;bottom:0;width:11px;height:11px;border-radius:50%;background:#3ddc84;border:2px solid #10162c}
.ct-win__head b{display:block;font-family:var(--display);font-weight:800;font-size:14px;letter-spacing:-.01em;color:#fff}
.ct-win__head small{display:block;margin-top:3px;font-family:var(--body);font-size:11.5px;color:#7fa0ff;transition:color .2s}
.ct-win__head small.is-typing{color:var(--ice)}
.ct-x{all:unset;cursor:pointer;position:relative;margin-left:auto;width:36px;height:36px;border-radius:50%;background:rgba(255,255,255,.07);transition:background .2s}
@media (hover:hover) and (pointer:fine){.ct-x:hover{background:rgba(255,255,255,.14)}}
.ct-x:focus-visible{outline:2px solid var(--blue-hi);outline-offset:2px}
.ct-x i{position:absolute;left:11px;right:11px;top:17px;height:2px;border-radius:2px;background:#fff;rotate:45deg}
.ct-x i + i{rotate:-45deg}
/* conversation on a faint wallpaper (the same dollar tile as the wall behind) */
.ct-log{position:relative;flex:1;overflow:auto;overscroll-behavior:contain;padding:14px 12px 10px;display:flex;flex-direction:column;gap:4px;
  background:radial-gradient(ellipse 90% 60% at 50% 100%,rgba(23,71,255,.16),transparent 70%),linear-gradient(rgba(11,17,36,.94),rgba(11,17,36,.94)),url(../assets/dollars.svg) 0 0/260px 260px,#0b1124}
.ct-day{align-self:center;margin:2px 0 8px;padding:4px 10px;border-radius:999px;font-family:var(--body);font-size:10.5px;color:#c9d4ee;background:rgba(255,255,255,.08)}
.ct-msg{position:relative;max-width:82%;padding:8px 12px 7px;border-radius:18px;font-family:var(--body);font-size:13.5px;line-height:1.45;color:#eef2fb;animation:ctMsg .35s var(--ease) both}
@keyframes ctMsg{from{opacity:0;transform:translateY(8px) scale(.98)}}
.ct-msg.her{align-self:flex-start;background:#1b2340;border-bottom-left-radius:6px}
.ct-msg.me{align-self:flex-end;background:linear-gradient(180deg,#2f5dff,#1a4bff);border-bottom-right-radius:6px;color:#fff}
.ct-msg.her + .ct-msg.me,.ct-msg.me + .ct-msg.her{margin-top:6px}
.ct-msg b{color:#fff;font-weight:600}
.ct-msg .meta{float:right;display:inline-flex;align-items:center;gap:3px;margin:6px 0 -2px 10px;font-size:10px;line-height:1;color:rgba(255,255,255,.5)}
.ct-msg.me .meta{color:rgba(255,255,255,.75)}
.ct-msg .meta svg{width:15px;height:10px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.ct-msg.dots{display:flex;gap:4px;padding:12px 14px}
.ct-msg.dots i{width:7px;height:7px;border-radius:50%;background:#8ea6e6;animation:ctDot 1s infinite}
.ct-msg.dots i:nth-child(2){animation-delay:.15s}.ct-msg.dots i:nth-child(3){animation-delay:.3s}
@keyframes ctDot{0%,100%{opacity:.35;transform:none}50%{opacity:1;transform:translateY(-3px)}}
/* answer buttons, like a bot keyboard, then a composer bar */
.ct-reply{position:relative;z-index:2;background:rgba(16,22,44,.96);border-top:1px solid rgba(255,255,255,.07)}
.ct-kb{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:10px 10px 0}
.ct-kb:empty{display:none}
.ct-chip{all:unset;box-sizing:border-box;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:8px 10px;border-radius:12px;text-align:center;
  background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);font-family:var(--body);font-size:12px;color:#fff;transition:background .2s,border-color .2s,scale .2s var(--ease)}
@media (hover:hover) and (pointer:fine){.ct-chip:hover{background:rgba(255,255,255,.12)}}
.ct-chip:active{scale:.97}
.ct-chip:focus-visible{outline:2px solid var(--blue-hi);outline-offset:2px}
.ct-chip[aria-pressed="true"]{background:rgba(23,71,255,.35);border-color:#7f9bff}
.ct-chip[aria-pressed="true"]::before{content:"✓";font-weight:700;color:#cfe0ff}
.ct-chip.is-go{grid-column:1 / -1;background:var(--blue);border-color:#7f9bff}
.ct-chip.is-go[disabled]{opacity:.4;cursor:default}
.ct-chip.is-wide{grid-column:1 / -1}
.ct-comp{display:flex;align-items:flex-end;gap:8px;padding:10px}
.ct-field{flex:1;min-height:42px;max-height:120px;overflow:auto;display:flex;align-items:center;padding:10px 14px;border-radius:21px;background:#0b1124;border:1px solid rgba(255,255,255,.1);font-family:var(--body);font-size:13px;line-height:1.4;color:#6f80aa}
.ct-field.is-ready{color:#eef2fb}
.ct-sendbtn{flex:none;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;color:#fff;background:#26304f;transition:background .3s,scale .3s var(--ease),box-shadow .3s;pointer-events:none}
.ct-sendbtn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.ct-sendbtn.is-on{background:linear-gradient(180deg,#3a66ff,#1747ff);box-shadow:0 10px 24px -8px rgba(23,71,255,.9);pointer-events:auto;animation:ctReady 1.6s ease-in-out infinite}
@media (hover:hover) and (pointer:fine){.ct-sendbtn.is-on:hover{scale:1.06}}
.ct-sendbtn.is-on:active{scale:.97;transition-duration:.16s}   /* after the hover rule, so a press wins over it */
@keyframes ctReady{50%{box-shadow:0 0 0 6px rgba(58,102,255,.18),0 10px 24px -8px rgba(23,71,255,.9)}}
.ct-hint{padding:0 14px 10px;font-family:var(--body);font-size:11px;color:#7f8fb8}
.ct-hint:empty{display:none}
.ct-hint button{all:unset;cursor:pointer;color:#9cbcff;text-decoration:underline;text-underline-offset:3px}

.ct-foot{position:relative;z-index:6;display:grid;gap:6px;margin-top:clamp(2px,.8vh,8px);padding:10px clamp(20px,4vw,56px) 14px;color:var(--dim)}   /* no line of its own: the floor horizon under the dock is the divider */
.ct-foot__row{display:flex;justify-content:space-between;align-items:center;gap:8px 16px;flex-wrap:wrap}
.ct-foot__row--sub{color:#4f5c80}
.ct-foot__row--sub a{color:var(--dim)}
@media (hover:hover) and (pointer:fine){.ct-foot a:hover{color:#fff}}
.ct-toast{position:fixed;left:50%;bottom:24px;z-index:300;translate:-50% 20px;opacity:0;padding:12px 18px;border-radius:999px;color:#fff;background:rgba(10,14,30,.9);border:1px solid rgba(255,255,255,.14);transition:opacity .3s,translate .3s var(--ease);pointer-events:none}
.ct-toast.is-on{opacity:1;translate:-50% 0}
@media (max-width:900px){
  .contact{padding-top:56px;padding-bottom:0}
  .ct-foot__row{justify-content:center;text-align:center}
  .ct-in::before{top:24%;height:70vw}
  .ct-title{font-size:var(--tfs,clamp(60px,19vw,150px));white-space:normal;line-height:.82}
  .ct-dock{gap:6px;height:auto;margin-top:clamp(56px,9vh,90px);padding:8px 10px 24px}
  .ct-bar,.ct-dock::after{border-radius:22px}
  .ct-app{width:46px;height:46px}
  .ct-tip{display:none}
  .ct-lbl{display:block;position:absolute;left:50%;top:calc(100% + 5px);translate:-50% 0;font-family:var(--body);font-size:9px;color:#c9d4ee;white-space:nowrap}
  .ct-dot{bottom:-4px}
  .ct-win{width:min(520px,calc(100vw - 16px));border-radius:24px}   /* tablets: a phone-like chat, not a stretched one */
  .ct-corner--tl{top:70px}
}
@media (prefers-reduced-motion:reduce){.ct-app,.ct-win,.ct-title,.ct-lead,.ct-status{transition:none}.ct-app.is-bounce .ct-face{animation:none}}

/* ============ RESPONSIVE (header / loader only; the hero scales as an artboard) ============ */
@media (max-width:900px){
  .pill--cta span:first-child{display:none}
  .pill--cta{padding:0 6px}
}
@media (max-width:640px){
  :root{--header-h:64px}
  .pill--menu span:first-child{display:none}
  .pill--menu{padding:0 14px}
  .loader__hud--tr,.loader__hud--br{display:none}
}

/* ---------- CV window: the PDF's pages on paper inside a glass window ---------- */
body.cvv-open{overflow:hidden}
.cvv{position:fixed;inset:0;z-index:91;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(2,3,8,.62);
  opacity:0;visibility:hidden;transition:opacity .2s ease,visibility 0s .2s}
.cvv.is-open{opacity:1;visibility:visible;transition:opacity .25s ease}
.cvv__win{position:relative;width:min(780px,100%);height:100%;max-height:1180px;border-radius:30px;padding:14px;display:flex;flex-direction:column;gap:12px;
  -webkit-backdrop-filter:blur(24px) saturate(170%);backdrop-filter:blur(24px) saturate(170%);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),inset 0 0 30px rgba(156,188,255,.12),0 30px 80px rgba(0,0,0,.55);
  translate:0 14px;scale:.97;opacity:0;transition:translate .2s var(--ease-out),scale .2s var(--ease-out),opacity .15s}   /* closing: quick */
.cvv.is-open .cvv__win{translate:0 0;scale:1;opacity:1;transition:translate .42s var(--ease-drawer),scale .42s var(--ease-drawer),opacity .25s}   /* opening: fast start, soft landing */
.cvv__win.glass::after{background:radial-gradient(70px circle at var(--gl-x,50%) var(--gl-y,0%),rgba(255,255,255,.13),transparent 62%)}   /* a small highlight: the window is big and the cursor sits on it */
.cvv__bar{display:flex;align-items:center;gap:12px;padding:4px 4px 0 14px}
.cvv__h{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}
.cvv__title{font-family:var(--display);font-weight:800;font-size:15px;letter-spacing:-.01em;color:var(--text)}
.cvv__meta{font-size:10px;letter-spacing:.08em;text-transform:uppercase;color:var(--ice)}
.cvv__meta .nw{white-space:nowrap}   /* "updated Nov 2026" moves to the next line whole */
.cvv__dl{display:inline-flex;align-items:center;justify-content:center;gap:10px;height:44px;padding:0 20px;border-radius:999px;flex:none;
  background:linear-gradient(180deg,var(--blue-hi),var(--blue));color:#fff;text-decoration:none;font-size:11px;letter-spacing:.06em;text-transform:uppercase;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.45),0 8px 24px rgba(23,71,255,.45);transition:scale .16s var(--ease-out),box-shadow .3s}
.cvv__dl svg{width:16px;height:16px}
.cvv__x{all:unset;box-sizing:border-box;cursor:pointer;flex:none;width:44px;height:44px;border-radius:50%;display:grid;place-items:center;color:var(--text);
  background:rgba(6,9,18,.6);border:1px solid rgba(255,255,255,.16);transition:border-color .3s,scale .16s var(--ease-out)}
.cvv__x svg{width:16px;height:16px}
.cvv__x:focus-visible,.cvv__dl:focus-visible{outline:2px solid var(--blue-hi);outline-offset:3px}
@media (hover:hover) and (pointer:fine){.cvv__x:hover{border-color:var(--blue-hi)}.cvv__dl:hover{box-shadow:inset 0 1px 0 rgba(255,255,255,.55),0 10px 30px rgba(23,71,255,.6)}}
.cvv__dl:active,.cvv__x:active{scale:.97;transition-duration:.16s}
.cvv__paper{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;border-radius:18px;display:flex;flex-direction:column;gap:12px;outline:none;
  scrollbar-width:thin;scrollbar-color:rgba(156,188,255,.35) transparent}
.cvv__page{display:block;width:100%;height:auto;border-radius:16px;background:#f7f8fc}   /* the paper colour shows while a page loads */
.cvv__sheet{position:relative;flex:none}
.cvv__hot{position:absolute;display:block;border-radius:4px}   /* the contacts on page 1 are links, as in the PDF */
.cvv__hot:focus-visible{outline:2px solid var(--blue-hi);outline-offset:2px}
@media (hover:hover) and (pointer:fine){.cvv__hot:hover{background:rgba(23,71,255,.08)}}
.cvv__lang{display:flex;flex:none;padding:3px;border-radius:999px;background:rgba(6,9,18,.5);border:1px solid rgba(255,255,255,.14)}
.cvv__lb{all:unset;box-sizing:border-box;cursor:pointer;min-width:40px;height:36px;padding:0 10px;border-radius:999px;display:grid;place-items:center;font-size:11px;letter-spacing:.06em;color:var(--dim);transition:color .3s,background .3s}
.cvv__lb[aria-pressed="true"]{color:#fff;background:linear-gradient(180deg,rgba(80,118,255,.55),rgba(23,71,255,.75))}
.cvv__lb:focus-visible{outline:2px solid var(--blue-hi);outline-offset:2px}
@media (max-width:640px){
  .cvv{padding:8px}
  .cvv__win{height:100%;border-radius:24px;padding:10px}
  .cvv__bar{flex-wrap:wrap;padding:4px 2px 0 10px}
  .cvv__dl{order:3;flex:1 1 100%}
  .cvv__meta{display:none}   /* the title, the EN/UA switch and the close button share one line */
  .cvv__paper{border-radius:14px;gap:8px}
  .cvv__page{border-radius:12px}
}

@media (prefers-reduced-motion:reduce){
  /* fewer and gentler, not none: fades and colour changes stay (they explain what changed), movement goes */
  *,*::before,*::after{animation-duration:.001s!important;animation-iteration-count:1!important;transition-property:opacity,color,background-color,border-color,box-shadow,visibility!important}
  .hero{height:100vh}
}
