/* cinematic 3D home hero */
.cine-wrap{--stage:clamp(660px,calc(100vh - 32px),880px);position:relative;margin:16px;height:var(--stage)}
.cine-wrap.pinned{height:calc(var(--stage) + 255vh)}
.stage.cine{position:sticky;top:16px;margin:0;height:var(--stage);color:#fff;background:radial-gradient(48% 62% at 74% 48%,rgba(205,160,40,.17),transparent 70%),radial-gradient(40% 40% at 96% 100%,rgba(225,34,42,.2),transparent 72%),radial-gradient(120% 100% at 70% 30%,#1b1e26 0%,#0d0f13 55%,#07080a 100%)}
.cine:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px) 0 0/64px 64px,linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px) 0 0/64px 64px;-webkit-mask-image:radial-gradient(60% 60% at 72% 50%,#000,transparent);mask-image:radial-gradient(60% 60% at 72% 50%,#000,transparent)}
.cine .ghost{position:absolute;right:-1vw;bottom:-.19em;font-size:min(25vw,400px);font-weight:800;line-height:1;letter-spacing:-.04em;color:transparent;-webkit-text-stroke:1.5px rgba(255,255,255,.085);white-space:nowrap;user-select:none}
.cine canvas,.cine .poster{position:absolute;inset:0;width:100%;height:100%}
.cine canvas{opacity:0;transition:opacity .5s}
.cine .spot{position:absolute;left:73%;top:52%;width:min(68%,940px);height:96%;translate:-50% -50%;pointer-events:none;background:radial-gradient(closest-side,rgba(196,212,240,.17),rgba(196,212,240,.06) 55%,transparent);opacity:.45;scale:.9;transition:opacity .8s,scale .9s cubic-bezier(.2,.75,.25,1)}
.cine.focus .spot{opacity:1;scale:1}
.cine .spot:after{content:"";position:absolute;left:18%;right:18%;bottom:13%;height:9%;border-radius:50%;background:radial-gradient(closest-side,rgba(0,0,0,.6),transparent);opacity:0;transition:opacity .8s}
.cine.focus .spot:after{opacity:1}
@media (max-width:900px){.cine .spot{left:52%;top:25%;width:120%;height:52%}}
.cine.gl canvas{opacity:1}
.cine .poster{display:none;object-fit:contain;object-position:90% 50%;width:66%;left:auto}
.cine.nogl canvas{display:none}
.cine.nogl .poster{display:block}
.cine .veil{position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,rgba(7,8,10,.96) 0%,rgba(7,8,10,.86) 32%,rgba(7,8,10,0) 54%),linear-gradient(180deg,rgba(7,8,10,.7),transparent 22%),linear-gradient(0deg,rgba(7,8,10,.75),transparent 24%)}

.scene{position:absolute;z-index:3;left:64px;top:calc(50% - 226px);width:min(600px,48%);opacity:0;visibility:hidden;pointer-events:none;transition:opacity .45s,visibility .45s}
.scene>*{translate:0 34px;transition:translate .7s cubic-bezier(.2,.75,.25,1),opacity .5s;opacity:0}
.scene.on{opacity:1;visibility:visible;pointer-events:auto}
.scene.on>*{translate:0 0;opacity:1}
.scene.on>:nth-child(2){transition-delay:.08s}
.scene.on>:nth-child(3){transition-delay:.16s}
.scene.on>:nth-child(4){transition-delay:.24s}
.scene .over{display:flex;align-items:center;gap:14px;font-size:12.5px;font-weight:600;letter-spacing:.26em;text-transform:uppercase;color:#d5d9e1}
.scene .over i{width:46px;height:8px;background:linear-gradient(90deg,var(--red) 0 45%,transparent 45% 55%,var(--yellow) 55%)}
.scene h1,.scene h2{font-size:clamp(40px,min(5.3vw,8.8vh),84px);font-weight:600;line-height:1.01;letter-spacing:-.045em;margin:18px 0 16px;text-wrap:balance}
.scene h1 b,.scene h2 b{display:block;font-weight:700;background:linear-gradient(100deg,#eadb9f 0%,var(--yellow) 42%,#c28f1e 100%);-webkit-background-clip:text;background-clip:text;color:transparent;padding-bottom:.06em}
.scene p{font-size:17.5px;font-weight:300;line-height:1.7;color:#b4bbc8;max-width:440px}
.scene .act{margin-top:26px}
.stage .btn.glass{background:rgba(255,255,255,.07);box-shadow:inset 0 0 0 1px rgba(255,255,255,.28);backdrop-filter:blur(8px)}
.fam{display:flex;flex-wrap:wrap;gap:8px;margin-top:20px;max-width:580px}
.fam a{display:flex;align-items:center;gap:10px;height:40px;padding:0 15px;border-radius:100px;border:1px solid rgba(255,255,255,.22);background:rgba(10,12,16,.45);font-size:14.5px;transition:background .25s,color .25s,border-color .25s}
.fam a:hover{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
.fam a:before{content:"";width:7px;height:7px;border-radius:2px;background:var(--yellow);rotate:45deg}
.fam a:hover:before{background:var(--red)}

.steps3{position:absolute;z-index:3;left:64px;bottom:34px;display:flex;gap:20px}
.steps3 button{--fill:0;position:relative;width:128px;text-align:left;padding-top:16px;color:#7f8796;font-size:13.5px;transition:color .3s}
.steps3 button:before,.steps3 button:after{content:"";position:absolute;left:0;top:0;height:3px;width:100%;border-radius:3px;background:rgba(255,255,255,.16)}
.steps3 button:after{background:var(--yellow);transform-origin:0 50%;scale:var(--fill) 1}
.steps3 button.on{color:#fff}
.steps3 b{display:block;font-size:11.5px;font-weight:700;color:var(--yellow);margin-bottom:2px}
.cine-wrap:not(.pinned) .steps3,.cine-wrap:not(.pinned) .hint{display:none}
.hint{position:absolute;z-index:3;right:110px;bottom:40px;display:flex;align-items:center;gap:12px;font-size:12px;letter-spacing:.2em;text-transform:uppercase;color:#a7aebb;transition:opacity .4s}
.hint i{width:24px;height:38px;border-radius:20px;border:1.5px solid rgba(255,255,255,.45);position:relative}
.hint i:after{content:"";position:absolute;left:50%;top:7px;width:3px;height:8px;margin-left:-1.5px;border-radius:3px;background:var(--yellow);animation:wheel 1.8s ease-in-out infinite}
@keyframes wheel{0%{opacity:0;translate:0 0}30%{opacity:1}80%{opacity:0;translate:0 12px}100%{opacity:0}}
.cine.moved .hint{opacity:0}

/* navbar over the dark hero */
body:has(.cine:not(.light)) .navwrap .logo{background:#fff;border-radius:14px;padding:6px 14px}
body:has(.cine:not(.light)) .navwrap .logo img{height:52px}
body:has(.cine:not(.light)) .navwrap.stuck .logo img{height:44px}
body:has(.cine:not(.light)) .navwrap:not(.stuck) .menu{background:#fff}
body:has(.cine:not(.light)) .navwrap:not(.stuck) .nav .btn{background:var(--yellow);color:var(--ink)}
body:has(.cine:not(.light)) .navwrap:not(.stuck) .nav .btn i{background:var(--ink);color:var(--yellow)}
.cine-wrap + .ribbon{margin-top:16px}

@media (max-width:900px){
  .cine-wrap{--stage:clamp(700px,calc(100svh - 16px),880px);margin:8px}
  .stage.cine{top:8px;margin:0;background:radial-gradient(80% 34% at 55% 28%,rgba(205,160,40,.18),transparent 70%),radial-gradient(120% 80% at 60% 20%,#1b1e26,#07080a 75%)}
  .cine .veil{background:linear-gradient(0deg,rgba(7,8,10,.96) 0%,rgba(7,8,10,.86) 40%,rgba(7,8,10,0) 62%),linear-gradient(180deg,rgba(7,8,10,.6),transparent 16%)}
  .cine .poster{width:100%;left:0;height:52%;object-position:50% 50%;top:40px}
  .cine .ghost{display:none}
  .scene{left:22px;right:22px;width:auto;top:auto;bottom:156px}
  .scene .over{font-size:10.5px;letter-spacing:.18em;gap:10px}
  .scene .over i{width:30px}
  .scene h1,.scene h2{font-size:clamp(34px,10vw,48px);margin:14px 0 12px}
  .scene p{font-size:15px;line-height:1.6}
  .scene .act{margin-top:18px;gap:8px}
  .scene .act .btn{height:48px;font-size:14px;gap:10px;padding-left:18px}
  .scene .act .btn i{width:34px;height:34px}
  .fam{margin-top:14px;gap:6px}
  .fam a{height:34px;padding:0 12px;font-size:13px}
  .steps3{left:22px;right:22px;bottom:84px;gap:10px}
  .steps3 button{flex:1;width:auto;font-size:12px}
  .cine-wrap:not(.pinned) .scene{bottom:40px}
  .hint{display:none}
}
@media (prefers-reduced-motion:reduce){.scene,.scene>*{transition:none!important}}
body:has(.cine:not(.light)) .navwrap:not(.stuck) .burger{background:var(--yellow);color:var(--ink)}

/* product chapters */
.scene.prod h2{font-size:clamp(38px,min(4.5vw,8vh),70px);white-space:nowrap}
.scene.prod h2 b{display:inline}
.scene.prod p{font-size:16.5px;max-width:460px}
.specs{display:flex;margin-top:18px;border:1px solid rgba(255,255,255,.16);border-radius:18px;background:rgba(10,12,16,.55);width:max-content;max-width:100%;overflow:hidden}
.specs div{padding:12px 26px 13px;border-left:1px solid rgba(255,255,255,.14)}
.specs div:first-child{border:0;box-shadow:inset 4px 0 0 var(--yellow)}
.specs dt{font-size:11.5px;letter-spacing:.14em;text-transform:uppercase;color:#8c95a5}
.specs dd{font-size:21px;font-weight:600;white-space:nowrap}
.sizes{display:flex;align-items:center;gap:16px;margin-top:18px}
.sizes>span{font-size:13px;color:#a7aebb}
.cine .chip{background:rgba(10,12,16,.55);border-color:rgba(255,255,255,.22);color:#e7eaf0;min-width:48px;height:38px;padding:0 12px}
.cine .chip.on{background:var(--yellow);border-color:var(--yellow);color:var(--ink)}
.scene.prod .act{margin-top:22px}
.scene.prod>:nth-child(5){transition-delay:.3s}
.scene.prod>:nth-child(6){transition-delay:.36s}

/* labels that follow the pipes */
.hint{right:auto;left:716px}
@media (max-width:1100px){.hint{display:none}}
.tag3d{position:absolute;left:0;top:0;z-index:4;display:flex;align-items:center;gap:12px;padding:8px 8px 8px 14px;border-radius:100px;background:rgba(255,255,255,.96);color:var(--ink);box-shadow:0 18px 40px -16px #000;opacity:0;visibility:hidden;white-space:nowrap;transition:background .25s}
.tag3d:hover{background:var(--yellow)}
.tag3d b{display:block;font-size:15px;font-weight:600;line-height:1.25}
.tag3d small{display:block;font-size:12px;color:#5b6371}
.tag3d .ico{width:22px;height:22px;border:4px solid var(--red);border-radius:6px;flex:none}
.tag3d .ico.round{border-radius:50%}
.tag3d em{width:36px;height:36px;border-radius:50%;background:var(--ink);color:var(--yellow);display:grid;place-items:center;font-style:normal;margin-left:6px}
.cine.nogl .tag3d{display:none}

@media (max-width:900px){
  .cine-wrap.pinned{height:calc(var(--stage) + 255vh)}
  .scene.prod p{display:none}
  .scene.prod h2{font-size:clamp(30px,9vw,44px)}
  .specs{width:100%;margin-top:6px}
  .specs div{flex:1;padding:9px 10px}
  .specs dt{font-size:9.5px;letter-spacing:.08em}
  .specs dd{font-size:15.5px}
  .sizes{flex-direction:column;align-items:flex-start;gap:6px;margin-top:12px}
  .sizes .chips{gap:6px}
  .cine .chip{min-width:44px;height:34px;padding:0 8px}
  .scene.prod .act{margin-top:14px}
  .steps3{gap:8px}
  .steps3 button{font-size:10.5px;line-height:1.3}
  .scene h1 ~ p{display:none}
  .cine .scene .act{flex-wrap:nowrap}
  .cine .scene .act .btn{padding-left:15px;gap:8px;font-size:13.5px}
  .tag3d{gap:8px;padding:5px 12px 5px 10px}
  .tag3d b{font-size:12px}
  .tag3d small{font-size:10.5px}
  .tag3d .ico{width:15px;height:15px;border-width:3px;border-radius:4px}
  .tag3d .ico.round{border-radius:50%}
  .tag3d em{display:none}
}

/* ---------- light studio theme ---------- */
.stage.cine.light{color:var(--ink);background:radial-gradient(52% 66% at 76% 46%,rgba(224,178,47,.11),transparent 72%),radial-gradient(34% 36% at 98% 102%,rgba(225,34,42,.08),transparent 72%),radial-gradient(120% 105% at 72% 34%,#fff 0%,#f5f3ee 48%,#e4e1d9 100%)}
.cine.light:before{background:linear-gradient(rgba(14,16,20,.055) 1px,transparent 1px) 0 0/64px 64px,linear-gradient(90deg,rgba(14,16,20,.055) 1px,transparent 1px) 0 0/64px 64px}
.cine.light .ghost{-webkit-text-stroke:0;color:rgba(14,16,20,.045)}
.cine.light .veil{background:linear-gradient(90deg,rgba(249,248,245,.97) 0%,rgba(249,248,245,.86) 31%,rgba(249,248,245,0) 53%),linear-gradient(0deg,rgba(236,234,227,.7),transparent 20%)}
.cine.light .spot{background:radial-gradient(closest-side,#fff 0%,#fff 60%,rgba(224,196,122,.17) 84%,transparent);opacity:.45}
.cine.light.focus .spot{opacity:1}
.cine.light .spot:after{background:radial-gradient(closest-side,rgba(52,42,14,.26),transparent)}
.light .scene .over{color:#3d434e}
.light .scene h1 b,.light .scene h2 b{background:linear-gradient(transparent 63%,var(--yellow) 63% 91%,transparent 91%);-webkit-background-clip:border-box;background-clip:border-box;color:var(--ink);padding:0 6px 0 0}
.light .scene h1 b,.light .scene:not(.prod) h2 b{display:table}
.light .scene p{color:#4b5260;font-weight:400}
.cine.light .btn.glass{background:#fff;color:var(--ink);box-shadow:0 14px 30px -18px rgba(20,28,45,.5),inset 0 0 0 1px #e6e3da;backdrop-filter:none}
.light .btn.glass i{background:var(--ink);color:#fff}
.light .btn.y{box-shadow:0 18px 32px -18px rgba(190,130,0,.85)}
.light .specs{background:rgba(255,255,255,.88);border-color:#e4e1d7;box-shadow:0 22px 40px -28px rgba(30,25,5,.45)}
.light .specs div{border-left-color:#e9e6dd}
.light .specs div:first-child{border-left:0}
.light .specs dt{color:#6b7381}
.light .sizes>span{color:#5b6371}
.cine.light .chip{background:#fff;border-color:#dedbd1;color:var(--ink)}
.cine.light .chip.on{background:var(--yellow);border-color:var(--yellow)}
.light .fam a{background:#fff;border-color:#dedbd1}
.light .fam a:hover{background:var(--yellow);border-color:var(--yellow)}
.light .fam a:before{background:var(--red)}
.light .steps3 button{color:#7a808c}
.light .steps3 button:before{background:rgba(14,16,20,.13)}
.light .steps3 button:after{background:var(--red)}
.light .steps3 button.on{color:var(--ink);font-weight:500}
.light .steps3 b{color:var(--red)}
.light .hint{color:#5b6371}
.light .hint i{border-color:rgba(14,16,20,.35)}
.light .hint i:after{background:var(--red)}
.light .tag3d{box-shadow:0 20px 40px -20px rgba(20,28,45,.5),0 0 0 1px #e8e5dc}
@media (max-width:900px){
  .stage.cine.light{background:radial-gradient(80% 34% at 55% 28%,rgba(224,178,47,.24),transparent 70%),radial-gradient(130% 80% at 60% 18%,#fff,#f4f2ec 55%,#e6e3db)}
  .cine.light .veil{background:linear-gradient(0deg,rgba(247,246,242,.98) 0%,rgba(247,246,242,.9) 40%,rgba(247,246,242,0) 61%)}
}

/* minimal product chapters: heading and buttons only */
.scene.prod.min{top:calc(50% - 150px)}
.scene.prod.min h2{font-size:clamp(46px,min(6.6vw,13vh),104px);line-height:1;white-space:nowrap;margin:0}
.scene.prod.min h2 b{display:table}
.scene.prod.min .act{margin-top:40px;gap:14px}
@media (max-width:900px){
  .scene.prod.min{top:auto}
  .scene.prod.min h2{font-size:clamp(36px,11.5vw,58px)}
  .scene.prod.min .act{margin-top:22px;gap:8px}
}

/* ---------- refined type: smaller, lighter, evenly spaced ---------- */
.stage.cine.light .scene h1,.stage.cine.light .scene h2{font-size:clamp(32px,min(3.5vw,6.6vh),54px);font-weight:500;line-height:1.14;letter-spacing:-.025em;margin:14px 0 14px;white-space:normal}
.stage.cine.light .scene h1 b,.stage.cine.light .scene h2 b{font-weight:500;background:linear-gradient(transparent 70%,var(--yellow) 70% 90%,transparent 90%)}
.stage.cine.light .scene.prod h2{white-space:nowrap}
.stage.cine.light .scene.prod h2 b{display:inline}
.light .scene .over{font-size:11.5px;font-weight:500;letter-spacing:.24em}
.light .scene .over i{width:34px;height:5px}
.light .scene p{font-size:16px;font-weight:300;line-height:1.7;max-width:420px}
.light .scene .act{margin-top:26px}
.cine.light .scene .btn{height:50px;padding:0 6px 0 22px;font-size:14.5px;font-weight:500;gap:14px}
.cine.light .scene .btn i{width:38px;height:38px}
.light .fam a{height:36px;font-size:13.5px;font-weight:400}
@media (min-width:901px){
  .stage.cine.light .scene{top:104px;bottom:96px;display:flex;flex-direction:column;align-items:flex-start;justify-content:center}
}
@media (max-width:900px){
  .stage.cine.light .scene h1,.stage.cine.light .scene h2{font-size:clamp(27px,8.2vw,38px);margin:10px 0}
  .light .scene.prod p{display:block;font-size:14px;line-height:1.6}
  .light .scene.prod.min .act{margin-top:16px}
  .cine.light .scene .btn{height:46px;padding-left:15px;font-size:13.5px;gap:8px}
  .cine.light .scene .btn i{width:34px;height:34px}
}
