:root { color-scheme: dark; --background: #0f0f0f; --text: #f5f5f5; --muted: #b8b8b8; --accent: #ff1212; }
* { box-sizing: border-box; }
html { background: var(--background); }
body { margin: 0; background: var(--background); color: var(--text); font-family: Arial, Helvetica, sans-serif; -webkit-font-smoothing: antialiased; }
body:has(.viewer[open]) { overflow: hidden; }
main, footer { width: min(1440px, calc(100% - 104px)); margin-inline: auto; }
.intro { position: relative; display: grid; grid-template-columns: 1.1fr 1fr; align-items: center; gap: clamp(40px, 8vw, 130px); padding: 56px 0 36px; }

h1 { margin: 0; line-height: 0; }
.logo { width: 100%; height: auto; }
.intro picture, .stage picture, .gallery picture, .viewer picture { display: block; }
.description { margin: 0; font-size: 16px; line-height: 1.55; color: var(--muted); text-wrap: pretty; }
.platforms { margin: 20px 0 0; color: #d6d6d6; font-size: 14px; line-height: 1.65; text-wrap: pretty; }
.platforms strong { font-weight: 500; color: var(--text); }
.showcase { outline: none; }
.stage { position: relative; display: block; background: #161616; cursor: zoom-in; touch-action: pan-y; }
.stage-image { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
.expand { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 44px; height: 44px; color: #fff; background: rgb(15 15 15 / 88%); }
.stage:hover .expand { background: var(--accent); }
.gallery-controls { display: flex; align-items: center; gap: 28px; min-height: 64px; }
.stage-count { flex-shrink: 0; color: #969696; font: 14px Consolas, monospace; }
.stage-count span { color: #fff; }
.progress { flex: 1; height: 2px; background: #333; }
.progress span { display: block; height: 100%; width: calc(100% / 9); background: var(--accent); transition: transform 160ms ease; }
.arrows { display: flex; gap: 8px; }
button { display: inline-grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #eee; cursor: pointer; font: 16px Arial, Helvetica, sans-serif; }
button:hover { background: #292929; color: #fff; }
.gallery { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 8px; padding: 2px 2px 13px; }
.gallery a { position: relative; display: block; line-height: 0; opacity: .66; transition: opacity 160ms ease; }
.gallery a:hover, .gallery a[aria-current="true"] { opacity: 1; }
.gallery a[aria-current="true"] { outline: 2px solid var(--accent); }
.gallery img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; }
a:focus-visible, button:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.showcase:focus-visible .stage { outline: 2px solid #fff; outline-offset: 4px; }
footer { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 36px; padding-block: 20px 30px; }
.external { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; color: var(--muted); text-decoration: none; font-size: 14px; line-height: 1.4; }
.external[href]:hover { color: #fff; text-decoration: underline; text-underline-offset: 5px; }
svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.external svg { width: 16px; height: 16px; }
.viewer { width: min(1800px, calc(100vw - 48px)); max-width: none; max-height: calc(100dvh - 24px); margin: auto; border: 0; padding: 0; background: #0f0f0f; color: var(--text); -webkit-user-select: none; user-select: none; }
.viewer::backdrop { background: rgb(0 0 0 / 94%); }
.viewer-bar { display: flex; align-items: center; justify-content: space-between; height: 48px; padding-left: 16px; }
.count { font: 14px Consolas, monospace; color: var(--muted); }
.viewer button { width: 48px; height: 48px; }
.full-image { display: block; width: 100%; height: auto; max-height: calc(100dvh - 136px); object-fit: contain; touch-action: pan-y; }
.viewer-navigation { display: flex; justify-content: center; gap: 24px; }
@media (max-width: 1050px) { main, footer { width: calc(100% - 56px); } .intro { gap: 40px; grid-template-columns: 1fr 1fr; } .description { font-size: 15px; } .gallery { grid-template-columns: repeat(9, minmax(96px, 1fr)); overflow-x: auto; scrollbar-width: thin; scrollbar-color: #555 transparent; } }
@media (max-width: 700px) { main, footer { width: calc(100% - 32px); } .intro { grid-template-columns: minmax(0, 1fr); gap: 26px; padding: 48px 0 26px; } .logo { width: min(100%, 500px); } .description { max-width: 520px; font-size: 15px; line-height: 1.6; } .platforms { margin-top: 14px; font-size: 13px; } .gallery-controls { min-height: 58px; gap: 18px; } .stage-count { font-size: 12px; } .gallery { gap: 8px; grid-template-columns: repeat(9, 100px); } .expand { top: 8px; right: 8px; width: 36px; height: 36px; } footer { gap: 28px; padding-block: 18px 24px; } .external { gap: 8px; font-size: 14px; } .viewer { width: calc(100vw - 16px); } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
