.hero {background:#111526;padding-block:clamp(3rem,5.7vw,6rem);isolation:isolate}
.hero::after {content:"";position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 82% 43%,#62447377,transparent 60%)}
.hero-in {grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr)}
.hero .h1 {font-size:clamp(3rem,5.55vw,5.8rem);line-height:.99;max-width:11ch}
.hero .h1 em {color:#ffbc96}
.hero .eyebrow {color:#ffccae}
.hero .btn {background:#ffccae}
.poster {margin:0;min-width:0;position:relative;isolation:isolate;overflow:hidden;border-radius:6px;aspect-ratio:1.44;background:#292340;color:white;box-shadow:0 32px 80px #06081466}
.poster-art,.studio-art {position:absolute;inset:0;pointer-events:none}
.poster-art,.loma .studio-art {background:url('/ridgeline.png') center /cover;animation:ridge-pan 5s ease-out both}
@keyframes ridge-pan {from{transform:scale(1.11) translateX(-1%)}to{transform:scale(1)}}
.poster::after {content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(0deg,#111325aa,transparent 55%)}
.poster-word,.poster-title,.poster-caption {position:absolute;z-index:1;left:6%;color:#fff8e7}
.poster-word,.brandword {font-weight:800;letter-spacing:.18em;font-size:1rem}
.poster-title {bottom:15%;font:italic clamp(2.6rem,5.3vw,5.8rem)/.87 Georgia,serif;letter-spacing:-.065em}
.poster-caption {bottom:5%;font:.85rem/1.25 monospace;letter-spacing:.03em}
.poster-word {top:6%}
.lab {background:#f2f1f7;padding:clamp(3rem,6vw,6rem) 0;color:#383e55;scroll-margin-top:6rem}
.lab h2 {font-size:clamp(2.4rem,5vw,4.7rem);line-height:1;letter-spacing:-.065em;margin:.2rem 0 .7rem}
.lab-intro {margin-bottom:1.5rem}
.lab-tabs {display:flex;flex-wrap:wrap;gap:.5rem;margin-bottom:1rem}
.lab button,.lab select {font:inherit;cursor:pointer}
.lab-tabs button,.lab-tools button,.lab-tools select,.demo-action {border:1px solid #b4b8cb;border-radius:.5rem;background:white;color:#212840;padding:.55rem .9rem}
.lab-tabs button[aria-pressed=true] {background:#242039;color:white;border-color:#242039}
.lab-tools {display:flex;flex-wrap:wrap;align-items:end;gap:.8rem;padding:1rem clamp(1rem,3vw,2rem);background:white;border:1px solid #d8d7e1;border-radius:14px 14px 0 0}
.lab-tools label {font-weight:700;font-size:.875rem;display:grid;gap:.25rem}
.lab-tools select {max-width:100%;min-height:42px}
.lab-tools button {margin-left:auto}
.lab-stage {min-height:330px;height:clamp(330px,41vw,490px);position:relative;overflow:hidden;border-radius:0 0 14px 14px;background-color:#e7e6ef;background-image:radial-gradient(#aaa8c2 1px,transparent 1px);background-size:14px 14px}
.studio-unit {position:absolute;left:50%;top:50%;overflow:hidden;isolation:isolate;transform-origin:center;box-shadow:0 12px 32px #20203735;container-type:size;background:#252038;color:#fff}
.studio-art {z-index:-1}
.studio-unit.loma .studio-art:after {content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0d0b25a6,transparent 78%)}
.studio-copy {position:absolute;inset:0;padding:clamp(6px,6cqmin,38px);display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between}
.brandword {font-size:clamp(9px,5cqmin,24px);line-height:1}
.studio-head {font:italic clamp(14px,18cqmin,90px)/.93 Georgia,serif;letter-spacing:-.065em;color:inherit;max-width:9ch;text-wrap:balance}
.studio-offer {display:inline-block;border:1px solid currentColor;padding:.35em .65em;border-radius:30px;font:bold clamp(8px,4cqmin,16px)/1.1 system-ui}
.studio-unit.wide .studio-copy {flex-direction:row;align-items:center;gap:2%;padding:2cqmin 4cqmin}
.studio-unit.wide .studio-head {max-width:none;font-size:clamp(13px,38cqmin,55px)}
.studio-unit.wide .brandword,.studio-unit.wide .studio-offer {font-size:clamp(9px,14cqmin,19px)}
.studio-unit.tiny .studio-offer {display:none}
.citra {color:#27340a;background:#d7f34b}
.citra .studio-art {background:repeating-conic-gradient(from 9deg at 85% 47%,#ffa21f 0deg 27deg,#ffe09a 28deg 30deg);clip-path:ellipse(35% 57% at 89% 44%);animation:fruit-in 1.2s ease-out both}
@keyframes fruit-in {from{transform:translateX(17%) rotate(8deg)}}
.nox {background:linear-gradient(120deg,#141226,#352778 82%);color:#e6dcff}
.nox .studio-art {background:repeating-radial-gradient(ellipse at 90% 51%,transparent 0 3%,#aa8bff99 3.5%,transparent 4.8%);animation:wave-in 2s ease-out both}
@keyframes wave-in {from{transform:scale(1.45);opacity:.3}}
.studio-unit.replaying .studio-head {animation:headline-in .75s ease-out both}
@keyframes headline-in {from{opacity:0;translate:0 8px}}
.lab-meta {margin-top:.8rem;font-size:.95rem}
.demo-action {position:absolute;right:12px;bottom:12px;z-index:3;font-weight:700!important;background:#222039;color:white}
.studio-unit.native {background:#fff;color:#242131}
.native .studio-art {inset:0 55% 0 0}
.native .studio-copy {left:45%;padding:5%}
.native .brandword {font-size:12px}
.native .studio-head {font-size:clamp(18px,14cqmin,30px)}
.play-line {position:absolute;bottom:0;left:0;width:100%;height:4px;background:#ffcc86;transform-origin:left;animation:playline 5s linear both}
@keyframes playline {from{transform:scaleX(0)}}
@media(max-width:900px){.hero-in{grid-template-columns:1fr}.poster{width:100%;max-width:680px}.hero .h1{max-width:16ch}}
@media(max-width:520px){.lab-tools button{margin-left:0}.lab-tools{gap:.5rem}.lab-tabs button{padding:.5rem .7rem}.lab-stage{height:365px}.poster-title{font-size:clamp(2.6rem,11vw,4rem)}}
@media(prefers-reduced-motion:reduce){.poster-art,.studio-unit *{animation:none!important}}


.lab-stage.anchor-preview::before {content:"";position:absolute;inset:7% 9% 3%;border-radius:8px;background:linear-gradient(135deg,#dadbe6 35%,transparent 35%) 8% 10% / 46% 45% no-repeat,repeating-linear-gradient(#e1e2eb 0 5px,transparent 5px 19px) 86% 25% / 37% 32% no-repeat,#fafafd;border:1px solid #c8c6d6}
.anchor-preview .studio-unit {top:auto;bottom:5%;translate:0 50%}
