:root{color-scheme:dark;font-family:Inter,"Segoe UI",sans-serif;color:#f7f5f0;background:#182e3b;scroll-behavior:smooth}
*{box-sizing:border-box}body{margin:0}a{color:inherit;text-decoration:none}button{font:inherit}a:focus-visible,button:focus-visible{outline:2px solid #ffe0ac;outline-offset:6px}
.landscape{position:fixed;inset:0;overflow:hidden;pointer-events:none;background:linear-gradient(180deg,#233d54 0%,#637a8b 19%,#b19a9d 32%,#e7ad9b 42%,#f5cbac 49%,#738e92 57%,#244d5b 75%,#112e3e 100%)}
.sun{position:absolute;left:calc(62% - 4.5vmin);top:calc(46% - 4.5vmin);width:9vmin;height:9vmin;border-radius:50%;background:#ffe6bc;box-shadow:0 0 55px 30px #ffdab96b,0 0 180px 85px #ffbf9638;filter:blur(1px)}
.water{position:absolute;inset:49% 0 0;background:radial-gradient(ellipse at 62% 0%,#ecc3a975,transparent 45%),linear-gradient(#7a9394,#204657 50%,#102735);opacity:.85}
#ocean{position:absolute;inset:0;width:100%;height:100%}.haze{position:absolute;top:43%;height:15%;width:100%;background:linear-gradient(transparent,#eec3ac55,transparent);filter:blur(18px)}
.header{position:fixed;z-index:2;inset:0 0 auto;min-height:104px;padding:28px 4vw;display:flex;align-items:center;justify-content:space-between;gap:28px;background:linear-gradient(#122a3ca6,transparent)}
.identity{display:block;flex-shrink:0}.identity img{display:block;width:184px;max-height:54px;filter:brightness(0) invert(1);opacity:.92}
nav{display:flex;align-items:center;gap:clamp(18px,2.5vw,40px)}nav a{position:relative;font-size:12px;letter-spacing:.04em;padding:10px 0;color:#f7f5f0;text-shadow:0 1px 8px #152c3e}nav a::after{content:"";position:absolute;bottom:2px;left:0;width:100%;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .25s}nav a:hover::after,nav a[aria-current]::after{transform:scaleX(1)}
.header nav .shop-now{padding:10px 17px;border:1px solid #d9eee785;border-radius:999px;background:#dcebe715;color:#fff;letter-spacing:.07em;transition:background .25s,border-color .25s,color .25s}.header nav .shop-now::after{display:none}.header nav .shop-now:hover,.header nav .shop-now[aria-current]{background:#dcebe7;color:#173442;border-color:#dcebe7;text-shadow:none}
main{position:relative}section{min-height:100svh;scroll-margin-top:0}section:focus{outline:none}.scene-footer{position:fixed;z-index:2;bottom:0;left:0;right:0;padding:24px 4vw;display:flex;align-items:center;justify-content:space-between;gap:16px;background:linear-gradient(transparent,#102735c9);font-size:10px;letter-spacing:.16em}.scroll-cue{position:absolute;left:50%;transform:translateX(-50%)}#motion{border:0;border-bottom:1px solid #f7f5f050;background:transparent;color:inherit;padding:8px 0;font-size:10px;letter-spacing:.04em;cursor:pointer}#motion[hidden]{display:none}
.sr-only,.skip:not(:focus){position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.skip:focus{position:fixed;z-index:5;left:20px;top:12px;background:#102735;padding:12px}
@media(max-width:640px){.header{padding:22px 6vw;gap:18px;flex-direction:column;align-items:flex-start}.identity img{width:150px;max-height:42px}nav{width:100%;justify-content:space-between;gap:10px}nav a{font-size:11px}.scene-footer{padding:18px 6vw;font-size:8px;letter-spacing:.08em}.scroll-cue{display:none}}
@media(prefers-reduced-motion:reduce){:root{scroll-behavior:auto}nav a::after{transition:none}}

/* Transparent architectural frame: the surrounding sea stays visible through the glass. */
.hero-video{display:grid;place-items:center;padding:132px 6vw 100px}
.glass-screen{position:relative;width:min(100%,1040px,calc((100svh - 300px)*16/9));padding:12px;border:1px solid #f7f5f045;border-radius:18px;background:linear-gradient(135deg,#f7f5f01f,#c6e7e80a 45%,#ffcab518);backdrop-filter:blur(18px) saturate(115%);-webkit-backdrop-filter:blur(18px) saturate(115%);box-shadow:0 30px 90px #07192340,inset 0 1px 0 #ffffff50,inset 0 -1px 0 #88e6d21a}
.glass-screen::before{content:"";position:absolute;top:-1px;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,#e7fefa,transparent);pointer-events:none}
.screen-bar,.screen-base{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:8px 10px 17px;font-size:9px;letter-spacing:.17em;color:#fff;text-shadow:0 1px 5px #102735}
.screen-label{display:flex;align-items:center;gap:9px}.signal{width:5px;height:5px;border-radius:50%;background:#c4efdf;box-shadow:0 0 10px #88e6d280}
.screen-descriptor{font-size:8px;letter-spacing:.14em}.screen-player{position:relative;aspect-ratio:16/9;overflow:hidden;border:1px solid #f7f5f030;border-radius:8px;background:#0b1a23;box-shadow:0 0 0 4px #112e3e15}
.screen-player iframe{display:block;width:100%;height:100%;border:0}.screen-base{padding:17px 10px 6px;letter-spacing:.04em;font-size:10px}.screen-base a{padding:5px 0;border-bottom:1px solid #ffffff50}.screen-base a:hover{border-color:#fff}
@supports not (backdrop-filter:blur(1px)){.glass-screen{background:#294757b8}}
@media(max-width:640px){.hero-video{padding:156px 5vw 100px}.glass-screen{width:100%;padding:8px;border-radius:12px}.screen-bar{padding:8px 5px 13px;font-size:8px;letter-spacing:.09em}.screen-descriptor{font-size:7px;letter-spacing:.04em}.screen-base{padding:12px 5px 4px;font-size:9px;gap:8px}.screen-player{border-radius:5px}}
@media(max-height:600px) and (min-width:641px){.hero-video{padding:110px 6vw 82px}.glass-screen{width:min(80%,680px)}}


/* Introduce the laboratory before the film, on the same continuous landscape. */
.hero-video{gap:48px;align-content:start;padding-top:156px}
.hero-intro{width:min(100%,1040px);display:grid;grid-template-columns:1.15fr 1fr;gap:clamp(32px,6vw,96px);align-items:start;color:#102735}
.intro-eyebrow{margin:0 0 25px;font-size:10px;font-weight:600;letter-spacing:.15em;color:#f7f5f0}
.intro-heading h1{margin:0;font-size:clamp(44px,5.6vw,76px);line-height:1.02;letter-spacing:-.055em;font-weight:500;color:#f7f5f0;text-shadow:0 2px 28px #10273525}
.intro-statement{margin:24px 0 0;font-size:clamp(17px,1.6vw,21px);line-height:1.5;color:#f7f5f0;text-shadow:0 1px 12px #10273540}
.intro-details{padding:22px 26px;background:#102735b3;border:1px solid #f7f5f02b;border-radius:12px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:#f7f5f0}
.intro-details>div+div{margin-top:18px}.intro-details h2{margin:0 0 7px;font-size:10px;letter-spacing:.14em;text-transform:uppercase;font-weight:600;color:#c4efdf}.intro-details p{margin:0;font-size:14px;line-height:1.6}
.intro-action{display:inline-flex;gap:24px;align-items:center;margin-top:22px;padding:0 0 7px;border-bottom:1px solid #c4efdf90;font-size:12px}
.intro-trilogy{display:flex!important;flex-direction:column!important;gap:14px!important;padding:18px 20px}
.hero-intro .intro-trilogy .trilogy-item{display:grid;grid-template-columns:56px 1fr;gap:14px;align-items:center;position:relative;margin-top:0!important}
.hero-intro .intro-trilogy .trilogy-item:not(:last-child)::after{content:'';position:absolute;left:27px;bottom:-10px;width:2px;height:7px;background:linear-gradient(to bottom,#c4efdf70,#c4efdf15);border-radius:1px}
.trilogy-thumb{width:56px;height:56px;border-radius:10px;overflow:hidden;border:1px solid rgba(247,245,240,.28);box-shadow:0 4px 14px rgba(0,0,0,.35);background:#0d212d;flex-shrink:0}
.trilogy-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s ease}
.trilogy-item:hover .trilogy-thumb img{transform:scale(1.08)}
.trilogy-step{display:block;font-size:8.5px;font-weight:700;letter-spacing:.14em;color:#c4efdf;margin-bottom:2px;text-transform:uppercase}
.hero-intro .intro-trilogy h2{margin:0 0 3px!important;font-size:13px!important;font-weight:600!important;letter-spacing:.02em!important;color:#f7f5f0!important;text-transform:none!important}
.hero-intro .intro-trilogy p{margin:0!important;font-size:11.5px!important;line-height:1.45!important;color:#dfede7d6!important}
.intro-actions-group{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}
.intro-action-primary{display:inline-flex!important;align-items:center;gap:8px;background:rgba(196,239,223,.18)!important;border:1px solid #c4efdfb0!important;color:#ffffff!important;padding:8px 18px!important;border-radius:999px!important;font-size:12px!important;font-weight:600;text-decoration:none;box-shadow:0 4px 16px rgba(10,35,45,.4);transition:background .2s,border-color .2s,transform .2s;margin-top:0!important}
.intro-action-primary:hover{background:rgba(196,239,223,.32)!important;border-color:#c4efdf!important;transform:translateY(-1px)}
.intro-action-secondary{display:inline-flex!important;align-items:center;gap:8px;background:rgba(247,245,240,.06)!important;border:1px solid rgba(247,245,240,.3)!important;color:#dfede7!important;padding:8px 18px!important;border-radius:999px!important;font-size:12px!important;text-decoration:none;transition:background .2s,color .2s;margin-top:0!important}
.intro-action-secondary:hover{background:rgba(247,245,240,.15)!important;color:#ffffff!important}
.hero-video .glass-screen{width:min(100%,1040px)}
@media(max-width:760px){.hero-intro{grid-template-columns:1fr;gap:28px}.hero-video{gap:32px}.intro-details{padding:20px}.intro-eyebrow{font-size:9px}.intro-heading h1{font-size:clamp(44px,9vw,64px)}.intro-statement{margin-top:18px}}
@media(max-width:640px){.hero-video{padding-top:158px}}


/* Depth journey. Document sections retain native scroll and deep-link positions. */
.journey-scene{min-height:100svh;display:grid;place-items:center;padding:145px 6vw 90px}.journey-scene[hidden]{display:none!important}
.depth-plane{width:min(88vw,1040px)}
.journey-scene .hero-intro{width:100%}
.journey-scene .glass-screen{width:100%}
.depth-ready .journey-scene{display:block;height:var(--scene-step);min-height:0;padding:0}
.depth-ready #inicio{height:var(--intro-height)}
.depth-ready .journey-scene:last-child{height:100vh}
.depth-ready .depth-plane{position:fixed;left:50%;top:calc(50% + 21px);transform-origin:50% 50%;will-change:transform,opacity}
.depth-ready main{isolation:isolate}
.header,.scene-footer{z-index:50}
.depth-copy{max-width:720px;margin:auto;padding:clamp(25px,5vw,64px);background:#102735b3;border:1px solid #f7f5f040;border-radius:14px;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px)}
.depth-copy .intro-eyebrow{color:#c4efdf}
.depth-copy h2{font-weight:500;letter-spacing:-.045em;line-height:1.08;font-size:clamp(34px,5vw,64px);margin:0 0 24px}
.depth-copy p:not(.intro-eyebrow){font-size:clamp(15px,1.6vw,19px);line-height:1.65;max-width:52ch}
@media(max-width:640px){.depth-plane{width:90vw}.depth-ready .depth-plane{top:calc(50% + 33px)}.depth-ready .hero-intro{gap:20px}.depth-ready .intro-heading h1{font-size:44px}.depth-ready .intro-details{padding:16px 20px}.depth-ready .intro-details>div+div{margin-top:12px}.depth-ready .intro-details p{font-size:13px}.depth-ready .intro-statement{font-size:16px}.depth-ready .intro-eyebrow{margin-bottom:16px}}
@media(prefers-reduced-motion:reduce){.depth-ready .depth-plane{will-change:opacity}}


/* A shared horizon for the persistent trail of screens. */
.depth-ready .depth-plane{top:var(--stage-center);backface-visibility:hidden}
.depth-plane.is-distant .glass-screen,.depth-plane.is-distant .depth-copy,.depth-plane.is-distant .intro-details{backdrop-filter:none;-webkit-backdrop-filter:none}
.depth-ready main{overflow-x:clip}
.hero-intro{padding:clamp(20px,3vw,38px);border:1px solid #f7f5f045;border-radius:16px;background:linear-gradient(135deg,#173b4ccf,#1a3546a8);box-shadow:inset 0 1px #ffffff35,0 20px 70px #061c3326}
.hero-intro .intro-details{border:0;border-left:1px solid #f7f5f035;border-radius:0;background:transparent;backdrop-filter:none;padding:0 0 0 26px}
.sarga-window{max-width:760px;margin:auto;border:1px solid #f7f5f04a;border-radius:16px;background:#153443eb;box-shadow:inset 0 1px #ffffff3a,0 25px 80px #10273540;overflow:hidden}
.sarga-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:27px 32px;background:linear-gradient(120deg,#93b6a728,#eab2931c);border-bottom:1px solid #f7f5f035}
.sarga-kicker{margin:0 0 10px;font-size:9px;letter-spacing:.18em;color:#dce8df}
.sarga-wordmark{display:block;font-size:clamp(36px,5vw,58px);line-height:1;letter-spacing:-.055em;font-weight:500}.sarga-wordmark>span{color:#edb19a}.sarga-wordmark i{font-style:normal;font-size:11px;margin-left:8px;color:#a7deca;vertical-align:top}
.sarga-edition{font-size:8px;line-height:1.7;letter-spacing:.13em;color:#dce8df}
.sarga-post{padding:27px 32px}.post-byline{display:flex;align-items:center;gap:10px}.post-avatar{flex-shrink:0;display:grid;place-items:center;width:34px;height:34px;border:1px solid #a7deca70;border-radius:50%;font-size:11px;color:#c4efdf}.post-byline strong{display:block;font-size:12px}.post-byline div>span{display:block;font-size:10px;margin-top:4px;color:#c2d2d6}.post-byline time{margin-left:auto;white-space:nowrap;font-size:9px;letter-spacing:.05em;color:#c2d2d6}
.post-topic{margin:24px 0 10px;font-size:9px;letter-spacing:.14em;color:#c4efdf}.sarga-post h3{margin:0 0 12px;font-size:clamp(21px,2.6vw,30px);letter-spacing:-.025em;font-weight:500;line-height:1.2}.sarga-post>p:not(.post-topic){font-size:14px;line-height:1.7;margin:0 0 18px}.source-link{font-size:11px;color:#d1e8df;text-decoration:underline;text-underline-offset:4px;line-height:1.7}
.sarga-enter{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:20px 32px;background:#f7f5f008;border-top:1px solid #f7f5f026;font-size:12px}.sarga-enter:hover{background:#f7f5f015}
@media(max-width:760px){.hero-intro .intro-details{border-left:0;border-top:1px solid #f7f5f035;padding:18px 0 0}.sarga-banner,.sarga-post{padding:22px}.sarga-enter{padding:18px 22px}.sarga-edition{display:none}}
@media(max-width:640px){nav{gap:9px;overflow-x:auto;scrollbar-width:none}nav a{font-size:10px;white-space:nowrap;flex-shrink:0}.depth-ready .hero-intro .intro-details{padding:16px 0 0}.post-byline{flex-wrap:wrap}.post-byline time{font-size:8px}.sarga-post>p:not(.post-topic){font-size:13px}}

/* Persistent ES / EN control, shared with OXKines. */
.header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:clamp(16px,2.3vw,34px)}
.header nav{justify-self:end;min-width:0;max-width:100%}
.language-switch{display:flex;align-items:center;gap:5px;font-size:10px;color:#c2d2d6}
.language-switch button{border:0;border-bottom:1px solid transparent;background:transparent;padding:8px 3px;color:#c2d2d6;font-size:10px;cursor:pointer}
.language-switch button[aria-pressed="true"]{color:#fff;border-color:#c4efdf}
.language-switch button:hover{color:#fff}
@media(max-width:900px) and (min-width:641px){.header{column-gap:14px}.identity img{width:150px}.header nav{gap:15px}.header nav a{font-size:10px}}
@media(max-width:640px){.header{grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:15px 18px}.header .identity{grid-column:1;grid-row:1}.language-switch{grid-column:2;grid-row:1}.header nav{grid-column:1/-1;grid-row:2;width:100%;justify-self:stretch;justify-content:space-between;gap:12px}.header nav a{font-size:10px}.language-switch button{padding:9px 4px}}

/* Laboratory media and a separate, scroll-friendly 3D object screen. */
.gallery-stage{aspect-ratio:16/9;border-radius:8px;overflow:hidden;background:#102735b8}
.gallery-slide{margin:0;width:100%;height:100%}.gallery-slide[hidden]{display:none}
.gallery-slide img{display:block;width:100%;height:100%;object-fit:contain}
.gallery-stage .screen-player{height:100%;border:0}
.media-footer{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:15px 10px 7px}
.media-caption{font-size:12px;line-height:1.4;margin:0 0 6px}.media-original{font-size:10px;color:#c4efdf;text-decoration:underline;text-underline-offset:3px}.media-original[hidden]{display:none}
.media-controls,.model-controls{display:flex;align-items:center;gap:8px}.media-controls button,.model-controls button{border:1px solid #f7f5f03b;border-radius:5px;background:#163442a6;color:#f7f5f0;padding:8px 12px;cursor:pointer;min-height:38px}.media-controls button:hover,.model-controls button:hover{background:#376072}.media-count{font-size:10px;white-space:nowrap;color:#d7e6e6;min-width:42px;text-align:center}
.media-dots{display:flex;justify-content:center;gap:5px}.media-dots button{border:0;background:none;width:28px;height:24px;cursor:pointer;position:relative}.media-dots button:after{content:"";position:absolute;inset:10px 5px;background:#f7f5f047;border-radius:2px}.media-dots button[aria-pressed="true"]:after{background:#c4efdf}
.model-screen{background:linear-gradient(135deg,#133a49ed,#183641ce)}.model-heading{padding:8px 20px 0}.model-heading h2{font-weight:500;font-size:clamp(25px,3vw,40px);letter-spacing:-.035em;margin:0 0 8px}.model-heading p{font-size:13px;color:#d4e5e4;margin:0}
#oxk-view{height:clamp(220px,42vh,430px);width:100%;position:relative;background:radial-gradient(ellipse at 50% 60%,#88e6d213,transparent 65%)}#oxk-view canvas{width:100%;height:100%;display:block;cursor:default;touch-action:pan-y;pointer-events:none}#oxk-view.is-interactive canvas{cursor:grab;touch-action:none;pointer-events:auto}#oxk-view.is-interactive canvas:active{cursor:grabbing}.model-interaction{position:absolute;z-index:4;right:18px;top:18px;border:1px solid #c1dcd45e;border-radius:999px;background:#153b49d9;color:#eff7f2;padding:10px 16px;backdrop-filter:blur(14px);font:500 11px/1.2 system-ui;letter-spacing:.04em;cursor:pointer}.model-interaction[aria-pressed=true]{background:#c1ddd0;color:#153440}
.model-footer{padding:5px 20px 17px}#model-status{font-size:11px;line-height:1.5;color:#d4e5e4;margin:0 0 12px}.model-controls{flex-wrap:wrap}.model-controls button{font-size:12px}.model-controls button:disabled{opacity:.4;cursor:default}.model-controls button[hidden]{display:none}
.header nav{overflow-x:auto;scrollbar-width:none}.header nav a{white-space:nowrap;flex-shrink:0}

/* V6 Shop: catalogue and sales flow use the embedded configurator as one surface. */
.experience-v6 #cotizador .configurator-screen{padding:0 76px 0 0;background:linear-gradient(120deg,#102f3ee8,#173a46b8);border:1px solid #d9eee729;overflow:hidden}
.experience-v6 #cotizador .shop-commerce{display:grid;grid-template-columns:minmax(220px,.72fr) minmax(440px,1.55fr) auto;align-items:center;gap:clamp(18px,2vw,34px);padding:18px 24px;border-bottom:1px solid #c3ddd52e;background:#102d3ad9;backdrop-filter:blur(18px);transition:padding .35s}
.shop-intro .shop-eyebrow{margin:0 0 7px;font-size:8px;letter-spacing:.18em;color:#bfe3d5}.shop-intro h2{font-size:clamp(20px,2vw,31px);line-height:1.02;letter-spacing:-.045em;font-weight:500;margin:0 0 8px}.shop-intro p:last-child{font-size:10px;line-height:1.45;color:#c5d8d9;margin:0;max-width:38ch}
.shop-products{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.shop-products button{min-width:0;text-align:left;color:#f5f7f3;border:1px solid #c5ddd42e;border-radius:10px;background:#dcebe708;padding:11px;cursor:pointer;transition:background .2s,border-color .2s,transform .2s}.shop-products button:hover,.shop-products button.is-selected{background:#dcebe719;border-color:#cce7dc86;transform:translateY(-2px)}.shop-products button.is-available{border-color:#bfe4d16b}.shop-products span{display:block;font-size:8px;color:#aed8ca;margin-bottom:12px}.shop-products strong{display:block;font-size:12px;font-weight:550;line-height:1.2}.shop-products small{display:block;margin-top:6px;color:#b9ced0;font-size:8px;line-height:1.35}
.shop-actions{display:grid;gap:8px;min-width:190px}.shop-actions button{border-radius:999px;padding:11px 15px;font-size:10px;cursor:pointer}.shop-primary{border:1px solid #d9ece4;background:#dcebe7;color:#173442}.shop-secondary{border:1px solid #d9ece45c;background:transparent;color:#edf4ef}.shop-actions button:hover{filter:brightness(1.08)}
.experience-v6 #cotizador .quote-instructions{padding:6px 24px 8px}.experience-v6 #cotizador .configurator-viewport{flex:1;min-height:0}.experience-v6 #cotizador .shop-commerce.is-configuring{padding-top:10px;padding-bottom:10px}.experience-v6 #cotizador .shop-commerce.is-configuring .shop-intro p:last-child{display:none}
@media(max-width:900px){.experience-v6 #cotizador .shop-commerce{grid-template-columns:1fr auto}.shop-products{grid-column:1/-1;grid-row:2}.shop-actions{grid-column:2;grid-row:1}.shop-intro{grid-column:1;grid-row:1}}
@media(max-width:640px){.experience-v6 #cotizador .configurator-screen{padding-right:44px}.experience-v6 #cotizador .shop-commerce{display:block;padding:12px}.shop-intro p:last-child{display:none}.shop-intro h2{font-size:19px}.shop-products{display:flex;overflow-x:auto;margin-top:10px}.shop-products button{min-width:145px}.shop-actions{display:flex;margin-top:10px}.shop-actions button{flex:1;padding:9px;font-size:9px}.experience-v6 #cotizador .quote-instructions{display:none}}
@media(max-width:640px){.media-footer{padding:12px 4px 4px;gap:8px}.media-caption{font-size:10px}.media-controls{gap:4px}.media-controls button{padding:8px;min-width:34px}.media-original{font-size:9px}.model-heading,.model-footer{padding-left:12px;padding-right:12px}#oxk-view{height:300px}.model-controls{gap:5px}.model-controls button{padding:8px 10px}}
.sound-controls{display:flex;align-items:center;gap:10px}.sound-controls button{border:0;border-bottom:1px solid #f7f5f050;background:transparent;color:inherit;padding:8px 0;font:inherit;cursor:pointer;white-space:nowrap}.sound-controls input{width:65px;accent-color:#e6bd97}.sound-controls input[hidden]{display:none}@media(max-width:640px){.scene-footer{gap:8px}.sound-controls{gap:6px}.sound-controls input{width:45px}}
#sea-mode{border:0;border-bottom:1px solid #f7f5f050;background:transparent;color:inherit;padding:8px 0;font:inherit;letter-spacing:0;cursor:pointer;white-space:nowrap}@media(max-width:640px){.scene-footer{flex-wrap:wrap;justify-content:space-between}.scene-footer>span:first-child{display:none}.sound-controls input{width:42px}}
.tracker-screen{width:min(1120px,90vw)}.tracker-heading{padding:12px 26px}.tracker-heading h2{font-size:clamp(24px,3vw,36px);margin:0 0 6px}.tracker-description{margin:0;color:#c3d9dd;font-size:13px}.tracker-viewport{height:clamp(280px,49vh,530px);background:#06141d}.tracker-viewport iframe{display:block;width:100%;height:100%;border:0}.tracker-footer{display:flex;justify-content:space-between;gap:16px;padding:15px 26px;font-size:11px}.tracker-full{white-space:nowrap;color:#e8c3a4}.tracker-hint{color:#bcd4d8}@media(max-width:640px){.tracker-heading{padding:12px 16px}.tracker-footer{padding:12px 16px;flex-wrap:wrap}.tracker-screen .screen-bar{padding:14px 16px}.tracker-viewport{height:43vh;min-height:270px}.tracker-screen .screen-label{font-size:8px}.tracker-screen .tracker-full{font-size:10px}}
/* The portal is a floating globe, with no rectangular screen behind it. */
.tracker-screen.glass-screen{background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;overflow:visible}.tracker-screen.glass-screen::before,.tracker-screen.glass-screen::after{display:none}.tracker-screen .screen-bar{background:transparent;border:0}.tracker-viewport{background:transparent}.tracker-heading,.tracker-footer{text-shadow:0 2px 14px #061b27}.tracker-screen .tracker-viewport iframe{background:transparent;color-scheme:normal}
.academic-screen{width:min(1120px,90vw)}.academic-layout{display:grid;grid-template-columns:1.15fr 1fr;gap:32px;padding:24px 32px 32px}.academic-copy h2{font-size:clamp(26px,3vw,43px);line-height:1.1;letter-spacing:-.035em;margin:0 0 18px}.academic-intro{color:#c8dbdc;font-size:14px;line-height:1.6;max-width:440px}.academic-partner{border-top:1px solid #c7dddc33;padding-top:18px;margin-top:22px}.academic-partner>span{font-size:9px;letter-spacing:.15em;color:#b5e0d4}.academic-partner h3{font-size:22px;margin:8px 0}.academic-partner p{font-size:13px;color:#c8dbdc;line-height:1.5}.academic-upcoming>span{color:#e1bc97}.academic-image{margin:0;min-width:0;align-self:center}.academic-image img{display:block;width:100%;height:clamp(240px,40vh,410px);object-fit:cover;border-radius:12px}.academic-image figcaption{font-size:10px;color:#bad0d3;margin-top:10px}@media(max-width:640px){.academic-layout{gap:16px;padding:16px;grid-template-columns:1fr}.academic-copy h2{font-size:26px}.academic-intro{font-size:12px;margin-bottom:10px}.academic-partner{margin-top:12px;padding-top:10px}.academic-partner h3{font-size:18px;margin:5px 0}.academic-partner p{font-size:11px;margin:5px 0}.academic-image img{height:150px;object-position:center 46%}.academic-image figcaption{font-size:9px}}
.configurator-screen{width:min(1320px,94vw);background:linear-gradient(135deg,#183d49ed,#0b2534ed)}.configurator-heading{padding:12px 24px}.configurator-heading h2{font-size:clamp(23px,2.8vw,35px);margin:0 0 5px}.configurator-heading p{font-size:13px;color:#c2d7d8;margin:0}.configurator-viewport{height:clamp(360px,58vh,660px);background:#102b37;position:relative;cursor:zoom-in}.configurator-viewport iframe{display:block;width:100%;height:100%;border:0;pointer-events:none}.configurator-viewport.is-interactive{cursor:default}.configurator-viewport.is-interactive iframe{pointer-events:auto}.configurator-interaction{position:absolute;z-index:6;right:18px;top:18px;border:1px solid #c1dcd45e;border-radius:999px;background:#153b49e8;color:#eff7f2;padding:10px 16px;backdrop-filter:blur(14px);font:500 11px/1.2 system-ui;letter-spacing:.04em;cursor:pointer}.configurator-interaction[aria-pressed=true]{background:#c1ddd0;color:#153440}.configurator-full{font-size:11px;color:#e8c3a4}.configurator-footer{display:flex;justify-content:space-between;gap:12px;padding:13px 24px;font-size:11px}.configurator-note{color:#bed1d2}@media(max-width:640px){.configurator-heading{padding:12px 16px}.configurator-heading p{font-size:11px}.configurator-viewport{height:46vh;min-height:340px}.configurator-footer{padding:12px 16px;flex-wrap:wrap}.configurator-screen .screen-bar{padding:12px}.configurator-screen .screen-label{font-size:8px}.configurator-full{font-size:10px}.configurator-interaction{right:10px;top:10px;padding:9px 12px}}
.interaction-2x{position:absolute;z-index:5;left:50%;top:50%;transform:translate(-50%,-50%);color:#eff7f2a6;font-size:12px;font-weight:600;letter-spacing:.16em;text-shadow:0 2px 14px #071b28;pointer-events:none;animation:interaction-breathe 2.8s ease-in-out infinite}.interaction-2x[hidden]{display:none}.model-interaction,.configurator-interaction{display:none!important}@keyframes interaction-breathe{50%{opacity:.38;transform:translate(-50%,-50%) scale(.94)}}@media(prefers-reduced-motion:reduce){.interaction-2x{animation:none}}

/* Use the available stage without shrinking the interactive workspaces. */
.depth-plane{width:94vw;max-width:none}.depth-copy{max-width:none}.tracker-screen,.academic-screen,.configurator-screen{width:100%}.hero-intro{gap:clamp(30px,5vw,90px)}
.depth-ready #laboratorio .glass-screen{height:var(--stage-height);display:flex;flex-direction:column}.depth-ready .gallery-stage{flex:1;min-height:0;aspect-ratio:auto}.depth-ready .gallery-slide{height:100%}
.depth-ready .configurator-screen,.depth-ready .tracker-screen{height:var(--stage-height);display:flex;flex-direction:column;min-height:0}.configurator-screen{padding:8px;border-radius:12px}.configurator-screen .screen-bar{padding:5px 14px}.configurator-heading{padding:6px 14px 10px}.configurator-heading h2{font-size:24px}.depth-ready .configurator-viewport,.depth-ready .tracker-viewport{flex:1;min-height:0;height:auto}.configurator-footer{padding:8px 14px}.tracker-heading{padding:6px 24px 10px}.tracker-footer{padding:8px 24px}.tracker-screen .screen-bar{padding-top:4px;padding-bottom:8px}
#cotizador .depth-plane{width:97vw}.material-method,.application-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;margin-top:24px}.material-method>div,.application-grid>div{border-top:1px solid #bfd9d94d;padding-top:16px}.material-method small,.application-grid small{color:#c4efdf;font-size:10px;letter-spacing:.1em}.material-method h3,.application-grid h3{font-size:18px;font-weight:500;margin:10px 0}.depth-copy .material-method p,.depth-copy .application-grid p{font-size:13px;line-height:1.6;margin:0}.method-signature{font-size:12px;color:#c4efdf;letter-spacing:.08em;margin-top:24px}.development-state{font-size:11px!important;color:#bdd0d3}.depth-copy>p{max-width:74ch!important}
@media(max-width:760px){.material-method,.application-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.material-method h3,.application-grid h3{font-size:15px}.depth-copy .material-method p,.depth-copy .application-grid p{font-size:11px}.depth-copy{padding:22px}.configurator-heading h2{font-size:20px}.configurator-heading p{font-size:11px}.configurator-note{display:none}.configurator-footer{justify-content:flex-end}.depth-plane{width:94vw}}

@media(min-width:900px){#sarganews .sarga-window{max-width:none;display:grid;grid-template-columns:minmax(240px,.65fr) minmax(0,1.35fr)}#sarganews .sarga-banner{align-items:flex-start;flex-direction:column;justify-content:center;border-bottom:0;border-right:1px solid #f7f5f035;padding:clamp(28px,4vw,64px)}#sarganews .sarga-post{padding:clamp(28px,4vw,64px)}#sarganews .sarga-enter{grid-column:1/-1}}

/* The configurator is a set of floating instruments within the main landscape. */
.configurator-screen.glass-screen{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;border:0;box-shadow:none;padding:0}.configurator-screen.glass-screen:before{display:none}.configurator-viewport{background:transparent}.configurator-heading{padding:5px 10px 8px}.configurator-heading h2{font-weight:400;letter-spacing:-.04em}.configurator-screen .screen-bar{padding:4px 10px}.configurator-footer{padding:6px 10px}.configurator-viewport iframe{background:transparent;color-scheme:normal}

/* The quote is a single part of the journey, without an outer window. */
#cotizador .configurator-screen .screen-bar{display:none}
#cotizador .configurator-heading{padding:12px 20px 14px;background:#163745e8;border-bottom:1px solid #bad4ce20}
#cotizador .configurator-heading h2{font-size:clamp(24px,2.4vw,34px)}
#cotizador .configurator-footer{display:none}
#cotizador .configurator-screen{gap:0}
#cotizador .configurator-viewport iframe{border:0;border-radius:0}

#cotizador .configurator-heading{display:none}#cotizador .configurator-screen,#cotizador .configurator-viewport{background:transparent;border:0;padding:0}#cotizador .depth-plane{width:100vw}

.quote-active .journey-scene:not(#cotizador) .depth-plane{visibility:hidden!important;pointer-events:none!important}.quote-active .landscape:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#0a2839b3,transparent 22%,transparent 78%,#0a2839b3);pointer-events:none}

/* The 3D gallery shares the ocean, without a screen or plinth. */
#ojo .model-screen.glass-screen{background:transparent;border:0;box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none;padding:0;border-radius:0;position:relative;height:var(--stage-height,75svh);display:flex;flex-direction:column}
#ojo .model-screen:before,#ojo .screen-bar{display:none}
#ojo .model-heading{position:absolute;z-index:2;top:8px;left:16px;padding:0;pointer-events:none;text-shadow:0 2px 12px #102735}
#ojo .model-heading h2{font-size:clamp(21px,2vw,29px);font-weight:400;margin-bottom:6px}
#ojo #oxk-view{height:auto;min-height:0;flex:1;background:transparent}
#ojo .model-footer{position:absolute;z-index:2;bottom:6px;left:0;right:0;display:flex;align-items:center;justify-content:space-between;gap:15px;padding:0 16px;pointer-events:none}
#ojo #model-status{margin:0;text-shadow:0 1px 8px #102735}
#ojo .model-controls{pointer-events:auto}
#ojo .model-controls button{border-radius:24px;background:#153b49a6;border-color:#c1dcd43b;backdrop-filter:blur(12px);font-weight:400}
.model-active .journey-scene:not(#ojo) .depth-plane{visibility:hidden!important;pointer-events:none!important}
@media(max-width:640px){#ojo .model-heading{left:8px}#ojo .model-heading p{font-size:11px;max-width:32ch}#ojo .model-footer{flex-direction:column;align-items:center;gap:10px;padding:0 8px}#ojo #model-status{font-size:10px;text-align:center}}

/* Let the globe use the whole stage, alongside the title rather than below it. */
.depth-ready .tracker-screen{position:relative}
.depth-ready .tracker-screen .tracker-viewport{position:absolute;inset:0;height:100%;width:100%}
.depth-ready .tracker-screen .screen-bar{position:relative;z-index:2;pointer-events:none}
.depth-ready .tracker-screen .screen-bar a{pointer-events:auto}
.depth-ready .tracker-heading{position:relative;z-index:2;pointer-events:none;max-width:36%}
.depth-ready .tracker-footer{position:absolute;z-index:2;bottom:0;left:0;right:0;pointer-events:none}
.depth-ready .tracker-footer a{pointer-events:auto}
@media(max-width:700px){.depth-ready .tracker-heading{max-width:100%}.depth-ready .tracker-heading h2{font-size:22px}.depth-ready .tracker-description{font-size:11px}}

/* A page-owned gutter keeps native scrolling separate from orbit interaction. */
#cotizador .configurator-screen{position:relative;padding-right:76px}
.quote-instructions{display:flex;align-items:baseline;gap:18px;padding:7px 24px 12px;flex-shrink:0;color:#e3eeea;text-shadow:0 1px 8px #102735;pointer-events:none}
.quote-label{font-size:15px;font-weight:500;white-space:nowrap;letter-spacing:.03em}
.quote-use{font-size:11px;color:#c7dbdb;line-height:1.5}
.quote-scroll-lane{position:absolute;right:8px;top:8px;bottom:8px;width:56px;border-left:1px solid #c2ddd64d;border-right:1px solid #c2ddd61c;border-radius:24px;background:linear-gradient(180deg,#15374708,#15374770,#15374708);display:flex;align-items:center;justify-content:center;touch-action:pan-y;cursor:ns-resize;pointer-events:auto}
.quote-scroll-lane span{writing-mode:vertical-rl;font-size:10px;letter-spacing:.2em;color:#d4e4df;pointer-events:none}
.quote-scroll-lane:hover{background:#a9cdc019}
@media(max-width:640px){#cotizador .configurator-screen{padding-right:44px}.quote-scroll-lane{right:3px;width:35px;border-radius:18px}.quote-instructions{padding:4px 10px 9px;display:block}.quote-label{display:block;font-size:13px;margin-bottom:3px}.quote-use{display:block;font-size:9px}.quote-scroll-lane span{font-size:9px}}

/* V2: keep receding cards visible on the common depth axis. */
.depth-ready.quote-active .journey-scene:not(#cotizador) .depth-plane,
.depth-ready.model-active .journey-scene:not(#ojo) .depth-plane{visibility:visible!important}

.version-badge{position:absolute;left:4vw;top:88px;font-size:10px;letter-spacing:.2em;color:#c4efdf;border:1px solid #c4efdf55;border-radius:20px;padding:4px 9px;background:#10273550}
.experience-v2.depth-ready .depth-plane{transform-style:preserve-3d;backface-visibility:visible}
.experience-v2 .depth-plane.is-distant:after{content:"";position:absolute;inset:0;pointer-events:none;border:1px solid #c4efdf66;border-radius:14px;box-shadow:0 5px 0 #739b9b55,0 10px 0 #26495877,0 20px 45px #08253466;transform:translateZ(-12px)}
@media(max-width:640px){.version-badge{left:auto;right:80px;top:29px;font-size:9px;padding:3px 7px}}

/* V2 / Time Machine: several tangible card planes coexist in the scene. */
.experience-v2.depth-ready .depth-plane.is-distant{border-radius:16px;background:linear-gradient(135deg,#193e4ff2,#102e3df0);box-shadow:0 12px 0 #102b3bc9,0 22px 50px #03192340;outline:1px solid #b8e0d477}
.experience-v2.depth-ready .depth-plane.is-distant:before{content:attr(data-stack-label);position:absolute;left:18px;top:-28px;height:28px;padding:7px 14px;border-radius:8px 8px 0 0;background:#1a4050;color:#d7ece4;border:1px solid #b8e0d455;border-bottom:0;font-size:10px;letter-spacing:.13em;white-space:nowrap;pointer-events:none}
.experience-v2.depth-ready .depth-plane.is-distant:after{box-shadow:0 5px 0 #739b9b44,0 10px 0 #163b4aaa}

/* Real CSS3DObject fronts and five physical faces, positioned by Three.js matrices. */
.card-world{position:fixed;inset:0;pointer-events:none;overflow:visible!important}
.experience-v2.depth-ready .card-world .depth-plane{position:absolute;left:0;top:0;transform-origin:50% 50%;will-change:transform;backface-visibility:hidden}
.card-solid{pointer-events:none!important;backface-visibility:hidden;background:#153646;border:1px solid #92c5c35c;box-sizing:border-box}
.card-solid-top,.card-solid-bottom{background:linear-gradient(#90b9b8,#183e4e)}
.card-solid-left,.card-solid-right{background:linear-gradient(90deg,#90b9b8,#183e4e)}
.card-solid-back{background:linear-gradient(135deg,#294e5c,#102b3a)}
.experience-v2.depth-ready .depth-plane.is-distant:after{display:none}
.experience-v2.depth-ready .depth-plane.is-distant{box-shadow:none;outline:none}

/* Transparent card bodies; distance fog acts on the entire content and its edges. */
.experience-v2.depth-ready .depth-plane.is-distant{background:transparent;box-shadow:none;outline:none}
.experience-v2.depth-ready .depth-plane.is-distant:before{background:#173c4c55;border-color:#c4e6db2b;color:#d2e6dfb3}
.card-solid-back{background:transparent;border:0;box-shadow:none}
.card-solid-top,.card-solid-bottom{background:linear-gradient(#b8dcd52b,#183e4e0a);border-color:#b8dcd526}
.card-solid-left,.card-solid-right{background:linear-gradient(90deg,#b8dcd52b,#183e4e0a);border-color:#b8dcd526}
.experience-v2 .hero-intro{background:linear-gradient(135deg,#173b4c99,#1a35465c)}
.experience-v2 .depth-copy{background:#10273580}
.experience-v2 .sarga-window{background:#15344399}
.experience-v2 .glass-screen:not(.model-screen):not(.tracker-screen):not(.configurator-screen){background:linear-gradient(135deg,#173b4c85,#1a354638)}

/* V3 — vertical gallery: sections remain in normal document flow. */
.experience-v3 .journey-scene{height:auto;min-height:100svh;display:grid;place-items:center;padding:var(--v3-top,118px) 2vw var(--v3-bottom,60px);scroll-margin-top:0}
.experience-v3 .depth-plane{position:relative;left:auto;top:auto;width:96vw;max-width:none;transform-origin:50% 75%;will-change:transform,opacity}
.experience-v3 #cotizador .depth-plane{width:100vw}
.experience-v3 .configurator-screen,.experience-v3 .tracker-screen{height:var(--stage-height);min-height:0;display:flex;flex-direction:column;position:relative}
.experience-v3 .configurator-viewport{flex:1;min-height:0;height:auto}
.experience-v3 .tracker-viewport{position:absolute;inset:0;height:100%;width:100%}
.experience-v3 .tracker-screen .screen-bar{position:relative;z-index:2;pointer-events:none}
.experience-v3 .tracker-screen .screen-bar a{pointer-events:auto}
.experience-v3 .tracker-heading{position:relative;z-index:2;pointer-events:none;max-width:36%}
.experience-v3 .tracker-footer{position:absolute;z-index:2;bottom:0;left:0;right:0;pointer-events:none}
.experience-v3 .tracker-footer a{pointer-events:auto}
.experience-v3 #lab-gallery{height:var(--stage-height);display:flex;flex-direction:column}
.experience-v3 .gallery-stage{flex:1;min-height:0;aspect-ratio:auto}
.experience-v3 .gallery-slide{height:100%}
.experience-v3 .hero-intro{background:linear-gradient(135deg,#173b4c99,#1a35465c)}
.experience-v3 .depth-copy{background:#10273580}
@media(max-width:700px){.experience-v3 .tracker-heading{max-width:100%}.experience-v3 .tracker-heading h2{font-size:22px}.experience-v3 .tracker-description{font-size:11px}.experience-v3 .journey-scene{padding-left:2vw;padding-right:2vw}}
@media(prefers-reduced-motion:reduce){.experience-v3 .depth-plane{will-change:auto}}

.experience-v3 #cotizador{padding-left:0;padding-right:0}.experience-v3 main{overflow-x:clip}.experience-v3 .journey-scene{min-width:0}


.admin-access{position:absolute;right:12px;bottom:10px;display:grid;place-items:center;width:28px;height:28px;color:#c2d8d5;opacity:.4;font-size:24px;text-decoration:none;letter-spacing:0}.admin-access:hover,.admin-access:focus-visible{opacity:1}

.team-screen{background:linear-gradient(135deg,#173b4c99,#17344755)}.team-copy{padding:clamp(20px,3vw,44px)}.team-heading{font-size:clamp(32px,4.5vw,62px);font-weight:400;letter-spacing:-.045em;line-height:1.06;margin:0 0 16px}.team-intro{font-size:15px;line-height:1.6;color:#c6dcd9;max-width:60ch;margin:0 0 35px}.team-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px}.team-person{min-height:0!important;border-top:1px solid #c2ded64d;padding:19px 0 0}.team-number{font-size:10px;letter-spacing:.15em;color:#b6d8cb}.team-person h3{font-size:clamp(18px,1.8vw,26px);font-weight:400;line-height:1.3;letter-spacing:-.025em;margin:18px 0 12px}.team-role{font-size:11px;color:#e3c3a4;margin:0 0 8px}.team-focus{font-size:12px;line-height:1.6;color:#c0d6d6;margin:0}
@media(max-width:850px){.team-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.team-intro{font-size:13px;margin-bottom:22px}}
@media(max-width:480px){.team-copy{padding:16px}.team-grid{gap:18px 14px}.team-heading{font-size:30px}.team-person h3{font-size:17px;margin:10px 0}.team-person{padding-top:12px}.team-focus,.team-role{font-size:10px}}

/* Alpha logo opening: only the mark floats over the landscape. */
.logo-intro{display:grid;place-items:center;min-height: min(52vh,480px);background:transparent}
.logo-intro img{display:block;width:min(76vw,1000px);height:auto;filter:brightness(0) invert(1);opacity:.9}
#inicio .card-solid,#inicio .depth-plane:before,#inicio .depth-plane:after{display:none!important}
#inicio .depth-plane{background:transparent!important;border:0!important;box-shadow:none!important;outline:0!important}

/* Quiet opening, aligned with the sun (62%) and the horizon (49%). */
#inicio .depth-plane{width:100vw;height:100vh}
.logo-intro{position:relative;width:100%;height:100%;min-height:0}
.logo-intro img{position:absolute;display:block;height:auto;filter:brightness(0) invert(1);opacity:.9;transform:translateX(-50%)}
.logo-intro .opening-glyph{width:clamp(150px,19vw,310px);left:35%;bottom:53%}
.logo-intro .opening-wordmark{width:clamp(240px,29vw,520px);left:62%;bottom:60%}
.header,.scene-footer{transition:opacity .7s ease,visibility .7s}
.opening-active .header,.opening-active .scene-footer{opacity:0;visibility:hidden;pointer-events:none}
@media(max-width:640px){.logo-intro .opening-glyph{width:32vw;left:26%;bottom:53%}.logo-intro .opening-wordmark{width:49vw;left:68%;bottom:59%}}
@media(prefers-reduced-motion:reduce){.header,.scene-footer{transition:none}}

/* Preserve the original logo lockup as a single, proportionate asset. */
.logo-intro .opening-logo{width:min(76vw,1000px);height:auto;left:50%;bottom:53%;object-fit:contain}
@media(max-width:640px){.logo-intro .opening-logo{width:90vw;left:50%;bottom:53%}}

/* The mark switches off immediately; only the interface fades in. */


/* V5: sunrise, identity, then the existing depth journey. */
:root{--dawn-light:0;--sun-rise:13vh;--night-opacity:.92;--sea-light:.12}
.sun{transform:translateY(var(--sun-rise));opacity:var(--dawn-light)}
#ocean{opacity:var(--sea-light)}
.dawn-night{position:absolute;inset:0;background:#020914;opacity:var(--night-opacity);pointer-events:none}
.experience-v5.depth-ready #inicio{height:var(--intro-height)}
.experience-v5 #inicio .depth-plane{filter:none!important}
@media(prefers-reduced-motion:reduce){.sun{transform:none}}

/* Begin at absolute black, revealing the predawn landscape with scroll. */
:root{--opening-black:1}
.opening-black{position:absolute;inset:0;background:#000;opacity:var(--opening-black);pointer-events:none}

/* The sea occludes the solar disc: reveal its edge as it crosses the horizon. */
.sun-sky{position:absolute;inset:0;clip-path:inset(0 0 51% 0);pointer-events:none}
.sun-sky .sun{opacity:1}

/* A quiet particle sea remains visible against the black opening. */
:root{--sea-light:.22}
.opening-scroll{position:fixed;z-index:45;bottom:7vh;left:50%;transform:translateX(-50%);display:flex;flex-direction:column;align-items:center;gap:10px;color:#dfebe5a6;font-size:9px;letter-spacing:.28em;pointer-events:none;transition:opacity .6s,visibility .6s}
.opening-scroll-line{width:1px;height:28px;background:linear-gradient(transparent,#dfebe580)}
html:not(.opening-active) .opening-scroll{opacity:0;visibility:hidden}
@media(prefers-reduced-motion:reduce){.opening-scroll{transition:none}}

.sea-instrument{position:fixed;right:3vw;bottom:85px;z-index:150;color:#eef5ee;font-size:12px}
.sea-instrument button{color:inherit;cursor:pointer}
.sea-instrument-toggle{float:right;width:34px;height:34px;border:1px solid #bddad32b;border-radius:50%;background:#142e3b33;font-size:23px;opacity:.55}
.sea-instrument-toggle:hover,.sea-instrument-toggle:focus-visible{opacity:1}
#sea-instrument-panel{width:min(280px,88vw);margin-bottom:45px;padding:20px;background:#102735d9;backdrop-filter:blur(18px);border:1px solid #bddad338;border-radius:14px;box-shadow:0 12px 40px #0003}
#sea-instrument-panel[hidden]{display:none}
.instrument-heading{display:flex;align-items:center;justify-content:space-between}.instrument-close{border:0;background:none;font-size:22px}
.instrument-description{color:#b8cfce;line-height:1.5;margin:8px 0 20px}
#sea-instrument-panel label{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:16px 0}
#sea-instrument-panel input{width:125px;accent-color:#b6d9cf;cursor:pointer}
.instrument-reset{background:none;border:0;border-bottom:1px solid #b6d9cf55;padding:8px 0;font-size:11px}
.opening-active .sea-instrument-toggle{opacity:.28}
@media(max-width:640px){.sea-instrument{right:5vw;bottom:105px}}

#sea-instrument-panel{max-height:70svh;overflow-y:auto}.sargassum-caption{color:#dcb78b;font-size:10px;line-height:1.5;margin:5px 0 12px}
#sea-instrument-panel input[data-control="sargassum"]{accent-color:#d6a05d}

.story-screen{padding:clamp(20px,3vw,42px);display:grid;grid-template-columns:.85fr 1.3fr;gap:4vw;align-items:center}
.story-copy h2,.story-question h2{font-size:clamp(30px,4vw,62px);line-height:1.08;letter-spacing:-.04em;margin:18px 0}
.story-copy p,.story-question p{line-height:1.6;color:#d0e1dd}.story-photos{display:grid;grid-template-columns:1fr 1fr;gap:16px}.story-photos figure{margin:0}.story-photos img{display:block;width:100%;height:clamp(170px,32vh,360px);object-fit:cover;border-radius:8px}.story-photos figcaption{font-size:11px;line-height:1.5;color:#c3d6d1;margin-top:12px}
.story-question{grid-column:1/-1;max-width:1000px;margin:auto;padding:4vh 0}.story-kicker,.question-kicker,.spaces-kicker{font-size:10px;letter-spacing:.18em}
.header,.scene-footer{opacity:var(--intro-interface,1);transition:none}
@media(max-width:700px){.story-screen{grid-template-columns:1fr;gap:16px}.story-photos img{height:180px}.story-copy h2{font-size:32px}.story-copy p{font-size:14px}}

#rainfall{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

.nav-group{flex-shrink:0}#sargazo-menu-button{border:0;background:transparent;color:inherit;font:inherit;font-size:12px;letter-spacing:.04em;padding:10px 0;cursor:pointer}#sargazo-menu-button.is-current{box-shadow:0 1px currentColor}
#sargazo-menu{position:fixed;inset:auto;margin:0;width:204px;padding:10px;border:1px solid #c4dbd438;border-radius:12px;background:#102735ed;color:#f7f5f0;backdrop-filter:blur(18px);box-shadow:0 16px 40px #0004}
#sargazo-menu:popover-open{display:grid;gap:2px}#sargazo-menu a{display:block;padding:12px;border-radius:6px;font-size:12px;white-space:nowrap}#sargazo-menu a:hover,#sargazo-menu a:focus-visible{background:#c4dbd418}#sargazo-menu a:after{display:none}
@media(max-width:640px){#sargazo-menu-button{font-size:10px}}

.nav-group{flex-shrink:0}#alianzas-menu-button{border:0;background:transparent;color:inherit;font:inherit;font-size:12px;letter-spacing:.04em;padding:10px 0;cursor:pointer}#alianzas-menu-button.is-current{box-shadow:0 1px currentColor}
#alianzas-menu{position:fixed;inset:auto;margin:0;width:204px;padding:10px;border:1px solid #c4dbd438;border-radius:12px;background:#102735ed;color:#f7f5f0;backdrop-filter:blur(18px);box-shadow:0 16px 40px #0004}
#alianzas-menu:popover-open{display:grid;gap:2px}#alianzas-menu a{display:block;padding:12px;border-radius:6px;font-size:12px;white-space:nowrap}#alianzas-menu a:hover,#alianzas-menu a:focus-visible{background:#c4dbd418}#alianzas-menu a:after{display:none}
@media(max-width:640px){#alianzas-menu-button{font-size:10px}}

.alliances-title{font-size:clamp(32px,4vw,62px);margin:20px 0 35px}.alliances-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}.alliances-grid article{padding:28px 20px;border-top:1px solid #c4dbd455;border-radius:8px;transition:background .3s}.alliances-grid article.is-selected{background:#c4dbd41c;outline:1px solid #c4dbd477}.alliances-grid small{color:#b8d8ce}.alliances-grid h3{font-size:clamp(22px,2.4vw,36px);font-weight:400}@media(max-width:640px){.alliances-grid{grid-template-columns:1fr;gap:8px}.alliances-grid article{padding:12px}.alliances-grid h3{margin:10px 0}}

.audio-entrance{position:fixed;z-index:160;left:50%;bottom:17vh;transform:translateX(-50%);border:1px solid #c6ded452;border-radius:24px;background:#102735ab;color:#eff5ef;padding:12px 22px;font:inherit;font-size:12px;cursor:pointer;backdrop-filter:blur(10px)}
.audio-entrance[hidden]{display:none}

.kick-controls{border-top:1px solid #bddad333;margin-top:16px;padding-top:16px}.kick-controls button{background:#bddad310;border:1px solid #bddad34d;border-radius:8px;padding:9px 12px;width:100%}.kick-controls button[aria-pressed="true"]{background:#bddad32e;border-color:#bddad3}

#kick-rainfall{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}

.music-modes{margin:16px 0 22px}.music-mode-label{font-size:10px;color:#b8cfce;letter-spacing:.06em}.music-modes [role=group]{display:flex;gap:8px;margin-top:9px}.music-modes button{flex:1;border:1px solid #bddad340;border-radius:8px;background:transparent;padding:10px 7px;font-size:12px}.music-modes button[aria-pressed=true]{background:#bddad324;border-color:#bddad399}

/* Persistent glass on every content card; depth fade belongs to its parent. */
html.experience-v2 .journey-scene:not(#inicio) .depth-plane > :is(.glass-screen,.depth-copy,.hero-intro,.sarga-window){
 background:linear-gradient(135deg,rgba(24,58,73,.78),rgba(15,40,55,.65))!important;
 border:1px solid rgba(205,230,222,.30)!important;
 border-radius:18px!important;
 box-shadow:inset 0 1px 0 rgba(255,255,255,.16),0 18px 48px rgba(3,17,29,.18)!important;
 -webkit-backdrop-filter:blur(16px) saturate(115%)!important;
 backdrop-filter:blur(16px) saturate(115%)!important;
}

/* Full-opacity original logo settles above the horizon as dawn unfolds. */
:root{--logo-offset:50%;--logo-bottom:50%;--sea-light:.14}
.logo-intro .opening-logo{opacity:1;bottom:var(--logo-bottom);transform:translate(-50%,var(--logo-offset))}

/* Visible particle sea on the opening screen. */
:root{--sea-light:.1}

.opening-scroll-track{display:block;width:140px;height:2px;background:#d8e7de30;overflow:hidden}.opening-scroll-fill{display:block;width:100%;height:100%;background:#d8e7de;transform-origin:left;transform:scaleX(var(--intro-progress,0))}.opening-scroll-progress{font-variant-numeric:tabular-nums;letter-spacing:.08em}.journey-progress{position:fixed;left:0;top:0;height:2px;width:100%;z-index:155;background:#b6d9cf;transform-origin:left;transform:scaleX(var(--journey-progress,0));pointer-events:none}.opening-active .journey-progress{visibility:hidden}

/* A visible atmospheric sea even with all instrument controls at zero. */
:root{--sea-light:.65}

.kick-scroll-hint{display:block;font-size:10px;line-height:1.5;color:#b8cfce}

.safe-scroll{position:fixed;right:6px;top:160px;bottom:145px;width:36px;z-index:165;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;border:1px solid #c4ded52b;border-radius:20px;background:linear-gradient(180deg,#10273508,#10273566,#10273508);color:#d4e4dfb0;font-size:9px;letter-spacing:.15em;touch-action:pan-y;cursor:ns-resize;user-select:none}
.safe-scroll>span:nth-child(2){writing-mode:vertical-rl}.safe-scroll:hover,.safe-scroll:focus-visible,.safe-scroll.is-dragging{background:#173c4ca6;color:#f0f6ef;border-color:#c4ded580;outline:none}.safe-scroll-track{width:2px;height:70px;background:#c4ded52b}.safe-scroll-track i{display:block;width:100%;height:100%;background:#c4ded5;transform-origin:top;transform:scaleY(var(--journey-progress,0))}
@media(max-width:640px){.safe-scroll{width:28px;right:3px;top:180px;bottom:170px}.sea-instrument{right:40px}}

/* Directional glass reflection makes the card's orientation legible. */
html.experience-v2 .journey-scene:not(#inicio) .depth-plane > :is(.glass-screen,.depth-copy,.hero-intro,.sarga-window){background:radial-gradient(ellipse at var(--card-glow-x,50%) var(--card-glow-y,50%),rgba(200,232,223,.13),transparent 60%),linear-gradient(135deg,rgba(24,58,73,.78),rgba(15,40,55,.65))!important}
.card-solid-top,.card-solid-bottom,.card-solid-left,.card-solid-right{border-color:#c9e3dc40;background:linear-gradient(135deg,#85b4b03b,#13374533)}

/* Musical halo and pointer parallax preserve the scroll-controlled sunrise. */
.sun-sky .sun{transform:translate3d(var(--sun-x,0px),calc(var(--sun-rise) + var(--sun-y,0px)),0) scale(calc(1 + var(--sun-pulse,0)*.14));will-change:transform}
.sun-sky .sun::after{content:"";position:absolute;inset:-55%;border-radius:50%;background:radial-gradient(circle,#fff0cf88 0%,#ffd39b44 35%,transparent 70%);opacity:calc(.2 + var(--sun-pulse,0)*.7);transform:scale(calc(1 + var(--sun-pulse,0)*.4));pointer-events:none}
@media(prefers-reduced-motion:reduce){.sun-sky .sun{will-change:auto}}

.rhythm-controls{margin-top:12px}.rhythm-controls [role=group]{display:flex;gap:6px;margin-bottom:8px}.rhythm-controls [data-rate]{flex:1;width:auto}.rhythm-help{display:block;font-size:11px;line-height:1.5;color:#b8cfce;margin-top:9px}

/* One-time entrance fade, independent of the scroll-driven dawn. */
.intro-load-fade{position:fixed;inset:0;z-index:1000;background:#000;pointer-events:none;opacity:1;animation:intro-from-black 7.5s ease-in-out forwards}
@keyframes intro-from-black{from{opacity:1;visibility:visible}to{opacity:0;visibility:hidden}}

/* Synth drawer tucked into the upper edge, independent of the journey menu. */
.sea-instrument{top:0;bottom:auto;left:50%;right:auto;transform:translateX(-50%);width:72px;z-index:180}
.sea-instrument.is-open{width:min(1440px,94vw)}
.sea-instrument .sea-instrument-toggle{float:none;display:block;margin:0 auto;width:72px;height:26px;border:0;border-radius:0 0 12px 12px;background:#10273518;font-size:18px;line-height:20px;opacity:.3;transition:opacity .25s,background .25s}
.sea-instrument .sea-instrument-toggle:hover,.sea-instrument .sea-instrument-toggle:focus-visible,.sea-instrument.is-open .sea-instrument-toggle{opacity:.95;background:#102735bb}
.sea-instrument #sea-instrument-panel{width:100%;margin:5px 0 0;padding:20px 25px;max-height:calc(100svh - 55px);overscroll-behavior:contain;border-radius:0 0 18px 18px;background:#102735ed;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px 24px;animation:synth-drawer-in .25s ease-out}
.sea-instrument #sea-instrument-panel[hidden]{display:none}
#sea-instrument-panel .instrument-heading,#sea-instrument-panel .instrument-description{grid-column:1/-1}
#sea-instrument-panel .instrument-description{margin:0;color:#b8cfce;font-size:11px}
.sea-instrument #sea-instrument-panel>label{display:flex;flex-direction:column;align-items:stretch;gap:8px;margin:5px 0;grid-row:4}
.sea-instrument #sea-instrument-panel>label input{width:100%}
#sea-instrument-panel .music-modes{grid-column:1/-1;margin:3px 0;display:flex;gap:20px;align-items:center}
#sea-instrument-panel .music-modes [role=group]{margin:0;min-width:220px}
#sea-instrument-panel .sargassum-caption{grid-column:1/4;margin:0;align-self:center}
#sea-instrument-panel .instrument-reset{grid-column:4/7;justify-self:end}
#sea-instrument-panel .kick-controls{grid-column:1/-1;display:grid;grid-template-columns:150px 1fr 2fr;gap:10px 20px;margin-top:0;padding-top:12px;align-items:center}
#sea-instrument-panel .kick-controls>label{margin:0}
#sea-instrument-panel .kick-scroll-hint{grid-column:1/3;font-size:10px;color:#b8cfce}
#sea-instrument-panel .rhythm-controls{grid-column:3;grid-row:1/3;margin:0}
#sea-instrument-panel .rhythm-help{font-size:10px;margin-top:6px}
@keyframes synth-drawer-in{from{opacity:0;transform:translateY(-12px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:700px){.sea-instrument #sea-instrument-panel{grid-template-columns:repeat(2,minmax(0,1fr));padding:16px;gap:10px 18px}.sea-instrument #sea-instrument-panel>label{grid-row:auto}#sea-instrument-panel .music-modes{display:block}#sea-instrument-panel .music-modes [role=group]{margin-top:8px}#sea-instrument-panel .sargassum-caption,#sea-instrument-panel .instrument-reset{grid-column:1/-1}#sea-instrument-panel .kick-controls{grid-template-columns:1fr}#sea-instrument-panel .kick-scroll-hint,#sea-instrument-panel .rhythm-controls{grid-column:1;grid-row:auto}}
@media(prefers-reduced-motion:reduce){.sea-instrument #sea-instrument-panel{animation:none}}

.synth-advanced{grid-column:1/-1;border-top:1px solid #bddad32b;padding-top:12px}.synth-advanced summary{cursor:pointer;color:#bddad3;font-size:11px;letter-spacing:.04em}.advanced-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 24px}#sea-instrument-panel .advanced-grid label{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:11px}#sea-instrument-panel .advanced-grid input{grid-column:1/-1;width:100%}.advanced-grid output{color:#e9c09b;font-variant-numeric:tabular-nums}@media(max-width:700px){.advanced-grid{grid-template-columns:1fr 1fr;gap:0 16px}}
.mix-heading{grid-column:1/-1;margin:14px 0 6px;padding-top:12px;border-top:1px solid #bddad324;color:#bddad3;font-size:10px;font-weight:500;letter-spacing:.1em;text-transform:uppercase}.advanced-grid .channel-volume output{color:#bfe3d5}

.news-portal{color:#f7f5f0;width:min(1280px,94vw);max-width:94vw;height:88svh;max-height:88svh;padding:0;border:1px solid #bddad34d;border-radius:20px;background:#102735c9;backdrop-filter:blur(18px);overscroll-behavior:contain;box-shadow:0 20px 80px #0004}
.news-portal::backdrop{background:#06172444}.news-portal[open]{animation:synth-drawer-in .3s ease-out}.news-portal-bar{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:16px 25px;background:#102735ed;border-bottom:1px solid #bddad333}.news-portal-close{color:inherit;background:transparent;border:1px solid #bddad34d;padding:9px 14px;border-radius:20px;cursor:pointer}.news-portal .news-main{width:auto;margin:0;padding:24px clamp(18px,4vw,50px) 40px}.news-portal-content{min-height:100px}.news-portal-content:empty{padding:24px}@media(prefers-reduced-motion:reduce){.news-portal[open]{animation:none}}

/* A sparse, artistic dawn sky, not an astronomical position map. */
.dawn-stars{position:absolute;inset:0;z-index:1;pointer-events:none;opacity:calc(1 - var(--dawn-light,0)*.92)}
.dawn-stars i{position:absolute;left:var(--x);top:var(--y);width:var(--size);height:var(--size);border-radius:50%;background:#edf3f5;opacity:var(--light);box-shadow:0 0 4px 1px #d9eaff33}
.dawn-stars .venus{background:#fff3dc;box-shadow:0 0 7px 2px #ffe7bd55,0 0 18px 5px #ffe7bd15}

#piezas .application-grid{grid-template-columns:repeat(3,minmax(0,1fr))}@media(max-width:600px){#piezas .application-grid{grid-template-columns:1fr}}

/* First journey card: territory film, framed like the existing glass cards. */
#territorio .territory-film-screen{grid-template-columns:minmax(230px,.7fr) minmax(0,1.6fr);gap:clamp(20px,3vw,60px);width:100%;min-height:100%;padding:clamp(22px,3vw,52px)}
#territorio .territory-film{margin:0;min-width:0;padding:8px;border:1px solid #d4ece566;border-radius:18px;background:#bad4d51c;box-shadow:0 18px 60px #071c2c55,inset 0 1px #ffffff1c;backdrop-filter:blur(15px)}
#territorio .territory-film video{display:block;width:100%;aspect-ratio:16/9;max-height:67vh;object-fit:cover;border-radius:11px;background:#112d3a}
#territorio .territory-film figcaption{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:10px 5px 2px;font-size:10px;letter-spacing:.12em;color:#d9e9e5}
#territorio .territory-film-toggle{border:0;background:transparent;color:inherit;cursor:pointer;padding:6px 0;font-size:11px;letter-spacing:0;white-space:nowrap}
#territorio .territory-film-toggle:hover,#territorio .territory-film-toggle:focus-visible{text-decoration:underline;text-underline-offset:5px}
@media(max-width:700px){#territorio .territory-film-screen{grid-template-columns:1fr;align-content:center;gap:18px}#territorio .territory-film video{max-height:48vh}}

/* Sargassum explainer pairs the story with the original field photograph. */
#que-es .sargazo-about-screen{grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:clamp(25px,4vw,70px);width:100%;min-height:100%;padding:clamp(24px,3.5vw,56px)}
#que-es .story-question{grid-column:auto;max-width:none;margin:0;padding:0}
#que-es .sargazo-about-image{margin:0;min-width:0;padding:7px;border:1px solid #d4ece55a;border-radius:17px;background:#b8d4d51c;box-shadow:0 18px 50px #071c2c55}
#que-es .sargazo-about-image img{display:block;width:100%;height:clamp(280px,44vh,510px);object-fit:cover;object-position:center 12%;border-radius:10px}
@media(max-width:700px){#que-es .sargazo-about-screen{grid-template-columns:1fr;align-content:center;gap:16px}#que-es .sargazo-about-image img{height:clamp(170px,30vh,260px)}}


/* Interactive sargassum experiment: cause, visible response, explanation. */
#biologia .depth-plane{width:min(92vw,1460px)}
#biologia .sg-screen{height:min(760px,calc(var(--stage-height,800px) * .96));min-height:0;padding:28px 34px;display:flex;flex-direction:column;gap:20px;overflow:auto;overscroll-behavior:contain;background:linear-gradient(135deg,#173c49ed,#102d39df 65%,#24505adb);scrollbar-width:thin;scrollbar-color:#9abba855 transparent}
#biologia .sg-heading h2{font-size:clamp(30px,3.4vw,48px);line-height:1.08;letter-spacing:-.04em;margin:8px 0}
#biologia .sg-heading p{font-size:16px;line-height:1.4;margin:0;color:#d1e4df}
#biologia .sg-eyebrow,#biologia .sg-step{font-size:11px;letter-spacing:.14em;color:#dabd92}
#biologia .sg-workspace{display:grid;grid-template-columns:minmax(290px,.85fr) minmax(350px,1.35fr);gap:38px;flex:1;min-height:0}
#biologia .sg-controls{overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding-right:12px}
#biologia .sg-presets{display:flex;flex-wrap:wrap;gap:6px;margin:14px 0 19px}
#biologia button{font:inherit;cursor:pointer}
#biologia .sg-presets button{border:1px solid #bdd6cf40;border-radius:30px;background:#bfded009;color:#d4e5dd;font-size:12px;padding:9px 12px;transition:background .2s}
#biologia .sg-presets button[aria-pressed=true]{background:#ddc292;color:#18333c;border-color:#ddc292}
#biologia .sg-control{display:grid;grid-template-columns:1fr auto;gap:4px 10px;margin:0 0 14px;font-size:15px;color:#e7efe7}
#biologia .sg-control output{color:#eccb97;font-size:14px;font-variant-numeric:tabular-nums}
#biologia .sg-control input{grid-column:1/-1;appearance:none;width:100%;height:28px;margin:0;background:transparent;cursor:pointer;accent-color:#e4c48c}
#biologia .sg-control input::-webkit-slider-runnable-track{height:4px;border-radius:4px;background:linear-gradient(90deg,#e4c48c var(--fill,50%),#63818a60 var(--fill,50%))}
#biologia .sg-control input::-webkit-slider-thumb{appearance:none;width:18px;height:18px;margin-top:-7px;border-radius:50%;background:#e9cea0;box-shadow:0 0 0 5px #e9cea00c}
#biologia .sg-control input::-moz-range-track{height:4px;background:#63818a60}
#biologia .sg-control input::-moz-range-thumb{border:0;background:#e9cea0;width:18px;height:18px;border-radius:50%}
#biologia .sg-control small{font-size:11px;color:#a9c5c2}
#biologia .sg-control small:last-child{text-align:right}
#biologia .sg-advanced{border-top:1px solid #acc7bf33;padding-top:12px;font-size:13px;color:#c4d9d2}
#biologia summary{cursor:pointer;min-height:26px}
#biologia .sg-advanced>div{padding:12px 0 0}
#biologia .sg-advanced p{font-size:12px;line-height:1.5;color:#b3ccc5}
#biologia .sg-reset{border:0;background:none;color:#c5d8cd;font-size:12px;padding:12px 0 4px;text-decoration:underline;text-underline-offset:5px}
#biologia .sg-observation{display:flex;flex-direction:column;min-height:0}
#biologia .sg-view{position:relative;flex:1;min-height:130px;background:radial-gradient(ellipse,#75ac9825,transparent 68%)}
#biologia #sargassum-model{width:100%;height:100%;display:block;position:absolute;inset:0;cursor:grab;touch-action:pan-y}
#biologia #sargassum-model:active{cursor:grabbing}
#biologia .sg-view-label,#biologia .sg-drag{position:absolute;pointer-events:none;bottom:9px;color:#a6c8c1;font-size:10px;letter-spacing:.08em}
#biologia .sg-view-label{left:0}#biologia .sg-drag{right:0;letter-spacing:0}
#biologia .sg-result{border-top:1px solid #a8c8bd40;padding-top:15px}
#biologia .sg-result-top{display:flex;align-items:center;justify-content:space-between;gap:15px;font-size:13px;color:#c8dcd4}
#biologia .sg-grade{font-size:21px;font-weight:500;color:var(--result-color,#e6bd83)}
#biologia .sg-meter{height:4px;background:#70938d33;margin:12px 0;border-radius:3px;overflow:hidden}
#biologia .sg-meter i{display:block;width:var(--growth,10%);height:100%;background:var(--result-color,#e6bd83);transition:width .65s ease,background .3s}
#biologia .sg-reason{font-size:16px;line-height:1.45;color:#edf0e6;margin:0}
#biologia .sg-prompt{font-size:13px;color:#e9c68d;margin:8px 0 0;line-height:1.4}
#biologia .sg-foot{display:flex;justify-content:space-between;gap:20px;border-top:1px solid #aac8be2b;padding-top:12px;font-size:12px;color:#bdd2cb;flex:none}
#biologia .sg-science{max-width:70%}#biologia .sg-science p{line-height:1.5;margin:8px 0}
#biologia .sg-science a{display:inline-block;margin:0 16px 8px 0;text-decoration:underline;text-underline-offset:3px}
#biologia .sg-next{color:#e7c492;white-space:nowrap}
#biologia :is(button,input,summary,a):focus-visible{outline:2px solid #e9cca0;outline-offset:4px}
#biologia .sg-fallback{padding:35px 20px;color:#d4e6dd}
@media(max-width:700px){
 #biologia .depth-plane{width:calc(100vw - 46px)}
 #biologia .sg-screen{padding:17px;gap:13px;height:calc(var(--stage-height,620px) * .96)}
 #biologia .sg-heading h2{font-size:29px;margin:6px 0}#biologia .sg-heading p{font-size:13px}
 #biologia .sg-eyebrow,#biologia .sg-step{font-size:9px}
 #biologia .sg-workspace{display:flex;flex-direction:column;gap:17px;flex:none}
 #biologia .sg-observation{order:-1}#biologia .sg-view{height:175px;flex:none}
 #biologia .sg-controls{overflow:visible;padding:0}
 #biologia .sg-result{padding-top:10px}#biologia .sg-grade{font-size:19px}#biologia .sg-reason{font-size:14px}#biologia .sg-prompt{font-size:12px}
 #biologia .sg-presets{margin:10px 0 14px}#biologia .sg-presets button{font-size:11px;padding:9px}
 #biologia .sg-control{margin-bottom:10px;font-size:14px}
 #biologia .sg-foot{flex-direction:column;gap:8px}#biologia .sg-science{max-width:100%}
 #biologia .sg-view-label{font-size:8px}#biologia .sg-drag{font-size:9px}
}
@media(prefers-reduced-motion:reduce){#biologia .sg-meter i,#biologia .sg-presets button{transition:none}}

/* Keep the experiment readable at phone size, with the response above its controls. */
@media(max-width:700px){
 #biologia .sg-screen{gap:10px;padding:14px 16px}
 #biologia .sg-heading h2{font-size:26px}#biologia .sg-heading p{font-size:12px}
 #biologia .sg-workspace{gap:12px}
 #biologia .sg-workspace .sg-step{display:none}
 #biologia .sg-view{height:115px}
 #biologia .sg-result{padding-top:7px}
 #biologia .sg-result-top{font-size:11px}#biologia .sg-grade{font-size:17px}
 #biologia .sg-meter{margin:7px 0}
 #biologia .sg-reason{font-size:12px;line-height:1.4}#biologia .sg-prompt{font-size:11px;margin-top:5px}
 #biologia .sg-presets{margin:0 0 12px;gap:4px}#biologia .sg-presets button{font-size:10px;padding:8px}
 #biologia .sg-control{font-size:12px;gap:0;margin-bottom:10px}#biologia .sg-control output{font-size:12px}#biologia .sg-control small{display:none}
 #biologia .sg-control input{height:25px}
 #biologia .sg-advanced{padding-top:8px;font-size:11px}
 #biologia .sg-reset{font-size:11px;padding-top:6px}
 #biologia .sg-foot{font-size:10px;padding-top:8px}
}
/* Stronger glass backing keeps distant cards from obscuring the experiment. */
html.experience-v2 #biologia.journey-scene .depth-plane > .glass-screen.sg-screen{background:radial-gradient(ellipse at var(--card-glow-x,50%) var(--card-glow-y,50%),#b6dac610,transparent 65%),linear-gradient(135deg,rgba(24,58,73,.96),rgba(15,40,55,.93))!important}
/* Chapter navigation: stable reading planes, short native-scroll transitions. */
html.experience-chapters{scroll-behavior:auto}
.experience-chapters.depth-ready .depth-plane{position:fixed;left:50%;top:var(--stage-center);transform-origin:center;will-change:transform,opacity;backface-visibility:visible}
.experience-chapters.depth-ready #inicio .depth-plane{top:50%}
.experience-chapters .depth-plane::before,.experience-chapters .depth-plane::after{display:none!important}
.experience-chapters .chapter-controls{display:flex;gap:5px;align-items:center}
.experience-chapters .chapter-controls button{width:30px;height:30px;display:grid;place-items:center;border:1px solid #c6dfd238;border-radius:50%;background:#173b4c30;color:#dce9e2;font-size:16px;cursor:pointer}
.experience-chapters .chapter-controls button:hover{background:#c6dfd222;border-color:#c6dfd280}
.experience-chapters .chapter-controls button:disabled{opacity:.25;cursor:default}
.experience-chapters .scroll-cue{max-width:30vw;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;letter-spacing:.06em}
@media(max-width:640px){.experience-chapters .scroll-cue{max-width:36vw;font-size:9px}.experience-chapters .chapter-controls{gap:3px}.experience-chapters .chapter-controls button{width:26px;height:26px}.experience-chapters .scene-footer{gap:8px}}

.experience-chapters .scroll-cue{position:static;left:auto;transform:none}
.experience-chapters .scene-footer{gap:14px}
/* Dedicated viewers must not reveal inactive chapter planes. */
html.experience-chapters.depth-ready.quote-active .journey-scene:not(#cotizador) .depth-plane,
html.experience-chapters.depth-ready.model-active .journey-scene:not(#ojo) .depth-plane{visibility:hidden!important}

/* Atmosphere choice stays beside the sea controls, with a plain-language description. */
#sea-instrument-panel .music-modes{flex-wrap:wrap;gap:8px 20px}
#sea-instrument-panel .music-modes [role=group]{min-width:310px;flex:1;max-width:480px}
#sea-instrument-panel .music-mode-description{flex-basis:100%;color:#b8cfce;font-size:11px;line-height:1.5}
@media(max-width:700px){#sea-instrument-panel .music-modes [role=group]{min-width:0;width:100%}#sea-instrument-panel .music-mode-description{display:block;margin-top:8px}}

/* Real dawn constellations: Orion and the Pleiades, drawn from their familiar star geometry. */
.real-constellations{position:absolute;inset:0 0 51%;z-index:1;pointer-events:none;overflow:hidden;opacity:calc((1 - var(--dawn-light)) * .36);transition:opacity .8s linear}
.constellation{position:absolute;overflow:visible;filter:drop-shadow(0 0 3px #dff8ff66)}
.constellation.orion{left:9vw;top:8vh;width:clamp(46px,5.8vw,92px);transform:rotate(-8deg)}
.constellation.pleiades{right:15vw;top:13vh;width:clamp(32px,4vw,62px);transform:rotate(12deg)}
.constellation .star-lines{fill:none;stroke:#dcebe7;stroke-width:.28;opacity:.22}
.constellation .star-points{fill:#f5fbf3}
.constellation .star-points circle{transform-box:fill-box;transform-origin:center;animation:constellation-flicker 5.8s ease-in-out infinite;opacity:.46}
.constellation .star-points circle:nth-child(3n+1){animation-delay:-1.7s;animation-duration:7.1s}.constellation .star-points circle:nth-child(3n+2){animation-delay:-3.8s;animation-duration:4.9s}
@keyframes constellation-flicker{0%,100%{opacity:.42;transform:scale(1)}43%{opacity:.60;transform:scale(1)}67%{opacity:.48;transform:scale(1)}}
@media(prefers-reduced-motion:reduce){.constellation .star-points circle{animation:none;opacity:.42}}

/* V7: one score supplies the palette and solar reflection. */
.experience-v7 .landscape{background:linear-gradient(180deg,var(--skyTop,#233d54) 0%,var(--skyMid,#637a8b) 19%,var(--skyRose,#b19a9d) 32%,var(--skyWarm,#e7ad9b) 42%,var(--skyHorizon,#f5cbac) 49%,#738e92 57%,#244d5b 75%,#112e3e 100%)}
.experience-v7 .water{background:radial-gradient(ellipse at var(--solar-reflection,0%) 0%,#ecc3a975,transparent 45%),linear-gradient(#7a9394,#204657 50%,#102735)}
.experience-v7 .sun-sky .sun{left:0;top:0;transform:translate3d(var(--sun-x,-100px),var(--sun-y,55vh),0) translate(-50%,-50%) scale(calc(1 + var(--sun-pulse,0)*.06));transform-origin:center}
.experience-v7 .real-constellations{opacity:calc(.025 + (1 - var(--dawn-light,0))*.32);transition:none}
.experience-v7 .interaction-2x{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;width:68px;height:68px;padding:8px;border:1px solid #d5eae536;border-radius:50%;background:#11334528;color:#eff7f2c9;pointer-events:auto;cursor:pointer;font-size:14px;font-family:inherit;animation:none;transition:background .25s,color .25s}
.experience-v7 .interaction-2x[hidden]{display:none}
.experience-v7 .interaction-2x small{font-size:7px;letter-spacing:.12em}
.experience-v7 .interaction-2x:hover,.experience-v7 .interaction-2x:focus-visible{background:#173e5175;color:#fff}
.interaction-arrow{position:absolute;right:52px;bottom:50px;width:46px;height:36px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;animation:invite-orbit 4.6s ease-in-out infinite}
@keyframes invite-orbit{0%,100%{opacity:.36;transform:translate(-3px,-3px)}50%{opacity:.85;transform:translate(0,0)}}
@media(prefers-reduced-motion:reduce){.interaction-arrow{animation:none;opacity:.6}}

/* Keep the intro anchor in viewport space on short screens, too. */
.experience-v7:not(.depth-ready) #inicio .depth-plane{position:fixed;inset:0;width:100%;height:100svh;pointer-events:none!important}

/* V7.1: a fine sargassum fader, separate from the page-scroll lane. */
.sargassum-fader{position:fixed;z-index:166;right:52px;top:50%;transform:translateY(-50%);width:44px;color:#e0c69f;opacity:.38;transition:opacity .25s;user-select:none}
.sargassum-fader:hover,.sargassum-fader:focus-within{opacity:1}
.sargassum-fader label{position:relative;display:block}
.sargassum-fader-label{position:absolute;left:-4px;top:50%;transform:translate(-100%,-50%) rotate(180deg);writing-mode:vertical-rl;font-size:8px;letter-spacing:.18em;text-transform:uppercase;line-height:1;pointer-events:none}
.sargassum-fader input{display:block;appearance:none;-webkit-appearance:none;writing-mode:vertical-lr;direction:rtl;width:44px;height:clamp(88px,22svh,220px);margin:0;padding:0;border:0;background:transparent;color:inherit;cursor:ns-resize;touch-action:none}
.sargassum-fader input::-webkit-slider-runnable-track{width:1px;height:100%;background:linear-gradient(to top,#dfbc86 var(--sargassum-fill,0%),#dce8e342 var(--sargassum-fill,0%));border:0;border-radius:1px}
.sargassum-fader input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:7px;height:7px;margin-left:-3px;border:0;border-radius:50%;background:#e4cfad;box-shadow:0 0 8px #e4cfad22}
.sargassum-fader input::-moz-range-track{width:1px;height:100%;background:#dce8e342;border:0}
.sargassum-fader input::-moz-range-progress{width:1px;background:#dfbc86}
.sargassum-fader input::-moz-range-thumb{width:7px;height:7px;border:0;border-radius:50%;background:#e4cfad}
.sargassum-fader input:focus-visible{outline:1px solid #e4cfad66;outline-offset:2px;border-radius:16px}
.sargassum-fader output{display:block;text-align:center;margin-top:10px;font-size:9px;letter-spacing:.06em;font-variant-numeric:tabular-nums;opacity:0;transition:opacity .2s}
.sargassum-fader:hover output,.sargassum-fader:focus-within output,.sargassum-fader.has-value output{opacity:.85}
.sargassum-fader-help{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
@media(max-width:640px){.sargassum-fader{right:39px}.sargassum-fader-label{font-size:7px;letter-spacing:.12em}}
@media(prefers-reduced-motion:reduce){.sargassum-fader,.sargassum-fader output{transition:none}}

/* V7.1: the sky and water share a restrained, continuous light score. */
.experience-v7 .dawn-stars,.experience-v7 .real-constellations{opacity:1;transition:none}
.experience-v7 .dawn-stars i{transform:translate(-50%,-50%);box-shadow:0 0 4px 1px #dceaff20}
.experience-v7 .dawn-stars .venus{width:4px;height:4px;background:#fff0d1;box-shadow:0 0 5px 1px #fff0d152,0 0 15px 3px #ffe4ba1f}
.experience-v7 .constellation .star-points circle{animation:none}
.experience-v7 .constellation .star-lines{opacity:calc(var(--stellar-visibility,1)*.045)}

/* Master sound remains reachable in the synth drawer, including during intro. */
#sea-instrument-panel .drawer-audio{grid-column:1/-1;grid-row:3;display:flex;align-items:center;gap:20px;border-bottom:1px solid #bddad324;padding-bottom:12px}
#sea-instrument-panel .drawer-audio button{background:transparent;color:#d5e4df;border:1px solid #bddad33b;border-radius:8px;padding:9px 12px;font:inherit;font-size:11px;cursor:pointer;white-space:nowrap}
#sea-instrument-panel .drawer-audio label{display:grid;grid-template-columns:1fr auto;gap:5px 12px;margin:0;max-width:280px;flex:1;font-size:11px}
#sea-instrument-panel .drawer-audio output{color:#bfe3d5;font-variant-numeric:tabular-nums}
#sea-instrument-panel .drawer-audio input{grid-column:1/-1;width:100%}
.sea-instrument #sea-instrument-panel>label{grid-row:5}
@media(max-width:700px){#sea-instrument-panel .drawer-audio{gap:14px;grid-row:auto}.sea-instrument #sea-instrument-panel>label{grid-row:auto}}

/* A few words follow the dawn without adding another screen or clock. */
.opening-scroll{width:calc(100vw - 108px);max-width:640px;text-align:center}
.opening-whisper{display:grid;grid-template-areas:'line';place-items:center;min-height:3em;margin:0 0 10px;font-size:clamp(12px,1.1vw,15px);font-weight:400;line-height:1.5;letter-spacing:.025em;color:#e2ece3c9;text-wrap:balance;text-shadow:0 1px 12px #07192399}
.opening-whisper span{grid-area:line;opacity:0}
.intro-human{margin:20px 0 0;font-size:clamp(12px,1.05vw,15px);line-height:1.55;color:#d4e6df;max-width:36em}

/* The extra centred travel also applies when a short screen uses native flow. */
.experience-v7:not(.depth-ready) #inicio{height:var(--intro-height);min-height:var(--intro-height)}
.experience-v7:not(.depth-ready) #cotizador{padding-inline:0}

/* The sun leaves the last chapter; both reflections follow the same score. */
.experience-v7 .sun-sky .sun{opacity:var(--sun-presence,1)}
.experience-v7 .water{background:radial-gradient(ellipse at var(--solar-reflection,0%) 0%,rgb(236 195 169 / calc(.46 * var(--sun-presence,1))),transparent 45%),linear-gradient(#7a9394,#204657 50%,#102735)}

/* Small audio tools stay at hand, without opening the full instrument. */
.scene-footer .sound-controls{gap:8px;flex-shrink:0;letter-spacing:0;color:#dcebe3;opacity:.68;transition:opacity .2s}
.scene-footer .sound-controls:hover,.scene-footer .sound-controls:focus-within{opacity:1}
.scene-footer .sound-controls button{display:grid;place-items:center;width:34px;height:34px;padding:8px;border:0;border-radius:50%;background:transparent;color:inherit}
.scene-footer .sound-controls button:hover{background:#c9e0d518}
.sound-controls svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.sound-controls .sound-control-label{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.sound-controls[data-sounding=true] .sound-muted,.sound-controls[data-sounding=false] .sound-waves{display:none}
.scene-footer .sound-controls input{appearance:none;-webkit-appearance:none;display:block;width:76px;height:34px;padding:0;margin:0;background:transparent;cursor:pointer;touch-action:pan-y}
.sound-controls input::-webkit-slider-runnable-track{height:1px;background:#dcebe35c;border:0}
.sound-controls input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:7px;height:7px;margin-top:-3px;border:0;border-radius:50%;background:#dcebe3}
.sound-controls input::-moz-range-track{height:1px;background:#dcebe35c;border:0}
.sound-controls input::-moz-range-thumb{width:7px;height:7px;border:0;border-radius:50%;background:#dcebe3}
.sound-controls button:focus-visible,.sound-controls input:focus-visible{outline:1px solid #dcebe3;outline-offset:3px}
@media(max-width:640px){.scene-footer .sound-controls{gap:5px;opacity:.82}.scene-footer .sound-controls input{width:56px}}
@media(pointer:coarse){.scene-footer .sound-controls button{width:44px;height:44px}.scene-footer .sound-controls input{height:44px}}
@media(prefers-reduced-motion:reduce){.scene-footer .sound-controls{transition:none}}
/* The last chapter keeps its globe and audio in front, with a clear return. */
.experience-v7[data-active-scene=sargatracker] .scene-footer{justify-content:space-between;padding-block:16px}
.experience-v7[data-active-scene=sargatracker] .scene-footer>span,
.experience-v7[data-active-scene=sargatracker] .scene-footer #motion,
.experience-v7[data-active-scene=sargatracker] .scene-footer #sea-mode{display:none}

/* The open panel owns the music; this is status, not another mode switch. */
.audio-control-status{margin-left:auto;margin-right:10px;color:#bddbd0;font-size:9px;font-weight:400;letter-spacing:.07em;white-space:nowrap}
.audio-control-status::before{content:'';display:inline-block;width:4px;height:4px;margin-right:6px;border-radius:50%;background:#bddbd0;vertical-align:middle}
.audio-control-status[hidden]{display:none}

.sea-toolbar{position:fixed;top:5px;left:50%;transform:translateX(-50%);z-index:185;display:flex;align-items:center;justify-content:center;gap:12px;height:30px;white-space:nowrap}
.sea-toolbar .sea-instrument-toggle{float:none;display:block;width:34px;height:28px;margin:0;padding:0;border:0;background:transparent;color:#d3e5dc;font-size:21px;opacity:.6;cursor:pointer}
.sea-toolbar .sea-instrument-toggle:hover,.sea-toolbar .sea-instrument-toggle:focus-visible{opacity:1}
.sea-toolbar .sargassum-fader{position:relative;inset:auto;transform:none;width:auto;opacity:.65}
.sea-toolbar .version-badge{position:static;margin:0;padding:3px 7px;font-size:9px;letter-spacing:.12em;line-height:1.3}
.sea-toolbar .sargassum-fader output{left:auto;right:0;top:27px;font-size:8px}
.sea-instrument{top:38px}
@media(max-width:640px){.sea-toolbar{gap:9px}.sea-toolbar .sargassum-fader{width:auto}.sea-toolbar .version-badge{padding:3px 6px}}

html.sea-editing :is(body>main,.header,.scene-footer,.opening-scroll,.safe-scroll,.journey-progress,.audio-entrance,.chapter-controls){visibility:hidden!important;opacity:0!important;pointer-events:none!important}
html.sea-editing .sea-instrument #sea-instrument-panel{background:rgba(17,43,55,.12);border:1px solid #d2e6df25;border-radius:0 0 16px 16px;backdrop-filter:blur(7px);-webkit-backdrop-filter:blur(7px);box-shadow:inset 0 1px 0 #ffffff12}

/* V9: controls live in the sky, leaving the sea visible beneath them. */
.sea-instrument.is-open{width:min(1180px,88vw)}
.sea-instrument #sea-instrument-panel{background:transparent;border:0;box-shadow:none;backdrop-filter:none;border-radius:0;padding:16px 10px;gap:7px 18px;max-height:min(400px,45svh);scrollbar-width:thin;scrollbar-color:#dcebe355 transparent;text-shadow:0 1px 8px #071923b8}
#sea-instrument-panel .instrument-heading{grid-row:1}
#sea-instrument-panel .audio-control-mode{grid-column:1/-1;grid-row:2;display:flex;align-items:center;justify-content:center;gap:10px;font-size:11px}
#sea-instrument-panel .audio-control-mode span{color:#c7dbd5;margin-right:5px}
#sea-instrument-panel .audio-control-mode button{border:1px solid #dcebe355;border-radius:18px;padding:6px 13px;background:transparent;font:inherit;font-size:11px}
#sea-instrument-panel .audio-control-mode button[aria-pressed=true]{border-color:#e9d0aa;background:#14334266;color:#fff1d5}
#sea-instrument-panel .instrument-description{grid-row:3;text-align:center}
#sea-instrument-panel .drawer-audio{grid-row:4}
#sea-instrument-panel .music-modes{grid-row:5}
.sea-instrument #sea-instrument-panel>label{grid-row:6}
#sea-instrument-panel .sargassum-caption,#sea-instrument-panel .instrument-reset{grid-row:7}
#sea-instrument-panel .kick-controls{grid-row:8}
#sea-instrument-panel .synth-advanced{grid-row:9}
/* The sargassum control sits just to the right of the sea icon. */
.sargassum-fader{left:calc(50% + 46px);right:auto;top:2px;transform:none;width:164px;z-index:181;opacity:.65}
.sargassum-fader label{display:flex;align-items:center;gap:9px;height:28px}
.sargassum-fader-label{position:static;transform:none;writing-mode:horizontal-tb;white-space:nowrap;font-size:8px;letter-spacing:.1em}
.sargassum-fader input{writing-mode:horizontal-tb;direction:ltr;width:100px;height:28px;cursor:ew-resize;touch-action:pan-y}
.sargassum-fader input::-webkit-slider-runnable-track{width:100%;height:1px;background:linear-gradient(to right,#dfbc86 var(--sargassum-fill,0%),#dce8e342 var(--sargassum-fill,0%))}
.sargassum-fader input::-webkit-slider-thumb{margin:-3px 0 0}
.sargassum-fader input::-moz-range-track{width:100%;height:1px}
.sargassum-fader output{position:absolute;left:100%;top:6px;margin:0 0 0 4px}
@media(max-width:700px){.sea-instrument.is-open{width:calc(100vw - 28px)}.sea-instrument #sea-instrument-panel{grid-template-columns:repeat(2,minmax(0,1fr));padding:12px 8px;gap:7px 12px}.sea-instrument #sea-instrument-panel>:is(.instrument-heading,.audio-control-mode,.instrument-description,.drawer-audio,.music-modes,.sargassum-caption,.instrument-reset,.kick-controls,.synth-advanced),.sea-instrument #sea-instrument-panel>label{grid-row:auto}.sargassum-fader{left:calc(50% + 42px);width:116px}.sargassum-fader input{width:65px}.sargassum-fader-label{font-size:7px}}

.logo-intro,.logo-intro img{pointer-events:none;user-select:none;-webkit-user-select:none;-webkit-user-drag:none}

.experience-v7 .constellation.star-discovery .star-lines{opacity:.38;transition:opacity .8s ease}.constellation .star-lines{transition:opacity 1.5s ease}

/* Quiet tools keep the models in the foreground. */
.experience-v7 .interaction-2x{top:auto;bottom:18px;width:auto;height:28px;min-width:0;padding:4px 8px;flex-direction:row;gap:5px;border:0;border-radius:4px;background:transparent;color:#d7e8e4a6;font-size:10px;letter-spacing:.03em;text-shadow:none}
.experience-v7 .interaction-2x small{font-size:10px;letter-spacing:.02em;font-weight:400}
.experience-v7 .interaction-2x .interaction-arrow{position:static;width:14px;height:14px;animation:none;opacity:.7}
.experience-v7 .interaction-2x:hover,.experience-v7 .interaction-2x:focus-visible{background:#dcebe70c;color:#eff7f2}
#ojo .model-controls{gap:12px}
#ojo .model-controls button,.shop-actions button{background:transparent;border:0;border-radius:0;backdrop-filter:none;box-shadow:none;color:#d3e4deba;font-weight:400;font-size:11px;min-height:30px;padding:4px 6px}
#ojo .model-controls button:hover,.shop-actions button:hover{color:#fff;background:transparent}
.model-controls [data-model="reset"]::before{content:"↺";margin-right:5px}
.model-controls [data-model="retry"]::before{content:"↻";margin-right:5px}
.shop-actions{min-width:0;gap:4px}
.shop-actions button{text-align:left;display:flex;align-items:center;gap:6px}
.shop-actions [data-shop-open="models"]::before{content:"◇";font-size:13px}
.shop-actions [data-shop-open="estimate"]::before{content:"≡";font-size:13px}
.shop-products button{border-radius:0;border-width:0 0 1px;background:transparent;padding:7px 8px}
.shop-products span{margin-bottom:5px}
.shop-products strong{font-size:11px;font-weight:400}
.shop-products small{margin-top:4px}
.shop-products button:hover,.shop-products button.is-selected{transform:none;background:#dcebe708}
@media(pointer:coarse){.experience-v7 .interaction-2x,#ojo .model-controls button,.shop-actions button{min-height:40px}}

.shop-products button:disabled{cursor:default;opacity:.5}.shop-products button:disabled:hover{background:transparent;transform:none;border-color:#c5ddd42e}

/* Three-column shop: introduction, generous 3D stage, compact catalogue. */
html.experience-v6 #cotizador .configurator-screen{display:block;padding:0 50px 0 0;height:var(--stage-height);min-height:0}
html.experience-v6 #cotizador .shop-commerce{height:100%;min-height:0;display:grid;grid-template-columns:minmax(150px,.8fr) minmax(0,1.9fr) minmax(160px,.8fr);gap:clamp(12px,2vw,28px);align-items:stretch;padding:18px 22px;border:0;background:transparent;backdrop-filter:none}
html.experience-v6 #cotizador .shop-intro{grid-column:1;grid-row:1;align-self:center;min-width:0}
#cotizador .shop-intro h2{font-size:clamp(22px,2.3vw,34px);line-height:1.12}
#cotizador .shop-intro p{font-size:12px;line-height:1.6}
#cotizador .shop-viewer-column{grid-column:2;grid-row:1;display:flex;flex-direction:column;min-width:0;min-height:0}
html.experience-v6 #cotizador .quote-instructions{display:block;padding:0 8px 8px;text-align:center}
#cotizador .quote-label{display:block;font-size:11px;font-weight:400}
#cotizador .quote-use{display:block;font-size:9px;line-height:1.4;margin-top:4px}
html.experience-v6 #cotizador .configurator-viewport{flex:1;width:100%;height:auto;min-height:0}
#cotizador .shop-catalogue-column{grid-column:3;grid-row:1;display:flex;flex-direction:column;justify-content:center;gap:18px;min-width:0}
#cotizador .shop-products{display:grid;grid-template-columns:1fr;grid-column:auto;grid-row:auto;gap:6px;margin:0;overflow:visible}
#cotizador .shop-products button{min-width:0;min-height:34px;padding:8px 6px}
#cotizador .shop-products button span{display:inline;margin-right:6px;font-size:8px}
#cotizador .shop-products button strong{display:inline;font-size:11px}
#cotizador .shop-products button small{display:block;font-size:9px;line-height:1.4}
#cotizador .shop-actions{display:flex;flex-direction:column;grid-column:auto;grid-row:auto;margin:0;gap:8px}
#cotizador .shop-actions button{flex:none;min-height:32px;padding:5px 6px;font-size:10px}
html.experience-v6 #cotizador .shop-commerce.is-configuring{padding-top:18px;padding-bottom:18px}
html.experience-v6 #cotizador .shop-commerce.is-configuring .shop-intro p:last-child{display:block}
@media(max-width:700px){
 html.experience-v6 #cotizador .shop-commerce{grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr) auto;gap:8px;padding:8px!important}
 html.experience-v6 #cotizador .shop-intro{grid-column:1;grid-row:1}
 #cotizador .shop-intro h2{font-size:20px;margin:0}
 #cotizador .shop-intro h2 br{display:none}
 #cotizador .shop-intro p:last-child{display:none!important}
 #cotizador .shop-eyebrow{margin:0 0 5px;font-size:8px}
 #cotizador .shop-viewer-column{grid-column:1;grid-row:2}
 #cotizador .shop-catalogue-column{grid-column:1;grid-row:3;gap:6px}
 #cotizador .shop-products,#cotizador .shop-commerce.is-configuring .shop-products{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px}
 #cotizador .shop-products button{padding:4px;min-height:30px}
 #cotizador .shop-products button small{font-size:8px;margin:2px 0}
 #cotizador .shop-actions{flex-direction:row;gap:8px}
 #cotizador .shop-actions button{font-size:9px;min-height:30px}
 #cotizador .quote-use{display:none}
 html.experience-v6 #cotizador .quote-instructions{padding:0 0 4px}
}
/* V9: a panoramic dawn sky; points and their reflections share one clock. */
.experience-v7 .constellation.orion,.experience-v7 .constellation.pleiades{left:0;right:auto;top:0;width:100%;height:100%;transform:none}
.experience-v7 .constellation .star-lines{stroke-width:.5;opacity:calc(var(--stellar-visibility,1)*.035)}
.star-reward{position:fixed;z-index:170;max-width:210px;transform:translateX(-50%) translateY(3px);font-family:inherit;font-size:10px;line-height:1.5;letter-spacing:.04em;color:#e2ede4;opacity:0;pointer-events:none;user-select:none;text-align:center;text-shadow:0 1px 8px #071721;transition:opacity .65s ease,transform .65s ease}
.star-reward.is-visible{opacity:.8;transform:translateX(-50%) translateY(0)}
.sea-piano-note{position:fixed;z-index:170;transform:translateX(-50%) translateY(-100%);padding:5px 10px;border:1px solid var(--note-color,#cfe5df);border-radius:6px;background:#071721df;color:#f5faf7;font-size:15px;font-weight:600;line-height:1.4;letter-spacing:.03em;pointer-events:none;user-select:none;opacity:0;box-shadow:0 2px 10px #0003;text-shadow:0 1px 3px #0008;transition:opacity .12s ease}
.sea-piano-note.is-visible{opacity:1}
#sea-instrument-panel .sea-piano-controls{grid-column:1/-1;grid-row:9;display:flex;align-items:center;flex-wrap:wrap;gap:10px 16px;border-top:1px solid #bddad31a;padding-top:10px;color:#b8cfce;font-size:10px}
.piano-controls-title{font-size:10px;opacity:.75}
.sea-piano-controls button{border:0;border-bottom:1px solid #bddad326;background:transparent;color:inherit;padding:5px 1px;font:inherit;cursor:pointer;opacity:.55}
.sea-piano-controls button[aria-pressed=true]{opacity:1;border-color:#b6d9cf99}
#sea-instrument-panel .piano-opacity{display:grid;grid-template-columns:auto 30px 100px;align-items:center;gap:8px;margin:0;font-size:10px}
#sea-instrument-panel .piano-opacity input{width:100%;margin:0}
.piano-opacity output{font-size:9px;font-variant-numeric:tabular-nums}
.piano-opacity:has(input:disabled){opacity:.35}
.piano-map-hint{flex-basis:100%;font-size:9px;opacity:.55}
#sea-instrument-panel .synth-advanced{grid-row:10}
@media(max-width:700px){#sea-instrument-panel .sea-piano-controls,#sea-instrument-panel .synth-advanced{grid-row:auto}#sea-instrument-panel .piano-opacity{grid-template-columns:auto 30px minmax(60px,100px)}}
@media(prefers-reduced-motion:reduce){.star-reward{transition:none}}
.sea-piano-keyboard{position:fixed;inset:0;z-index:170;pointer-events:none;user-select:none}
.sea-piano-keyboard[hidden]{display:none}
.sea-piano-key-label{position:absolute;transform:translate(-50%,-50%);padding:3px 5px;border:1px solid color-mix(in srgb,var(--note-color) 24%,transparent);border-radius:5px;background:rgba(15,37,45,.17);backdrop-filter:blur(4px);color:rgba(237,246,242,.66);font-size:clamp(8px,.8vw,11px);font-weight:400;line-height:1.3;text-shadow:0 1px 3px #0005}
