/* AI Buddy · story v5 — the film */
.page{background:#09090b}
.hero-stage{position:relative}
.hero-stage .hero{position:sticky;top:0;transform-origin:50% 0;will-change:transform}
.s5{--g:clamp(16px,3.6cqw,62px);--ink:#111113;--cream:#eceae6;--mute:#8e8e97;--v:#8b3dff;--v2:#b48cff;--v3:#e4d6ff;--night:#09090b;--night2:#111114;--ld:rgba(255,255,255,.09);--ez:cubic-bezier(.16,1,.3,1);--ez2:cubic-bezier(.76,0,.24,1);
position:relative;z-index:2;font-family:'Inter Tight','Helvetica Neue',Arial,sans-serif;color:#f2f2f4;background:var(--night);-webkit-font-smoothing:antialiased}
.s5 *{box-sizing:border-box}
.s5 a{color:inherit}
.s5 ::selection{background:var(--v);color:#fff}
.wrap{position:relative;width:min(1240px,100% - 2*var(--g));margin-inline:auto}
.sec{position:relative;padding-block:clamp(120px,15cqw,240px)}

.lt{background:var(--cream);color:var(--ink)}

/* reveals */
.mh .wm{display:inline-block;overflow:hidden;vertical-align:top;padding-bottom:.12em;margin-bottom:-.12em}
.mh .wm>span{display:inline-block;transform:translateY(110%);transition:transform 1.3s var(--ez);transition-delay:calc(var(--j) * 45ms + var(--dl,0ms))}
.mh.in .wm>span,.on .mh .wm>span{transform:none}

/* ================= THE FILM ================= */
.film{position:relative;background:#cfcecb}
.film-pin{position:sticky;top:0;height:100vh;overflow:hidden;border-radius:var(--fr,0px) var(--fr,0px) 0 0}
.fv{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;clip-path:inset(var(--ct,0%) 0 0 0);transform:scale(var(--sc,1));will-change:clip-path,transform}
.film-pin::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(to top,rgba(8,8,10,.72),rgba(8,8,10,.28) 34%,rgba(8,8,10,0) 58%)}
.cap{position:absolute;left:max(var(--g),calc((100% - 1240px) / 2));right:var(--g);bottom:clamp(54px,9vh,100px);z-index:2;display:grid;max-width:min(760px,100% - 2*var(--g))}
.ch{grid-area:1/1;align-self:end;pointer-events:none}
.ch .k{display:flex;align-items:center;gap:14px;font-size:11px;letter-spacing:.42em;text-transform:uppercase;color:rgba(255,255,255,.75);overflow:hidden}
.ch .k span{display:inline-block;transform:translateY(110%);transition:transform .9s var(--ez)}
.ch .k i{display:block;width:40px;height:1px;background:var(--v2);transform:scaleX(0);transform-origin:0 50%;transition:transform 1s var(--ez) .1s}
.ch h2{margin:18px 0 0;font-size:clamp(40px,5cqw,84px);font-weight:300;line-height:1.02;letter-spacing:-.04em;color:#fff}
.ch p{margin:18px 0 0;max-width:30em;font-size:clamp(15px,1.1cqw,18px);line-height:1.6;color:rgba(255,255,255,.78);opacity:0;transform:translateY(14px);transition:opacity .9s var(--ez) .35s,transform 1s var(--ez) .35s}
.ch .tg{display:inline-flex;align-items:center;gap:10px;margin-top:20px;padding:9px 15px;border-radius:999px;border:1px solid rgba(255,255,255,.3);font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#fff;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);background:rgba(255,255,255,.08);opacity:0;transition:opacity .8s .55s}
.ch .tg::before{content:"";width:6px;height:6px;border-radius:50%;background:var(--v2);box-shadow:0 0 10px var(--v)}
.ch.on .k span{transform:none}
.ch.on .k i{transform:none}
.ch.on p{opacity:1;transform:none}
.ch.on .tg{opacity:1}
.ch:not(.on) .mh .wm>span{transform:translateY(-110%);transition-duration:.6s;transition-delay:calc(var(--j) * 20ms)}
.ch.pre:not(.on) .mh .wm>span{transform:translateY(110%);transition:none}
.ch:not(.on) p,.ch:not(.on) .tg{transition-delay:0s;transition-duration:.4s}
.fhud{position:absolute;right:var(--g);bottom:clamp(54px,9vh,100px);z-index:2;display:grid;justify-items:end;gap:14px;color:#fff}
.fct{font-size:clamp(28px,2.4cqw,40px);font-weight:200;letter-spacing:-.02em;font-variant-numeric:tabular-nums}
.fct small{font-size:.4em;letter-spacing:.2em;opacity:.6}
.fbar{display:flex;gap:6px}
.fbar i{position:relative;display:block;width:clamp(26px,3cqw,48px);height:2px;background:rgba(255,255,255,.25);overflow:hidden}
.fbar i::after{content:"";position:absolute;inset:0;background:#fff;transform:scaleX(var(--f,0));transform-origin:0 50%}

/* ================= DIFFERENCE: the numbers and the client strip (the comparison scene lives in diff-scene.css) ================= */

/* ================= TEAM ================= */

/* ================= PRICES ================= */

/* ================= FINAL ================= */

/* reused component tweaks */

.s5 :focus-visible{outline:2px solid var(--v2);outline-offset:4px;border-radius:6px}
/* rail */
.rail3{position:fixed;right:clamp(14px,1.6cqw,26px);top:50%;transform:translateY(-50%);z-index:40;display:grid;opacity:0;pointer-events:none;transition:opacity .6s}
.rail3.on{opacity:1;pointer-events:auto}
.rail3 a{display:flex;align-items:center;justify-content:flex-end;gap:12px;height:30px;text-decoration:none;font-size:10px;letter-spacing:.3em;text-transform:uppercase}
.rail3 a b{font-weight:500;color:#fff;opacity:0;transform:translateX(8px);transition:opacity .4s,transform .5s var(--ez);white-space:nowrap;padding:5px 9px;border-radius:999px;background:rgba(9,9,11,.8)}
.rail3 a i{width:16px;height:1px;background:rgba(255,255,255,.35);transition:width .5s var(--ez),background .4s}
.rail3.on-lt a i{background:rgba(17,17,19,.35)}
.rail3 a:hover b,.rail3 a:focus-visible b{opacity:1;transform:none}
.rail3 a.cur i{width:34px;background:var(--v2)}
@media (max-width:900px){
.hero-stage .hero{position:relative}
.film{height:auto !important}
.film-pin{position:relative;height:auto;display:grid;gap:0;border-radius:0}
.fv{position:relative;inset:auto;height:auto;aspect-ratio:16/10;clip-path:none;transform:none}
.film-pin::after,.fhud{display:none}
.cap{position:static;display:block;max-width:none;padding:0}
.chm{display:block}
.ch{display:none}

.rail3{display:none}
}
.chm{display:none;padding:28px var(--g) 64px;background:var(--night)}
.chm .k{font-size:11px;letter-spacing:.4em;color:var(--v2);text-transform:uppercase}
.chm h2{margin:12px 0 0;font-size:clamp(32px,8cqw,46px);font-weight:300;letter-spacing:-.035em;line-height:1.05}
.chm p{margin:12px 0 0;color:#a9a9b2;line-height:1.6}
@media (max-width:900px){.chm{display:block}}
html.calm .mh .wm>span{transform:none !important;transition:none}
.s5{background:none}
.film{background:none}
.s5>.sec:not(.lt){background:var(--night)}
.film-pin::after{background:linear-gradient(to top,rgba(8,8,10,.82),rgba(8,8,10,.45) 30%,rgba(8,8,10,0) 62%),linear-gradient(to right,rgba(8,8,10,.35),rgba(8,8,10,0) 55%)}
.ch h2{text-shadow:0 2px 30px rgba(0,0,0,.35)}
/* ===== v6 · iris film ===== */
.film,.film-pin{pointer-events:none}
.film-pin{border-radius:0}
.fv{clip-path:none;transform:none;visibility:hidden;transform-origin:50% 50%;will-change:auto}
.fv:first-of-type{visibility:visible}
.film-pin::after{opacity:var(--so,0);z-index:3}
.cap,.fhud{z-index:4}
.iris{position:absolute;left:0;top:0;z-index:3;width:0;height:0;border-radius:50%;pointer-events:none;opacity:0;border:1.5px solid rgba(214,196,255,.95);box-shadow:0 0 18px 2px rgba(139,61,255,.85),inset 0 0 18px 2px rgba(139,61,255,.6);transform:translate(-50%,-50%)}
.fhud{pointer-events:auto}
.fctl{display:flex;align-items:center;gap:16px}
.fpp{display:grid;place-items:center;width:44px;height:44px;padding:0;border-radius:50%;border:1px solid rgba(255,255,255,.35);background:rgba(255,255,255,.08);color:#fff;cursor:pointer;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:background .3s,border-color .3s}
.fpp:hover{background:rgba(255,255,255,.2);border-color:#fff}
.fpp svg{width:14px;height:14px}
.fpp .i-pl{display:none}
.fpp.paused .i-pl{display:block}
.fpp.paused .i-pa{display:none}
.fbar{gap:4px}
.fbar button{display:grid;align-items:center;height:44px;padding:0 3px;border:0;background:none;cursor:pointer}
.fbar button i{position:relative;display:block;width:clamp(26px,3cqw,48px);height:2px;background:rgba(255,255,255,.25);overflow:hidden;transition:height .3s}
.fbar button:hover i{height:4px}
.fbar button i::after{content:"";position:absolute;inset:0;background:#fff;transform:scaleX(var(--f,0));transform-origin:0 50%}
.ch{transition:opacity .4s}
@media (max-width:900px){.iris,.fctl{display:none}.fv{visibility:visible}}
.hero-stage{overflow:clip}
.fhud{opacity:var(--so,0);transition:opacity .3s}
/* ===== v6 · slow-motion reveals ===== */
.s5{--slow:cubic-bezier(.19,1,.22,1)}

/* headings: words rise slowly out of a mask, de-blurring and un-tilting */
.mh .wm>span{transform:translateY(115%) rotate(6deg);filter:blur(8px);opacity:.2;transform-origin:0 100%;transition:transform 2.1s var(--slow),filter 1.8s var(--slow),opacity 1.6s var(--slow);transition-delay:calc(var(--j) * 90ms + var(--dl,0ms))}
.mh.in .wm>span,.on .mh .wm>span{transform:none;filter:none;opacity:1}
/* everything else: a slow, weighted float up through depth */

/* ledger rows */

/* numbers */

/* team */

/* dashboard tilts up from the floor as it arrives (scroll-linked) */

/* price cards: staggered slow float + image unveiled */

/* guarantee list */

/* videos + testimonials */

/* FAQ rows cascade */

/* footer CTA */

/* buttons breathe slowly on hover */
.btn2::before{transition:transform 1s var(--slow)}
html.calm .mh .wm>span{opacity:1 !important;transform:none !important;filter:none !important;transition:none !important}

/* ===== v7 · bloom transition + varied slow-motion reveals ===== */
.iris{inset:0;left:0;top:0;width:100% !important;height:100% !important;border:0;box-shadow:none;border-radius:0;transform:none;mix-blend-mode:screen;z-index:3}
.fv{backface-visibility:hidden}
/* headline · character cascade (letters condense out of a soft blur) */

/* headline · focus pull (the whole line racks into focus and tightens) */

/* paragraphs · soft light sweep */

/* price cards · rise and swing up from the table */

/* video cards · curtain lift, then title */

/* testimonials · the two halves glide in from opposite sides */

/* FAQ · the hairline draws first, then the question surfaces */

/* team rows · hairline + name */

/* numbers float up with a long settle */

/* ===== v8 · the string returns, focus cards, varied type ===== */
.after{position:relative;background:var(--night);isolation:isolate}
.after>section,.after>footer{position:relative}

/* two-sided comparison as focus cards */

/* number focus cards */

/* labels: tracking expands in */

/* heading variants */

/* ===== v9 · quieter string, crisper cards ===== */

/* card corners + glow */

.ch .tg{border-radius:4px}
.btn2{border-radius:10px}

.fpp{border-radius:8px}

.ch .tg::before{box-shadow:none}

/* ===== v9 · quieter string that stays behind everything ===== */

.after>section>.wrap,.after>footer>.wrap{position:relative;z-index:2}

/* card corners + glow */

.ch .tg{border-radius:4px}
.btn2{border-radius:10px}

.fpp{border-radius:8px}

.ch .tg::before{box-shadow:none}

/* ===== v10 · the string fades in and out by section ===== */

/* ===== v11 · scroll-led slow motion ===== */
.after{overflow-x:clip}

/* ===== v12 · the lit stage: spotlight follows the string, dark-to-dawn journey, grain ===== */
.after{background:linear-gradient(#07080b,#0d0a1b 35%,#120c25 65%,#1a1122 88%,#17110f)}
.after>.sec:not(.lt){background:transparent}

/* ===== v14 · light writes the page ===== */

.after>section>.wrap{padding-top:clamp(40px,6vh,90px);padding-bottom:clamp(40px,6vh,90px)}
/* ===== v15 · type + cards: one quiet system; cards catch the light ===== */
.s5{--mute:#9a9aa5;--ld:rgba(255,255,255,.08);font-feature-settings:"kern","liga","calt","cv11";text-rendering:optimizeLegibility}

/* cards */

.s5 .btn2{letter-spacing:.22em;font-size:10.5px}
/* ===== v16 · the ledger: a staircase of four cards; they tilt, shine and re-count under your hand ===== */

@keyframes rip{0%{transform:scale(1);opacity:.9}100%{transform:scale(60);opacity:0}}

/* ===== v19 · the hero number: 60 and 85 as statements, the comparison as floating lines ===== */

/* ===== v20 · logical order: what happens -> the result; numbers run to the screen edge; bigger text ===== */

.after>section{container-type:inline-size}

.after>section.diff{overflow:visible}
/* ===== v22 · no trailing lines after labels; the dashboard act is centred and the dashboard materialises ===== */

/* ===== v23 · the release clip between the hero and the film ===== */
.fv.tvx{visibility:hidden;opacity:0;z-index:0;transform:none !important;clip-path:none !important}
/* ===== v25 · heights from the page's own viewport, so a canvas that draws the page tall still lays it out at screen size ===== */
.film-pin{height:var(--vh,100vh)}

/* ===== v28 · numbers: reels clip only top and bottom; side navigation labels as plain text ===== */

/* side navigation: no box, no shadow. the rail inverts against whatever is behind it, so it stays crisp on dark and on cream */
.rail3{mix-blend-mode:difference}
.rail3 a b{padding:0;border-radius:0;background:none;text-shadow:none;color:#fff;font-size:10px;font-weight:500;letter-spacing:.34em;opacity:1;transform:none;clip-path:inset(0 0 0 100%);transition:clip-path .7s var(--slow)}
.rail3 a:hover b,.rail3 a:focus-visible b{clip-path:inset(0 0 0 0)}
.rail3 a i,.rail3.on-lt a i{background:rgba(255,255,255,.4)}
.rail3 a:hover i{background:#fff;width:24px}
.rail3 a.cur i,.rail3.on-lt a.cur i{width:34px;background:#fff}
.rail3.on-lt a b,.rail3.on-lt a.cur b,.rail3 a.cur b{color:#fff;text-shadow:none}
.s5 .cur{display:none !important}
/* ===== v31 · the studio after dark: the hero's room with the lights down. one beam at the hero's angle falling across a floor, fixed to the screen; content moves through the light ===== */

.after>section>.wrap{position:relative;z-index:2}

/* ===== v32 · the beam as real light: a cone from a source off the top right, warm core, violet edges, landing on what matters, dust inside it ===== */

/* ===== v33 · the lamp moves per section and arrives differently: flicker on, glide, overhead iris, fan open ===== */

/* ===== v34 · a wider, softer beam ===== */

/* ===== v35 · the light has a source: a small agent whose eyes cast the beam, with two companions in orbit ===== */

/* ===== v36 · the agents are drawn in light at full resolution; the glossy orb is retired ===== */

/* ===== v39 · silhouette agents; the beam painted on its own small canvas ===== */

/* ===== v46 · no boxes behind small labels: a glowing violet spark and the words, nothing else; no violet rule before the chapter numbers ===== */
.s5 .ch .k i{display:none !important}
.s5 .ch .tg{display:inline-flex;align-items:center;gap:11px;padding:0;border:0;border-radius:0;background:none !important;-webkit-backdrop-filter:none;backdrop-filter:none;box-shadow:none;font-size:10.5px;font-weight:500;letter-spacing:.32em;text-transform:uppercase}
.s5 .ch .tg::before{content:"";flex:none;width:5px;height:5px;border-radius:1px;transform:rotate(45deg);background:#e4d6ff;box-shadow:0 0 0 2px rgba(180,140,255,.18),0 0 12px 2px rgba(139,61,255,.75)}
.s5 .ch .tg{margin-top:22px;color:rgba(255,255,255,.9);text-shadow:0 1px 16px rgba(0,0,0,.35)}

/* pricing images: the label sits in a soft pool of light rather than on a plate */

/* ===== v47 · pricing image labels: a soft full-width wash of light across the top of the photo, no shape ===== */

/* ===== v48 · the pricing cards show the same booking app at three stages ===== */

/* prototype: wireframes, a click path, a cursor tapping through */

/* mvp: a real, simple app; one feature still to come */

/* production: polished, live, paid, on phone and desktop */

/* the label sits on clear space at the top of each scene */

/* ===== v49 · prototype with words and line icons (still greyscale, still a sketch); a fuller MVP ===== */

/* MVP: real brand, real names, icons, an inbox of today's bookings */

/* ===== v50 · slimmer type in the pricing scenes; link colours stay put on hover; content keeps clear of the side navigation ===== */

.s5 .rail3 a:hover{color:#f2f2f4}

.after>section>.wrap{width:min(1240px,100% - 2 * max(var(--g),64px))}
@media (max-width:900px){.after>section>.wrap{width:min(1240px,100% - 2 * var(--g))}}
/* ===== v50b · smaller type and icons, more air in the prototype and MVP scenes ===== */

/* ===== v51 · scroll cues; the opening line before the light ===== */
.scue2{display:grid;justify-items:center;gap:12px;pointer-events:none;color:#3a3940;font-family:'Inter Tight','Helvetica Neue',Arial,sans-serif}
.scue2 i{position:relative;display:block;width:20px;height:32px;border-radius:12px;border:1px solid currentColor;opacity:.55}
.scue2 b{position:absolute;left:50%;top:7px;width:3px;height:3px;margin-left:-1.5px;border-radius:50%;background:currentColor;box-shadow:0 0 6px currentColor;animation:scDot 2.2s cubic-bezier(.45,0,.2,1) infinite}
.scue2 span{font-size:9.5px;font-weight:500;letter-spacing:.42em;text-transform:uppercase;padding-left:.42em;opacity:.7}
@keyframes scDot{0%{transform:translateY(0);opacity:0}15%{opacity:1}70%{transform:translateY(13px);opacity:1}100%{transform:translateY(16px);opacity:0}}
.hero .scue2{position:absolute;left:50%;bottom:clamp(20px,3.2cqw,40px);z-index:3;transform:translateX(-50%)}
.scue2.dk{position:absolute;left:50%;bottom:clamp(22px,3.4cqw,40px);z-index:5;transform:translate(-50%,8px);color:#fff;opacity:0;transition:opacity 1.2s var(--slow),transform 1.2s var(--slow)}
.scue2.dk.on{opacity:1;transform:translate(-50%,0)}
.cline{position:absolute;inset:0;z-index:6;display:grid;place-content:center;justify-items:center;gap:18px;text-align:center;pointer-events:none;color:#141414;font-family:'Inter Tight','Helvetica Neue',Arial,sans-serif;visibility:hidden}
.cline.in{visibility:visible}
.cline .cl-k{font-size:11px;font-weight:500;letter-spacing:.42em;text-transform:uppercase;padding-left:.42em;color:#6d2fe0;opacity:0;transform:translateY(10px);transition:opacity 1s var(--slow),transform 1.2s var(--slow)}
.cline .cl-h{font-size:clamp(46px,6.4cqw,112px);font-weight:300;letter-spacing:-.05em;line-height:.95}
.cline .cl-s{font-size:clamp(15px,1.25cqw,20px);font-weight:300;color:#3a3940;letter-spacing:-.01em}
.cline .cl-h>span,.cline .cl-s>span{display:inline-block;opacity:0;filter:blur(14px);transform:translateY(.35em);transition:opacity 1.1s var(--slow),filter 1.3s var(--slow),transform 1.4s var(--slow);transition-delay:calc(var(--w) * 160ms + 250ms)}
.cline.in .cl-k{opacity:1;transform:none}
.cline.in .cl-h>span,.cline.in .cl-s>span{opacity:1;filter:none;transform:none}
.cline.out .cl-k,.cline.out .cl-h>span,.cline.out .cl-s>span{opacity:0;filter:blur(10px);transform:translateY(-.2em);transition-duration:.7s;transition-delay:0s}
@media (max-width:900px){.cline,.scue2.dk{display:none}}
html.calm .scue2 b{animation:none}
.cline{place-content:center start;justify-items:start;text-align:left;padding-left:56%;padding-right:var(--g);gap:16px}
.cline .cl-k,.cline .cl-k{padding-left:0}
.cline .cl-h{font-size:clamp(40px,4.8cqw,86px)}
/* ===== v52 · the line is an intertitle: the studio goes dark, white type, a thin bar fills, then the light brings up the next scene ===== */
.cline{place-content:center;justify-items:center;text-align:center;padding:0 var(--g);gap:18px;color:#f4f3f8}
.cline::before{content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(120% 90% at 50% 50%,rgba(10,9,14,.86),rgba(6,6,9,.96));opacity:0;transition:opacity 1s var(--slow)}
.cline.in::before{opacity:1}
.cline.lift::before{opacity:0;transition:opacity 1.6s var(--slow)}
.cline.lift{visibility:visible}
.cline .cl-k{color:#c9b3ff;padding-left:.42em}
.cline .cl-h{font-size:clamp(44px,5.8cqw,104px);color:#fff}
.cline .cl-s{color:rgba(244,243,248,.62)}
.cl-bar{display:block;position:relative;width:min(220px,40cqw);height:1px;margin-top:16px;background:rgba(255,255,255,.14);overflow:hidden;opacity:0;transition:opacity .8s var(--slow) .8s}
.cl-bar>i{position:absolute;inset:0;display:block;background:linear-gradient(90deg,rgba(201,179,255,.2),#e6dbff);transform:scaleX(0);transform-origin:0 50%}
.cline.in .cl-bar{opacity:1}
.cline.in .cl-bar>i{transform:scaleX(1);transition:transform 2.6s cubic-bezier(.4,0,.2,1) .5s}
.cline.out .cl-bar{opacity:0;transition-delay:0s}
button.scue2{border:0;background:none;padding:6px 10px;font:inherit;cursor:pointer}
.scue2.dk{pointer-events:none}
.scue2.dk.on{pointer-events:auto}
.scue2.dk:hover i{opacity:1}
.scue2.dk:hover span{opacity:1}
.scue2.dk:focus-visible{outline:1px solid rgba(255,255,255,.6);outline-offset:4px;border-radius:8px}
@media (max-width:900px){.scue2.dk{display:none}}
/* ===== v53 · type system: Instrument Serif display + Inter Tight text; one violet italic word per heading; a clear five-step scale ===== */
.s5{--serif:'Instrument Serif','Times New Roman',Georgia,serif;--fs-d:clamp(52px,6.2cqw,112px);--fs-h:clamp(48px,5.3cqw,96px);--fs-l:clamp(18px,1.35cqw,22px);--fs-b:16px;--fs-k:11px}
.s5 .ch h2,.s5 .cline .cl-h{font-family:var(--serif);font-weight:400;letter-spacing:-.012em}

.s5 .ch h2{font-size:clamp(44px,4.4cqw,78px);line-height:1.02;letter-spacing:-.01em}
.s5 .cline .cl-h{font-size:clamp(56px,7cqw,128px);letter-spacing:-.02em;line-height:.95}

.s5 .vi,.s5 .w.vi,.s5 .wm.vi>span{font-style:italic;color:var(--v2)}
.s5 .lt .vi,.s5 .lt .w.vi{color:var(--v)}
.s5 .cline .vi{color:#c9b3ff}
.s5 em.vi{font-style:italic}
/* text: regular weight for reading, light only for display */
.s5 .ch p{font-weight:400}

/* film captions: a clean zone bottom-left, a soft dark scrim behind, serif titles */
.s5 .cap{max-width:min(620px,100% - 2*var(--g))}
.s5 .film-pin::after{background:linear-gradient(to top,rgba(8,8,10,.86),rgba(8,8,10,.4) 34%,rgba(8,8,10,0) 58%),linear-gradient(to right,rgba(8,8,10,.62),rgba(8,8,10,.22) 42%,rgba(8,8,10,0) 62%)}
.s5 .ch p{font-size:clamp(15px,1.05cqw,17px);max-width:28em;color:rgba(255,255,255,.8)}
/* rhythm: the results sit on a full-bleed violet field */

/* one card language: hairline border, 16px radius, no shadow */

/* ===== v54 · modern sans display: Geist, light and tight; accent words in violet, no italics ===== */
.s5{--serif:'Geist','Inter Tight','Helvetica Neue',Arial,sans-serif}
.s5 .ch h2,.s5 .cline .cl-h{font-weight:300;letter-spacing:-.045em}

.s5 .ch h2{letter-spacing:-.04em}
.s5 .cline .cl-h{letter-spacing:-.05em}

.s5 .vi,.s5 .w.vi,.s5 .wm.vi>span,.s5 em.vi{font-style:normal;color:var(--v2)}
.s5 .lt .vi,.s5 .lt .w.vi{color:var(--v)}
.s5 .ch p{font-family:'Inter Tight','Helvetica Neue',Arial,sans-serif;font-weight:400}

/* ===== v55 · minimal cut (the comparison scene lives in diff-scene.css) ===== */

.s5 .after>section.sec{padding-block:clamp(160px,18cqw,300px)}
.s5 .after>section.sec[style*="padding-top: 0"]{padding-top:clamp(60px,8cqw,140px) !important}

/* ===== v59 · phone layout ===== */

@media (max-width:900px){
.s5 .after>section.sec{padding-block:var(--sec-y,96px)}
.s5 .after>section.sec[style*="padding-top: 0"]{padding-top:40px !important}
.film{background:var(--night);padding-top:34px}
.film::before{content:"Swipe the story";display:block;padding:0 var(--g) 16px;font-size:11px;font-weight:500;letter-spacing:.3em;text-transform:uppercase;color:var(--v2)}
.film-pin>*:not(.fv):not(.chm){display:none !important}
.film-pin{height:auto;display:grid !important;grid-auto-flow:column;grid-template-rows:auto 1fr;grid-auto-columns:86%;gap:0 12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 var(--g) 8px;scrollbar-width:none;background:var(--night)}
.film-pin::-webkit-scrollbar{display:none}
.film-pin .fv{position:relative !important;inset:auto !important;width:100%;height:auto !important;aspect-ratio:4/5;object-fit:cover;border-radius:18px;scroll-snap-align:center;visibility:visible !important;opacity:1 !important;transform:none !important;clip-path:none !important;filter:none !important}
.film-pin .chm{padding:18px 2px 30px;background:none}
.film-pin .chm h2{font-family:var(--serif);font-weight:300;letter-spacing:-.04em;font-size:30px;line-height:1.05}
.film-pin .chm p{font-size:15px}

}
/* ===== v61 · phone hero + swipe cues ===== */
.swp{display:none}
@keyframes swpN{0%,100%{transform:translateX(-3px);opacity:.5}50%{transform:translateX(4px);opacity:1}}
@media (max-width:900px){
.page .hero{display:block;position:relative;height:100svh;min-height:560px;max-height:940px;aspect-ratio:auto;background:#e7e7e7}
.page .hero .stage{position:absolute;inset:0 0 auto 0;width:100%;height:68%;object-fit:cover;object-position:34% 50%;object-position:min(0px,calc(38.5% + 11.5cqw)) 50%;-webkit-mask-image:linear-gradient(#000 64%,transparent 100%);mask-image:linear-gradient(#000 64%,transparent 100%)}
.page .hero .copy{position:absolute;left:0;right:0;top:auto;bottom:0;padding:0 20px calc(30px + env(safe-area-inset-bottom,0px)) 18px;column-gap:20px}
.page .hero .slides{min-height:196px}
.page .hero .lines{font-size:34px;line-height:1.12}
.page .hero .eyebrow{margin-bottom:14px}
.page .hero .rail{height:236px}
.page .hero .cta{margin-top:22px}
.page .hero .motion{top:calc(52% - 22px);bottom:auto;left:auto;right:16px}
.film-pin .tvx{display:none !important}
.page .hero .scue2{display:none}
.page .hero{background:#08080a;color:#f4f2f7}
.page .hero .stage{height:76%;-webkit-mask-image:linear-gradient(#000 36%,rgba(0,0,0,.84) 48%,rgba(0,0,0,.6) 59%,rgba(0,0,0,.36) 70%,rgba(0,0,0,.17) 81%,rgba(0,0,0,.05) 91%,transparent 100%);mask-image:linear-gradient(#000 36%,rgba(0,0,0,.84) 48%,rgba(0,0,0,.6) 59%,rgba(0,0,0,.36) 70%,rgba(0,0,0,.17) 81%,rgba(0,0,0,.05) 91%,transparent 100%)}
.page .hero .nav{background:linear-gradient(rgba(8,8,10,.5),rgba(8,8,10,0))}
.page .hero .brand,.page .hero .brand-word{color:#fff}
.page .hero .pill{background:#fff;color:#111;box-shadow:none}
.page .hero .lines,.page .hero .ink,.page .hero .num{color:#fff}
.page .hero .mid{color:rgba(244,242,247,.74)}
.page .hero .faint{color:rgba(244,242,247,.42)}
.page .hero .eyebrow,.page .hero .note{color:rgba(244,242,247,.55)}
.page .hero .cta{color:#fff}
.page .hero .cta-ring{border-color:rgba(255,255,255,.6)}
.page .hero .rail{background-image:linear-gradient(to bottom,rgba(255,255,255,.32) 1px,transparent 1px)}
.page .hero .motion{background:rgba(8,8,10,.4);border-color:rgba(255,255,255,.22);color:#fff}
.swp{display:flex;align-items:center;gap:16px}
.film>.swp{padding:6px var(--g) 34px;background:var(--night);color:#f4f2f7}
.wrap>.swp{padding:2px 0 0}
.swp-n{flex:none;font:500 11px/1 'Inter Tight','Helvetica Neue',Arial,sans-serif;letter-spacing:.16em;font-variant-numeric:tabular-nums}
.swp-n small{font-size:inherit;opacity:.42}
.swp-t{flex:1;height:1px;background:color-mix(in srgb,currentColor 16%,transparent);overflow:hidden}
.swp-t i{display:block;height:100%;width:20%;background:var(--v2,#a875ff);transition:width .5s cubic-bezier(.16,1,.3,1)}
.swp{position:relative}
.swp-a{position:absolute;right:14px;top:var(--ay,-160px);z-index:6;display:grid;place-items:center;width:46px;height:46px;margin-top:-23px;border-radius:50%;background:rgba(12,12,16,.38);-webkit-backdrop-filter:blur(12px) saturate(140%);backdrop-filter:blur(12px) saturate(140%);border:1px solid rgba(255,255,255,.3);color:#fff;box-shadow:0 8px 24px -10px rgba(0,0,0,.6);cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .5s,background .3s}
.wrap>.swp .swp-a{right:calc(14px - var(--g))}
.swp-a:active{background:rgba(12,12,16,.6)}
.swp-a svg{width:22px;height:8px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;overflow:visible;animation:swpN 2.6s cubic-bezier(.45,0,.2,1) infinite;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.swp.used .swp-a svg{animation:none;opacity:1}
.swp.is-end .swp-a svg{transform:rotate(180deg)}
}
html.mob .page .hero.hero{height:var(--vh,705px);min-height:0}
/* ===== v64 · motion switch ===== */
.msw{position:relative;display:inline-block;flex:none;width:26px;height:14px;border-radius:999px;border:1px solid rgba(255,255,255,.45);transition:background .4s,border-color .4s}
.msw i{position:absolute;top:2px;left:2px;width:8px;height:8px;border-radius:50%;background:#fff;transition:transform .45s cubic-bezier(.16,1,.3,1),opacity .4s;opacity:.55}
[data-calm][aria-checked="true"] .msw{background:rgba(139,61,255,.85);border-color:transparent}
[data-calm][aria-checked="true"] .msw i{transform:translateX(12px);opacity:1}
/* always-visible motion switch: frosted pill bottom-left on desktop, beside the sticky CTA on phones */
.motpill{position:fixed;left:clamp(16px,1.8cqw,28px);bottom:clamp(16px,1.8cqw,28px);z-index:70;display:flex;align-items:center;gap:12px;height:42px;padding:0 12px 0 18px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:rgba(16,15,20,.5);-webkit-backdrop-filter:blur(14px) saturate(140%);backdrop-filter:blur(14px) saturate(140%);color:#fff;cursor:pointer;font:500 10.5px/1 'Inter Tight','Helvetica Neue',Arial,sans-serif;letter-spacing:.24em;text-transform:uppercase;box-shadow:0 12px 34px -14px rgba(0,0,0,.6);transition:background .35s,border-color .35s,transform .35s}
.motpill:hover{background:rgba(16,15,20,.72);border-color:rgba(255,255,255,.32);transform:translateY(-1px)}
.motpill:focus-visible{outline:2px solid var(--v2,#a875ff);outline-offset:3px}

.mp-l{min-width:7.6em}
.page .hero .motion{display:none}
@media (max-width:900px){
.motpill{height:38px;padding:0 10px 0 14px;gap:10px;background:rgba(16,15,20,.42)}
.page .hero .copy{padding-bottom:calc(74px + env(safe-area-inset-bottom,0px))}

}

/* ===== v66 · how it works + how pricing works ===== */

html.calm .ch:not(.on){visibility:hidden;opacity:0}

/* ===== v70 · team dial (clock), desktop and phones ===== */
@property --a{syntax:'<angle>';inherits:false;initial-value:0deg}

/* the sticky CTA bows out slowly when the final call to action arrives */

/* team: heading sits higher, more air between it and the dial + agents */

/* preview toggle (design tool only) and the phone frame */
.page{container-type:inline-size}
.vtog{position:fixed;top:14px;left:50%;z-index:1000;transform:translateX(-50%);display:flex;gap:2px;padding:3px;border-radius:999px;background:rgba(20,19,26,.72);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.14);font-family:'Inter Tight','Helvetica Neue',Arial,sans-serif;box-shadow:0 10px 30px -10px rgba(0,0,0,.5)}
.vtog button{display:flex;align-items:center;gap:7px;min-height:32px;border:0;background:none;color:rgba(255,255,255,.7);font:500 11px/1 'Inter Tight','Helvetica Neue',Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;padding:8px 14px;border-radius:999px;cursor:pointer;transition:background .3s,color .3s}
.vtog button:hover{color:#fff}
/* the third item is a link to views.html, the page that shows the site at phone, tablet, laptop and desktop sizes */
.vtog a{display:flex;align-items:center;gap:7px;min-height:32px;color:rgba(255,255,255,.7);font:500 11px/1 'Inter Tight','Helvetica Neue',Arial,sans-serif;letter-spacing:.14em;text-transform:uppercase;text-decoration:none;white-space:nowrap;padding:8px 14px;border-radius:999px;transition:color .3s}
.vtog a:hover{color:#fff}
.vtog button{white-space:nowrap}
@media (max-width:1199.98px){.vtog a{display:none}}   /* a narrower window has no room for it beside the top bar's label */
.vtog button[aria-pressed="true"]{background:#fff;color:#111}
.vtog svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.5}
html.mob body{background:#141319 !important}
html.mob .page{position:relative;zoom:var(--pz,1);width:390px;height:var(--ph,705px);margin:var(--pm,123px) auto var(--pb,108px);overflow-y:auto;overflow-x:hidden;background:#09090b;scrollbar-width:none;overscroll-behavior:contain;-webkit-tap-highlight-color:transparent}
.devui{display:none;position:fixed;left:0;top:0;z-index:999;width:390px;height:844px;transform-origin:0 0;pointer-events:none;letter-spacing:0;text-transform:none;font-family:-apple-system,'SF Pro Text','Inter Tight','Helvetica Neue',Arial,sans-serif;color:#fff}
html.mob .devui{display:block}
.devui .scr{position:absolute;inset:0;border-radius:55px;box-shadow:0 0 0 11px #0b0b0e,0 0 0 12.5px #34343b,0 0 0 13px #0b0b0e,0 70px 140px -30px rgba(0,0,0,.95)}
.devui .sb{position:absolute;left:0;right:0;top:0;height:59px;border-radius:55px 55px 0 0;background:#0b0b0e;display:flex;align-items:center;justify-content:space-between;padding:4px 30px 0 46px;font-size:16px;font-weight:600;letter-spacing:-.01em}
.devui .di{position:absolute;left:50%;top:11px;width:124px;height:36px;margin-left:-62px;border-radius:20px;background:#000}
.devui .ic{display:flex;gap:6px;align-items:center}
.devui .ic svg{display:block;fill:#fff}
.devui .tb{position:absolute;left:0;right:0;bottom:0;height:80px;border-radius:0 0 55px 55px;background:#0b0b0e;display:flex;align-items:flex-start;gap:10px;padding:10px 16px 0}
.devui .pill{flex:1;height:44px;border-radius:22px;background:#23232a;display:flex;align-items:center;justify-content:center;gap:7px;font-size:15px;font-weight:500;color:rgba(255,255,255,.92)}
.devui .rb{width:44px;height:44px;border-radius:50%;background:#23232a;display:grid;place-items:center}
.devui .rb svg,.devui .pill svg{fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.devui .hi{position:absolute;left:50%;bottom:8px;width:134px;height:5px;margin-left:-67px;border-radius:3px;background:rgba(255,255,255,.9)}
html.mob .page::-webkit-scrollbar{display:none}
@media (max-width:899.98px){.vtog{display:none}}

/* 7 · dashboard */

/* 8 · thinking (videos) */

@keyframes ring{0%{opacity:.8;transform:scale(1)}100%{opacity:0;transform:scale(1.8)}}

/* 9 · testimonials */

/* 11 · FAQ */

/* ---------- buttons ---------- */
.btn2{position:relative;display:inline-flex;align-items:center;gap:16px;min-height:56px;padding:0 10px 0 26px;border-radius:999px;font:inherit;font-size:12px;font-weight:500;letter-spacing:.2em;text-transform:uppercase;text-decoration:none;cursor:pointer;overflow:hidden;isolation:isolate;transition:transform .5s var(--ez),box-shadow .5s,color .4s}
.btn2::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;transform:translateY(101%);transition:transform .6s var(--ez)}
.btn2:hover::before{transform:none}
.btn2:active{transform:scale(.97)}

.btn2.o{border:1px solid rgba(255,255,255,.25);color:#fff;padding-right:26px}
.btn2.o::before{background:rgba(255,255,255,.08)}
.btn2.o:hover{border-color:rgba(255,255,255,.5)}

.s5 :focus-visible{outline:2px solid var(--v2);outline-offset:4px;border-radius:999px}

/* cursor ring */
.cur{position:fixed;left:0;top:0;width:34px;height:34px;margin:-17px 0 0 -17px;border-radius:50%;border:1px solid rgba(139,61,255,.7);pointer-events:none;z-index:50;opacity:0;transition:width .4s var(--ez),height .4s var(--ez),margin .4s var(--ez),opacity .3s,background .3s;mix-blend-mode:normal}
.cur.on{opacity:1}

/* calm mode: no motion */
html.calm *,html.calm *::before,html.calm *::after{animation-duration:1ms !important;animation-delay:0s !important;animation-iteration-count:1 !important;transition-duration:1ms !important;transition-delay:0s !important;scroll-behavior:auto !important}

/* phone preview: the phone rules again, scoped to html.mob */
html.mob .hero-stage .hero{position:relative}html.mob .film{height:auto !important}html.mob .film-pin{position:relative;height:auto;display:grid;gap:0;border-radius:0}html.mob .fv{position:relative;inset:auto;height:auto;aspect-ratio:16/10;clip-path:none;transform:none}html.mob .film-pin::after,html.mob .fhud{display:none}html.mob .cap{position:static;display:block;max-width:none;padding:0}html.mob .chm{display:block}html.mob .ch{display:none}html.mob .rail3{display:none}
html.mob .chm{display:block}
html.mob .iris,html.mob .fctl{display:none}html.mob .fv{visibility:visible}

html.mob .after>section>.wrap{width:min(1240px,100% - 2 * var(--g))}
html.mob .cline,html.mob .scue2.dk{display:none}
html.mob .scue2.dk{display:none}
html.mob .s5 .after>section.sec{padding-block:var(--sec-y,96px)}html.mob .s5 .after>section.sec[style*="padding-top: 0"]{padding-top:40px !important}html.mob .film{background:var(--night);padding-top:34px}html.mob .film::before{content:"Swipe the story";display:block;padding:0 var(--g) 16px;font-size:11px;font-weight:500;letter-spacing:.3em;text-transform:uppercase;color:var(--v2)}html.mob .film-pin>*:not(.fv):not(.chm){display:none !important}html.mob .film-pin{display:grid !important;grid-auto-flow:column;grid-template-rows:auto 1fr;grid-auto-columns:86%;gap:0 12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:0 var(--g) 8px;scrollbar-width:none;background:var(--night)}html.mob .film-pin::-webkit-scrollbar{display:none}html.mob .film-pin .fv{position:relative !important;inset:auto !important;width:100%;height:auto !important;aspect-ratio:4/5;object-fit:cover;border-radius:18px;scroll-snap-align:center;visibility:visible !important;opacity:1 !important;transform:none !important;clip-path:none !important;filter:none !important}html.mob .film-pin .chm{padding:18px 2px 30px;background:none}html.mob .film-pin .chm h2{font-family:var(--serif);font-weight:300;letter-spacing:-.04em;font-size:30px;line-height:1.05}html.mob .film-pin .chm p{font-size:15px}
html.mob .page .hero{display:block;position:relative;height:100svh;min-height:560px;max-height:940px;aspect-ratio:auto;background:#e7e7e7}html.mob .page .hero .stage{position:absolute;inset:0 0 auto 0;width:100%;height:68%;object-fit:cover;object-position:34% 50%;object-position:min(0px,calc(38.5% + 11.5cqw)) 50%;-webkit-mask-image:linear-gradient(#000 64%,transparent 100%);mask-image:linear-gradient(#000 64%,transparent 100%)}html.mob .page .hero .copy{position:absolute;left:0;right:0;top:auto;bottom:0;padding:0 20px calc(30px + env(safe-area-inset-bottom,0px)) 18px;column-gap:20px}html.mob .page .hero .slides{min-height:196px}html.mob .page .hero .lines{font-size:34px;line-height:1.12}html.mob .page .hero .eyebrow{margin-bottom:14px}html.mob .page .hero .rail{height:236px}html.mob .page .hero .cta{margin-top:22px}html.mob .page .hero .motion{top:calc(52% - 22px);bottom:auto;left:auto;right:16px}html.mob .film-pin .tvx{display:none !important}html.mob .page .hero .scue2{display:none}html.mob .page .hero{background:#08080a;color:#f4f2f7}html.mob .page .hero .stage{height:76%;-webkit-mask-image:linear-gradient(#000 36%,rgba(0,0,0,.84) 48%,rgba(0,0,0,.6) 59%,rgba(0,0,0,.36) 70%,rgba(0,0,0,.17) 81%,rgba(0,0,0,.05) 91%,transparent 100%);mask-image:linear-gradient(#000 36%,rgba(0,0,0,.84) 48%,rgba(0,0,0,.6) 59%,rgba(0,0,0,.36) 70%,rgba(0,0,0,.17) 81%,rgba(0,0,0,.05) 91%,transparent 100%)}html.mob .page .hero .nav{background:linear-gradient(rgba(8,8,10,.5),rgba(8,8,10,0))}html.mob .page .hero .brand,html.mob .page .hero .brand-word{color:#fff}html.mob .page .hero .pill{background:#fff;color:#111;box-shadow:none}html.mob .page .hero .lines,html.mob .page .hero .ink,html.mob .page .hero .num{color:#fff}html.mob .page .hero .mid{color:rgba(244,242,247,.74)}html.mob .page .hero .faint{color:rgba(244,242,247,.42)}html.mob .page .hero .eyebrow,html.mob .page .hero .note{color:rgba(244,242,247,.55)}html.mob .page .hero .cta{color:#fff}html.mob .page .hero .cta-ring{border-color:rgba(255,255,255,.6)}html.mob .page .hero .rail{background-image:linear-gradient(to bottom,rgba(255,255,255,.32) 1px,transparent 1px)}html.mob .page .hero .motion{background:rgba(8,8,10,.4);border-color:rgba(255,255,255,.22);color:#fff}html.mob .swp{display:flex;align-items:center;gap:16px}html.mob .film>.swp{padding:6px var(--g) 34px;background:var(--night);color:#f4f2f7}html.mob .wrap>.swp{padding:2px 0 0}html.mob .swp-n{flex:none;font:500 11px/1 'Inter Tight','Helvetica Neue',Arial,sans-serif;letter-spacing:.16em;font-variant-numeric:tabular-nums}html.mob .swp-n small{font-size:inherit;opacity:.42}html.mob .swp-t{flex:1;height:1px;background:color-mix(in srgb,currentColor 16%,transparent);overflow:hidden}html.mob .swp-t i{display:block;height:100%;width:20%;background:var(--v2,#a875ff);transition:width .5s cubic-bezier(.16,1,.3,1)}html.mob .swp{position:relative}html.mob .swp-a{position:absolute;right:14px;top:var(--ay,-160px);z-index:6;display:grid;place-items:center;width:46px;height:46px;margin-top:-23px;border-radius:50%;background:rgba(12,12,16,.38);-webkit-backdrop-filter:blur(12px) saturate(140%);backdrop-filter:blur(12px) saturate(140%);border:1px solid rgba(255,255,255,.3);color:#fff;box-shadow:0 8px 24px -10px rgba(0,0,0,.6);cursor:pointer;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .5s,background .3s}html.mob .wrap>.swp .swp-a{right:calc(14px - var(--g))}html.mob .swp-a:active{background:rgba(12,12,16,.6)}html.mob .swp-a svg{width:22px;height:8px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round;stroke-linejoin:round;overflow:visible;animation:swpN 2.6s cubic-bezier(.45,0,.2,1) infinite;transition:transform .5s cubic-bezier(.16,1,.3,1)}html.mob .swp.used .swp-a svg{animation:none;opacity:1}html.mob .swp.is-end .swp-a svg{transform:rotate(180deg)}
html.mob .motpill{height:38px;padding:0 10px 0 14px;gap:10px;background:rgba(16,15,20,.42)}html.mob .page .hero .copy{padding-bottom:calc(74px + env(safe-area-inset-bottom,0px))}

/* The brand in the top bar is the AI Buddy logo (mark and name), drawn inline in index.html from the company's logo file
   (ai-buddy/logo, "Ai buddy Logo Text"). It takes the room the lettering "AI BUDDY" had, so the bar keeps its height and
   the button its place at every width. The colours are the logo's own: indigo mark and black name on the light first screen,
   the white version where the bar is dark (narrow windows and the phone preview, the two places that turn the bar white). */
.brand .brand-logo{--h:clamp(36px,3.14cqw,53px);display:block;flex:none;height:var(--h);width:calc(var(--h) * 3.3306)}
.brand-logo .bl-a{stop-color:var(--logo-a,#4237BF)}
.brand-logo .bl-b{stop-color:var(--logo-b,#251F6C)}
.brand-logo .bl-t{fill:var(--logo-ink,#000)}
@media (max-width:900px){.page .hero .brand{--logo-a:#fff;--logo-b:#999B9E;--logo-ink:#fff}}
html.mob .page .hero .brand{--logo-a:#fff;--logo-b:#999B9E;--logo-ink:#fff}
/* Wide windows squarer than the footage (a tablet held sideways, a browser window that is not full width): the clip is cut
   left and right there, and the puppeteer's dark sleeve, which starts a fifth of the way across the footage, comes in under
   the right end of the logo, black name on black cloth. Where the name would reach the sleeve the logo shows its mark alone,
   as the top bar of aibud.ca does. --fw is the footage's drawn width, --room the clear space from the logo's left edge to the
   sleeve; the clamp reads "room shorter than the full logo" as the mark's width (the svg cuts the name off, it does not shrink). */
@container (min-width:901px){
.brand .brand-logo{--fw:max(100cqw,calc(max(var(--vh,100vh),560px) * 1.7778));--room:calc(50cqw - .295 * var(--fw) - clamp(16px,3.6cqw,62px) - 12px);
  width:clamp(calc(var(--h) * 1.01),calc(var(--h) + (var(--room) - var(--h) * 3.3306) * 999),calc(var(--h) * 3.3306))}
}
/* on the smallest phones the top bar and its button give up some air, so the logo keeps its size */
@container (max-width:379.98px){.page .nav{gap:12px}.page .hero .pill{gap:12px;padding-inline:16px}}
@container (max-width:339.98px){.page .hero .pill svg{display:none}}
/* Wide windows held upright (a 13 inch tablet is 1032 by 1376): the opening clip is cut to a tall slice, and the hand with its dark sleeve fills the
   top left corner where the logo stands. Measured, the clip behind the mark is light down to a window 1.14 times as wide as it is tall and dark from
   1.09, so under 1.11 the mark wears white, as on phones (the name is already off there, see above). The range ends at 5:8, where story.js switches
   to its layout for a design canvas (a window more than 1.6 times as tall as wide), which shows the whole clip again. */
@media (min-width:901px) and (max-aspect-ratio:111/100) and (min-aspect-ratio:5/8){.page .hero .brand{--logo-a:#fff;--logo-b:#999B9E;--logo-ink:#fff}}
/* QA audit fixes, 30 Nov 2026. The page layer (.s5) is pulled up over the hero by a negative margin, so it took every click meant for the
   logo and the two hero buttons. It now lets clicks through; its parts keep theirs (the film sets its own, per control). */
.s5{pointer-events:none}.s5>:not(.film){pointer-events:auto}
/* the rail marks the current chapter with .cur, a class the old cursor ring also used, and the rule above hid it: it shows again */
.s5 nav.rail3 a.cur{display:flex !important}
/* 30 Nov 2026, Aukik's answers to the QA review. 3b: the hero's small labels (eyebrow and note) take the grey of the hero's middle words,
   about 5.3 to 1 on the hero's light grey, where they were 3.2 and 4.2 to 1; the large faded words stay as designed. Wide screens only:
   the phone hero is dark and keeps its light labels. */
@media (min-width:901px){html:not(.mob) .page .hero .eyebrow,html:not(.mob) .page .hero .note{color:#4f4f4f}}
/* 4b: the hero's own pause button is back, in the film pause button's shape (44 px, 8 px corners, a thin border, frosted glass). It pauses the
   hero video and its rotating lines. Bottom right on the page margin, at the height of the film's controls; dark glass on the light hero. */
.page .hero .motion{display:grid;left:auto;top:auto;right:var(--g,clamp(16px,3.6cqw,62px));bottom:clamp(54px,9vh,100px);z-index:4;border-radius:8px;
  border:1px solid rgba(18,18,18,.28);background:rgba(255,255,255,.3);color:#121212;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);transition:background .3s,border-color .3s}
.page .hero .motion:hover{background:rgba(255,255,255,.6);border-color:rgba(18,18,18,.5)}
.page .hero .motion:focus-visible{outline:2px solid var(--v2,#a875ff);outline-offset:3px}
/* phones: no pause button on the hero (Aukik, 30 Nov 2026: "no need hero pause button for mobile view") */
@media (max-width:900px){.page .hero .motion{display:none}}
html.mob .page .hero .motion{display:none}
/* 30 Nov 2026: on phones the story is a row of cards you swipe sideways, and the film's old rule (.film,.film-pin{pointer-events:none}, from the
   wide screen film) let every touch fall through to the page, so a swipe only scrolled the page and the cards moved only with the arrow. The phone
   carousel takes touches again. */
@media (max-width:900px){.film,.film-pin{pointer-events:auto}}
html.mob .film,html.mob .film-pin{pointer-events:auto}
