/* MARVELOUS.ai — V2 layer: swirl→MX intro · gallery transitions · Service Cinema (lower hero) · vision rows ·
   eight-service carousel · why-now · device showcase · atelier coverflow · watch list · floating dock · Marvelo bot.
   Loaded after site.css; uses the same tokens (dark default, creamy light theme via html[data-theme=light]). */

/* ============================================================ INTRO: swirl → MX */
#mvIntro { position: fixed; inset: 0; z-index: 10001; background: #000; display: grid; place-items: center; overflow: hidden; opacity: 0; transition: opacity .45s ease; cursor: pointer; }
#mvIntro.on { opacity: 1; }
#mvIntro.out { opacity: 0; transition: opacity .7s cubic-bezier(.6,0,.2,1); pointer-events: none; }
#mvIntro canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
#mvIntro .in-swirl { position: absolute; width: min(64vmin, 620px); aspect-ratio: 1; object-fit: cover; border-radius: 50%; opacity: 0; transform: scale(.55) rotate(-90deg); filter: saturate(1.15) contrast(1.05);
  -webkit-mask-image: radial-gradient(circle, #000 52%, transparent 71%); mask-image: radial-gradient(circle, #000 52%, transparent 71%); }
#mvIntro.p1 .in-swirl { animation: inSwirl 1.5s cubic-bezier(.2,.7,.2,1) forwards; }
@keyframes inSwirl { 0% { opacity: 0; transform: scale(.55) rotate(-120deg); } 45% { opacity: 1; } 100% { opacity: 1; transform: scale(1) rotate(40deg); } }
#mvIntro.p2 .in-swirl { animation: inSwirlOut .6s ease forwards; }
@keyframes inSwirlOut { from { opacity: 1; transform: scale(1) rotate(40deg); } to { opacity: 0; transform: scale(1.12) rotate(90deg); filter: blur(6px); } }
#mvIntro .in-logo { position: absolute; opacity: 0; transform: scale(.985); transition: opacity .7s ease, transform 1.2s cubic-bezier(.2,.7,.2,1); pointer-events: none; }
#mvIntro.p4 .in-logo { opacity: 1; transform: scale(1); }
#mvIntro .in-tag { position: absolute; left: 0; right: 0; bottom: 14vh; text-align: center; font-family: var(--f-tech); font-size: 11px; letter-spacing: .5em; text-transform: uppercase; color: rgba(255,255,255,.6); opacity: 0; transform: translateY(8px); transition: opacity .6s ease .1s, transform .8s cubic-bezier(.2,.7,.2,1) .1s; }
#mvIntro .in-tag b { color: #f3d692; font-weight: 400; }
#mvIntro.p4 .in-tag { opacity: 1; transform: none; }
#mvIntro .in-skip { position: absolute; right: 22px; bottom: 20px; font-family: var(--f-tech); font-size: 9.5px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.38); background: none; border: 0; cursor: pointer; padding: 8px; }

/* ============================================================ EXHIBITION: varied cinematic transitions */
.ex-stage img.on { z-index: 2; }
.ex-stage img.t-iris.on { animation: exIris 1s cubic-bezier(.7,0,.2,1) both; opacity: 1; transition: transform 6s linear; }
.ex-stage img.t-wipe.on { animation: exWipe .95s cubic-bezier(.7,0,.2,1) both; opacity: 1; transition: transform 6s linear; }
.ex-stage img.t-diag.on { animation: exDiag 1s cubic-bezier(.7,0,.2,1) both; opacity: 1; transition: transform 6s linear; }
.ex-stage img.t-bars.on { animation: exBars 1s cubic-bezier(.7,0,.2,1) both; opacity: 1; transition: transform 6s linear; }
.ex-stage img.t-zoom.on { animation: exZoom 1.1s cubic-bezier(.2,.7,.2,1) both; opacity: 1; transition: transform 6s linear; }
@keyframes exIris { from { clip-path: circle(0% at 50% 55%); } to { clip-path: circle(80% at 50% 55%); } }
@keyframes exWipe { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes exDiag { from { clip-path: polygon(0 0, 0 0, -30% 100%, -30% 100%); } to { clip-path: polygon(0 0, 130% 0, 100% 100%, -30% 100%); } }
@keyframes exBars { from { clip-path: inset(50% 0 50% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes exZoom { from { opacity: 0; transform: scale(1.18); filter: blur(10px) var(--img-filter, none); } to { opacity: 1; transform: scale(1.0); } }

/* ============================================================ SERVICE CINEMA (photoreal lower hero) */
#cinema { position: relative; height: min(100vh, 62vw); min-height: 600px; max-height: 1100px; overflow: hidden; background: #000; color: #f5f2ea; isolation: isolate; }
.cn-stage { position: absolute; inset: -3%; transition: transform .9s cubic-bezier(.2,.7,.2,1); will-change: transform; }
.cn-scene { position: absolute; inset: 0; opacity: 0; }
.cn-scene.on { opacity: 1; z-index: 2; }
.cn-scene.prev { opacity: 1; z-index: 1; }
.cn-img { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.1) translate3d(-1.2%, -.6%, 0); }
.cn-scene.on .cn-img { animation: cnKen 9s linear both; }
@keyframes cnKen { from { transform: scale(1) translate3d(0, 0, 0); } to { transform: scale(1.1) translate3d(-1.2%, -.6%, 0); } }
.cn-piece { position: absolute; background-repeat: no-repeat; z-index: 3; will-change: transform, opacity, clip-path; }
.cn-vig { position: absolute; inset: 0; z-index: 4; pointer-events: none; background:
  linear-gradient(90deg, rgba(0,0,0,.86) 0%, rgba(0,0,0,.55) 34%, rgba(0,0,0,.05) 62%, rgba(0,0,0,.25) 100%),
  linear-gradient(0deg, rgba(0,0,0,.85) 0%, transparent 32%), linear-gradient(180deg, rgba(0,0,0,.6) 0%, transparent 22%); }
.cn-sweep { position: absolute; inset: 0; z-index: 5; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(124,192,255,.10) 46%, rgba(255,236,200,.16) 50%, transparent 58%); transform: translateX(-100%); }
#cinema.flash .cn-sweep { animation: cnSweep 1.25s cubic-bezier(.6,0,.2,1); }
@keyframes cnSweep { to { transform: translateX(100%); } }
.cn-bars i { position: absolute; left: 0; right: 0; height: 7.5%; background: #000; z-index: 6; }
.cn-bars i:first-child { top: 0; } .cn-bars i:last-child { bottom: 0; }
.cn-copy { position: absolute; z-index: 8; left: var(--pad, 5vw); bottom: 17%; max-width: min(620px, 86vw); }
.cn-copy .eyebrow { color: #f3d692; }
.cn-title { font-size: clamp(32px, 3.6vw, 56px); line-height: 1.04; letter-spacing: -.025em; margin: 0; font-weight: 100; color: #fff; }
.cn-title b { display: block; font-weight: 900; letter-spacing: -.035em; background: linear-gradient(100deg, #fff 0%, #fff4d6 40%, #e6c27a 70%, #7cc0ff 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cn-title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .06em; }
.cn-title .w > span { display: inline-block; transform: translateY(105%); transition: transform .8s cubic-bezier(.2,.8,.2,1); transition-delay: calc(var(--i) * 55ms); }
#cinema.txt .cn-title .w > span { transform: none; }
.cn-hand { font-family: var(--f-hand); color: #f3d692; font-size: clamp(24px, 2.2vw, 36px); display: block; margin-top: 6px; opacity: 0; transform: translateY(10px); transition: opacity .6s ease .35s, transform .8s ease .35s; }
.cn-desc { color: rgba(245,242,234,.78); font-size: clamp(14px, 1vw, 17px); line-height: 1.7; margin: 14px 0 22px; max-width: 52ch; opacity: 0; transform: translateY(10px); transition: opacity .6s ease .45s, transform .8s ease .45s; }
#cinema.txt .cn-hand, #cinema.txt .cn-desc { opacity: 1; transform: none; }
.cn-copy .btn { color: #f5f2ea; border-color: rgba(255,255,255,.28); }
.cn-rail { position: absolute; z-index: 8; right: var(--pad, 5vw); top: 50%; transform: translateY(-50%); display: grid; gap: 4px; width: min(300px, 30vw); }
.cn-rail button { all: unset; cursor: pointer; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: 12.5px; color: rgba(255,255,255,.56); position: relative; transition: color .3s, background .3s; }
.cn-rail button small { font-family: var(--f-tech); font-size: 9px; letter-spacing: .2em; color: rgba(255,255,255,.4); }
.cn-rail button i { position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: rgba(255,255,255,.1); overflow: hidden; }
.cn-rail button i::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #7cc0ff, #f3d692); transform-origin: left; transform: scaleX(0); }
.cn-rail button.on { color: #fff; background: rgba(255,255,255,.06); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.cn-rail button.on small { color: #f3d692; }
.cn-rail button.on i::after { animation: cnProg var(--dur, 6000ms) linear forwards; }
#cinema.paused .cn-rail button.on i::after { animation-play-state: paused; }
@keyframes cnProg { to { transform: scaleX(1); } }
.cn-count { position: absolute; z-index: 8; right: var(--pad, 5vw); bottom: 11%; font-family: var(--f-tech); font-size: 11px; letter-spacing: .3em; color: rgba(255,255,255,.5); }
.cn-count b { color: #fff; font-weight: 400; font-size: 26px; letter-spacing: .05em; margin-right: 6px; }
.cn-top { position: absolute; z-index: 8; left: var(--pad, 5vw); top: 12%; font-family: var(--f-tech); font-size: 10px; letter-spacing: .4em; color: rgba(255,255,255,.55); text-transform: uppercase; }
@media (max-width: 900px) {
  #cinema { height: 92vh; min-height: 560px; max-height: none; }
  .cn-rail { top: auto; bottom: 4%; right: 50%; transform: translateX(50%); width: auto; display: flex; gap: 6px; }
  .cn-rail button { grid-template-columns: 1fr; padding: 0; width: 26px; height: 18px; }
  .cn-rail button span { display: none; } .cn-rail button small { display: none; }
  .cn-rail button i { left: 0; right: 0; bottom: 8px; height: 2px; }
  .cn-copy { bottom: 15%; } .cn-count { bottom: auto; top: 12%; }
  .cn-vig { background: linear-gradient(0deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.5) 50%, rgba(0,0,0,.2) 100%); }
}

/* ============================================================ VISION ROWS */
#vision .v-head { font-size: clamp(34px, 3.8vw, 58px); line-height: 1.05; letter-spacing: -.025em; font-weight: 100; margin: 0 0 34px; }
#vision .v-head b { display: block; font-weight: 900; color: var(--gold); letter-spacing: -.035em; }
html[data-theme="dark"] #vision .v-head b, html:not([data-theme]) #vision .v-head b { background: linear-gradient(100deg, #fff4d6, #e6c27a 45%, #f7dfa6 70%, #b98a3e); -webkit-background-clip: text; background-clip: text; color: transparent; }
.v-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 3vw, 56px); align-items: start; }
.v-list { display: grid; gap: 12px; }
.v-row { position: relative; display: grid; grid-template-columns: 76px 34px minmax(0, 1fr) 30px; align-items: center; gap: 16px; padding: 12px 18px 12px 12px; border-radius: 14px; border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(255,255,255,.01)); color: var(--ink); text-decoration: none; overflow: hidden; transition: transform .45s cubic-bezier(.2,.7,.2,1), border-color .3s, background .3s, box-shadow .4s; }
html[data-theme="light"] .v-row { background: rgba(255,250,241,.8); }
.v-row::before { content: ''; position: absolute; top: 0; left: 0; height: 1px; width: 38%; background: linear-gradient(90deg, transparent, #7cc0ff 30%, #f3d692 70%, transparent); animation: vLine 4.8s linear infinite; animation-delay: calc(var(--i) * -.6s); opacity: .85; }
@keyframes vLine { from { transform: translateX(-100%); } to { transform: translateX(270%); } }
.v-row img { width: 76px; height: 52px; object-fit: cover; border-radius: 8px; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.v-row .v-no { font-family: var(--f-tech); font-size: 10px; letter-spacing: .14em; color: var(--mute); }
.v-row .v-t { font-size: clamp(15px, 1.2vw, 19px); font-weight: 300; line-height: 1.25; margin: 0; }
.v-row .v-d { font-size: 12px; color: var(--mute); margin: 3px 0 0; line-height: 1.5; }
.v-row .v-ar { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--gold); font-size: 13px; transition: transform .4s, background .3s, color .3s; }
.v-row:hover, .v-row.on { transform: translateX(-6px) scale(1.012); border-color: rgba(230,194,122,.55); box-shadow: 0 18px 50px -24px rgba(47,140,255,.45), inset 0 0 0 1px rgba(230,194,122,.12); }
.v-row:hover img, .v-row.on img { transform: scale(1.08); }
.v-row:hover .v-ar, .v-row.on .v-ar { background: var(--gold); color: #120c02; transform: rotate(45deg); }
.v-view { position: sticky; top: 90px; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 5; max-height: 76vh; background: #000; }
.v-view img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); transition: opacity .7s ease, transform 1.6s cubic-bezier(.2,.7,.2,1); }
.v-view img.on { opacity: 1; transform: scale(1); }
.v-view .v-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 3; color: #fff; }
.v-view .v-cap .tech { color: #f3d692; }
.v-view .v-cap p { margin: 6px 0 0; font-size: clamp(20px, 1.7vw, 28px); font-weight: 200; line-height: 1.2; }
.v-view::after { content: ''; position: absolute; inset: 0; z-index: 2; background: linear-gradient(0deg, rgba(0,0,0,.78), transparent 50%); }
@media (max-width: 900px) { .v-grid { grid-template-columns: 1fr; } .v-view { display: none; } .v-row { grid-template-columns: 60px minmax(0, 1fr) 28px; } .v-row .v-no { display: none; } .v-row img { width: 60px; height: 44px; } }

/* ============================================================ EIGHT-SERVICE CAROUSEL */
#studio8 { overflow: hidden; }
#studio8 .s8-head { text-align: center; margin-bottom: 30px; }
#studio8 .s8-head h2 { font-size: clamp(32px, 3.4vw, 54px); font-weight: 100; letter-spacing: -.02em; margin: 0; line-height: 1.05; }
#studio8 .s8-head h2 .hand { display: block; font-size: 1.08em; margin-top: .05em; }
#studio8 .s8-head p { color: var(--mute); max-width: 52ch; margin: 14px auto 0; font-size: 14px; }
.s8-track { display: flex; gap: 18px; width: max-content; animation: s8Move 60s linear infinite; padding: 18px 0 26px; }
.s8-wrap:hover .s8-track { animation-play-state: paused; }
@keyframes s8Move { to { transform: translateX(-50%); } }
.s8-wrap { -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); }
.s8-card { position: relative; flex: 0 0 auto; width: clamp(190px, 15vw, 250px); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); text-decoration: none; transition: transform .5s cubic-bezier(.2,.7,.2,1), box-shadow .5s, border-color .3s; }
.s8-card .ph { aspect-ratio: 4 / 3.4; overflow: hidden; }
.s8-card .ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.s8-card .bd { padding: 12px 14px 16px; }
.s8-card .bd small { font-family: var(--f-tech); font-size: 9px; letter-spacing: .2em; color: var(--gold); }
.s8-card .bd h3 { font-size: 15px; font-weight: 500; line-height: 1.25; margin: 6px 0 4px; }
.s8-card .bd p { font-size: 11.5px; color: var(--mute); margin: 0; }
.s8-card:hover { transform: translateY(-10px) scale(1.03); border-color: rgba(230,194,122,.6); box-shadow: 0 28px 60px -28px rgba(47,140,255,.6), 0 0 0 1px rgba(230,194,122,.2); }
.s8-card:hover .ph img { transform: scale(1.12); }
.s8-card::after { content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.14) 50%, transparent 65%); transform: translateX(-120%); transition: transform .9s ease; }
.s8-card:hover::after { transform: translateX(120%); }

/* ============================================================ WHY NOW */
#whynow { position: relative; overflow: hidden; }
.wn-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 70px); align-items: center; }
.wn-q { font-size: clamp(34px, 3.9vw, 62px); line-height: 1.02; letter-spacing: -.03em; margin: 0; font-weight: 100; }
.wn-q span { display: block; }
.wn-q .b { font-weight: 900; }
.wn-q .g { font-family: var(--f-hand); font-weight: 400; color: var(--gold); letter-spacing: 0; font-size: 1.05em; }
.wn-ph { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 16 / 11; }
.wn-ph img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); transition: transform 2.4s cubic-bezier(.2,.7,.2,1); }
.wn-ph.in img { transform: scale(1); }
.wn-ph .kin { position: absolute; left: 22px; right: 22px; bottom: 18px; color: #fff; z-index: 2; }
.wn-ph::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.8), transparent 55%); }
.kin .k1 { font-size: clamp(14px, 1vw, 16px); font-weight: 200; letter-spacing: .02em; }
.kin .k2 { display: block; font-size: clamp(30px, 3vw, 50px); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.kin .k2 em { font-style: normal; font-family: var(--f-hand); font-weight: 400; color: #f3d692; letter-spacing: 0; }
.kin q { display: block; margin-top: 10px; font-size: 12.5px; color: rgba(255,255,255,.75); font-style: italic; quotes: '“' '”'; }
.wn-band { margin-top: clamp(36px, 4vw, 64px); display: grid; gap: 10px; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.wn-line { display: flex; width: max-content; gap: 46px; animation: s8Move 44s linear infinite; white-space: nowrap; }
.wn-line.rev { animation-direction: reverse; animation-duration: 52s; }
.wn-line span { font-size: clamp(24px, 2.4vw, 40px); letter-spacing: -.02em; color: var(--ink2); }
.wn-line span:nth-child(odd) { font-weight: 900; color: var(--ink); }
.wn-line span:nth-child(even) { font-weight: 100; }
.wn-line span::after { content: '✦'; font-size: .35em; color: var(--gold); margin-left: 46px; vertical-align: middle; font-weight: 400; }
.wn-note { color: var(--mute); font-size: 11.5px; margin-top: 14px; text-align: center; }
@media (max-width: 900px) { .wn-grid { grid-template-columns: 1fr; } }

/* ============================================================ DEVICES */
#devices { position: relative; background: radial-gradient(120% 90% at 50% 0%, #0b1324 0%, #000 60%); color: #f5f2ea; overflow: hidden; }
#devices .lead { color: rgba(245,242,234,.74); }
.dv-stage { position: relative; margin-top: 36px; height: clamp(420px, 44vw, 720px); }
.dv { position: absolute; transition: transform .9s cubic-bezier(.2,.7,.2,1); }
.dv > img { display: block; width: 100%; height: auto; }
.dv-scr { position: absolute; left: 0; top: 0; transform-origin: 0 0; overflow: hidden; background: #050608; border-radius: 6px; }
.dv-scr img { position: absolute; left: 0; top: 0; width: 100%; height: auto; animation: dvScroll var(--t, 18s) ease-in-out infinite alternate; }
@keyframes dvScroll { 0%, 8% { transform: translateY(0); } 92%, 100% { transform: translateY(var(--y, 0px)); } }
.dv-scr::after { content: ''; position: absolute; inset: 0; background: linear-gradient(125deg, rgba(255,255,255,.16), transparent 32%, transparent 70%, rgba(124,192,255,.06)); pointer-events: none; }
.dv.desktop { width: 46%; left: 27%; top: 0; z-index: 1; }
.dv.laptop { width: 36%; left: 0; top: 30%; z-index: 2; }
.dv.tablet { width: 22%; right: 3%; top: 16%; z-index: 2; }
.dv.phone { width: 13%; right: 22%; top: 48%; z-index: 3; }
.dv-stage:hover .dv.laptop { transform: translate(-2%, -2%); }
.dv-stage:hover .dv.tablet { transform: translate(2%, -3%); }
.dv-stage:hover .dv.phone { transform: translate(0, -5%) rotate(-2deg); }
.dv-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; justify-content: center; }
.dv-tags span { font-family: var(--f-tech); font-size: 9.5px; letter-spacing: .24em; text-transform: uppercase; padding: 9px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); color: rgba(255,255,255,.7); }
@media (max-width: 760px) {
  .dv-stage { height: 118vw; }
  .dv.desktop { width: 92%; left: 4%; top: 0; } .dv.laptop { width: 70%; left: 0; top: 46%; } .dv.tablet { width: 40%; right: 2%; top: 40%; } .dv.phone { width: 25%; right: 30%; top: 64%; }
}

/* ============================================================ ATELIER (coverflow + arches + ribbon) */
#atelier { overflow: hidden; }
#atelier .at-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
#atelier .at-head h2 { font-size: clamp(32px, 3.4vw, 54px); font-weight: 100; margin: 0; letter-spacing: -.02em; line-height: 1.05; }
#atelier .at-head h2 .hand { font-size: 1.1em; }
.cf { position: relative; height: clamp(380px, 38vw, 600px); perspective: 1400px; margin-top: 26px; touch-action: pan-y; user-select: none; }
.cf-card { position: absolute; left: 50%; top: 50%; width: clamp(200px, 19vw, 320px); aspect-ratio: 2 / 3; margin: 0; border-radius: 16px; overflow: hidden; cursor: pointer; transition: transform .8s cubic-bezier(.2,.75,.2,1), opacity .8s, filter .8s; box-shadow: 0 30px 70px -30px rgba(0,0,0,.8); background: #000; }
.cf-card img { width: 100%; height: 100%; object-fit: cover; }
.cf-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.4), transparent 40%); }
.cf-card.on { box-shadow: 0 40px 90px -30px rgba(230,194,122,.55), 0 0 0 1px rgba(230,194,122,.45); }
.cf-ui { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; }
.cf-ui .n { font-family: var(--f-tech); font-size: 11px; letter-spacing: .3em; color: var(--mute); min-width: 90px; text-align: center; }
.arches { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: clamp(8px, 1vw, 16px); margin-top: clamp(40px, 5vw, 80px); }
.arch { position: relative; aspect-ratio: 1 / 2; border-radius: 999px 999px 14px 14px; overflow: hidden; transform: translateY(40px); opacity: 0; transition: transform 1s cubic-bezier(.2,.7,.2,1), opacity 1s; transition-delay: calc(var(--i) * 90ms); }
.arches.in .arch { transform: translateY(calc(var(--off) * 1px)); opacity: 1; }
.arch img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.arch:hover img { transform: scale(1.1); }
.ribbon { margin-top: clamp(30px, 4vw, 60px); border-block: 1px solid var(--line); padding: 16px 0; overflow: hidden; }
.ribbon .wn-line span { font-weight: 100 !important; font-size: clamp(22px, 2.4vw, 40px); letter-spacing: .12em; text-transform: uppercase; color: var(--ink2); }
.ribbon .wn-line span::after { color: var(--blue2); }
@media (max-width: 760px) { .arches { grid-template-columns: repeat(4, minmax(0, 1fr)); } .arch:nth-child(n+5) { display: none; } }

/* ============================================================ WATCH: service list */
.watch-svc { list-style: none; margin: 26px 0 0; padding: 0; display: grid; gap: 9px; }
.watch-svc li { font-size: clamp(15px, 1.25vw, 20px); font-weight: 100; color: var(--ink2); transform: translateX(-24px); opacity: 0; transition: transform .8s cubic-bezier(.2,.7,.2,1), opacity .8s; transition-delay: calc(var(--i) * 70ms); }
.watch-svc li b { font-weight: 900; color: var(--ink); }
.watch-svc.in li { transform: none; opacity: 1; }
.watch-svc li:hover b { color: var(--gold); }
.watch-tag { margin-top: 18px; font-size: clamp(18px, 1.6vw, 26px); font-weight: 100; }
.watch-tag b { font-weight: 900; display: block; }

/* ============================================================ FLOATING DOCK */
.fl-rail { position: fixed; left: 14px; top: 50%; transform: translateY(-50%); z-index: 900; display: grid; gap: 12px; opacity: 0; transition: opacity .6s; }
.fl-pills { position: fixed; left: 14px; bottom: 16px; z-index: 900; display: flex; gap: 10px; opacity: 0; transition: opacity .6s; }
.fl-top { position: fixed; left: 50%; bottom: 16px; z-index: 900; transform: translate(-50%, 30px); opacity: 0; pointer-events: none; transition: transform .45s cubic-bezier(.2,.7,.2,1), opacity .45s; }
body.mv-in .fl-rail, body.mv-in .fl-pills { opacity: 1; }
body.mv-scrolled .fl-top { transform: translate(-50%, 0); opacity: 1; pointer-events: auto; }
.fl-b, .fl-top { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: #e9f4ff; background: rgba(6,10,18,.55); border: 1px solid rgba(124,192,255,.4); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 1px rgba(255,255,255,.04) inset, 0 0 18px -4px rgba(47,140,255,.6); cursor: pointer; transition: transform .3s, box-shadow .3s, border-color .3s; position: relative; }
.fl-b svg, .fl-top svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.fl-b::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid rgba(124,192,255,.35); animation: flPulse 3.2s ease-out infinite; animation-delay: calc(var(--i) * .5s); }
@keyframes flPulse { 0% { transform: scale(.85); opacity: .9; } 100% { transform: scale(1.35); opacity: 0; } }
.fl-b:hover, .fl-top:hover { transform: scale(1.1); border-color: #f3d692; box-shadow: 0 0 24px -2px rgba(243,214,146,.6); color: #f3d692; }
.fl-b .tip { position: absolute; left: 52px; white-space: nowrap; font-size: 11.5px; padding: 6px 12px; border-radius: 999px; background: rgba(6,10,18,.85); color: #fff; border: 1px solid rgba(255,255,255,.12); opacity: 0; transform: translateX(-6px); transition: .3s; pointer-events: none; }
.fl-b:hover .tip { opacity: 1; transform: none; }
.fl-pill { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 18px; border-radius: 999px; font-size: 12.5px; font-weight: 500; color: #fff; text-decoration: none; background: rgba(6,10,18,.6); border: 1px solid rgba(255,255,255,.28); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: .3s; position: relative; overflow: hidden; }
.fl-pill::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.25) 50%, transparent 70%); transform: translateX(-120%); animation: flShine 5s ease-in-out infinite; }
.fl-pill + .fl-pill::before { animation-delay: 2.5s; }
@keyframes flShine { 0%, 70% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
.fl-pill:hover { border-color: #f3d692; color: #f3d692; box-shadow: 0 0 22px -6px rgba(243,214,146,.7); }
.fl-pill.wa:hover { border-color: #25d366; color: #7dffb0; box-shadow: 0 0 22px -6px rgba(37,211,102,.7); }
html[data-theme="light"] .fl-b, html[data-theme="light"] .fl-top, html[data-theme="light"] .fl-pill { background: rgba(255,250,241,.82); color: #17130d; border-color: rgba(31,111,240,.35); }
@media (max-width: 760px) {
  .fl-rail { left: 8px; top: auto; bottom: 70px; transform: none; gap: 8px; }
  .fl-b { width: 36px; height: 36px; } .fl-b .tip { display: none; }
  .fl-pills { left: 8px; bottom: 12px; } .fl-pill { height: 36px; padding: 0 13px; font-size: 11.5px; }
  .fl-top { left: auto; right: 86px; transform: translate(0, 30px); } body.mv-scrolled .fl-top { transform: none; }
}

/* ============================================================ MARVELO BOT */
.bot { position: fixed; right: 18px; bottom: 16px; z-index: 950; display: flex; align-items: center; gap: 10px; opacity: 0; transform: translateY(20px); transition: opacity .6s, transform .6s cubic-bezier(.2,.7,.2,1); }
body.mv-in .bot { opacity: 1; transform: none; }
.bot-bub { display: flex; align-items: center; gap: 8px; transition: opacity .4s, transform .4s; }
.bot.silent .bot-bub { opacity: 0; transform: translateX(14px) scale(.9); pointer-events: none; }
.bot-say { height: 40px; padding: 0 18px; border-radius: 999px; display: inline-flex; align-items: center; font-size: 15px; font-weight: 500; color: #fff; background: linear-gradient(135deg, #1aa3ff, #2f6bff); box-shadow: 0 10px 30px -10px rgba(47,140,255,.9); cursor: pointer; border: 0; animation: botSay 4s ease-in-out infinite; white-space: nowrap; }
@keyframes botSay { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.bot-mute { height: 22px; padding: 0 9px; border-radius: 999px; font-size: 9.5px; color: #fff; background: #1478e6; border: 0; cursor: pointer; opacity: .9; }
.bot-btn { all: unset; cursor: pointer; width: 64px; height: 64px; border-radius: 50%; position: relative; display: grid; place-items: center; }
.bot-btn svg { width: 64px; height: 64px; overflow: visible; animation: botBob 3.6s ease-in-out infinite; filter: drop-shadow(0 10px 22px rgba(47,140,255,.55)); }
@keyframes botBob { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-5px) rotate(2deg); } }
.bot-btn .ring { transform-origin: 32px 32px; animation: botRing 7s linear infinite; }
@keyframes botRing { to { transform: rotate(360deg); } }
.bot-btn .eye { transform-box: fill-box; transform-origin: center; animation: botBlink 5s infinite; }
@keyframes botBlink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.bot-btn .ant { animation: botAnt 1.6s ease-in-out infinite; }
@keyframes botAnt { 50% { opacity: .35; } }
.bot.silent .bot-btn svg { animation-duration: 7s; }
.bot-panel { position: absolute; right: 0; bottom: 78px; width: min(320px, calc(100vw - 36px)); border-radius: 18px; padding: 18px; background: rgba(6,10,18,.92); border: 1px solid rgba(124,192,255,.3); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); color: #f5f2ea; box-shadow: 0 30px 70px -20px rgba(0,0,0,.8); opacity: 0; transform: translateY(10px) scale(.97); transform-origin: bottom right; pointer-events: none; transition: .35s cubic-bezier(.2,.7,.2,1); }
.bot.open .bot-panel { opacity: 1; transform: none; pointer-events: auto; }
.bot-panel h4 { margin: 0; font-size: 16px; font-weight: 600; } .bot-panel h4 span { color: #7cc0ff; font-weight: 300; }
.bot-panel p { font-size: 12.5px; color: rgba(245,242,234,.72); margin: 8px 0 14px; line-height: 1.6; }
.bot-panel .acts { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.bot-panel .acts a { font-size: 12px; text-align: center; padding: 10px; border-radius: 12px; border: 1px solid rgba(255,255,255,.14); color: #fff; text-decoration: none; transition: .25s; }
.bot-panel .acts a:hover { border-color: #f3d692; color: #f3d692; }
.bot-panel .x { position: absolute; right: 10px; top: 8px; background: none; border: 0; color: rgba(255,255,255,.5); font-size: 18px; cursor: pointer; }
@media (max-width: 760px) { .bot-say { height: 34px; font-size: 13px; padding: 0 13px; } .bot-mute { display: none; } .bot-btn, .bot-btn svg { width: 54px; height: 54px; } }

/* hide the old custom cursor's ring over fixed UI */
@media (prefers-reduced-motion: reduce) { .s8-track, .wn-line, .v-row::before, .fl-b::after, .fl-pill::before, .bot-btn svg, .bot-say { animation: none !important; } }

/* ============================================================ V2 fixes: stacking + rail-safe margins + device blending */
.ex-stage { z-index: 0; }
.dv { mix-blend-mode: lighten; }
@media (min-width: 761px) {
  .wrap { padding-left: max(var(--pad), 78px); padding-right: max(var(--pad), 78px); }
  .ex-copy, .cn-copy, .cn-top { left: max(var(--pad), 84px); }
  .ex-ui { left: max(var(--pad), 84px); }
}
@media (max-width: 760px) {
  .fl-rail { display: none; }
  .bot-bub { display: none; }
  .fl-top { right: 78px; bottom: 14px; width: 38px; height: 38px; }
}
