.studio-bar { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .8rem max(5vw, 1.25rem); background: #030b08; border-bottom: 1px solid #365545; color: #c1d2bf; font-size: .72rem; }
.studio-bar a { text-decoration: none; }
.studio-bar a:hover { color: #f0d9a5; text-decoration: underline; }
.studio-bar span { color: #a7bd9b; }
.hero-galaxy, .journey-sky { background-image: url('media/experience/galaxy.webp'); }
.departure-image { background-image: url('media/experience/launchpad-0.21.1.webp'); }
.modal-open { overflow: hidden; }
.research { background: #0c1e18; border-block: 1px solid var(--line); }
.research-layout { display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(2rem, 5vw, 5rem); }
.research-layout figure { margin: 0; min-width: 0; }
.research-layout img { width: 100%; height: auto; border: 1px solid var(--line); }
.research-layout figcaption { color: var(--muted); font-size: .72rem; margin-top: .75rem; }
.research-copy article { padding-block: 1.25rem; border-top: 1px solid var(--line); }
.research-copy article > span, .online-grid article > span { color: var(--gold); font-size: .65rem; letter-spacing: .12em; }
.research-copy h3, .online-grid h3 { margin: .75rem 0; font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.3; letter-spacing: -.02em; }
.research-copy p, .online-grid p { color: var(--muted); font-size: .9rem; line-height: 1.9; }
.online { background: #10271f; border-block: 1px solid #385341; }
.online-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 4vw, 4rem); }
.online-grid article { min-width: 0; border-top: 1px solid #5d765b; padding-top: 1.5rem; }
.beta-note { color: #adbfac; font-size: .76rem; line-height: 1.8; margin: 2.5rem 0 0; max-width: 78ch; }
.site-footer > div { display: flex; flex-direction: column; gap: .7rem; }
.world-option { font-size: .76rem; min-height: 56px; }
.world-option > span { font-size: .6rem; }
.world-arrows button, .form-tabs button { min-width: 44px; min-height: 44px; }
.sparks { background: #0b1815; border-block: 1px solid #365245; }
.spark-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.spark-gallery, .spark-dossier { min-width: 0; }
.spark-track { display: flex; height: clamp(340px, 48vw, 650px); overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; background: #10181c; border: 1px solid #45604c; }
.spark-track::-webkit-scrollbar { display: none; }
.spark-track:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.spark-slide { flex: 0 0 100%; min-width: 0; height: 100%; margin: 0; scroll-snap-align: start; }
.spark-slide .image-zoom { height: 100%; }
.spark-slide img { display: block; width: 100%; height: 100%; object-fit: contain; }
.spark-navigation { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.spark-navigation button { width: 44px; height: 44px; border: 1px solid #64775b; background: transparent; color: #e2d19f; font-size: 1.2rem; cursor: pointer; }
.spark-navigation p { color: #d7e0cf; font-size: .85rem; margin: 0; text-align: center; }
.spark-range-label { display: block; margin-top: 1rem; color: #9caf9f; font-size: .72rem; }
.spark-range { display: block; width: 100%; min-height: 32px; accent-color: #d6bc7d; margin: .2rem 0 0; cursor: pointer; }
.spark-summary h3 { margin: .5rem 0 1rem; font-size: clamp(2.4rem, 5vw, 4rem); line-height: 1.15; }
.spark-summary .lead { color: #e1e4d5; font-size: 1.12rem; line-height: 1.6; }
.spark-summary p:not(.lead) { color: var(--muted); font-size: .9rem; line-height: 1.9; }
.spark-qualities { margin: 1.5rem 0; }
.spark-qualities > div { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); gap: 1rem; border-top: 1px solid #365245; padding: .7rem 0; font-size: .8rem; line-height: 1.7; }
.spark-qualities dt { color: #94b09c; }
.spark-qualities dd { margin: 0; color: #d5e0cf; }
.spark-presentation { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.spark-presentation button { min-height: 44px; padding: .65rem .8rem; border: 1px solid #5c7358; background: transparent; color: #b2c7b4; font: inherit; font-size: .8rem; cursor: pointer; }
.spark-presentation button[aria-pressed="true"] { background: #d6c38c; color: #0b1815; border-color: #d6c38c; }
.spark-view-label { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; color: #a8c0ac; font-size: .8rem; }
.spark-view-label[hidden] { display: none; }
.spark-view-label select { min-height: 44px; min-width: 8rem; padding: .5rem .7rem; border: 1px solid #64785a; background: #0c1b16; color: #e2e9d8; font: inherit; }
.spark-art-note { margin-top: 1rem; color: #9ab29d; font-size: .72rem; line-height: 1.7; }
.spark-choices { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: .7rem; margin-top: 2rem; }
.spark-choice { min-width: 0; padding: .4rem .4rem .75rem; background: #101c18; color: #b2c8b5; border: 1px solid #365242; font: inherit; font-size: .8rem; cursor: pointer; }
.spark-choice img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; }
.spark-choice span { display: block; margin-top: .4rem; }
.spark-choice.active { border-color: #dcc483; color: #f3dfa9; background: #203426; }
.sparks button:focus-visible, .sparks select:focus-visible, .spark-range:focus-visible { outline: 3px solid #dfc983; outline-offset: 3px; }
.continuum-story { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; padding-block: 2.5rem; margin-top: 2.5rem; border-top: 1px solid #3d5846; }
.continuum-story h3 { margin: .8rem 0 0; font-size: 1.8rem; line-height: 1.35; }
.continuum-story > p { color: var(--muted); font-size: .95rem; line-height: 1.9; margin: 0; }
.atelier-preview { margin: 0; }
.atelier-preview video { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; background: #030a07; }
.atelier-preview figcaption { margin-top: .7rem; font-size: .8rem; color: #a9bfa9; line-height: 1.8; }
@media (max-width: 850px) { .spark-layout, .continuum-story { grid-template-columns: 1fr; }.spark-choices { grid-template-columns: repeat(3, minmax(0, 1fr)); }.spark-track { height: min(90vw, 600px); min-height: 290px; } }
@media (max-width: 420px) { .spark-choices { gap: .4rem; }.spark-choice { font-size: .72rem; }.spark-qualities > div { grid-template-columns: 4.5rem minmax(0, 1fr); gap: .6rem; } }
.image-zoom { position: relative; display: block; cursor: zoom-in; }
.image-zoom:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.image-zoom-label { position: absolute; z-index: 3; top: .75rem; right: .75rem; padding: .35rem .65rem; background: #06130fee; color: #e4d2a3; font-size: .72rem; line-height: 1.5; }
.hero-world-link { position: absolute; }
.hero-world-link img { width: 100%; height: 100%; object-fit: contain; }
.hero::before, .hero::after, .orbit-lines, .mission-seal::before { pointer-events: none; }
.world-view > .image-zoom { position: absolute; inset: 0; }
.world-label, .bridge-visual figcaption { pointer-events: none; }
.hero-art-zoom { display: inline-flex; align-items: center; gap: .6rem; margin-top: 1rem; font-size: .75rem; color: #c5d4bf; text-decoration: underline; text-underline-offset: .25em; }
.image-lightbox { width: min(96vw, 94rem); max-width: none; max-height: 96vh; max-height: 96dvh; padding: 0; background: #06130f; color: #e5e9dc; border: 1px solid #657957; }
.image-lightbox::backdrop { background: #000e; }
.image-lightbox-toolbar, .image-lightbox-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .5rem 1rem; }
.image-lightbox-toolbar { font-size: .82rem; }
.image-lightbox button { min-width: 44px; min-height: 44px; padding: .5rem .8rem; border: 1px solid #82927680; background: transparent; color: inherit; font: inherit; font-size: .85rem; cursor: pointer; }
.image-lightbox button:hover { background: #d4be86; color: #06130f; }
.image-lightbox button:focus-visible, .image-lightbox a:focus-visible { outline: 3px solid #e2c981; outline-offset: 3px; }
.image-lightbox-image { display: block; width: 100%; height: auto; max-height: calc(96vh - 12rem); max-height: calc(96dvh - 12rem); object-fit: contain; background: #020705; }
.image-lightbox-footer p { margin: 0; text-align: center; font-size: .9rem; line-height: 1.5; }
.image-lightbox-hint { margin: 0; text-align: center; padding: 0 .75rem .8rem; color: #b1c1a7; font-size: .72rem; }
@media (max-width: 540px) {
  .image-lightbox-toolbar, .image-lightbox-footer { gap: .5rem; padding-inline: .6rem; }
  .image-lightbox-footer button span { display: none; }
  .image-lightbox-footer p { font-size: .8rem; }
}
@media (max-width: 850px) {
  .research-layout { grid-template-columns: 1fr; }
  .research-layout figure { max-width: 42rem; }
  .online-grid { grid-template-columns: 1fr; }
  .studio-bar { flex-wrap: wrap; gap: .6rem 1rem; }
  .studio-bar span { order: 1; flex-basis: 100%; font-size: .67rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
