@font-face { font-family: 'Scto'; src: url('assets/scto-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Scto'; src: url('assets/scto-medium.woff2') format('woff2'); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: 'Scto'; src: url('assets/scto-bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }

:root { --ink: #1f1f1f; --soft-ink: #d0d0d0; --page: #fff; --card: #f0f0f0; --thumb: clamp(88.8828px, 6.9444vw, 116.875px); }
* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; overflow: hidden; background: var(--page); }
body { color: var(--ink); font-family: 'Scto', Arial, sans-serif; font-size: 10px; font-weight: 700; line-height: 1; text-transform: uppercase; cursor: none; }
button, select { font: inherit; text-transform: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { border: 0; cursor: pointer; }
button:focus { outline: none; }
a { color: inherit; text-decoration: none; }

.shop { position: relative; width: 100%; height: 100svh; min-height: 450px; overflow: hidden; isolation: isolate; }
.site-header { position: fixed; z-index: 5; top: 0; left: 0; display: flex; align-items: flex-start; justify-content: space-between; width: 100%; padding: 18px 26px; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-logo { display: block; width: 63px; height: 27px; }
.site-logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.header-status { display: flex; align-items: center; min-height: 27px; }
.active-product { max-width: 260px; margin: 8px 0 0; font-size: 10px; line-height: 1; text-align: right; }
.world-status { display: flex; align-items: center; gap: 15px; margin: 7px 0 0; font-size: 10px; }
.world-status[hidden] { display: none; }
.world-status span { padding: 2px 8px; border-radius: 3px; background: #ddd; }
.world-status i { display: block; width: 16px; height: 9px; border: 1px solid #111; border-radius: 1px; }
.world-status i::after { content: ''; display: block; width: 2px; height: 4px; margin: 1px 0 0 16px; background: #111; }

.page { position: absolute; inset: 0; transition: opacity 360ms ease, transform 500ms cubic-bezier(.2,.8,.1,1); }
.page.is-leaving { opacity: 0; transform: scale(.985); }
.page.is-entering { opacity: 0; transform: scale(1.015); }
.page.is-active { opacity: 1; transform: scale(1); }
.product-stage { position: absolute; inset: 0; overflow: visible; }
.product-track { position: absolute; inset: 0; }
.product-card { position: absolute; top: 40%; left: 50%; display: grid; width: var(--thumb); aspect-ratio: 1; place-items: center; padding: 0; background: transparent; transform: translate(-50%, -50%); will-change: transform; }
.product-zoom { display: block; width: 100%; height: 100%; transform-origin: center; will-change: transform; }
.product-card img { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-card:focus-visible { outline: 1px solid rgba(17,17,17,.09); outline-offset: 5px; }
.product-card:not(.is-active) { opacity: 1; }
.shop.is-detail-opening .product-card,
.shop.is-detail-opening .product-zoom { transition: transform 650ms cubic-bezier(.16, .84, .24, 1); }

.ipod { position: fixed; z-index: 4; bottom: 20px; left: 50%; width: 160px; height: 160px; border-radius: 50%; background: radial-gradient(circle at 50% 50%, #363636 0 18%, #101010 19% 100%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.1), inset 0 0 16px rgba(255,255,255,.1); transform: translateX(-50%); transition: opacity 600ms ease, filter 600ms ease; }
.ipod.is-muted { opacity: .18; filter: grayscale(1); }
.ipod button { position: absolute; padding: 0; background: transparent; color: var(--soft-ink); }
.ipod-menu { top: 15px; left: 50%; padding: 10px !important; transform: translateX(-50%); font-size: 10px; }
.ipod-center { top: 50%; left: 50%; width: 61px; height: 61px; border: 1px solid #090909; border-radius: 50%; background: #363636 !important; transform: translate(-50%, -50%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.12); }
.ipod-arrow { top: 50%; width: 35px; height: 35px; transform: translateY(-50%); }
.ipod-left { left: 13px; }
.ipod-right { right: 13px; }
.ipod-arrow span, .modal-controls span { display: block; position: relative; width: 17px; height: 12px; margin: auto; }
.ipod-left span::before, .ipod-left span::after, .modal-controls button:first-child span::before, .modal-controls button:first-child span::after { content: ''; position: absolute; top: 1px; width: 0; height: 0; border-top: 5px solid transparent; border-right: 8px solid var(--soft-ink); border-bottom: 5px solid transparent; }
.ipod-left span::before, .modal-controls button:first-child span::before { left: 0; }
.ipod-left span::after, .modal-controls button:first-child span::after { right: 0; }
.ipod-right span::before, .ipod-right span::after, .modal-controls button:last-child span::before, .modal-controls button:last-child span::after { content: ''; position: absolute; top: 1px; width: 0; height: 0; border-top: 5px solid transparent; border-left: 8px solid var(--soft-ink); border-bottom: 5px solid transparent; }
.ipod-right span::before, .modal-controls button:last-child span::before { left: 0; }
.ipod-right span::after, .modal-controls button:last-child span::after { right: 0; }
select:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }

.shop-nav { position: fixed; z-index: 7; bottom: 189px; left: 50%; display: flex; align-items: center; gap: 8px; height: 38px; padding: 4px 12px; border-radius: 8px; background: #1e1e1e; color: #d0d0d0; opacity: 0; transform: translateX(-55%) scale(.9); transition: opacity 200ms ease, transform 320ms cubic-bezier(.2,.8,.1,1); }
.shop-nav.is-open { opacity: 1; transform: translateX(-50%) scale(1); }
.shop-nav.is-closing { opacity: 0; transform: translateX(-68%) scale(.85); }
.shop-nav[hidden], .cart-popover[hidden] { display: none; }
.nav-link { min-width: 58px; padding: 8px 9px; border-radius: 5px; font-size: 10px; text-align: center; }
.nav-link:hover, .nav-link.is-current { background: #f7f7f7; color: #191919; }
.cart-toggle { position: relative; display: grid; width: 30px; height: 28px; place-items: center; padding: 0; background: transparent; color: #d0d0d0; }
.cart-icon { display: block; width: 20px; height: 20px; }
.cart-count { position: absolute; top: -3px; right: -1px; display: grid; width: 15px; height: 15px; place-items: center; border-radius: 50%; background: #6e6e6e; color: white; font-size: 8px; }
.cart-popover { position: fixed; z-index: 8; bottom: 235px; left: 50%; width: 205px; padding: 15px; border-radius: 8px; background: var(--ink); color: var(--soft-ink); transform: translateX(-50%); }
.cart-popover p { margin: 0; font-size: 10px; }

.page-world { z-index: 1; }
.world-file { position: absolute; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 120px; padding: 0; background: transparent; color: var(--ink); font-size: 10px; text-transform: none; transition: opacity 550ms ease, transform 650ms cubic-bezier(.2,.8,.1,1); }
.world-file img, .video-preview { display: block; width: 90px; height: 104px; object-fit: cover; }
.world-folder { top: 16.5%; left: calc(45.5% - 120px); width: 240px; }
.world-note { top: 34%; left: 25.5%; }
.world-merch { top: 24.5%; left: 56.1%; }
.folder-icon { position: relative; display: block; width: 96px; height: 72px; border-radius: 5px; background: #eaeaea; }
.folder-icon::before { content: ''; position: absolute; top: -7px; left: 0; width: 38px; height: 12px; border-radius: 5px 5px 0 0; background: #eaeaea; }
.world-folder > span:last-child { padding: 5px 7px; background: #2457c7; color: white; white-space: nowrap; }
.video-preview { position: relative; overflow: hidden; }
.video-preview img { width: 100%; height: 100%; }
.video-preview i { position: absolute; top: 50%; left: 50%; display: grid; width: 16px; height: 16px; place-items: center; border-radius: 50%; background: rgba(255,255,255,.45); color: #333; font-size: 7px; font-style: normal; transform: translate(-50%, -50%); }
.page-world.is-entering .world-file { opacity: 0; transform: translateY(12px); }
.page-world.is-active .world-file { opacity: 1; transform: translateY(0); }
.page-world.is-active .world-note { transition-delay: 100ms; }
.page-world.is-active .world-merch { transition-delay: 180ms; }

.product-modal { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 0; background: transparent; overflow: hidden; }
.product-modal::backdrop { background: transparent; }
.modal-card { position: absolute; top: 0; bottom: 0; left: 50%; display: flex; flex-direction: column; width: min(469.193px, calc(100vw - 24px)); padding: 38.73px 12px 15px; border-radius: 6px; background: var(--card); transform: translateX(-50%); }
.modal-card h1 { margin: 0 6px 16px; font-size: 11px; line-height: 17px; }
.modal-image-wrap { position: relative; flex: 0 0 auto; width: 100%; aspect-ratio: 1; background: #fff; overflow: hidden; }
.modal-image-wrap > img { display: block; width: 100%; height: 100%; object-fit: cover; transform-origin: center; will-change: transform; }
.more-info { position: absolute; top: 15px; left: 15px; display: flex; gap: 12px; align-items: center; padding: 11px 12px; background: #eee; color: #777; font-size: 11px; }
.modal-card button:focus { outline: none; }
.more-info span { font-size: 15px; line-height: 8px; }
.product-info { position: absolute; right: 10px; bottom: 10px; left: 10px; padding: 11px; background: rgba(240,240,240,.94); font-size: 10px; line-height: 1.25; }
.slides { display: flex; gap: 5px; padding: 0 6px 12px; }
.slide { flex: 1; height: 11px; padding: 0; background: #d0d0d0; }
.slide.is-active { background: #929292; }
.size-picker { display: flex; align-items: center; justify-content: space-between; height: 31px; margin: 0 6px; border-bottom: 1px solid #dedede; font-size: 10px; }
.size-picker select { border: 0; outline: none; background: transparent; color: var(--ink); font-size: 11px; font-weight: 700; text-align: right; }
.sold-out { width: calc(100% - 12px); margin: 16px 6px 0; padding: 16px; border-radius: 3px; background: #8c8c8c; color: #ececec; font-size: 10px; text-transform: none; }
.modal-controls { position: fixed; bottom: 18px; left: 50%; display: grid; grid-template-columns: 1fr 1fr 1fr; width: 187px; height: 61px; margin: 0; overflow: hidden; border: 3px solid #101010; border-radius: 31px; background: #373737; transform: translateX(-50%); }
.modal-controls button { display: grid; place-items: center; padding: 0; background: transparent; color: var(--soft-ink); }
.modal-controls button:nth-child(2) { font-size: 28px; font-weight: 400; }
.modal-controls button b { display: block; margin-top: -3px; font-weight: 400; }
.modal-card h1,
.more-info,
.slides,
.size-picker,
.sold-out,
.modal-controls { transition: opacity 280ms ease; }
.product-modal.is-opening .modal-card h1,
.product-modal.is-opening .more-info,
.product-modal.is-opening .slides,
.product-modal.is-opening .size-picker,
.product-modal.is-opening .sold-out,
.product-modal.is-opening .modal-controls,
.product-modal.is-closing .modal-card h1,
.product-modal.is-closing .more-info,
.product-modal.is-closing .slides,
.product-modal.is-closing .size-picker,
.product-modal.is-closing .sold-out,
.product-modal.is-closing .modal-controls { opacity: 0; }

.finger-cursor { position: fixed; z-index: 20; top: 0; left: 0; width: 44px; height: 44px; pointer-events: none; transform: translate(-50%, -50%); opacity: 0; transition: opacity .2s; }
.finger-cursor.is-visible { opacity: .5; }

@media (max-width: 700px) {
  body { cursor: auto; }
  .site-header { padding: 14px 15px; }
  .site-logo { width: 59px; height: 25px; }
  .active-product { max-width: 190px; margin-top: 7px; font-size: 9px; }
  .world-status { margin-top: 6px; font-size: 9px; }
  .product-card { top: 41%; }
  .ipod { bottom: 12px; width: 143px; height: 143px; }
  .ipod-center { width: 55px; height: 55px; }
  .ipod-menu { top: 11px; }
  .shop-nav { bottom: 167px; transform: translateX(-50%) scale(.88); transform-origin: bottom center; }
  .cart-popover { bottom: 203px; }
  .finger-cursor { display: none; }
  .modal-card { top: 0; bottom: 0; width: calc(100vw - 20px); padding: 25px 10px 10px; }
  .modal-card h1 { margin: 0 4px 12px; font-size: 10px; }
  .more-info { padding: 9px; font-size: 9px; }
  .slides { padding: 7px 0 10px; }
  .sold-out { margin-top: 10px; padding: 13px; }
  .modal-controls { width: 172px; height: 55px; margin-top: 10px; }
  .world-folder { top: 21%; left: calc(50% - 120px); }
  .world-note { top: 41%; left: 8%; }
  .world-merch { top: 31%; left: 57%; }
}
