/* fonts.css */
@font-face {
  font-family: 'Material Symbols Outlined';
  font-style: normal;
  font-weight: 400;
  src: url(assets/material-symbols.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 400;
  src: url(assets/montserrat-400.ttf) format('truetype');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 500;
  src: url(assets/montserrat-500.ttf) format('truetype');
}

.material-symbols-outlined {
  font-family: 'Material Symbols Outlined';
  font-weight: normal;
  font-style: normal;
  font-size: 24px;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  display: inline-block;
  white-space: nowrap;
  word-wrap: normal;
  direction: ltr;
}


/* studio.css */
:root{color-scheme:light;--ink:#35484d;--blue:#70899d;--paper:#faf8f4}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Montserrat,Arial,sans-serif}button,a,input{-webkit-tap-highlight-color:transparent}button,a{touch-action:manipulation}button{font:inherit}a{color:inherit;text-decoration:none}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #365a75;outline-offset:5px}.skip{position:fixed;z-index:20;left:16px;top:-80px;background:white;padding:12px}.skip:focus{top:12px}
.studio{--height:clamp(680px,41.667vw,1200px);--phone-h:calc(var(--height)*.76);--phone-w:calc(var(--phone-h)*.492642);--phone-x:calc(50% + clamp(150px,13vw,460px));position:relative;height:var(--height);isolation:isolate;overflow:hidden;overflow:clip;background:#d6cfdf}.room{position:absolute;inset:0;background:url('assets/room.webp') center/100% 100% no-repeat;z-index:0}.header{position:absolute;top:6%;left:19%;width:35%;display:flex;gap:clamp(16px,2vw,48px);align-items:center;justify-content:center;z-index:8;white-space:nowrap;font-size:clamp(12px,1.05vw,20px)}nav{display:flex;gap:clamp(16px,2vw,48px);align-items:center}.outline{display:inline-flex;gap:.6em;align-items:center;justify-content:center;border:1px solid var(--blue);border-radius:99px;padding:.65em 1.1em;color:#536e83;background:transparent;white-space:nowrap}.outline:hover{background:#f7fafb99}.menu-toggle{display:none}.web .material-symbols-outlined{font-size:1.4em}
.copy{position:absolute;z-index:5;left:max(190px,19%);width:calc(var(--phone-x) - var(--phone-w)/2 - max(190px,19%) - 55px);top:43%;transform:translateY(-50%);text-align:center}h1{font-weight:400;letter-spacing:-.045em;font-size:clamp(42px,4.65vw,142px);line-height:1.12;margin:0}.tagline{font-size:clamp(20px,2.25vw,65px);margin:.45em 0 1em;white-space:nowrap}.downloads{display:flex;justify-content:center;align-items:center;gap:clamp(12px,1.3vw,30px)}.downloads img{display:block;width:43%;max-width:235px;height:clamp(36px,3vw,72px);object-fit:contain}
.plant-position{position:absolute;left:-2%;top:17%;height:61%;width:23%;z-index:1;overflow:hidden}.left-plant{height:132%;width:100%;object-fit:contain;object-position:center top;filter:drop-shadow(12px 10px 10px #655b5e18)}.shelves-position{position:absolute;z-index:2;right:clamp(26px,3vw,100px);top:9%;width:clamp(290px,20vw,570px);height:65%}.shelves{position:relative;width:100%;height:100%}.board{position:absolute;left:0;width:100%;height:4.5%;border-radius:3px;filter:drop-shadow(0 12px 7px #5d455438)}.upper{top:27%}.lower{top:67%;left:12%;width:88%}.vases{position:absolute;left:1%;bottom:73%;width:68%;max-height:28%;object-fit:contain;object-position:bottom}.jar{position:absolute;left:20%;bottom:33%;width:20%;height:31%;object-fit:contain;object-position:bottom}.trailing{position:absolute;right:0;top:0;width:39%;height:100%;object-fit:contain;object-position:top;filter:drop-shadow(4px 7px 5px #5a4a551c)}
.phone-position{position:absolute;left:var(--phone-x);top:12%;width:var(--phone-w);height:var(--phone-h);transform:translateX(-50%);z-index:4}.phone{position:relative;width:100%;height:100%;filter:drop-shadow(0 10px 7px #34333c20)}.phone:before{content:'';position:absolute;left:8%;right:8%;bottom:-1.5%;height:3%;background:#55556840;filter:blur(7px);border-radius:50%;z-index:-1}.phone:after{content:'';position:absolute;left:3%;right:3%;top:100%;height:8%;border-radius:0 0 40% 40%;background:linear-gradient(#48616b25,transparent);filter:blur(3px);pointer-events:none}.phone-composite{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.phone-video-clip{position:absolute;inset:0;clip-path:url(#phone-opening-normalized)}#preview{position:absolute;left:5.263158%;top:2.242467%;width:89.615932%;height:95.585144%;object-fit:cover;background:transparent}.control{border:1px solid #70899d66;background:#fafcf2ed;color:#405d72;border-radius:99px;min-height:42px;padding:8px 13px;box-shadow:0 2px 8px #26373e12}.pause{position:absolute;right:-18px;bottom:-12px;min-width:44px;z-index:7}.video-controls{position:absolute;left:9%;right:9%;bottom:9%;z-index:6;display:flex;align-items:center;gap:8px;opacity:0;pointer-events:none;transition:opacity .16s}.phone:hover .video-controls,.phone:focus-within .video-controls{opacity:1;pointer-events:auto}.seek-label{font-size:0;flex:1;background:#ffffffd9;border-radius:20px;padding:10px}#seek{width:100%;accent-color:var(--blue)}#sound{font-size:11px;white-space:nowrap}.palette-position{position:absolute;left:5%;bottom:7%;width:clamp(420px,38vw,1050px);z-index:3}.palette{display:block;width:100%;filter:drop-shadow(1px 7px 3px #64544b25)}.depth{will-change:transform;transform:translate3d(var(--dx,0px),var(--dy,0px),0)}
.content{max-width:1100px;padding:70px 30px;margin:auto;text-align:center;scroll-margin-top:30px}.eyebrow{text-transform:uppercase;letter-spacing:.12em;font-size:13px;color:#687a80}h2{font-size:clamp(27px,3vw,44px);font-weight:400}.steps{display:grid;grid-template-columns:repeat(3,1fr);gap:42px;margin-top:45px}.steps article>span{color:#839bab}.steps h3{font-size:18px;font-weight:500}.steps p{line-height:1.7;font-size:14px}.prototype-notes{padding-top:0;font-size:14px;line-height:1.7}summary{cursor:pointer}footer{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:25px 5%;border-top:1px solid #dce0dd;font-size:12px}
@media(max-width:1250px) and (min-width:981px){.header{left:8%;width:51%;gap:18px}nav{gap:18px}.copy{left:18%;width:calc(var(--phone-x) - var(--phone-w)/2 - 18% - 36px)}.plant-position{left:-4%;width:24%}.palette-position{left:3%;width:43%}}
@media(hover:none){.video-controls{opacity:1;pointer-events:auto}.control{min-height:44px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.depth{transform:none!important;will-change:auto}.video-controls{transition:none}}

/* Turn in depth, not sideways: the video and bezel share one projection. */
@media(min-width:981px){
 .phone-position{top:6%;transform:translateX(-50%);transform-origin:50% 50%;}
}




.replay{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:9;border:1px solid #70899d;background:#fafcf5f2;color:#405d72;border-radius:99px;padding:14px 23px;font:500 16px Montserrat,sans-serif;box-shadow:0 4px 20px #182b3540;white-space:nowrap}.replay[hidden]{display:none}.pause:disabled{opacity:.4;cursor:default}

@font-face{font-family:MediaSymbols;src:url('assets/media-symbols.woff2') format('woff2');font-style:normal;font-weight:100 700;font-display:block;}
.media-symbol{font-family:MediaSymbols;font-size:22px;font-weight:400;font-style:normal;line-height:1;letter-spacing:normal;text-transform:none;white-space:nowrap;font-feature-settings:'liga';font-variation-settings:'FILL' 0,'wght' 400,'GRAD' 0,'opsz' 24;}
.video-controls{left:8%;right:8%;bottom:4%;padding:7px 10px;border-radius:0 0 24px 24px;background:rgba(245,248,249,.94);box-shadow:0 -3px 15px #26373e12;gap:4px;}
.video-controls .control{display:inline-flex;align-items:center;justify-content:center;flex:0 0 38px;min-width:38px;min-height:44px;padding:6px;border:0;background:transparent;box-shadow:none;border-radius:8px;}
.video-controls .control[hidden]{display:none;}
.video-controls .control:hover{background:#718b9b18;}
.seek-label{min-width:0;background:transparent;padding:6px;}
.video-controls:focus-within{opacity:1;pointer-events:auto;}
.replay{top:59%;width:35%;min-height:36px;padding:7px 10px;font-size:clamp(11px,1vw,16px);border:0;background:#f5f8f9;box-shadow:0 2px 7px #26373e18;display:flex;gap:5px;align-items:center;justify-content:center;}
.replay[hidden]{display:none;}
@media(hover:none){.video-controls{opacity:1;pointer-events:auto;}}

/* Match the recorded START pill, including its rounded edges. */
.replay{top:57.5%;width:35%;height:6.1%;min-height:0;padding:0 8px;line-height:1;border-radius:999px;gap:6px;}
.replay .media-symbol{display:block;flex:0 0 auto;font-size:19px;line-height:1;}
.video-controls{align-items:center;}
#seek{display:block;margin:0;}

/* Quiet media controls contained by the screen; only the sound invitation persists. */
.phone:after{display:none}
.phone-reflection{position:absolute;top:100%;left:0;width:100%;height:35%;transform:scaleY(-1);opacity:.2;filter:blur(1.5px);pointer-events:none;mask-image:linear-gradient(to bottom,transparent 45%,#000 100%);-webkit-mask-image:linear-gradient(to bottom,transparent 45%,#000 100%)}
.video-controls{left:5.263%;right:5.12%;bottom:2.24%;padding:28px 10px 9px;gap:2px;border-radius:0 0 36px 36px;background:linear-gradient(transparent,rgba(20,28,32,.65));box-shadow:none;opacity:0;pointer-events:none;transition:opacity .25s ease}
.video-controls .control{color:white;flex-basis:32px;min-width:32px;min-height:44px;border-radius:50%}
.video-controls .control:hover{background:#ffffff24}
.seek-label{padding:6px 4px}
#seek{accent-color:white;cursor:pointer}
.sound-prompt{position:absolute;z-index:7;left:50%;bottom:13%;transform:translateX(-50%);display:flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:7px 13px;border:1px solid #ffffff90;border-radius:99px;background:#263b4cbd;color:white;font:500 12px Montserrat,Arial,sans-serif;white-space:nowrap;box-shadow:0 2px 10px #0002}
.sound-prompt .media-symbol{font-size:19px}.sound-prompt[hidden]{display:none}
@media(hover:hover){.phone:hover .video-controls{opacity:1;pointer-events:auto}}
.phone.controls-visible .video-controls,.phone:focus-within .video-controls{opacity:1;pointer-events:auto}
@media(hover:none){.phone:not(.controls-visible):not(:focus-within) .video-controls{opacity:0;pointer-events:none}}
.phone:fullscreen{background:#161b20;width:min(100vw,49.2642vh);height:100vh;margin:auto;filter:none}
.phone:fullscreen:before{display:none}
@media(prefers-reduced-motion:reduce){.video-controls{transition:none}}

/* Keep the music invitation in the screen's bottom margin, away from gameplay. */
.sound-prompt{left:10%;bottom:3.1%;transform:none;min-height:28px;padding:4px 8px;gap:4px;font-size:10px;font-weight:500;color:#506b7d;background:rgba(250,252,253,.9);border:1px solid #70899d30;box-shadow:none;transition:opacity .2s ease}
.sound-prompt .media-symbol{font-size:16px}
@media(hover:hover){.phone:hover .sound-prompt:not(:focus-visible){opacity:0;pointer-events:none}}
.phone.controls-visible .sound-prompt:not(:focus-visible),.phone:has(.video-controls :focus-visible) .sound-prompt{opacity:0;pointer-events:none}
@media(pointer:coarse){.sound-prompt{min-height:44px;padding:8px 10px}}
@media(prefers-reduced-motion:reduce){.sound-prompt{transition:none}}

/* Fullscreen presents the original trailer without the decorative phone shell. */
#preview:fullscreen{position:fixed;inset:0;width:100%;height:100%;object-fit:contain;background:#11171b;clip-path:none;transform:none;border-radius:0}
#preview::backdrop{background:#11171b}

/* Finished shelf ends, with contact shade and a diffuse cast shadow on the wall. */
.shelves{isolation:isolate}
.board{border-radius:0;filter:drop-shadow(1px 3px 2px #58443845)}
.shelves:before,.shelves:after{content:'';position:absolute;z-index:-1;pointer-events:none;height:7%;background:linear-gradient(to bottom,#57445345,#57445300);filter:blur(5px);transform:translateX(7px) skewX(18deg);transform-origin:top left;border-radius:3px}
.shelves:before{left:1%;top:30%;width:98%}
.shelves:after{left:13%;top:70%;width:86%}

/* Stronger directional shelf shadows; the flat fascia shares the room's camera angle. */
.board{filter:drop-shadow(1px 3px 1.5px #392d3d70) drop-shadow(7px 12px 7px #48324c45)}
.shelves:before,.shelves:after{height:10%;background:linear-gradient(to bottom,#49364c6b, #49364c25 50%,transparent);filter:blur(4px);transform:translateX(9px) skewX(24deg)}
.shelves:before{top:30.5%}.shelves:after{top:70.5%}
.jar{bottom:32%}

/* Individually grounded ceramics: shared shelf surface, close but unequal spacing. */
.shelf-object{position:absolute;bottom:72.6%;z-index:1}
.shelf-object img{position:relative;display:block;width:100%;height:auto;filter:drop-shadow(3px 3px 3px #493b4324)}
.shelf-object:before{content:'';position:absolute;left:12%;right:10%;bottom:-1px;height:5px;border-radius:50%;background:#41313a70;filter:blur(2px)}
.vase-ivory{left:5%;width:22%}
.vase-sage{left:28%;width:19%}
.vase-terracotta{left:48%;width:16.5%}
.brush-object{left:31%;bottom:32.6%;width:20%}
.trailing{z-index:2;height:108%;width:auto;max-width:none;right:-21%;top:2.5%;object-fit:initial;filter:drop-shadow(5px 8px 4px #443e4238)}

/* Original supplied plant, enlarged; its planter base sits on the upper shelf. */
.trailing{height:112%;width:auto;right:-18%;top:2.5%;}

/* The fixed wall boundary occludes vines even while the shelf layer moves. */
.trailing{right:-26%;}
.shelves-position{clip-path:inset(-100% -100% 4.6% -100%);}

/* Lower shelf: supplied front-facing books and cup share the wood surface. */
.brush-object{left:25%;width:18%;bottom:32.7%;}
.books-object{left:44%;width:37%;bottom:32.7%;}
.brush-object:before{left:18%;right:8%;bottom:-1px;height:4px;background:#392a337a;filter:blur(1px);}
.brush-object:after{content:'';position:absolute;left:27%;right:16%;bottom:-.5px;height:2px;border-radius:50%;background:#3b2e3655;filter:blur(.6px);pointer-events:none;}
.brush-object img{filter:drop-shadow(3px 1px 2px #493b4326);}
.books-object:before{left:2%;right:1%;height:3px;bottom:-1px;background:#392a3370;filter:blur(1px);}
.books-object img{filter:drop-shadow(3px 1px 2px #493b4324);}

/* Seat the rounded cup base just into the shelf top, with a tight contact seam. */
.brush-object{bottom:calc(32.7% - 3px);}
.brush-object:before{left:15%;right:6%;bottom:0;height:5px;background:#35272c99;filter:blur(1.2px);}
.brush-object:after{left:24%;right:12%;bottom:0;height:2px;background:#38292c90;filter:blur(.5px);}
.brush-object img{filter:drop-shadow(2px 0 2px #493b4318);}

/* Shallow wood top planes; front fascia thickness remains unchanged. */
.shelf-top{position:absolute;z-index:0;background:linear-gradient(#f4dfbd77,#d8b58b33),url('assets/shelf-frontal.svg') center/100% 100%;clip-path:polygon(1.5% 0,98.5% 0,100% 100%,0 100%);pointer-events:none;}
.upper-top{left:0;top:27%;width:100%;height:1.2%;}
.lower-top{left:12%;top:67%;width:88%;height:2%;}
.board.upper{top:28%;}.board.lower{top:68.8%;}
.shelves:before{top:31.5%;}.shelves:after{top:72.3%;}
/* Offset silhouette is behind the shelf objects and follows the original plant. */
.trailing.trailing-shadow{z-index:-1;opacity:.13;filter:brightness(0) blur(5px);transform:translate(10px,12px);pointer-events:none;}

/* One continuous board: top plane has no duplicated fascia or transparent lip. */
.shelf-top{background:linear-gradient(178deg,#ead1ad 0%,#e5c6a0 60%,#dcbc94 100%);clip-path:polygon(1% 0,99% 0,100% 100%,0 100%);}
.upper-top{top:27%;height:1.6%;}
.lower-top{top:67%;height:2.4%;}
.board.upper{top:28%;}.board.lower{top:68.8%;}
/* Light from upper left casts subtle silhouettes down and right on the wall. */
.shelf-object.object-cast-shadow{z-index:-1;transform:translate(9px,7px);opacity:.18;pointer-events:none;}
.object-cast-shadow img{filter:brightness(0) blur(4px);}
.shelf-object.object-cast-shadow:before,.shelf-object.object-cast-shadow:after{display:none;}

/* Integrated photographic top and fascia replace the separate CSS top planes. */
.board.upper{top:26.5%;height:6%;}
.board.lower{top:66.5%;height:6.8%;}
.shelves:before{top:31.5%;}.shelves:after{top:72.3%;}

/* Quiet notch label sits below the earpiece and to the left of the camera. */
.phone .sound-prompt{left:32%;top:3.45%;bottom:auto;width:27%;height:1.9%;min-height:0;padding:0;gap:3px;transform:none;background:transparent;border:0;box-shadow:none;color:#f4f6f7;font-size:clamp(7px,.65vw,11px);line-height:1;opacity:1;pointer-events:auto;}
.phone .sound-prompt .media-symbol{font-size:clamp(10px,.8vw,14px);}
.phone .sound-prompt:before{content:'';position:absolute;inset:-12px -4px;}
.phone .sound-prompt:hover{color:white;text-shadow:0 0 6px #ffffff66;}
.header .outline{transition:background-color .18s ease,border-color .18s ease;}
.header .outline:hover{background:#ffffff70;border-color:#45687f;}
@media(prefers-reduced-motion:reduce){.header .outline{transition:none;}}

/* Floor plant is behind the tabletop, not a cutout resting on its surface. */
.left-plant-shadow{display:none;}
@media(min-width:981px){
 .plant-position{left:0;top:0;width:100%;height:100%;overflow:hidden;clip-path:polygon(0 0,100% 0,100% 71%,0 72.2%);pointer-events:none;}
 .plant-position .left-plant{position:absolute;left:-1.5%;top:8%;height:100%;width:auto;max-width:none;object-fit:contain;filter:none;}
 .plant-position .left-plant-shadow{display:block;transform:translate(28px,15px);filter:brightness(0) blur(8px);opacity:.16;}
}

/* Sunlight projects a neutral silhouette across the wall, well away from the leaves. */
.floor-plant-wall-shadow{display:none;}
@media(min-width:981px){
 .floor-plant-wall-shadow{display:block;position:absolute;left:11%;top:19%;height:110%;aspect-ratio:699 / 1483;background:#45434a;opacity:.23;mask:url('assets/left-plant.webp') center/100% 100% no-repeat;-webkit-mask:url('assets/left-plant.webp') center/100% 100% no-repeat;transform:skewX(17deg) scaleX(1.13);transform-origin:50% 70%;filter:blur(5px);mix-blend-mode:multiply;pointer-events:none;}
}

/* Blur the completed silhouette, rather than masking an already-blurred fill. */
@media(min-width:981px){
 .floor-plant-wall-shadow{left:14%;top:30%;height:91%;background:none;mask:none;-webkit-mask:none;opacity:.19;transform:skewX(12deg) scaleX(1.08);transform-origin:50% 85%;filter:blur(clamp(9px,.7vw,18px));mix-blend-mode:multiply;}
 .floor-plant-wall-shadow:before{content:'';position:absolute;inset:0;background:#555062;mask:url('assets/left-plant.webp') center/100% 100% no-repeat;-webkit-mask:url('assets/left-plant.webp') center/100% 100% no-repeat;}
}

/* Match the reference's readable, cool-gray leaf projection beside the window. */
@media(min-width:981px){
 .floor-plant-wall-shadow{left:15%;top:30%;height:88%;opacity:.36;transform:skewX(24deg) scaleX(.88);transform-origin:50% 85%;filter:blur(clamp(3px,.26vw,7px));mix-blend-mode:normal;}
 .floor-plant-wall-shadow:before{background:#77718e;}
}

/* Slightly smaller artist tools keep the full arrangement comfortably on the table. */
@media(min-width:981px){.palette-position{width:clamp(300px,27vw,760px);bottom:7%;}}

/* Window light comes from the upper left; keep tabletop effects close to the tools. */
.palette-position{isolation:isolate;}
.palette-position .palette{position:relative;z-index:1;filter:drop-shadow(1px 2px 1px #453c3940) drop-shadow(10px 7px 5px #64576530);}
.palette-reflection{position:absolute;left:0;top:99%;width:100%;height:16%;overflow:hidden;opacity:.12;pointer-events:none;filter:blur(1.5px);mask-image:linear-gradient(to bottom,#000,transparent);-webkit-mask-image:linear-gradient(to bottom,#000,transparent);}
.palette-reflection img{display:block;width:100%;height:auto;transform:scaleY(-1);}
@media(min-width:981px){.palette-position{left:10%;}}

/* Stronger grounding on the polished stone, with reflections fading before its front edge. */
.palette-position .palette{filter:drop-shadow(1px 2px 1px #40362f70) drop-shadow(3px 4px 2px #51453835) drop-shadow(10px 7px 5px #64576530);}
.palette-reflection{top:93%;height:20%;opacity:.26;filter:blur(1px);}
.plant-table-reflection{display:none;}
@media(min-width:981px){
 .plant-table-reflection{display:block;position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden;clip-path:polygon(0 72.2%,100% 71%,100% 95%,0 95%);opacity:.23;filter:blur(2.5px);mask-image:linear-gradient(to bottom,transparent 71%,#000 72.2%,#000 75%,transparent 94%);-webkit-mask-image:linear-gradient(to bottom,transparent 71%,#000 72.2%,#000 75%,transparent 94%);}
 .plant-table-reflection img{position:absolute;left:-1.5%;top:94.4%;height:100%;width:auto;max-width:none;transform:scaleY(-.35);transform-origin:top left;filter:saturate(.7);}
}

/* Stable room lighting: fixed alpha shadows, with no device-dependent blur filters. */
@media(min-width:981px){
 .palette-position{left:10%;}
 .palette-position:before,.palette-position:after{content:"";position:absolute;pointer-events:none;border-radius:50%;}
 .palette-position:before{z-index:0;left:9%;right:6%;bottom:3%;height:8%;background:radial-gradient(ellipse at 58% 45%,rgba(49,39,47,.30) 0%,rgba(49,39,47,.16) 43%,rgba(49,39,47,0) 76%);}
 .palette-position:after{z-index:1;left:7%;right:8%;bottom:5.5%;height:2.4%;background:radial-gradient(ellipse,rgba(45,35,31,.45) 0%,rgba(45,35,31,.24) 48%,rgba(45,35,31,0) 78%);}
 .palette-position .palette{z-index:2;filter:none;}
 .palette-reflection{top:98%;height:34%;opacity:.34;filter:none;mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.25) 60%,transparent);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.7),rgba(0,0,0,.25) 60%,transparent);}
 .plant-table-reflection{opacity:.34;filter:none;clip-path:polygon(0 72.2%,100% 71%,100% 96%,0 96%);mask-image:linear-gradient(to bottom,transparent 71%,rgba(0,0,0,.85) 72.4%,rgba(0,0,0,.42) 84%,transparent 96%);-webkit-mask-image:linear-gradient(to bottom,transparent 71%,rgba(0,0,0,.85) 72.4%,rgba(0,0,0,.42) 84%,transparent 96%);}
 .plant-table-reflection img{top:107%;height:100%;transform:scaleY(-.35);transform-origin:top left;filter:none;}
 .board{filter:none;box-shadow:1px 3px 2px rgba(57,45,61,.32),7px 12px 12px rgba(72,50,76,.23);}
 .shelves:before,.shelves:after{filter:none;height:12%;background:linear-gradient(to bottom,rgba(73,54,76,.30),rgba(73,54,76,.12) 45%,transparent);transform:translateX(8px) skewX(24deg);}
 .shelf-object img{filter:drop-shadow(2px 2px 2px rgba(73,59,67,.18));}
 .shelf-object:before{filter:none;height:4px;background:radial-gradient(ellipse,rgba(53,39,44,.52),rgba(53,39,44,.2) 52%,transparent 78%);}
 .brush-object:before,.brush-object:after{filter:none;background:radial-gradient(ellipse,rgba(53,39,44,.58),rgba(53,39,44,.24) 55%,transparent 80%);}
 .books-object:before{filter:none;background:linear-gradient(to bottom,rgba(53,39,44,.3),transparent);}
 .shelf-object.object-cast-shadow{opacity:.13;transform:translate(7px,6px);}
 .object-cast-shadow img{filter:brightness(0);}
 .trailing{filter:drop-shadow(4px 6px 3px rgba(68,62,66,.22));}
 .trailing.trailing-shadow{opacity:.1;filter:brightness(0);transform:translate(8px,9px);}
 .phone{filter:none;}
 .phone:before{z-index:-1;height:3%;background:radial-gradient(ellipse,rgba(54,46,56,.34),rgba(54,46,56,.13) 52%,transparent 80%);filter:none;}
}
.palette-position .palette{filter:none;}
.palette-reflection{filter:none;}

/* Use each object's native alpha shadow; decorative duplicate silhouettes can look offset. */
@media(min-width:981px){.shelf-object.object-cast-shadow,.trailing.trailing-shadow{display:none;}}

/* Correct the tabletop effects: reflections begin at the object's edge and fade quickly. */

.palette-position:before,.palette-position:after{content:none !important;display:none !important;}
.palette-position .palette{position:relative;z-index:2;filter:drop-shadow(1px 3px 2px rgba(48,39,36,.42));}
.palette-reflection{top:100%;height:30%;opacity:.34;filter:none;mask-image:linear-gradient(to bottom,rgba(0,0,0,.62),rgba(0,0,0,.22) 58%,transparent);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.62),rgba(0,0,0,.22) 58%,transparent);}
.palette-reflection img{position:absolute;top:0;left:0;width:100%;height:auto;transform:scaleY(-.30) translateY(-100%);transform-origin:top left;}
@media(min-width:981px){.palette-reflection{height:30%;}}

/* Use one close contact shadow for each shelf, with restrained alpha shadows on cutouts. */
.board{filter:none !important;box-shadow:1px 3px 2px rgba(56,43,52,.30),5px 8px 8px rgba(70,53,72,.16) !important;}
.shelves:before,.shelves:after{filter:none !important;height:9%;background:linear-gradient(to bottom,rgba(66,48,69,.22),rgba(66,48,69,.08) 48%,transparent) !important;}
.shelf-object img{filter:drop-shadow(1px 2px 2px rgba(55,44,45,.24)) !important;}
.shelf-object:before,.brush-object:after,.books-object:before{filter:none !important;}
.shelf-object:before{background:radial-gradient(ellipse,rgba(49,38,39,.42),rgba(49,38,39,.14) 48%,transparent 76%) !important;}
.brush-object:after{background:radial-gradient(ellipse,rgba(49,38,39,.42),transparent 76%) !important;}
.books-object:before{background:linear-gradient(to bottom,rgba(49,38,39,.2),transparent) !important;}
.trailing{filter:drop-shadow(2px 3px 2px rgba(55,48,48,.2)) !important;}
@media(min-width:981px){
 .shelf-object.object-cast-shadow,.trailing.trailing-shadow{display:none !important;}
 .phone{filter:none !important;}
 .phone:before{background:radial-gradient(ellipse,rgba(44,40,48,.25),rgba(44,40,48,.08) 48%,transparent 78%) !important;filter:none !important;}
}

/* Restore the soft room shadows and plant reflection; avoid rectangular shelf shadows. */
@media(min-width:981px){
 .plant-table-reflection{display:block !important;opacity:.28;filter:none;clip-path:polygon(0 72.2%,100% 71%,100% 96%,0 96%);mask-image:linear-gradient(to bottom,transparent 71%,rgba(0,0,0,.72) 72.5%,rgba(0,0,0,.34) 84%,transparent 96%);-webkit-mask-image:linear-gradient(to bottom,transparent 71%,rgba(0,0,0,.72) 72.5%,rgba(0,0,0,.34) 84%,transparent 96%);}
 .plant-table-reflection img{left:-1.5%;top:107%;height:100%;width:auto;transform:scaleY(-.35);transform-origin:top left;filter:none;}
 .board{filter:drop-shadow(1px 3px 1.5px rgba(57,45,61,.44)) drop-shadow(7px 10px 7px rgba(72,50,76,.28)) !important;box-shadow:none !important;}
 .shelves:before,.shelves:after{display:none !important;}
 .shelf-object.object-cast-shadow,.trailing.trailing-shadow{display:block !important;}
 .shelf-object.object-cast-shadow{z-index:-1;transform:translate(7px,6px);opacity:.16;}
 .object-cast-shadow img{filter:brightness(0) blur(4px) !important;}
 .trailing.trailing-shadow{z-index:-1;opacity:.14;filter:brightness(0) blur(5px) !important;transform:translate(10px,12px);}
 .trailing:not(.trailing-shadow){filter:drop-shadow(4px 7px 4px rgba(68,62,66,.26)) !important;}
}

/* Keep the palette shadow beneath the real silhouette and reflection at its contact edge. */
.palette-position{isolation:isolate;}
.palette-position .palette-shadow{position:absolute;inset:0;z-index:1;width:100%;height:auto;filter:brightness(0) blur(1.4px);opacity:.28;transform:translate(4px,7px);pointer-events:none;}
.palette-position .palette{position:relative;z-index:2;filter:none;}
.palette-reflection{top:96%;height:32%;opacity:.31;}
.palette-reflection img{top:0;transform:scaleY(-.30) translateY(-100%);}
@media(min-width:981px){.palette-reflection{top:96%;height:32%;}}
/* Reflect only the part of the floor plant above the table, starting at its back edge. */
@media(min-width:981px){.plant-table-reflection img{top:94.4%;height:100%;transform:scaleY(-.35);}}

/* Project the plant shadow across the tabletop at an oblique angle from its back edge. */
@media(min-width:981px){
 .plant-table-reflection{display:block !important;top:0;left:0;right:0;bottom:0;clip-path:polygon(0 72.2%,100% 71%,100% 96%,0 96%);opacity:.2;filter:none;mask-image:linear-gradient(to bottom,transparent 70.5%,rgba(0,0,0,.82) 72.2%,rgba(0,0,0,.52) 85%,transparent 96%);-webkit-mask-image:linear-gradient(to bottom,transparent 70.5%,rgba(0,0,0,.82) 72.2%,rgba(0,0,0,.52) 85%,transparent 96%);}
 .plant-table-reflection img{left:-1.5%;top:94.4%;height:100%;width:auto;transform:scaleY(-.35) skewX(19deg);transform-origin:top left;filter:grayscale(1) brightness(.62);mix-blend-mode:multiply;}
}
/* The palette and both brushes cast a visible, size-matched shadow down and right. */
.palette-position .palette-shadow{transform:translate(5px,11px);opacity:.38;filter:brightness(0) blur(1.6px);}

/* Restore the plant's soft edge-anchored tabletop image without the harsh shear. */
@media(min-width:981px){
 .plant-table-reflection{opacity:.28;filter:none;clip-path:polygon(0 72.2%,100% 71%,100% 96%,0 96%);mask-image:linear-gradient(to bottom,transparent 71%,rgba(0,0,0,.72) 72.5%,rgba(0,0,0,.34) 84%,transparent 96%);-webkit-mask-image:linear-gradient(to bottom,transparent 71%,rgba(0,0,0,.72) 72.5%,rgba(0,0,0,.34) 84%,transparent 96%);}
 .plant-table-reflection img{left:-1.5%;top:94.4%;height:100%;width:auto;transform:scaleY(-.35);transform-origin:top left;filter:none;mix-blend-mode:normal;}
}
/* Keep a short, subtle tabletop sheen; the size-matched silhouette is the shadow. */
.palette-reflection{top:96%;height:19%;opacity:.18;}
@media(min-width:981px){.palette-reflection{top:96%;height:19%;}}
.palette-position .palette-shadow{transform:translate(4px,8px);opacity:.30;filter:brightness(0) blur(1px);}

/* A faint, perspective-sheared tabletop reflection for the palette and brushes. */
.palette-reflection{top:94%;height:25%;overflow:hidden;opacity:.26;filter:blur(.65px);mask-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,.26) 48%,transparent 88%);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,.26) 48%,transparent 88%);}
.palette-reflection img{position:absolute;left:0;top:0;width:100%;height:auto;transform:matrix(1,0,.34,-.18,0,0);transform-origin:left bottom;}

/* Separate the colored reflection from the cast shadow so both read clearly. */
.palette-reflection{z-index:1;top:94%;height:30%;opacity:.38;filter:blur(.35px);mask-image:linear-gradient(to bottom,rgba(0,0,0,.72),rgba(0,0,0,.38) 48%,transparent 88%);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.72),rgba(0,0,0,.38) 48%,transparent 88%);}
.palette-reflection img{transform:matrix(1,0,.42,-.25,0,0);transform-origin:left bottom;}
.palette-position .palette-shadow{z-index:0;transform:translate(5px,10px);opacity:.28;filter:brightness(0) blur(1.2px);}
.palette-position .palette{z-index:2;}

/* Make the reflection readable on the tabletop; keep the cast shadow down/right. */
.palette-reflection{z-index:1;top:97%;height:30%;opacity:.34;filter:blur(.8px);mask-image:linear-gradient(to bottom,rgba(0,0,0,.72),rgba(0,0,0,.3) 60%,transparent 100%);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.72),rgba(0,0,0,.3) 60%,transparent 100%);}
.palette-reflection img{top:0;left:0;width:100%;height:auto;transform:matrix(1,0,.36,-.24,0,0);transform-origin:left bottom;}
.palette-position .palette-shadow{z-index:0;transform:translate(14px,13px);opacity:.24;filter:brightness(0) blur(1.5px);}

/* Contact shadow stays within a few pixels of the tools. */
.palette-position .palette-shadow{z-index:0;transform:translate(2px,2px);opacity:.25;filter:brightness(0) blur(.7px);}
/* The extra left margin retains the oblique reflection instead of clipping it. */
.palette-reflection{left:-25%;top:96%;width:125%;height:24%;z-index:1;overflow:hidden;opacity:.27;filter:blur(.6px);mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),rgba(0,0,0,.4) 55%,transparent);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.8),rgba(0,0,0,.4) 55%,transparent);}
/* Translate source bottom to zero BEFORE projecting: y becomes .20 * (H - y).
   A bottom transform origin adds H back, moving the entire image outside the clip. */
.palette-reflection img{position:absolute;left:20%;top:0;width:80%;height:auto;transform-origin:0 0;transform:matrix(1,0,.65,-.20,0,0) translateY(-100%);}

/* Flat tools sit directly on the reflective plane. Their reflection overlaps their
   footprint, exposing only a subtle colored edge rather than a separate mirror strip. */
.palette-reflection{left:0;top:0;width:100%;height:100%;overflow:visible;z-index:1;opacity:.16;filter:blur(.65px);mask-image:none;-webkit-mask-image:none;}
.palette-reflection img{position:absolute;left:0;top:0;width:100%;height:auto;transform-origin:0 0;transform:translate(3px,3px);}
.palette-position .palette-shadow{transform:translate(2px,2px);opacity:.25;filter:brightness(0) blur(.7px);}

/* Portrait-style focus: soften scenery as complete groups, preserving their lighting. */
.studio{--scenery-blur:clamp(.8px,.08vw,2px);}
.room{filter:blur(.5px) saturate(.82);}
.plant-position,.shelves-position{filter:blur(var(--scenery-blur));}
.plant-table-reflection{filter:blur(var(--scenery-blur)) !important;}
.palette-position{filter:none;}
/* Painted above scenery (z 0–3), beneath the phone (4), copy (5), and navigation (8). */
.room-tone{position:absolute;inset:0;z-index:3;pointer-events:none;background:linear-gradient(to bottom,rgba(244,237,219,.22),rgba(244,237,219,.20) 68%,rgba(244,237,219,.08) 100%);}


/* grounding.css */
/* Grounding pass: one baked palette asset, one live mirrored phone canvas. */
/* Foreground tools stay sharp and above the room haze/light overlays. */
.palette-position{filter:none;z-index:4;}
.palette-position .palette{filter:none;}
@media(min-width:981px){
 .palette-position{left:10%;bottom:3.5%;width:clamp(340px,30vw,840px);transform:none;}
}
.phone-position{isolation:isolate;}
.phone{z-index:2;}
.phone:before{display:none;}
.phone-contact{position:absolute;z-index:0;left:7%;top:99.1%;width:103%;height:3.2%;border-radius:50%;background:radial-gradient(ellipse at 45% 40%,rgba(38,42,43,.42),rgba(56,52,55,.17) 48%,transparent 74%);pointer-events:none;}
.phone-stand{position:absolute;z-index:1;left:22%;top:97.7%;width:56%;height:4.5%;overflow:visible;pointer-events:none;}
/* Pixels are already flipped in the canvas. Fade proceeds away from the contact. */
.phone-reflection{top:100%;height:32%;transform:none;opacity:.20;filter:blur(1px);mask-image:linear-gradient(to bottom,rgba(0,0,0,.85),rgba(0,0,0,.25) 12%,transparent 30%);-webkit-mask-image:linear-gradient(to bottom,rgba(0,0,0,.85),rgba(0,0,0,.25) 12%,transparent 30%);z-index:0;}
/* Restrained diagonal window spill, clipped to the counter and above its props. */
.counter-light{position:absolute;inset:0;z-index:3;pointer-events:none;clip-path:polygon(0 72.2%,100% 71%,100% 96%,0 96%);background:linear-gradient(116deg,transparent 6%,rgba(255,248,218,.12) 6.5%,rgba(255,248,218,.12) 19%,rgba(101,100,124,.035) 19.5%,rgba(101,100,124,.035) 21%,rgba(255,248,218,.10) 21.5%,rgba(255,248,218,.10) 39%,transparent 39.5%);}

/* Wall shadows project down/right; the narrow first shadow keeps shelf contact. */
.board{filter:drop-shadow(1px 2px 1px rgba(57,45,61,.44)) !important;box-shadow:none !important;}
.shelves:before,.shelves:after{content:"";display:block !important;position:absolute;z-index:-1;height:5.5%;border-radius:0;transform-origin:top left;transform:skewX(34deg);filter:blur(2px) !important;background:linear-gradient(to bottom,rgba(65,57,78,.38),rgba(65,57,78,.19) 55%,transparent) !important;pointer-events:none;}
.shelves:before{left:0;top:32.5%;width:100%;}
.shelves:after{left:12%;top:73.3%;width:88%;}

/* Restore the reference arrangement: compact top board and grouped ceramics. */
@media(min-width:981px){
 .shelves .board.upper{left:0;width:100%;}
 .shelves .board.lower{left:12%;width:88%;}
 .shelves:before{left:0;width:100%;}
 .shelves:after{left:12%;width:88%;}
 .shelves .vase-ivory{left:5%;}
 .shelves .vase-sage{left:28%;}
 .shelves .vase-terracotta{left:48%;}
}

/* Scale the shelf arrangement uniformly from scene height, including its props.
   Both boards share the same thickness; only their lengths differ. */
@media(min-width:981px){
 .shelves-position{width:calc(var(--height)*.65*.72);height:calc(var(--height)*.65);}
 .shelves{--shelf-board-thickness:6%;}
 .shelves .board.upper,.shelves .board.lower{height:var(--shelf-board-thickness);}
 .shelves:before{top:calc(26.5% + var(--shelf-board-thickness));}
 .shelves:after{top:calc(66.5% + var(--shelf-board-thickness));}
 .shelves .brush-object{left:25%;width:18%;}
}



/* Compact portrait composition; desktop retains its existing layout. */
.mobile-web{display:none;}
.mobile-shelf-window{display:contents;}


/* proportions.css */
/* One scene unit; copy fits its available column without stretching badge gaps. */
.studio{--scene-unit:calc(var(--height)/72);}
.copy{container-type:inline-size;}
.copy h1,.copy .tagline,.copy .downloads{--copy-unit:min(var(--scene-unit),2cqi);}
.copy h1{font-size:calc(var(--copy-unit)*7.5);line-height:1.12;}
.copy .tagline{font-size:calc(var(--copy-unit)*3);line-height:1.3;margin:.55em 0 1em;}
.copy .downloads{display:flex;justify-content:center;align-items:center;gap:calc(var(--copy-unit)*3.57);}
/* Native artwork ratios, equal height. Gap / badge height is always 0.6. */
.copy .downloads img{flex:0 0 auto;width:auto;max-width:none;height:calc(var(--copy-unit)*5.95);object-fit:contain;}
@media(min-width:981px){
 /* Use the browser's available height, rather than the old 2.4:1 banner ratio. */
 .studio{--height:100vh;height:var(--height);}
 @supports(height:100svh){.studio{--height:100svh;}}
 .palette-position{width:calc(var(--scene-unit)*52);}
}

/* Translation keeps each group's existing size, transforms and reflections intact. */
.palette-position{translate:var(--adjust-palette-x,0px) var(--adjust-palette-y,0px);}
.phone-position{translate:var(--adjust-phone-x,0px) var(--adjust-phone-y,0px);}
.shelves-position{translate:var(--adjust-shelves-x,0px) var(--adjust-shelves-y,0px);}

/* Approved desktop placement. Local sliders use these same absolute offsets. */
@media(min-width:981px){
 .studio{--adjust-palette-x:60px;--adjust-palette-y:22px;--adjust-phone-x:0px;--adjust-phone-y:58px;--adjust-shelves-x:68px;--adjust-shelves-y:0px;}
}

/* As extra horizontal space opens up, bring the shelf group toward the phone.
   The approved placement is unchanged through a 2:1 desktop viewport. */
@media(min-width:981px){
 .shelves-position{right:calc(clamp(26px,3vw,100px) + max(0px,(100vw - 200svh)*.32));}
}


/* media-polish.css */
/* Keep the label below the notch camera and scale it with the phone itself. */
.phone .sound-prompt{left:32%;top:4%;width:36%;height:1.3%;font-size:clamp(7px,calc(var(--phone-w)*.027),12px);line-height:1;gap:3px;align-items:center;justify-content:center;}
.phone .sound-prompt .media-symbol{font-size:clamp(9px,calc(var(--phone-w)*.033),14px);line-height:1;}
.phone .sound-prompt:before{inset:-10px -4px;}
/* Every button and the seek input shares one 44px row and center line. */
.phone .video-controls{left:5.263%;right:5.12%;bottom:2.24%;padding:14px 6% 8px;gap:2px;align-items:center;}
.phone .video-controls .control{display:flex;align-items:center;justify-content:center;flex:0 0 32px;width:32px;height:44px;min-width:32px;min-height:44px;padding:0;line-height:1;}
.phone .video-controls .control[hidden]{display:none;}
.phone .video-controls .media-symbol{display:block;font-size:21px;line-height:1;}
.phone .seek-label{display:flex;align-items:center;flex:1 1 0;min-width:0;height:44px;padding:0 5px;}
#seek{appearance:none;-webkit-appearance:none;display:block;width:100%;height:44px;margin:0;padding:0;border:0;background:transparent;cursor:pointer;}
#seek::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:rgba(255,255,255,.85);}
#seek::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:12px;height:12px;border-radius:50%;margin-top:-4px;background:white;border:0;box-shadow:none;}
#seek::-moz-range-track{height:4px;border-radius:2px;background:rgba(255,255,255,.85);}
#seek::-moz-range-thumb{width:12px;height:12px;border-radius:50%;background:white;border:0;box-shadow:none;}


/* foreground.css */

@media(min-width:981px){
 /* Extend the counter below the frame without shifting its back edge. */
 .room{transform:scaleY(1.18);transform-origin:50% 72%;}
 .plant-position{transform:none;}
 .plant-table-reflection{transform:none;}
 /* Clip at the room's tabletop, outside the scaled shelf group. */
 .mobile-shelf-window{display:block;position:absolute;inset:0;z-index:2;pointer-events:none;clip-path:inset(-100% -100% 29.18% -100%);}
 .shelves-position{scale:.84;transform-origin:right top;clip-path:none;overflow:visible;}
 .studio{--adjust-palette-x:48px;--adjust-palette-y:-19px;--adjust-phone-x:0px;--adjust-phone-y:58px;--adjust-shelves-x:63px;--adjust-shelves-y:0px;}
 .palette-position{width:calc(var(--height)*1.0);left:-8%;bottom:-3.5%;filter:blur(clamp(1.2px,.16vw,3px));}
}


/* how-to.css */
/* Blend the table into the page. */
.studio:after{content:"";position:absolute;z-index:6;pointer-events:none;left:0;right:0;bottom:0;height:clamp(70px,9vh,125px);background:linear-gradient(transparent,var(--paper));}


/* playful.css */
/* Clearer light and tactile interactions; preserve all approved prop placements. */
:root{--play-accent:#b94d3e;--play-tint:#fae7dc;}
.room{filter:saturate(.97) contrast(1.035);}
.room-tone{opacity:.22;}
.studio{--scenery-blur:clamp(.35px,.035vw,.8px);}
.palette-position{filter:blur(clamp(.6px,.07vw,1.4px));}
.copy{color:#293e42;}
.copy .tagline span{position:relative;display:inline-block;isolation:isolate;}
.copy .tagline span:after{content:"";position:absolute;z-index:-1;left:-2%;right:-2%;bottom:0;height:.16em;background:#df947a;clip-path:polygon(0 28%,94% 0,100% 71%,7% 100%);transform-origin:left;animation:paint-word .55s .35s both;}
.copy .tagline span:nth-child(2):after{background:#d9b14a;animation-delay:.6s;}
.copy .tagline span:nth-child(3):after{background:#79aaa1;animation-delay:.85s;}
@keyframes paint-word{from{transform:scaleX(0);}to{transform:scaleX(1);}}
.header nav a{position:relative;}.header nav a:after{content:"";position:absolute;left:0;right:0;bottom:-5px;height:3px;background:#bd6b55;transform:scaleX(0);transform-origin:left;transition:transform .2s ease;}
.header nav a:hover:after,.header nav a:focus-visible:after{transform:scaleX(1);}
.downloads img{transition:transform .22s ease;}
@media(hover:hover){.downloads img:hover{transform:translateY(-3px) rotate(-1deg);}}

/* Clean white gallery with a defined, neutral card edge. */
.studio:after{background:linear-gradient(transparent,#fff);}

.copy .downloads{position:relative;top:12px;}
@media(min-width:981px){.header{font-size:clamp(14px,1.2vw,23px);}.header nav{gap:clamp(18px,1.8vw,40px);}}
.motion-paused *,.motion-paused *:before,.motion-paused *:after{animation:none!important;transition:none!important;}
@media(prefers-reduced-motion:reduce){.copy .tagline span:after{animation:none;}.downloads img,.header nav a:after{transition:none;}}

/* Placement from the annotated desktop mock. */
@media(min-width:981px){
 .header{top:4%;left:19%;}
 .phone-position{left:calc(var(--phone-x) + 1.5vw);}
 .copy .downloads{top:calc(var(--scene-unit)*4.7);}
}


/* nav-focus-trial.css */
/* Keep room depth of field; navigation and palette use their earlier styling. */
.studio{--scenery-blur:clamp(1.2px,.13vw,2.6px);}
.room{filter:saturate(.97) contrast(1.035) blur(clamp(.8px,.08vw,1.8px));}


/* walkthrough.css */
/* One original room and phone for both preview and walkthrough. */
.tour-scroll{position:relative;}
.tour-copy{position:absolute;left:19%;width:calc(var(--phone-x) - var(--phone-w)/2 - 19% - 55px);top:43%;transform:translateY(-50%);z-index:6;text-align:center;color:#35484d;}
.tour-copy[hidden],.tour-panel[hidden]{display:none;}
.tour-eyebrow{font-size:12px;letter-spacing:.1em;text-transform:uppercase;margin:0 0 22px;color:#647e8c;}
.tour-count{margin-left:12px;letter-spacing:0;}
.tour-panel h2{font-size:clamp(28px,3vw,48px);font-weight:500;letter-spacing:-.035em;line-height:1.2;margin:0 0 18px;}
.tour-panel p{font-size:clamp(14px,1.2vw,19px);line-height:1.6;max-width:380px;margin:0 auto;}
.tour-timeline{display:flex;justify-content:center;gap:5px;position:relative;margin:25px auto 12px;width:max-content;}
.tour-timeline:before{content:"";position:absolute;left:22px;right:22px;top:50%;height:1px;background:#718b9c60;pointer-events:none;}
.tour-dot{position:relative;width:40px;height:44px;display:grid;place-items:center;background:transparent;border:0;padding:0;border-radius:50%;}
.tour-dot span{width:12px;height:12px;border-radius:50%;border:1.5px solid #718b9c;background:#f5f8f9;transition:background .2s,box-shadow .2s;}
.tour-dot[aria-pressed="true"] span{background:#617f91;box-shadow:0 0 0 4px #718b9c22;}
.tour-back{border:0;background:transparent;color:#647e8c;font-size:11px;padding:10px;text-decoration:underline;text-underline-offset:3px;}
.tour-screen{position:absolute;left:5.263158%;top:2.242467%;width:89.615932%;height:95.585144%;object-fit:fill;opacity:0;pointer-events:none;transition:opacity .25s ease;}
.tour-screen.is-active{opacity:1;}
.studio.tour-active .copy{visibility:hidden;pointer-events:none;}
.studio.tour-active .video-controls,.studio.tour-active .sound-prompt,.studio.tour-active .replay{display:none!important;}
.mobile-tour-entry{display:none;}
@media(min-width:981px){.tour-scroll{height:700svh;}.tour-scroll>.studio{position:sticky;top:0;}}
@media(prefers-reduced-motion:reduce){.tour-screen,.tour-dot span{transition:none;}}

/* Match the recording: remove export padding, cover the captured device status bar. */
.tour-screen{top:calc(2.242467% - var(--export-offset,0%));transform:translateX(16px);transition:opacity .45s ease,transform .55s cubic-bezier(.22,.8,.25,1);}
.tour-screen.is-active{transform:translateX(0);}
.studio.tour-active .phone-video-clip{background:#fff;}
.studio.tour-active #preview{opacity:0;}
.studio.tour-active .phone-video-clip:after{content:"";position:absolute;left:5.263158%;top:2.242467%;width:89.615932%;height:5.4%;background:#fefefe;pointer-events:none;}
.tour-panel:not([hidden]){animation:tour-caption-in .45s ease both;}
@keyframes tour-caption-in{from{opacity:0;transform:translateY(10px);}to{opacity:1;transform:translateY(0);}}
/* Colored Material symbols, a filling track, and a spring on the selected circle. */
.tour-copy{padding-left:80px;text-align:left;}
.tour-panel p{margin-left:0;}
.tour-timeline{position:absolute;left:0;top:50%;transform:translateY(-50%);flex-direction:column;gap:12px;width:50px;margin:0;}
.tour-timeline:before,.tour-timeline:after{content:"";position:absolute;left:24px;right:auto;top:25px;bottom:25px;width:2px;height:auto;pointer-events:none;}
.tour-timeline:before{background:#718b9c35;}
.tour-timeline:after{background:linear-gradient(#4d91a3,#c77752,#b2933b,#9874a6,#528d7a,#b7657b);transform:scaleY(var(--tour-progress,0));transform-origin:top;transition:transform .6s cubic-bezier(.22,.8,.25,1);}
.tour-dot{width:50px;height:50px;z-index:1;}
.tour-dot span{display:grid;place-items:center;width:42px;height:42px;font-size:23px;line-height:1;border:1.5px solid var(--step-color);background:color-mix(in srgb,var(--step-color) 12%,#fff);color:var(--step-color);box-shadow:0 2px 5px #35484d12;transition:background .25s,color .25s,box-shadow .25s;}
.tour-dot[aria-pressed="true"] span{background:var(--step-color);color:#fff;box-shadow:0 0 0 5px color-mix(in srgb,var(--step-color) 18%,transparent),0 4px 9px #35484d20;animation:tour-dot-pop .5s cubic-bezier(.2,.8,.3,1);}
.tour-dot.is-complete span{background:color-mix(in srgb,var(--step-color) 24%,#fff);}
@keyframes tour-dot-pop{0%{transform:scale(.8);}55%{transform:scale(1.16);}100%{transform:scale(1);}}
@media(prefers-reduced-motion:reduce){.tour-screen,.tour-timeline:after,.tour-dot span{transition:none;}.tour-dot[aria-pressed="true"] span,.tour-panel:not([hidden]){animation:none;}}

/* One shared crop: all source app headers begin at row 319. */
.tour-screen{top:calc(2.242467% - 1.8924359%);}
.studio.tour-active .phone-video-clip:after{display:none;}
.tour-status{display:none;position:absolute;left:5.263158%;top:2.242467%;width:89.615932%;height:5.4%;background:#fff;pointer-events:none;}
.studio.tour-active .tour-status{display:block;}

@font-face{font-family:TourSymbols;src:url('assets/timeline-symbols-v2.ttf');font-weight:400;font-style:normal;font-display:block;}
.tour-dot .material-symbols-outlined{font-family:TourSymbols;font-weight:400;font-style:normal;font-feature-settings:'liga';font-variant-ligatures:normal;text-transform:none;letter-spacing:normal;white-space:nowrap;overflow:hidden;}

/* Fixed caption slots prevent vertical jumps between different text lengths. */
.tour-copy{height:280px;}
.tour-panel{position:absolute;left:80px;right:0;top:42px;}
.tour-panel h2{min-height:2.4em;display:flex;align-items:flex-start;margin-bottom:12px;}
.tour-panel:not([hidden]){animation:none;}
.tour-back{position:absolute;left:80px;bottom:0;}
@media(min-width:981px){
 .tour-copy{left:23%;width:calc(var(--phone-x) - var(--phone-w)/2 - 23% - 30px);}
 .tour-panel h2{font-size:clamp(26px,2.6vw,42px);}
}
.tour-dot span,.tour-dot.is-complete span{background:transparent;box-shadow:none;transform:scale(.9);}
.tour-dot[aria-pressed="true"] span{background:var(--step-color);color:#fff;transform:scale(1.18);animation:tour-active-pop .4s ease both;}
@keyframes tour-active-pop{0%{transform:scale(.9);}65%{transform:scale(1.25);}100%{transform:scale(1.18);}}
/* Track segments stay outside the hollow circles. */
.tour-timeline:before,.tour-timeline:after{display:none;}
.tour-dot:not(:last-child):after{content:"";position:absolute;top:48px;left:24px;width:2px;height:14px;background:#718b9c40;}
.tour-dot.is-complete:after{background:var(--step-color);}
@media(prefers-reduced-motion:reduce){.tour-dot[aria-pressed="true"] span{animation:none;}}

/* Distinct paint dabs; only the selected dab carries its existing icon. */
.tour-dot{isolation:isolate;}
.tour-dot:before{content:"";position:absolute;inset:0;background:var(--step-color);mask:var(--dab-shape) center/contain no-repeat;-webkit-mask:var(--dab-shape) center/contain no-repeat;transform:rotate(var(--dab-turn)) scale(var(--dab-scale));transition:transform .4s cubic-bezier(.2,.8,.3,1);z-index:0;}
.tour-dot[aria-pressed="true"]:before{transform:rotate(var(--dab-turn)) scale(1.22);}
.tour-dot .material-symbols-outlined,.tour-dot.is-complete .material-symbols-outlined{position:relative;z-index:1;border:0;border-radius:0;background:transparent;box-shadow:none;color:#fff;opacity:0;transform:none;animation:none;transition:opacity .2s ease;}
.tour-dot[aria-pressed="true"] .material-symbols-outlined{background:transparent;border:0;box-shadow:none;transform:none;animation:none;opacity:1;}
.tour-dot:not(:last-child):after{z-index:-1;background:#718b9c35;}
.tour-dot.is-complete:after{background:#718b9c35;}
.tour-dot:nth-child(1){--dab-shape:url("assets/timeline-dabs/dab-1.svg");--dab-turn:-9deg;--dab-scale:0.78;}
.tour-dot:nth-child(2){--dab-shape:url("assets/timeline-dabs/dab-2.svg");--dab-turn:8deg;--dab-scale:0.69;}
.tour-dot:nth-child(3){--dab-shape:url("assets/timeline-dabs/dab-3.svg");--dab-turn:-5deg;--dab-scale:0.8;}
.tour-dot:nth-child(4){--dab-shape:url("assets/timeline-dabs/dab-4.svg");--dab-turn:12deg;--dab-scale:0.74;}
.tour-dot:nth-child(5){--dab-shape:url("assets/timeline-dabs/dab-5.svg");--dab-turn:-12deg;--dab-scale:0.72;}
.tour-dot:nth-child(6){--dab-shape:url("assets/timeline-dabs/dab-6.svg");--dab-turn:5deg;--dab-scale:0.79;}
@media(prefers-reduced-motion:reduce){.tour-dot:before,.tour-dot .material-symbols-outlined{transition:none;}}

/* Each completed connection blends the neighboring paint colors. */
.tour-dot{--next-color:var(--step-color);}
.tour-dot:nth-child(1){--next-color:#c77752;}
.tour-dot:nth-child(2){--next-color:#b2933b;}
.tour-dot:nth-child(3){--next-color:#9874a6;}
.tour-dot:nth-child(4){--next-color:#528d7a;}
.tour-dot:nth-child(5){--next-color:#b7657b;}
.tour-dot:not(:last-child):after{top:34px;left:20px;width:10px;height:42px;border-radius:45% 55% 38% 62% / 8% 14% 12% 9%;background:linear-gradient(to bottom,var(--step-color),var(--next-color));opacity:.10;clip-path:polygon(23% 0,74% 0,89% 24%,69% 49%,90% 76%,70% 100%,24% 100%,9% 77%,29% 50%,11% 23%);transform:scaleY(1);transform-origin:top;transition:opacity .25s ease;}
.tour-dot.is-complete:not(:last-child):after{opacity:.85;animation:paint-stream .55s cubic-bezier(.2,.7,.3,1) both;}
@keyframes paint-stream{from{transform:scaleY(0);opacity:.15;}to{transform:scaleY(1);opacity:.85;}}
@keyframes paint-stream-mobile{from{transform:scaleX(0);opacity:.15;}to{transform:scaleX(1);opacity:.85;}}
@media(prefers-reduced-motion:reduce){.tour-dot.is-complete:not(:last-child):after{animation:none;}.tour-dot:not(:last-child):after{transition:none;}}

/* Inline SVG avoids external SVG mask failures on local-file previews. */
.tour-dot:before{display:none;}
.tour-dot .paint-dab{position:absolute;inset:0;width:100%;height:100%;fill:var(--step-color);overflow:visible;pointer-events:none;z-index:0;transform:rotate(var(--dab-turn)) scale(var(--dab-scale));transition:transform .4s cubic-bezier(.2,.8,.3,1);}
.tour-dot[aria-pressed="true"] .paint-dab{transform:rotate(var(--dab-turn)) scale(1.22);}
@media(prefers-reduced-motion:reduce){.tour-dot .paint-dab{transition:none;}}

/* A single flowing stroke continues behind the dabs to the edge of the scene. */
.tour-paint-stream{display:none;pointer-events:none;}
@media(min-width:981px){
 .tour-timeline{isolation:isolate;}
 .tour-dot:not(:last-child):after{display:none;}
 .tour-paint-stream{display:block;position:absolute;left:5px;top:20px;width:36px;height:calc(60svh + 180px);overflow:visible;z-index:-1;}
 .paint-stream-base{fill:#bb9ca7;opacity:.42;}
 .paint-stream-color{fill:url(#tour-stream-colors);opacity:.72;clip-path:inset(0 0 calc(100% - var(--tour-progress,0)*310px) 0);transition:clip-path .65s cubic-bezier(.2,.7,.3,1);}
}
@media(prefers-reduced-motion:reduce){.paint-stream-color{transition:none;}}

/* Smooth paint deposits and a tapered finish just past the final step. */
@media(min-width:981px){
 .tour-paint-stream{left:5px;top:25px;width:36px;height:350px;}
 .paint-stream-base{opacity:.32;}
 .paint-stream-color{clip-path:inset(0 0 calc(100% - var(--tour-progress,0)*350px) 0);}
}

/* Bristle marks remain linework, not filled patches. */
.tour-dot .paint-dab .dab-bristles{fill:none;}


/* timeline-layout.css */
/* Final paint timeline: fixed text slots, one phone, original room. */
.tour-copy{--dab-size:clamp(34px,4.6svh,50px);--step-pitch:clamp(54px,7.15svh,77.5px);--text-start:clamp(70px,5vw,100px);--heading-size:clamp(26px,2.6vw,44px);--title-slot:calc(var(--heading-size)*2.5);height:calc(var(--step-pitch)*5 + var(--dab-size) + 36px);padding:0;transform:none;top:23%;left:24%;width:calc(var(--phone-x) + 1.5vw - var(--phone-w)/2 - 24% - 30px);text-align:left;}
.tour-panel{left:var(--text-start);right:0;top:calc(var(--dab-size)/2 - var(--heading-size)*.6);height:calc(var(--title-slot) + 100px);animation:none!important;}
.tour-panel h2{position:absolute;top:0;left:0;right:0;display:block;height:var(--title-slot);min-height:0;margin:0;font-size:var(--heading-size);line-height:1.2;}
.tour-panel p{position:absolute;top:var(--title-slot);left:0;right:0;margin:0;max-width:440px;font-size:clamp(14px,1.2vw,20px);line-height:1.55;}
.tour-eyebrow{position:absolute;left:var(--text-start);top:calc(var(--dab-size)/2 - var(--heading-size)*.6 + var(--title-slot) + 100px);margin:0;font-size:clamp(10px,.8vw,13px);line-height:1.4;letter-spacing:.08em;}
.tour-count{margin-left:3px;}
.tour-back{left:var(--text-start);top:calc(var(--dab-size)/2 - var(--heading-size)*.6 + var(--title-slot) + 132px);bottom:auto;padding:4px 0;}
.tour-timeline{position:absolute;left:0;top:0;transform:none;display:flex;flex-direction:column;justify-content:flex-start;gap:calc(var(--step-pitch) - var(--dab-size));width:var(--dab-size);margin:0;isolation:isolate;}
.tour-dot{flex:none;width:var(--dab-size);height:var(--dab-size);}
.tour-dot:before,.tour-dot:after{display:none!important;}
.tour-dot .paint-dab{transform:scale(.95);width:100%;height:100%;inset:0;transition:transform .3s ease;}
.tour-dot[aria-pressed="true"]{z-index:3;}
.tour-dot[aria-pressed="true"] .paint-dab{transform:scale(1.65);}
.tour-dot .material-symbols-outlined{width:100%;height:100%;font-size:calc(var(--dab-size)*.58);}
.tour-dot:focus-visible{outline:2px solid #536e83;outline-offset:7px;border-radius:50%;}
.tour-texture-stream{position:absolute;display:block;pointer-events:none;left:calc(var(--dab-size)*-0.98);top:0;width:calc(var(--dab-size)*2.96);height:calc(var(--step-pitch)*5 + var(--dab-size) + 42px);z-index:0;overflow:visible;}
@media(min-width:981px){.header{left:19%;width:66%;justify-content:space-between;gap:20px;}.header nav{gap:clamp(18px,1.8vw,40px);}.header nav a[aria-current="page"]{font-weight:600;}}
@media(max-width:1250px) and (min-width:981px){.tour-copy{left:22%;width:calc(var(--phone-x) + 1.5vw - var(--phone-w)/2 - 22% - 25px);--text-start:64px;--heading-size:27px;}.header{left:15%;width:76%;}}
@media(prefers-reduced-motion:reduce){.tour-dot .paint-dab{transition:none;}}

/* Navigation and spacing refinement; keep text anchors fixed across steps. */
.header nav a[aria-current="page"]{font-weight:400;color:#354f65;}
.header nav a:after{background:#354f65;height:2px;}
.header nav a[aria-current="page"]:after{transform:scaleX(1);}
@media(min-width:1251px){.tour-copy{--title-slot:calc(var(--heading-size)*1.7);}}
@media(min-width:981px){.tour-copy{--step-pitch:clamp(60px,7.95svh,86px);}.tour-eyebrow{top:calc(var(--dab-size)/2 - var(--heading-size)*.6 + var(--title-slot) + 90px);}}
.copy .tagline span:after{left:-3%;right:-3%;bottom:-.12em;height:.22em;clip-path:none;background:transparent url('assets/tagline-strokes/peach.svg') center/100% 100% no-repeat;}
.copy .tagline span:nth-child(2):after{background:transparent url('assets/tagline-strokes/gold.svg') center/100% 100% no-repeat;}
.copy .tagline span:nth-child(3):after{background:transparent url('assets/tagline-strokes/teal.svg') center/100% 100% no-repeat;}

@media(min-width:981px){.tour-copy{--title-slot:calc(var(--heading-size)*1.7);}}

/* Use the Play on Web icon's existing blue; active marker is independent of hover. */
.header nav a[aria-current="page"]{font-weight:400;color:#536e83;}
.header nav a:after{background:#536e83;height:2px;border-radius:2px;bottom:-8px;}
.header nav a:hover:after{transform:scaleX(0);}
.header nav a[aria-current="page"]:after,.header nav a:focus-visible:after{transform:scaleX(1);}

/* Fixed navigation row and room for two short descriptive sentences. */
.tour-eyebrow{color:#536e83;text-transform:none;letter-spacing:0;}
.tour-controls{display:flex;align-items:center;gap:4px;}
.tour-controls-label{font-size:14px;margin-right:8px;}
.tour-count{min-width:42px;text-align:center;font-size:13px;font-variant-numeric:tabular-nums;letter-spacing:.08em;}
.tour-arrow{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;padding:8px;border:0;border-radius:4px;color:#536e83;background:transparent;cursor:pointer;}
.tour-arrow svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round;}
.tour-arrow:hover:not(:disabled){background:#536e830a;}
.tour-arrow:focus-visible{outline:2px solid #536e83;outline-offset:4px;}
.tour-arrow:disabled{opacity:.3;cursor:default;}
.tour-navigation-hint{margin:4px 0 0;font-size:11px;line-height:1.5;color:#536e83;letter-spacing:.01em;}
@media(min-width:981px){.tour-eyebrow{top:calc(var(--dab-size)/2 - var(--heading-size)*.6 + var(--title-slot) + 150px);}.tour-panel{height:calc(var(--title-slot) + 140px);}}

.tour-controls .tour-count{margin-left:0;}

/* Reuse the in-game tutorial navigation treatment. */
.tour-arrow {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;

  display: grid;
  place-items: center;

  padding: 0;
  border: 1px solid rgba(95, 127, 147, 0.18);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.96);
  color: #5f7f93;

  box-shadow:
    0 6px 16px rgba(30, 45, 55, 0.16),
    0 1px 3px rgba(30, 45, 55, 0.07),
    inset 0 1px 0 rgba(255, 255, 255, 0.86);

  cursor: pointer;
  transition:
    transform 0.14s ease,
    background 0.14s ease,
    border-color 0.14s ease,
    box-shadow 0.14s ease,
    opacity 0.14s ease;
}

.tour-arrow .material-symbols-outlined {
  font-size: 25px;
  line-height: 1;
}

.tour-arrow:hover:not(:disabled),
.tour-arrow:focus-visible:not(:disabled) {
  background: #ffffff;
  border-color: rgba(95, 127, 147, 0.28);
  box-shadow:
    0 8px 20px rgba(30, 45, 55, 0.18),
    0 2px 4px rgba(30, 45, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
}

.tour-arrow:active:not(:disabled) {
  transform: scale(0.95);
}

.tour-arrow:focus-visible {
  outline: 3px solid rgba(95, 127, 147, 0.28);
  outline-offset: 2px;
}

.tour-arrow:disabled {
  opacity: 0.42;
  cursor: default;
  box-shadow:
    0 3px 9px rgba(30, 45, 55, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
}


.tour-controls{gap:16px;}
.tour-controls .tour-arrow{width:44px;height:44px;flex:0 0 44px;}
.tour-controls .tour-arrow svg{width:25px;height:25px;fill:currentColor;stroke:none;}
.tour-controls .tour-count{margin:0 6px 0 0;}
.tour-navigation-hint{margin-top:10px;}

/* Minimal caret navigation; retain generous invisible click targets. */
.tour-controls{gap:0;}
.tour-controls .tour-count{margin:0;min-width:44px;letter-spacing:.04em;}
.tour-controls .tour-arrow,
.tour-controls .tour-arrow:hover:not(:disabled),
.tour-controls .tour-arrow:focus-visible:not(:disabled),
.tour-controls .tour-arrow:disabled{background:transparent;border:0;box-shadow:none;color:#536e83;}
.tour-controls .tour-arrow{width:36px;height:44px;flex-basis:36px;}
.tour-controls .tour-arrow svg{width:20px;height:20px;}
.tour-controls .tour-arrow:disabled{opacity:.3;}
.tour-controls .tour-arrow:hover:not(:disabled) svg{transform:scale(1.12);}

/* Larger visible carets with full touch targets. */
.tour-controls .tour-arrow{width:44px;height:44px;flex-basis:44px;}
.tour-controls .tour-arrow svg{width:28px;height:28px;}

/* Give the current section a little more emphasis. */
.header nav a[aria-current="page"]{font-weight:600;}

/* Explicit trailer playback: quiet circular controls stay visible in Preview. */
.studio:not(.tour-active) .phone .video-controls{opacity:1;pointer-events:auto;left:8%;right:8%;bottom:3.4%;padding:0;gap:8px;justify-content:center;background:none;border-radius:0;}
.phone .video-controls .control{flex:0 0 44px;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:1px solid #ffffffa6;border-radius:50%;background:rgba(42,59,68,.58);box-shadow:0 2px 7px #17242c20;backdrop-filter:blur(5px);color:#fff;}
.phone .video-controls .control:hover{background:rgba(42,59,68,.78);}
.phone .video-controls .control:focus-visible{outline:2px solid white;outline-offset:3px;}
.phone .video-controls .control:disabled{opacity:.45;}
.phone .video-controls .media-symbol{font-size:24px;}
.phone .video-controls .seek-label,.phone .video-controls #fullscreen{display:none;}
.phone .replay,.phone .sound-prompt{display:none;}
.studio.tour-active .phone .video-controls{display:none;}

/* Place playback over the painting, within the visible upper half of the phone. */
.studio:not(.tour-active) .phone .video-controls{left:8%;right:8%;top:38%;bottom:auto;height:56px;transform:translateY(-50%);}
.phone .video-controls #playback{position:absolute;left:50%;top:0;transform:translateX(-50%);width:56px;height:56px;flex-basis:56px;}
.phone .video-controls #playback .media-symbol{font-size:32px;}
.phone .video-controls #sound{position:absolute;left:calc(50% + 38px);top:6px;width:44px;height:44px;}
.phone .video-controls #sound[hidden]{display:none;}


.phone .video-controls #playback{background:rgba(42,59,68,.28);border-color:rgba(255,255,255,.55);box-shadow:0 1px 5px #17242c12;backdrop-filter:blur(2px);}
.phone .video-controls #playback:hover{background:rgba(42,59,68,.42);}
/* Transparency belongs to the circular background, not the play glyph. */
.phone .video-controls #playback{opacity:1;color:#fff;}
.phone .video-controls #playback .media-symbol{color:#fff;opacity:1;-webkit-text-fill-color:#fff;}

/* Once started, playback controls return to the phone footer. */
.studio.preview-started:not(.tour-active) .phone .video-controls{top:auto;bottom:2.24%;left:5.263%;right:5.12%;height:auto;transform:none;padding:14px 6% 8px;gap:2px;justify-content:flex-start;border-radius:0 0 28px 28px;background:linear-gradient(transparent,rgba(20,28,32,.65));}
.studio.preview-started .phone .video-controls #playback,
.studio.preview-started .phone .video-controls #sound,
.studio.preview-started .phone .video-controls #fullscreen{position:static;transform:none;flex:0 0 32px;width:32px;min-width:32px;height:44px;min-height:44px;padding:0;border:0;border-radius:8px;background:transparent;box-shadow:none;backdrop-filter:none;color:#fff;}
.studio.preview-started .phone .video-controls .control .media-symbol{font-size:21px;}
.studio.preview-started .phone .video-controls .seek-label{display:flex;}
.studio.preview-started .phone .video-controls #fullscreen:not([hidden]){display:flex;}
.studio.preview-started .phone .video-controls #playback[hidden]{display:none;}
.studio.preview-ended:not(.tour-active) .phone .replay:not([hidden]){display:flex;top:57.5%;left:50%;transform:translate(-50%,-50%);width:35%;height:6.1%;padding:0 8px;border-radius:999px;align-items:center;justify-content:center;background:#f5f8f9;color:#405d72;}


/* reviews.css */
/* Paper reviews on the continuing studio tabletop; isolated from the hero layout. */
.player-reviews{position:relative;isolation:isolate;padding:72px 24px 82px;color:#35484d;background:linear-gradient(to bottom,#fff 0,rgba(255,255,255,.72) 100px,rgba(255,252,248,.76) 72%,#faf8f4 100%),url('assets/room.webp') center bottom/auto 500% no-repeat;scroll-margin-top:24px;}
.reviews-heading{position:relative;z-index:1;text-align:center;max-width:660px;margin:0 auto 36px;}
.reviews-heading h2{margin:0;font-size:clamp(20px,2vw,28px);font-weight:500;line-height:1.3;letter-spacing:.075em;}
.reviews-heading>p{margin:14px auto 0;font-size:16px;line-height:1.6;color:#53656b;max-width:570px;}
.review-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;max-width:1140px;margin:auto;padding:8px 6px 22px;}
.review-list:focus-visible{outline:2px solid #536e83;outline-offset:6px;border-radius:12px;}
.review-card{--review-paper:#fffdf7;position:relative;margin:0;min-width:0;display:flex;filter:drop-shadow(0 7px 10px #554c5715);transition:transform .2s ease;}
.review-paper{position:relative;display:flex;flex-direction:column;gap:22px;width:100%;padding:30px 30px 34px;border-radius:20px 20px 0 0;background:radial-gradient(ellipse at 15% 0,#ffffffad,transparent 75%),var(--review-paper);box-shadow:inset 0 1px 0 #ffffff;}
.review-paper:after{content:"";position:absolute;left:0;right:0;top:calc(100% - 1px);height:13px;background:var(--review-paper);mask:url('assets/review-paper-edge.png') center/100% 100% no-repeat;-webkit-mask:url('assets/review-paper-edge.png') center/100% 100% no-repeat;transform:scaleY(-1);pointer-events:none;}
.review-card:nth-child(2) .review-paper:after{transform:scale(-1,-1);}
.review-card-featured{--review-paper:#fffaf0;filter:drop-shadow(0 7px 12px #ad874c24);}
.review-card-featured .review-paper{box-shadow:inset 0 2px 0 #dbc5927a;}
.review-rating{font-size:19px;letter-spacing:.12em;color:#92702f;line-height:1;}
.review-card blockquote{padding:0;margin:0;flex:1;}
.review-card blockquote p{margin:0;font-size:clamp(17px,1.35vw,20px);font-weight:400;line-height:1.65;letter-spacing:-.015em;}
.review-card-featured blockquote p{font-weight:500;}
.review-card figcaption{display:flex;flex-direction:column;gap:5px;padding-top:4px;}
.review-name{font-size:14px;font-weight:500;line-height:1.4;}
.review-source{font-size:12px;color:#617176;line-height:1.5;}

@media(hover:hover){.review-card:hover{transform:translateY(-3px);}}
@media(min-width:641px) and (max-width:1000px){.review-list{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;}.review-card:last-child{grid-column:1/-1;width:calc((100% - 28px)/2);justify-self:center;}}
@media(prefers-reduced-motion:reduce){.review-card{transition:none;}.review-card:hover{transform:none;}.review-list{scroll-behavior:auto;}}

/* Two five-star reviews, matching white paper and the site's blue. */
.player-reviews{padding-top:36px;}
.reviews-heading{margin-bottom:24px;}
.review-list{grid-template-columns:repeat(2,minmax(0,1fr));max-width:820px;}
.review-card{--review-paper:#fff;filter:drop-shadow(0 7px 10px #554c5715);}
.review-rating{color:#536e83;}
@media(min-width:641px) and (max-width:1000px){.review-card:last-child{grid-column:auto;width:auto;justify-self:stretch;}}

/* Three supplied five-star reviews; all use the same paper treatment. */
.review-list{grid-template-columns:repeat(3,minmax(0,1fr));max-width:1140px;}
@media(min-width:641px) and (max-width:1000px){.review-list{grid-template-columns:repeat(2,minmax(0,1fr));max-width:760px;}.review-card:last-child{grid-column:1/-1;width:calc((100% - 28px)/2);justify-self:center;}}

/* Quiet, permanent destinations for app information. */
.site-footer{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:12px 28px;margin:0;padding:8px 24px 24px;background:#faf8f4;color:#536e83;font-size:13px;}
.site-footer :is(a,button){display:inline-flex;align-items:center;min-height:44px;text-decoration:underline;text-underline-offset:4px;text-decoration-color:#536e8345;}
.site-footer :is(a,button):hover{text-decoration-color:currentColor;}

/* A softer finish, with quiet painted accents rather than a ruled footer. */
.site-footer{border:0;gap:10px 26px;padding:4px 24px 32px;}
.site-footer :is(a,button){position:relative;text-decoration:none;font-size:13px;font-weight:400;padding:0 2px;isolation:isolate;}
.site-footer :is(a,button):after{content:"";position:absolute;z-index:-1;left:0;right:0;bottom:8px;height:5px;background:url('assets/tagline-strokes/teal.svg') center/100% 100% no-repeat;opacity:.3;transition:opacity .18s ease;}
.site-footer :is(a,button):nth-child(2):after{background-image:url('assets/tagline-strokes/peach.svg');}
.site-footer :is(a,button):nth-child(3):after{background-image:url('assets/tagline-strokes/gold.svg');}
.site-footer :is(a,button):nth-child(4):after{background:#9874a6;mask:url('assets/tagline-strokes/teal.svg') center/100% 100% no-repeat;-webkit-mask:url('assets/tagline-strokes/teal.svg') center/100% 100% no-repeat;}
.site-footer :is(a,button):hover:after,.site-footer :is(a,button):focus-visible:after{opacity:.7;}
@media(prefers-reduced-motion:reduce){.site-footer :is(a,button):after{transition:none;}}

/* Keep the footer close to the review cards and their scroll cue. */
.player-reviews{padding-bottom:16px;}
.site-footer{padding-top:0;padding-bottom:20px;}


/* navigation.css */
/* Store badges remain the same artwork and size when linked. */
.copy .downloads a{display:block;line-height:0;flex:0 1 auto;}
.copy .downloads a img{display:block;}
@media(prefers-reduced-motion:reduce){.header #navigation,.header .menu-toggle span{transition:none;}}


.phone-video-clip{
  background:#fff;
}


/* The title stays still; retain the original painted underline reveal. */
@media(prefers-reduced-motion:reduce){.copy .tagline span:after{animation:none;}}
/* Pointer clicks do not leave a focus box; keyboard focus stays visible. */
.header a:focus:not(:focus-visible),.menu-toggle:focus:not(:focus-visible){outline:none;}
.header nav a:focus-visible{outline:none;text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:7px;background:#ffffff38;border-radius:5px;}
.menu-toggle:focus-visible{outline:2px solid #536e83;outline-offset:-7px;border-radius:12px;}

/* Descriptor uses the existing gap, without adding hero height. */
.copy .game-descriptor{--copy-unit:min(var(--scene-unit),2cqi);position:absolute;left:0;right:0;top:calc(var(--copy-unit)*15.2);bottom:auto;margin:0;font-size:clamp(13px,1.1vw,18px);line-height:1.4;color:#53656b;}
.visually-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0;}
.explore-hint{position:absolute;left:50%;bottom:20px;transform:translateX(-50%);z-index:9;pointer-events:none;opacity:0;transition:opacity .2s ease;color:#35484d;background:#f8f8f4eb;border-radius:14px;padding:7px 12px;font-size:13px;white-space:nowrap;}
.explore-hint.visible{opacity:1;}
@media(prefers-reduced-motion:reduce){.explore-hint{transition:none;}}

/* MOBILE STUDIO
   One coordinate system for Preview and all six steps. The room artwork has
   its horizon at 71.5% of its height. Every wall crop and reflection uses that
   same horizon. Only width/orientation changes recompute the compact mode. */
@media (max-width:980px) {
  html { background:#f8f8f4; }
  /* One stable neutral for page edges, reviews and footer. */
  body { background:#f8f8f4; }
  .tour-scroll {
    position:relative;
    --phone-w:min(68.5vw,328px);
    --phone-h:calc(var(--phone-w)*2.029872);
    /* Cover the viewport with the scene; only content observes the top inset.
       This restores the same usable-screen anchor after viewport-fit=cover. */
    --scene-safe-top:var(--mobile-safe-top,env(safe-area-inset-top,0px));
    --mobile-phone-top:calc(172px + var(--scene-safe-top));
    --phone-bottom:calc(var(--mobile-phone-top) + var(--phone-h));
    --table-horizon:calc(var(--mobile-phone-top) + var(--phone-h)*.79);
    --room-height:calc(var(--table-horizon)/.715);
    --plant-top:calc(var(--mobile-phone-top) - 12px);
    --plant-height:calc(var(--table-horizon) - var(--plant-top));
    /* Palette starts 7px below the phone; leave 42px after its artwork for the soft review transition. */
    --foreground-height:calc(var(--palette-width)*.1833333333 + 49px);
    --studio-height:calc(var(--phone-bottom) + var(--foreground-height));
    --palette-width:min(114vw,560px);
    height:calc(var(--mobile-stable-height,100svh)*6 + var(--studio-height));
  }
  .tour-scroll > .studio {
    position:sticky; top:0; height:var(--studio-height); min-height:0;
    --phone-w:inherit; --phone-h:inherit;
    --scenery-blur:1.6px;
    --adjust-phone-x:0px; --adjust-phone-y:0px;
    --adjust-palette-x:0px; --adjust-palette-y:0px;
    --adjust-shelves-x:0px; --adjust-shelves-y:0px;
    background:#f8f8f4;
  }

  /* One room image, never stretched by the dynamic browser viewport. */
  .room {
    inset:0; transform:none;
    background-image:url('assets/room.webp');
    background-size:auto var(--room-height);
    background-position:22% top; background-repeat:no-repeat;
    background-color:#f8f8f4;
    filter:saturate(.97) contrast(1.035);
  }
  .room:after {
    content:''; position:absolute; left:0; right:0;
    top:calc(var(--room-height) - 150px); height:150px;
    background:linear-gradient(rgba(248,248,244,0),rgba(248,248,244,.35) 35%,#f8f8f4 72%,#f8f8f4); pointer-events:none;
  }
  .room:before { content:none; }
  .room-tone { opacity:.22; background:rgba(244,237,219,.08); }
  .counter-light, .floor-plant-wall-shadow { display:none; }
  .studio:after {
    top:auto; bottom:0; height:150px; z-index:3;
    background:linear-gradient(rgba(248,248,244,0),rgba(248,248,244,.35) 35%,#f8f8f4 72%,#f8f8f4);
  }

  /* Real plants stop at the wall/table boundary. Reflections start below it. */
  .plant-position {
    left:-16%; top:var(--plant-top); width:42%; height:var(--plant-height);
    transform:none; clip-path:none; overflow:hidden;
  }
  .plant-position .left-plant {
    position:absolute; left:-30%; top:0; width:auto; max-width:none;
    height:125%; object-fit:contain;
  }
  .plant-table-reflection {
    display:block; position:absolute; z-index:1;
    left:-16%; right:auto; top:var(--table-horizon); bottom:auto;
    width:42%; height:calc(var(--plant-height)*.32);
    transform:none; clip-path:none; overflow:hidden;
    opacity:.18; pointer-events:none;
    mask-image:linear-gradient(#000,rgba(0,0,0,.35) 40%,transparent 85%);
    -webkit-mask-image:linear-gradient(#000,rgba(0,0,0,.35) 40%,transparent 85%);
  }
  .plant-table-reflection img {
    position:absolute; left:-30%; top:calc(var(--plant-height)*.32);
    height:calc(var(--plant-height)*1.25); width:auto; max-width:none;
    transform:scaleY(-.32); transform-origin:top left; filter:none;
  }
  .mobile-shelf-window {
    display:block; position:absolute; z-index:2; right:0;
    top:calc(var(--mobile-phone-top) - 28px);
    width:calc((100% - var(--phone-w))/2 + 13px);
    height:calc(var(--table-horizon) - var(--mobile-phone-top) + 28px);
    overflow:hidden;
  }
  .mobile-shelf-window .shelves-position {
    --shelf-height:calc(var(--phone-h)*.79 + 40px);
    display:block; left:auto; right:calc(3vw - 56px); top:55px;
    width:calc(var(--shelf-height)*.72); height:var(--shelf-height);
    clip-path:none; scale:.88; transform-origin:right top;
  }
  .shelves .trailing { right:-26%; height:112%; }
  .shelves .upper { top:26.5%; }

  /* The anchor never depends on .tour-active or caption measurement. */
  .phone-position {
    left:50%; top:var(--mobile-phone-top);
    width:var(--phone-w); height:var(--phone-h);
    transform:translateX(-50%); translate:0 0; z-index:4;
  }
  .phone-contact { display:block; top:99.1%; opacity:1; }
  .phone-reflection {
    display:block; top:100%; left:0; width:100%; height:100%;
    transform:none; opacity:.18; filter:blur(1px); z-index:0;
    clip-path:inset(0 0 84% 0);
    mask-image:linear-gradient(rgba(0,0,0,.8),rgba(0,0,0,.2) 5%,transparent 14%);
    -webkit-mask-image:linear-gradient(rgba(0,0,0,.8),rgba(0,0,0,.2) 5%,transparent 14%);
  }
  /* The transparent top 45% of the palette asset is included in this offset.
     Visible paint begins 7px below the phone base, with brushes below it. */
  .palette-position {
    display:block; left:-14%; width:var(--palette-width);
    top:calc(var(--phone-bottom) + 7px - var(--palette-width)*.15);
    bottom:auto; transform:none; translate:0 0; z-index:5; filter:blur(.55px);
  }


  /* Palette arrives at the end of the sticky tour in normal document flow.
     A shared foreground height keeps the transition below the whole phone. */
  .palette-exit {
    position:absolute; bottom:0; left:0; width:100%; height:var(--foreground-height);
    overflow:hidden; pointer-events:none; z-index:7;
  }
  .palette-exit .palette-position {
    top:calc(7px - var(--palette-width)*.15); bottom:auto;
  }
  .palette-exit:after {
    content:''; position:absolute; left:0; right:0; bottom:0; height:150px;
    background:linear-gradient(rgba(248,248,244,0),rgba(248,248,244,.08) 30%,rgba(248,248,244,.25) 45%,rgba(248,248,244,.7) 60%,#f8f8f4 72%,#f8f8f4); z-index:6;
  }

  /* Fixed copy slots, prominent badges, and the existing painted timeline. */
  .copy, .tour-copy {
    top:calc(12px + var(--scene-safe-top)); left:6%; width:88%; height:150px; padding:0;
    transform:none; text-align:center; box-sizing:border-box;
  }
  .copy h1 {
    position:absolute; top:0; left:24px; right:24px; margin:0; padding:0;
    font-size:clamp(39px,10.2vw,58px); line-height:1.05;
    letter-spacing:-.045em; white-space:nowrap;
  }
  .copy .tagline {
    position:absolute; top:45px; left:0; right:0; margin:0;
    font-size:clamp(20px,5vw,28px); font-weight:400;
    letter-spacing:normal; line-height:1.3;
  }
  .copy .downloads {
    position:absolute; top:94px; bottom:auto; left:0; right:0; margin:0;
    display:flex; justify-content:center; align-items:center; gap:clamp(14px,4vw,22px);
  }
  .copy .game-descriptor { top:calc(48px + clamp(26px,6.5vw,36.4px)); bottom:auto; font-size:12px; line-height:1.2; }
  .copy .downloads { top:calc(68px + clamp(26px,6.5vw,36.4px)); }
  .explore-hint { top:calc(var(--mobile-phone-top) + 10px); bottom:auto; }
  .copy .downloads a { min-width:0; }
  .copy .downloads img { height:clamp(40px,9.4vw,50px); width:auto; max-width:100%; object-fit:contain; }
  .tour-copy { --dab-size:40px; }
  .tour-panel { left:0; right:0; top:0; height:78px; }
  .tour-panel h2 {
    display:block; left:30px; right:30px; top:0; min-height:0; height:31px;
    margin:0; font:500 clamp(20px,5vw,28px)/1.3 Montserrat,sans-serif;
    letter-spacing:normal; white-space:nowrap;
  }
  .tour-panel p { top:34px; font-size:15px; line-height:1.32; max-width:560px; margin:0 auto; }
  .tour-timeline {
    top:86px; left:50%; width:calc(100vw - 60px); max-width:760px; height:44px;
    transform:translateX(-50%); flex-direction:row;
    justify-content:space-between; align-items:center; gap:0; margin:0;
  }
  .tour-dot { width:44px; height:44px; flex:0 0 44px; }
  .tour-dot .paint-dab { width:40px; height:40px; inset:2px; }
  .tour-dot:not([aria-pressed="true"]) .paint-dab { width:34px; height:34px; inset:5px; }
  .tour-dot[aria-pressed="true"] .paint-dab { transform:scale(1.35); }
  .tour-dot .material-symbols-outlined { font-size:22px; }
  .tour-dot:not(:last-child):after { display:none; }
  .tour-texture-stream {
    width:100px; height:calc(100vw - 34px); max-height:786px;
    left:50%; top:50%; transform:translate(-50%,-50%) rotate(-90deg);
    clip-path:inset(6% 0 10% 0);
  }
  .tour-eyebrow { top:134px; left:0; right:0; height:12px; margin:0; font-size:10px; line-height:1; pointer-events:none; }
  .tour-controls { display:block; height:12px; }
  .tour-controls .tour-count { display:block; min-width:0; margin:0; font-size:10px; line-height:1; letter-spacing:.04em; text-align:center; }
  .tour-controls .tour-prev, .tour-controls .tour-next,
  .tour-controls-label, .tour-navigation-hint, .mobile-tour-entry, .tour-back { display:none; }

  /* Swipe navigation and tap-to-reveal trailer controls. */
  .studio.tour-active .phone { touch-action:pan-y; }
  .studio.preview-started:not(.tour-active) .phone .video-controls { transition:opacity .22s ease; }
  .studio.preview-started:not(.tour-active):not(.preview-paused) .phone:not(.controls-visible) .video-controls { opacity:0; pointer-events:none; }
  .studio.preview-started:not(.tour-active) .phone.controls-visible .video-controls,
  .studio.preview-started.preview-paused:not(.tour-active) .phone .video-controls { opacity:1; pointer-events:auto; }

  /* Full-area menu with the existing hamburger animation. */
  .header { left:0; top:var(--scene-safe-top); width:100%; height:56px; display:block; z-index:8; }
  .header > .web { display:none; }
  .menu-toggle { display:flex; flex-direction:column; gap:5px; width:clamp(52px,15vw,88px); height:clamp(48px,12vw,70px); min-width:44px; min-height:44px; padding:10px; align-items:center; justify-content:center; background:transparent; border:0; border-radius:0; }
  .menu-toggle:before { content:''; position:absolute; top:0; left:0; right:-6px; bottom:4px; border-radius:0 0 85% 0; background:#f7eeebd9; z-index:-1; pointer-events:none; }
  .menu-toggle span { width:28px; height:2px; background:var(--ink); }
  body.menu-open { overflow:hidden; }
  .studio.menu-open { z-index:50; }
  .studio.menu-open .header { z-index:100; }
  .header .menu-toggle { position:relative; z-index:102; }
  .header .menu-toggle span { translate:-3px -3px; transition:transform .32s ease,opacity .18s ease; transform-origin:center; }
  .header .menu-toggle[aria-expanded="true"] span:first-child { transform:translateY(7px) rotate(45deg); }
  .header .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity:0; transform:scaleX(.3); }
  .header .menu-toggle[aria-expanded="true"] span:last-child { transform:translateY(-7px) rotate(-45deg); }
  .header #navigation { position:fixed; inset:0; z-index:101; display:flex; flex-direction:column; justify-content:center; align-items:center; gap:20px; width:100%; height:100dvh; margin:0; padding:max(80px,env(safe-area-inset-top)) max(28px,env(safe-area-inset-right)) max(60px,env(safe-area-inset-bottom)) max(28px,env(safe-area-inset-left)); border:0; border-radius:0; box-shadow:none; background:radial-gradient(ellipse at 12% 20%,#ded5edc9,transparent 65%),radial-gradient(ellipse at 90% 85%,#ffe2cfb8,transparent 60%),#fcf8f2f7; backdrop-filter:blur(18px); opacity:0; visibility:hidden; transform:translateY(-14px); pointer-events:none; transition:opacity .28s ease,transform .32s ease,visibility .32s; overflow-y:auto; }
  .header #navigation.open { opacity:1; visibility:visible; transform:none; pointer-events:auto; }
  .header #navigation a, .header #navigation .mobile-web { display:block; min-height:44px; margin:0; padding:10px 8px; border:0; font-size:clamp(24px,6vw,36px); line-height:1.4; color:#536e83; }
  .header #navigation a:after { bottom:4px; }

  /* The studio owns the only palette. Reviews start just after its fade. */
  /* Reclaim only 24px of the fully neutral fade tail, leaving artwork clear.
     Keep the recovered space inside the carousel so torn edges and shadows
     can fade out without clipping; card and footer positions stay unchanged. */
  .player-reviews { margin-top:-24px; padding:0; z-index:8; background:#f8f8f4; }
  .reviews-heading { padding:0 24px; margin:0 auto 12px; }
  .reviews-heading h2 { font-size:20px; letter-spacing:.055em; }
  .review-list { display:flex; gap:18px; overflow-x:auto; scroll-snap-type:x mandatory; scroll-padding-inline:22px; max-width:none; padding:8px 22px 44px; scrollbar-width:thin; scrollbar-color:#879da5 #536e8310; }
  .review-card, .review-card:last-child { flex:0 0 min(86%,380px); width:auto; scroll-snap-align:start; }
  .review-paper { padding:26px 24px 30px; gap:20px; }
  .review-card blockquote p { font-size:17px; line-height:1.6; }
  .review-list::-webkit-scrollbar { display:block; height:5px; }
  .review-list::-webkit-scrollbar-track { background:#536e8310; border-radius:99px; }
  .review-list::-webkit-scrollbar-thumb { background:#879da5; border-radius:99px; }
  .site-footer { background:#f8f8f4; flex-wrap:nowrap; gap:clamp(6px,2.4vw,12px); padding:0 max(12px,env(safe-area-inset-right)) max(8px,env(safe-area-inset-bottom)) max(12px,env(safe-area-inset-left)); }
  .site-footer a, .site-footer button.analytics-preferences { flex:0 0 auto; white-space:nowrap; font-size:clamp(11px,3.47vw,13px); }

  /* Small viewport mode is based on svh, not Safari's changing innerHeight. */
  .compact-mobile .tour-scroll { --phone-w:min(66vw,calc((var(--mobile-stable-height,100svh) - 190px - var(--scene-safe-top))/2.029872)); }
  .compact-mobile .copy h1 { font-size:clamp(32px,9.3vw,38px); }
  .compact-mobile .copy .tagline, .compact-mobile .tour-panel h2 { font-size:21px; }
}

/* Small breathing-room adjustments in the phone-sized hero copy slot. */
@media (max-width:480px) {
  .copy .game-descriptor { top:calc(51px + clamp(26px,6.5vw,36.4px)); }
  .copy .downloads { top:calc(73px + clamp(26px,6.5vw,36.4px)); }
}

@media (max-width:360px) {
  .copy h1 { left:20px; right:20px; font-size:35px; }
  .tour-panel h2 { left:26px; right:26px; font-size:18px; }
  .tour-panel p { font-size:14px; }
  .tour-timeline { width:calc(100vw - 44px); }
  .tour-dot { flex-basis:44px; }
  .tour-texture-stream { height:calc(100vw - 18px); }
  .copy .downloads { gap:12px; }
  .copy .downloads img { height:36px; }
}

@media (max-width:980px) and (prefers-reduced-motion:reduce) {
  .header #navigation, .header .menu-toggle span,
  .studio.preview-started:not(.tour-active) .phone .video-controls { transition:none; }
}
