:root {
  color-scheme: dark;
  --ink: #0b0b0f;
  --paper: #f9f7fa;
  --magenta: #ff2e9a;
  --font-body: Poppins, system-ui, sans-serif;
  --display: Rajdhani, "Arial Narrow", sans-serif;
  --page-width: 1400px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: white; font: 1rem/1.55 var(--font-body); }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
button, a { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
svg { width: 1.15em; height: 1.15em; flex: none; }
h1,h2,h3,p { margin: 0; }
h1,h2,h3,.pick b { font-family: var(--display); font-weight: 700; text-transform: uppercase; }
button:focus-visible,a:focus-visible,[tabindex]:focus-visible { outline: 3px solid #c533ff; outline-offset: 4px; }
[hidden] { display: none !important; }
.wrap { width: min(var(--page-width), 100%); margin-inline: auto; padding-inline: clamp(22px, 5.55vw, 90px); }
.skip { position: fixed; z-index: 20; left: 1rem; top: -100px; background: white; color: black; padding: 1rem; }
.skip:focus { top: 1rem; }
.mast { background: #0c0c10; border-bottom: 1px solid #302a34; position: relative; z-index: 2; }
.mast-inner,.mast-actions,.mast nav,.lockup,.lockup__type,.language { display: flex; align-items: center; }
.mast-inner { min-height: 76px; gap: 4.5vw; }
.mast nav { gap: clamp(18px,2.4vw,40px); font-size: .89rem; font-weight: 500; }
.mast nav a:hover,.footer-top a:hover,.footer-base a:hover { color: var(--magenta); }
.mast-actions { margin-left: auto; gap: 24px; }
.lockup { gap: 10px; width: max-content; }
.lockup__mark { width: 36px; }
.lockup__type { gap: 7px; font: 700 1.67rem/1 var(--display); letter-spacing: .07em; }
.lockup__studios { color: white; background: var(--magenta); padding: 4px 7px 3px; border-radius: 3px; font-size: .79rem; letter-spacing: .18em; }
.language { gap: 3px; font: 700 .88rem/1 var(--display); letter-spacing: .06em; }
.language svg { margin-right: 5px; width: 16px; height: 16px; }
.language > span { color: #776f7c; }
.language button { background: transparent; border: 0; padding: 9px 3px; color: #b0a7b2; font: inherit; }
.language button.active { color: white; text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--magenta); }
.contact { border: 1px solid #655c66; padding: 8px 15px; font-size: .86rem; font-weight: 500; border-radius: 4px; }
.contact:hover,.browse:hover { background: #fff2; }

.about { padding-block: clamp(24px,5vw,76px); background: #0c0a0e; overflow: hidden; }
.about-inner,.publish-inner { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px,6vw,94px); align-items: center; }
.studio-art img { width: 100%; mix-blend-mode: screen; }
.about-copy > p:last-child { color: #d0c5d1; margin-top: 18px; max-width: 50ch; }
.publish { padding-block: clamp(46px,6vw,85px); }
.publish a { display: inline-block; margin-top: 15px; font-weight: 600; border-bottom: 2px solid var(--magenta); }
footer { padding-block: 40px 20px; background: #110e14; }
.footer-top,.footer-base { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 28px; }
.footer-top { justify-content: space-between; }
.footer-top strong { display: block; margin-bottom: 5px; font-family: var(--display); text-transform: uppercase; letter-spacing: .1em; }
.footer-top div > a,.footer-base { color: #ccbfce; font-size: .875rem; }
.footer-top div > a { display: inline-block; margin: 4px 10px 4px 0; }
.footer-base { margin-top: 24px; border-top: 1px solid #3e3442; padding-top: 18px; gap: 18px; }
.footer-base span { margin-right: auto; }

html { scroll-padding-top: 58px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; overflow:hidden; clip-path:inset(50%); white-space:nowrap; }
h2 { font-size:clamp(2.7rem,4.8vw,5.3rem); letter-spacing:-.045em; line-height:.98; }
.kicker,.map-label,.location,.instrument small,.scene-tag { font:700 .85rem/1.2 var(--display); text-transform:uppercase; letter-spacing:.14em; }
.kicker { display:flex; align-items:center; gap:10px; }
.kicker i { width:24px; height:2px; background:var(--magenta); }
.publish { background:var(--paper); color:#17121b; }
.publish p { color:#504753; }
.about h2,.publish h2 { margin-top:12px; }
.world-map { background:#100f13f7; color:#e6e0e6; border-bottom:1px solid #423843; position:sticky; top:0; z-index:5; }
.map-inner,.world-links,.world-links a,.motion { display:flex; align-items:center; }
.map-inner { min-height:54px; gap:22px; }
.map-label { color:#a89da9; font-size:.77rem; white-space:nowrap; }
.world-links { gap:4px; min-width:0; overflow-x:auto; scrollbar-width:thin; scrollbar-color:#594c5a transparent; }
.world-links a { padding:10px 12px; gap:7px; font:700 1rem/1.05 var(--display); white-space:nowrap; min-height:48px; border-bottom:2px solid transparent; }
.world-links img { width:25px; height:25px; border-radius:3px; object-fit:cover; }
.world-links a[aria-current],.world-links a:hover { color:white; border-color:var(--magenta); background:#ffffff08; }
.motion { margin-left:auto; gap:6px; border:1px solid #574b57; border-radius:4px; padding:6px 10px; background:#211b23; font-size:.81rem; }
.motion[aria-pressed=true] { color:#ffd9ec; border-color:#ba4782; }
.world { --tint:#ff65b7; --panel:#100914; --target:69%; --level:32%; --mx:0px; --my:0px; --depth:1; position:relative; overflow:hidden; isolation:isolate; background:var(--panel); border-bottom:1px solid #fff3; }
.environment,.world-shade { position:absolute; inset:0; pointer-events:none; z-index:-1; }
.environment { overflow:hidden; perspective:900px; }
.landscape { position:absolute; inset:-2%; width:104%; max-width:none; height:104%; object-fit:cover; object-position:var(--focus,center); transform:translate3d(var(--mx),var(--my),0) scale(var(--depth)); transition:transform .38s ease-out; }
.world-shade { background:linear-gradient(90deg,rgba(7,6,13,.95) 0%,rgba(7,6,13,.80) 21%,rgba(7,6,13,.34) 45%,transparent 72%),linear-gradient(0deg,rgba(4,3,8,.86),transparent 32%,transparent 83%,#09081045); }
.scene-layout { position:relative; display:grid; align-content:end; min-height:clamp(580px,calc(100svh - 55px),900px); padding-top:94px; padding-bottom:clamp(62px,7vw,110px); }
#speed-rush .scene-layout { min-height:clamp(570px,calc(100svh - 130px),810px); }
.location { position:absolute; top:30px; right:clamp(22px,5.55vw,90px); color:white; display:flex; align-items:center; gap:9px; text-shadow:0 1px 5px #000; background:#0b091080; border:1px solid #ffffff44; padding:7px 10px; border-radius:3px; letter-spacing:.09em; }
.locator { width:11px; height:11px; border:1px solid var(--tint); border-radius:50%; position:relative; }
.locator::after { content:""; position:absolute; inset:3px; border-radius:50%; background:var(--tint); }
.story { width:min(53%,650px); position:relative; }
.scene-tag { display:flex; gap:10px; align-items:center; color:#f8f3f5; }
.scene-tag::before { content:""; width:27px; height:3px; transform:skew(-22deg); background:var(--tint); }
.scene-tag i { width:1px; height:11px; background:#fff7; }
.scene-tag span:last-child { color:#e1d8df; }
.world h2 { color:white; text-transform:uppercase; margin:17px 0; line-height:.79; font-size:clamp(5.2rem,9vw,10rem); text-wrap:balance; letter-spacing:-.06em; }
.world h2 em { font-style:inherit; color:var(--tint); }
.synopsis { max-width:42ch; text-shadow:0 1px 4px #151019; color:#f1eaf1; font-weight:400; font-size:clamp(1rem,1.2vw,1.18rem); }
.scene-actions,.stores { display:flex; flex-wrap:wrap; gap:10px; }
.scene-actions { margin-top:24px; }
.scene-action,.film-link { border-radius:4px; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:46px; padding:10px 16px; font-size:.91rem; font-weight:600; }
.film-link { background:var(--tint); border:1px solid var(--tint); color:#100e13; }
.scene-action { border:1px solid #ffffff98; background:#0b0914a8; color:white; }
.film-link:hover { filter:brightness(1.15); }.scene-action:hover { background:#302235e8; }
.stores { margin-top:14px; gap:18px; }
.stores a { color:white; text-decoration:underline; text-underline-offset:4px; font-size:.85rem; }
.instrument { position:absolute; bottom:clamp(42px,5.55vw,85px); right:clamp(22px,5.55vw,90px); width:156px; text-align:right; text-shadow:0 1px 4px #000; }
.instrument small { display:block; color:#f7edf5; font-size:.76rem; }
.instrument b { font:700 1.55rem/1.35 var(--display); text-transform:uppercase; color:white; }
.meter { height:5px; background:repeating-linear-gradient(90deg,transparent 0 11px,#18141a 12px 15px),linear-gradient(90deg,var(--tint) 0 var(--level),#8e828a8f var(--level) 100%); }
.model-stage { position:absolute; pointer-events:none; }
.model-stage canvas,.model-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
.model-stage[data-rendered] .model-poster { visibility:hidden; }
#speed-rush { --focus:67% 50%; --tint:#ff60b1; }
#speed-rush h2 { font-style:italic; }
#speed-rush[data-camera] .instrument,
#speed-rush[data-step="0"] [data-i18n="boosting"],
#speed-rush[data-step="1"] [data-i18n="cruising"] { display:none; }

#speed-rush[data-step="1"] { --depth:1.13; --level:100%; }
.velocity-lines,.velocity-lines canvas { position:absolute; inset:0; width:100%; height:100%; display:block; }
#skylift { --tint:#ffd55e; --panel:#254957; --focus:50% 82%; --lamp-x:73%; --lamp-y:43%; --roof-y:82%; }
/* Paint the city on the banner itself so swapping the video and WebGL
   surfaces cannot remove it. The embedded city covers the first network paint. */
#skylift {
  background-image:linear-gradient(#15222d18,#15222d18),
    url("assets/worlds/skyline-stage.webp"),
    url("data:image/webp;base64,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");
  background-size:cover;
  background-position:var(--focus);
  background-repeat:no-repeat;
}
#skylift h2 { letter-spacing:-.055em; }
#skylift .model-stage { left:47%; right:1%; top:4%; bottom:31%; }
#skylift[data-step="1"] { --level:65%; } #skylift[data-step="2"] { --level:100%; }
.search-beam { position:absolute; inset:0; background:linear-gradient(180deg,#fff8ce15 32%,#fff4ac80); clip-path:polygon(var(--lamp-x) var(--lamp-y),calc(var(--target) + 6%) var(--roof-y),calc(var(--target) - 6%) var(--roof-y)); mix-blend-mode:screen; }
.scope { position:absolute; top:var(--roof-y); left:var(--target); width:12%; height:3.3%; transform:translate(-50%,-50%); border:1px solid #fff4bcad; border-radius:50%; background:#fff9cc60; box-shadow:0 0 20px #fff8c68a; }
#colivery-rush { --tint:#a6f176; --panel:#26482d; --focus:50% 55%; }
.courier {
  position:absolute; z-index:-1; pointer-events:none; right:7%; bottom:0; width:min(36%, 52svh, 540px); height:auto;
  transition:opacity .55s ease;
  filter:drop-shadow(0 12px 12px #15131d60);
}
#colivery-rush[data-camera] .courier { opacity:0; }
#colivery-rush[data-step="1"] { --stop:68%; }
#colivery-rush[data-step="2"] { --stop:81%; }
#colivery-rush[data-step="3"] { --stop:76%; }
.route-marker { position:absolute; top:20%; left:var(--stop,72%); height:27px; width:27px; background:#beff8a; border:3px solid #15341d; border-radius:50% 50% 50% 0; transform:rotate(-45deg); box-shadow:0 0 0 2px white; transition:left .7s; }
.route-marker::after { content:""; position:absolute; inset:6px; border-radius:50%; background:#214b28; }
#womi { --tint:#c5ff82; --panel:#224e50; --focus:55% 40%; }
#womi h2 em { font-size:.52em; letter-spacing:-.025em; }
.womi-normal { position:absolute; left:60%; bottom:10%; width:31%; height:33%; object-fit:contain; }
.ripples { position:absolute; width:25%; height:6%; bottom:11%; right:12%; border-radius:50%; border:2px solid #dfffe67a; box-shadow:0 0 18px #acffff91,inset 0 0 12px #cfffd484; }
#pukazos { --tint:#ffbd6b; --panel:#39334c; }
#pukazos .landscape { image-rendering:pixelated; }
#pukazos h2 { letter-spacing:-.03em; }
.actor { position:absolute; aspect-ratio:1; background-repeat:no-repeat; }
.fighter,.rival { bottom:15%; height:clamp(125px,30%,300px); image-rendering:pixelated; }
.actor img { width:100%; height:100%; object-fit:contain; object-position:bottom; }
.fighter { left:51%; background-size:1300% 100%; } .rival { right:9%; transform:scaleX(-1); background-size:2800% 100%; }
.sprite-ready img { visibility:hidden; }
#pukazos[data-step="1"] { --level:65%; } #pukazos[data-step="2"] { --level:100%; }
#viewer { --tint:#ff65b7; inset:0; margin:0; height:100dvh; width:100vw; max-width:none; max-height:none; padding:0; overflow:hidden; color:#fff; background:#08070c; border:0; }
#viewer::backdrop { background:#07060c; }
#viewer[open] { display:grid; grid-template-rows:auto minmax(0,1fr); }
.cinema-art { position:absolute; inset:0; filter:blur(16px) brightness(.19); background-size:cover; background-position:center; pointer-events:none; }
.cinema-top { padding:14px clamp(16px,4vw,70px); display:flex; align-items:center; justify-content:space-between; position:relative; gap:14px; }
.cinema-top h2 { font-size:clamp(1.8rem,3.6vw,3rem); margin-top:3px; }.cinema-top .kicker { color:var(--tint); }
#dismiss { display:flex; align-items:center; gap:5px; padding:9px 13px; border-radius:4px; border:1px solid #afa3b2; background:#18111ccf; }
.viewer-media { position:relative; min-height:0; display:grid; place-items:center; padding:0 12px 14px; }
.viewer-media video { display:block; width:100%; height:100%; object-fit:contain; min-height:0; }
body:has(dialog[open]) { overflow:hidden; }
@media(max-width:950px) {
 .map-label { display:none; }.map-inner { gap:8px; }.world-links a { padding-inline:8px; }
 .story { width:64%; }.mast-inner { gap:26px; }.mast-actions { gap:12px; }.instrument { width:125px; }
}
@media(max-width:700px) {
 .world-map .wrap { padding-inline:12px; }.map-inner { gap:4px; }.world-links { flex:1; }
 .world-links a { padding:10px 6px; font-size:.88rem; gap:4px; }.world-links img { display:none; }
 .motion { padding:7px; }.motion span { display:none; }.mast nav { margin-left:auto; }.contact { display:none; }
 .mast-inner { min-height:60px; gap:14px; }.mast-actions { margin-left:0; }
 .world h2 { font-size:clamp(4.2rem,12vw,6.5rem); }.story { width:80%; }
 .world-shade { background:linear-gradient(0deg,#070910f5 0%,#090a10c7 29%,#07091045 56%,transparent 78%),linear-gradient(90deg,#0b071543,transparent 55%); }
 .scene-layout,#speed-rush .scene-layout { min-height:clamp(570px,calc(94svh - 50px),820px); padding-top:110px; padding-bottom:54px; }
 .location { top:18px; right:auto; left:22px; font-size:.76rem; }
 .instrument { top:17px; right:20px; bottom:auto; width:100px; }.instrument b { font-size:1rem; }.instrument small { font-size:.7rem; }
 .scene-tag { font-size:.76rem; }.scene-actions { margin-top:15px; }.synopsis { font-size:1rem; }

 #speed-rush .landscape { object-position:70% 36%; }
 #skylift { --lamp-x:62%; --lamp-y:33%; --roof-y:53%; }
 #skylift .model-stage { left:16%; right:0; top:4%; bottom:51%; }
 #colivery-rush .scene-layout { padding-bottom:clamp(170px, 40vw, 245px); }
 .courier { right:5%; width:clamp(136px, 39vw, 232px); }
 .route-marker { top:17%; width:22px; height:22px; }
 .womi-normal { height:23%; bottom:42%; left:52%; width:44%; }
 .ripples { bottom:43%; right:12%; }.fighter,.rival { bottom:43%; height:18%; }.fighter { left:32%; }
 .about-inner,.publish-inner { grid-template-columns:1fr; gap:20px; }.studio-art { max-width:320px; justify-self:center; }.about { padding-bottom:42px; }
}
@media(max-width:800px) {
 .mast-inner { flex-wrap:wrap; justify-content:space-between; padding-top:10px; row-gap:4px; }
 .mast nav { width:100%; order:3; gap:clamp(10px,3vw,23px); padding-bottom:8px; font-size:.85rem; }
}
@media(max-width:520px) {
 html { scroll-padding-top:44px; }
 .wrap { padding-inline:20px; }
 .mast .lockup__mark { width:28px; }
 .story { width:100%; }.world h2 { margin-block:12px; }
 .world-links { gap:0; }.world-map .wrap { padding-inline:6px; }
 .world-links a { font-size:.83rem; min-height:43px; }.map-inner { min-height:44px; }
 .scene-layout,#speed-rush .scene-layout { min-height:clamp(560px,calc(95svh - 45px),760px); padding-bottom:40px; }
 .scene-actions { gap:7px; }.film-link,.scene-action { font-size:.82rem; padding:9px 10px; min-height:44px; }
 .footer-base span { width:100%; }.footer-base { gap:8px 20px; }.world h2 { font-size:clamp(3.8rem,15vw,5.4rem); }
}
html[data-still] { scroll-behavior:auto; }
html[data-still] *,html[data-still] *::after { animation:none!important; transition:none!important; }
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } * { transition-duration:0s!important; } }

/* The original game camera takes over from the establishing models as a world enters view. */
.camera-scene {
  position:absolute; inset:0; z-index:-1; pointer-events:none; overflow:hidden;
  opacity:0; transition:opacity .7s ease;
}
.world[data-camera] .camera-scene { opacity:1; }
.camera-copy, .world[data-camera] .banner-copy { display:none; }
.world[data-camera] .camera-copy { display:inline; }
.environment > :not(.landscape) { transition:opacity .55s ease; }
.world[data-camera] .environment > :not(.landscape) { opacity:0; }
.camera-light {
  position:absolute; inset:-5%; width:110%; height:110%; opacity:0;
  filter:blur(24px) saturate(1.12); transition:opacity .65s ease;
}
.camera-light.lit { opacity:.82; }
.camera-frame { position:absolute; inset:0; }
.game-camera {
  display:block; width:100%; height:100%; object-fit:cover; pointer-events:none;
}
.camera-portrait .camera-frame {
  left:71%; right:auto; width:auto; top:0; bottom:0; aspect-ratio:var(--shot-ratio, .625);
  transform:translateX(-50%); mask-image:linear-gradient(90deg,transparent,#000 9%,#000 91%,transparent);
}
.camera-wide .camera-frame {
  left:18%; mask-image:linear-gradient(90deg,transparent,#000 25%);
}
.world[data-camera] .world-shade {
  background:linear-gradient(90deg,#090912ed,#090912b3 25%,#09091222 54%,transparent 69%),
    linear-gradient(0deg,#0909149c,transparent 21%,transparent 92%,#07081225);
}
@media (max-width:700px) {
  .camera-portrait .camera-frame {
    inset:0 0 auto; height:60%; width:100%; aspect-ratio:auto; transform:none;
    mask-image:linear-gradient(#000 92%,transparent);
  }
  .camera-portrait .game-camera { object-position:50% 86%; }
  .camera-wide .camera-frame {
    inset:0 0 38%; mask-image:linear-gradient(#000 89%,transparent);
  }
  .camera-wide .game-camera { object-fit:cover; }
  .world[data-camera] .world-shade {
    background:linear-gradient(0deg,#090910 0%,#090910eb 15%,#090910b5 28%,transparent 55%);
  }
  .world .location { right:auto; left:20px; }
  .world .story { width:100%; }
}

#pukazos .game-camera { object-position:42% 58%; }
@media (max-width:700px) {
  #speed-rush .camera-frame { height:55%; }
  #pukazos .game-camera { object-position:35% center; }
}

.duo-link {
  display:inline-flex; align-items:center; gap:9px; padding:3px 13px 3px 7px;
  border:1px solid #ffffff62; border-radius:5px; background:#0c0c13d9;
  font-size:.91rem; font-weight:600; white-space:nowrap;
}
.duo-link:hover { border-color:var(--tint); background:#13141bec; }
.duo-pair { position:relative; width:68px; height:41px; }
.duo-pair img { position:absolute; object-fit:contain; filter:drop-shadow(0 2px 2px #000); }
.duo-pair img:first-child { left:0; bottom:3px; height:36px; width:52px; }
.duo-pair img:last-child { right:0; bottom:2px; height:25px; width:32px; }
.duo-gallery {
  display:grid; grid-template-columns:1.3fr 1fr; gap:clamp(16px,4vw,64px);
  width:min(1160px,94vw); height:min(78dvh,830px); min-height:0;
}
.duo-gallery figure {
  display:grid; align-content:center; justify-items:center; grid-template-rows:minmax(0,1fr) auto;
  margin:0; min-height:0; gap:12px;
}
device-preview { display:block; position:relative; }
.duo-replay { position:absolute; z-index:2; inset:0; width:100%; border:0; padding:0; border-radius:inherit; background:transparent; }
.duo-replay:focus-visible { outline:3px solid #dd3f90; outline-offset:4px; }
.duo-gallery-stage { width:100%; height:100%; display:grid; place-items:end center; container-type:size; }
.duo-gallery-stage device-preview { width:min(100cqw,calc(100cqh * var(--ratio))); aspect-ratio:var(--ratio); border-radius:6%; }
.duo-gallery figure:nth-child(2) .duo-gallery-stage { width:80%; }
.duo-gallery img { width:100%; height:100%; display:block; }
.viewer-media .duo-gallery video { position:absolute; inset:2%; width:96%; height:96%; border-radius:6%; object-fit:cover; object-position:center 94%; }
.duo-gallery [data-game="womi"] video { object-position:center; }
device-preview video,.duo-glass canvas { opacity:0; pointer-events:none; }
device-preview[playing] video,device-preview[playing] canvas { opacity:1; }
.duo-gallery figcaption { color:var(--paper); font:600 1rem var(--font-body); }
@media (max-width:600px) and (orientation:portrait) {
  .duo-gallery { height:100%; padding:8px 0; grid-template-columns:1fr; grid-template-rows:1.3fr 1fr; gap:20px; }
  .duo-gallery figure { grid-template-rows:minmax(0,1fr) auto; gap:4px; }
}
@media (max-width:520px) {
  .duo-link { font-size:.82rem; gap:5px; padding-right:9px; }
}

/* The outer display sits on the back of the left leaf. It rotates around
   the same hinge as the inner image, which spans both leaves when open. */
.devices { position:relative; background:#f4f0f6; color:#17131e; }
.devices[data-scroll-story]::after { content:""; display:block; height:min(94svh,860px); }
.device-pin {
  position:sticky; top:0; min-height:min(92svh,850px); display:grid; align-items:center;
  background:radial-gradient(ellipse at 72% 48%,#e3d8eb 0,transparent 49%),
    linear-gradient(125deg,#fbf9fa 5%,#f3edf6 72%,#eae3f0);
}
.device-feature {
  width:100%; display:grid; grid-template-columns:.79fr 1.21fr;
  align-items:center; column-gap:clamp(24px,4vw,70px); row-gap:clamp(22px,3.5vw,55px);
  padding-block:clamp(44px,6vw,94px) clamp(28px,4vw,60px);
}
.device-story-copy h2 {
  max-width:8.3ch; font-size:clamp(4.3rem,7.6vw,8.4rem); line-height:.84;
  letter-spacing:-.058em; text-transform:none;
}
.device-caption { font-size:clamp(1rem,1.3vw,1.24rem); max-width:32ch; line-height:1.55; margin-top:24px; color:#504457; }
[data-device-copy] { display:none; }
[data-device="duo"] [data-device-copy="duo"],[data-device="phone"] [data-device-copy="phone"],[data-device="tablet"] [data-device-copy="tablet"] { display:block; }
.device-selector { display:inline-flex; flex-wrap:wrap; gap:2px; border-radius:25px; padding:3px; margin-top:22px; border:1px solid #cbbecf; background:#ffffff69; }
.device-selector button { padding:9px 15px; font:600 .88rem/1.35 var(--font-body); border:none; border-radius:22px; background:transparent; color:#514856; }
.device-selector button[aria-pressed=true] { background:#211925; color:white; box-shadow:0 2px 5px #35263d30; }
.device-selector button:hover:not([aria-pressed=true]) { background:#e5dbe8; }
.device-presentation { min-width:0; }
.hardware-stage { height:clamp(280px,32vw,460px); position:relative; isolation:isolate; }
.hardware-stage::before { content:""; position:absolute; left:17%; right:10%; bottom:-2%; height:10%; border-radius:50%; background:#46374b38; filter:blur(12px); }
.hardware-slide {
  position:absolute; inset:0; display:grid; place-items:center; perspective:1800px;
  opacity:0; visibility:hidden; transform:translate3d(7%,0,0) scale(.90);
  transition:opacity .46s ease,transform .65s cubic-bezier(.22,.68,.19,1),visibility 0s .65s;
}
[data-device="duo"] .duo-slide,[data-device="phone"] .phone-slide,[data-device="tablet"] .tablet-slide {
  opacity:1; visibility:visible; transform:none; transition-delay:0s;
}
.duo-rig {
  position:relative; width:min(86%,calc(32vw * 1.32),610px); aspect-ratio:1250/890;
  transform-style:preserve-3d; transform:translateX(var(--fold-offset,0%)) rotateX(4deg) rotateY(-6deg);
}
.duo-base,.duo-leaf,.duo-inside,.duo-outside { position:absolute; top:0; height:100%; }
.duo-base,.duo-leaf { width:50%; }
.duo-base,.duo-inside {
  background-image:url('assets/duo/colivery-rush-open.webp');
  background-size:200% 100%; background-repeat:no-repeat;
}
.duo-base { left:50%; background-position:right; }
.duo-glass { position:absolute; top:2%; bottom:2%; overflow:hidden; pointer-events:none; }
.right-glass { left:0; right:2.8%; border-radius:0 10% 10% 0 / 0 6% 6% 0; }
.left-glass { left:2.8%; right:0; border-radius:10% 0 0 10% / 6% 0 0 6%; }
.outer-glass { left:3%; right:3%; border-radius:9% / 6%; }
.duo-glass video { position:absolute; right:0; width:200%; height:100%; max-width:none; object-fit:cover; object-position:center 94%; }
.duo-glass canvas { display:block; width:100%; height:100%; }
/* With the hinge open, one native video spans the entire display. */
.duo-rig[data-face="flat"][playing] { transform-style:flat; }
.duo-rig[data-face="flat"][playing] .duo-leaf { visibility:hidden; }
.duo-rig[data-face="flat"][playing] .duo-base {
  left:0; width:100%; background-size:100% 100%; pointer-events:none;
}
.duo-rig[data-face="flat"][playing] .right-glass { inset:2% 1.4%; border-radius:5% / 6%; }
.duo-rig[data-face="flat"][playing] video { width:100%; }
.duo-leaf { left:0; transform-origin:right center; transform-style:preserve-3d; transform:rotateY(var(--fold-angle,0deg)); }
.duo-inside,.duo-outside { inset:0; backface-visibility:hidden; -webkit-backface-visibility:hidden; }
.duo-inside { background-position:left; transform:translateZ(.6px); }
.duo-inside::after { content:""; position:absolute; inset:1% 0 1% 1%; border-radius:6% 0 0 6%; background:linear-gradient(90deg,#17102111,#171021a6); opacity:var(--hinge-shade,0); }
.duo-outside { transform:rotateY(180deg) translateZ(2px); background:url('assets/duo/colivery-rush-folded.webp') center/100% 100% no-repeat; }
.phone-slide img,.tablet-screen {
  display:block; width:auto; height:auto; max-height:96%; border:clamp(4px,.55vw,9px) solid #211f26;
  outline:1px solid #746e79; box-shadow:2px 4px 0 #53505a,4px 9px 14px #36273c28;
}
.phone-slide { container-type:size; grid-template: minmax(0,1fr) / minmax(0,1fr); }
.phone-slide img {
  box-sizing:border-box; height:min(86cqh,150cqw); width:auto; max-width:none; max-height:none;
  border-radius:20px; transform:rotate(-4deg);
}
.tablet-screen { width:min(90%,calc(32vw * 1.32),585px); aspect-ratio:1.44; border-radius:18px; overflow:hidden; background:#101016; transform:rotate(-1deg); }
.tablet-screen img,.tablet-screen video { display:block; position:absolute; inset:0; width:100%; height:100%; object-fit:contain; }
@media(max-width:700px) { .tablet-screen { width:min(87%,calc(54vw * 1.32)); } }
.fold-control { display:flex; justify-content:center; align-items:center; gap:12px; padding-top:27px; font-size:.83rem; color:#55495c; }
.fold-control input { width:clamp(110px,17vw,210px); height:28px; accent-color:#8b345e; cursor:ew-resize; }
.devices:not([data-device="duo"]) .fold-control { visibility:hidden; }
.devices-details,.device-games { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.devices-details { grid-column:1/-1; border-top:1px solid #d4c7d7; padding-top:18px; justify-content:space-between; }
.devices-details h3 { font-size:clamp(1.25rem,2vw,1.7rem); }
.devices .duo-link { color:#1b1520; border-color:#c8b9ca; background:#fff8; }
.devices .duo-link:hover { border-color:#85335d; background:white; }
@media (max-width:700px) {
  .device-feature { grid-template-columns:1fr; gap:18px; padding-block:30px 22px; }
  .device-story-copy h2 { max-width:100%; font-size:clamp(3.5rem,10.5vw,5.3rem); }
  .device-caption { margin-top:10px; max-width:38ch; }
  .device-selector { margin-top:13px; }
  .hardware-stage { height:clamp(190px,54vw,320px); }
  .duo-rig { width:min(83%,calc(56vw * 1.32),450px); }
  .fold-control { padding-top:10px; }
  .devices-details { gap:10px; }
}
@media (max-width:440px) {
  .devices-details { align-items:start; flex-direction:column; }
  .device-games { gap:6px; }
  .device-selector button { padding:8px 13px; }
}
@media (max-height:610px) { .device-pin { position:relative; } }
html[data-still] .device-pin { position:relative; }
