/* PROTOTYPE · clip layouts (see proto-reels.js). Delete with it. */
:root{--out:cubic-bezier(.23,1,.32,1)}

/* the picker: chrome, not part of the design */
.vbar{position:fixed;right:max(12px,env(safe-area-inset-right));bottom:max(12px,env(safe-area-inset-bottom));z-index:2000;display:flex;align-items:flex-start;gap:2px;padding:4px;border-radius:14px;background:rgba(11,11,13,.9);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#fff;font:500 12px/1 -apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;box-shadow:0 8px 24px rgba(0,0,0,.28)}
.vb-rows{display:flex;flex-direction:column}
.vb-ax{display:flex;align-items:center;height:28px}
.vbar em{font-style:normal;width:54px;padding-left:6px;color:rgba(255,255,255,.42);font-size:10px;letter-spacing:.05em;text-transform:uppercase}
.vbar span{min-width:84px;text-align:center;white-space:nowrap}
.vbar button{width:26px;height:26px;padding:0;border:0;border-radius:8px;background:none;color:#fff;cursor:pointer;display:grid;place-items:center}
.vbar button:hover{background:rgba(255,255,255,.12)}
.vbar button svg{width:14px;height:14px}
.vbar .vb-x{color:rgba(255,255,255,.5)}
.vb-open{display:none!important}
.vbar.min{padding:0;border-radius:50%}
.vbar.min>:not(.vb-open){display:none}
.vbar.min .vb-open{display:grid!important;width:40px;height:40px;border-radius:50%}
.vbar.min .vb-open svg{width:18px;height:18px}
.feed-open .vbar{display:none}

/* shared bits */
.vx video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.vsh{position:absolute;left:0;right:0;bottom:0;height:42%;background:linear-gradient(180deg,rgba(0,0,0,0),rgba(0,0,0,.5));pointer-events:none;z-index:1}
.vm{position:absolute;z-index:2;left:12px;right:12px;bottom:12px;display:flex;flex-direction:column;align-items:flex-start;gap:6px;color:#fff;font-family:'TikTok Sans',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;line-height:1.15;text-shadow:0 1px 3px rgba(0,0,0,.35);transition:opacity .2s var(--out)}
.vm-who{display:flex;align-items:center;gap:7px;min-width:0;max-width:calc(100% - 40px)}
.vm-who img{width:24px;height:24px;border-radius:50%;object-fit:cover;flex:none;border:1.5px solid #fff}
.vm-who b{font-size:14px;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.vm-n{display:flex;align-items:center;gap:4px;font-size:13px;font-weight:600;opacity:.92}
.vm-n svg{width:12px;height:12px}
.vm-open{position:absolute;right:0;bottom:0;width:32px;height:32px;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.35);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff}
.vm-open svg{width:15px;height:15px}
.vsnd{position:absolute;z-index:3;width:34px;height:34px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(0,0,0,.4);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff;cursor:pointer;transition:background .2s var(--out),transform .15s var(--out)}
.vsnd:active{transform:scale(.92)}
.vsnd svg{width:17px;height:17px;grid-area:1/1}
.vsnd .on,.loud .vsnd .off,.vsnd.loud .off{display:none}
.loud .vsnd .on,.vsnd.loud .on{display:block}
.loud .vsnd,.vsnd.loud{background:var(--blue)}

/* 2 · swipe */
.vx-swipe{width:560px;max-width:100%}
.sw-track{--w:250px;position:relative;display:flex;gap:12px;overflow-x:auto;scroll-snap-type:x mandatory;padding:6px calc(50% - var(--w) / 2) 22px;scrollbar-width:none;overscroll-behavior-x:contain}
.sw-track::-webkit-scrollbar{display:none}
.sw-slide{position:relative;flex:none;width:var(--w);aspect-ratio:9/16;border-radius:18px;overflow:hidden;background:#E6E3DB;scroll-snap-align:center;box-shadow:0 14px 34px rgba(21,22,26,.14);transform:scale(.9);opacity:.5;transition:transform .3s var(--out),opacity .3s var(--out);cursor:pointer}
.sw-slide.on{transform:none;opacity:1;cursor:default}
.sw-slide:not(.on) .vm{opacity:0}
.sw-foot{display:flex;align-items:center;justify-content:center;gap:16px}
.sw-dots{display:flex;gap:6px}
.sw-dots i{width:7px;height:7px;border-radius:99px;background:rgba(21,22,26,.18);cursor:pointer;transition:width .25s var(--out),background .25s var(--out)}
.sw-dots i.on{width:22px;background:var(--ink)}
.sw-foot .vsnd{position:static;background:rgba(21,22,26,.07);color:var(--ink)}
.loud .sw-foot .vsnd{background:var(--blue);color:#fff}

/* 3 · stories */
.vx-stories{display:flex;justify-content:center}
.st{--h:min(560px,calc(100svh - 190px));position:relative;height:var(--h);aspect-ratio:9/16;border-radius:18px;overflow:hidden;background:#111;box-shadow:var(--shadow);touch-action:pan-y;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:pointer}
.st-pg{position:absolute;inset:0;visibility:hidden}
.st-pg.on{visibility:visible}
.st-pg::before{content:"";position:absolute;z-index:1;top:0;left:0;right:0;height:90px;background:linear-gradient(rgba(0,0,0,.32),rgba(0,0,0,0));pointer-events:none}
.st-bars{position:absolute;z-index:3;top:10px;left:10px;right:10px;display:flex;gap:4px;transition:opacity .2s var(--out)}
.st-bars i{flex:1;height:3px;border-radius:2px;background:rgba(255,255,255,.35);overflow:hidden}
.st-bars b{display:block;height:100%;background:#fff;transform:scaleX(0);transform-origin:left}
.st .vsnd{top:22px;right:10px;transition:opacity .2s var(--out),background .2s var(--out)}
.st.held .vm,.st.held .vsnd,.st.held .st-bars{opacity:0}

/* 4 · spotlight */
.vx-spotlight{width:420px;max-width:100%}
.sp{display:grid;grid-template-columns:1fr 34%;gap:10px}
.sp-hero{position:relative;aspect-ratio:9/16;border-radius:18px;overflow:hidden;background:#E6E3DB;box-shadow:var(--shadow)}
.sp-hero.swap video{animation:sp-in .22s var(--out)}
@keyframes sp-in{from{opacity:.25}}
.sp-hero .vsnd{top:10px;right:10px}
.sp-th{display:grid;grid-auto-rows:1fr;gap:10px}
.sp-t{position:relative;border:0;padding:0;border-radius:14px;overflow:hidden;background:#E6E3DB center/cover;cursor:pointer;box-shadow:0 8px 20px rgba(21,22,26,.12);transition:transform .15s var(--out)}
.sp-t:active{transform:scale(.96)}
.sp-t::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05),rgba(0,0,0,.45))}
.sp-t i{position:absolute;z-index:1;left:50%;top:50%;width:36px;height:36px;margin:-18px 0 0 -18px;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.25);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);color:#fff}
.sp-t i svg{width:14px;height:14px;margin-left:2px}
.sp-t span{position:absolute;z-index:1;left:8px;right:8px;bottom:8px;display:flex;align-items:center;gap:3px;color:#fff;font:600 12px/1.2 'TikTok Sans',-apple-system,BlinkMacSystemFont,'Helvetica Neue',Arial,sans-serif;text-align:left}
.sp-t span svg{width:10px;height:10px;flex:none}

/* 5 · full-screen feed: the stack */
.vx-feed{width:360px;max-width:100%;display:flex;justify-content:center}
.fd{position:relative;width:64%;aspect-ratio:9/16;border:0;padding:0;margin:8px 0 30px;background:none;cursor:pointer;-webkit-tap-highlight-color:transparent}
.fd-c{position:absolute;inset:0;border-radius:18px;overflow:hidden;background:#E6E3DB center/cover;box-shadow:0 14px 34px rgba(21,22,26,.16);transition:transform .3s var(--out)}
.fd-0{z-index:3}
.fd-1{z-index:2;transform:translateX(-30%) rotate(-8deg) scale(.86)}
.fd-2{z-index:1;transform:translateX(30%) rotate(8deg) scale(.86)}
@media (hover:hover){
  .fd:hover .fd-1{transform:translateX(-36%) rotate(-10deg) scale(.86)}
  .fd:hover .fd-2{transform:translateX(36%) rotate(10deg) scale(.86)}
}
.fd:active .fd-0{transform:scale(.97)}
.fd-cta{position:absolute;z-index:4;left:50%;bottom:-18px;transform:translateX(-50%);display:flex;align-items:center;gap:7px;padding:11px 18px;border-radius:99px;background:var(--ink);color:#fff;font:600 13.5px/1 var(--sans);white-space:nowrap;box-shadow:0 8px 20px rgba(21,22,26,.25)}
.fd-cta svg{width:12px;height:12px}

/* 5 · full-screen feed: the player */
.feed-open,.feed-open body{overflow:hidden}
.fo{position:fixed;inset:0;z-index:1500;background:#000;opacity:0;visibility:hidden;transform:translateY(16px);transition:opacity .22s var(--out),transform .22s var(--out),visibility 0s .22s}
.fo:focus{outline:none}
.fo.open{opacity:1;visibility:visible;transform:none;transition-delay:0s}
.fo-sc{position:absolute;inset:0;overflow-y:auto;scroll-snap-type:y mandatory;overscroll-behavior:contain;scrollbar-width:none}
.fo-sc::-webkit-scrollbar{display:none}
.fo-pg{position:relative;height:100%;overflow:hidden;scroll-snap-align:start;scroll-snap-stop:always;background:#000 center/cover no-repeat}
.fo-pg video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
@media (min-width:901px){.fo-pg{background-size:contain}.fo-pg video{object-fit:contain}}
.fo-pg .vm{left:16px;right:16px;bottom:calc(28px + env(safe-area-inset-bottom))}
.fo-pg .vm-who img{width:30px;height:30px}
.fo-pg .vm-who b{font-size:15.5px}
.fo-pg .vm-open{width:38px;height:38px}
.fo-pp{position:absolute;z-index:2;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border-radius:50%;display:none;place-items:center;background:rgba(0,0,0,.4);color:#fff}
.fo-pp svg{width:28px;height:28px;margin-left:3px}
.fo-pg.paused .fo-pp{display:grid}
.fo-top{position:absolute;z-index:3;top:0;left:0;right:0;display:flex;align-items:center;gap:10px;padding:calc(12px + env(safe-area-inset-top)) 12px 44px;color:#fff;background:linear-gradient(180deg,rgba(0,0,0,.58) 0%,rgba(0,0,0,.4) 35%,rgba(0,0,0,.16) 70%,rgba(0,0,0,0) 100%);pointer-events:none}
.fo-top>*{pointer-events:auto}
.fo-x{width:38px;height:38px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:rgba(255,255,255,.14);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);color:#fff;cursor:pointer}
.fo-x svg{width:18px;height:18px}
.fo-t{flex:1;min-width:0;text-align:center;font-family:var(--sans);line-height:1.25;pointer-events:none}
.fo-t{text-shadow:0 1px 6px rgba(0,0,0,.35)}
.fo-t b{display:block;font-size:15px;font-weight:600}
.fo-t span{font-size:12.5px;opacity:.7}
.fo .vsnd{position:static;width:38px;height:38px}
.fo-hint{position:absolute;z-index:3;left:50%;bottom:calc(110px + env(safe-area-inset-bottom));transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:2px;color:#fff;font:500 12.5px/1 var(--sans);opacity:.85;pointer-events:none;transition:opacity .3s var(--out)}
.fo-hint svg{width:22px;height:22px;animation:fo-bob 1.4s ease-in-out infinite}
@keyframes fo-bob{50%{transform:translateY(-5px)}}
.fo-hint.gone{opacity:0}

/* opening screen (phones only; desktop keeps the landscape hero) */
.hx-lock{display:flex;align-items:center;gap:10px}
.hx-lock img{display:block}
.hx-lock .oc{width:30px;height:30px}
.hx-lock .x{font-size:14px;color:var(--faint)}
.hx-lock .pt{height:38px;width:auto}
.hx-cue{width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--ink);color:#fff;animation:hx-bob 1.6s ease-in-out infinite}
.hx-cue svg{width:18px;height:18px}
@keyframes hx-bob{50%{transform:translateY(4px)}}
/* paused: a dark, slightly see-through glass button (same ink as the active nav tab) */
.hx-pp{position:absolute;z-index:3;left:50%;top:50%;width:68px;height:68px;margin:-34px 0 0 -34px;border:0;border-radius:50%;display:none;place-items:center;background:rgba(21,22,26,.62);-webkit-backdrop-filter:blur(14px) saturate(1.4);backdrop-filter:blur(14px) saturate(1.4);color:#fff;box-shadow:inset 0 1px 0 rgba(255,255,255,.18),0 0 0 .5px rgba(255,255,255,.12),0 10px 28px rgba(21,22,26,.25);cursor:pointer;transition:transform .15s var(--out)}
.hx-pp:active{transform:scale(.94)}
.hx-pp svg{width:26px;height:26px;margin-left:3px}
.paused .hx-pp{display:grid}
.hx-prog{position:absolute;z-index:2;left:0;right:0;bottom:0;height:3px;background:rgba(21,22,26,.08)}
.hx-prog i{display:block;height:100%;background:var(--blue);transform:scaleX(0);transform-origin:left}
.hx video{cursor:pointer}

/* full-bleed: the portrait film is the first screen */
.hx-full{position:relative;height:100svh;overflow:hidden;background:var(--bg)}
.hx-full video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.hx-full .hx-top{position:absolute;z-index:2;top:calc(14px + env(safe-area-inset-top));left:0;right:0;display:flex;justify-content:center}
.hx-full .hx-lock{padding:6px 14px;border-radius:99px;background:rgba(250,250,248,.82);-webkit-backdrop-filter:blur(14px);backdrop-filter:blur(14px);border:1px solid rgba(21,22,26,.07);box-shadow:0 8px 28px rgba(21,22,26,.08)}
.hx-bot{position:absolute;z-index:2;left:0;right:0;bottom:calc(92px + env(safe-area-inset-bottom));display:flex;flex-direction:column;align-items:center;gap:10px;font-size:13px;color:var(--soft)}

/* card: lockup, then the film as a card sized to the screen, tab bar below */
.hx-card{position:relative;height:100svh;display:flex;flex-direction:column;align-items:center;padding:env(safe-area-inset-top) 20px calc(96px + env(safe-area-inset-bottom))}
.hx-card .scue-m{display:flex;position:absolute;left:50%;bottom:calc(24px + env(safe-area-inset-bottom));transform:translateX(-50%)}
/* the lockup owns all the space above the card and sits in its middle */
.hx-head{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px}
.hx-c{position:relative;flex:none;height:min(calc(100svh - 170px - env(safe-area-inset-top) - env(safe-area-inset-bottom)),calc((100vw - 40px) * 16 / 9));aspect-ratio:9/16;border-radius:22px;overflow:hidden;background:#EDEBE5;box-shadow:var(--shadow)}
.hx-c video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.hx-tabs{position:fixed;z-index:60;left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));display:flex;padding:5px;border-radius:99px;background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.22)),rgba(250,250,248,.74);-webkit-backdrop-filter:blur(24px) saturate(1.6) brightness(1.15);backdrop-filter:blur(24px) saturate(1.6) brightness(1.15);border:1px solid rgba(255,255,255,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.75),inset 0 -1px 0 rgba(21,22,26,.04),0 0 0 .5px rgba(21,22,26,.08),0 10px 32px rgba(21,22,26,.1)}
.hx-tabs a{position:relative;z-index:1;flex:1;text-align:center;padding:11px 0;border-radius:99px;font-size:13.5px;font-weight:500;color:rgba(21,22,26,.72);transition:color .25s var(--out);-webkit-tap-highlight-color:transparent}
.hx-tabs a.on{color:#fff}
.hx-ind{position:absolute;top:5px;bottom:5px;left:0;border-radius:99px;background:rgba(21,22,26,.86);box-shadow:inset 0 1px 0 rgba(255,255,255,.14);opacity:0;pointer-events:none;transition:transform .38s var(--out),opacity .2s var(--out)}
@media (prefers-reduced-motion:reduce){.hx-ind{transition:opacity .2s var(--out)}}

/* immersive: same parts as Card, film near edge to edge, no lockup */
.hx-imm{padding:calc(8px + env(safe-area-inset-top)) 8px calc(66px + env(safe-area-inset-bottom))}
.hx-imm .hx-c{flex:1;min-height:0;height:auto;width:100%;aspect-ratio:auto;border-radius:20px;box-shadow:0 10px 30px rgba(21,22,26,.1)}
/* show the whole frame: the trailer's own background is the page colour, so the spare height just reads as more card */
.hx-imm .hx-c{background:#F9FAF7}
.hx-imm .hx-c video{object-fit:contain}
.hx-imm .scue-m{bottom:calc(14px + env(safe-area-inset-bottom))}

/* cover: a title screen; the landscape film plays full screen on tap */
.hx-cover{min-height:100svh;display:flex;flex-direction:column;justify-content:center;gap:20px;padding:calc(28px + env(safe-area-inset-top)) 20px calc(110px + env(safe-area-inset-bottom))}
.hx-cover h1{margin:12px 0 0;font-size:36px;line-height:1.06;font-weight:600;letter-spacing:-.035em}
.hx-cover p{margin:-8px 0 0;font-size:17px;line-height:1.5;color:var(--soft)}
.hx-cover .film{width:100%;border-radius:16px}
.hx-watch{align-self:flex-start;display:flex;align-items:center;gap:8px;padding:14px 20px;border:0;border-radius:99px;background:var(--blue);color:#fff;font:600 14.5px/1 var(--sans);box-shadow:0 8px 22px rgba(37,99,235,.3);cursor:pointer;transition:transform .15s var(--out)}
.hx-watch:active{transform:scale(.97)}
.hx-watch svg{width:13px;height:13px}
.hx-cover .hx-cue{align-self:center;margin-top:8px}

/* case study numbers */
.sx{margin:clamp(28px,5vh,40px) 0 0;max-width:27em}
.sx-pf{width:16px;height:16px;vertical-align:-3px;margin-right:6px}
.sx-up{width:.5em;height:.5em;margin-right:.12em;color:#16A34A;vertical-align:.12em}
.sx b{font-weight:600;letter-spacing:-.03em;color:var(--blue)}
/* tiles */
.sx-tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sx-tiles div{display:flex;flex-direction:column;gap:10px;padding:18px 18px 16px;border-radius:16px;background:var(--card);box-shadow:0 1px 2px rgba(21,22,26,.04),0 0 0 1px rgba(21,22,26,.06)}
.sx-tiles b{font-size:clamp(30px,3vw,38px);line-height:1}
.sx-tiles span{font-size:14px;line-height:1.35;color:var(--soft)}
/* sentence: sizes in em off the text so marks sit on the cap height, not on guessed pixels */
.sx-sent{font-size:clamp(20px,2vw,24px);line-height:1.6;color:var(--soft);letter-spacing:-.01em}
.sx-k{white-space:nowrap}
.sx-sent b{font-size:1.2em;line-height:1;letter-spacing:-.03em;color:var(--blue)}
/* marks centred on the figures they lead: numeral cap height is ~.7 of 1.2em, so its middle sits .42em up */
.sx-sent .sx-pf{width:auto;height:.82em;margin:0 .3em 0 0;vertical-align:.01em}
.sx-sent .sx-up{width:.8em;height:.8em;margin:0 .06em 0 -.08em;vertical-align:-.17em}
.sx-and{color:var(--faint)}
/* chips */
.sx-chips{display:flex;flex-wrap:wrap;gap:8px}
.sx-chips span{display:inline-flex;align-items:center;gap:7px;padding:9px 14px 9px 12px;border-radius:99px;background:var(--card);box-shadow:0 0 0 1px rgba(21,22,26,.08);font-size:14px;color:var(--soft)}
.sx-chips b{font-size:17px}
.sx-chips .sx-pf{margin:0}
/* bars */
.sx-bars{display:flex;flex-direction:column;gap:22px}
.sx-big{display:flex;flex-direction:column;gap:6px}
.sx-big b{font-size:clamp(44px,4.4vw,60px);line-height:1}
.sx-big span,.sx-l{font-size:14.5px;color:var(--soft)}
.sx-g{display:flex;flex-direction:column;gap:8px}
.sx-row{display:flex;align-items:center;gap:10px}
.sx-row i{display:block;height:12px;min-width:6px;border-radius:99px;background:rgba(21,22,26,.14)}
.sx-row.on i{flex:1;background:var(--blue)}
.sx-row em{font-style:normal;font-size:14px;font-weight:600;color:var(--faint);min-width:2.4em}
.sx-row.on em{color:var(--blue)}
.sx-row:not(.on){padding-right:calc(2.4em + 10px)}

/* section titles */
.tx{margin:0 0 clamp(24px,4vh,40px);font-weight:600;letter-spacing:-.03em;line-height:1.05;color:var(--ink)}
.work .tx{margin-bottom:0}
.tx-big,.tx-numbered{display:flex;align-items:center;flex-wrap:wrap;gap:14px;font-size:clamp(32px,3.4vw,46px)}
.tx-mine:not(.tx-sticky){margin-bottom:14px}
.tx-mark{flex:none;width:1.2em;height:1.2em;border-radius:.3em;display:grid;place-items:center;background:var(--card);box-shadow:0 0 0 1px rgba(21,22,26,.08),0 6px 16px rgba(21,22,26,.06)}
.tx-mark img{height:1em;max-width:1em;object-fit:contain;display:block}
.tx-mark.is-photo{overflow:hidden}
.tx-mark.is-photo img{width:100%;height:100%;max-width:none;object-fit:cover}
.tx-numbered{padding-top:16px;border-top:1.5px solid var(--ink)}
.tx-n{flex-basis:100%;font-size:13px;font-weight:600;letter-spacing:.02em;color:var(--blue);font-variant-numeric:tabular-nums}
.tx-sticky{position:sticky;z-index:40;top:82px;margin-left:-32px;margin-right:-32px;padding:12px 32px;font-size:clamp(24px,2.4vw,30px);background:rgba(250,250,248,.86);-webkit-backdrop-filter:blur(14px) saturate(1.3);backdrop-filter:blur(14px) saturate(1.3)}
/* same scale as the case study lines above it (.line), so the two read as one level */
.tx-sub{margin:0 0 clamp(32px,5vh,56px);max-width:26em;font-size:clamp(20px,1.9vw,24px);line-height:1.5;letter-spacing:-.01em;color:var(--soft)}
.tx-sticky+.tx-sub{margin-top:6px}
.tx-last{white-space:nowrap}
/* inline links: thumb sits on the text's centre line, only the name is underlined, never split from its thumb */
.tx-chip{white-space:nowrap;color:var(--ink);font-weight:500}
.tx-chip img{display:inline-block;width:1.3em;height:1.3em;margin:0 .32em 0 .12em;border-radius:.34em;object-fit:cover;vertical-align:-.36em;box-shadow:0 0 0 1px rgba(21,22,26,.1)}
.tx-chip img.is-logo{object-fit:contain;padding:.12em;background:#fff}
.tx-chip span{text-decoration:underline;text-decoration-color:rgba(37,99,235,.4);text-decoration-thickness:1.5px;text-underline-offset:.24em;transition:text-decoration-color .15s var(--out)}
.tx-chip:hover span{text-decoration-color:var(--blue)}
.sample{scroll-margin-top:44px}
.t-sticky .sample{scroll-margin-top:104px}
/* with a real section title, the sample names step down a level */
:is(.t-big,.t-numbered,.t-sticky) .sample h3{font-size:clamp(24px,2.4vw,32px)}

/* loading intro */
.ix{position:fixed;inset:0;z-index:3000;display:grid;place-items:center;background:var(--bg);transition:opacity .4s var(--out)}
.ix.out{opacity:0;pointer-events:none}
.ix-on,.ix-on body{overflow:hidden}
.ix-on .vbar{opacity:0}
.ix-lock{display:flex;align-items:center;gap:18px;transition:transform .4s var(--out)}
.ix.out .ix-lock{transform:translateY(-10px) scale(.97)}
.ix-oc{width:64px;height:64px;animation:ix-pop .5s var(--out) both}
.ix-x{font-size:20px;color:var(--faint);animation:ix-fade .3s var(--out) .28s both}
.ix-pt{height:78px;width:auto;animation:ix-slide .5s var(--out) .42s both}
/* logos version, desktop: nav in from the start, film clears it, a cue to scroll under the film */
.scue{display:none}
@media (min-width:901px){
  /* nav in from the start, resting just above the film; it glides up to its usual spot once you scroll */
  .ix-ver .pill{opacity:1;pointer-events:auto;transform:translate(-50%,var(--nav-drop,0px));transition:opacity .3s,transform .5s var(--out)}
  .ix-ver.scrolled .pill{transform:translate(-50%,0)}
  /* Desktop nav: Header → pill. The glass lives on ::before so it can fade; the bar itself only changes width, padding and top */
  .dn-morph .pill{width:var(--pill-w,auto);top:24px;justify-content:space-between;background:none;border-color:transparent;box-shadow:none;-webkit-backdrop-filter:none;backdrop-filter:none;transform:translate(-50%,0);transition:opacity .3s,width .55s var(--out),padding .55s var(--out),top .55s var(--out)}
  .dn-morph .pill::before{content:"";position:absolute;inset:-1px;z-index:-1;border-radius:inherit;background:linear-gradient(180deg,rgba(255,255,255,.5),rgba(255,255,255,.22)),rgba(250,250,248,.74);-webkit-backdrop-filter:blur(24px) saturate(1.6) brightness(1.15);backdrop-filter:blur(24px) saturate(1.6) brightness(1.15);border:1px solid rgba(255,255,255,.6);box-shadow:inset 0 1px 0 rgba(255,255,255,.75),0 0 0 .5px rgba(21,22,26,.08),0 10px 32px rgba(21,22,26,.08);transition:opacity .45s var(--out)}
  /* both states lay out with space-between (the pill's width is exactly its content), so the lockup rides the left edge and the links the right edge, closing in together */
  .dn-morph:not(.scrolled) .pill{width:var(--head-w,min(976px,calc(100vw - 64px)));top:30px;padding-left:0;padding-right:0}
  .dn-morph:not(.scrolled) .pill::before{opacity:0}
  /* the film sits centred in the window with equal room above (for the nav) and below (for the Scroll pill) */
  .ix-ver .hero{position:relative;padding:104px 0 96px}
  .ix-ver .hero .film{width:min(1280px,calc((100dvh - 200px) * 16 / 9),100%)}
  .ix-ver .hero>.scue{display:flex;position:absolute;left:50%;bottom:24px;transform:translateX(-50%)}
}
/* the cue itself: a dark pill (same ink as the active nav tab), "Scroll" and an arrow that nods downward */
.scue{align-items:center;gap:8px;height:38px;padding:0 16px 0 18px;border-radius:99px;font-size:14px;font-weight:500;color:#fff;background:rgba(21,22,26,.86);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);box-shadow:inset 0 1px 0 rgba(255,255,255,.14),0 8px 22px rgba(21,22,26,.18);transition:opacity .3s var(--out)}
.scue.gone{opacity:0;pointer-events:none}
.scue svg{width:15px;height:15px;animation:scue 1.6s var(--out) infinite}
@keyframes scue{0%,100%{transform:translateY(-1px)}50%{transform:translateY(2px)}}
@media (prefers-reduced-motion:reduce){.scue svg{animation:none}}
@keyframes ix-pop{from{opacity:0;transform:scale(.82)}}
@keyframes ix-fade{from{opacity:0}}
@keyframes ix-slide{from{opacity:0;transform:translateX(14px)}}

/* film player: pill */
.film.pl-pill{container-type:inline-size}
.pl-pill>.prog,.pl-pill>.pp,.pl-pill>.ctrls{display:none}
.pl-pill.pl-idle{cursor:none}
.plx{position:absolute;z-index:5;left:12px;right:12px;bottom:12px;height:32px;display:flex;align-items:center;gap:10px;padding:0 14px 0 4px;border-radius:99px;color:var(--ink);background:linear-gradient(180deg,rgba(255,255,255,.26),rgba(255,255,255,.06)),rgba(250,250,248,.28);-webkit-backdrop-filter:blur(16px) saturate(1.8);backdrop-filter:blur(16px) saturate(1.8);border:1px solid rgba(255,255,255,.5);box-shadow:inset 0 1px 0 rgba(255,255,255,.6),0 0 0 .5px rgba(21,22,26,.06),0 8px 22px rgba(21,22,26,.07);transition:opacity .3s var(--out),transform .3s var(--out)}
.pl-idle .plx{opacity:0;transform:translateY(4px);pointer-events:none}
.plx button{flex:none;width:24px;height:24px;padding:0;border:0;border-radius:50%;display:grid;place-items:center;background:none;color:inherit;cursor:pointer;transition:background .15s var(--out),transform .15s var(--out)}
.plx button:hover{background:rgba(21,22,26,.06)}
.plx button:active{transform:scale(.92)}
.plx button svg{width:16px;height:16px;grid-area:1/1}
.plx .plx-pp{background:var(--blue);color:#fff;box-shadow:0 4px 12px rgba(37,99,235,.3)}
.plx .plx-pp:hover{background:#1D4FD8}
.plx-pp svg{width:11px;height:11px}
.plx-pp svg:last-child{margin-left:1.5px}
.plx-pp svg:last-child,.pl-paused .plx-pp svg:first-child{display:none}
.pl-paused .plx-pp svg:last-child{display:block}
.plx-seek{position:relative;flex:1;min-width:0;height:18px;display:flex;align-items:center;cursor:pointer;touch-action:none;outline:none}
.plx-track{width:100%;height:3px;border-radius:99px;overflow:hidden;background:rgba(21,22,26,.12);transition:height .15s var(--out)}
.plx-track i{display:block;height:100%;background:var(--blue);transform:scaleX(0);transform-origin:left}
.plx-seek b{position:absolute;top:50%;width:11px;height:11px;margin:-5.5px 0 0 -5.5px;border-radius:50%;background:var(--blue);box-shadow:0 0 0 2.5px #fff,0 2px 6px rgba(21,22,26,.25);opacity:0;transform:scale(.6);transition:opacity .15s var(--out),transform .15s var(--out);pointer-events:none}
.plx-seek:hover .plx-track,.plx-seek:focus-visible .plx-track,.plx-seek.on .plx-track{height:5px}
.plx-seek:hover b,.plx-seek:focus-visible b,.plx-seek.on b{opacity:1;transform:none}
.plx-t{flex:none;font-size:11.5px;font-weight:500;font-variant-numeric:tabular-nums;color:var(--ink)}
.plx-t em{font-style:normal;color:var(--faint)}
@container (max-width:420px){.plx{left:8px;right:8px;bottom:8px;height:28px;gap:8px;padding-right:10px}.plx-t em{display:none}.plx button{width:22px;height:22px}}
@media (hover:none){.pl-idle .plx{opacity:1;transform:none;pointer-events:auto}}

/* phone density (Lighter / Cards): all phone-only; desktop never sees these */
.ph-key,.ph-stats,.ph-sub,.ph-head{display:none}
.hx-tabs{transition:transform .32s var(--out)}
.hx-tabs.pre,.hx-tabs.end{transform:translateY(calc(100% + 24px))}
@media (max-width:900px){
  /* 1 · type scale */
  .ph-on .line,.ph-on .tx-sub{font-size:17px;line-height:1.55;letter-spacing:0}
  .ph-on .about .lede{font-size:19px;line-height:1.45}
  .ph-on .sample p{font-size:16px;line-height:1.55}
  .ph-on .camp{padding:40px 0}
  .ph-on .sample+.sample{margin-top:56px}
  /* 2 · key phrase first; the sentence under it loses its own emphasis */
  .ph-on .ph-key{display:block;margin:20px 0 0;font-size:22px;line-height:1.2;font-weight:600;letter-spacing:-.02em;color:var(--ink)}
  .ph-on .ph-key+.line{margin-top:8px}
  .ph-on .line strong{font-weight:inherit;color:inherit;text-decoration:none}
  /* 3 · numbers as tiles */
  .ph-on .camp>.rise>.sx,.ph-on .camp .facts{display:none}
  .ph-on .ph-stats{display:block}
  .ph-on .ph-stats .sx-tiles{margin-top:20px;gap:10px}
  .ph-on .ph-stats .sx-tiles div{padding:14px 14px 12px;gap:6px}
  .ph-on .ph-stats .sx-tiles b{font-size:26px}
  .ph-on .ph-stats .sx-tiles span{font-size:13px}
  /* 6 · smaller clip stack */
  .ph-on .fd{width:44%;margin:4px 0 26px}
  .ph-on .fd-cta{padding:9px 14px;font-size:13px}
  /* 7 · intro line, then the samples as pills */
  .ph-on .tx-sub{display:none}
  .ph-on .ph-sub{display:block;margin:0 0 36px}
  .ph-on .ph-sub p{margin:0;font-size:17px;line-height:1.55;color:var(--soft)}
  .ph-pills{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}
  .ph-pill{display:inline-flex;align-items:center;gap:8px;padding:6px 14px 6px 6px;border-radius:99px;background:var(--card);box-shadow:0 0 0 1px rgba(21,22,26,.08),0 4px 12px rgba(21,22,26,.05);font-size:15px;font-weight:500;color:var(--ink);transition:transform .15s var(--out)}
  .ph-pill:active{transform:scale(.97)}
  .ph-pill img{width:28px;height:28px;border-radius:99px;object-fit:cover}
  .ph-pill img.is-logo{object-fit:contain;padding:4px;background:#fff;box-shadow:0 0 0 1px rgba(21,22,26,.08)}
  /* 8 · tab bar steps aside on the way down */
  .ph-on .hx-tabs.away{transform:translateY(calc(100% + 24px))}
  /* 4 + 5 · cards, clips first */
  .ph-cards .camp,.ph-cards .sample{padding:18px 16px 20px;margin:0 -6px;border-radius:22px;background:var(--card);box-shadow:0 0 0 1px rgba(21,22,26,.05),0 10px 30px rgba(21,22,26,.06);gap:16px}
  .ph-cards .camp+.camp{border-top:0;margin-top:14px}
  .ph-cards .sample+.sample{margin-top:14px}
  .ph-cards .ph-head{display:block;order:-2}
  .ph-cards .camp>.vx,.ph-cards .sample>.vx,.ph-cards .camp>.reel,.ph-cards .sample>.reel{order:-1}
  .ph-cards .camp>.rise .title,.ph-cards .sample>.rise h3,.ph-cards .sample>.rise .by{display:none}
  .ph-cards .ph-head h3{margin:0;font-size:24px}
  .ph-cards .ph-key{margin-top:0}
  .ph-cards .fd{margin-bottom:22px}
  .ph-cards .ph-stats .sx-tiles div{background:var(--bg);box-shadow:none}
}
@media (prefers-reduced-motion:reduce){.hx-tabs{transition:none}}

/* Tabs + logos on phones: just the OC mark leads (Cactus Jack is already the last tab), so each link keeps room around its label */
@media (max-width:900px){
  .pn-logo .hx-brand .x,.pn-logo .hx-brand .pt{display:none}
  .pn-logo .hx-brand{padding-right:4px}
  .pn-logo .hx-brand .oc{width:24px;height:24px}
}
@media (max-width:340px){
  .pn-logo .hx-brand{display:none}
  .pn-logo .hx-tabs{padding-left:5px}
  .pn-logo .hx-tabs a:not(.hx-brand){font-size:12.5px}
}

/* Scroll: Sections — full-screen panels, snapping; the recipient section snaps at its start and is free inside */
html.snap{scroll-snap-type:y mandatory;scroll-padding-top:0}
html.snap.snap-off{scroll-snap-type:none}
.snap .hero,.snap .about,.snap .work,.snap .camp+.camp,.snap #for-you{scroll-snap-align:start}
.snap .sec{scroll-margin-top:0}
.snap .about{min-height:100dvh;display:flex;align-items:center;padding:96px 0 72px}
.snap .camp{min-height:100dvh;align-content:center;padding:96px 0 56px}
.snap .camp:first-of-type{min-height:calc(100dvh - var(--wtop,0px));padding-top:24px}
.snap .camp+.camp{border-top:0}
.snap #for-you{padding-top:110px}
.sdots{display:none}
@media (min-width:901px){
  .snap .sdots{position:fixed;z-index:45;right:22px;top:50%;transform:translateY(-50%);display:flex;flex-direction:column;gap:4px}
  .sdots button{width:22px;height:22px;padding:0;border:0;background:none;cursor:pointer;display:grid;place-items:center}
  .sdots i{width:6px;height:6px;border-radius:99px;background:rgba(21,22,26,.2);transition:height .3s var(--out),background .3s var(--out)}
  .sdots button:hover i{background:rgba(21,22,26,.45)}
  .sdots button.on i{height:18px;background:var(--ink)}
}
@media (max-width:900px){
  .snap .about{min-height:100svh;padding:72px 0 56px}
  .snap .camp{min-height:100svh;padding:72px 0 40px}
  .snap .camp:first-of-type{min-height:calc(100svh - var(--wtop,0px))}
  .snap #for-you{padding-top:72px}
}

/* phone vs desktop: each prototype only renders at its size */
@media (min-width:901px){.vx,.hx-m,.hx-tabs{display:none!important}}

/* phones */
@media (max-width:900px){
  .vx-desk{display:none!important}
  .tx-big,.tx-numbered{font-size:32px;gap:12px}
  .tx-sticky{margin-left:-20px;margin-right:-20px;padding:10px 20px;font-size:24px;top:70px}
  .hero.hx{padding:0;min-height:0;display:block}
  .hero.hx>.wrap{display:none}
  .has-tabs .pill{display:none}
  /* Phone nav: Top bar — the floating pill with its links, sized to fit a phone */
  .pn-top .pill{gap:8px;padding:6px 6px 6px 12px;max-width:calc(100vw - 16px)}
  .pn-top .pill .nav{display:flex;gap:0;font-size:12.5px}
  .pn-top .pill .nav a{padding:7px 8px;white-space:nowrap}
  .pn-top .pill .brand{gap:6px}
  .pn-top .pill .ring{width:22px!important;height:22px!important}
  .pn-top .pill .brand .partner{max-height:28px}
  /* Phone nav: Tabs + logos — the lockup leads the bar */
  /* almost the full phone width, so the logos and three links each get room */
  .pn-logo .hx-tabs{left:6px;right:6px;align-items:center;padding:5px 5px 5px 14px}
  .pn-logo .hx-brand{flex:none;padding:0 10px 0 0;margin-right:2px}
  .pn-logo .hx-brand .hx-lock{gap:6px}
  .pn-logo .hx-brand .oc{width:22px;height:22px}
  .pn-logo .hx-brand .pt{height:28px}
  .pn-logo .hx-brand .x{font-size:11px}
  .pn-logo .hx-tabs a:not(.hx-brand){flex:1 1 auto;font-size:13px;padding:12px 10px;white-space:nowrap}
  .has-tabs{scroll-padding-top:env(safe-area-inset-top)}
  .has-tabs .tx-sticky{top:env(safe-area-inset-top)}
  .has-tabs .vbar{bottom:calc(76px + env(safe-area-inset-bottom))}
  .vx-swipe{width:auto;max-width:none;margin:0 -20px}
  .sw-track{--w:72vw}
  .st{--h:min(72svh,calc((100vw - 40px) * 16 / 9))}
  .vx-spotlight,.vx-feed{width:auto}
  .fd{width:56%}
}
@media (prefers-reduced-motion:reduce){
  .fo{transition:none;transform:none}
  .fo-hint svg,.sp-hero.swap video,.hx-cue{animation:none}
}

/* Split · sets the Cactus Jack section apart from the case studies */
.sp-tint #for-you{background:var(--page)}
.sp-blue #for-you{background:#EEF2FB}
.sp-blue #for-you .tx-mark,.sp-blue #for-you .tx-chip img.is-logo{background:#fff}
.sp-panel #for-you{background:var(--page);margin:clamp(56px,8vh,96px) clamp(12px,2vw,28px) 0;border-radius:clamp(24px,3vw,40px)}
.sp-dark #for-you{background:var(--ink);color:#FAFAF8;--soft:#A3A39E;--faint:#8C8B85}
.sp-dark #for-you .tx,.sp-dark #for-you h3,.sp-dark #for-you .tx-chip{color:#FAFAF8}
.sp-dark #for-you .kicker{color:#7EA2F5}
.sp-dark #for-you .tx-chip span{text-decoration-color:rgba(126,162,245,.5)}
.sp-dark #for-you .tx-mark{box-shadow:0 0 0 1px rgba(255,255,255,.12)}
.sp-dark #for-you .tx-chip img{box-shadow:0 0 0 1px rgba(255,255,255,.16)}
/* the footer joins the section so the page ends on the same ground */
.sp-tint .foot{background:var(--page)}
.sp-blue .foot{background:#EEF2FB}
.sp-dark .foot{background:var(--ink);color:#A3A39E}
.sp-dark .foot .mail,.sp-dark .foot .brand{color:#FAFAF8}
.sp-dark .foot .partner{filter:invert(1)}
.sp-dark .foot .ring svg g{stroke:#FAFAF8}
.sp-dark .foot .top:hover{color:#FAFAF8}
