/* ===================== FONTS ===================== */
@font-face{font-family:"Geist";src:url("assets/fonts/Geist-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Geist";src:url("assets/fonts/Geist-Medium.woff2") format("woff2");font-weight:500;font-display:swap}
@font-face{font-family:"Geist";src:url("assets/fonts/Geist-SemiBold.woff2") format("woff2");font-weight:600;font-display:swap}
@font-face{font-family:"Geist";src:url("assets/fonts/Geist-Bold.woff2") format("woff2");font-weight:700;font-display:swap}
@font-face{font-family:"Geist";src:url("assets/fonts/Geist-ExtraBold.woff2") format("woff2");font-weight:800;font-display:swap}
/* Geist Mono, subset to Latin and Swedish. The site itself no longer sets anything in it; the faces stay for pages that ask for them. */
@font-face{font-family:"Geist Mono";src:url("assets/fonts/GeistMono-Regular.woff2") format("woff2");font-weight:400;font-display:swap}
@font-face{font-family:"Geist Mono";src:url("assets/fonts/GeistMono-Medium.woff2") format("woff2");font-weight:500;font-display:swap}

/* ===================== TOKENS ===================== */
:root{
  --ink:#0a0a0a;
  --ink-2:#141414;
  --paper:#ffffff;
  --paper-2:#f3f3f1;
  --line:rgba(10,10,10,.12);
  --line-d:rgba(255,255,255,.16);
  --muted:#6b6b6b;
  --muted-d:#9a9a9a;
  --pill:rgba(10,10,10,.06);
  --sans:"Geist",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  --mono:"Geist Mono",ui-monospace,"SF Mono",Menlo,Consolas,monospace;
  --pad:clamp(20px,5vw,72px);
  --maxw:1360px;
  --ease:cubic-bezier(.22,1,.36,1);
  --liquid:cubic-bezier(.2,.9,.3,1);
  --spring:cubic-bezier(.3,1.18,.4,1);
  --text:#3d3d3d;                  /* running copy on paper */
  --r:22px;                        /* card corners */
  --sec:clamp(72px,12vh,148px);    /* a section's top and bottom padding */
  --arrow:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4.5 12h15M13 5.5l6.5 6.5-6.5 6.5'/%3E%3C/svg%3E");
  --arrow-out:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 17L17 7M8.5 7H17v8.5'/%3E%3C/svg%3E");
}
/* --spring as a real damped spring (zeta .75) where linear() lands: overshoots ~2.8%
   and settles, so the mobile panel reads as a body of liquid rather than a sliding sheet.
   The cubic-bezier above stands in for it elsewhere. */
@supports (transition-timing-function:linear(0,1)){
  :root{
    --spring:linear(0,.097 3.8%,.298 7.7%,.514 11.5%,.7 15.4%,.839 19.2%,.933 23.1%,
      .989 26.9%,1.017 30.8%,1.027 34.6%,1.028 38.5%,1.023 42.3%,1.017 46.2%,1.011 50%,
      1.006 53.8%,1.003 57.7%,1.001 61.5%,.9998 65.4%,.9993 69.2%,.9992 73.1%,.9993 76.9%,
      .9994 80.8%,.9996 84.6%,.9998 88.5%,1 92.3%,1 96.2%,1);
  }
}

/* ===================== RESET ===================== */
*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth}
body{
  font-family:var(--sans);
  background:var(--paper);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
  overflow-x:clip;
}
img{display:block;max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
::selection{background:var(--ink);color:var(--paper)}

.wrap{max-width:var(--maxw);margin:0 auto;padding-inline:var(--pad)}
/* viewport-fit=cover: backgrounds run to the edge of the screen, the content keeps clear of a phone's sensor housing */
@supports(padding:max(0px)){
  .wrap{padding-left:max(var(--pad),env(safe-area-inset-left));padding-right:max(var(--pad),env(safe-area-inset-right))}
}

/* ===================== SHARED PRIMITIVES ===================== */
/* sentence case, so the wide tracking that made uppercase legible comes off with it */
.kicker,.founder-eyebrow{
  font-weight:600;
  letter-spacing:.01em;
  font-size:15px;
}

.pill{
  display:inline-flex;align-items:center;gap:.7em;
  font-weight:500;font-size:16px;letter-spacing:-.01em;
  padding:14px 22px;border-radius:999px;
  background:var(--pill);color:var(--ink);
  transition:background .35s var(--ease),color .35s var(--ease);
  white-space:nowrap;
}
.pill:hover{background:var(--ink);color:var(--paper)}
.pill-dark{background:rgba(255,255,255,.1);color:#fff}
.pill-dark:hover{background:#fff;color:var(--ink)}
.pill-light{background:#fff;color:var(--ink)}
.pill-light:hover{background:rgba(255,255,255,.78)}

a:focus-visible,button:focus-visible{outline:2px solid currentColor;outline-offset:3px;border-radius:4px}

/* reveal: hidden state gated behind .js so content stays visible if JS fails */
.reveal{transition:opacity .9s var(--ease),transform .9s var(--ease)}
.js .reveal{opacity:0;transform:translateY(26px)}
.reveal.in{opacity:1;transform:none}
.js .load{opacity:0;transform:translateY(20px);animation:rise .9s var(--ease) forwards;animation-delay:var(--d,0s)}
@keyframes rise{to{opacity:1;transform:none}}

/* section furniture shared by the home page and the sub-pages */
.sec-head{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:20px 48px;margin-bottom:clamp(36px,6vh,64px)}
.sec-head-txt{display:flex;flex-direction:column;gap:14px;min-width:0}
.sec-title{font-weight:500;letter-spacing:-.035em;line-height:1.02;font-size:clamp(32px,4.4vw,62px);text-wrap:balance}
.sec-lead{color:var(--text);font-size:clamp(17px,1.3vw,19px);line-height:1.55;max-width:52ch;text-wrap:pretty}
/* a text link with an arrow that leans forward on hover; also the "read more" line inside a linked card */
.arrow-link{display:inline-flex;align-items:center;gap:.5em;font-size:16px;font-weight:500;letter-spacing:-.01em;white-space:nowrap}
.arrow-link::after{content:"";width:1.05em;height:1.05em;flex:none;background:currentColor;transition:transform .35s var(--ease);
  -webkit-mask:var(--arrow) center/contain no-repeat;mask:var(--arrow) center/contain no-repeat}
@media(hover:hover){a.arrow-link:hover::after,a:hover .arrow-link::after{transform:translateX(4px)}}
.pill-ink{background:var(--ink);color:#fff}
.pill-ink:hover{background:#2e2e2e;color:#fff}
.skip{position:absolute;left:16px;top:-64px;z-index:80;padding:10px 16px;border-radius:999px;background:#fff;color:var(--ink);font-weight:600;font-size:14px;transition:top .25s var(--ease)}
.skip:focus{top:16px}

/* Safari colours its own bars, and the side rail of a folded iPhone Duo, from the body. Pages that open on a dark
   hero start dark, and app.js keeps the body in step with the section on screen ([data-tone]), so the page reads
   as covering the whole screen. Every section of such a page sets its own background. */
body:has(.hero[data-tone]),body:has(.phero[data-tone]),body:has(.iv-hero[data-tone]){background:var(--ink)}
/* a link to a section lands a pixel inside it, so no sliver of the section above is left along the top edge */
[data-tone]{scroll-margin-top:-1px}
/* a folded iPhone Duo: Safari keeps its controls in a rail beside the page, coloured like the body (app.js sets
   .has-rail). A film that runs the full width fades into the rail instead of stopping at a hard edge. */
.has-rail .hero::after,.has-rail .iv-hero::after,.has-rail .feature-media::after,.has-rail .vband::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(90deg,rgba(10,10,10,0) 70%,rgba(10,10,10,.94) 100%)}
.has-rail .hero::after,.has-rail .iv-hero::after{z-index:-1}

/* Lenis smooth scroll */
html.lenis,html.lenis body{height:auto}
.lenis.lenis-smooth{scroll-behavior:auto!important}
.lenis.lenis-smooth [data-lenis-prevent]{overscroll-behavior:contain}
.lenis.lenis-stopped{overflow:hidden}

/* ===================== NAV ===================== */
.nav{position:fixed;top:0;left:0;right:0;z-index:50;padding:18px var(--pad);transition:padding .5s var(--ease),transform .35s var(--ease)}
/* headroom: out of the way while the page is read downwards, back on any scroll up */
.nav.nav-hide{transform:translateY(calc(-100% - 64px))} /* clears the pill's 40px shadow too */
.nav-bar{
  display:flex;flex-direction:column;
  max-width:var(--maxw);margin:0 auto;
  border-radius:999px;padding:0;
  transition:max-width .55s var(--ease),padding .55s var(--ease),background .55s var(--ease),backdrop-filter .55s var(--ease),box-shadow .55s var(--ease),border-radius .42s var(--liquid),transform .45s var(--ease),opacity .3s var(--ease);
}
.nav-row{display:flex;align-items:center;justify-content:space-between;gap:24px;width:100%}
.nav-menu{display:none}
.nav-logo{display:flex;align-items:center;transition:opacity .32s var(--ease),transform .5s var(--liquid)}
.nav-logo-img{height:30px;width:auto;display:block;transition:height .55s var(--ease)}
.nav-links{display:flex;align-items:center;gap:28px;font-size:15px;font-weight:500;letter-spacing:-.01em}
.nav-links a{white-space:nowrap;opacity:.92;transition:opacity .25s}
.nav-links a:hover{opacity:1}
.nav-burger{display:none;flex-direction:column;gap:5px;width:34px;height:34px;align-items:center;justify-content:center}
.nav-burger span{display:block;width:20px;height:2px;background:currentColor;transition:.3s var(--ease)}

/* at top: transparent, white over hero */
.nav.at-top{color:#fff}

/* scrolled: condensed centered dark pill, dense enough that no copy reads through it */
.nav.scrolled{padding:14px var(--pad)}
.nav.scrolled .nav-bar{
  max-width:min(860px,100%);
  padding:9px 20px;
  background:rgba(14,14,14,.9);
  backdrop-filter:saturate(140%) blur(20px);
  -webkit-backdrop-filter:saturate(140%) blur(20px);
  box-shadow:0 12px 40px rgba(0,0,0,.22);
  color:#fff;
}
/* the footer carries its own navigation, so the pill steps aside before it can cover a footer link */
.nav.nav-off .nav-bar{opacity:0;transform:translateY(calc(-100% - 20px));pointer-events:none}
.nav.scrolled .nav-logo-img{height:26px}
.nav.scrolled .nav-links a{color:#fff;opacity:.86}
.nav.scrolled .nav-links a:hover{opacity:1}
/* where you are */
.nav-links a[aria-current="page"]{opacity:1;text-decoration:underline;text-decoration-thickness:1.5px;text-underline-offset:7px}
/* viewport-fit=cover: in landscape the page runs under a phone's sensor housing, the bar keeps clear of it */
@supports(padding:max(0px)){
  .nav,.nav.scrolled{padding-left:max(var(--pad),env(safe-area-inset-left));padding-right:max(var(--pad),env(safe-area-inset-right))}
}

/* ===================== HERO ===================== */
/* capped: a renderer that stretches the viewport to the full page (search engines do) would otherwise grow
   the hero with it and push every section out of view */
.hero{position:relative;height:100svh;min-height:560px;max-height:2000px;overflow:hidden;background:var(--ink);color:#fff;isolation:isolate}
/* iOS Safari floats its address bar over the page and draws the page beneath it. The film runs on under the bar
   so the first screen is covered edge to edge; the title stays in the part of the screen above the bar (.hero-in). */
@supports(-webkit-touch-callout:none){
  .hero{height:calc(100lvh + 112px)}
}
.hero-media{position:absolute;left:0;right:0;top:-12%;height:124%;z-index:-2;will-change:transform}
/* the poster is the video's own first frame, picked per orientation, so the video takes over without a visible swap */
.hero-poster,.hero-poster img,.hero-video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 42%;display:block}
.hero-grade{position:absolute;inset:0;z-index:-1;
  background:linear-gradient(180deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,.05) 32%,rgba(0,0,0,.12) 60%,rgba(0,0,0,.72) 100%)}
.grain{position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.5;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E")}

.hero-in{position:absolute;left:0;right:0;top:0;height:100%;max-height:100svh;display:flex;align-items:flex-end;padding:96px 0 clamp(28px,6.5vh,76px)}
.hero-in .wrap{width:100%}
.hero-title{font-weight:500;letter-spacing:-.045em;line-height:.94;font-size:clamp(54px,10.5vw,160px)}
.hero-title .hl{display:block}

/* ===================== DET HÄR GÖR VI ===================== */
.intro{background:var(--paper);padding:var(--sec) 0}
.intro-top{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));column-gap:clamp(20px,3vw,48px);row-gap:clamp(18px,3vh,28px)}
.intro-title{grid-column:1/8;font-weight:500;letter-spacing:-.035em;line-height:1.04;font-size:clamp(30px,4.2vw,60px);text-wrap:balance}
.intro-copy{grid-column:8/-1;align-self:end;display:flex;flex-direction:column;align-items:flex-start;gap:20px;padding-bottom:.35em}
.intro-copy p{color:var(--text);font-size:clamp(17px,1.35vw,20px);line-height:1.55;text-wrap:pretty}
.pillars{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 clamp(24px,4vw,64px);margin-top:clamp(48px,8vh,96px);border-top:1px solid var(--ink)}
.pillar{padding-top:clamp(22px,3.4vh,32px)}
.pillar-icon{display:block;width:28px;height:28px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;margin-bottom:clamp(18px,3vh,30px)}
.pillar-h{font-weight:500;letter-spacing:-.02em;line-height:1.15;font-size:clamp(20px,1.7vw,24px);margin-bottom:10px}
.pillar-p{color:var(--text);font-size:16.5px;line-height:1.6;max-width:38ch;text-wrap:pretty}
@media(max-width:900px){
  .intro-title,.intro-copy{grid-column:1/-1}
}
@media(max-width:760px){
  .pillars{grid-template-columns:1fr;border-top:0;margin-top:40px}
  .pillar{display:grid;grid-template-columns:28px minmax(0,1fr);column-gap:18px;padding:22px 0 26px;border-top:1px solid var(--line)}
  .pillar:first-child{border-top-color:var(--ink)}
  .pillar-icon{grid-row:1/3;margin:1px 0 0}
  .pillar-p{max-width:none}
}

/* ===================== SÅ JOBBAR VI (editorial spread) ===================== */
.svc{background:var(--paper);color:var(--ink);padding:clamp(64px,11vh,140px) 0 clamp(72px,13vh,168px)}
.svc-rail-in{margin-bottom:clamp(36px,5vh,56px)}
/* one line at every width, so no short word is ever left alone under it */
.svc-title{font-weight:400;letter-spacing:-.04em;line-height:.95;font-size:clamp(40px,6.5vw,92px);white-space:nowrap}
.svc-list{list-style:none;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(32px,5vw,80px)}
.svc-item{padding:clamp(22px,3vh,30px) 0 clamp(30px,4.4vh,46px);border-top:1px solid var(--ink)}
.svc-h{font-weight:400;letter-spacing:-.03em;line-height:1.05;font-size:clamp(25px,2.4vw,34px);text-wrap:balance;margin:0 0 clamp(12px,1.6vh,18px)}
.svc-p{color:#4a4a4a;font-size:clamp(17px,1.25vw,18px);line-height:1.6;max-width:52ch}
@media(max-width:900px){
  .svc-list{grid-template-columns:1fr}
}
@media(max-width:560px){
  .svc-item{padding:24px 0 30px}
  .svc-title{font-size:clamp(36px,11vw,48px)}
}

.vh{position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* ===================== APPAR ===================== */
.apps{background:var(--paper-2);padding:var(--sec) 0}
/* two wide cards over three: the whole card is the link */
.app-grid{list-style:none;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(12px,1.3vw,20px)}
.app-grid > li{grid-column:span 2}
.app-grid > li:nth-child(-n+2){grid-column:span 3}
.app-card{display:flex;flex-direction:column;align-items:flex-start;gap:18px;height:100%;padding:clamp(22px,2.3vw,34px);
  background:var(--paper);border:1px solid var(--line);border-radius:var(--r);
  transition:transform .45s var(--ease),box-shadow .45s var(--ease),border-color .3s var(--ease)}
@media(hover:hover){.app-card:hover{transform:translateY(-4px);box-shadow:0 22px 48px rgba(10,10,10,.09);border-color:rgba(10,10,10,.22)}}
.app-card-top{display:flex;align-items:center;gap:16px}
/* the icon in the shape the platforms give it */
.app-icon{width:60px;height:60px;flex:none;border-radius:22.5%;box-shadow:0 0 0 1px var(--line),0 10px 22px rgba(10,10,10,.1)}
.app-card-id{display:flex;flex-direction:column;gap:3px;min-width:0}
.app-name{font-weight:500;letter-spacing:-.02em;line-height:1.15;font-size:clamp(20px,1.6vw,23px)}
.app-plat{font-size:14px;line-height:1.35;color:var(--muted)}
.app-text{flex:1;color:var(--text);font-size:16px;line-height:1.58;text-wrap:pretty}
.app-grid > li:nth-child(-n+2) .app-text{font-size:clamp(16px,1.2vw,17.5px);max-width:54ch}
.app-card .arrow-link{font-size:15px}
@media(max-width:1000px){
  .app-grid > li,.app-grid > li:nth-child(-n+2){grid-column:span 3}
  /* the odd app out takes the whole last row */
  .app-grid > li:last-child:nth-child(odd){grid-column:1/-1}
}
@media(max-width:640px){
  .app-grid > li,.app-grid > li:nth-child(-n+2){grid-column:1/-1}
  .app-card{gap:14px}
}

/* ===================== SPEL ===================== */
.games{background:var(--ink);color:#fff;padding:var(--sec) 0}
.games .sec-lead,.films-text{color:rgba(255,255,255,.72)}
/* one card per game, on the game's own art; the whole card is the link */
.game-grid{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(12px,1.2vw,18px)}
.gcard{position:relative;display:block;aspect-ratio:3/4;border-radius:clamp(20px,2vw,28px);overflow:hidden;isolation:isolate;
  background:#10161a;color:#fff;-webkit-mask-image:-webkit-radial-gradient(white,black)}
.gcard::after{content:"";position:absolute;inset:0;border-radius:inherit;box-shadow:inset 0 0 0 1px rgba(255,255,255,.1);pointer-events:none}
.gcard-art{position:absolute;inset:0;z-index:-2}
.gcard-art img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.gcard-gj .gcard-art img{object-position:50% 38%}
.gcard-kb .gcard-art img{object-position:50% 0}
.gcard-tqb .gcard-art img{filter:saturate(.9) brightness(.9)}
@media(hover:hover){.gcard:hover .gcard-art img{transform:scale(1.04)}}
.gcard-grade{position:absolute;inset:0;z-index:-1}
.gcard-gj .gcard-grade{background:linear-gradient(180deg,rgba(9,16,48,0) 30%,rgba(9,16,48,.86) 68%,rgba(9,16,48,.97) 100%)}
.gcard-kb .gcard-grade{background:linear-gradient(180deg,rgba(14,40,20,0) 30%,rgba(14,40,20,.86) 64%,rgba(14,40,20,.97) 100%)}
.gcard-tqb .gcard-grade{background:linear-gradient(180deg,rgba(3,9,11,0) 26%,rgba(3,9,11,.88) 70%,rgba(3,9,11,.97) 100%)}
.gcard-body{position:absolute;left:0;right:0;bottom:0;padding:clamp(20px,2.2vw,32px);display:flex;flex-direction:column;align-items:flex-start}
/* each game's own wordmark, standing on one baseline across the cards */
.gcard-name{line-height:0;height:clamp(52px,5.4vw,84px);display:flex;align-items:flex-end}
.gcard-name img{height:100%;width:auto;max-width:100%;object-fit:contain;object-position:left bottom}
.gcard-name-gj{height:clamp(84px,8.6vw,132px)}  /* the stacked mine sign: taller than a one-line wordmark */
.gcard-name-gj img,.gcard-name-kb img{margin-left:-5px;filter:drop-shadow(0 8px 14px rgba(0,0,0,.4))}
.gcard-name-tqb img{height:70%}
.gcard-pitch{margin-top:14px;max-width:34ch;color:rgba(255,255,255,.88);font-size:clamp(15.5px,1.15vw,17px);line-height:1.5;text-wrap:pretty}
.gcard-plat{margin-top:12px;font-size:14px;color:rgba(255,255,255,.64)}
.gcard:focus-visible{outline:2px solid #fff;outline-offset:4px;border-radius:clamp(20px,2vw,28px)}
@media(max-width:899px){
  .game-grid{grid-template-columns:1fr}
  .gcard{aspect-ratio:16/10}
  .gcard-name{height:64px}
  .gcard-name-gj{height:104px}
}
@media(max-width:560px){
  .gcard{aspect-ratio:4/5}
}

/* ----- film: two portrait films beside their introduction ----- */
.films{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:clamp(32px,6vw,96px);
  margin-top:clamp(56px,9vh,112px);padding-top:clamp(48px,8vh,96px);border-top:1px solid var(--line-d)}
.films-copy{display:flex;flex-direction:column;gap:16px}
.films-title{font-weight:500;letter-spacing:-.035em;line-height:1.02;font-size:clamp(30px,3.8vw,54px);text-wrap:balance}
.films-text{font-size:clamp(17px,1.3vw,19px);line-height:1.55;max-width:44ch;text-wrap:pretty}
.films-list{list-style:none;display:grid;grid-template-columns:repeat(2,clamp(180px,19vw,264px));gap:clamp(12px,1.4vw,20px);align-items:start}
.vcard-frame{position:relative;aspect-ratio:9/16;border-radius:clamp(16px,1.6vw,22px);overflow:hidden;background:#111;
  box-shadow:0 0 0 1px rgba(255,255,255,.12),0 24px 60px rgba(0,0,0,.5);-webkit-mask-image:-webkit-radial-gradient(white,black)}
.vcard-video,.vcard-poster,.vcard-poster img,.vcard-frame iframe{position:absolute;inset:0;width:100%;height:100%;display:block;border:0}
.vcard-video,.vcard-poster img{object-fit:cover}
/* the play control covers the whole frame; a film that is playing shows the browser's own controls instead */
.vcard-play{position:absolute;inset:0;width:100%;height:100%;cursor:pointer}
.vcard-play[hidden]{display:none}
.vcard-play::before{content:"";position:absolute;left:50%;top:50%;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;
  background:rgba(255,255,255,.95);box-shadow:0 10px 30px rgba(0,0,0,.35);transition:transform .35s var(--ease)}
.vcard-play::after{content:"";position:absolute;left:50%;top:50%;width:18px;height:20px;margin:-10px 0 0 -7px;background:var(--ink);clip-path:polygon(0 0,100% 50%,0 100%)}
@media(hover:hover){.vcard-frame:hover .vcard-play::before{transform:scale(1.08)}}
.vcard-play:focus-visible,.vcard-poster:focus-visible{outline:2px solid #fff;outline-offset:-6px;border-radius:clamp(16px,1.6vw,22px)}
.vcard-cap{display:flex;flex-direction:column;gap:3px;margin-top:14px}
.vcard-name{font-size:17px;font-weight:500;letter-spacing:-.01em}
.vcard-sub{font-size:14px;line-height:1.45;color:rgba(255,255,255,.64);text-wrap:pretty}
@media(max-width:820px){
  .films{grid-template-columns:1fr}
  .films-list{grid-template-columns:repeat(2,minmax(0,1fr));max-width:560px}
}
@media(max-width:420px){
  .vcard-play::before{width:52px;height:52px;margin:-26px 0 0 -26px}
  .vcard-play::after{width:15px;height:17px;margin:-8.5px 0 0 -6px}
}
/* a line from the cases to the service page */
.link-line{list-style:none;display:flex;flex-wrap:wrap;gap:12px 36px;margin-top:clamp(40px,6vh,64px);padding-top:22px;border-top:1px solid var(--line)}
.link-line a,.feature-links a{font-size:16px;font-weight:500;letter-spacing:-.01em;text-decoration:underline;text-underline-offset:4px;transition:text-decoration-color .3s var(--ease)}
.link-line a{color:var(--ink);text-decoration-color:var(--line)}
.link-line a:hover{text-decoration-color:var(--ink)}

/* ===================== FEATURE SPLIT ===================== */
.feature{display:grid;grid-template-columns:1fr 1fr;min-height:min(88vh,820px);background:var(--ink);color:#fff}
.feature-media{position:relative;overflow:hidden}
/* poster and video share one parallax layer, so the first frame and the poster never drift apart */
.feature-layer{position:absolute;left:0;right:0;top:-12%;height:124%;will-change:transform}
.feature-layer img,.feature-layer video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.feature-panel{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;gap:24px;padding:clamp(40px,6vw,88px)}
.feature-title{font-weight:500;letter-spacing:-.035em;line-height:1.02;font-size:clamp(32px,4.4vw,62px);text-wrap:balance}
.feature-body{color:rgba(255,255,255,.74);font-size:clamp(17px,1.3vw,18px);line-height:1.6;max-width:46ch}
.feature-founder{display:flex;flex-direction:column;gap:6px}
.feature-founder-line{font-size:clamp(20px,1.7vw,24px);line-height:1.3;letter-spacing:-.015em;color:#fff;text-wrap:balance}
.feature-mail{font-size:16px}
.feature-mail a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.45);text-underline-offset:4px;transition:text-decoration-color .3s var(--ease)}
.feature-mail a:hover{text-decoration-color:#fff}
.feature-links{list-style:none;display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.feature-links a{color:#fff;text-decoration-color:rgba(255,255,255,.45)}
.feature-links a:hover{text-decoration-color:#fff}
.founder{margin-top:14px;display:flex;flex-direction:column;gap:16px;align-items:flex-start;
  background:rgba(255,255,255,.05);border:1px solid var(--line-d);border-radius:18px;padding:22px;
  transition:transform .4s var(--ease),background .4s var(--ease)}
.founder:hover{transform:translateY(-3px);background:rgba(255,255,255,.08)}
.founder-eyebrow{color:var(--muted-d)}
.founder-row{display:flex;align-items:center;gap:16px}
.founder-photo{width:74px;height:74px;border-radius:16px;overflow:hidden;flex:none;
  border:1px solid rgba(255,255,255,.18);box-shadow:0 6px 20px rgba(0,0,0,.3)}
.founder-photo img{width:100%;height:100%;object-fit:cover;display:block;
  filter:grayscale(1) contrast(1.05) brightness(1.03);transition:transform .55s var(--ease)}
.founder:hover .founder-photo img{transform:scale(1.06)}
/* initials placeholder for a team member whose photo is pending */
.founder-photo-ph{display:grid;place-items:center;background:rgba(255,255,255,.08);
  color:rgba(255,255,255,.6);font-weight:600;font-size:22px;letter-spacing:.02em}
.founder-meta{display:flex;flex-direction:column;gap:3px}
.founder-name{font-weight:600;font-size:17px;letter-spacing:-.015em}
.founder-role{font-size:15px;color:var(--muted-d)}
/* ===================== I MEDIA ===================== */
/* one row per mention: the outlet with the app's icon, the headline, and a mark that the row leaves the site */
.press{background:var(--paper);color:var(--ink);padding:var(--sec) 0}
.press-list{list-style:none;border-top:1px solid var(--ink)}
.press-item{border-bottom:1px solid var(--line)}
.press-row{display:grid;grid-template-columns:minmax(0,3.2fr) minmax(0,8fr) auto;align-items:center;gap:10px clamp(20px,4vw,64px);padding:clamp(22px,3.6vh,36px) 0}
.press-meta{display:flex;align-items:center;gap:14px;min-width:0}
.press-icon{width:40px;height:40px;border-radius:22.5%;flex:none;box-shadow:0 0 0 1px var(--line)}
.press-outlet{font-size:15.5px;font-weight:500;letter-spacing:-.01em;line-height:1.3;color:var(--ink)}
.press-main{display:flex;flex-direction:column;gap:8px;min-width:0}
.press-head{font-weight:400;letter-spacing:-.025em;line-height:1.15;font-size:clamp(20px,2.3vw,32px);text-wrap:balance}
/* English page: a plain gloss under a Swedish headline */
.press-gloss{color:var(--muted);font-size:15.5px;line-height:1.45}
.press-go{position:relative;width:44px;height:44px;flex:none;border-radius:50%;border:1px solid var(--line);
  transition:background .3s var(--ease),border-color .3s var(--ease),color .3s var(--ease)}
.press-go::after{content:"";position:absolute;inset:0;margin:auto;width:17px;height:17px;background:currentColor;
  -webkit-mask:var(--arrow-out) center/contain no-repeat;mask:var(--arrow-out) center/contain no-repeat}
@media(hover:hover){.press-row:hover .press-go{background:var(--ink);border-color:var(--ink);color:#fff}}
@media(max-width:760px){
  .press-row{grid-template-columns:minmax(0,1fr) auto;padding:24px 0}
  .press-meta{grid-column:1/-1}
  .press-icon{width:34px;height:34px}
  .press-go{width:38px;height:38px}
}

/* ===================== KONTAKT ===================== */
.cta{background:var(--paper-2);padding:var(--sec) 0}
.cta-in{display:flex;align-items:flex-end;justify-content:space-between;flex-wrap:wrap;gap:28px 48px}
.cta-txt{display:flex;flex-direction:column;gap:14px}
.cta .sec-title{font-size:clamp(40px,6vw,88px)}
.cta-actions{display:flex;flex-wrap:wrap;gap:10px 12px}
.cta .pill:not(.pill-ink){background:rgba(10,10,10,.08)}
.cta .pill:not(.pill-ink):hover{background:var(--ink)}

/* ===================== BAND CTA ===================== */
.band{position:relative;overflow:hidden;color:#fff;min-height:min(86vh,760px);display:grid;place-items:center;text-align:center;isolation:isolate}
.band-media{position:absolute;left:0;right:0;top:-12%;height:124%;z-index:-2;will-change:transform}
/* The figure stands at the middle of the photo, where the form sits. Wide screens scale the photo from
   its bottom-left corner so he lands to the right of the form; phones crop him out of view. */
.band-media picture{display:block;width:100%;height:100%}
.band-media img{width:100%;height:100%;object-fit:cover;object-position:0% 40%;transform:scale(1.45);transform-origin:0 100%}
@media(max-width:680px){.band-media img{object-position:20% 40%;transform:none}}
.band-grade{position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.35) 45%,rgba(0,0,0,.7))}
.band-inner{display:flex;flex-direction:column;align-items:center;gap:28px;padding-block:80px}
.band-title{font-weight:400;letter-spacing:-.04em;line-height:.92;font-size:clamp(48px,9vw,140px)}
.band-title .bl{display:block}
.band-body{max-width:40ch;font-size:clamp(16px,1.5vw,20px);line-height:1.5;color:rgba(255,255,255,.86)}

/* ----- band email signup ----- */
.signup{width:min(560px,100%);display:flex;flex-direction:column;gap:12px;align-items:stretch;margin-top:4px}
.signup-row{display:flex;gap:8px;justify-content:center;flex-wrap:wrap}
.signup-input{
  flex:1 1 220px;min-width:0;font:inherit;font-size:15px;letter-spacing:-.01em;color:#fff;
  height:50px;padding:0 20px;border-radius:999px;
  background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.5);
  transition:border-color .3s var(--ease),background .3s var(--ease);
}
.signup-input::placeholder{color:rgba(255,255,255,.78)}
.signup-input:focus{outline:none;background:rgba(0,0,0,.4);border-color:rgba(255,255,255,.85)}
.signup-input:focus-visible{outline:2px solid #fff;outline-offset:3px}
.signup-add{
  flex:0 0 auto;width:50px;height:50px;border-radius:999px;display:grid;place-items:center;
  font-size:24px;line-height:1;color:#fff;
  background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.5);
  transition:background .3s var(--ease),transform .35s var(--ease);
}
.signup-add:hover{background:rgba(0,0,0,.45)}
.signup-add[aria-expanded="true"]{transform:rotate(45deg);background:rgba(0,0,0,.5)}
/* the message toggle as plain words instead of an icon */
.signup-more{align-self:center;font-size:15px;color:rgba(255,255,255,.88);padding:4px 2px;
  text-decoration:underline;text-decoration-color:rgba(255,255,255,.4);text-underline-offset:4px;transition:text-decoration-color .3s var(--ease)}
.signup-more:hover{text-decoration-color:#fff}
.signup-note{font-size:15px;line-height:1.5;color:rgba(255,255,255,.86);text-align:center;text-wrap:balance}
.signup-note a{color:#fff;text-decoration:underline;text-decoration-color:rgba(255,255,255,.5);text-underline-offset:3px}
.signup-send{width:100%;justify-content:center;height:50px}
.signup-send:disabled{opacity:.55;cursor:default;pointer-events:none}
/* optional message field: collapsed by default, slides in below the email when "+" is pressed.
   margin-top:-12px cancels the form gap while closed; visibility (delayed) drops it from the tab order. */
.signup-msg-wrap{
  max-height:0;overflow:hidden;opacity:0;visibility:hidden;margin-top:-12px;
  transition:max-height .42s var(--ease),opacity .3s var(--ease),margin-top .42s var(--ease),visibility 0s linear .42s;
}
.signup-msg-wrap.is-open{
  max-height:80px;opacity:1;visibility:visible;margin-top:0;
  transition:max-height .42s var(--ease),opacity .3s var(--ease) .08s,margin-top .42s var(--ease),visibility 0s;
}
.signup-msg{
  width:100%;font:inherit;font-size:15px;color:#fff;height:50px;padding:0 20px;border-radius:999px;
  background:rgba(0,0,0,.28);border:1px solid rgba(255,255,255,.5);
  transition:border-color .3s var(--ease),background .3s var(--ease);
}
.signup-msg::placeholder{color:rgba(255,255,255,.78)}
.signup-msg:focus{outline:none;background:rgba(0,0,0,.4);border-color:rgba(255,255,255,.85)}
.signup-msg:focus-visible{outline:2px solid #fff;outline-offset:3px}
.signup-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.signup-status{min-height:1.25em;font-size:15px;color:rgba(255,255,255,.86);text-align:center}
.signup-status.is-error{color:#ffb4b4}
.signup-status.is-ok{color:#bdf5c9}
@media(prefers-reduced-motion:reduce){
  .signup-add{transition:background .3s var(--ease)}
  .signup-msg-wrap,.signup-msg-wrap.is-open{transition:opacity .2s var(--ease)}
}

/* ----- band booking link ----- */
.band-book{font-size:15px;color:rgba(255,255,255,.82);margin-top:2px}
.band-book-link{color:#fff;text-decoration:underline;text-underline-offset:3px;text-decoration-color:rgba(255,255,255,.45);transition:text-decoration-color .3s var(--ease)}
.band-book-link:hover{text-decoration-color:#fff}

/* ----- language picker (flags) ----- */
.langpick{display:inline-flex;align-items:center;gap:12px}
.langpick-opt{display:inline-flex;line-height:0;opacity:.7;border-radius:3px;transition:opacity .25s var(--ease)}
.langpick-opt:hover{opacity:.9}
.langpick-opt.is-current{opacity:1}
.langpick-opt.is-current .flag{outline:1.5px solid rgba(255,255,255,.7);outline-offset:2px}
.langpick .flag{display:block;height:15px;width:auto;border-radius:2px}
.langpick-opt:focus-visible{outline:2px solid #fff;outline-offset:3px}
/* the language picker as words: the current language in white, the other one muted */
.langpick-text{gap:18px}
.langpick-text .langpick-opt{line-height:inherit;opacity:1;color:var(--muted-d);text-decoration:none}
.langpick-text .langpick-opt:hover{color:#fff}
.langpick-text .langpick-opt.is-current{color:#fff}
/* language picker lives in the footer at all breakpoints */
.langpick-footer{margin-left:auto}
/* on mobile it gets its own full-width row so it can't overflow the legal line */
@media(max-width:680px){.langpick-footer{margin-left:0;flex-basis:100%;margin-top:10px}}

/* ===================== FOOTER ===================== */
.footer{background:var(--ink);color:#fff;padding:clamp(60px,9vh,110px) 0 calc(clamp(40px,6vh,64px) + env(safe-area-inset-bottom,0px));overflow:hidden}
.footer-top{display:flex;justify-content:space-between;align-items:flex-start;gap:40px;
  padding-bottom:clamp(40px,6vh,70px);border-bottom:1px solid var(--line-d)}
.footer-mark{display:inline-block;line-height:0}
.footer-mark img{height:30px;width:auto;display:block}
.footer-nav{display:flex;flex-direction:column;gap:6px;text-align:right;font-weight:700;letter-spacing:-.03em;font-size:clamp(24px,3vw,38px)}
/* the home footer: the site's display voice, in two balanced columns */
.footer-nav.footer-cols{display:grid;grid-template-rows:repeat(var(--rows,5),auto);grid-auto-flow:column;gap:4px clamp(40px,6vw,96px);text-align:left;
  font-weight:400;letter-spacing:-.025em;font-size:clamp(24px,2.5vw,34px);line-height:1.25}
.footer-nav a{opacity:.92;transition:opacity .25s}
.footer-nav a:hover{opacity:.6}
.footer-nav-ext .ext{font-size:.6em;opacity:.5;vertical-align:middle}

.footer-mid{padding-block:clamp(36px,5vh,60px)}
.footer-bio{max-width:42ch;color:var(--muted-d);font-size:15px;line-height:1.6}

.footer-legal{display:flex;flex-wrap:wrap;gap:8px 28px;color:var(--muted-d);
  font-size:14px;letter-spacing:0;padding-block:26px;border-top:1px solid var(--line-d)}
.footer-legal a{color:inherit;text-decoration:underline;text-underline-offset:2px;text-decoration-color:rgba(255,255,255,.3);transition:color .25s var(--ease)}
.footer-legal a:hover{color:#fff}
/* the footer as a site map: the studio, then its apps, its games and its own pages */
.footer-grid{display:grid;grid-template-columns:minmax(0,1.7fr) repeat(3,minmax(0,1fr));gap:40px clamp(24px,4vw,72px);padding-bottom:clamp(44px,7vh,76px)}
.footer-brand{display:flex;flex-direction:column;align-items:flex-start;gap:22px}
.footer-col{display:flex;flex-direction:column;align-items:flex-start;gap:2px;min-width:0}
.footer-h{font-size:15px;font-weight:600;letter-spacing:.01em;color:var(--muted-d);margin-bottom:10px}
.footer-col a{padding:5px 0;font-size:16px;letter-spacing:-.01em;color:rgba(255,255,255,.88);transition:color .25s var(--ease)}
.footer-col a:hover{color:#fff;text-decoration:underline;text-underline-offset:4px;text-decoration-color:rgba(255,255,255,.4)}
@media(max-width:860px){
  .footer-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .footer-brand{grid-column:1/-1}
}
@media(max-width:520px){
  .footer-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}


/* ===================== RESPONSIVE ===================== */
@media(max-width:1000px){
  .feature{grid-template-columns:1fr}
  .feature-media{min-height:min(46vh,520px)}
}
@media(max-width:900px){
  .nav-links{display:none}
  .nav-burger{display:flex}
  .nav.scrolled .nav-bar{max-width:100%;padding:10px 11px 10px 18px}
  /* the bar is a body of liquid on mobile: shape and fill settle on a spring, and the
     fill lands early so the growing panel is never an empty rectangle */
  .nav-bar{
    transition:max-width .55s var(--ease),padding .66s var(--spring),
      background .26s var(--ease),backdrop-filter .26s var(--ease),box-shadow .66s var(--ease),
      transform .45s var(--ease),opacity .3s var(--ease);
  }
  /* collapsed menu lives INSIDE the pill so the whole header morphs as one shape */
  .nav-menu{
    display:flex;flex-direction:column;
    overflow:hidden;height:0;opacity:0;
    transition:height .66s var(--spring),margin-top .66s var(--spring),opacity .2s var(--ease);
  }
  .nav-menu a{
    display:block;color:#fff;
    /* never shrink: links stay full height and get uncovered as the panel grows past them */
    flex:0 0 auto;
    font-size:24px;font-weight:500;letter-spacing:-.02em;
    padding:13px 4px;border-bottom:1px solid rgba(255,255,255,.09);
  }
  .nav-menu a:last-child{border-bottom:0}
  .nav-menu a > span{
    display:inline-block;opacity:0;transform:translateY(20px);filter:blur(6px);
    transition:opacity .3s var(--ease),transform .6s var(--spring),filter .34s var(--ease);
  }

  /* ---- the liquid transform: pill melts into a navigation panel ---- */
  /* opaque: page copy must never read through the open panel */
  .nav.menu-open .nav-bar{
    background:#111;
    backdrop-filter:none;
    -webkit-backdrop-filter:none;
    padding:9px 14px 16px;
    box-shadow:0 24px 64px rgba(0,0,0,.36);
    color:#fff;
    transform-origin:50% 0;
    animation:navMelt .66s linear both;
  }
  /* The leading edge stays fat while the panel stretches and the body pinches in as it
     lengthens; surface tension pulls both back as it settles. Stop percentages are placed
     against --spring's travel (~70% extended by 15%, target by 27%), so timing is linear.
     The bulge peaks early, while the last link is still below the clip edge, and a wider one
     held longer would cut the corner into that link's first letter. */
  @keyframes navMelt{
    0%  {border-bottom-left-radius:30px;border-bottom-right-radius:30px;transform:scaleX(1)}
    13% {border-bottom-left-radius:46px;border-bottom-right-radius:46px;transform:scaleX(.982)}
    32% {border-bottom-left-radius:33px;border-bottom-right-radius:33px;transform:scaleX(.996)}
    48% {border-bottom-left-radius:28px;border-bottom-right-radius:28px;transform:scaleX(1.004)}
    100%{border-bottom-left-radius:30px;border-bottom-right-radius:30px;transform:scaleX(1)}
  }
  /* Clip only while morphing (open/closing); never on the idle/at-top pill, which would shave
     the logo in Safari. The radius is switched here rather than transitioned: at pill height a
     30px radius already clamps to the same fully round end as 999px, so the swap is invisible,
     and holding it through the close lets the shrinking box turn itself back into a pill via
     that same clamp. Easing 999px -> 30px instead keeps the radius huge while the box grows
     tall, which the clamp renders as a dome that swallows the logo and the close button. */
  .nav.menu-open .nav-bar,.nav.menu-closing .nav-bar{overflow:hidden;border-radius:30px}
  /* Height is absent here on purpose: JS drives it inline from the measured content, so the
     spring maps onto real distance instead of racing to a magic max-height. The padding and
     separator are deliberately untransitioned so the height JS measures right after opening
     is already the final one, and they belong to the open state only, because a border-box can't
     shrink under its own padding + border, which would floor the closed panel above 0. */
  .nav.menu-open .nav-menu{
    opacity:1;margin-top:10px;
    padding-top:6px;border-top:1px solid rgba(255,255,255,.12);
  }

  /* surface tension: the panel is pulled back faster than it stretched, and without the
     spring's overshoot, which on the way out would only stall against height 0 */
  .nav.menu-closing .nav-menu{
    transition:height .4s cubic-bezier(.4,.05,.2,1),margin-top .4s cubic-bezier(.4,.05,.2,1),
      opacity .18s var(--ease);
  }
  .nav.menu-closing .nav-bar{
    transition:max-width .55s var(--ease),padding .4s cubic-bezier(.4,.05,.2,1),
      background .3s var(--ease) .06s,backdrop-filter .3s var(--ease) .06s,
      box-shadow .4s var(--ease);
  }
  .nav.menu-open .nav-menu a > span{opacity:1;transform:none;filter:none}
  .nav.menu-open .nav-menu a:nth-child(1) > span{transition-delay:.07s}
  .nav.menu-open .nav-menu a:nth-child(2) > span{transition-delay:.12s}
  .nav.menu-open .nav-menu a:nth-child(3) > span{transition-delay:.17s}
  .nav.menu-open .nav-menu a:nth-child(4) > span{transition-delay:.22s}
  .nav.menu-open .nav-menu a:nth-child(5) > span{transition-delay:.27s}
  .nav.menu-open .nav-menu a:nth-child(6) > span{transition-delay:.32s}
  .nav.menu-open .nav-menu a:nth-child(7) > span{transition-delay:.37s}
  /* burger collapses into an X */
  .nav-burger span{transition:transform .5s var(--spring),opacity .25s var(--ease)}
  .nav.menu-open .nav-burger span:nth-child(1){transform:translateY(7px) rotate(45deg)}
  .nav.menu-open .nav-burger span:nth-child(2){opacity:0;transform:scaleX(.3)}
  .nav.menu-open .nav-burger span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
  /* the wordmark dismisses as the panel takes over */
  .nav.menu-open .nav-logo{opacity:0;transform:translateY(-6px);pointer-events:none}
}
@media(max-width:680px){
  .footer-top{flex-direction:column}
  .footer-nav{text-align:left}
  .footer-nav.footer-cols{grid-template-rows:none;grid-auto-flow:row;font-size:clamp(21px,6.4vw,27px)}
}

/* ===================== INVESTORS PAGE ===================== */
.iv-h2{font-weight:500;letter-spacing:-.035em;line-height:1.02;font-size:clamp(32px,4.4vw,62px)}
.iv-sec-head{display:flex;flex-direction:column;gap:12px;margin-bottom:clamp(34px,5vh,60px);max-width:48ch}
.iv-sec-sub{color:var(--muted);font-size:clamp(15px,1.2vw,17px);line-height:1.5}

/* ---- hero / briefing (video bg) ---- */
.iv-hero{position:relative;min-height:min(94svh,940px);display:flex;align-items:flex-end;
  background:var(--ink);color:#fff;overflow:hidden;isolation:isolate;
  padding:clamp(130px,20vh,210px) 0 clamp(48px,8vh,88px)}
.iv-hero .grain{opacity:.42}
.iv-hero-in{position:relative;display:flex;flex-direction:column;gap:clamp(18px,2.6vh,28px);max-width:880px}
.iv-hero-title{font-weight:500;letter-spacing:-.04em;line-height:.98;font-size:clamp(42px,7.4vw,112px)}
.iv-hero-title span{display:block}
.iv-hero-lead{max-width:54ch;color:rgba(255,255,255,.88);font-size:clamp(17px,1.5vw,21px);line-height:1.55}
.iv-hero-cta{display:flex;flex-wrap:wrap;gap:12px;margin-top:6px}
/* the investors hero bottom-aligns a tall text column, so it needs a stronger
   bottom-weighted scrim than the homepage's .hero-grade (text would otherwise
   sit in the near-transparent mid-band and fail contrast over bright frames) */
.iv-hero .hero-grade{background:linear-gradient(180deg,rgba(0,0,0,.60) 0%,rgba(0,0,0,.50) 45%,rgba(0,0,0,.85) 100%)}
/* iOS Safari floats its address bar over the page (see .hero): the film runs on under the bar, and the copy, which
   stands on the bottom edge, is lifted clear of it by the same amount */
@supports(-webkit-touch-callout:none){
  .iv-hero{min-height:calc(100lvh + 112px);padding-bottom:calc(clamp(48px,8vh,88px) + 112px)}
}

/* ---- thesis ---- */
.iv-thesis{background:var(--paper);color:var(--ink);padding:clamp(72px,12vh,150px) 0}
.iv-thesis-in{display:flex;flex-direction:column;gap:clamp(36px,5vh,60px)}
.iv-thesis-head{display:flex;flex-direction:column;gap:18px;max-width:880px}
.iv-thesis-lead{font-weight:500;letter-spacing:-.035em;line-height:1.04;
  font-size:clamp(30px,4.4vw,62px);text-wrap:balance}
.iv-thesis-cols{display:grid;grid-template-columns:1fr 1fr;gap:clamp(28px,4vw,72px);max-width:1000px}
.iv-thesis-col{color:#3a3a3a;font-size:clamp(16px,1.25vw,18px);line-height:1.6}

/* ---- portfolio grid ---- */
.iv-portfolio{background:var(--paper-2);color:var(--ink);padding:clamp(72px,12vh,150px) 0}
.iv-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr));gap:clamp(16px,1.6vw,24px)}
.iv-app{background:var(--paper);border:1px solid var(--line);border-radius:20px;
  padding:clamp(20px,2vw,28px);display:flex;flex-direction:column;gap:14px;
  transition:transform .4s var(--ease),box-shadow .4s var(--ease)}
.iv-app:hover{transform:translateY(-4px);box-shadow:0 18px 44px rgba(0,0,0,.10)}
.iv-app-icon{width:56px;height:56px;border-radius:14px;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.iv-app-meta{display:flex;flex-direction:column;gap:4px}
.iv-app-name{font-weight:600;letter-spacing:-.02em;font-size:20px}
.iv-app-plat{color:var(--muted);font-size:15px}
.iv-app-desc{color:#4a4a4a;font-size:15px;line-height:1.5}

/* ---- why (2x2) ---- */
.iv-why{background:var(--paper);color:var(--ink);padding:clamp(72px,12vh,150px) 0}
.iv-why-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(14px,1.6vw,22px)}
.iv-card{border:1px solid var(--line);border-radius:20px;background:var(--paper);
  padding:clamp(26px,2.6vw,40px);display:flex;flex-direction:column;gap:12px;
  transition:border-color .4s var(--ease),transform .4s var(--ease)}
.iv-card:hover{border-color:var(--ink);transform:translateY(-3px)}
.iv-card-h{font-weight:400;letter-spacing:-.02em;line-height:1.1;font-size:clamp(22px,2.2vw,30px);text-wrap:balance}
.iv-card-p{color:#4a4a4a;font-size:clamp(15px,1.1vw,16.5px);line-height:1.55}

/* ---- company (dark split) ---- */
.iv-company{background:var(--ink);color:#fff;padding:clamp(72px,12vh,150px) 0}
.iv-company-in{display:grid;grid-template-columns:1.25fr .75fr;gap:clamp(36px,5vw,80px);align-items:start}
.iv-h2-d{color:#fff}
.iv-company-body{color:rgba(255,255,255,.74);
  font-size:clamp(16px,1.3vw,18.5px);line-height:1.62;max-width:54ch}

/* ---- the ask ---- */
.iv-cta{position:relative;background:var(--ink-2);color:#fff;text-align:center;overflow:hidden;isolation:isolate;
  padding:clamp(80px,15vh,170px) 0;border-top:1px solid var(--line-d)}
.iv-cta::before{content:"";position:absolute;inset:0;z-index:-1;
  background:radial-gradient(80% 70% at 50% -10%,rgba(120,150,255,.13),transparent 60%)}
.iv-cta-in{display:flex;flex-direction:column;align-items:center;gap:24px}
.iv-cta-title{font-weight:500;letter-spacing:-.04em;line-height:.98;font-size:clamp(42px,7.4vw,112px)}
.iv-cta-body{max-width:52ch;color:rgba(255,255,255,.82);font-size:clamp(16px,1.5vw,20px);line-height:1.55}
.iv-cta-actions{display:flex;flex-wrap:wrap;gap:12px;justify-content:center;margin-top:6px}

@media(max-width:860px){
  .iv-thesis-cols{grid-template-columns:1fr;gap:22px}
  .iv-company-in{grid-template-columns:1fr;gap:34px}
}
@media(max-width:640px){
  .iv-why-grid{grid-template-columns:1fr}
}

/* ===================== MOTION PREFERENCE ===================== */
/* Respect reduced motion without freezing the page: keep gentle opacity
   fades, drop transforms, parallax and the hero zoom (JS also skips Lenis). */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .js .reveal{transform:none}
  .js .load{transform:none}
  .hero-media,.band-media,.feature-layer{top:0;height:100%;transform:none!important}
  /* mobile menu: snap the panel open, keep only the fade */
  .nav-menu{transition:opacity .2s var(--ease)}
  .nav-menu a > span{transform:none;filter:none;transition:opacity .25s var(--ease)}
  .nav.menu-open .nav-bar{animation:none}
  .nav{transition:padding .5s var(--ease)}
}
