@font-face { font-family: Pretendard; font-style: normal; font-weight: 400; font-display: swap; src: url('./fonts/Pretendard-Regular.woff2') format('woff2'); }
@font-face { font-family: Pretendard; font-style: normal; font-weight: 500; font-display: swap; src: url('./fonts/Pretendard-Medium.woff2') format('woff2'); }
:root { color-scheme: light; background: #e9e9e9; --site-font: Helvetica, "Helvetica Neue", Arial, Pretendard, sans-serif; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; }
body { display: grid; place-items: center; font-family: var(--site-font); }
#stage { position: relative; width: 100%; height: 100vh; height: 100svh; overflow: hidden; background: #fff; container-type: inline-size; isolation: isolate; }
#stage[data-state="covered"] { background: #000; }
#poster-fill { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; filter: blur(24px); transform: scale(1.2); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity var(--poster-morph-duration, 900ms) cubic-bezier(.45, 0, .25, 1), visibility 0s var(--poster-morph-duration, 900ms); }
#stage:is([data-state="poster-opening"], [data-state="poster-video"], [data-state="poster-closing"]) #poster-fill { visibility: visible; transition-delay: 0s; }
#stage:is([data-state="poster-opening"], [data-state="poster-video"]) #poster-fill { opacity: 1; }
.poster-video { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: contain; transform-origin: center; transform: scale(var(--poster-cover, 1)); filter: blur(var(--poster-video-blur, 6px)); opacity: 0; visibility: hidden; pointer-events: none; transition: opacity 450ms ease, filter 450ms ease, visibility 0s 450ms; }
#stage[data-poster-video-visible="true"] .poster-video[data-active="true"][data-ready="true"] { opacity: var(--poster-video-opacity, .4); visibility: visible; transition-delay: 0s; }
#stage[data-poster-video-visible="true"][data-poster-video-ready="true"] #moving-type { opacity: 0; }
#stage:is([data-state="poster-opening"], [data-state="poster-video"], [data-state="poster-closing"]) { background: #000; }
#stage:is([data-state="poster-opening"], [data-state="poster-video"], [data-state="poster-closing"]) #moving-type { opacity: 0; }
#stage[data-state="poster-closing"] { background: #fff; transition: background-color var(--poster-morph-duration, 1250ms) cubic-bezier(.45, 0, .25, 1); }
#stage:is([data-state="poster-opening"], [data-state="poster-video"], [data-state="poster-closing"]) .poster-video { transition: opacity var(--poster-morph-duration, 900ms) ease, filter var(--poster-morph-duration, 900ms) ease, transform var(--poster-morph-duration, 900ms) cubic-bezier(.4, 0, .2, 1); }
#stage[data-state="poster-closing"] .poster-video { transition-timing-function: cubic-bezier(.45, 0, .25, 1), cubic-bezier(.45, 0, .25, 1), cubic-bezier(.4, 0, .2, 1); }
#stage:is([data-state="poster-opening"], [data-state="poster-video"]) { --poster-video-opacity: 1; --poster-video-blur: 0px; }
#stage:is([data-state="poster-opening"], [data-state="poster-video"]) .poster-video { transform: scale(1); }
#stage[data-state="poster-video"] .poster-video { pointer-events: auto; }
#stage[data-state="poster-video"] #scene { pointer-events: none; }
#stage[data-state="poster-closing"] #selection-title { opacity: 1; }
:is(#information, #statement-copy) { position: absolute; z-index: 0; top: calc(9% + 96px); right: 0; bottom: 0; left: 0; overflow-x: hidden; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; color: #111; font-family: var(--site-font); opacity: 0; transition: opacity 900ms ease; pointer-events: none; outline: none; mask-image: linear-gradient(to bottom, #000 0, #000 calc(100% - 320px), transparent calc(100% - 210px)); }
:is(#information, #statement-copy)::-webkit-scrollbar { display: none; }
#statement-copy { filter: blur(6px); transition: opacity 900ms cubic-bezier(.45, 0, .25, 1), filter 900ms cubic-bezier(.45, 0, .25, 1); }
#stage[data-statement-visible="true"] #statement-copy { opacity: .4; }
#stage[data-statement-reading="true"] #statement-copy { opacity: 1; filter: blur(0); }
#stage[data-statement-visible="true"] #moving-type { opacity: 0; }
#statement-copy .information-copy p { margin: 0 0 24px; }
#statement-copy .information-copy p:last-child { margin-bottom: 0; }
#stage[data-info-visible="true"] #moving-type { visibility: hidden; }
#stage[data-selection="info"][data-state="detail"] #information { opacity: 1; }
.information-copy { padding: 15px 24px max(320px, 39svh); font-size: 16px; line-height: 1.65; letter-spacing: -.025em; word-break: keep-all; overflow-wrap: anywhere; }
.information-copy h2 { margin: 0 0 38px; font-size: clamp(22px, 6.4cqw, 28px); font-weight: 400; line-height: 1.45; letter-spacing: -.045em; }
.information-details { display: grid; gap: 24px; margin: 0; }
.information-details dt, .information-credits h4 { margin: 0 0 5px; color: #666; font-size: 12px; font-weight: 400; }
.information-details dd { margin: 0; }
.information-credits { margin-top: 52px; }
.information-credits h3 { margin: 0 0 26px; font-size: 25px; font-weight: 400; letter-spacing: -.045em; }
.information-credits h4:not(:first-of-type) { margin-top: 30px; }
.information-credits ul { display: grid; gap: 20px; margin: 0; padding: 0; list-style: none; }
.information-credits li span, .information-credits li small { display: block; }
.information-credits li small { margin-top: 2px; color: #555; font-size: 13px; line-height: 1.65; }
.information-credits p { margin: 0; }
#moving-type { position: absolute; z-index: 0; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: .04em; overflow: hidden; pointer-events: none; user-select: none; -webkit-user-select: none; color: #e7e7e7; font-family: var(--site-font); font-size: clamp(80px, 27.5cqw, 165px); font-weight: 400; line-height: .9; letter-spacing: -.045em; opacity: 1; transition: opacity 450ms ease; }
#stage[data-state="covered"] #moving-type { visibility: hidden; }
.moving-row { flex: none; width: 100%; overflow: hidden; }
.moving-track { display: flex; width: max-content; white-space: nowrap; will-change: transform; animation: moving-type-loop var(--duration, 36s) linear infinite; }
.moving-group { display: block; flex: none; }
.moving-row:nth-child(even) .moving-track { animation-direction: reverse; }
@keyframes moving-type-loop { from { transform: translateX(0); } to { transform: translateX(-50%); } }
#scene { position: relative; z-index: 1; display: block; width: 100%; height: 100%; touch-action: none; -webkit-tap-highlight-color: transparent; user-select: none; -webkit-user-select: none; outline: none; cursor: pointer; }
#scene[data-state="ready"], #scene[data-state="detail"] { cursor: grab; }
#scene[data-dragging="true"] { cursor: grabbing; }
#scene[data-state="entering"], #scene[data-state="detail-revealing"], #scene[data-state="returning"] { cursor: default; }
#scene[data-state="entered"] { cursor: pointer; }
#navigation { position: absolute; z-index: 2; inset: 0; pointer-events: none; visibility: hidden; opacity: 0; transition: opacity 600ms ease; }
#stage:is([data-state="ready"], [data-state="entering"], [data-state="returning"]) #navigation { visibility: visible; opacity: 1; }
#navigation button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; transform: translate(-50%, -50%); margin: 0; padding: 0; border: 0; border-radius: 50%; background: none; color: #000; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
#navigation button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; opacity: 0; transition: opacity 320ms ease; }
#navigation button[aria-pressed="true"]::before { opacity: 1; }
#navigation button:focus-visible { outline: 1px solid #000; outline-offset: -7px; }
#selection-title { position: absolute; z-index: 2; top: max(calc(env(safe-area-inset-top) + 28px), 9%); left: 12px; right: 12px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; margin: 0; color: #fff; mix-blend-mode: difference; font-family: var(--site-font); font-size: clamp(48px, 18cqw, 90px); font-weight: 400; line-height: 1; letter-spacing: -.045em; text-align: center; white-space: nowrap; pointer-events: none; opacity: 0; transition: opacity 320ms ease; }
#selection-label, #selection-handle { display: block; flex: none; opacity: 1; transition: opacity 160ms ease; }
#selection-handle { font-size: clamp(12px, 4cqw, 18px); line-height: 1.2; letter-spacing: 0; }
#selection-title[data-changing="true"] > span { opacity: 0; }
#directions-map { position: absolute; z-index: 0; inset: 0; visibility: hidden; background: #f4f4f4; filter: grayscale(1); pointer-events: none; }
#stage[data-map-visible="true"] #directions-map { visibility: visible; }
#stage[data-selection="directions"][data-state="detail"] #directions-map { pointer-events: auto; }
#stage[data-selection="directions"][data-state="detail"] #scene { pointer-events: none; }
#stage[data-map-visible="true"] #moving-type { visibility: hidden; }
#directions-ui { position: absolute; z-index: 3; inset: 0; font-family: var(--site-font); color: #111; pointer-events: none; opacity: 0; transition: opacity 900ms ease; }
#stage[data-selection="directions"][data-state="detail"] #directions-ui { opacity: 1; }
#stage[data-selection="directions"][data-state="detail"], #directions-ui button, #directions-ui a { touch-action: none; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
#map-bearing { position: absolute; top: calc(9% + 92px); right: 20px; font-size: 11px; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
#map-venue { position: absolute; left: 20px; right: 20px; bottom: max(59px, calc(env(safe-area-inset-bottom) + 46px)); font-size: 12px; line-height: 1.5; text-shadow: 0 0 5px #fff, 0 0 10px #fff; }
#map-venue p { margin: 0; }
#map-venue p:first-child { margin-bottom: 2px; font-size: 15px; font-weight: 500; letter-spacing: -.04em; }
#map-venue .map-hint { margin-top: 10px; font-size: 10px; color: #555; letter-spacing: -.025em; }
#map-venue .map-address { font-size: 10px; color: #555; }
#map-route-summary { margin-top: 5px !important; font-size: 11px; }
#map-status:empty { display: none; }
#map-status { margin-top: 8px !important; }
#map-retry { margin-top: 6px; border: 0; border-bottom: 1px solid; padding: 3px 0; background: transparent; font: inherit; color: inherit; pointer-events: auto; }
#map-attribution { position: absolute; bottom: max(15px, env(safe-area-inset-bottom)); right: 10px; left: 64px; font-size: 8px; line-height: 1.4; text-align: right; text-shadow: 0 0 4px #fff, 0 0 8px #fff; }
#map-attribution a { color: #444; text-decoration: none; pointer-events: auto; }
.venue-pin { width: 18px; height: 18px; pointer-events: none; }
.venue-pin-dot { display: block; width: 18px; height: 18px; border: 4px solid #fff; border-radius: 50%; background: #111; box-shadow: 0 0 0 1px #111; }
.venue-pin-label { position: absolute; top: -1px; left: 25px; white-space: nowrap; font: 500 16px/20px var(--site-font); color: #111; text-shadow: 0 0 4px #fff, 0 0 8px #fff; }
.venue-pin[data-align="left"] .venue-pin-label { left: auto; right: 25px; }
.venue-pin-label small { margin-left: 5px; font-size: 11px; font-weight: 400; }
.venue-pin > span { opacity: 0; }
#stage[data-selection="directions"][data-state="detail"] .venue-pin > span { opacity: 1; animation: directions-label-in 900ms ease both; }
@keyframes directions-label-in { from { opacity: 0; } to { opacity: 1; } }
.gate-pin .venue-pin-dot { border-width: 5px; background: #fff; box-shadow: 0 0 0 1.5px #111; }
.gate-pin .venue-pin-label { font-size: 13px; }
.checkpoint-pin .venue-pin-dot { display: grid; place-items: center; width: 16px; height: 16px; border: 1px solid #111; background: #fff; color: #111; font: 500 10px/1 var(--site-font); box-shadow: 0 0 0 2px #ffffffb3; }
.checkpoint-pin .venue-pin-label { top: -3px; left: 22px; padding: 1px 3px; background: #ffffffe6; font-size: 12px; line-height: 20px; text-shadow: none; }
.checkpoint-pin[data-align="left"] .venue-pin-label { right: 22px; }
.checkpoint-pin .venue-pin-label small { margin-left: 4px; font-size: 10px; }
#stage:is([data-state="ready"], [data-state="entering"], [data-state="entered"], [data-state="detail-revealing"], [data-state="detail"], [data-state="returning"])[data-selection] #selection-title { opacity: 1; }
#back-button { position: absolute; z-index: 3; bottom: max(12px, env(safe-area-inset-bottom)); left: max(12px, env(safe-area-inset-left)); display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: #fff; mix-blend-mode: difference; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
#back-button svg { width: 30px; height: 30px; fill: none; stroke: currentColor; stroke-width: 1.15; stroke-linecap: round; stroke-linejoin: round; }
#back-button:active { transform: scale(.92); }
#back-button[data-pressing="true"] { animation: back-button-press 180ms ease-out; }
@keyframes back-button-press { 0%, 100% { transform: scale(1); } 45% { transform: scale(.86); } }
#back-button:focus-visible { outline: 1px solid currentColor; outline-offset: -1px; border-radius: 50%; }
#layout-controls { position: absolute; z-index: 2; left: 50%; bottom: max(12px, env(safe-area-inset-bottom)); width: min(calc(100% - 24px), 340px); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; transform: translateX(-50%); font-family: var(--site-font); pointer-events: none; }
#layout-controls button { flex: 1; min-height: 44px; border: 1px solid #c8c8c8; border-radius: 0; padding: 10px 12px; background: #fff; color: #000; font-family: inherit; font-size: 13px; line-height: 1.2; cursor: pointer; touch-action: manipulation; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
#layout-toggle { max-width: 160px; }
#layout-panel, .layout-actions { display: contents; }
#layout-panel p { display: none; }
#layout-values { display: block; flex: 0 0 100%; width: 100%; height: 90px; resize: none; padding: 6px 8px; border: 1px solid #ddd; border-radius: 0; background: #fff; color: #000; font: 12px/1.6 monospace; pointer-events: auto; }
#layout-status { position: absolute; bottom: calc(100% + 8px); left: 0; right: 0; display: block; padding: 4px; background: #fff; font-size: 12px; line-height: 1.4; text-align: center; }
#layout-status:empty { display: none; }
#stage[data-editing="true"] #navigation button:not([data-menu="poster"]) { outline: 1px dashed #888; outline-offset: -3px; cursor: move; touch-action: none; }
@media (prefers-reduced-motion: reduce) { #navigation, #selection-title, #selection-title > span, #navigation button::before { transition-duration: 0ms; } }
@media (prefers-reduced-motion: reduce) { .moving-track { animation-play-state: paused; } }
@media (prefers-reduced-motion: reduce) { #directions-ui, #information { transition-duration: 0ms; } #stage[data-selection="directions"][data-state="detail"] .venue-pin > span { animation: none; } }
@media (prefers-reduced-motion: reduce) { #statement-copy { transition-duration: 180ms; } }
@media (min-aspect-ratio: 3/4) {
  #stage { width: min(100vw, calc(100svh * 9 / 19.5)); }
}
