/* /landingv2 and /landingv2/work: the "dream software" landing page and its case studies.
   Standalone on purpose: it does not load site/site.css (that forces Space Grotesk and the
   galaxy plate). Black, a static gold glow, a faint grid, and a canvas of scattered stars
   (.stars, drawn by landing.js). No animated box-shadows anywhere (they lagged on Jovan's
   machine). Headlines Instrument Serif (Jovan's pick, 2026-10-29), body Manrope, labels
   IBM Plex Mono. */

:root{
  --bg:#07080c;
  --panel:rgba(255,255,255,.035);
  --line:rgba(255,255,255,.08);
  --line2:rgba(255,255,255,.14);
  --t1:#f2f2f5; --t2:#b3b6c0; --t3:#8f929e;
  --gold:#f2c76e;
  --sans:'Manrope',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;
  --mono:'IBM Plex Mono',ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;
  --out:cubic-bezier(.23,1,.32,1);
  --move:cubic-bezier(.77,0,.175,1);
  /* display face: family, weight, tracking, size scale; accent = the gold italic word */
  --display:'Instrument Serif',Georgia,serif; --dw:400; --dt:-.01em; --ds:1.14;
  --acc:'Instrument Serif',Georgia,serif; --aw:400; --as:1;
}

*,*::before,*::after{box-sizing:border-box}
html{color-scheme:dark;scroll-behavior:smooth}
body{margin:0;background:var(--bg);color:var(--t1);font-family:var(--sans);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
a{color:inherit}
img{display:block;max-width:100%}
button{font:inherit;color:inherit}
a:focus-visible,button:focus-visible{outline:2px solid rgba(242,199,110,.85);outline-offset:3px;border-radius:999px}
.sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{position:relative;z-index:2;max-width:1200px;margin:0 auto;padding:0 32px}

/* --- top bar ----------------------------------------------------------- */
.top{position:fixed;top:0;left:0;right:0;z-index:40;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px 28px 30px;background:linear-gradient(to bottom,rgba(7,8,12,.97) 0%,rgba(7,8,12,.9) 55%,rgba(7,8,12,0) 100%)}
.lockup{display:inline-flex}
.lockup img{height:44px;width:auto;filter:drop-shadow(0 0 12px rgba(255,255,255,.28))}
.top .r{display:flex;align-items:center;gap:18px}
/* Page links: home icon, Who we are, Our work, as plain text (Jovan preferred it to a glass
   bar). Centred on the Book button's line; the current page is white. */
.top .links{display:flex;align-items:center;gap:22px}
.link{display:inline-flex;align-items:center;font-size:14px;font-weight:600;white-space:nowrap;color:var(--t2);text-decoration:none;transition:color .2s ease}
.link:hover{color:var(--t1)}
.link[aria-current]{color:#fff}
.link.home svg{width:17px;height:17px}

/* --- pills (same build as site/site.css, in Manrope) -------------------- */
.pill{display:inline-flex;align-items:center;gap:10px;padding:7px 7px 7px 16px;border-radius:999px;font-weight:700;font-size:13px;white-space:nowrap;text-decoration:none;cursor:pointer;background:rgba(255,255,255,.06);color:#e6e7ec;border:1px solid var(--line2);box-shadow:inset 0 1px 0 rgba(255,255,255,.14);transition:transform .16s var(--out),background .2s ease,border-color .2s ease,color .2s ease}
.pill:hover{background:rgba(255,255,255,.11);border-color:rgba(255,255,255,.3);color:#fff}
.pill:active{transform:scale(.97)}
.pill .ic{width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:11px;line-height:1;background:rgba(255,255,255,.1);transition:transform .2s var(--out)}
@media (hover:hover) and (pointer:fine){.pill:hover .ic{transform:translate(2px,-2px)}a.pill[href^="#"]:hover .ic{transform:translateY(2px)}}
.pill.primary{background:#fff;color:#0a0a0b;border-color:#fff}
.pill.primary:hover{background:#f6f6f8;color:#0a0a0b}
.pill.primary .ic{background:rgba(10,10,11,.08)}
.pill.lg{font-size:15px;padding:9px 9px 9px 22px;gap:14px}
.pill.lg .ic{width:30px;height:30px;font-size:13px}

/* --- shared type ------------------------------------------------------- */
.label{font-family:var(--mono);font-size:11px;font-weight:500;letter-spacing:.22em;text-transform:uppercase;color:var(--gold);margin:0 0 18px;display:flex;align-items:center;gap:12px}
.label::before{content:"";width:28px;height:1px;background:currentColor;opacity:.7}
.label.c{justify-content:center}
.h2{font-family:var(--display);font-weight:var(--dw);letter-spacing:var(--dt);font-size:calc(clamp(38px,5.2vw,66px) * var(--ds));line-height:1.02;margin:0;text-wrap:balance}
.h2 em,.case-h em{font-family:var(--acc);font-style:italic;font-weight:var(--aw);color:var(--gold);letter-spacing:-.01em}
.lead{font-size:clamp(16px,1.5vw,18px);line-height:1.55;color:var(--t2);margin:0;max-width:46ch;text-wrap:pretty}
.ctas{display:flex;flex-wrap:wrap;gap:10px}
.ctas.c{justify-content:center}

/* --- background: faint grid + one static gold glow ---------------------- */
.grid-bg{position:absolute;inset:0;z-index:0;pointer-events:none;background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);background-size:64px 64px;background-position:center top;-webkit-mask-image:radial-gradient(ellipse 75% 70% at 50% 42%,#000 20%,transparent 78%);mask-image:radial-gradient(ellipse 75% 70% at 50% 42%,#000 20%,transparent 78%)}
.glow{position:absolute;z-index:0;pointer-events:none;width:900px;height:900px;border-radius:50%;background:radial-gradient(circle,rgba(242,199,110,.17) 0%,rgba(242,199,110,.06) 38%,rgba(242,199,110,0) 68%)}
/* The night sky behind everything: fixed to the viewport, sections paint over it. */
.stars{position:fixed;inset:0;z-index:0;width:100%;height:100%;pointer-events:none}

/* --- hero: the team on the left, the words and the device on the right -- */
.hero{position:relative;min-height:100vh;min-height:100svh;display:flex;align-items:center;padding:120px 0 64px;overflow:hidden}
.hero .glow{left:-220px;top:50%;transform:translateY(-50%)}
.hero-in{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:64px;align-items:center;width:100%}

/* The photo card, after Brand Lab's About block: black-and-white cut-out with a white
   hand-cut border (img/team.webp is made that way), a gold grid behind, a tilted tag. */
.photo-card{position:relative;aspect-ratio:1/.94;border-radius:28px;border:1px solid var(--line2);background:radial-gradient(ellipse 70% 60% at 50% 38%,rgba(242,199,110,.14),transparent 72%),#0d0e13}
.photo-card .pgrid{position:absolute;inset:0;border-radius:inherit;background-image:linear-gradient(rgba(242,199,110,.15) 1.5px,transparent 1.5px),linear-gradient(90deg,rgba(242,199,110,.15) 1.5px,transparent 1.5px);background-size:72px 72px;background-position:center;-webkit-mask-image:radial-gradient(ellipse 80% 75% at 50% 45%,#000 35%,transparent 85%);mask-image:radial-gradient(ellipse 80% 75% at 50% 45%,#000 35%,transparent 85%)}
.photo-card .cut{position:absolute;left:3%;bottom:6%;width:94%;height:auto;filter:drop-shadow(0 18px 28px rgba(3,5,12,.6))}
.photo-tag{position:absolute;bottom:22px;padding:12px 18px 13px;border-radius:14px;background:#12141b;border:1px solid var(--line2);box-shadow:0 14px 30px -10px rgba(3,5,12,.8)}
.photo-tag span{display:block;font-family:var(--mono);font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.photo-tag b{display:block;margin-top:3px;font-size:16px;font-weight:600;color:var(--t1)}
/* Joash's tag sits a little higher than Jovan's and they tilt opposite ways, so the pair
   reads as stuck on by hand rather than set in a row. */
.photo-tag.l{left:-16px;bottom:40px;transform:rotate(-4deg)}
.photo-tag.r{right:-16px;bottom:18px;transform:rotate(3deg)}

.h1{margin:0 0 20px;font-family:var(--display);font-weight:var(--dw);letter-spacing:var(--dt);font-size:calc(clamp(42px,4.5vw,66px) * var(--ds));line-height:.98}
.h1 .l1{display:block;text-wrap:balance}
.h1 em{font-family:var(--acc);font-style:italic;font-weight:var(--aw);color:var(--gold);letter-spacing:-.01em}
/* Every word sits in the same grid cell, so the line is always as wide as the widest
   word and swapping never reflows anything around it. */
.rot{display:inline-grid;justify-items:start;margin-top:.04em}
.rot .w{grid-area:1/1;font-family:var(--acc);font-style:italic;font-weight:var(--aw);font-size:calc(1em * var(--as));letter-spacing:-.02em;line-height:1.02;color:var(--gold);padding-right:.08em;opacity:0;transform:translateY(.4em);transition:opacity .32s ease,transform .32s var(--out)}
.rot .w.on{opacity:1;transform:none}
.rot .w.out{opacity:0;transform:translateY(-.4em)}
.rot .w.snap{transition:none}
.hero-main .lead{margin-bottom:26px}
.hero-main .ctas{margin-top:26px}

/* --- the sticker showpiece ----------------------------------------------
   Three die-cut stickers (laptop, phone, monitor) with our real work on screen. Each state
   moves them with transform and opacity only; the overshoot ease is the "slap". A sticker
   that leaves eases back to the shared hidden pose (lifted, larger, faded), which is also
   where the next one drops in from. Their shadow is a static drop-shadow. */
.hero-vis{display:flex;flex-direction:column;align-items:center;gap:18px}
.stage{position:relative;width:100%;aspect-ratio:2/1;--lw:76%;--mw:68%;--pw:23%}
.stage::before{content:"";position:absolute;inset:-10% 6%;border-radius:50%;background:radial-gradient(ellipse at center,rgba(242,199,110,.16),rgba(242,199,110,0) 68%);pointer-events:none}
.stk{position:absolute;left:50%;top:50%;height:auto;max-width:none;--x:0%;--y:0%;--r:8deg;--s:1.18;--o:0;
  transform:translate(-50%,-50%) translate(var(--x),var(--y)) rotate(var(--r)) scale(var(--s));opacity:var(--o);
  filter:drop-shadow(0 16px 22px rgba(3,5,12,.65));will-change:transform;
  transition:transform .62s cubic-bezier(.34,1.42,.55,1),opacity .22s ease}
.s-laptop{width:var(--lw)}
.s-monitor{width:var(--mw)}
.s-phone{width:var(--pw)}
.stage[data-state=website] .s-laptop{--r:-3deg;--s:1;--o:1}
.stage[data-state=app] .s-phone{--r:5deg;--s:1.06;--o:1}
.stage[data-state=tool] .s-monitor{--r:2.5deg;--s:1;--o:1}
/* software: the pile, all three at once */
.stage[data-state=software] .stk{--o:1}
.stage[data-state=software] .s-monitor{--x:-27%;--y:-10%;--r:-5deg;--s:.7;z-index:1}
.stage[data-state=software] .s-laptop{--x:9%;--y:9%;--r:3deg;--s:.64;z-index:2}
.stage[data-state=software] .s-phone{--x:150%;--y:2%;--r:9deg;--s:.86;z-index:3}
/* The one arriving waits for the one leaving (which uses the base rule, no delay), so it
   lands on a clear stage; in the pile they land one after another. */
.stage[data-state=website] .s-laptop,.stage[data-state=app] .s-phone,.stage[data-state=tool] .s-monitor{transition-delay:.16s}
.stage[data-state=software] .s-monitor{transition-delay:.05s}
.stage[data-state=software] .s-laptop{transition-delay:.22s}
.stage[data-state=software] .s-phone{transition-delay:.4s}
/* Until landing.js starts the show, the stickers wait off stage, so the opening pile lands
   one by one instead of popping in; without JS the .js class never appears and the pile shows. */
.js .stage:not([data-live]) .stk{--x:0%;--y:0%;--r:8deg;--s:1.18;--o:0}

/* window chrome for framed screenshots (cards, case studies) */
.chrome{flex:none;display:flex;align-items:center;gap:6px;height:28px;padding:0 12px;border-bottom:1px solid var(--line)}
.chrome i{width:8px;height:8px;border-radius:50%;background:rgba(255,255,255,.16)}
.chrome i:first-child{background:rgba(242,199,110,.75)}

.legend{display:flex;gap:22px;margin:0;font-family:var(--mono);font-size:11px;letter-spacing:.18em;text-transform:uppercase;color:var(--t3)}
.legend span{display:inline-flex;align-items:center;gap:8px;transition:color .3s ease}
.legend span::before{content:"";width:5px;height:5px;border-radius:50%;background:currentColor;opacity:.5;transition:opacity .3s ease}
.legend span.on{color:var(--gold)}
.legend span.on::before{opacity:1}

/* --- case-study carousel (landing) --------------------------------------
   Brand Lab's home slider: square cards, arrows at the sides, dots below. It is a
   native horizontal scroller with snap, so swipe and trackpad work for free. */
.work{position:relative;padding:120px 0 110px;border-top:1px solid var(--line)}
.work-head{text-align:center;margin-bottom:48px}
/* "View all": a gold-outlined pill, a step up from a text link (Jovan, 2026-10-29) */
.viewall{display:inline-flex;align-items:center;gap:10px;margin-top:22px;padding:10px 18px 10px 22px;border-radius:999px;border:1px solid rgba(242,199,110,.5);background:rgba(242,199,110,.08);font-size:15px;font-weight:700;color:var(--gold);text-decoration:none;transition:background .2s ease,border-color .2s ease,color .2s ease}
.viewall:hover{background:rgba(242,199,110,.16);border-color:var(--gold);color:#ffdc8f}
.viewall span{transition:transform .2s var(--out)}
.viewall:hover span{transform:translateX(3px)}
.car{position:relative}
.track{display:grid;grid-auto-flow:column;grid-auto-columns:calc((100% - 40px) / 3);gap:20px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch}
.track::-webkit-scrollbar{display:none}
.card{position:relative;display:block;aspect-ratio:1/1;border-radius:20px;overflow:hidden;scroll-snap-align:start;text-decoration:none;color:var(--t1);background:#0d0e13;border:1px solid var(--line)}
.card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .5s var(--out)}
@media (hover:hover) and (pointer:fine){.card:hover img{transform:scale(1.04)}}
.card .shade{position:absolute;inset:0;background:linear-gradient(to bottom,rgba(5,6,9,.6) 0%,rgba(5,6,9,0) 26%),linear-gradient(to top,rgba(5,6,9,.94) 0%,rgba(5,6,9,.55) 42%,rgba(5,6,9,.08) 75%)}
/* Light, painted art (Lumu): darken only the top strip and the caption, never the subject. */
.card.art .shade{background:linear-gradient(to bottom,rgba(5,6,9,.5) 0%,rgba(5,6,9,0) 22%),linear-gradient(to top,rgba(5,6,9,.95) 0%,rgba(5,6,9,.72) 20%,rgba(5,6,9,0) 44%)}
/* Client logos, all in white (Jovan, 2026-10-29): top right on a card, beside the name on
   the work page. Heights differ because the marks differ in shape. */
.card .clogo{position:absolute;inset:auto 22px auto auto;top:20px;width:auto;height:var(--lh);object-fit:contain;filter:drop-shadow(0 1px 8px rgba(0,0,0,.55));transform:none !important}
.clogo.lhf{--lh:40px}
/* Lumu's art is bright right where the logo sits (the glowing ring), so on that card the
   logo rides on a dark glass chip. */
.card.art .clogo{box-sizing:content-box;padding:9px 13px;border-radius:12px;background:rgba(9,10,15,.6);border:1px solid rgba(255,255,255,.14);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);filter:none;top:16px;right:16px}
.clogo.sbs{--lh:22px}
.clogo.rd{--lh:30px}
.clogo.air{--lh:22px}
.clogo.apple{--lh:26px}
.clogo.spotify{--lh:24px}
.clogo.sutd{--lh:34px}
.card .pn{position:absolute;left:24px;top:22px;font-family:var(--mono);font-size:11px;letter-spacing:.2em;text-transform:uppercase;color:rgba(255,255,255,.82);text-shadow:0 1px 8px rgba(0,0,0,.6)}
.card .cb{position:absolute;left:24px;right:24px;bottom:22px}
.card h3{margin:0 0 8px;font-family:var(--display);font-weight:var(--dw);letter-spacing:var(--dt);font-size:calc(clamp(30px,3vw,40px) * var(--ds));line-height:1}
.card p{margin:0;max-width:30ch;font-size:14px;line-height:1.45;color:rgba(242,242,245,.85)}
/* Screenshots of our own products are bright UI, so they sit framed in a window on a
   dark card instead of full-bleed like a photo. */
.card.dark{background:radial-gradient(ellipse 80% 70% at 70% 20%,rgba(242,199,110,.14),transparent 70%),#0d0e13}
.card .cwin{position:absolute;left:9%;right:-16%;top:17%;height:56%;border-radius:10px;overflow:hidden;border:1px solid var(--line2);background:#0b0c10;box-shadow:0 20px 40px -14px rgba(3,5,12,.8)}
.card .cwin.mid{left:8%;right:8%}
.card .cwin .chrome{height:20px;padding:0 10px;gap:5px;background:#15171e}
.card .cwin .chrome i{width:6px;height:6px}
.card .cwin img{position:static;width:100%;height:calc(100% - 20px);object-fit:cover;object-position:left top}
.card .cwin.mid img{object-position:center top}
.card.more{background:radial-gradient(ellipse 80% 70% at 30% 20%,rgba(242,199,110,.14),transparent 70%),#0d0e13}
.card.more .pgrid{position:absolute;inset:0;background-image:linear-gradient(rgba(242,199,110,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(242,199,110,.1) 1px,transparent 1px);background-size:48px 48px}
.card.more .go-on{display:inline-flex;align-items:center;gap:8px;margin-top:14px;font-size:14px;font-weight:700;color:var(--gold)}
.car-btn{position:absolute;top:50%;width:44px;height:44px;margin-top:-22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:rgba(255,255,255,.04);border:1px solid var(--line2);cursor:pointer;font-size:16px;transition:background .2s ease,border-color .2s ease,opacity .2s ease,transform .16s var(--out)}
.car-btn:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.3)}
.car-btn:active{transform:scale(.95)}
.car-btn:disabled{opacity:.3;cursor:default}
.car-prev{left:-66px}
.car-next{right:-66px}
.dots{display:flex;justify-content:center;gap:8px;margin-top:28px}
.dots button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:rgba(255,255,255,.22);cursor:pointer;transition:width .3s var(--out),background .3s ease}
.dots button.on{width:28px;background:var(--gold)}
.dots[hidden]{display:none}

/* --- case studies (work page): Brand Lab's sticky breakdown, condensed ---- */
.page-hero{position:relative;padding:170px 0 80px;overflow:hidden}
.page-hero .glow{right:-260px;top:-220px}
.page-hero .wrap{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:end}
.page-hero .h1{margin:0}
.page-hero .lead{justify-self:end}
.page-hero .chapnav{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:10px;margin-top:4px}
.chapnav a{display:inline-flex;align-items:center;gap:10px;padding:8px 16px 8px 8px;border-radius:999px;border:1px solid var(--line2);background:rgba(255,255,255,.03);font-size:14px;font-weight:600;color:var(--t2);text-decoration:none;transition:background .2s ease,border-color .2s ease,color .2s ease}
.chapnav a:hover{background:rgba(255,255,255,.08);border-color:rgba(255,255,255,.28);color:var(--t1)}
.chapnav span{font-family:var(--mono);font-size:11px;letter-spacing:.04em;color:var(--gold);padding:3px 8px;border-radius:999px;background:rgba(242,199,110,.1)}
/* Chapters (client projects, products, concepts, games): a clear header with a big outlined
   number behind it, then the cases. */
.chapter{position:relative;border-top:1px solid var(--line)}
.chap{position:relative;padding:112px 0 16px}
.chap .h2{margin-bottom:16px}
.chap .lead{max-width:56ch}
.chap-n{position:absolute;right:0;top:56px;font-family:var(--display);font-size:clamp(120px,16vw,220px);line-height:1;color:transparent;-webkit-text-stroke:1px rgba(242,199,110,.3);pointer-events:none;user-select:none}
.case.compact .case-r{min-height:0}
.case{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,6fr);gap:72px;align-items:start;padding:96px 0;border-bottom:1px solid var(--line);scroll-margin-top:40px}
.case:last-child{border-bottom:0}
/* The picture and tiles hold still while the story scrolls past (Brand Lab's layout).
   Only on a screen tall enough to show the whole column: a sticky column taller than the
   viewport would hide its own tiles until the case ends. The story's min-height is what
   gives the stick room to travel. */
@media (min-width:960px) and (min-height:780px){
  .case-l{position:sticky;top:96px}
  .case-r{min-height:960px}
}
.case-name{display:flex;align-items:baseline;gap:18px;margin:0 0 24px;font-family:var(--display);font-weight:var(--dw);letter-spacing:var(--dt);font-size:calc(clamp(30px,3.4vw,46px) * var(--ds));line-height:1.05}
.case-name .num{font-family:var(--mono);font-weight:400;font-size:.62em;letter-spacing:-.04em;color:rgba(255,255,255,.2)}
.case-name .clogo{align-self:center;margin-left:auto;width:auto;height:calc(var(--lh) * 1.1);opacity:.92}
.shot{position:relative;aspect-ratio:4/3;border-radius:20px;overflow:hidden;border:1px solid var(--line2);background:radial-gradient(ellipse 80% 70% at 70% 30%,rgba(242,199,110,.12),transparent 70%),#0d0e13}
.shot-lumu .art{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.shot-win .win{position:absolute;left:7%;right:-38%;top:11%;bottom:-30%;border-radius:12px;overflow:hidden;border:1px solid var(--line2);background:#0b0c10;box-shadow:0 24px 48px -12px rgba(3,5,12,.7)}
.shot-win .chrome{height:24px;background:#15171e}
.shot-win img{width:100%;height:calc(100% - 24px);object-fit:cover;object-position:left top}
.shot-win.mid .win{left:6%;right:6%;top:12%;bottom:-6%}
.shot-win.mid img{object-position:center top}
/* A whole 16:10 screen (the concept prototypes): the window takes the screenshot's shape. */
.shot-win.fit .win{left:7%;right:7%;top:50%;bottom:auto;transform:translateY(-47%)}
.shot-win.fit img{height:auto;aspect-ratio:16/10;object-position:center top}
.tiles{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:14px}
.tile{display:flex;flex-direction:column;gap:8px;padding:16px 18px;border-radius:14px;background:var(--panel);border:1px solid var(--line)}
.tile b{font-family:var(--display);font-weight:var(--dw);letter-spacing:var(--dt);font-size:calc(clamp(17px,1.6vw,21px) * var(--ds));line-height:1.2;color:var(--gold)}
.tile span{font-family:var(--mono);font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:var(--t3)}
.case-r{padding-top:58px}
.case-h{margin:0 0 20px;font-family:var(--display);font-weight:var(--dw);letter-spacing:var(--dt);font-size:calc(clamp(26px,2.6vw,36px) * var(--ds));line-height:1.12;text-wrap:balance}
.part{padding:52px 0;border-bottom:1px solid var(--line)}
.part p{margin:0;font-size:17px;color:var(--t2);max-width:52ch;text-wrap:pretty}
.part .plabel{display:flex;align-items:center;gap:12px;margin-bottom:14px;font-family:var(--mono);font-size:11px;letter-spacing:.22em;text-transform:uppercase;color:var(--t3)}
.part .plabel::before{content:"";width:28px;height:1px;background:var(--gold)}
.credit{margin:32px 0 0;font-size:14px;color:var(--t3)}
.go{margin-top:32px}
.credit + .go{margin-top:20px}

/* --- the arcade (work page, games) --------------------------------------
   Cabinet-style cards: a bezelled screen looping real play, then the pitch and a Play
   button. The screen's glow is a static shadow; only the video moves. */
.arcade{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:44px 0 120px}
@media (max-width:1179px){.arcade{grid-template-columns:repeat(2,minmax(0,1fr))}}
.game{display:flex;flex-direction:column;padding:12px;border-radius:22px;border:1px solid var(--line2);background:linear-gradient(180deg,#14161e,#0c0d12);box-shadow:0 30px 60px -30px rgba(3,5,12,.9);transition:transform .3s var(--out)}
@media (hover:hover) and (pointer:fine){.game:hover{transform:translateY(-4px)}}
.game .screen{position:relative;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:#05060a;box-shadow:0 0 0 4px #08090d,0 0 0 5px rgba(255,255,255,.08),0 0 48px -8px rgba(242,199,110,.35)}
.game .screen::after{content:"";position:absolute;inset:0;pointer-events:none;background:repeating-linear-gradient(to bottom,rgba(0,0,0,.07) 0 1px,transparent 1px 3px),radial-gradient(ellipse at center,transparent 62%,rgba(0,0,0,.32))}
.game video{display:block;width:100%;height:100%;object-fit:cover}
.gb{flex:1;display:flex;flex-direction:column;gap:10px;padding:22px 10px 10px}
.gtag{margin:0;font-family:var(--mono);font-size:10px;letter-spacing:.18em;text-transform:uppercase;color:var(--gold)}
.gb h3{margin:0;font-family:var(--display);font-weight:var(--dw);letter-spacing:var(--dt);font-size:calc(clamp(28px,2.6vw,36px) * var(--ds));line-height:1}
.gb p:not(.gtag){flex:1;margin:0;font-size:15px;line-height:1.5;color:var(--t2)}
.gb .pill{align-self:flex-start;margin-top:8px}

/* --- next -------------------------------------------------------------- */
.next{position:relative;padding:160px 0 150px;overflow:hidden;border-top:1px solid var(--line);text-align:center}
.next .glow{left:50%;top:50%;transform:translate(-50%,-45%)}
.next-in .h2{margin-bottom:22px}
.next-in .lead{margin:0 auto 36px;max-width:46ch}

/* --- footer ------------------------------------------------------------ */
.foot{border-top:1px solid var(--line);padding:28px 0 36px;font-size:13px;color:var(--t3)}
.foot-in{display:flex;justify-content:center;text-align:center}
.foot p{margin:0}

/* --- Who we are: a scrapbook ------------------------------------------
   Colour cut-outs with the same white hand-cut border as the hero photo, taped down at
   angles and overlapping. All static: tilt and tape are set once, nothing animates. */
.scrap{padding:8px 0 120px}
.tape{position:absolute;z-index:4;width:104px;height:28px;background:rgba(246,238,216,.74);box-shadow:0 2px 6px rgba(3,5,12,.3);clip-path:polygon(0 0,100% 0,97% 25%,100% 50%,97% 75%,100% 100%,0 100%,3% 75%,0 50%,3% 25%);pointer-events:none}
.group{position:relative;max-width:640px;margin:40px auto 0}
.group .cut{display:block;width:100%;height:auto;transform:rotate(-1.6deg);filter:drop-shadow(0 22px 34px rgba(3,5,12,.7))}
.group .tape.a{left:-3%;top:31%;transform:rotate(-38deg)}
.group .tape.b{right:1%;top:38%;transform:rotate(34deg)}
.group .photo-tag.l{left:-28px;bottom:64px}
.group .photo-tag.r{right:-28px;bottom:30px}

/* One row per person: their tag (and write-up) first, then their photos side by side as
   paper prints. Each print grows by its own aspect ratio (--a), so a row shares one height;
   --sum (the row's aspects added up) caps the row at 400px tall. Prints tilt a little, like
   prints laid down by hand; the tilt is set once, nothing animates. */
.members{display:flex;flex-direction:column;gap:104px;margin-top:120px}
.m-meta{display:flex;flex-wrap:wrap;align-items:flex-end;gap:22px 44px;margin-bottom:34px}
.m-meta .photo-tag{position:relative;left:auto;right:auto;bottom:auto;margin:0;transform:rotate(-2deg)}
.member:nth-child(2) .m-meta .photo-tag{transform:rotate(2deg)}
.strip{display:flex;align-items:flex-start;gap:24px;max-width:calc(var(--sum) * 400px + 48px)}
.pp{flex:var(--a) 1 0;min-width:0;width:0;height:auto;aspect-ratio:var(--a);filter:drop-shadow(0 16px 24px rgba(3,5,12,.6))}
.pp:nth-child(3n+1){transform:rotate(-1.4deg)}
.pp:nth-child(3n+2){transform:translateY(12px) rotate(1deg)}
.pp:nth-child(3n){transform:rotate(-.6deg)}
.bio{max-width:52ch}
.bio p{margin:0;font-size:15px;line-height:1.55;color:var(--t2)}
.bio .k{margin:14px 0 6px;font-family:var(--mono);font-size:10px;letter-spacing:.2em;text-transform:uppercase;color:var(--gold)}
.bio blockquote{margin:0;font-family:var(--display);font-style:italic;font-size:26px;line-height:1.15;color:var(--t1)}

/* Events: who, when and what, then the night's photos on the same snap carousel as the
   home page's case studies. */
.event{padding:32px 0 120px}
.ev-head{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:56px;align-items:center;margin-bottom:44px}
.ev-badge{position:relative;aspect-ratio:16/10;border-radius:20px;border:1px solid var(--line2);overflow:hidden;display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse 70% 60% at 50% 45%,rgba(242,199,110,.14),transparent 72%),#0d0e13}
.ev-badge .pgrid{position:absolute;inset:0;background-image:linear-gradient(rgba(242,199,110,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(242,199,110,.1) 1px,transparent 1px);background-size:48px 48px;-webkit-mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,#000 30%,transparent 80%);mask-image:radial-gradient(ellipse 70% 70% at 50% 50%,#000 30%,transparent 80%)}
.ev-badge img{position:relative;width:58%;height:auto}
.ev-name{margin:0 0 16px;font-family:var(--display);font-weight:var(--dw);letter-spacing:var(--dt);font-size:calc(clamp(32px,3.6vw,50px) * var(--ds));line-height:1.04}
.ev-name em{font-family:var(--acc);font-style:italic;color:var(--gold)}
.ev-text{margin:0 0 26px;font-size:17px;line-height:1.6;color:var(--t2);max-width:52ch}
.card.ph{display:flex;align-items:center;justify-content:center;background:radial-gradient(ellipse 80% 70% at 50% 40%,rgba(242,199,110,.1),transparent 70%),#0d0e13;border-style:dashed;border-color:rgba(242,199,110,.3)}
.card.ph .soon{position:relative;text-align:center;font-family:var(--mono);font-size:11px;letter-spacing:.2em;text-transform:uppercase;line-height:1.9;color:var(--t3)}
.card.ph .soon svg{display:block;margin:0 auto 12px;width:30px;height:30px;color:rgba(242,199,110,.6)}

/* --- reveal (JS adds .js; without JS everything is simply visible) ------ */
.js .rv{opacity:0;transform:translateY(14px);transition:opacity .6s ease,transform .6s var(--out)}
.js .rv.in{opacity:1;transform:none}
.js .game.rv.in{transition:opacity .6s ease,transform .3s var(--out)}

/* --- smaller screens --------------------------------------------------- */
@media (max-width:1299px){
  .car-btn{display:none}
}
@media (max-width:1100px){
  .track{grid-auto-columns:calc((100% - 20px) / 2)}
}
@media (max-width:959px){
  .hero{padding:112px 0 64px;min-height:0}
  .hero .glow{left:50%;top:auto;bottom:-300px;transform:translateX(-50%);width:760px;height:760px}
  .hero-in{grid-template-columns:1fr;gap:56px}
  .hero-main{order:1;text-align:center}
  .photo{order:2;max-width:460px;width:100%;margin:0 auto}
  .hero-main .lead{margin-left:auto;margin-right:auto}
  .rot{justify-items:center}
  .ctas{justify-content:center}
  .stage{aspect-ratio:1/.72;max-width:480px;margin:0 auto;--lw:90%;--mw:84%;--pw:35%}
  .stage[data-state=software] .s-monitor{--x:-18%;--y:-14%}
  .stage[data-state=software] .s-laptop{--x:6%;--y:16%}
  .stage[data-state=software] .s-phone{--x:100%;--y:4%;--s:.74}
  .work{padding:88px 0 80px}
  .page-hero{padding:130px 0 56px}
  .page-hero .wrap{grid-template-columns:1fr;gap:20px}
  .page-hero .lead{justify-self:start}
  .case{grid-template-columns:1fr;gap:8px;padding:64px 0}
  .chap{padding:88px 0 8px}
  .chap-n{top:48px;font-size:120px}
  .arcade{grid-template-columns:1fr;max-width:560px;margin:0 auto;padding:32px 0 88px}
  .members{gap:80px;margin-top:96px}
  .ev-head{grid-template-columns:1fr;gap:32px}
  .ev-badge{max-width:520px}
  .case-r{padding-top:32px}
  .part{padding:28px 0}
}
@media (max-width:640px){
  .wrap{padding:0 20px}
  /* Two rows on the right: the Book button, and under it the page links, exactly as wide
     as it (the column is as wide as the wider of the pair, and both fill it; the links'
     padding puts the home icon under the button's text and "Our work" under its arrow).
     The lockup spans both rows, centred on the pair: 38px button + 4px gap + 17px links
     row = 59px against its 56px, so it sits 1.5px inside at top and foot. Jovan had the
     button and links enlarged on 2026-10-30 and asked to keep the lockup's size. */
  .top{display:grid;grid-template-columns:auto auto;justify-content:space-between;align-items:start;gap:4px 8px;padding:12px 14px 16px;background:linear-gradient(to bottom,rgba(7,8,12,.97) 0%,rgba(7,8,12,.95) 80%,rgba(7,8,12,0) 100%)}
  .top .r{display:contents}
  .lockup{grid-area:1/1/3/2;align-self:center}
  .top .pill{grid-area:1/2;justify-content:space-between;height:38px;padding:0 6px 0 14px;font-size:13px}
  .top .pill .ic{width:26px;height:26px}
  .top .links{grid-area:2/2;align-self:end;justify-content:space-between;gap:12px;padding:0 7px 0 14px}
  /* a 17px row, but a 37px tap target: the padding is cancelled by the negative margin */
  .top .link{font-size:14px;line-height:17px;padding:10px 0;margin:-10px 0}
  .top .link.home svg{width:17px;height:17px}
  html{scroll-padding-top:96px}
  .case{scroll-margin-top:0}
  .hero{padding-top:128px}
  .page-hero{padding-top:144px}
  .lockup img{height:56px}
  .top .r{gap:12px}
  .pill{font-size:12px;padding:6px 6px 6px 13px}
  .pill.lg{font-size:14px;padding:8px 8px 8px 18px}
  .legend{gap:14px;font-size:10px;letter-spacing:.14em}
  .track{grid-auto-columns:84%;gap:14px;margin:0 -20px;padding:0 20px;scroll-padding:0 20px}
  .card .pn{left:20px;top:18px}
  .card .cb{left:20px;right:20px;bottom:18px}
  .photo-tag{padding:9px 12px 10px}
  .photo-tag span{font-size:9px;letter-spacing:.14em}
  .photo-tag b{font-size:15px}
  .photo-tag.l{left:-6px;bottom:30px}
  .photo-tag.r{right:-6px;bottom:12px}
  .chap{padding:72px 0 4px}
  /* thumb-sized tap areas for the plain text links */
  .chap-n{position:static;display:block;margin:0 0 4px;font-size:84px;line-height:.9}
  .part p{font-size:16px}
  .tile{padding:14px}
  .next{padding:112px 0 104px}
  /* phones: each person's prints stay side by side and swipe, at a height a face can be seen at */
  .strip{max-width:none;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;overscroll-behavior-x:contain;scrollbar-width:none;margin:0 -20px;padding:12px 20px 28px;scroll-padding:0 20px}
  .strip::-webkit-scrollbar{display:none}
  .pp{flex:0 0 auto;width:auto;height:280px;scroll-snap-align:start}
  .m-meta{margin-bottom:18px}
  .bio blockquote{font-size:23px}
  .group .photo-tag.l{left:-8px;bottom:40px}
  .group .photo-tag.r{right:-8px;bottom:14px}
  .tape{width:76px;height:22px}
  .scrap{padding-bottom:88px}
  .event{padding-bottom:88px}
  .ev-text{font-size:16px}
}
/* the narrowest phones: closer links, so the header still fits on one width */
/* smaller phones: slightly smaller links so the tall lockup still fits beside them */
@media (max-width:389px){
  .top .links{gap:10px}
  .top .link{font-size:13px}
}
@media (max-width:379px){
  .top .links{gap:8px}
  .top .link{font-size:12px}
  .top .pill{font-size:12px}
}
/* the smallest phones have no room for a two-row lockup: it sits on the button's row */
@media (max-width:359px){
  .lockup{grid-area:1/1/2/2;align-self:center}
  .lockup img{height:30px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .stk,.rot .w,.js .rv,.legend span,.card img,.game{transition:none !important}
  .js .rv{opacity:1;transform:none}
}
