@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

:root { color-scheme: dark; font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif; background: #020b08; color: #e8f4ed; }
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; }
button, .stage { -webkit-tap-highlight-color: transparent; }
button:focus-visible, .stage:focus-visible { outline: 1px solid #a7f5c7; outline-offset: 5px; }
.gallery { position: relative; min-height: 740px; height: 100svh; overflow: hidden; isolation: isolate; background: radial-gradient(ellipse at 50% -25%, #174d3c66, transparent 53%), linear-gradient(#031d17 0%, #03140f 35%, #020b08 100%); }
.frame { position: absolute; z-index: 5; inset: 7px 16px; border: 1px solid #a9e3c21c; pointer-events: none; }
.frame::before, .frame::after { content: ''; position: absolute; width: 7px; height: 7px; border-color: #9bc8ae88; border-style: solid; }
.frame::before { top: -1px; left: -1px; border-width: 1px 0 0 1px; }
.frame::after { bottom: -1px; right: -1px; border-width: 0 1px 1px 0; }
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .36; }
.star { position: absolute; width: 1px; height: 1px; background: #a3d8b5; border-radius: 50%; }
.heading { position: relative; z-index: 2; text-align: center; padding: 50px 24px 0; pointer-events: none; }
.eyebrow { margin: 0 0 16px; color: #719987; font-size: 9px; letter-spacing: 4px; }
.eyebrow span { margin: 0 5px; }
.eyebrow strong { font-weight: 500; color: #a7e8be; }
h1 { margin: 0; font-size: clamp(44px, 5vw, 66px); font-weight: 300; letter-spacing: -2px; line-height: 1.2; }
.subtitle { margin: 12px 0 0; font-size: 12px; color: #789c87; letter-spacing: .2px; }
.stage { position: absolute; inset: 25% 0 120px; perspective: 1100px; cursor: grab; touch-action: pan-y; user-select: none; outline-offset: -20px !important; }
.stage.is-dragging { cursor: grabbing; }
.orbit { position: absolute; top: 20%; left: 50%; transform-style: preserve-3d; }
.card { position: absolute; top: 0; left: 0; width: var(--card-width); height: var(--card-height); transform-style: preserve-3d; will-change: transform; }
.card-label { position: absolute; bottom: calc(100% + 15px); left: -20%; width: 140%; margin: 0; text-align: center; color: #9bb5a5; font-weight: 400; font-size: 10px; letter-spacing: 1.1px; text-transform: uppercase; white-space: nowrap; }
.card-image { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: 8px; pointer-events: none; filter: brightness(.83) saturate(.94); }
.reflection { position: absolute; top: calc(100% + 8px); left: 0; width: 100%; height: 100%; opacity: .42; pointer-events: none; mask-image: linear-gradient(to bottom, #000 0%, #0009 36%, transparent 96%); -webkit-mask-image: linear-gradient(to bottom, #000 0%, #0009 36%, transparent 96%); }
.reflection img { transform: scaleY(-1); filter: brightness(.62) saturate(.85); }
.collection-info { position: absolute; z-index: 4; bottom: 36px; left: 50%; transform: translateX(-50%); width: min(480px, 92%); text-align: center; }
.counter { display: flex; gap: 10px; justify-content: center; margin: 0 0 12px; font-family: monospace; font-size: 11px; letter-spacing: 2px; color: #718d7b; }
#current-number { color: #a5f2c0; text-shadow: 0 0 12px #5ce59099; }
.divider { color: #3d5b4a; }
.selection { display: flex; align-items: center; justify-content: center; gap: 20px; }
h2 { margin: 0; min-width: 280px; font-size: clamp(21px, 2.6vw, 30px); line-height: 1.5; text-transform: uppercase; font-weight: 300; letter-spacing: 4px; }
.arrow { display: grid; place-items: center; width: 32px; height: 36px; padding: 6px; border: 0; background: transparent; color: #829e8c; cursor: pointer; transition: color .2s; }
.arrow:hover { color: #b4f4c9; }
.arrow svg { width: 20px; fill: none; stroke: currentColor; stroke-width: 1; }
.pagination { display: flex; align-items: center; justify-content: center; margin-top: 5px; gap: 2px; }
.dot { display: grid; place-items: center; width: 16px; height: 24px; padding: 0; background: none; border: none; cursor: pointer; transition: width .3s; }
.dot::after { content: ''; height: 4px; width: 4px; border-radius: 8px; background: #405b4a; transition: width .3s, background .3s, box-shadow .3s; }
.dot[aria-current="true"] { width: 25px; }
.dot[aria-current="true"]::after { width: 20px; background: #a4f1bd; box-shadow: 0 0 12px #63e59088; }
.hint { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 12px 0 0; color: #607b69; font-size: 8px; letter-spacing: 1.6px; }
.playback { padding: 5px 0; border: 0; color: #7d9b87; background: transparent; font-size: 8px; letter-spacing: 1.6px; cursor: pointer; }
.playback:hover { color: #b4f4c9; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (min-height: 950px) { .orbit { top: 24%; } }
@media (max-width: 600px) {
  .gallery { min-height: 660px; }
  .frame { inset: 8px; }
  .heading { padding-top: 51px; }
  .eyebrow { font-size: 8px; letter-spacing: 2.4px; }
  .subtitle { font-size: 10px; }
  .stage { top: 25%; }
  .orbit { top: 17%; }
  .collection-info { bottom: 29px; }
  .selection { gap: 4px; }
  h2 { min-width: 235px; font-size: 22px; letter-spacing: 2.8px; }
  .card-label { font-size: 9px; }
}
@media (prefers-reduced-motion: reduce) { *, *::after { transition: none !important; } }
