@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Noto+Sans+SC:wght@400;500;700&display=swap');
:root { --blue: #31a6d7; --cyan: #58d8e9; --yellow: #f4f500; --white: #f4f1df; --ink: #111a20; --line: rgba(244,241,223,.46); --ease: cubic-bezier(.22,1,.36,1); }
* { box-sizing: border-box; }
html,body { margin: 0; min-height: 100%; background: var(--blue); color: var(--white); font-family: 'Noto Sans SC', sans-serif; }
body { cursor: none; }
button { font: inherit; color: inherit; }
.cursor-glow { position: fixed; z-index: 10; width: 180px; height: 180px; pointer-events: none; border-radius: 50%; transform: translate(-50%,-50%); background: radial-gradient(circle, rgba(244,245,0,.19), transparent 68%); mix-blend-mode: screen; }
.grain { position: fixed; z-index: 9; inset: 0; pointer-events: none; opacity: .08; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.88' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E"); mix-blend-mode: overlay; }
.ripple-layer { position: fixed; z-index: 11; inset: 0; overflow: hidden; pointer-events: none; }
.ripple { position: absolute; width: 30px; height: 30px; border: 0; border-radius: 50%; transform: translate(-50%, -50%) scale(.2); opacity: .42; background: radial-gradient(circle, transparent 24%, color-mix(in srgb, var(--ripple-color, var(--yellow)) 32%, transparent) 46%, transparent 72%); filter: blur(3px); animation: ripple-expand 1.15s var(--ease) forwards; }
.ripple::after { content: ''; position: absolute; inset: -18px; border: 1px solid color-mix(in srgb, var(--ripple-color, var(--yellow)) 18%, transparent); border-radius: 50%; filter: blur(5px); opacity: .42; }
.site-shell { min-height: 100vh; display: grid; grid-template-columns: 142px 1fr; }
.rail { min-height: 100vh; padding: 26px 0; display: flex; flex-direction: column; align-items: center; justify-content: space-between; background: var(--cyan); color: var(--ink); }
.rail-brand, .rail-index, .topbar, .home-topline, .directory-label, .category-kicker, .category-stamp, .controls, .home-footer { font-family: 'DM Mono', monospace; }
.rail-brand { width: 80%; font-size: 12px; font-weight: 500; letter-spacing: -.06em; transform: rotate(-90deg) translateX(-28px); transform-origin: left top; }
.rail-dots { display: flex; flex-direction: column; gap: 55px; align-items: center; }
.dot { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--yellow); cursor: none; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.dot:hover, .dot.is-active { transform: scale(1.08); box-shadow: 0 0 0 8px rgba(244,245,0,.17), 0 0 22px rgba(244,245,0,.55); }
.rail-index { font-size: 11px; line-height: 1.5; }
.deck { position: relative; min-height: 100vh; overflow: hidden; background: var(--blue); }
.topbar { position: absolute; z-index: 3; top: 0; left: 0; right: 0; height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 3.8vw 0 2.6vw; font-size: 14px; }
.wordmark span { margin-left: 12px; color: rgba(244,241,223,.78); font-family: 'Noto Sans SC', sans-serif; font-size: 12px; }
.year { font-size: 26px; letter-spacing: -.08em; }
.slide { position: absolute; inset: 76px 0 0; padding: 4vw 6.5vw 6vw; opacity: 0; pointer-events: none; transform: translateY(24px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.slide.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.slide.is-visible > * { animation: rise .8s var(--ease) both; }
.slide.is-visible > *:nth-child(2) { animation-delay: .1s; }.slide.is-visible > *:nth-child(3) { animation-delay: .2s; }
.home-slide { display: flex; flex-direction: column; justify-content: space-between; padding-top: 4vw; }
.home-topline { color: rgba(244,241,223,.82); font-size: clamp(18px, 2.1vw, 32px); letter-spacing: .06em; }
.home-main { display: flex; justify-content: space-between; align-items: center; margin-top: 0; padding-right: 2vw; }
.home-title h1 { margin: 0; color: var(--white); font-size: clamp(54px, 7vw, 132px); font-weight: 400; line-height: .88; letter-spacing: -.09em; }
.home-title p { margin: 12px 0 0; font-size: clamp(16px, 1.55vw, 28px); color: rgba(244,241,223,.9); }
.logo-image { display: block; width: min(23vw, 350px); height: auto; object-fit: contain; mix-blend-mode: multiply; transition: transform .45s var(--ease); }
.logo-image:hover { transform: translateY(-8px) rotate(-2deg) scale(1.03); }
.directory { width: min(760px, 77%); margin: 0 0 1vh; }
.directory-label { margin-bottom: 12px; font-size: 11px; color: rgba(244,241,223,.66); }
.directory-list { border-top: 1px solid var(--line); }
.directory-list button { width: 100%; display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: baseline; padding: 10px 0; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: none; font-size: clamp(16px, 1.55vw, 24px); transition: color .35s var(--ease), padding-left .35s var(--ease); }
.directory-link { width: 100%; display: grid; grid-template-columns: 46px 1fr auto; gap: 14px; align-items: baseline; padding: 10px 0; border-bottom: 1px solid var(--line); color: inherit; text-decoration: none; text-align: left; cursor: none; font-size: clamp(16px, 1.55vw, 24px); transition: color .35s var(--ease), padding-left .35s var(--ease); }
.directory-link span, .directory-link em { font: 11px 'DM Mono', monospace; color: rgba(244,241,223,.65); }
.directory-link em { font-style: normal; font-size: 10px; }
.directory-link:hover { padding-left: 16px; color: var(--yellow); }
.directory-link:hover span, .directory-link:hover em { color: var(--yellow); }
.directory-list button:active, .controls button:active { transform: scale(.985); }
.directory-list button span, .directory-list button em { font: 11px 'DM Mono', monospace; color: rgba(244,241,223,.65); }.directory-list button em { font-style: normal; font-size: 10px; }.directory-list button:hover { padding-left: 16px; color: var(--yellow); }.directory-list button:hover span, .directory-list button:hover em { color: var(--yellow); }
.home-footer { display: flex; justify-content: space-between; font-size: 11px; color: rgba(244,241,223,.72); }
.category-slide { display: flex; flex-direction: column; justify-content: space-between; }
.category-kicker { color: rgba(244,241,223,.7); font-size: 12px; letter-spacing: .08em; }
.category-content { display: grid; grid-template-columns: minmax(300px, .95fr) minmax(260px, .7fr); gap: 9vw; align-items: end; width: min(1050px, 90%); margin-top: auto; margin-bottom: 12vh; }
.category-content h2 { margin: 0; font-size: clamp(54px, 7.5vw, 132px); line-height: 1.05; letter-spacing: -.1em; font-weight: 400; white-space: nowrap; }
.category-content p { max-width: 360px; margin: 0; font-size: 15px; line-height: 1.9; color: currentColor; }
.category-stamp { align-self: flex-end; padding: 18px; border: 1px solid rgba(244,241,223,.55); color: rgba(244,241,223,.78); font-size: 11px; line-height: 1.6; transform: rotate(-4deg); }
.controls { position: absolute; z-index: 4; left: 50%; bottom: 28px; display: flex; align-items: center; gap: 22px; transform: translateX(-50%); font-size: 12px; }.controls button { width: 42px; height: 32px; border: 1px solid rgba(244,241,223,.6); background: transparent; cursor: none; }.controls button:hover { color: var(--yellow); border-color: var(--yellow); }.controls b { color: var(--yellow); }
.progress-track { position: absolute; z-index: 5; left: 0; bottom: 0; width: 100%; height: 3px; background: rgba(244,241,223,.2); }.progress-track span { display: block; width: 14.28%; height: 100%; background: var(--yellow); transition: width .6s var(--ease); }
.theme-manifesto { --page-bg: #31a6d7; --page-fg: #f4f1df; --page-accent: #f4f500; --page-rail: #58d8e9; --page-dot: #f4f500; }
.theme-artists { --page-bg: #31a6d7; --page-fg: #f4f1df; --page-accent: #f4f1df; --page-rail: #0c58c9; --page-dot: #44370c; }
.theme-platforms { --page-bg: #31a6d7; --page-fg: #f4f1df; --page-accent: #f4f1df; --page-rail: #31a6d7; --page-dot: #f4f1df; }
.theme-films { --page-bg: #302b08; --page-fg: #1a9bdb; --page-accent: #1a9bdb; --page-rail: #58b7df; --page-dot: #ff6246; }
.theme-newmedia { --page-bg: #9b0000; --page-fg: #1a9bdb; --page-accent: #1a9bdb; --page-rail: #df0000; --page-dot: #d4b7ff; }
.theme-graphic { --page-bg: #aabed7; --page-fg: #af0000; --page-accent: #af0000; --page-rail: #d2eee6; --page-dot: #ffffff; }
.category-slide { background: var(--page-bg); color: var(--page-fg); }
.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; }
.category-slide .category-kicker, .category-slide .category-stamp { color: var(--page-accent); }
.category-slide .category-stamp { border-color: currentColor; }
.category-slide::before { content: ''; position: absolute; left: -6.5vw; top: 0; bottom: 0; width: 0; background: var(--page-rail); }
.category-slide .category-content h2 { color: var(--page-accent); }
.category-slide .category-content p { color: var(--page-fg); }
.submenu-slide { padding-right: 12vw; }
.submenu-heading { margin: 6vh 0 2.5vh; color: var(--page-accent); font-size: clamp(48px, 5vw, 92px); font-weight: 400; letter-spacing: -.1em; }
.submenu-list { display: grid; grid-template-columns: repeat(2, minmax(280px, 1fr)); gap: 0 5vw; width: min(1000px, 92%); border-top: 1px solid currentColor; }
.submenu-item { display: grid; grid-template-columns: 42px 1fr; gap: 14px; align-items: baseline; padding: 9px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: inherit; text-align: left; cursor: none; font-size: clamp(13px, .95vw, 16px); line-height: 1.35; transition: color .3s var(--ease), padding-left .3s var(--ease); }
.submenu-item span { font: 11px 'DM Mono', monospace; opacity: .6; }.submenu-item:hover { padding-left: 10px; color: var(--page-accent); }.submenu-item:active { transform: scale(.99); }
.detail-panel { position: absolute; z-index: 8; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 10vh 10vw; background: var(--page-bg); color: var(--page-fg); opacity: 0; pointer-events: none; transform: translateY(24px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.detail-panel.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }.detail-close { position: absolute; top: 28px; right: 4vw; width: 42px; height: 34px; border: 1px solid currentColor; background: transparent; color: inherit; cursor: none; font-size: 22px; }.detail-meta, .detail-page, .detail-source { font: 12px 'DM Mono', monospace; }.detail-meta { opacity: .7; }.detail-panel h2 { margin: 26px 0 18px; max-width: 1000px; font-size: clamp(42px, 7vw, 120px); font-weight: 400; letter-spacing: -.09em; }.detail-panel p { font-size: 16px; }.detail-page { margin-top: 9vh; opacity: .65; }.detail-source { width: fit-content; margin-top: 22px; color: inherit; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 5px; }
.detail-panel.theme-films { --page-bg: #302b08; --page-fg: #1a9bdb; --page-accent: #1a9bdb; }
.detail-panel.theme-newmedia { --page-bg: #9b0000; --page-fg: #1a9bdb; --page-accent: #1a9bdb; }
.detail-panel.theme-graphic { --page-bg: #aabed7; --page-fg: #af0000; --page-accent: #af0000; }
.site-shell[class*="theme-"] { background: var(--page-bg); }
.site-shell[class*="theme-"] .rail { background: var(--page-rail); color: var(--page-accent); }
.site-shell[class*="theme-"] .dot { background: var(--page-dot); }
.site-shell[class*="theme-"] .dot:hover, .site-shell[class*="theme-"] .dot.is-active { box-shadow: 0 0 0 8px color-mix(in srgb, var(--page-dot) 24%, transparent), 0 0 22px color-mix(in srgb, var(--page-dot) 62%, transparent); }
.site-shell[class*="theme-"] .deck { background: var(--page-bg); }
.site-shell[class*="theme-"] .topbar, .site-shell[class*="theme-"] .year { color: var(--page-accent); }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ripple-expand { 0% { opacity: .05; transform: translate(-50%, -50%) scale(.2); } 18% { opacity: .42; } 70% { opacity: .16; } 100% { opacity: 0; transform: translate(-50%, -50%) scale(15); } }
@media (max-width: 760px) {
  html, body { min-height: 100%; overflow: hidden; }
  body { cursor: auto; }
  button, .dot, .directory-list button, .controls button, .submenu-item, .detail-close { cursor: pointer; }
  .cursor-glow { display: none; }
  .grain { opacity: .055; }

  .site-shell {
    min-height: 100dvh;
    grid-template-columns: 44px minmax(0, 1fr);
  }
  .rail {
    min-height: 100dvh;
    padding: max(16px, env(safe-area-inset-top)) 0 max(15px, env(safe-area-inset-bottom));
  }
  .rail-brand {
    width: auto;
    font-size: 8px;
    letter-spacing: .08em;
    transform: rotate(-90deg) translateX(-34px);
  }
  .rail-dots { gap: clamp(18px, 3.5vh, 27px); }
  .dot { width: 15px; height: 15px; cursor: pointer; }
  .dot:hover, .dot.is-active { box-shadow: 0 0 0 5px rgba(244,245,0,.17), 0 0 14px rgba(244,245,0,.48); }
  .rail-index { font-size: 8px; line-height: 1.35; }

  .deck { min-height: 100dvh; }
  .topbar {
    height: 58px;
    padding: max(5px, env(safe-area-inset-top)) 18px 0;
    font-size: 11px;
  }
  .wordmark { letter-spacing: .02em; }
  .wordmark span { display: none; }
  .year { font-size: 16px; }

  .slide {
    inset: 58px 0 0;
    min-width: 0;
    padding: 18px 18px calc(68px + env(safe-area-inset-bottom));
    overflow-x: hidden;
  }
  .home-slide {
    justify-content: flex-start;
    gap: clamp(16px, 3vh, 28px);
    padding-top: 14px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .home-topline {
    font-size: 12px;
    letter-spacing: .12em;
    flex: 0 0 auto;
  }
  .home-main {
    display: grid;
    grid-template-columns: 1fr;
    align-items: start;
    gap: 15px;
    min-width: 0;
  }
  .home-title h1 {
    max-width: 100%;
    font-size: clamp(39px, 14.2vw, 64px);
    line-height: .9;
    letter-spacing: -.075em;
    overflow-wrap: anywhere;
  }
  .home-title p { margin-top: 9px; font-size: 14px; }
  .logo-image {
    width: min(44vw, 176px);
    max-height: 19vh;
    margin: -6px 0 -2px auto;
  }
  .directory {
    width: 100%;
    margin: 0;
    flex: 0 0 auto;
  }
  .directory-label { margin-bottom: 7px; font-size: 9px; }
  .directory-list button {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
    min-height: 42px;
    padding: 8px 0;
    font-size: clamp(14px, 4.4vw, 17px);
  }
  .directory-list button span { font-size: 9px; }
  .directory-list button em { display: none; }
  .directory-list button:hover { padding-left: 7px; }
  .home-footer {
    margin-top: auto;
    padding-top: 2px;
    font-size: 8px;
    flex: 0 0 auto;
  }
  .home-footer span:last-child { display: none; }

  .category-slide { justify-content: flex-start; }
  .category-kicker { font-size: 10px; }
  .category-content {
    display: flex;
    width: 100%;
    height: 100%;
    margin: 0;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 28px;
  }
  .category-content h2 {
    max-width: 100%;
    margin: 0;
    font-size: clamp(48px, 18vw, 78px);
    line-height: .98;
    letter-spacing: -.085em;
    white-space: normal;
  }
  .category-content p {
    max-width: 31em;
    margin: 0;
    font-size: 13px;
    line-height: 1.8;
  }
  .category-stamp {
    position: absolute;
    right: 18px;
    bottom: calc(70px + env(safe-area-inset-bottom));
    margin: 0;
    padding: 10px;
    font-size: 8px;
  }

  .submenu-slide {
    padding-right: 18px;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .submenu-heading {
    margin: 8vh 0 22px;
    font-size: clamp(54px, 19vw, 82px);
    line-height: .95;
  }
  .submenu-list { grid-template-columns: 1fr; width: 100%; }
  .submenu-item {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 8px;
    min-height: 45px;
    padding: 11px 0;
    font-size: 13px;
  }
  .submenu-item span { font-size: 9px; }
  .submenu-slide .category-stamp { display: none; }

  .controls {
    left: calc(50% + 22px);
    bottom: calc(15px + env(safe-area-inset-bottom));
    gap: 15px;
    font-size: 10px;
  }
  .controls button { width: 39px; height: 34px; cursor: pointer; }

  .detail-panel {
    justify-content: flex-start;
    padding: calc(76px + env(safe-area-inset-top)) 22px calc(38px + env(safe-area-inset-bottom));
    overflow-y: auto;
  }
  .detail-close {
    top: calc(18px + env(safe-area-inset-top));
    right: 18px;
    width: 40px;
    height: 36px;
  }
  .detail-panel h2 {
    margin: 24px 0 16px;
    font-size: clamp(42px, 15vw, 70px);
    line-height: .98;
  }
  .detail-panel p { font-size: 14px; line-height: 1.7; }
  .detail-page { margin-top: 8vh; }
  .detail-source { min-height: 42px; display: inline-flex; align-items: center; }
}
@media (prefers-reduced-motion: reduce) { *,*::before,*::after { animation-duration: .01ms!important; transition-duration: .01ms!important; } body { cursor: auto; } .cursor-glow { display: none; } }
