:root {
  color-scheme: dark;
  --page: #07131f;
  --surface: #0b1d29;
  --ink: #eef8fa;
  --muted: #aac3ce;
  --mint: #77efd4;
  --line: #294654;
  font: 16px/1.65 system-ui, "PingFang TC", sans-serif;
  background: var(--page);
  color: var(--ink);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--mint); }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--mint); outline-offset: 4px; }
[hidden] { display: none !important; }
.shell { width: min(1140px, calc(100% - 48px)); margin-inline: auto; }
.skip { position: absolute; left: 1rem; top: -5rem; z-index: 3; padding: .5rem; background: var(--page); }
.skip:focus { top: .5rem; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.site-header { border-bottom: 1px solid var(--line); }
.nav-row, .site-footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-row { min-height: 75px; }
.brand { display: block; width: clamp(132px, 19vw, 184px); height: auto; }
nav { display: flex; flex-wrap: wrap; gap: 10px 24px; }
nav a { text-decoration: none; font-size: .9rem; }
.cinema-home { --page: #080a13; --surface: #0a0e1a; --ink: #f6f5ff; --muted: #bec4d9; --mint: #d8d2ff; --line: #2b3044; background: var(--page); }
.hero { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1.28fr); align-items: center; gap: clamp(20px, 3.2vw, 48px); padding-block: clamp(40px, 6vw, 86px); }
.eyebrow { color: var(--mint); font-size: .72rem; font-weight: 700; letter-spacing: .16em; margin: 0 0 15px; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(2.65rem, 6.4vw, 5.6rem); line-height: 1.06; letter-spacing: -.06em; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.55rem, 5.5vw, 4.6rem); font-weight: 650; }
.intro { color: var(--muted); max-width: 30em; margin-bottom: 26px; }
.primary { display: inline-flex; align-items: center; gap: 26px; min-height: 44px; padding: 8px 14px; border: 1px solid #8885a5; color: var(--mint); text-decoration: none; font-size: .88rem; }
.primary:hover { color: var(--ink); background: #d8d2ff14; }
.hero-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.hero-actions .primary { background: var(--mint); border-color: var(--mint); color: #141126; }
.hero-actions .primary:hover { background: #ebe7ff; }
.hero-actions .secondary { background: transparent; border-color: #6d7190; color: var(--ink); }
.hero-actions .secondary:hover { background: #d8d2ff14; }
.depth-demo { margin: 0; min-width: 0; }
.demo-heading, .demo-footer { display: flex; align-items: center; justify-content: space-between; gap: 6px 12px; flex-wrap: wrap; }
.demo-heading { font-size: .85rem; padding-bottom: 10px; }
.demo-heading figcaption span { margin-right: 9px; color: var(--mint); font: .77rem ui-monospace, monospace; }
.depth-demo fieldset { display: flex; gap: 6px; min-inline-size: 0; padding: 0; margin: 0; border: 0; }
.depth-demo label { position: relative; }
.depth-demo input { position: absolute; inset: 0; margin: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.depth-demo label span, .replay { display: inline-flex; align-items: center; min-height: 40px; padding: 4px 10px; border: 1px solid #525770; color: var(--ink); }
.depth-demo input:checked + span { border-color: #aba2d7; color: var(--mint); background: #26243b; }
.depth-demo input:focus-visible + span { outline: 2px solid var(--mint); outline-offset: 2px; }
.depth-stage { position: relative; isolation: isolate; overflow: clip; aspect-ratio: 1.5; min-height: 170px; background: radial-gradient(ellipse at 58% 42%, #1a3246 0%, #0b1623 38%, var(--page) 76%); }
.photo { position: absolute; inset: 10% 13% 17% 14%; border: 1px solid #c5e2f4; background: url("deep-water.jpg") center / cover; box-shadow: 0 0 18px #8dcaff41, 0 14px 45px #02060e9c; }
.cms-scene-image { display: block; width: 100%; height: 100%; object-fit: cover; }
.manta-ray { position: absolute; top: 47%; left: 50%; width: 96%; height: auto; transform: translate(-50%, -50%) scale(.61) rotate(-6deg); filter: brightness(.78); }
.depth-demo:has([value="pop"]:checked) .manta-ray {
  transform: translate(-50%, -46%) scale(1);
  filter: brightness(1.08) drop-shadow(0 14px 10px #02060cbb);
  transition: transform var(--depth-duration, 2.2s) cubic-bezier(.37,.03,.26,1), filter var(--depth-duration, 2.2s) ease;
}
.demo-footer { color: var(--muted); font-size: .76rem; border-top: 1px solid var(--line); padding-top: 10px; }
.replay { font-size: .8rem; background: transparent; cursor: pointer; }
.replay:hover { border-color: var(--mint); }
.features, .compatibility, .faq, .download { padding-block: clamp(48px, 7vw, 88px); scroll-margin-top: 20px; }
.features { border-block: 1px solid var(--line); background: var(--surface); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); line-height: 1.2; margin-bottom: 22px; }
.section-intro { max-width: 64ch; color: var(--muted); margin-bottom: 32px; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); padding: 0; margin: 0 0 24px; list-style: none; gap: 24px; }
.steps li { border-top: 1px solid var(--line); padding-top: 14px; }
.steps li > span { color: var(--mint); font: .85rem ui-monospace, monospace; }
.steps h3 { margin: 8px 0; }
.steps p, .prose p, .prose li { color: var(--muted); }
.walkthrough li { display: flex; min-width: 0; flex-direction: column; }
.app-screen { display: block; width: min(100%, 235px); height: auto; margin: auto auto 0; border: 1px solid #4b516c; border-radius: 20px; background: #09121b; box-shadow: 0 12px 34px #02040d85; }
.screen-note { color: var(--muted); margin: 22px 0 0; font-size: .82rem; }
.compatibility { border-bottom: 1px solid var(--line); }
.compat-options { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.compat-option { padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); background: var(--surface); }
.compat-optical { border-top-color: #8b93ca; background: linear-gradient(150deg, #171e36, var(--surface) 70%); }
.compat-tag { margin: 0 0 10px; color: var(--mint); font-size: .82rem; font-weight: 650; }
.compat-option h3 { margin-bottom: 12px; font-size: 1.3rem; }
.compat-option ul, .device-list ul { margin: 0; padding-left: 1.25em; color: var(--muted); }
.compat-option li + li { margin-top: 7px; }
.device-list { margin-bottom: 20px; padding: 12px 0; border-block: 1px solid var(--line); }
.device-list summary { min-height: 34px; cursor: pointer; }
.device-list p { margin: 10px 0; color: var(--muted); font-size: .9rem; }
.device-list ul { columns: 2; margin-bottom: 10px; }
.faq { background: var(--surface); }
.help-layout { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr); gap: 26px clamp(24px, 5vw, 64px); }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 14px 28px 14px 0; position: relative; list-style: none; min-height: 48px; cursor: pointer; font-weight: 650; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: ""; position: absolute; right: 4px; top: 22px; width: 7px; height: 7px; border: solid var(--mint); border-width: 0 1px 1px 0; transform: rotate(45deg); }
.faq-list details[open] summary::after { transform: rotate(225deg); }
.faq-list details p { margin: 0 0 16px; color: var(--muted); }
.faq-list a { color: var(--mint); }
.support-entry { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 10px; padding: clamp(18px, 3vw, 28px); border: 1px solid var(--line); background: var(--page); }
.support-entry h3 { margin-bottom: 4px; }
.support-entry p { margin: 0; color: var(--muted); }
.download { text-align: center; border-block: 1px solid var(--line); background: radial-gradient(ellipse at 50% 0%, #202a48 0%, var(--page) 66%); }
.download .section-intro { margin-inline: auto; }
.release-status { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 7px 12px; border: 1px solid #626884; color: var(--mint); font-size: .88rem; }
.release-status span { width: 6px; height: 6px; border-radius: 50%; background: var(--mint); }
.text-link { color: var(--mint); }
.site-footer { padding-block: 25px; color: var(--muted); }
.cms-section { padding-block: clamp(26px, 5vw, 70px); }
.cms-section img, .cms-section video { display: block; max-width: 100%; height: auto; }
.cms-columns, .cms-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.cms-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.prose { padding-block: 56px; max-width: 720px; min-height: 58vh; }
.prose h1 { font-size: clamp(2.25rem, 5vw, 3.7rem); }
.prose h2 { font-size: 1.4rem; margin-top: 28px; margin-bottom: 8px; }
.prose .draft { color: var(--mint); border-left: 2px solid var(--mint); padding-left: 12px; }
@media (max-width: 730px) {
  .cms-main { display: flex; flex-direction: column; }
  .cms-block { order: var(--mobile-order, 100); }
  .cms-columns, .cms-gallery { grid-template-columns: 1fr; }
  .hero, .steps, .compat-options, .help-layout { grid-template-columns: 1fr; }
  .hero { gap: 28px; }
  .steps { gap: 10px; }
  .walkthrough { gap: 26px; }
  .app-screen { width: min(100%, 270px); }
  .help-layout .section-intro { margin-bottom: 0; }
  .site-footer { align-items: start; flex-direction: column; }
}
@media (max-width: 380px) {
  .shell { width: calc(100% - 32px); }
  .nav-row { gap: 10px; }
  .nav-row nav { justify-content: end; gap: 4px 10px; }
  .nav-row nav a { font-size: .8rem; }
}
@media (prefers-reduced-motion: reduce) {
  .depth-demo:has([value="pop"]:checked) .manta-ray { transition: none; }
}

.exhibit-promo { padding-block: 0 clamp(42px, 6vw, 72px); scroll-margin-top: 20px; }
.exhibit-promo-card { position: relative; isolation: isolate; display: grid; align-items: center; min-height: 340px; overflow: hidden; border: 1px solid #ffffff17; border-radius: 22px; background: #060e17; }
.exhibit-promo-card > img { position: absolute; z-index: -2; inset: 0 0 0 auto; width: 76%; height: 100%; object-fit: cover; object-position: 58% 50%; }
.exhibit-promo-card > img[src$="/chameleon-poster.webp"] { object-position: 58% 86%; }
.exhibit-promo-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(90deg, #060e17 12%, #060e17ec 29%, #060e1760 54%, transparent 79%); }
.exhibit-promo-copy { padding: clamp(22px, 5vw, 66px); max-width: 520px; }
.exhibit-promo-copy .eyebrow { color: #7de8f5; }
.exhibit-promo-copy .section-intro { margin-bottom: 22px; color: #c1d0dc; }
.exhibit-promo-copy .primary { border-color: transparent; border-radius: 14px; background: #3be0e3; color: #042c48; font-weight: 650; }
.exhibit-promo-copy .primary:hover { background: #80edf0; }
.exhibit-promo-note { color: var(--muted); font-size: .82rem; margin: 15px 0 0; }
.exhibit-promo-card:has(> .exhibit-stage) { grid-template-columns: minmax(0, .62fr) minmax(0, 1.38fr); grid-template-areas: "copy scene"; align-items: stretch; }
.exhibit-promo-card:has(> .exhibit-stage)::after { content: none; }
.exhibit-stage { grid-area: scene; position: relative; aspect-ratio: 1.44; min-width: 0; background: #091923; }
.exhibit-stage + .exhibit-promo-copy { grid-area: copy; align-self: center; }
.exhibit-stage img, .exhibit-live, .exhibit-live canvas { display: block; width: 100%; height: 100%; }
.exhibit-stage img, .exhibit-live { position: absolute; inset: 0; }
.exhibit-stage img { object-fit: cover; object-position: center 80%; }
.exhibit-live { visibility: hidden; }
.exhibit-stage[data-live] img { visibility: hidden; }
.exhibit-stage[data-live] .exhibit-live { visibility: visible; }
.exhibit-live canvas { cursor: grab; outline-offset: -4px; }
.exhibit-live canvas:active { cursor: grabbing; }
@media (max-width: 730px) {
  .exhibit-promo-card { align-items: end; min-height: 410px; }
  .exhibit-promo-card > img { width: 100%; height: 67%; object-position: 53% 50%; }
  .exhibit-promo-card > img[src$="/chameleon-poster.webp"] { object-position: 58% 90%; }
  .exhibit-promo-card::after { background: linear-gradient(0deg, #060e17 38%, #060e17ad 58%, transparent 80%); }
  .exhibit-promo-copy { padding-top: 155px; }
  .exhibit-promo.shell { width: calc(100% - 32px); }
  .exhibit-promo-card:has(> .exhibit-stage) { grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "scene"; min-height: auto; }
  .exhibit-stage + .exhibit-promo-copy { padding: 22px; }
}
