* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #07070f; color: #f3f2fb; font: 16px/1.6 Inter, "Segoe UI", Tahoma, sans-serif; }
a { color: #b9a6ff; }
[hidden] { display: none !important; }
nav { position: fixed; z-index: 5; top: 12px; left: 12px; right: 12px; max-width: 1180px; margin: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 10px 8px 20px; border: 1px solid rgba(124, 92, 255, .35); border-radius: 40px; background: rgba(10, 10, 20, .75); backdrop-filter: blur(12px); }
nav div { display: flex; gap: 18px; align-items: center; }
nav a { text-decoration: none; font-size: 14px; }
.brand { font-weight: 800; font-size: 19px; color: #fff; }
.brand span, h1 span { background: linear-gradient(90deg, #a855f7, #4f7cff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn { display: inline-block; padding: 11px 22px; border-radius: 30px; background: linear-gradient(90deg, #9b4dff, #4f7cff); color: #fff; font-weight: 700; text-decoration: none; }
.btn.ghost { background: rgba(10, 10, 20, .5); border: 1px solid rgba(255, 255, 255, .35); }
nav .btn { padding: 7px 16px; }
#hero { position: relative; height: 100vh; height: 100svh; min-height: 620px; }
canvas { display: block; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.over { position: absolute; left: max(20px, calc((100% - 1140px) / 2)); right: 20px; bottom: 6vh; max-width: 580px; pointer-events: none; text-shadow: 0 2px 14px rgba(0, 0, 0, .8); }
.over a { pointer-events: auto; text-shadow: none; margin: 0 8px 8px 0; }
.kick { margin: 0; letter-spacing: .2em; text-transform: uppercase; font-size: 12px; font-weight: 700; color: #d9ceff; }
h1 { margin: 6px 0; font-size: clamp(48px, 9vw, 92px); line-height: 1.05; }
.lead { margin: 8px 0; font-size: 17px; }
.hint { font-size: 13px; opacity: .8; }
section { max-width: 1180px; margin: auto; padding: 70px 20px 10px; }
h2 { font-size: clamp(26px, 4vw, 38px); margin: 0; line-height: 1.25; }
h2 span, h3 span { font-weight: 500; color: #a6a3c2; margin-inline-start: 10px; font-size: .7em; }
h3 { margin: 36px 0 12px; }
.sub, .note { color: #a6a3c2; }
.grid { display: grid; gap: 18px 14px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.tile { position: relative; padding: 0; border: 0; background: none; color: inherit; text-align: start; cursor: pointer; font: inherit; }
.tile img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 14px; display: block; transition: transform .25s, box-shadow .25s; }
.tile:hover img, .tile:focus-visible img { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(124, 92, 255, .35); }
.tile b { display: block; margin-top: 8px; }
.tile small { color: #a6a3c2; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
button { font: inherit; cursor: pointer; color: #f3f2fb; background: rgba(25, 22, 50, .85); border: 1px solid rgba(124, 92, 255, .4); border-radius: 30px; padding: 9px 16px; }
button.on { background: linear-gradient(90deg, #9b4dff, #4f7cff); }
.shots { display: grid; gap: 18px; grid-template-columns: 2.6fr 1fr; align-items: start; }
.shots img { width: 100%; border-radius: 14px; border: 1px solid rgba(124, 92, 255, .35); }
.shots .tall { grid-row: span 3; }
.cards { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 20px; }
.card { padding: 22px; border-radius: 16px; background: #10101d; border: 1px solid rgba(124, 92, 255, .22); }
.card h3 { margin: 0 0 6px; font-size: 19px; }
.card p { margin: 0; color: #bcb9d6; }
.cta { text-align: center; }
footer { padding: 50px 20px 90px; text-align: center; }
#viewer { position: fixed; inset: 0; z-index: 10; background: #000; }
#viewer canvas { touch-action: none; }
.bar { position: absolute; left: 0; right: 0; display: flex; gap: 8px; padding: 14px; align-items: center; flex-wrap: wrap; }
.bar.top { top: 0; justify-content: space-between; text-shadow: 0 1px 8px #000; }
.bar.bottom { bottom: 0; justify-content: center; }
#views { display: flex; gap: 6px; flex-wrap: wrap; }
#player { position: fixed; z-index: 11; left: 12px; right: 12px; bottom: 12px; max-width: 640px; margin: auto; display: flex; gap: 10px; align-items: center; padding: 8px 12px; border-radius: 40px; background: rgba(14, 12, 28, .95); border: 1px solid rgba(124, 92, 255, .45); }
#viewer:not([hidden]) ~ #player { bottom: 74px; }
@media (max-width: 720px) { nav div a:not(.btn) { display: none; } .shots { grid-template-columns: 1fr; } .shots .tall { grid-row: auto; max-width: 300px; margin: auto; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
details { margin-top: 10px; padding: 14px 18px; border-radius: 14px; background: #10101d; border: 1px solid rgba(124, 92, 255, .22); }
summary { cursor: pointer; font-weight: 700; }
details p { margin: 8px 0 0; color: #bcb9d6; }
[dir=rtl] .over { left: 20px; right: max(20px, calc((100% - 1140px) / 2)); margin-left: auto; }
[dir=rtl] .over a { margin: 0 0 8px 8px; }
[dir=rtl] nav { padding: 8px 20px 8px 10px; }
[dir=rtl] .kick { letter-spacing: 0; }
@media (max-width: 720px) { nav div a.lang { display: inline; } }
h1 span { background-image: linear-gradient(90deg, #e0c3ff, #a9c1ff); text-shadow: none; filter: drop-shadow(0 2px 10px rgba(0, 0, 0, .8)); }

/* the immersive story */
#journey { position: relative; isolation: isolate; clip-path: inset(0); }
#hero-view { position: fixed; inset: 0; z-index: -1; transition: opacity .45s; }
#journey::after { content: ""; position: absolute; inset: auto 0 0; height: 220px; background: linear-gradient(transparent, #07070f); z-index: -1; }
#hero { height: auto; min-height: 100vh; min-height: 100svh; pointer-events: none; }
.chapter.moment, #cases { max-width: none; min-height: 105vh; display: flex; align-items: center; padding: 100px max(16px, calc((100% - 1140px) / 2)); pointer-events: none; }
.glass { pointer-events: auto; width: 100%; max-width: 560px; padding: 30px; border-radius: 24px; background: rgba(9, 8, 20, .74); border: 1px solid rgba(160, 135, 255, .3); backdrop-filter: blur(10px); }
#cases { justify-content: flex-end; }
#cases .glass { max-width: 600px; }
.open { font-size: clamp(20px, 2.6vw, 28px); font-weight: 600; margin: 14px 0; }
section > .kick, .glass .kick { color: #c9b0ff; margin-bottom: 6px; }
.moments { list-style: none; padding: 0; }
.moments li { padding: 11px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); font-size: 18px; }
.tabs { display: flex; flex-wrap: wrap; gap: 7px; margin: 18px 0; }
.tabs button { font-size: 13px; padding: 7px 13px; }
.case { min-height: 300px; }
.case h3 { margin: 0 0 8px; font-size: 24px; }
.case h3 small { display: block; font-size: 12px; color: #a6a3c2; }
.case li { margin: 4px 0; color: #d9d6f0; }
.waiting { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.waiting.here { opacity: 1; transform: none; }
#ambient { position: fixed; z-index: 6; right: 14px; bottom: 14px; font-size: 13px; }
[dir=rtl] #ambient { right: auto; left: 14px; }
section[id] { scroll-margin-top: 20px; }
.sim { display: grid; grid-template-columns: 1.5fr 1fr; gap: 18px; margin-top: 22px; align-items: start; }
.sim figure { margin: 0; position: sticky; top: 86px; }
.sim figcaption { color: #a6a3c2; font-size: 13px; margin-bottom: 8px; }
.lens { position: relative; height: 520px; border-radius: 28px; overflow: hidden; border: 1px solid rgba(160, 135, 255, .45); box-shadow: 0 20px 70px rgba(124, 92, 255, .25); }
.lens canvas { transition: filter .5s; }
.lens canvas.dim { filter: brightness(.3) saturate(.6); }
#words { position: absolute; left: 20px; right: 20px; bottom: 16px; margin: 0; text-align: center; font-size: 22px; font-weight: 700; text-shadow: 0 2px 10px #000; pointer-events: none; }
#arrow { position: absolute; top: 36%; left: 0; right: 0; text-align: center; font-size: 110px; text-shadow: 0 4px 24px #000; pointer-events: none; direction: ltr; }
#breath { position: absolute; top: 50%; left: 50%; width: 150px; height: 150px; margin: -75px; border-radius: 50%; pointer-events: none; opacity: 0; border: 3px solid #fff; background: radial-gradient(rgba(190, 170, 255, .45), transparent 70%); transition: opacity .4s; }
#breath.go { opacity: 1; animation: breathe 9s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { transform: scale(.6); } 45% { transform: scale(1.35); } 55% { transform: scale(1.35); } }
.panel { padding: 20px; border-radius: 20px; background: #10101d; border: 1px solid rgba(124, 92, 255, .3); }
.panel h3 { margin: 0 0 8px; }
.panel b { display: block; margin-top: 12px; font-size: 13px; color: #c9b0ff; }
.row { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 7px; }
.row button { font-size: 13px; padding: 7px 12px; }
button.stop { border-color: #ff6b81; color: #ffb3bf; }
.warn { margin: 7px 0 0; font-size: 13px; color: #ffd27a; }
#state { margin: 14px 0 0; padding: 10px 12px; border-radius: 10px; background: #0a0a14; font-size: 14px; color: #9be8b8; }
.steps { list-style: none; padding: 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.steps li { padding: 22px; border-radius: 16px; border: 1px solid rgba(124, 92, 255, .22); background: linear-gradient(150deg, #151230, #0c0c18); }
.steps b { font-size: 44px; line-height: 1; color: #9b7bff; }
.steps h3 { margin: 6px 0; }
.steps p { margin: 0; color: #bcb9d6; }
body.library #feel, body.library #journey, body.library #control, body.library #why, body.library #how, body.library #ambient { display: none; }
@media (max-width: 820px) { .sim { grid-template-columns: 1fr; } .sim figure { position: static; } .lens { height: 360px; } .glass { padding: 20px; } .chapter.moment, #cases { align-items: flex-end; } #cases { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { #breath.go { animation: none; } }
@media (max-width: 820px) { .sim figure { position: sticky; top: 74px; z-index: 2; background: #07070f; padding-bottom: 6px; } .sim figcaption { display: none; } .lens { height: 230px; } #words { font-size: 16px; } #arrow { font-size: 64px; top: 22%; } }
body.try #feel, body.try #journey, body.try #why, body.try #how, body.try #demo, body.try #screens, body.try #faq, body.try .cta, body.try footer, body.try main > section:not([id]) { display: none; }

.chips button::before { content: ""; }
#player { justify-content: space-between; }
#player span { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
#player button { white-space: nowrap; }
#airs { display: flex; gap: 6px; flex-wrap: wrap; }
#airs button.on { border-color: #fff; background: rgba(124, 92, 255, .6); }
.mixer { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.mixer > div { padding: 18px; border-radius: 18px; border: 1px solid rgba(124, 92, 255, .3); background: rgba(124, 92, 255, .07); }
.mixer h3 { margin-top: 0; }
.mixer label { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-size: 13px; opacity: .8; }
.mixer input[type=range] { flex: 1; accent-color: #7c5cff; }
.mixer details { margin-top: 12px; }
.mixer details .chips { margin-top: 10px; }
#picks button.on { background: #7c5cff; border-color: #7c5cff; color: #fff; }
