/* HOME · WHAT I MAKE — three live tiles: an edit, a dashboard, a website. Classes: hs-*. Read DESIGN.md first.
   Each stage is a little film. Everything inside a stage is sized in em, and 1em = 1cqi of the stage
   (set on .hs-world; s2 is authored 2.2x and scaled down so its close-up stays sharp), so a scene scales
   as one picture. Loops: s1 12s · s2 10s · s3 11s. s1 uses negative delays (one keyframe set per part, offset
   3s per shot); s2 and s3 use no delays, so every part resets on the same frame.
   Small stages get their own composition through container queries near the end of this file. */
@property --hs-s{syntax:"<integer>";inherits:false;initial-value:0}
@property --hs-f{syntax:"<integer>";inherits:false;initial-value:0}
@property --hs-n{syntax:"<integer>";inherits:false;initial-value:0}

/* ───────────── layout ───────────── */
.hs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.hs-cell{min-width:0}
.hs-cell-film{grid-column:1 / -1}
.hs-tile{display:flex;flex-direction:column;height:100%;padding:10px;
  box-shadow:inset 0 1px 0 oklch(1 0 0 / .26),inset 0 0 0 1px oklch(1 0 0 / .07),inset 0 -40px 60px -40px rgb(0 0 0 / .55),0 40px 80px -40px #000}
.hs-stage{aspect-ratio:16 / 9;background:radial-gradient(120% 90% at 50% -10%,rgb(var(--L) / .1),transparent 62%),#090909}
.hs-film .hs-stage{aspect-ratio:2.2 / 1}
.hs-cap{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:6px 24px;padding:24px 18px 18px}
.hs-cap::before{content:"";position:absolute;inset:-10px 0 0;pointer-events:none;background:radial-gradient(70% 100% at 50% 0%,rgb(var(--L) / .055),transparent 72%)}
.hs-cap .h3,.hs-cap .body{grid-column:1}
.hs-cap .arrow{grid-column:2;grid-row:1 / 3;padding-bottom:3px;color:var(--dim);transition:color .3s var(--ease-out)}
.hs-film .hs-cap .h3{font-size:28px;line-height:34px}
.hs-tile:is(:hover,.is-hover,:focus-visible) .arrow{color:var(--text)}
.hs-tile:is(:hover,.is-hover) .arrow svg{translate:4px 0}
.hs-note{display:flex;align-items:center;gap:12px;margin-top:32px;padding-left:18px;font-size:15px;line-height:24px;color:var(--dim)}
.hs-note-dot{width:5px;height:5px;border-radius:99px;flex:none;background:var(--flame);box-shadow:0 0 6px rgb(var(--F) / .95),0 0 16px rgb(var(--F) / .6)}

/* ───────────── the camera (shared) ───────────── */
.hs-cam{position:absolute;inset:0;perspective:120cqi;transform-origin:52% 44%;
  perspective-origin:calc(50% + var(--hs-px,0) * 9%) calc(42% + var(--hs-py,0) * 9%);
  filter:brightness(1);
  transition:scale 1.2s var(--ease-out),filter .8s var(--ease-out),perspective-origin .9s var(--ease-out)}
.hs-world{position:absolute;left:50%;top:50%;font-size:1cqi;line-height:1.2;font-weight:500;letter-spacing:-.012em;color:var(--text);white-space:nowrap;transform-style:preserve-3d}
.hs-world :is(b,i,em){font-style:normal;font-weight:inherit}
/* the lens: soft at the edges, dark in the corners */
.hs-lens{position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  backdrop-filter:blur(.5cqi);-webkit-backdrop-filter:blur(.5cqi);
  mask-image:radial-gradient(ellipse 66% 72% at 50% 50%,transparent 66%,#000 100%);
  transition:opacity .8s var(--ease-out)}
.hs-stage::after{content:"";position:absolute;inset:0;pointer-events:none;border-radius:inherit;
  background:radial-gradient(ellipse 78% 86% at 50% 46%,transparent 58%,rgb(5 5 5 / .34) 88%,rgb(5 5 5 / .66) 100%);
  transition:opacity .8s var(--ease-out)}
/* hover: the camera pushes in, the light comes up, the lens opens */
.hs-tile:is(:hover,.is-hover,:focus-visible) .hs-cam{scale:1.055;filter:brightness(1.13)}
.hs-tile:is(:hover,.is-hover,:focus-visible) .hs-lens{opacity:.35}
.hs-tile:is(:hover,.is-hover,:focus-visible) .hs-stage::after{opacity:.55}

/* a dark glass panel inside a scene */
.hs-pane{position:absolute;border-radius:1.3em;
  background:linear-gradient(180deg,oklch(1 0 0 / .125) 0%,oklch(1 0 0 / .05) 50%,oklch(1 0 0 / .032) 100%);
  box-shadow:inset 0 .09em 0 oklch(1 0 0 / .4),inset 0 0 0 .08em oklch(1 0 0 / .09),0 2.6em 4em -1.8em #000}
.hs-pt{display:block;height:2em;font-size:1.1em;color:var(--dim)}

/* loops run only while the tile is on screen */
.js .hs-tile:not(.is-live) .hs-stage *,.js .hs-tile:not(.is-live) .hs-stage *::before,.js .hs-tile:not(.is-live) .hs-stage *::after{animation-play-state:paused}

/* ───────────── the four shots (boards, viewer, clips, website frames) ─────────────
   Drawn in cqi of their own box, so the same three marks work at any size. */
.hs-g{position:relative;display:block;overflow:hidden;container-type:size;border-radius:.5em;background:#060606;box-shadow:inset 0 0 0 max(1px,.08em) oklch(1 0 0 / .12)}
.hs-g>i{position:absolute;display:block}
.hs-g::before{content:"";position:absolute;inset:0;background:radial-gradient(90% 110% at 50% -12%,rgb(var(--L) / .26),rgb(var(--L) / .05) 46%,transparent 66%)}
/* 01 Problem: a pile of dark windows, nothing lit */
.hs-g1::before{opacity:.5}
.hs-shot::before,.hs-fr .hs-g::before{background:radial-gradient(84% 110% at 50% -14%,rgb(var(--L) / .46),rgb(var(--L) / .1) 46%,transparent 68%)}
.hs-g1>i{border-radius:3cqi;background:linear-gradient(180deg,oklch(1 0 0 / .14),oklch(1 0 0 / .05));box-shadow:inset 0 0 0 max(1px,.5cqi) oklch(1 0 0 / .2),0 3cqi 6cqi -2cqi #000}
.hs-g1>i:nth-child(1){left:14%;top:22%;width:40%;height:50%;rotate:-8deg}
.hs-g1>i:nth-child(2){left:35%;top:31%;width:38%;height:48%;rotate:6deg}
.hs-g1>i:nth-child(3){left:55%;top:15%;width:30%;height:44%;rotate:13deg}
/* 02 Product: one clear card, one lit bar */
.hs-g2>i:nth-child(1){left:23%;top:17%;width:54%;height:66%;border-radius:4cqi;background:linear-gradient(180deg,oklch(1 0 0 / .2),oklch(1 0 0 / .06));box-shadow:inset 0 max(1px,.5cqi) 0 oklch(1 0 0 / .5),inset 0 0 0 max(1px,.4cqi) oklch(1 0 0 / .1),0 6cqi 10cqi -4cqi #000}
.hs-g2>i:nth-child(2){left:30%;top:30%;width:26%;height:7%;border-radius:9cqi;background:rgb(var(--L));box-shadow:0 0 3cqi rgb(var(--L) / .9),0 0 9cqi rgb(var(--L) / .5)}
.hs-g2>i:nth-child(3){left:30%;top:47%;width:40%;height:24%;background:linear-gradient(oklch(1 0 0 / .26),oklch(1 0 0 / .26)) 0 0 / 100% 22% no-repeat,linear-gradient(oklch(1 0 0 / .14),oklch(1 0 0 / .14)) 0 52% / 72% 22% no-repeat,linear-gradient(oklch(1 0 0 / .14),oklch(1 0 0 / .14)) 0 100% / 46% 22% no-repeat}
/* 03 Proof: bars rising, the last one lit */
.hs-g3>i{bottom:24%;width:10%;border-radius:1.6cqi 1.6cqi 0 0;background:linear-gradient(180deg,oklch(1 0 0 / .3),oklch(1 0 0 / .1));transform-origin:50% 100%}
.hs-g3>i:nth-child(1){left:28%;height:18%}
.hs-g3>i:nth-child(2){left:45%;height:33%}
.hs-g3>i:nth-child(3){left:62%;height:52%;background:rgb(var(--L));box-shadow:0 0 3cqi rgb(var(--L) / .85),0 0 10cqi rgb(var(--L) / .5)}
.hs-g3::after{content:"";position:absolute;left:21%;right:21%;bottom:24%;height:max(1px,.4cqi);background:oklch(1 0 0 / .32)}
/* 04 Ask: the lit button */
.hs-g4>i:nth-child(1){left:31%;top:50%;width:38%;height:21%;border-radius:99em;background:linear-gradient(180deg,#fff,rgb(var(--L)) 50%,oklch(0.86 0.012 80));box-shadow:0 0 2cqi rgb(var(--L) / .7),0 5cqi 14cqi -1cqi rgb(var(--L) / .5)}
.hs-g4>i:nth-child(2){left:27%;top:24%;width:46%;height:7%;border-radius:9cqi;background:oklch(1 0 0 / .34)}
.hs-g4>i:nth-child(3){left:36%;top:36%;width:28%;height:5%;border-radius:9cqi;background:oklch(1 0 0 / .16)}
/* a storyboard drawing: the same shot, outlines only */
.hs-wire{background:oklch(1 0 0 / .03)}
.hs-wire::before{display:none}
.hs-wire>i{background:none!important;box-shadow:inset 0 0 0 max(1px,.9cqi) rgb(var(--L) / .5)!important}
.hs-wire.hs-g3::after{background:rgb(var(--L) / .5)}

/* ═════════════ 1 · LAUNCH FILMS ═════════════ */
.hs-s1 .hs-world{width:100em;height:48.6em;margin:-24.3em 0 0 -50em;animation:hs-cam1 12s var(--ease-io) infinite}
@keyframes hs-cam1{
  0%,100%{transform:translate3d(2.6em,-3.3em,0) rotateX(33deg) rotateZ(-6deg) scale(.955)}
  50%{transform:translate3d(1.6em,-3.3em,0) rotateX(29deg) rotateZ(-4deg) scale(.99)}
}
.hs-s1 :is(.hs-board,.hs-shot,.hs-names b,.hs-line,.hs-line i,.hs-board::before,.hs-fly){animation-delay:calc(var(--i) * 3s - 12s)}

/* storyboard */
.hs-sb{left:0;top:0;width:21em;height:31em;padding:1.2em;transform-style:preserve-3d}
.hs-board{position:relative;display:flex;align-items:center;gap:1.1em;height:6.2em;margin-top:.4em;padding:.5em;border-radius:.8em;animation:hs-board 12s linear infinite}
.hs-board::before{content:"";position:absolute;inset:0;border-radius:inherit;background:linear-gradient(180deg,rgb(var(--L) / .16),rgb(var(--L) / .05));box-shadow:inset 0 .09em 0 rgb(var(--L) / .6),inset 0 0 0 .08em rgb(var(--L) / .14),0 0 2.4em rgb(var(--L) / .12);animation:hs-on 12s linear infinite;animation-delay:calc(var(--i) * 3s - 12s)}
.hs-board .hs-g{width:9.24em;height:5.2em;flex:none}
.hs-board p{position:relative;font-size:1.15em;line-height:1.3}
.hs-board p b{display:block;color:var(--dim)}
@keyframes hs-board{
  0%{opacity:.5;filter:blur(.08em);transform:translateZ(0)}
  2.5%,24%{opacity:1;filter:blur(0);transform:translateZ(var(--hs-lift,1.6em))}
  27.5%,100%{opacity:.5;filter:blur(.08em);transform:translateZ(0)}
}
@keyframes hs-on{0%{opacity:0}2.5%,24%{opacity:1}27.5%,100%{opacity:0}}

/* viewer */
.hs-vw{left:22.6em;top:0;width:47.9em;height:31em;padding:1.2em;transform:translateZ(1.2em);
  box-shadow:inset 0 .09em 0 oklch(1 0 0 / .34),inset 0 0 0 .08em oklch(1 0 0 / .08),0 3em 5em -1.4em #000,0 0 7em rgb(var(--L) / .09)}
.hs-screen{position:relative;height:25.6em;border-radius:.7em;overflow:hidden;background:#030303;box-shadow:0 0 0 .08em #000,0 0 3.4em rgb(var(--L) / .13)}
.hs-shot{position:absolute;inset:0;border-radius:0;box-shadow:none;opacity:0;animation:hs-shot 12s linear infinite}
.hs-shot em{position:absolute;left:0;right:0;bottom:8.5%;text-align:center;font-size:1.55em;letter-spacing:-.015em;color:var(--text);text-shadow:0 0 1.2em rgb(var(--L) / .55),0 .1em .5em #000}
.hs-shot.hs-g1 em{color:var(--dim);text-shadow:0 .1em .5em #000}
.hs-shot em.hs-onpill{bottom:auto;top:50%;height:21%;display:grid;place-items:center;font-size:1.4em;font-weight:600;color:#0a0a0a;text-shadow:none}
@keyframes hs-shot{
  0%,4.6%{opacity:0;z-index:2;filter:blur(1.3em) brightness(1.9);scale:1.08}
  7.6%{opacity:1}
  15.5%{filter:blur(0) brightness(1);scale:1}
  25%{z-index:2}
  25.01%{z-index:1}
  32.6%{opacity:1;filter:blur(0) brightness(1);scale:1.035}
  34.6%,100%{opacity:0;z-index:1;filter:blur(0) brightness(1);scale:1.035}
}
.hs-vbar{display:flex;align-items:center;justify-content:space-between;height:3em;padding:.5em .3em 0}
.hs-names{position:relative;flex:1;height:1.6em}
.hs-names b{position:absolute;left:0;top:0;font-size:1.15em;line-height:1.4;color:var(--dim);opacity:0;animation:hs-name 12s linear infinite}
@keyframes hs-name{0%,6%{opacity:0}8.5%,28.5%{opacity:1}30.5%,100%{opacity:0}}
.hs-tc{font-size:1.25em;line-height:1.3;font-variant-numeric:tabular-nums;letter-spacing:.02em;color:var(--text);text-shadow:0 0 1em rgb(var(--L) / .4)}
.hs-tc::after{counter-reset:hs-s var(--hs-s) hs-f var(--hs-f);content:"00:00:" counter(hs-s,decimal-leading-zero) ":" counter(hs-f,decimal-leading-zero);animation:hs-sec 12s steps(12) infinite,hs-frm 1s steps(25) infinite}
@keyframes hs-sec{from{--hs-s:0}to{--hs-s:12}}
@keyframes hs-frm{from{--hs-f:0}to{--hs-f:25}}

/* script */
.hs-sc{left:72.1em;top:0;width:27.9em;height:31em;padding:1.2em 1.5em}
.hs-line{position:relative;height:6.2em;margin-top:.4em;padding-top:.7em;opacity:.36;animation:hs-read 12s linear infinite}
.hs-line b{display:block;font-size:1.1em;line-height:1.5;color:var(--dim)}
.hs-line span{display:block;font-size:1.4em;line-height:1.35;letter-spacing:-.018em;text-shadow:0 0 1.4em rgb(var(--L) / .5)}
.hs-line i{position:absolute;left:0;right:0;bottom:.7em;height:.14em;border-radius:.2em;background:rgb(var(--L));box-shadow:0 0 .6em rgb(var(--L) / .8);transform-origin:0 50%;transform:scaleX(0);animation:hs-fill 12s linear infinite}
.hs-line::after{content:"";position:absolute;left:0;right:0;bottom:.7em;height:.14em;border-radius:.2em;background:oklch(1 0 0 / .12)}
@keyframes hs-read{0%,4.6%{opacity:.36;filter:blur(.05em)}8%,27%{opacity:1;filter:blur(0)}30.5%,100%{opacity:.36;filter:blur(.05em)}}
@keyframes hs-fill{0%,4.6%{transform:scaleX(0);opacity:1}27%{transform:scaleX(.93);opacity:1}30.5%,100%{transform:scaleX(1);opacity:0}}

/* timeline */
.hs-tl{left:0;top:32.6em;width:100em;height:16em;transform-style:preserve-3d}
.hs-heads{position:absolute;left:1.6em;top:3.4em;width:8em}
.hs-heads span{display:block;height:3.217em;margin-bottom:.348em;font-size:1.15em;line-height:3.217em;color:var(--dim)}
.hs-lanes{position:absolute;left:10.4em;right:1.2em;top:1.2em;bottom:1.2em;overflow:hidden;border-radius:.5em;
  mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 78%,transparent 100%)}
.hs-ruler{position:absolute;left:0;top:0;width:calc(100% + 4.5em);height:2.2em;
  background:repeating-linear-gradient(90deg,oklch(1 0 0 / .42) 0 .09em,transparent .09em 4.5em) 0 100% / 100% 1em no-repeat,
    repeating-linear-gradient(90deg,oklch(1 0 0 / .2) 0 .08em,transparent .08em .9em) 0 100% / 100% .45em no-repeat;
  animation:hs-ruler 1s linear infinite}
@keyframes hs-ruler{from{transform:translateX(0)}to{transform:translateX(-4.5em)}}
.hs-lane{position:absolute;left:0;right:0;height:3.7em;border-radius:.5em;background:rgb(0 0 0 / .42);box-shadow:inset 0 .09em 0 rgb(0 0 0 / .7),inset 0 0 0 .08em oklch(1 0 0 / .045)}
.hs-lp{top:2.2em}.hs-lv{top:6.3em}.hs-ls{top:10.4em;height:3.2em}
.hs-clip,.hs-bed{position:absolute;left:0;top:.2em;bottom:.2em;border-radius:.45em;opacity:0;
  background:linear-gradient(180deg,oklch(1 0 0 / .2),oklch(1 0 0 / .09));
  box-shadow:inset 0 .09em 0 oklch(1 0 0 / .42),inset 0 0 0 .08em oklch(1 0 0 / .1)}
.hs-clip{width:13.15em;animation:hs-slide 12s linear infinite,hs-land 12s linear infinite;animation-delay:calc(var(--i) * 3s - 12s)}
.hs-lp .hs-clip{display:flex;align-items:center;gap:.7em;padding:0 .45em}
.hs-lp .hs-clip .hs-g{width:4.4em;height:2.48em;flex:none;border-radius:.3em}
.hs-lp .hs-clip b{font-size:1.1em}
.hs-lv .hs-clip{left:1.5em;width:9.6em;animation-delay:calc(var(--i) * 3s - 12s),calc(var(--i) * 3s - 11.72s)}
.hs-bed{width:53.65em;animation:hs-slide2 24s linear infinite,hs-land2 24s linear infinite;animation-delay:calc(var(--k) * -12s)}
@keyframes hs-slide{from{transform:translateX(32.475em)}to{transform:translateX(-21.525em)}}
@keyframes hs-slide2{from{transform:translateX(32.475em)}to{transform:translateX(-75.525em)}}
@keyframes hs-land{
  0%,6.2%{opacity:0;translate:0 -1.9em;filter:brightness(2.6);animation-timing-function:var(--ease-out)}
  9%{opacity:1;translate:0 0;filter:brightness(2.6)}
  14%,29.6%{filter:brightness(1.3)}
  33.5%,100%{opacity:1;translate:0 0;filter:brightness(.72)}
}
@keyframes hs-land2{
  0%,1.2%{opacity:0;translate:0 1.6em;filter:brightness(2.2);animation-timing-function:var(--ease-out)}
  2.8%{opacity:1;translate:0 0;filter:brightness(2.2)}
  5.5%,100%{opacity:1;translate:0 0;filter:brightness(.85)}
}
.hs-wave{position:absolute;inset:.35em .6em;display:block;background:rgb(var(--L) / .78);
  mask-image:repeating-linear-gradient(90deg,#000 0 .14em,transparent .14em .4em)}
.hs-w1{clip-path:polygon(0.0% 39%,3.8% 39%,7.7% 46%,11.5% 46%,15.4% 45%,19.2% 29%,23.1% 24%,26.9% 23%,30.8% 18%,34.6% 22%,38.5% 46%,42.3% 21%,46.2% 46%,50.0% 34%,53.8% 40%,57.7% 40%,61.5% 41%,65.4% 36%,69.2% 46%,73.1% 38%,76.9% 4%,80.8% 18%,84.6% 27%,88.5% 36%,92.3% 36%,96.2% 39%,100.0% 39%,100.0% 61%,96.2% 61%,92.3% 64%,88.5% 64%,84.6% 73%,80.8% 82%,76.9% 96%,73.1% 62%,69.2% 54%,65.4% 64%,61.5% 59%,57.7% 60%,53.8% 60%,50.0% 66%,46.2% 54%,42.3% 79%,38.5% 54%,34.6% 78%,30.8% 82%,26.9% 77%,23.1% 76%,19.2% 71%,15.4% 55%,11.5% 54%,7.7% 54%,3.8% 61%,0.0% 61%)}
.hs-w2{clip-path:polygon(0.0% 32%,3.8% 46%,7.7% 21%,11.5% 42%,15.4% 44%,19.2% 46%,23.1% 42%,26.9% 46%,30.8% 41%,34.6% 37%,38.5% 46%,42.3% 16%,46.2% 46%,50.0% 30%,53.8% 36%,57.7% 24%,61.5% 46%,65.4% 46%,69.2% 40%,73.1% 45%,76.9% 41%,80.8% 30%,84.6% 38%,88.5% 24%,92.3% 13%,96.2% 46%,100.0% 29%,100.0% 71%,96.2% 54%,92.3% 87%,88.5% 76%,84.6% 62%,80.8% 70%,76.9% 59%,73.1% 55%,69.2% 60%,65.4% 54%,61.5% 54%,57.7% 76%,53.8% 64%,50.0% 70%,46.2% 54%,42.3% 84%,38.5% 54%,34.6% 63%,30.8% 59%,26.9% 54%,23.1% 58%,19.2% 54%,15.4% 56%,11.5% 58%,7.7% 79%,3.8% 54%,0.0% 68%)}
.hs-w3{background:rgb(var(--L) / .5);clip-path:polygon(0.0% 21%,1.7% 16%,3.3% 13%,5.0% 8%,6.7% 10%,8.3% 6%,10.0% 23%,11.7% 16%,13.3% 9%,15.0% 17%,16.7% 15%,18.3% 33%,20.0% 28%,21.7% 35%,23.3% 31%,25.0% 32%,26.7% 43%,28.3% 38%,30.0% 35%,31.7% 21%,33.3% 21%,35.0% 30%,36.7% 15%,38.3% 25%,40.0% 14%,41.7% 22%,43.3% 24%,45.0% 7%,46.7% 21%,48.3% 23%,50.0% 10%,51.7% 15%,53.3% 29%,55.0% 19%,56.7% 30%,58.3% 29%,60.0% 39%,61.7% 25%,63.3% 29%,65.0% 22%,66.7% 21%,68.3% 30%,70.0% 26%,71.7% 27%,73.3% 25%,75.0% 24%,76.7% 18%,78.3% 12%,80.0% 24%,81.7% 12%,83.3% 20%,85.0% 23%,86.7% 16%,88.3% 26%,90.0% 32%,91.7% 31%,93.3% 28%,95.0% 42%,96.7% 24%,98.3% 42%,100.0% 26%,100.0% 74%,98.3% 58%,96.7% 76%,95.0% 58%,93.3% 72%,91.7% 69%,90.0% 68%,88.3% 74%,86.7% 84%,85.0% 77%,83.3% 80%,81.7% 88%,80.0% 76%,78.3% 88%,76.7% 82%,75.0% 76%,73.3% 75%,71.7% 73%,70.0% 74%,68.3% 70%,66.7% 79%,65.0% 78%,63.3% 71%,61.7% 75%,60.0% 61%,58.3% 71%,56.7% 70%,55.0% 81%,53.3% 71%,51.7% 85%,50.0% 90%,48.3% 77%,46.7% 79%,45.0% 93%,43.3% 76%,41.7% 78%,40.0% 86%,38.3% 75%,36.7% 85%,35.0% 70%,33.3% 79%,31.7% 79%,30.0% 65%,28.3% 62%,26.7% 57%,25.0% 68%,23.3% 69%,21.7% 65%,20.0% 72%,18.3% 67%,16.7% 85%,15.0% 83%,13.3% 91%,11.7% 84%,10.0% 77%,8.3% 94%,6.7% 90%,5.0% 92%,3.3% 87%,1.7% 84%,0.0% 79%)}
/* the playhead: the one flame mark. It stays; the edit runs under it. */
.hs-ph{position:absolute;left:40.4em;top:.5em;bottom:.7em;width:.18em;margin-left:-.09em;border-radius:.2em;background:var(--flame);transform:translateZ(.5em);
  box-shadow:0 0 .35em rgb(var(--F)),0 0 1.2em rgb(var(--F) / .85),0 0 3.4em rgb(var(--F) / .5);
  animation:hs-ph 2.4s var(--ease-io) infinite alternate;transition:filter .8s var(--ease-out)}
.hs-ph::before{content:"";position:absolute;left:50%;top:0;width:1.1em;height:1em;translate:-50% 0;border-radius:.25em .25em .5em .5em;background:var(--flame);box-shadow:0 0 .8em rgb(var(--F) / .9)}
.hs-ph::after{content:"";position:absolute;left:50%;top:6%;width:13em;height:94%;translate:-50% 0;pointer-events:none;background:radial-gradient(closest-side,rgb(var(--F) / .2),rgb(var(--F) / .06) 55%,transparent)}
@keyframes hs-ph{from{opacity:.86}to{opacity:1}}
/* the flame mark glows harder on hover: more light around it, same hue */
.hs-ph,.hs-bars,.hs-prog{filter:drop-shadow(0 0 0 rgb(var(--F) / 0))}
.hs-tile:is(:hover,.is-hover,:focus-visible) :is(.hs-ph,.hs-bars,.hs-prog){filter:drop-shadow(0 0 1.1em rgb(var(--F) / .75))}

/* a board lifts off and becomes the shot */
.hs-fly{position:absolute;left:0;top:0;width:9.24em;height:5.2em;border-radius:.5em;transform-origin:0 0;opacity:0;pointer-events:none;
  --y:calc(4.3em + var(--i) * 6.6em);--fx0:1.7em;--fx1:23.8em;--fy1:1.2em;--fs:4.92;
  background:rgb(var(--L) / .05);box-shadow:inset 0 0 0 .1em rgb(var(--L) / .9),0 0 1.6em rgb(var(--L) / .5);
  animation:hs-fly 12s linear infinite}
@keyframes hs-fly{
  0%,.8%{opacity:0;transform:translate3d(var(--fx0),var(--y),1.6em) scale(1);filter:blur(0)}
  1.8%{opacity:.95;transform:translate3d(var(--fx0),var(--y),1.6em) scale(1);filter:blur(0);animation-timing-function:cubic-bezier(.55,0,.1,1)}
  7%{opacity:0;transform:translate3d(var(--fx1),var(--fy1),1.3em) scale(var(--fs));filter:blur(.18em)}
  100%{opacity:0;transform:translate3d(var(--fx1),var(--fy1),1.3em) scale(var(--fs));filter:blur(.18em)}
}

/* ═════════════ 2 · PRODUCT SCREENS & DASHBOARDS ═════════════ */
.hs-s2 .hs-world{font-size:2.2cqi;width:100em;height:56.25em;margin:-28.125em 0 0 -50em;transform-origin:50% 39%;animation:hs-cam2 10s linear infinite}
@keyframes hs-cam2{
  0%{transform:translate3d(0,2.3em,0) rotateX(16deg) rotateZ(-2.5deg) scale(.47)}
  31%{transform:translate3d(0,2.3em,0) rotateX(13deg) rotateZ(-1deg) scale(.486);animation-timing-function:cubic-bezier(.62,0,.18,1)}
  48%{transform:translate3d(.7em,3.2em,0) rotateX(50deg) rotateZ(-24deg) scale(1)}
  73%{transform:translate3d(-.2em,3.2em,0) rotateX(47deg) rotateZ(-19.5deg) scale(1.065);animation-timing-function:cubic-bezier(.62,0,.18,1)}
  90%,100%{transform:translate3d(0,2.3em,0) rotateX(16deg) rotateZ(-2.5deg) scale(.47)}
}
.hs-db{left:7em;top:4.4em;width:86em;height:47.6em;padding:2.2em;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:4.6em 16.6em minmax(0,1fr);gap:1.6em}
.hs-dbh{grid-column:1 / -1;display:flex;align-items:center;justify-content:space-between;padding:0 .4em}
.hs-dbh b{font-size:2.5em;letter-spacing:-.025em}
.hs-seg{display:flex;gap:.4em;padding:.4em;border-radius:99em;background:rgb(0 0 0 / .4);box-shadow:inset 0 0 0 .08em oklch(1 0 0 / .07)}
.hs-seg i{font-size:1.9em;line-height:1.75;padding:0 .8em;border-radius:99em;color:var(--dim)}
.hs-seg .hs-on{color:var(--text);background:oklch(1 0 0 / .12);box-shadow:inset 0 .05em 0 oklch(1 0 0 / .3)}
.hs-card{position:relative;border-radius:1.4em;
  background:linear-gradient(180deg,oklch(1 0 0 / .1),oklch(1 0 0 / .035) 60%,oklch(1 0 0 / .025));
  box-shadow:inset 0 .1em 0 oklch(1 0 0 / .3),inset 0 0 0 .08em oklch(1 0 0 / .07),0 1.6em 2.6em -1.4em #000}
.hs-chart{grid-column:1 / -1}
.hs-in{position:absolute;inset:0;padding:1.7em 2em;animation:hs-in0 10s linear infinite}
.hs-c2 .hs-in{animation-name:hs-in1}.hs-c3 .hs-in{animation-name:hs-in2}.hs-chart .hs-in{animation-name:hs-in3}
@keyframes hs-in0{0%,3.0%{opacity:0;filter:brightness(2.4) blur(.3em)}7.0%{opacity:1}12.0%{filter:brightness(1) blur(0)}93%{opacity:1;filter:brightness(1) blur(0)}97.5%,100%{opacity:0;filter:brightness(1) blur(0)}}
@keyframes hs-in1{0%,6.2%{opacity:0;filter:brightness(2.4) blur(.3em)}10.2%{opacity:1}15.2%{filter:brightness(1) blur(0)}93%{opacity:1;filter:brightness(1) blur(0)}97.5%,100%{opacity:0;filter:brightness(1) blur(0)}}
@keyframes hs-in2{0%,9.4%{opacity:0;filter:brightness(2.4) blur(.3em)}13.4%{opacity:1}18.4%{filter:brightness(1) blur(0)}93%{opacity:1;filter:brightness(1) blur(0)}97.5%,100%{opacity:0;filter:brightness(1) blur(0)}}
@keyframes hs-in3{0%,12.6%{opacity:0;filter:brightness(2.4) blur(.3em)}16.6%{opacity:1}21.6%{filter:brightness(1) blur(0)}93%{opacity:1;filter:brightness(1) blur(0)}97.5%,100%{opacity:0;filter:brightness(1) blur(0)}}
.hs-in>span{display:block;font-size:2em;line-height:1.2;color:var(--dim)}
.hs-n{display:block;margin-top:.06em;font-size:5.6em;line-height:1.08;letter-spacing:-.045em;font-variant-numeric:tabular-nums;text-shadow:0 0 .5em rgb(var(--L) / .28)}
.hs-n::after{counter-reset:hs-n var(--hs-n);content:counter(hs-n);animation:10s cubic-bezier(.2,.7,.2,1) infinite}
.hs-n1::after{animation-name:hs-n1}
.hs-n2::after{content:counter(hs-n) "%";animation-name:hs-n2}
.hs-n3::after{content:counter(hs-n) " ms";animation-name:hs-n3}
@keyframes hs-n1{0%,5%{--hs-n:0}26%,100%{--hs-n:842}}
@keyframes hs-n2{0%,8%{--hs-n:0}29%,100%{--hs-n:77}}
@keyframes hs-n3{0%,11%{--hs-n:999}32%,100%{--hs-n:182}}
/* card 1: the week, as seven small columns */
.hs-days{position:absolute;left:2em;right:2em;bottom:1.8em;height:3.2em;display:flex;align-items:flex-end;gap:.7em}
.hs-days i{flex:1;border-radius:.3em .3em 0 0;background:linear-gradient(180deg,rgb(var(--L) / .6),rgb(var(--L) / .2))}
.hs-days i:nth-child(1){height:34%}.hs-days i:nth-child(2){height:52%}.hs-days i:nth-child(3){height:44%}.hs-days i:nth-child(4){height:70%}.hs-days i:nth-child(5){height:62%}.hs-days i:nth-child(6){height:86%}
.hs-days i:nth-child(7){height:100%;background:rgb(var(--L));box-shadow:0 0 1em rgb(var(--L) / .7)}
/* card 3: one thin track */
.hs-track{position:absolute;left:2em;right:2em;bottom:2.6em;height:.7em;border-radius:99em;background:oklch(1 0 0 / .1)}
.hs-track i{position:absolute;inset:0 42% 0 0;border-radius:inherit;background:rgb(var(--L));box-shadow:0 0 1em rgb(var(--L) / .6)}
/* card 2, the hero: flame bars */
.hs-c2{transform:translateZ(.6em)}
.hs-c2::before{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:radial-gradient(70% 60% at 42% 92%,rgb(var(--F) / .3),rgb(var(--F) / .07) 55%,transparent 75%);
  box-shadow:inset 0 .12em 0 rgb(var(--L) / .55),inset 0 0 0 .08em rgb(var(--L) / .14),0 0 5em rgb(var(--F) / .16);
  animation:hs-heroglow 10s linear infinite}
@keyframes hs-heroglow{0%,14%{opacity:0}30%{opacity:.5}48%,73%{opacity:1}90%{opacity:.5}97%,100%{opacity:0}}
.hs-bars{position:absolute;left:2em;right:2em;bottom:1.8em;height:3.5em;display:flex;gap:.55em;transition:filter .8s var(--ease-out)}
.hs-bars i{position:relative;flex:1;border-radius:.75em;background:oklch(1 0 0 / .1);box-shadow:inset 0 0 0 .06em oklch(1 0 0 / .06)}
.hs-bars i:not(.hs-off)::after{content:"";position:absolute;inset:0;border-radius:inherit;opacity:0;
  background:linear-gradient(180deg,oklch(0.76 0.19 46),var(--flame));
  box-shadow:0 0 .5em rgb(var(--F) / .95),0 0 1.6em rgb(var(--F) / .6),0 .6em 2.6em rgb(var(--F) / .4);
  animation:hs-b0 10s linear infinite}
@keyframes hs-b0{0%,11.0%{opacity:0}11.9%,91%{opacity:1}95%,100%{opacity:0}}
@keyframes hs-b1{0%,12.4%{opacity:0}13.3%,91%{opacity:1}95%,100%{opacity:0}}
@keyframes hs-b2{0%,13.8%{opacity:0}14.7%,91%{opacity:1}95%,100%{opacity:0}}
@keyframes hs-b3{0%,15.2%{opacity:0}16.1%,91%{opacity:1}95%,100%{opacity:0}}
@keyframes hs-b4{0%,16.6%{opacity:0}17.5%,91%{opacity:1}95%,100%{opacity:0}}
@keyframes hs-b5{0%,18.0%{opacity:0}18.9%,91%{opacity:1}95%,100%{opacity:0}}
@keyframes hs-b6{0%,19.4%{opacity:0}20.3%,91%{opacity:1}95%,100%{opacity:0}}
.hs-bars i:nth-child(2)::after{animation-name:hs-b1}.hs-bars i:nth-child(3)::after{animation-name:hs-b2}.hs-bars i:nth-child(4)::after{animation-name:hs-b3}.hs-bars i:nth-child(5)::after{animation-name:hs-b4}.hs-bars i:nth-child(6)::after{animation-name:hs-b5}.hs-bars i:nth-child(7)::after{animation-name:hs-b6}
.hs-bars i.hs-live:not(.hs-off)::after{animation-name:hs-barlive}
@keyframes hs-barlive{0%,40%{opacity:0}44%{opacity:.85}50%{opacity:.3}56%{opacity:.9}62%{opacity:.35}68%{opacity:.9}74%{opacity:.4}80%,100%{opacity:0}}
/* the chart */
.hs-plot{position:absolute;left:2em;right:2.6em;top:5.2em;bottom:4.9em;
  background:repeating-linear-gradient(180deg,oklch(1 0 0 / .1) 0 .08em,transparent .08em 33.33%)}
.hs-plot svg{position:absolute;inset:0;width:100%;height:100%;overflow:visible;filter:drop-shadow(0 0 .5em rgb(var(--L) / .85)) drop-shadow(0 0 1.6em rgb(var(--L) / .4));animation:hs-draw 10s linear infinite}
.hs-curve{fill:none;stroke:rgb(var(--L));stroke-width:.34em;stroke-linecap:round;vector-effect:non-scaling-stroke}
.hs-area{fill:rgb(var(--L) / .07);stroke:none}
@keyframes hs-draw{0%,13%{clip-path:inset(-40% 100% -40% -4%);animation-timing-function:cubic-bezier(.5,0,.2,1)}30%,100%{clip-path:inset(-40% -4% -40% -4%)}}
.hs-end{position:absolute;right:-.6em;top:6.67%;width:1.2em;height:1.2em;margin-top:-.6em;border-radius:50%;background:#fff;box-shadow:0 0 .6em rgb(var(--L)),0 0 2em rgb(var(--L) / .7);animation:hs-end 10s linear infinite}
@keyframes hs-end{0%,29%{opacity:0;scale:.2}31.5%{opacity:1;scale:1.5}34%,100%{opacity:1;scale:1}}
.hs-x{position:absolute;left:2em;right:2.6em;bottom:1.3em;display:flex;justify-content:space-between}
.hs-x i{font-size:1.9em;line-height:1.2;color:var(--dim)}
/* depth of field: when the camera is close, everything but the hero falls out of focus */
.hs-far{animation:hs-far 10s linear infinite}
.hs-chart.hs-far{animation-name:hs-near}
@keyframes hs-far{0%,33%{filter:blur(0);opacity:1}48%,73%{filter:blur(.42em);opacity:.62}88%,100%{filter:blur(0);opacity:1}}
@keyframes hs-near{0%,33%{filter:blur(0);opacity:1}48%,73%{filter:blur(.8em);opacity:.7}88%,100%{filter:blur(0);opacity:1}}

/* ═════════════ 3 · WEBSITES ═════════════ */
.hs-s3 .hs-world{width:100em;height:56.25em;margin:-28.125em 0 0 -50em;animation:hs-cam3 11s var(--ease-io) infinite}
@keyframes hs-cam3{
  0%,100%{transform:translate3d(5em,.6em,0) rotateX(16deg) rotateY(10deg) rotateZ(-2deg) scale(1)}
  60%{transform:translate3d(1.5em,0,0) rotateX(12deg) rotateY(6deg) rotateZ(-1deg) scale(1.06)}
}
/* the film strip */
.hs-strip{position:absolute;left:2em;top:-9em;width:18em;height:76em;border-radius:.5em;
  background:linear-gradient(90deg,oklch(1 0 0 / .15),oklch(1 0 0 / .075) 50%,oklch(1 0 0 / .11));
  box-shadow:inset .09em 0 0 oklch(1 0 0 / .26),inset -.08em 0 0 oklch(1 0 0 / .1),0 3em 5em -2em #000;animation:hs-strip 11s linear infinite}
.hs-strip::before,.hs-strip::after{content:"";position:absolute;top:0;bottom:0;width:.9em;background:repeating-linear-gradient(180deg,rgb(0 0 0 / .85) 0 1.05em,transparent 1.05em 2.55em)}
.hs-strip::before{left:.5em}.hs-strip::after{right:.5em}
.hs-hole{position:absolute;left:2em;top:calc(12em + var(--k) * 10.2em);width:14em;height:7.875em;border-radius:.4em;background:#040404;box-shadow:inset 0 .12em .4em #000,inset 0 0 0 .08em oklch(1 0 0 / .1)}
.hs-hole .hs-g{width:100%;height:100%;border-radius:.4em;filter:brightness(.8)}
@keyframes hs-strip{0%,48%{filter:blur(0) brightness(1)}62%,88%{filter:blur(.2em) brightness(.86)}97%,100%{filter:blur(0) brightness(1)}}
/* the browser */
.hs-win{left:26em;top:4em;width:71em;height:70em;border-radius:1.6em;overflow:hidden;animation:hs-win 11s linear infinite}
@keyframes hs-win{0%,5%{filter:blur(.2em) brightness(.72)}15%,88%{filter:blur(0) brightness(1)}97%,100%{filter:blur(.2em) brightness(.72)}}
.hs-chrome{display:flex;align-items:center;gap:.9em;height:5.4em;padding:0 2em;box-shadow:inset 0 -.08em 0 oklch(1 0 0 / .1)}
.hs-chrome>i{width:1.3em;height:1.3em;border-radius:50%;background:oklch(1 0 0 / .18)}
.hs-url{display:flex;align-items:center;height:3.3em;width:34em;margin-left:2.4em;padding:0 1.5em;border-radius:99em;background:rgb(0 0 0 / .45);box-shadow:inset 0 0 0 .08em oklch(1 0 0 / .08)}
.hs-url b{font-size:1.9em;color:var(--dim)}
/* the build line: flame, fills as the frames land */
.hs-prog{position:absolute;left:0;top:5.3em;width:100%;height:.28em;transform-origin:0 50%;background:linear-gradient(90deg,rgb(var(--F) / .5),var(--flame) 70%,oklch(0.78 0.18 48));box-shadow:0 0 .6em rgb(var(--F)),0 0 2em rgb(var(--F) / .7),0 .4em 3em rgb(var(--F) / .4);animation:hs-prog 11s linear infinite;transition:filter .8s var(--ease-out)}
@keyframes hs-prog{
  0%,14%{transform:scaleX(0);opacity:1;animation-timing-function:var(--ease-out)}
  18%,28%{transform:scaleX(.25);opacity:1;animation-timing-function:var(--ease-out)}
  32%,41.5%{transform:scaleX(.5);opacity:1;animation-timing-function:var(--ease-out)}
  45.5%,55%{transform:scaleX(.75);opacity:1;animation-timing-function:var(--ease-out)}
  59.5%,84%{transform:scaleX(1);opacity:1}
  90%,100%{transform:scaleX(1);opacity:0}
}
.hs-page{position:absolute;left:0;right:0;top:5.7em;bottom:0;overflow:hidden}
.hs-pin{padding:0 3em 0 4em;animation:hs-scroll 11s linear infinite}
@keyframes hs-scroll{0%,62%{translate:0 0;animation-timing-function:var(--ease-io)}72%,90%{translate:0 var(--hs-scroll,-6.4em);animation-timing-function:var(--ease-io)}96%,100%{translate:0 0}}
.hs-nav{display:flex;align-items:center;gap:3em;height:6.4em}
.hs-nav b{font-size:2.1em;letter-spacing:-.03em;margin-right:auto}
.hs-nav span{font-size:1.9em;color:var(--dim)}
.hs-nav .hs-navbtn{color:var(--text);line-height:1.9;padding:0 .9em;border-radius:99em;background:oklch(1 0 0 / .1);box-shadow:inset 0 .05em 0 oklch(1 0 0 / .28),inset 0 0 0 .04em oklch(1 0 0 / .08)}
.hs-hero{display:flex;justify-content:space-between;height:18.56em;margin-top:.9em}
.hs-ht{display:flex;flex-direction:column;align-items:flex-start;width:27em;white-space:normal;animation:hs-lit 11s linear infinite}
.hs-ht b{font-size:4.3em;line-height:1;letter-spacing:-.04em;text-shadow:0 0 .8em rgb(var(--L) / .3)}
.hs-ht span{margin-top:.6em;font-size:1.95em;line-height:1.25;color:var(--dim)}
.hs-ht i{margin-top:auto;font-size:1.9em;line-height:2.3;font-weight:600;padding:0 1.1em;border-radius:99em;color:#0a0a0a;background:linear-gradient(180deg,#fff,rgb(var(--L)) 50%,oklch(0.86 0.012 80));box-shadow:0 .5em 1.8em -.3em rgb(var(--L) / .5)}
.hs-slot{display:block;border-radius:.9em;background:rgb(0 0 0 / .5);box-shadow:inset 0 .14em .5em #000,inset 0 0 0 .08em oklch(1 0 0 / .1)}
.hs-hero .hs-slot{width:33em;height:18.56em;flex:none}
.hs-feats{display:flex;gap:2em;margin-top:4.44em}
.hs-feats>div{width:20em}
.hs-feats .hs-slot{height:11.25em;border-radius:.6em}
.hs-feats span{display:block;margin-top:.6em;font-size:1.95em;line-height:1.3;animation:hs-lit 11s linear infinite}
@keyframes hs-lit{0%,15.4%{opacity:.2;filter:blur(.05em)}19.5%,86%{opacity:1;filter:blur(0)}91%,100%{opacity:.2;filter:blur(.05em)}}
.hs-feats .hs-t1{animation-name:hs-lit1}.hs-feats .hs-t2{animation-name:hs-lit2}.hs-feats .hs-t3{animation-name:hs-lit3}
@keyframes hs-lit1{0%,29%{opacity:.2;filter:blur(.05em)}33%,86%{opacity:1;filter:blur(0)}91%,100%{opacity:.2;filter:blur(.05em)}}
@keyframes hs-lit2{0%,42.7%{opacity:.2;filter:blur(.05em)}46.7%,86%{opacity:1;filter:blur(0)}91%,100%{opacity:.2;filter:blur(.05em)}}
@keyframes hs-lit3{0%,56.4%{opacity:.2;filter:blur(.05em)}60.4%,86%{opacity:1;filter:blur(0)}91%,100%{opacity:.2;filter:blur(.05em)}}
/* the frames: off the strip, into the page, a flash where each lands */
.hs-fr{position:absolute;left:0;top:0;width:14em;height:7.875em;transform-origin:0 0;border-radius:.4em;
  --a:translate3d(4em,calc(3em + var(--k) * 10.2em),.1em) scale(1);
  --b:translate3d(7em,calc(2.2em + var(--k) * 10.2em),7em) scale(1.14);
  --c:translate3d(var(--x),var(--y),.1em) scale(var(--s));
  transform:var(--a)}
.hs-fr .hs-g{width:100%;height:100%;border-radius:inherit}
.hs-fr::after{content:"";position:absolute;inset:0;border-radius:inherit;background:rgb(var(--L));opacity:0;pointer-events:none}
.hs-f0{--k:0;--x:61em;--y:17em;--s:2.3571}
.hs-f1{--k:1;--x:30em;--y:40em;--s:1.4286}
.hs-f2{--k:2;--x:52em;--y:40em;--s:1.4286}
.hs-f3{--k:3;--x:74em;--y:40em;--s:1.4286}
.hs-f0,.hs-f0::after{animation:hs-f0 11s linear infinite,hs-scroll 11s linear infinite}
.hs-f1,.hs-f1::after{animation:hs-f1 11s linear infinite,hs-scroll 11s linear infinite}
.hs-f2,.hs-f2::after{animation:hs-f2 11s linear infinite,hs-scroll 11s linear infinite}
.hs-f3,.hs-f3::after{animation:hs-f3 11s linear infinite,hs-scroll 11s linear infinite}
.hs-f0::after{animation:hs-x0 11s linear infinite}.hs-f1::after{animation:hs-x1 11s linear infinite}.hs-f2::after{animation:hs-x2 11s linear infinite}.hs-f3::after{animation:hs-x3 11s linear infinite}
@keyframes hs-f0{
  0%,5.4%{transform:var(--a);opacity:1;box-shadow:0 0 0 rgb(var(--L) / 0);animation-timing-function:var(--ease-io)}
  8.4%{transform:var(--b);box-shadow:0 1em 3em rgb(var(--L) / .2);animation-timing-function:cubic-bezier(.5,0,.14,1)}
  15.4%{transform:var(--c);box-shadow:0 0 5em rgb(var(--L) / .7)}
  20%,86%{transform:var(--c);opacity:1;box-shadow:0 0 2.6em rgb(var(--L) / .14)}
  90%{transform:var(--c);opacity:0;box-shadow:0 0 0 rgb(var(--L) / 0)}
  90.01%,95%{transform:var(--a);opacity:0}
  99%,100%{transform:var(--a);opacity:1;box-shadow:0 0 0 rgb(var(--L) / 0)}
}
@keyframes hs-f1{
  0%,19%{transform:var(--a);opacity:1;box-shadow:0 0 0 rgb(var(--L) / 0);animation-timing-function:var(--ease-io)}
  22%{transform:var(--b);box-shadow:0 1em 3em rgb(var(--L) / .2);animation-timing-function:cubic-bezier(.5,0,.14,1)}
  29%{transform:var(--c);box-shadow:0 0 5em rgb(var(--L) / .7)}
  33.6%,86%{transform:var(--c);opacity:1;box-shadow:0 0 2.6em rgb(var(--L) / .14)}
  90%{transform:var(--c);opacity:0;box-shadow:0 0 0 rgb(var(--L) / 0)}
  90.01%,95%{transform:var(--a);opacity:0}
  99%,100%{transform:var(--a);opacity:1;box-shadow:0 0 0 rgb(var(--L) / 0)}
}
@keyframes hs-f2{
  0%,32.7%{transform:var(--a);opacity:1;box-shadow:0 0 0 rgb(var(--L) / 0);animation-timing-function:var(--ease-io)}
  35.7%{transform:var(--b);box-shadow:0 1em 3em rgb(var(--L) / .2);animation-timing-function:cubic-bezier(.5,0,.14,1)}
  42.7%{transform:var(--c);box-shadow:0 0 5em rgb(var(--L) / .7)}
  47.3%,86%{transform:var(--c);opacity:1;box-shadow:0 0 2.6em rgb(var(--L) / .14)}
  90%{transform:var(--c);opacity:0;box-shadow:0 0 0 rgb(var(--L) / 0)}
  90.01%,95%{transform:var(--a);opacity:0}
  99%,100%{transform:var(--a);opacity:1;box-shadow:0 0 0 rgb(var(--L) / 0)}
}
@keyframes hs-f3{
  0%,46.4%{transform:var(--a);opacity:1;box-shadow:0 0 0 rgb(var(--L) / 0);animation-timing-function:var(--ease-io)}
  49.4%{transform:var(--b);box-shadow:0 1em 3em rgb(var(--L) / .2);animation-timing-function:cubic-bezier(.5,0,.14,1)}
  56.4%{transform:var(--c);box-shadow:0 0 5em rgb(var(--L) / .7)}
  61%,86%{transform:var(--c);opacity:1;box-shadow:0 0 2.6em rgb(var(--L) / .14)}
  90%{transform:var(--c);opacity:0;box-shadow:0 0 0 rgb(var(--L) / 0)}
  90.01%,95%{transform:var(--a);opacity:0}
  99%,100%{transform:var(--a);opacity:1;box-shadow:0 0 0 rgb(var(--L) / 0)}
}
@keyframes hs-x0{0%,13.4%{opacity:0}15.4%{opacity:.55}20%,100%{opacity:0}}
@keyframes hs-x1{0%,27%{opacity:0}29%{opacity:.55}33.6%,100%{opacity:0}}
@keyframes hs-x2{0%,40.7%{opacity:0}42.7%{opacity:.55}47.3%,100%{opacity:0}}
@keyframes hs-x3{0%,54.4%{opacity:0}56.4%{opacity:.55}61%,100%{opacity:0}}


/* ───────────── small stages: the camera moves closer, the scene is re-set ───────────── */
@container (max-aspect-ratio:3 / 2){
  /* the edit, 4:3 */
  .hs-s1 .hs-world{font-size:2.75cqi;width:36.36em;height:25.6em;margin:-12.8em 0 0 -18.18em;animation-name:hs-cam1m}
  .hs-s1 .hs-sc,.hs-s1 .hs-pt{display:none}
  .hs-sb{width:13.3em;height:14.4em;padding:.6em;border-radius:.9em;--hs-lift:.7em}
  .hs-board{height:3em;margin-top:.25em;padding:.25em;gap:.55em;border-radius:.5em}
  .hs-board:nth-of-type(1){margin-top:0}
  .hs-board .hs-g{width:4.44em;height:2.5em;border-radius:.3em}
  .hs-board p{font-size:1.1em}
  .hs-board p b{display:inline;margin-right:.3em}
  .hs-vw{left:13.9em;width:22.46em;height:14.4em;padding:.6em;border-radius:.9em}
  .hs-screen{height:11.96em;border-radius:.45em}
  .hs-vbar{height:1.6em;padding:.3em .2em 0}
  .hs-names{height:1.3em}
  .hs-names b{font-size:1.1em;line-height:1.2}
  .hs-tc{font-size:1.15em;line-height:1.2}
  .hs-shot em{font-size:1.3em}
  .hs-shot em.hs-onpill{font-size:1.15em}
  .hs-tl{top:15em;width:36.36em;height:10.6em;border-radius:.9em}
  .hs-heads{left:.8em;top:1.9em;width:6em}
  .hs-heads span{font-size:1.1em;height:2.364em;line-height:2.364em;margin-bottom:.182em}
  .hs-heads span:last-child{height:2.18em;line-height:2.18em}
  .hs-lanes{left:6.6em;right:.6em;top:.6em;bottom:.6em}
  .hs-ruler{height:1.3em;background-size:100% .7em,100% .35em}
  .hs-lane{left:-16.5em;height:2.6em}
  .hs-lp{top:1.3em}.hs-lv{top:4.1em}.hs-ls{top:6.9em;height:2.4em}
  .hs-lp .hs-clip{gap:.5em;padding:0 .3em}
  .hs-lp .hs-clip .hs-g{width:3.2em;height:1.8em}
  .hs-wave{inset:.25em .5em}
  .hs-ph{left:20.1em;top:.25em;bottom:.35em}
  .hs-ph::after{width:8em}
  .hs-fly{width:4.44em;height:2.5em;border-radius:.3em;--y:calc(.85em + var(--i) * 3.25em);--fx0:.85em;--fx1:14.5em;--fy1:.6em;--fs:4.79}
}
@keyframes hs-cam1m{
  0%,100%{transform:translate3d(.5em,-.5em,0) rotateX(27deg) rotateZ(-5deg) scale(.9)}
  50%{transform:translate3d(.2em,-.5em,0) rotateX(24deg) rotateZ(-3.4deg) scale(.93)}
}
@container (max-width:480px){
  /* the dashboard: start closer */
  .hs-s2 .hs-world{animation-name:hs-cam2m}
  /* the website: a narrower window, the same four frames */
  .hs-s3 .hs-world{font-size:1.5cqi;width:66.67em;height:37.5em;margin:-18.75em 0 0 -33.33em;--hs-scroll:-6em;animation-name:hs-cam3m}
  .hs-win{left:23em;top:3em;width:45em;height:56em}
  .hs-url{width:22em;margin-left:1.6em}
  .hs-pin{padding:0 2em}
  .hs-nav{height:5.4em}
  .hs-nav span:not(.hs-navbtn){display:none}
  .hs-hero{height:12.6em;margin-top:.6em}
  .hs-ht{width:17em}
  .hs-ht b{font-size:3.5em}
  .hs-ht span{display:none}
  .hs-hero .hs-slot{width:22.4em;height:12.6em}
  .hs-feats{gap:1em;margin-top:2.2em}
  .hs-feats>div{width:13em}
  .hs-feats .hs-slot{height:7.3125em}
  .hs-f0{--x:43.6em;--y:14.7em;--s:1.6}
  .hs-f1{--x:25em;--y:29.5em;--s:.9286}
  .hs-f2{--x:39em;--y:29.5em;--s:.9286}
  .hs-f3{--x:53em;--y:29.5em;--s:.9286}
}
@keyframes hs-cam2m{
  0%{transform:translate3d(0,.6em,0) rotateX(16deg) rotateZ(-2.5deg) scale(.7)}
  31%{transform:translate3d(0,.6em,0) rotateX(13deg) rotateZ(-1deg) scale(.73);animation-timing-function:cubic-bezier(.62,0,.18,1)}
  48%{transform:translate3d(.7em,3.2em,0) rotateX(50deg) rotateZ(-24deg) scale(1.1)}
  73%{transform:translate3d(-.2em,3.2em,0) rotateX(47deg) rotateZ(-19.5deg) scale(1.17);animation-timing-function:cubic-bezier(.62,0,.18,1)}
  90%,100%{transform:translate3d(0,.6em,0) rotateX(16deg) rotateZ(-2.5deg) scale(.7)}
}
@keyframes hs-cam3m{
  0%,100%{transform:translate3d(0,0,0) rotateX(13deg) rotateY(8deg) rotateZ(-2deg) scale(1.04)}
  60%{transform:translate3d(-2em,-.4em,0) rotateX(11deg) rotateY(5deg) rotateZ(-1deg) scale(1.07)}
}

/* ───────────── smaller screens ───────────── */
@media (max-width:960px){
  .hs-grid{grid-template-columns:minmax(0,1fr);gap:16px}
  .hs-film .hs-stage{aspect-ratio:4 / 3}
  .hs-cap{padding:20px 12px 14px}
  .hs-film .hs-cap .h3{font-size:24px;line-height:30px}
}
@media (max-width:760px){
  .hs-cap{grid-template-columns:minmax(0,1fr)}
  .hs-cap .arrow{grid-column:1;grid-row:auto;margin-top:10px}
  .hs-note{margin-top:24px;padding-left:12px}
}

@media (prefers-reduced-motion:reduce){
  .hs-stage *,.hs-stage *::before,.hs-stage *::after{animation-play-state:paused!important}
  .hs-tile:is(:hover,.is-hover,:focus-visible) .hs-cam{scale:1}
}
