:root {
  --ink: #121212;
  --paper: #ffffff;
  --blue: #1a7ad9;
  --blue-deep: #0c3e96;
  --blue-night: #072a6e;
  --red: #e30613;
  --yellow: #ffd000;
  --gold: #f0c400;
  --hud: #ffffff;
  --gothic: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
  --pixel: "DotGothic16", monospace;
  --kana: "Dela Gothic One", "Hiragino Kaku Gothic ProN", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--gothic);
  font-size: 18px;
  line-height: 1.7;
}

html.booting {
  overflow: hidden;
  height: 100%;
}

html.lenis,
html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  min-height: 100%;
  overflow-x: hidden;
}

::selection {
  background: var(--blue);
  color: #fff;
}

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

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

.hero-film img,
.hero-film video,
.film-glass img,
.film-glass video,
.film-glass canvas {
  max-width: none;
}

a {
  color: inherit;
  text-underline-offset: 0.22em;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

.hud {
  position: fixed;
  z-index: 40;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  padding: 0.65rem 1.1rem;
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--blue-deep);
}

.hud-brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
}

.hud-brand strong {
  font-weight: 400;
  color: var(--yellow);
}

.hud-nav {
  display: flex;
  gap: 1.2rem;
}

.hud-nav a {
  text-decoration: none;
  opacity: 0.85;
}

.hud-nav a:hover {
  opacity: 1;
  color: var(--yellow);
}

.hud-stats {
  display: flex;
  justify-content: flex-end;
  gap: 1.1rem;
  font-variant-numeric: tabular-nums;
}

.hud-stats b {
  color: var(--yellow);
  font-weight: 400;
}

#boot {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: var(--blue-night);
  color: #fff;
  font-family: var(--pixel);
  text-align: center;
}

#boot[hidden],
html.skip-boot #boot {
  display: none;
}

.boot-panel img {
  width: min(280px, 70vw);
  margin: 0 auto 1.2rem;
}

.boot-panel p {
  margin: 0.3rem 0;
  font-size: 13px;
}

.boot-bar {
  margin: 1.3rem auto 1rem;
  width: min(22rem, 80vw);
  height: 14px;
  border: 2px solid #fff;
  padding: 2px;
}

.boot-bar > span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--yellow);
}

.boot-panel button {
  margin-top: 0.5rem;
  padding: 0.7rem 1.2rem;
  border: 2px solid var(--yellow);
  color: var(--yellow);
  font-family: var(--pixel);
  font-size: 12px;
}

.boot-panel button:hover {
  background: var(--yellow);
  color: var(--blue-night);
}

.hero-film {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  background: #0c3e96;
}

.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      transparent 0 26px,
      rgba(140, 190, 255, 0.28) 26px 28px
    ),
    repeating-linear-gradient(
      -45deg,
      transparent 0 26px,
      rgba(140, 190, 255, 0.28) 26px 28px
    );
}

.hero-dancer {
  position: absolute;
  left: 50%;
  top: 40%;
  width: min(400px, 56vw);
  height: auto;
  max-width: none;
  transform: translate(-50%, -58%);
  animation: dance-bob 0.42s steps(2, end) infinite;
  z-index: 3;
}

@keyframes dance-bob {
  from {
    transform: translate(-50%, -54%) rotate(-2deg);
  }
  to {
    transform: translate(-50%, -58%) rotate(2deg);
  }
}

.tape-plate {
  display: inline-block;
  padding: 0.35em 0.7em 0.28em;
  background: linear-gradient(#fff6d8, #e4c98a);
  border: 5px solid #1a1208;
  box-shadow:
    inset 0 2px 0 #fff,
    inset 0 -3px 0 #c4a056,
    0 0 0 3px #8b6914,
    0 0 0 7px #1a1208,
    6px 8px 0 #072a6e;
}

.tape-plate .kana-mark {
  color: #0c3e96;
  font-size: clamp(2.4rem, 8vw, 5.6rem);
  text-shadow:
    0 1px 0 #fff,
    1px 0 0 #fff,
    0 -1px 0 #5a3a10,
    2px 3px 0 #8b6914;
}

.hero-copy {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  place-content: end center;
  text-align: center;
  color: #fff;
  padding: 5.2rem 1.2rem 7vh;
}

.decades {
  background: var(--paper);
  color: var(--ink);
  padding: 4.2rem 1.2rem 4.4rem;
}

.decades h2 {
  margin: 0 auto 0.6rem;
  width: min(980px, 100%);
  font-family: var(--kana);
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: var(--blue-deep);
}

.lede-wide {
  width: min(980px, 100%);
  margin: 0 auto 2.2rem;
  max-width: 40em;
}

.decade-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  perspective: 900px;
}

.decade-grid span {
  display: block;
  margin-bottom: 0.45rem;
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--red);
}

.cart-square {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  border: 5px solid var(--blue-deep);
  box-shadow: 7px 7px 0 #072a6e;
  display: grid;
  place-items: center;
  padding: 8%;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.cart-square::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.14) 2px 3px
  );
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.decade-grid figure:hover .cart-square {
  transform: rotateY(-14deg) rotateX(8deg) scale(1.05);
}

.decade-grid figure:hover .cart-square::after {
  opacity: 1;
}

.cart-square img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.cart-square.now {
  background: var(--blue-deep);
  padding: 0;
}

.dodo10-fill {
  margin: 0;
  font-family: var(--kana);
  font-size: clamp(1.7rem, 3.6vw, 2.7rem);
  color: #fff;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.times-four {
  position: absolute;
  right: 0.5rem;
  bottom: 0.4rem;
  font-family: var(--pixel);
  font-size: clamp(1rem, 2.2vw, 1.45rem);
  font-weight: 400;
  color: var(--yellow);
  letter-spacing: 0.02em;
  text-shadow: 2px 2px 0 #072a6e;
}

.decade-grid figcaption {
  margin-top: 0.5rem;
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.06em;
  text-align: center;
}

@media (max-width: 820px) {
  .decade-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.hero-sub {
  margin: 0.4rem 0 0;
  font-family: var(--pixel);
  letter-spacing: 0.18em;
}

.scroll-cue.on-film {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 1.4rem;
  color: var(--yellow);
}

@media (prefers-reduced-motion: reduce) {
  .hero-film .kenburns,
  .hero-dancer,
  .pose-stage img,
  .sticker-row img,
  .fc-cart.is-playing .fc-label img,
  .fc-cart.is-playing .fc-body::after {
    animation: none;
  }

  .fc-cart:hover,
  .fc-cart:focus-visible,
  .fc-cart.is-playing {
    transform: none;
  }
}

.hero {
  min-height: auto;
  display: grid;
  place-items: center;
  padding: 4.4rem 3vw 3.2rem;
  background: var(--paper);
}

.anniv {
  margin: 0 0 1.4rem;
  text-align: center;
  font-family: var(--pixel);
  font-size: 13px;
  letter-spacing: 0.18em;
  color: var(--red);
}

.hero-board {
  width: min(1180px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2vw 4vw;
  align-items: center;
}

.hero-board figure {
  margin: 0;
}

.hero-board img {
  width: 100%;
  height: auto;
}

.hero-board figcaption {
  margin-top: 0.55rem;
  text-align: center;
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--blue-deep);
}

.scroll-cue {
  margin: 2.2rem 0 0;
  text-align: center;
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--red);
}

.scrub {
  position: relative;
  height: 420vh;
  background: var(--blue-night);
}

.scrub.mascot {
  height: 380vh;
}

.scrub.poses {
  height: 280vh;
  background: #0c3e96;
}

.pose-stage {
  width: min(560px, 78vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 22px, rgba(140, 190, 255, 0.28) 22px 24px),
    repeating-linear-gradient(-45deg, transparent 0 22px, rgba(140, 190, 255, 0.28) 22px 24px);
}

.pose-stage img {
  width: 72%;
  height: auto;
  object-fit: contain;
  animation: none;
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.stickers {
  background: var(--paper);
  padding: 3.2rem 1.1rem 3.6rem;
}

.stickers h2 {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto 1.2rem;
  font-family: var(--kana);
  font-size: clamp(2rem, 6vw, 3.2rem);
  color: var(--blue-deep);
}

.sticker-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 0.4rem 1.1rem 1.2rem;
}

.sticker-row figure {
  margin: 0;
  flex: 0 0 168px;
  background: #fff;
  border: 3px solid var(--blue-deep);
  box-shadow: 4px 4px 0 #072a6e;
  padding: 0.55rem 0.55rem 0.35rem;
  text-align: center;
}

.sticker-row img {
  width: 148px;
  height: 148px;
  object-fit: contain;
  object-position: center;
  animation: bob 1.5s ease-in-out infinite;
}

.sticker-row figcaption {
  font-family: var(--pixel);
  font-size: 11px;
}

.cm {
  background: var(--blue-night);
  color: #fff;
  padding: 4rem 1.1rem 3.4rem;
}

.cm h2 {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto 0.45rem;
  font-family: var(--pixel);
  font-size: clamp(1.15rem, 2.6vw, 1.65rem);
  font-weight: 400;
  letter-spacing: 0.46em;
  color: #fff;
}

.cm-lede {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto 1.5rem;
  font-family: var(--pixel);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--yellow);
}

.tv-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  width: min(1100px, 100%);
  margin: 0 auto;
}

.tv {
  background: #111;
  padding: 0.55rem 0.55rem 1.1rem;
  border-radius: 0.6rem 0.6rem 1.1rem 1.1rem;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4);
}

.tv video,
.tv img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #041028;
}

.tv.bit8 img,
.tv.bit16 img {
  image-rendering: pixelated;
  image-rendering: crisp-edges;
}

.cm-lede.on-navy {
  width: min(920px, 100%);
  margin: 0 auto 1.2rem;
  color: var(--yellow);
}

.tv canvas {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: block;
  background: #041028;
}

.tv-row figcaption {
  margin-top: 0.5rem;
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.timeline {
  margin: 2rem 0 0;
}

.timeline img {
  width: 100%;
  height: auto;
}

.fin img {
  width: min(320px, 70vw);
}

@media (max-width: 820px) {
  .tv-row {
    grid-template-columns: 1fr;
  }

  .hero-loop {
    width: 42vw;
    bottom: 18vh;
  }
}

.scrub-stage {
  height: 100svh;
  display: grid;
  place-items: center;
  padding: 4.6rem 1.1rem 1.4rem;
}

.film {
  width: min(1100px, calc(100vw - 2.2rem));
}

.film-glass {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #041433;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);
}

.film-glass video,
.film-glass canvas,
.film-glass img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.caption {
  margin: 0.85rem 0 0;
  min-height: 2.4rem;
  text-align: center;
  font-family: var(--pixel);
  font-size: clamp(12px, 1.7vw, 16px);
  letter-spacing: 0.14em;
  color: var(--yellow);
}

.paper {
  background: var(--paper);
  color: var(--ink);
  padding: 5.2rem 1.25rem 4.4rem;
}

.paper-inner {
  width: min(720px, 100%);
  margin: 0 auto;
}

.paper .line {
  margin: 0 0 1.1rem;
  font-family: var(--gothic);
  font-size: clamp(1.35rem, 3.4vw, 2.05rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: 0.04em;
}

.paper .line.last {
  color: var(--blue-deep);
  font-family: var(--gothic);
  font-weight: 700;
  font-size: clamp(1.55rem, 3.8vw, 2.25rem);
  letter-spacing: 0.06em;
}

.paper h2 {
  margin: 0 0 0.35rem;
  font-size: clamp(2.4rem, 7vw, 4.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--blue-deep);
}

.kana-mark {
  font-family: var(--kana);
  font-weight: 400;
  font-size: clamp(3.4rem, 14vw, 8.2rem);
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--blue-deep);
}

.lede {
  margin: 0 0 2.2rem;
  max-width: 38em;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem 3rem;
  padding-top: 1.1rem;
  border-top: 4px solid var(--blue-deep);
}

.split h3 {
  margin: 0 0 0.45rem;
  font-size: 1.35rem;
  color: var(--red);
}

.split p {
  margin: 0 0 1rem;
  max-width: 36em;
}

.pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
  margin-top: 2.4rem;
}

.pair figure {
  margin: 0;
  background: #f4f7fb;
  padding: 1rem;
}

.pair img {
  width: 100%;
}

.pair figcaption {
  margin-top: 0.5rem;
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-align: center;
}

.showroom {
  background: var(--blue-night);
  color: #fff;
  padding: 3.2rem 1.2rem 3.4rem;
}

.cart-shelf {
  width: min(920px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  perspective: 1100px;
}

.fc-cart {
  min-width: 0;
  transform-style: preserve-3d;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

@media (hover: hover) and (pointer: fine) {
  .fc-cart:hover,
  .fc-cart:focus-visible,
  .fc-cart.is-playing {
    transform: translateY(-18px) rotateX(22deg) scale(1.08);
    z-index: 2;
  }
}

.fc-body {
  position: relative;
  overflow: hidden;
  aspect-ratio: 0.72;
  background: linear-gradient(#d2cec2, #b8b3a6);
  border-radius: 3px 3px 8px 8px;
  padding: 9% 9% 14%;
  box-shadow:
    inset 0 2px 0 #eeeae0,
    4px 6px 0 #1a1208;
  transition: box-shadow 0.35s ease;
}

.fc-cart:hover .fc-body,
.fc-cart:focus-visible .fc-body,
.fc-cart.is-playing .fc-body {
  box-shadow:
    inset 0 2px 0 #eeeae0,
    10px 20px 0 #1a1208;
}

.fc-body::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0 2px,
    rgba(0, 0, 0, 0.2) 2px 3px
  );
  background-size: 100% 12px;
  opacity: 0;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.fc-cart.is-playing .fc-body::after {
  opacity: 1;
  animation: cart-scan 0.5s linear infinite;
}

@keyframes cart-scan {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 0 12px;
  }
}

.fc-cart.is-playing .fc-label img {
  animation: cart-bob 0.28s steps(2) infinite;
}

@keyframes cart-bob {
  from {
    transform: translateY(0) rotate(-4deg);
  }
  to {
    transform: translateY(-7px) rotate(4deg);
  }
}

.fc-label {
  height: 100%;
  min-height: 0;
  background: #0c3e96;
  color: #fff;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto auto;
  align-items: center;
  justify-items: center;
  padding: 0.45rem 0.4rem 0.7rem;
  text-align: center;
  -webkit-text-size-adjust: 100%;
}

.fc-label.gold {
  background: #1a4a9c;
}

.fc-label.red {
  background: #9c1a2a;
}

.fc-label.yell {
  background: #c9a020;
  color: #1a1208;
}

.fc-label.green {
  background: #1a7a4a;
}

.fc-label.orange {
  background: #c45a10;
}

.fc-label.navy {
  background: #072a6e;
}

.fc-label img {
  width: 72%;
  height: auto;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  align-self: center;
}

.fc-label h3 {
  margin: 0.25rem 0 0.1rem;
  max-width: 100%;
  font-family: var(--gothic);
  font-weight: 700;
  font-size: clamp(11px, 2.8vw, 14px);
  line-height: 1.3;
  letter-spacing: 0.02em;
  overflow-wrap: anywhere;
}

.fc-label p {
  margin: 0;
  padding-bottom: 0.1rem;
  font-family: var(--pixel);
  font-size: 10px;
  letter-spacing: 0.04em;
  line-height: 1.3;
}

@media (max-width: 820px) {
  .cart-shelf {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .fc-body {
    aspect-ratio: 0.66;
    padding: 8% 8% 18%;
  }

  .fc-label {
    padding: 0.4rem 0.35rem 0.85rem;
  }

  .fc-label img {
    width: 64%;
  }

  .fc-label h3 {
    font-size: 12px;
  }

  .fc-label p {
    font-size: 10px;
  }
}

.showroom h2 {
  width: min(1100px, calc(100% - 2.2rem));
  margin: 0 auto 1.2rem;
  font-size: clamp(2rem, 6vw, 3.4rem);
}

.rail {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.4rem 1.1rem 1.6rem;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--yellow) var(--blue-deep);
}

.rail figure {
  margin: 0;
  flex: 0 0 min(78vw, 860px);
  scroll-snap-align: start;
  background: #041433;
  padding: 0.7rem;
}

.rail img {
  width: 100%;
  height: auto;
  background: #fff;
}

.rail figcaption {
  margin-top: 0.55rem;
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.08em;
}

.rail button {
  display: block;
  width: 100%;
  padding: 0;
  text-align: left;
}

.fin-2026 {
  position: relative;
  background: #02040c;
  color: #fff;
}

.fin-stage {
  position: relative;
  height: 100svh;
  overflow: hidden;
}

.fin-2026 canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

#fin-dodo3d {
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.fin-2026.is-here #fin-dodo3d {
  opacity: 1;
}

.fin-cast {
  position: absolute;
  inset: auto 0 8%;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.35rem;
  pointer-events: none;
  text-align: center;
}

.fin-name,
.fin-year {
  position: static;
  opacity: 1;
  margin: 0;
  pointer-events: none;
}

.fin-name {
  font-family: var(--kana);
  font-size: clamp(2rem, 7vw, 4.2rem);
  letter-spacing: 0.06em;
  line-height: 1;
  text-shadow:
    3px 0 #e30613,
    -3px 0 #1a7ad9,
    0 0 40px rgba(255, 255, 255, 0.28);
}

.fin-year {
  font-family: var(--pixel);
  font-size: clamp(1.1rem, 3.4vw, 1.8rem);
  letter-spacing: 0.45em;
  color: var(--yellow);
}

.people,
.places,
.revival {
  background: var(--paper);
  padding: 3.4rem 1.2rem 3.6rem;
}

.people-inner {
  width: min(860px, 100%);
  margin: 0 auto 1.6rem;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 1.6rem;
  align-items: center;
}

.people-now {
  width: 100%;
  height: auto;
  border: 3px solid var(--blue-deep);
}

.turnaround {
  width: min(980px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.5rem;
}

.turnaround img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 3 / 4;
}

.corp,
.enso {
  background: var(--paper);
  padding: 3.2rem 1.2rem 3.4rem;
}

.corp h2,
.enso h2 {
  width: min(720px, 100%);
  margin: 0 auto 1.2rem;
  font-family: var(--gothic);
  font-weight: 700;
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  letter-spacing: 0.08em;
  color: var(--blue-deep);
}

.corp-facts {
  width: min(720px, 100%);
  margin: 0 auto;
  border-top: 2px solid var(--blue-deep);
}

.corp-facts > div {
  display: grid;
  grid-template-columns: 7.5em 1fr;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid #d8dee8;
  font-size: 0.95rem;
}

.corp-facts dt {
  margin: 0;
  color: var(--red);
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.corp-facts dd {
  margin: 0;
}

.enso-list {
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-top: 2px solid var(--blue-deep);
}

.enso-list li {
  display: grid;
  grid-template-columns: 4.2em 1fr;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #d8dee8;
}

.enso-list b {
  font-family: var(--pixel);
  font-weight: 400;
  color: var(--red);
}

.soft-table {
  width: min(920px, 100%);
  margin: 1.6rem auto 0;
  border-collapse: collapse;
  font-size: 0.85rem;
}

.soft-table th,
.soft-table td {
  text-align: left;
  padding: 0.45rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  font-family: var(--pixel);
  font-size: 11px;
  letter-spacing: 0.04em;
}

.soft-table th {
  color: var(--yellow);
}

.place-grid {
  width: min(1100px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.place-grid.two {
  width: min(860px, 100%);
}

.place-grid img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.place-grid figcaption,
.places h2 {
  font-family: var(--pixel);
}

.places h2 {
  width: min(860px, 100%);
  margin: 0 auto 1rem;
}

.places h2,
.people h2 {
  margin: 0 0 0.4rem;
  font-family: var(--gothic);
  font-weight: 700;
  font-size: clamp(1.5rem, 3.6vw, 2.2rem);
  letter-spacing: 0.06em;
  color: var(--blue-deep);
}

.people blockquote {
  margin: 1.2rem 0 0;
}

.people blockquote p {
  margin: 0;
  font-weight: 700;
}

.people cite {
  display: block;
  margin-top: 0.5rem;
  font-family: var(--pixel);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
}

.revival {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1.6rem;
  align-items: center;
  width: min(1100px, calc(100% - 2.4rem));
  margin: 0 auto 2rem;
  padding: 0 0 3rem;
}

.revival img {
  width: 100%;
  height: auto;
}

.revival blockquote {
  margin: 0;
}

.revival blockquote p {
  font-family: var(--gothic);
  font-size: clamp(1.2rem, 2.6vw, 1.7rem);
  font-weight: 700;
  line-height: 1.5;
}

.revival cite {
  display: block;
  margin-top: 0.8rem;
  font-family: var(--pixel);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.12em;
}

@media (max-width: 820px) {
  .people-inner,
  .revival,
  .place-grid {
    grid-template-columns: 1fr;
  }

  .turnaround {
    grid-template-columns: repeat(3, 1fr);
  }
}

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(7, 42, 110, 0.94);
}

#lightbox[hidden] {
  display: none;
}

#lightbox img {
  max-width: min(1400px, 96vw);
  max-height: 88vh;
  object-fit: contain;
  background: #fff;
}

#lightbox button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: var(--pixel);
  color: var(--yellow);
}

@media (max-width: 820px) {
  .hud {
    grid-template-columns: 1fr auto;
    font-size: 10px;
  }

  .hud-nav {
    display: none;
  }

  .hero-board,
  .split,
  .pair {
    grid-template-columns: 1fr;
  }

  .scrub,
  .scrub.mascot {
    height: 320vh;
  }

  .fin-name {
    font-size: clamp(2rem, 12vw, 3.2rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .scrub,
  .scrub.mascot {
    height: auto;
  }

  .scrub-stage {
    height: auto;
    padding-top: 5rem;
  }

  .fc-cart.is-playing .fc-label img,
  .fc-cart.is-playing .fc-body::after {
    animation: none;
  }

  .fc-cart:hover,
  .fc-cart:focus-visible,
  .fc-cart.is-playing {
    transform: none;
  }
}
