@import url('https://fonts.googleapis.com/css2?family=Anybody:wght@500;600;700;800&family=DM+Sans:wght@400;500;600;700&family=Space+Mono:wght@400;700&display=swap');

:root {
  --ink: #2a2a2a;
  --ink-muted: #3d3b4f;
  --paper: #fefefe;
  --surface: #eeeeee;
  --line: #d6d6d6;
  --green: #28e99f;
  --blue: #5882ff;
  --sky: #71adff;
  --violet: #756cf5;
  --lime: #daff01;
  --orange: #ff7f59;
  --red: #ff6d6d;
  --pink: #ffacfe;
  --clay: #ffbcb3;
  --font-body: "DM Sans", sans-serif;
  --font-display: "Anybody", sans-serif;
  --font-mono: "Space Mono", monospace;
  --container: 80rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(5rem, 10vw, 9.5rem);
  --shadow-hard: 0.4rem 0.4rem 0 var(--ink);
  --shadow-soft: 0.6rem 0.6rem 0 rgba(42, 42, 42, 0.11);
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
}

body::selection { color: var(--ink); background: var(--green); }

img { display: block; max-width: 100%; }

a { color: inherit; text-decoration: none; }

button,
textarea { font: inherit; }

button { color: inherit; }

.container {
  width: min(calc(100% - (var(--gutter) * 2)), var(--container));
  margin-inline: auto;
}

.mono,
.eyebrow,
.tiny-note {
  font-family: var(--font-mono);
}

.mono { font-size: 0.7rem; letter-spacing: 0.04em; }

.eyebrow {
  margin: 0 0 1.4rem;
  color: var(--ink-muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

.dark-section .eyebrow { color: var(--green); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 100;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--green);
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus { transform: translateY(0); }

.noise {
  position: fixed;
  z-index: 4;
  inset: 0;
  pointer-events: none;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.45'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(42, 42, 42, 0.14);
  background: rgba(254, 254, 254, 0.9);
  backdrop-filter: blur(18px);
}

.nav-shell {
  display: flex;
  min-height: 4.6rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.brand i { color: var(--violet); font-style: normal; }

.brand-mark {
  display: grid;
  width: 2rem;
  height: 2rem;
  place-items: center;
  color: var(--ink);
  background: var(--green);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  transform: rotate(-8deg);
  clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.3vw, 2rem);
  color: var(--ink-muted);
  font-size: 0.82rem;
  font-weight: 600;
}

.primary-nav a:not(.nav-cta) { transition: color 160ms ease; }

.primary-nav a:not(.nav-cta):hover,
.primary-nav a:not(.nav-cta):focus-visible { color: var(--ink); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 1rem;
  color: var(--ink);
  background: var(--green);
  border: 1px solid var(--ink);
  border-radius: 999px;
  box-shadow: 0.18rem 0.18rem 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.nav-cta:hover,
.nav-cta:focus-visible { box-shadow: 0.1rem 0.1rem 0 var(--ink); transform: translate(0.08rem, 0.08rem); }

.menu-toggle { display: none; }

.hero-section {
  position: relative;
  min-height: min(49rem, calc(100vh - 4.6rem));
  overflow: hidden;
  color: var(--paper);
  background-color: var(--ink);
  background-image: linear-gradient(rgba(254, 254, 254, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(254, 254, 254, 0.045) 1px, transparent 1px);
  background-size: 40px 40px;
}

.hero-section::before,
.japan-section::before,
.site-footer::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: radial-gradient(circle at 76% 28%, rgba(40, 233, 159, 0.2), transparent 22rem), radial-gradient(circle at 15% 86%, rgba(117, 108, 245, 0.22), transparent 24rem);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: min(49rem, calc(100vh - 4.6rem));
  align-items: center;
  grid-template-columns: minmax(0, 0.9fr) minmax(30rem, 1.1fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding-block: 5rem 6.5rem;
}

.hero-copy { max-width: 36rem; }

.hero-copy h1,
.date-copy h2,
.japan-copy h2,
.letter-copy h2,
.gallery-section h2,
.story-section h2 {
  max-width: 11ch;
  margin: 0;
  color: inherit;
  font-family: var(--font-display);
  font-size: clamp(3.6rem, 7.2vw, 7.5rem);
  font-weight: 600;
  letter-spacing: -0.065em;
  line-height: 0.88;
}

.hero-copy h1 em,
.date-copy h2 em,
.japan-copy h2 em,
.letter-copy h2 em,
.gallery-section h2 em,
.story-section h2 em { color: var(--green); font-style: normal; }

.hero-lede {
  max-width: 31rem;
  margin: 2.1rem 0 0;
  color: rgba(254, 254, 254, 0.78);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  line-height: 1.5;
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 2.15rem; }

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.78rem 1.2rem;
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.83rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.button:hover,
.button:focus-visible { transform: translateY(-0.15rem); }

.button-primary { color: var(--ink); background: var(--green); border-color: var(--ink); box-shadow: 0.23rem 0.23rem 0 var(--ink); }

.button-primary:hover,
.button-primary:focus-visible { box-shadow: 0.1rem 0.1rem 0 var(--ink); }

.button-quiet { color: var(--paper); border-color: rgba(254, 254, 254, 0.34); }

.button-quiet:hover,
.button-quiet:focus-visible { background: rgba(254, 254, 254, 0.1); }

.button-outline { color: var(--paper); border-color: rgba(254, 254, 254, 0.46); }

.button-outline:hover,
.button-outline:focus-visible { color: var(--ink); background: var(--green); border-color: var(--green); }

.hero-footnote { display: flex; align-items: center; gap: 0.55rem; margin: 1.7rem 0 0; color: rgba(254, 254, 254, 0.52); font-family: var(--font-mono); font-size: 0.66rem; letter-spacing: 0.03em; }

.pulse-dot,
.signal-light,
.japan-ping { display: inline-block; width: 0.48rem; height: 0.48rem; flex-shrink: 0; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0.3rem rgba(40, 233, 159, 0.12); }

.pulse-dot { animation: pulse 2.5s infinite; }

.hero-console {
  position: relative;
  width: min(100%, 42rem);
  justify-self: end;
  padding: 0.8rem;
  color: var(--ink);
  background: rgba(254, 254, 254, 0.08);
  border: 1px solid rgba(254, 254, 254, 0.27);
  box-shadow: 1rem 1rem 0 rgba(0, 0, 0, 0.22);
  transform: rotate(2.2deg);
}

.console-topline,
.console-bottomline { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 0.7rem 0.85rem; color: rgba(254, 254, 254, 0.72); font-family: var(--font-mono); font-size: 0.62rem; letter-spacing: 0.04em; text-transform: uppercase; }

.console-topline > span:first-child { display: flex; align-items: center; gap: 0.55rem; }

.console-stage {
  position: relative;
  min-height: 27rem;
  overflow: hidden;
  isolation: isolate;
  background-color: var(--sky);
  background-image: linear-gradient(rgba(42, 42, 42, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 42, 42, 0.13) 1px, transparent 1px);
  background-size: 27px 27px;
}

.orbit { position: absolute; z-index: -1; border: 1px solid rgba(254, 254, 254, 0.68); border-radius: 50%; transform: rotate(-20deg); }
.orbit-one { width: 34rem; height: 15rem; top: 21%; left: 4%; }
.orbit-two { width: 27rem; height: 11rem; top: 33%; left: 17%; border-color: rgba(42, 42, 42, 0.3); transform: rotate(36deg); }

.tile { position: absolute; z-index: -1; clip-path: polygon(20% 0, 100% 0, 100% 80%, 80% 100%, 0 100%, 0 20%); }
.tile-green { width: 8rem; height: 8rem; top: 1.2rem; right: 1rem; background: var(--green); transform: rotate(13deg); }
.tile-pink { width: 5.7rem; height: 5.7rem; bottom: 2.2rem; left: 2rem; background: var(--pink); transform: rotate(-18deg); }
.tile-blue { width: 3.8rem; height: 3.8rem; top: 4.3rem; left: 5.5rem; background: var(--violet); transform: rotate(45deg); }

.hero-photo { position: absolute; overflow: hidden; margin: 0; border: 0.45rem solid var(--paper); outline: 1px solid var(--ink); background: var(--paper); box-shadow: 0.7rem 0.7rem 0 rgba(42, 42, 42, 0.32); }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo-back { width: 17.5rem; height: 14rem; top: 3.4rem; left: 6%; transform: rotate(-8deg); }
.hero-photo-front { width: 14.5rem; height: 18rem; right: 11%; bottom: 2.5rem; transform: rotate(7deg); }

.console-sticker { position: absolute; top: 46%; left: 45%; display: grid; width: 6.5rem; height: 6.5rem; place-content: center; border: 1px solid var(--ink); border-radius: 50%; color: var(--ink); background: var(--lime); text-align: center; transform: rotate(-12deg); box-shadow: 0.35rem 0.35rem 0 var(--ink); }
.console-sticker span { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; letter-spacing: -0.07em; line-height: 0.9; }
.console-sticker small { margin-top: 0.25rem; font-family: var(--font-mono); font-size: 0.52rem; text-transform: uppercase; }

.console-caption { position: absolute; right: 1rem; bottom: 1rem; display: grid; gap: 0.3rem; max-width: 10rem; padding: 0.7rem; color: var(--paper); background: var(--ink); }
.console-caption .mono { color: var(--green); font-size: 0.53rem; }
.console-caption strong { font-family: var(--font-display); font-size: 0.96rem; letter-spacing: -0.03em; line-height: 1; }

.console-bottomline { color: rgba(254, 254, 254, 0.58); }

.hero-scroll-cue { position: absolute; z-index: 1; bottom: 1.7rem; left: max(var(--gutter), calc((100vw - var(--container)) / 2)); display: flex; align-items: center; gap: 0.8rem; color: rgba(254, 254, 254, 0.54); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; }
.hero-scroll-cue span { color: var(--green); font-size: 1rem; }

.marquee-band { overflow: hidden; padding: 1rem 0; color: var(--ink); background: var(--green); border-block: 1px solid var(--ink); }
.marquee-track { display: flex; width: max-content; align-items: center; gap: 1.25rem; animation: marquee 27s linear infinite; font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.16em; text-transform: uppercase; }
.marquee-track b { color: var(--violet); font-size: 1rem; }

.signal-section { background: var(--surface); border-bottom: 1px solid var(--line); }
.signal-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.signal-item { display: grid; gap: 0.35rem; padding: 1.35rem 1.7rem; border-left: 1px solid var(--line); }
.signal-item:last-child { border-right: 1px solid var(--line); }
.signal-item .mono { color: var(--ink-muted); font-size: 0.6rem; text-transform: uppercase; }
.signal-item strong { font-family: var(--font-display); font-size: 1.05rem; letter-spacing: -0.03em; }
.signal-item small { color: #6b6973; font-size: 0.76rem; }
.signal-item-accent { background: var(--lime); }

.section { position: relative; padding-block: var(--section-space); }
.section-heading { margin-bottom: clamp(2.7rem, 6vw, 5rem); }
.split-heading { display: grid; grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.55fr); align-items: end; gap: 3rem; }
.section-heading h2 { font-size: clamp(3rem, 6vw, 6rem); }
.section-intro { max-width: 26rem; margin: 0; color: #66636f; font-size: 1rem; line-height: 1.65; }

.timeline-module { position: relative; display: grid; grid-template-columns: 5rem minmax(0, 1fr) 8.5rem; gap: 2rem; align-items: center; padding: clamp(1.4rem, 3vw, 2.5rem); border: 1px solid var(--ink); background: var(--paper); box-shadow: var(--shadow-hard); }
.timeline-rail { position: absolute; top: 0; bottom: 0; left: 5rem; width: 1px; background: var(--line); }
.timeline-rail span { position: absolute; top: 0; left: -1px; width: 3px; height: 12.5%; background: var(--violet); transition: height 260ms ease; }
.timeline-meta { position: relative; z-index: 1; display: flex; height: 100%; flex-direction: column; align-items: center; justify-content: space-between; color: var(--ink-muted); }
.timeline-meta .mono:last-child { writing-mode: vertical-rl; transform: rotate(180deg); opacity: 0.55; }
.timeline-card { position: relative; z-index: 1; min-height: 15rem; padding: 1rem 1rem 1rem 2rem; }
.timeline-date { color: var(--violet); font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; }
.timeline-card h3 { max-width: 13ch; margin: 1.1rem 0 0.9rem; font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 5.5rem); font-weight: 600; letter-spacing: -0.07em; line-height: 0.9; }
.timeline-card p { max-width: 30rem; margin: 0; color: #66636f; font-size: 1rem; line-height: 1.6; }
.timeline-tag { display: inline-flex; margin-top: 1.5rem; padding: 0.5rem 0.7rem; color: var(--ink); background: var(--clay); font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase; }
.timeline-controls { display: flex; flex-direction: column; align-items: flex-end; gap: 1rem; }
.icon-button { display: grid; width: 2.8rem; height: 2.8rem; place-items: center; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; font-size: 1.2rem; transition: color 160ms ease, background 160ms ease, transform 160ms ease; }
.icon-button:hover, .icon-button:focus-visible { color: var(--paper); background: var(--ink); transform: translateY(-0.1rem); }
.timeline-dots { display: flex; flex-direction: column; gap: 0.45rem; }
.timeline-dot { width: 0.45rem; height: 0.45rem; padding: 0; border: 0; border-radius: 50%; background: var(--line); cursor: pointer; }
.timeline-dot.is-active { background: var(--violet); box-shadow: 0 0 0 0.22rem rgba(117, 108, 245, 0.2); }

.quote-module { position: relative; margin: clamp(4.5rem, 9vw, 8rem) auto 0; padding: clamp(2.2rem, 5vw, 4.5rem); color: var(--ink); background: var(--lime); border: 1px solid var(--ink); box-shadow: var(--shadow-hard); }
.quote-mark { position: absolute; top: 0.5rem; left: 1.2rem; color: var(--violet); font-family: Georgia, serif; font-size: 7rem; line-height: 0.8; }
.quote-module blockquote { max-width: 19ch; margin: 0 auto; font-family: var(--font-display); font-size: clamp(2.1rem, 4.8vw, 5rem); font-weight: 600; letter-spacing: -0.06em; line-height: 0.95; text-align: center; }
.quote-byline { display: flex; justify-content: center; gap: 1.1rem; margin-top: 2rem; font-size: 0.7rem; }
.quote-byline .mono { color: var(--violet); font-size: 0.62rem; }

.date-section { overflow: hidden; color: var(--paper); background-color: var(--ink); background-image: linear-gradient(rgba(254, 254, 254, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(254, 254, 254, 0.045) 1px, transparent 1px); background-size: 40px 40px; }
.date-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(22rem, 0.8fr); align-items: center; gap: clamp(3rem, 9vw, 9rem); }
.date-section::after { position: absolute; width: 38rem; height: 38rem; top: -11rem; right: -8rem; border: 1px solid rgba(40, 233, 159, 0.22); border-radius: 50%; content: ""; }
.date-copy h2 { max-width: 10ch; font-size: clamp(3.3rem, 6.7vw, 6.5rem); }
.date-copy > p:not(.eyebrow):not(.tiny-note) { max-width: 27rem; margin: 2rem 0 0; color: rgba(254, 254, 254, 0.68); font-size: 1rem; line-height: 1.65; }
.tiny-note { margin: 2rem 0 0; color: var(--green); font-size: 0.64rem; }

.roulette-card { position: relative; z-index: 1; padding: 1.2rem; color: var(--ink); background: var(--paper); border: 1px solid var(--ink); box-shadow: 0.8rem 0.8rem 0 var(--green); }
.wheel-pointer { position: absolute; z-index: 3; top: 1.05rem; left: calc(50% - 0.75rem); width: 0; height: 0; border-right: 0.75rem solid transparent; border-left: 0.75rem solid transparent; border-top: 1.3rem solid var(--ink); }
.wheel-wrap { display: grid; padding: 2.2rem 0 1.1rem; place-items: center; background: var(--surface); border: 1px solid var(--line); }
.wheel { position: relative; width: clamp(14rem, 29vw, 20rem); aspect-ratio: 1; border: 0.8rem solid var(--paper); border-radius: 50%; background: conic-gradient(var(--green) 0deg 60deg, var(--violet) 60deg 120deg, var(--pink) 120deg 180deg, var(--blue) 180deg 240deg, var(--orange) 240deg 300deg, var(--lime) 300deg 360deg); box-shadow: 0 0 0 1px var(--ink), 0.4rem 0.4rem 0 var(--ink); transition: transform 3.3s cubic-bezier(0.14, 0.75, 0.18, 1); }
.wheel::after { position: absolute; inset: 0.55rem; border: 1px dashed rgba(42, 42, 42, 0.42); border-radius: 50%; content: ""; }
.wheel-word { position: absolute; z-index: 1; font-family: var(--font-mono); font-size: clamp(0.55rem, 1vw, 0.68rem); font-weight: 700; letter-spacing: 0.02em; text-transform: uppercase; }
.wheel-word-one { top: 17%; left: 51%; transform: translateX(-50%) rotate(0deg); }
.wheel-word-two { top: 38%; right: 8%; transform: rotate(59deg); }
.wheel-word-three { right: 25%; bottom: 14%; transform: rotate(120deg); }
.wheel-word-four { bottom: 16%; left: 20%; transform: rotate(180deg); }
.wheel-word-five { top: 39%; left: 5%; transform: rotate(240deg); }
.wheel-word-six { top: 17%; left: 23%; transform: rotate(300deg); }
.wheel-center { position: absolute; z-index: 2; top: 50%; left: 50%; display: grid; width: 3.7rem; height: 3.7rem; place-items: center; color: var(--paper); background: var(--ink); border: 0.3rem solid var(--paper); border-radius: 50%; box-shadow: 0 0 0 1px var(--ink); font-size: 1.4rem; transform: translate(-50%, -50%); }
.roulette-result { padding: 1.4rem 0 1rem; text-align: center; }
.roulette-result .mono { color: var(--violet); font-size: 0.62rem; text-transform: uppercase; }
.roulette-result strong { display: block; margin-top: 0.35rem; font-family: var(--font-display); font-size: 2rem; letter-spacing: -0.06em; }
.roulette-result p { max-width: 25rem; min-height: 2.8rem; margin: 0.4rem auto 0; color: #66636f; font-size: 0.83rem; line-height: 1.45; }
.spin-button { width: 100%; justify-content: center; }

.date-details { position: relative; z-index: 1; display: grid; grid-template-columns: 4rem minmax(12rem, 0.8fr) minmax(15rem, 1.2fr) auto; align-items: center; gap: 2rem; margin-top: clamp(3rem, 7vw, 6rem); padding: 1.25rem 1.4rem; color: var(--ink); background: var(--green); border: 1px solid var(--ink); box-shadow: var(--shadow-soft); }
.detail-index { font-size: 1.3rem; }
.date-details .mono { font-size: 0.6rem; text-transform: uppercase; }
.date-details h3 { margin: 0.25rem 0 0; font-family: var(--font-display); font-size: 1.4rem; letter-spacing: -0.04em; }
.date-details p { margin: 0; font-size: 0.8rem; line-height: 1.45; }
.date-status { justify-self: end; padding: 0.5rem 0.7rem; border: 1px solid var(--ink); border-radius: 999px; font-family: var(--font-mono); font-size: 0.6rem; text-transform: uppercase; }

.gallery-section { background: var(--paper); }
.gallery-module { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(15rem, 0.6fr); gap: 0; border: 1px solid var(--ink); box-shadow: var(--shadow-hard); }
.gallery-stage { position: relative; min-height: 33rem; overflow: hidden; background: var(--surface); }
.gallery-stage::after { position: absolute; inset: 1.2rem; border: 1px solid rgba(254, 254, 254, 0.7); pointer-events: none; content: ""; }
.gallery-stage img { width: 100%; height: 100%; min-height: 33rem; object-fit: cover; transition: opacity 180ms ease, transform 500ms ease; }
.gallery-stage:hover img { transform: scale(1.025); }
.gallery-index { position: absolute; z-index: 2; top: 2rem; left: 2rem; color: var(--paper); font-size: 0.65rem; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7); }
.gallery-arrow { position: absolute; z-index: 2; bottom: 1.8rem; display: grid; width: 3rem; height: 3rem; place-items: center; color: var(--paper); background: rgba(42, 42, 42, 0.82); border: 1px solid var(--paper); border-radius: 50%; cursor: pointer; font-size: 1.1rem; transition: color 160ms ease, background 160ms ease, transform 160ms ease; }
.gallery-arrow:hover, .gallery-arrow:focus-visible { color: var(--ink); background: var(--green); transform: translateY(-0.12rem); }
.gallery-arrow-prev { left: 2rem; }
.gallery-arrow-next { left: 5.7rem; }
.gallery-info { display: flex; min-height: 14rem; flex-direction: column; justify-content: space-between; padding: 2rem; background: var(--lime); }
.gallery-info .mono { color: var(--violet); font-size: 0.63rem; text-transform: uppercase; }
.gallery-info h3 { max-width: 10ch; margin: 0.75rem 0 0; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -0.065em; line-height: 0.95; }
.gallery-info p { max-width: 17rem; margin: 2rem 0 0; font-size: 0.85rem; line-height: 1.5; }
.gallery-thumbs { display: flex; grid-column: 1 / -1; gap: 0.55rem; padding: 1rem; background: var(--ink); }
.gallery-thumb { width: 3.6rem; height: 3.6rem; padding: 0; overflow: hidden; border: 1px solid rgba(254, 254, 254, 0.35); background: transparent; cursor: pointer; opacity: 0.58; transition: opacity 160ms ease, border 160ms ease, transform 160ms ease; }
.gallery-thumb:hover, .gallery-thumb:focus-visible, .gallery-thumb.is-active { border-color: var(--green); opacity: 1; transform: translateY(-0.12rem); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.movie-section { position: relative; overflow: hidden; color: var(--paper); background-color: var(--ink); background-image: linear-gradient(rgba(254, 254, 254, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(254, 254, 254, 0.045) 1px, transparent 1px); background-size: 40px 40px; }
.movie-section::after { position: absolute; width: 32rem; height: 32rem; top: -10rem; left: -14rem; border: 1px solid rgba(255, 172, 254, 0.28); border-radius: 50%; content: ""; }
.movie-heading { position: relative; z-index: 1; }
.movie-heading .section-intro { color: rgba(254, 254, 254, 0.68); }
.movie-screening-layout { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(19rem, 0.6fr); gap: 1.5rem; align-items: start; }
.movie-board { padding: 1rem; border: 1px solid rgba(254, 254, 254, 0.35); background: rgba(254, 254, 254, 0.06); box-shadow: var(--shadow-soft); }
.movie-board-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 0.8rem; padding: 0.3rem 0.2rem 1rem; color: var(--green); border-bottom: 1px solid rgba(254, 254, 254, 0.2); font-size: 0.62rem; text-transform: uppercase; }
.movie-count { color: rgba(254, 254, 254, 0.62); font-size: 0.6rem; }
.movie-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.8rem; }
.movie-poster { position: relative; display: flex; min-width: 0; min-height: 28rem; flex-direction: column; overflow: hidden; padding: 1rem; color: var(--ink); border: 1px solid var(--ink); box-shadow: 0.35rem 0.35rem 0 rgba(0, 0, 0, 0.34); isolation: isolate; }
.movie-poster::before { position: absolute; z-index: -1; inset: 0.65rem; border: 1px solid rgba(42, 42, 42, 0.5); content: ""; }
.movie-poster::after { position: absolute; z-index: -1; top: 25%; right: -28%; width: 90%; height: 20%; border: 1px solid rgba(42, 42, 42, 0.28); border-radius: 50%; content: ""; transform: rotate(-30deg); }
.movie-poster-1 { background: var(--green); }
.movie-poster-2 { background: var(--orange); }
.movie-poster-3 { background: var(--sky); }
.movie-poster-number, .movie-poster-label { position: relative; z-index: 1; font-size: 0.55rem; text-transform: uppercase; }
.movie-poster-label { align-self: flex-end; color: rgba(42, 42, 42, 0.64); }
.movie-poster-content { position: relative; z-index: 1; margin-top: auto; padding: 1rem 0.15rem 2.5rem; }
.movie-poster-content h3 { max-width: 9ch; margin: 0 0 1rem; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 3.3rem); letter-spacing: -0.075em; line-height: 0.9; overflow-wrap: anywhere; }
.movie-poster-content p { margin: 0.28rem 0 0; font-family: var(--font-mono); font-size: 0.57rem; text-transform: uppercase; }
.movie-remove { position: absolute; z-index: 2; right: 1rem; bottom: 0.9rem; padding: 0; color: rgba(42, 42, 42, 0.7); background: transparent; border: 0; cursor: pointer; font-family: var(--font-mono); font-size: 0.56rem; text-transform: uppercase; }
.movie-remove:hover, .movie-remove:focus-visible { color: var(--ink); text-decoration: underline; }
.movie-poster-empty { place-items: center; justify-content: center; color: rgba(254, 254, 254, 0.75); border-color: rgba(254, 254, 254, 0.38); box-shadow: 0.35rem 0.35rem 0 rgba(0, 0, 0, 0.28); }
.movie-poster-empty.movie-poster-1 { background: linear-gradient(145deg, rgba(40, 233, 159, 0.22), rgba(40, 233, 159, 0.035) 62%), rgba(254, 254, 254, 0.035); }
.movie-poster-empty.movie-poster-2 { background: linear-gradient(145deg, rgba(255, 127, 89, 0.22), rgba(255, 127, 89, 0.035) 62%), rgba(254, 254, 254, 0.035); }
.movie-poster-empty.movie-poster-3 { background: linear-gradient(145deg, rgba(113, 173, 255, 0.22), rgba(113, 173, 255, 0.035) 62%), rgba(254, 254, 254, 0.035); }
.movie-poster-empty::before { border-color: rgba(254, 254, 254, 0.3); }
.movie-poster-empty::after { border-color: rgba(40, 233, 159, 0.4); }
.movie-poster-empty .movie-poster-number { position: absolute; top: 1rem; left: 1rem; color: var(--green); }
.movie-empty-copy { display: grid; max-width: 9rem; gap: 0.65rem; text-align: center; }
.movie-empty-copy span { color: var(--green); font-size: 1.6rem; }
.movie-empty-copy strong { color: var(--paper); font-family: var(--font-display); font-size: 1.7rem; letter-spacing: -0.06em; line-height: 0.92; }
.movie-empty-copy small { color: rgba(254, 254, 254, 0.55); font-family: var(--font-mono); font-size: 0.57rem; line-height: 1.5; text-transform: uppercase; }
.movie-status { min-height: 1.1rem; margin: 1rem 0 0.1rem; color: var(--green); font-size: 0.59rem; text-transform: uppercase; }
.movie-form { padding: clamp(1.4rem, 3vw, 2rem); color: var(--ink); background: var(--lime); border: 1px solid var(--ink); box-shadow: var(--shadow-hard); }
.movie-form .eyebrow { color: var(--violet); }
.movie-form h3 { margin: 0 0 2rem; font-family: var(--font-display); font-size: clamp(2.5rem, 4.5vw, 4.3rem); letter-spacing: -0.075em; line-height: 0.88; }
.movie-form label { display: block; margin-top: 1rem; color: var(--violet); font-size: 0.59rem; text-transform: uppercase; }
.movie-form input { display: block; width: 100%; margin-top: 0.45rem; padding: 0.78rem 0.7rem; color: var(--ink); background: rgba(254, 254, 254, 0.68); border: 1px solid var(--ink); border-radius: 0; outline: none; font-size: 0.84rem; }
.movie-form input:focus { background: var(--paper); box-shadow: 0 0 0 3px rgba(117, 108, 245, 0.2); }
.movie-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.movie-form .button { width: 100%; margin-top: 1.4rem; }
.movie-form-note { margin: 1.2rem 0 0; color: rgba(42, 42, 42, 0.62); font-size: 0.56rem; line-height: 1.5; text-transform: uppercase; }

.archive-section { background: var(--surface); border-top: 1px solid var(--line); }
.archive-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem; }
.playlist-card, .checklist-card { min-height: 28rem; border: 1px solid var(--ink); box-shadow: var(--shadow-hard); }
.playlist-card { display: grid; grid-template-rows: minmax(12rem, 0.9fr) 1fr; background: var(--pink); }
.playlist-visual { position: relative; overflow: hidden; background: var(--violet); }
.music-note { position: absolute; z-index: 1; top: 50%; left: 50%; color: var(--green); font-family: Georgia, serif; font-size: 8rem; line-height: 1; transform: translate(-50%, -50%) rotate(-12deg); }
.playlist-orbit { position: absolute; top: 10%; left: 25%; width: 70%; height: 80%; border: 1px solid rgba(254, 254, 254, 0.5); border-radius: 50%; transform: rotate(35deg); }
.playlist-orbit::after { position: absolute; top: 36%; left: -0.3rem; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--lime); content: ""; }
.playlist-body { padding: 2rem; }
.playlist-body h3, .checklist-card h3 { margin: 0; font-family: var(--font-display); font-size: clamp(2rem, 3vw, 3rem); letter-spacing: -0.06em; line-height: 0.95; }
.playlist-body > p:not(.eyebrow) { max-width: 24rem; margin: 1.1rem 0 1.4rem; color: var(--ink-muted); font-size: 0.88rem; line-height: 1.55; }
.text-link { color: var(--violet); font-size: 0.78rem; font-weight: 700; }
.text-link:hover, .text-link:focus-visible { text-decoration: underline; }
.checklist-card { padding: 2rem; background: var(--paper); }
.checklist-head { display: flex; justify-content: space-between; gap: 1rem; }
.checklist-head .eyebrow { margin-bottom: 1.2rem; }
.checklist-head > .mono { color: var(--violet); font-size: 0.6rem; text-transform: uppercase; }
.checklist-card h3 { max-width: 10ch; }
.archive-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.65rem 1rem; margin: 2rem 0 0; padding: 0; list-style: none; color: var(--ink-muted); font-size: 0.8rem; }
.archive-list li { display: flex; align-items: center; gap: 0.5rem; }
.archive-list .is-done { color: var(--ink); }
.check-box { display: inline-grid; width: 1rem; height: 1rem; place-items: center; border: 1px solid var(--ink); color: var(--ink); font-family: var(--font-mono); font-size: 0.6rem; }
.is-done .check-box { background: var(--green); }

.japan-section { position: relative; overflow: hidden; color: var(--paper); background-color: var(--ink); background-image: linear-gradient(rgba(254, 254, 254, 0.045) 1px, transparent 1px), linear-gradient(90deg, rgba(254, 254, 254, 0.045) 1px, transparent 1px); background-size: 40px 40px; }
.japan-grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 0.75fr) minmax(24rem, 1.25fr); gap: clamp(3rem, 9vw, 9rem); align-items: center; }
.japan-copy h2 { max-width: 8ch; font-size: clamp(3.8rem, 7vw, 7rem); }
.japan-copy > p:not(.eyebrow) { max-width: 25rem; margin: 2rem 0; color: rgba(254, 254, 254, 0.7); font-size: 1rem; line-height: 1.65; }
.japan-list { border: 1px solid rgba(254, 254, 254, 0.37); background: rgba(254, 254, 254, 0.06); }
.japan-list-head, .japan-list-footer { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; color: var(--green); font-size: 0.61rem; text-transform: uppercase; }
.japan-list-head { border-bottom: 1px solid rgba(254, 254, 254, 0.2); }
.japan-ping { width: 0.42rem; height: 0.42rem; }
.japan-list a { display: grid; grid-template-columns: 2rem minmax(0, 1fr) auto; grid-template-rows: auto auto; gap: 0.25rem 0.7rem; padding: 1rem 1.2rem; border-bottom: 1px solid rgba(254, 254, 254, 0.18); transition: background 160ms ease, padding 160ms ease; }
.japan-list a:hover, .japan-list a:focus-visible { padding-left: 1.4rem; background: rgba(40, 233, 159, 0.11); }
.japan-list a > span { grid-row: 1 / 3; color: var(--green); font-family: var(--font-mono); font-size: 0.67rem; }
.japan-list a strong { font-family: var(--font-display); font-size: 1.1rem; letter-spacing: -0.04em; }
.japan-list a small { color: rgba(254, 254, 254, 0.55); font-size: 0.7rem; }
.japan-list a b { grid-column: 3; grid-row: 1 / 3; align-self: center; color: var(--green); font-size: 1rem; }
.japan-list-footer { color: rgba(254, 254, 254, 0.54); border-top: 1px solid rgba(254, 254, 254, 0.18); }

.letter-section { background: var(--clay); }
.letter-grid { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(20rem, 1fr); gap: clamp(3rem, 10vw, 10rem); align-items: start; }
.letter-copy h2 { max-width: 10ch; font-size: clamp(3.1rem, 6vw, 6.2rem); }
.letter-copy > p:not(.eyebrow) { max-width: 25rem; margin: 2rem 0 0; color: var(--ink-muted); line-height: 1.6; }
.note-form { padding: clamp(1.4rem, 3vw, 2.2rem); border: 1px solid var(--ink); background: var(--paper); box-shadow: var(--shadow-hard); }
.note-form label { display: block; color: var(--violet); font-size: 0.65rem; text-transform: uppercase; }
.note-form textarea { display: block; width: 100%; min-height: 12rem; margin-top: 1.1rem; padding: 1.1rem; resize: vertical; color: var(--ink); background: var(--surface); border: 1px solid var(--line); border-radius: 0; outline: none; font-family: var(--font-body); font-size: 1.15rem; line-height: 1.5; }
.note-form textarea:focus { border-color: var(--violet); box-shadow: 0 0 0 3px rgba(117, 108, 245, 0.18); }
.note-form textarea::placeholder { color: #95929a; }
.note-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.note-form-footer .mono { color: #77737c; font-size: 0.62rem; }
.form-status { min-height: 1.1rem; margin: 0.9rem 0 0; color: var(--violet); font-family: var(--font-mono); font-size: 0.66rem; }

.site-footer { position: relative; overflow: hidden; color: var(--paper); background: var(--ink); }
.footer-top, .footer-bottom { position: relative; z-index: 1; }
.footer-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 2rem; padding-block: 5rem 4rem; }
.footer-lockup { max-width: 24rem; }
.footer-lockup .brand-mark { margin-bottom: 1rem; }
.footer-lockup strong { display: block; font-family: var(--font-display); font-size: 1.5rem; letter-spacing: -0.05em; }
.footer-lockup p { margin: 0.9rem 0 0; color: rgba(254, 254, 254, 0.55); font-size: 0.85rem; line-height: 1.5; }
.footer-cta { display: grid; justify-items: end; gap: 1.2rem; }
.footer-cta .mono { color: var(--green); font-size: 0.62rem; }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.2rem; color: rgba(254, 254, 254, 0.48); border-top: 1px solid rgba(254, 254, 254, 0.2); font-size: 0.6rem; text-transform: uppercase; }
.footer-bottom .pulse-dot { width: 0.35rem; height: 0.35rem; margin-left: 0.35rem; }

.reveal { opacity: 0; transform: translateY(1.4rem); transition: opacity 650ms ease, transform 650ms ease; }
.reveal-delay { transition-delay: 120ms; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

:focus-visible { outline: 2px solid var(--violet); outline-offset: 3px; }

@keyframes pulse { 0%, 100% { box-shadow: 0 0 0 0.3rem rgba(40, 233, 159, 0.12); } 50% { box-shadow: 0 0 0 0.52rem rgba(40, 233, 159, 0); } }
@keyframes marquee { to { transform: translateX(-50%); } }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: minmax(0, 1fr) minmax(20rem, 0.9fr); gap: 3rem; }
  .hero-copy h1 { font-size: clamp(3.5rem, 8vw, 6rem); }
  .hero-console { transform: rotate(1.5deg) scale(0.96); transform-origin: center right; }
  .timeline-module { grid-template-columns: 3.5rem minmax(0, 1fr) 5rem; gap: 1rem; }
  .timeline-rail { left: 3.5rem; }
  .date-grid, .japan-grid { gap: 3rem; }
}

@media (max-width: 760px) {
  :root { --gutter: 1.15rem; --section-space: 5.5rem; }
  .site-header { background: rgba(254, 254, 254, 0.96); }
  .nav-shell { min-height: 4rem; }
  .menu-toggle { display: grid; width: 2.6rem; height: 2.6rem; place-content: center; gap: 0.35rem; padding: 0; border: 1px solid var(--ink); border-radius: 50%; background: transparent; cursor: pointer; }
  .menu-toggle span:not(.sr-only) { display: block; width: 1rem; height: 1px; background: var(--ink); transition: transform 160ms ease; }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):first-of-type { transform: translateY(0.2rem) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:not(.sr-only):last-child { transform: translateY(-0.2rem) rotate(-45deg); }
  .primary-nav { position: absolute; top: calc(100% + 1px); right: 0; left: 0; display: grid; gap: 0; padding: 0.65rem var(--gutter) 1.2rem; background: var(--paper); border-bottom: 1px solid var(--ink); box-shadow: 0 1rem 1.4rem rgba(42, 42, 42, 0.1); opacity: 0; pointer-events: none; transform: translateY(-0.5rem); transition: opacity 160ms ease, transform 160ms ease; }
  .primary-nav.is-open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { padding: 0.85rem 0; border-bottom: 1px solid var(--line); }
  .primary-nav .nav-cta { justify-content: center; margin-top: 0.8rem; border-bottom: 1px solid var(--ink); }
  .hero-section, .hero-grid { min-height: auto; }
  .hero-grid { display: flex; flex-direction: column; align-items: stretch; padding-block: 5.5rem 4.5rem; }
  .hero-copy h1 { max-width: 8.5ch; font-size: clamp(3.5rem, 16vw, 5.8rem); }
  .hero-lede { font-size: 1rem; }
  .hero-console { width: calc(100% - 0.7rem); margin: 0.7rem 0 0 auto; transform: rotate(1.3deg); }
  .console-stage { min-height: 21rem; }
  .hero-photo-back { width: 58%; height: 10rem; top: 2.3rem; left: 3%; }
  .hero-photo-front { width: 46%; height: 13rem; right: 5%; bottom: 2rem; }
  .console-sticker { left: 40%; width: 5.4rem; height: 5.4rem; }
  .hero-scroll-cue { bottom: 1.2rem; left: var(--gutter); }
  .signal-grid { grid-template-columns: 1fr; }
  .signal-item, .signal-item:last-child { border-right: 1px solid var(--line); border-bottom: 0; }
  .signal-item:last-child { border-bottom: 1px solid var(--line); }
  .signal-item { grid-template-columns: 5rem 1fr; align-items: center; padding: 1rem 1.15rem; }
  .signal-item .mono { grid-row: 1 / 3; }
  .split-heading, .date-grid, .japan-grid, .letter-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .section-heading h2 { max-width: 10ch; }
  .section-intro { max-width: 31rem; }
  .timeline-module { grid-template-columns: 2rem minmax(0, 1fr) 3rem; gap: 0.5rem; padding: 1rem; }
  .timeline-rail { left: 2rem; }
  .timeline-card { padding: 1rem 0.6rem 1rem 1.35rem; }
  .timeline-card h3 { font-size: clamp(2.2rem, 11vw, 3.7rem); }
  .timeline-card p { font-size: 0.87rem; }
  .timeline-meta .mono:last-child { display: none; }
  .timeline-controls { gap: 0.7rem; }
  .timeline-dots { gap: 0.35rem; }
  .timeline-dot { width: 0.35rem; height: 0.35rem; }
  .quote-byline { flex-direction: column; align-items: center; gap: 0.35rem; }
  .date-grid { display: grid; }
  .date-section::after { width: 24rem; height: 24rem; top: 13rem; right: -12rem; }
  .roulette-card { width: min(100%, 26rem); margin-inline: auto; }
  .date-details { grid-template-columns: 2.5rem 1fr auto; gap: 0.8rem; }
  .date-details p { grid-column: 2 / -1; }
  .date-status { grid-column: 3; grid-row: 1; }
  .gallery-module { display: block; }
  .gallery-stage { min-height: 25rem; }
  .gallery-stage img { min-height: 25rem; }
  .gallery-info { min-height: 13rem; }
  .gallery-thumbs { overflow-x: auto; }
  .gallery-thumb { flex: 0 0 auto; }
  .movie-screening-layout { grid-template-columns: 1fr; }
  .movie-grid { gap: 0.55rem; }
  .movie-poster { min-height: 21rem; padding: 0.75rem; }
  .movie-poster::before { inset: 0.45rem; }
  .movie-poster-label { font-size: 0.46rem; }
  .movie-poster-content { padding-bottom: 2rem; }
  .movie-poster-content h3 { font-size: clamp(1.35rem, 6vw, 2.4rem); }
  .movie-poster-content p, .movie-remove { font-size: 0.48rem; }
  .movie-remove { right: 0.75rem; bottom: 0.7rem; }
  .archive-grid { grid-template-columns: 1fr; }
  .playlist-card, .checklist-card { min-height: auto; }
  .playlist-card { min-height: 34rem; }
  .japan-list { width: 100%; }
  .letter-grid { display: grid; }
  .note-form-footer { align-items: flex-start; flex-direction: column; }
  .note-form-footer .button { width: 100%; }
  .footer-top { flex-direction: column; padding-block: 4rem 3rem; }
  .footer-cta { justify-items: start; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 500px) {
  .movie-grid { grid-template-columns: 1fr; }
  .movie-poster { min-height: 23rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
