:root {
  color-scheme: dark;
  --ink: #0b0b0d;
  --paper: #f4f5f7;
  --mute: rgba(244, 245, 247, 0.62);
  --signal: #e0283a;
  --pad: clamp(1.25rem, 4vw, 3.5rem);
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { background: var(--ink); }
body { color: var(--paper); font-family: var(--font); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink);
  cursor: none;
  touch-action: pan-y;
}

.layer { position: absolute; inset: 0; width: 100%; height: 100%; }
#base { animation: fade 0.7s var(--ease) both; }

.shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 80% 70% at 50% 55%, transparent 55%, rgba(4, 4, 6, 0.55) 100%),
    linear-gradient(to bottom,
      rgba(6, 6, 8, 0.82) 0%, rgba(6, 6, 8, 0.45) 24%,
      rgba(6, 6, 8, 0) 38%, rgba(6, 6, 8, 0) 70%,
      rgba(6, 6, 8, 0.7) 90%, rgba(6, 6, 8, 0.92) 100%);
}

.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 5;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: calc(1.4rem + env(safe-area-inset-top, 0px)) var(--pad) 0;
  animation: fade 0.9s var(--ease) 0.5s both;
  transition: background 0.4s, padding 0.4s, backdrop-filter 0.4s;
}
.nav.solid { background: rgba(11, 11, 13, 0.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); padding-top: calc(0.8rem + env(safe-area-inset-top, 0px)); padding-bottom: 0.8rem; }
.brand { font-weight: 800; font-stretch: 125%; font-size: 1.1rem; letter-spacing: -0.01em; justify-self: start; }
.nav-links { display: flex; gap: 2.5rem; font-size: 0.92rem; font-weight: 500; }
.nav { cursor: auto; }
.nav-links a { opacity: 0.7; transition: opacity 0.2s; }
.nav-links a:hover { opacity: 1; }
.nav-cta {
  justify-self: end;
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.15rem;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;
}
.nav-cta:hover { background: #fff; color: #000; }

.content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  grid-template-areas:
    "head aside"
    "zone zone"
    "strip strip";
  column-gap: 3rem;
  padding: calc(5.4rem + env(safe-area-inset-top, 0px)) var(--pad) calc(1.6rem + env(safe-area-inset-bottom, 0px));
  pointer-events: none;
}

.headline {
  grid-area: head;
  font-weight: 900;
  font-stretch: 112%;
  font-size: clamp(2.2rem, 6.3vw, 6.2rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
}
.ln { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.ln > span { display: block; transform: translateY(108%); animation: rise 1.1s var(--ease) 0.15s forwards; }
.ln:nth-child(2) > span { animation-delay: 0.3s; }

.aside {
  grid-area: aside;
  align-self: end;
  padding-bottom: 0.4rem;
  animation: fade 0.9s var(--ease) 0.7s both;
}
.sub { max-width: 34ch; font-size: clamp(0.95rem, 1.15vw, 1.05rem); line-height: 1.5; font-weight: 500; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, 0.6); }
.hint-touch { display: none; }

.actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.75rem; pointer-events: auto; cursor: pointer; }
.btn, .btn-ghost {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  transition: transform 0.2s, background 0.2s, color 0.2s;
}
.btn { background: #fff; color: #0a0a0c; }
.btn:hover { background: var(--signal); color: #fff; transform: translateY(-2px); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.85); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); transform: translateY(-2px); }

.zone { grid-area: zone; min-height: 200px; margin: 0 calc(-1 * var(--pad)); }

.strip {
  grid-area: strip;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  animation: fade 0.9s var(--ease) 0.9s both;
}
.fin { display: inline-flex; align-items: center; gap: 0.6rem; white-space: nowrap; }
.fin [lang="ja"] { font-size: 1.15rem; font-weight: 700; opacity: 0.55; }
.sw { width: 0.8rem; height: 0.8rem; border-radius: 50%; }
.sw-black { background: #121214; box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.6); margin-right: 0.15rem; }
.sw-white { background: #f4f5f7; margin-left: 0.15rem; }
.rule { flex: 1; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #17171a, #f4f5f7); opacity: 0.8; }

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

.cursor-dot {
  position: absolute;
  top: 0; left: 0;
  width: 14px; height: 14px;
  margin: -7px 0 0 -7px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1.5px rgba(0, 0, 0, 0.5);
  pointer-events: none;
  opacity: 0;
  z-index: 6;
  transition: opacity 0.25s;
  will-change: transform;
}
.cursor-dot.on { opacity: 1; }

@keyframes settle { from { transform: scale(1.07); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes rise { to { transform: translateY(0); } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }

@media (prefers-reduced-motion: reduce) {
  .ln > span { transform: none; animation: none; }
  .nav, .aside, .strip, .layer { animation: none; }
}

@media (max-width: 1100px) {
  .content {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr) auto auto;
    grid-template-areas: "head" "zone" "strip" "aside";
    padding-top: calc(4.8rem + env(safe-area-inset-top, 0px));
  }
  .headline { font-size: clamp(2rem, 8.2vw, 5.2rem); font-stretch: 108%; }
  .strip { font-size: 0.85rem; gap: 0.9rem; }
  .aside { text-align: center; padding-top: 1.1rem; }
  .sub { max-width: 34ch; margin: 0 auto; font-size: 0.95rem; }
  .actions { justify-content: center; margin-top: 1rem; }
}
@media (max-width: 820px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .headline { font-size: 9vw; font-stretch: 106%; }
  .btn, .btn-ghost { padding: 0.8rem 1.25rem; font-size: 0.9rem; }
}
@media (hover: none) {
  .hero { cursor: auto; }
  .cursor-dot { display: none; }
  .hint-mouse { display: none; }
  .hint-touch { display: inline; }
}

section[id], footer { scroll-margin-top: 4rem; }
.wrap { padding: 0 var(--pad); max-width: 1400px; margin: 0 auto; }
.wrap.narrow { max-width: 760px; }
h2 { font-weight: 900; font-stretch: 112%; font-size: clamp(2rem, 5.2vw, 4.8rem); line-height: 0.96; letter-spacing: -0.04em; text-wrap: balance; }
.lead { margin-top: 1.5rem; max-width: 40ch; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.55; color: var(--mute); }
[data-rise] { opacity: 0; transform: translateY(32px); transition: opacity 0.9s, transform 0.9s var(--ease); }
[data-rise].in { opacity: 1; transform: none; }

.statement { padding: 22vh var(--pad); max-width: 1400px; margin: 0 auto; }
.words { font-weight: 700; font-stretch: 105%; font-size: clamp(1.7rem, 4.2vw, 3.8rem); line-height: 1.14; letter-spacing: -0.03em; max-width: 24em; }
.words span { opacity: 0.16; transition: opacity 0.4s; }
.words span.on { opacity: 1; }

.road, .night { position: relative; height: 115vh; min-height: 560px; overflow: hidden; }
.road > img, .night > img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; will-change: transform; }
.road::after, .night::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, #0b0b0d 0%, rgba(11, 11, 13, 0.25) 45%, rgba(11, 11, 13, 0.5) 100%); }
.road .txt, .night .txt { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 12vh; max-width: 44rem; }
.txt p { margin-top: 1.25rem; max-width: 38ch; font-size: clamp(1rem, 1.3vw, 1.2rem); line-height: 1.55; color: rgba(244, 245, 247, 0.8); }

.engine { background: #000; padding: 14vh 0 12vh; }
.engine .grid, .cockpit .grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: 3rem; align-items: center; }
.pic img { width: 100%; display: block; -webkit-mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 55%, transparent 100%); mask-image: radial-gradient(ellipse 72% 78% at 50% 50%, #000 55%, transparent 100%); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; margin-top: 6rem; background: rgba(255, 255, 255, 0.14); border-block: 1px solid rgba(255, 255, 255, 0.14); }
.stats > div { background: #000; padding: 2rem 1.5rem 2rem 0; display: flex; flex-direction: column; gap: 0.5rem; }
.stats > div + div { padding-left: 1.5rem; }
.stats b { font-weight: 900; font-stretch: 112%; font-size: clamp(2.4rem, 5vw, 4.6rem); letter-spacing: -0.04em; line-height: 1; }
.stats small { font-size: 0.35em; font-weight: 600; letter-spacing: 0; color: var(--signal); }
.stats > div > span { font-size: 0.9rem; color: var(--mute); }
.note { margin-top: 1rem; font-size: 0.8rem; color: rgba(244, 245, 247, 0.45); max-width: 60ch; }
.bay { position: relative; margin-top: 6rem; border-radius: 1.25rem; overflow: hidden; aspect-ratio: 21 / 9; }
.bay img { position: absolute; left: 0; top: -10%; width: 100%; height: 120%; object-fit: cover; }
.bay::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 55%); }
.bay figcaption { position: absolute; z-index: 2; left: 1.5rem; right: 1.5rem; bottom: 1.25rem; font-size: 0.95rem; max-width: 40ch; }

.cockpit { padding: 14vh 0; }
.cockpit .grid { grid-template-columns: 1fr 1.5fr; }
.spots { list-style: none; margin-top: 2rem; display: grid; gap: 0.25rem; }
.spots button { width: 100%; text-align: left; font: inherit; color: inherit; background: none; border: 0; border-left: 2px solid rgba(255, 255, 255, 0.18); padding: 0.7rem 0 0.7rem 1.1rem; cursor: pointer; transition: border-color 0.3s, opacity 0.3s; opacity: 0.55; }
.spots button.on { border-color: var(--signal); opacity: 1; }
.spots b { display: block; font-size: 1.05rem; }
.spots span { display: block; max-height: 0; overflow: hidden; font-size: 0.92rem; line-height: 1.5; color: var(--mute); transition: max-height 0.4s, margin 0.4s; }
.spots button.on span { max-height: 6rem; margin-top: 0.35rem; }
.frame { position: relative; border-radius: 1.25rem; overflow: hidden; }
.frame img { display: block; width: 100%; }
.hot { position: absolute; width: 2.4rem; height: 2.4rem; margin: -1.2rem 0 0 -1.2rem; border-radius: 50%; border: 2px solid #fff; background: rgba(224, 40, 58, 0.85); cursor: pointer; transition: transform 0.3s, background 0.3s; }
.hot::after { content: ""; position: absolute; inset: -2px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, 0.7); animation: ping 2s ease-out infinite; }
.hot.on { background: #fff; transform: scale(1.15); }
@keyframes ping { from { transform: scale(1); opacity: 0.9; } to { transform: scale(1.9); opacity: 0; } }

.night::after { background: linear-gradient(to top, #0b0b0d 0%, rgba(11, 11, 13, 0.1) 50%, rgba(11, 11, 13, 0.4) 100%); }

.marq { overflow: hidden; white-space: nowrap; border-block: 1px solid rgba(255, 255, 255, 0.14); padding: 1.4rem 0; }
.marq > div { display: inline-block; animation: marq 32s linear infinite; }
.marq span { font-weight: 900; font-stretch: 118%; font-size: clamp(2.4rem, 7vw, 6rem); letter-spacing: -0.03em; color: transparent; -webkit-text-stroke: 1.5px rgba(244, 245, 247, 0.55); }
.marq i { font-style: normal; color: var(--signal); margin: 0 2rem; font-size: clamp(1rem, 2vw, 1.6rem); vertical-align: middle; }
@keyframes marq { to { transform: translateX(-50%); } }

.finish { padding: 14vh 0; text-align: center; transition: background 0.8s, color 0.8s; background: radial-gradient(ellipse at 50% 58%, #26282f, #0b0b0d 72%); }
.finish[data-f="white"] { background: radial-gradient(ellipse at 50% 58%, #eef0f3, #8d939e 78%); color: #0b0b0d; }
.stage { position: relative; height: clamp(240px, 38vw, 500px); margin-top: 2rem; }
.kanji { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 900; font-size: clamp(13rem, 34vw, 32rem); line-height: 1; opacity: 0.08; transition: opacity 0.4s; }
.floor { position: absolute; left: 50%; bottom: 8%; width: min(80%, 900px); height: 12%; transform: translateX(-50%); background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.55), transparent 70%); filter: blur(6px); }
.car { position: absolute; left: 50%; bottom: 10%; width: min(92%, 1000px); transform: translateX(-50%); opacity: 0; transition: opacity 0.7s, transform 0.9s var(--ease); }
#carBlack:not(.on) { transform: translateX(-62%); }
#carWhite:not(.on) { transform: translateX(-38%); }
.car.on { opacity: 1; }
.picks { display: flex; justify-content: center; gap: 0.75rem; margin-top: 1rem; flex-wrap: wrap; }
.pick { display: inline-flex; align-items: center; gap: 0.6rem; font: inherit; font-weight: 600; color: inherit; background: transparent; border: 1.5px solid currentColor; border-radius: 999px; padding: 0.7rem 1.3rem; cursor: pointer; opacity: 0.6; transition: opacity 0.3s, background 0.3s, color 0.3s; }
.pick.on { opacity: 1; background: var(--paper); color: #0b0b0d; border-color: var(--paper); }
.finish[data-f="white"] .pick.on { background: #0b0b0d; color: var(--paper); border-color: #0b0b0d; }
.blurb { margin-top: 1.5rem; min-height: 1.6em; font-size: 1.05rem; opacity: 0.8; }
.go { display: inline-block; margin-top: 1.25rem; }
.finish[data-f="white"] .go { background: #0b0b0d; color: #fff; }
.finish[data-f="white"] .go:hover { background: var(--signal); }

.reserve { padding: 16vh 0 12vh; }
#form { margin-top: 2.5rem; display: grid; gap: 1.1rem; }
#form label, #form legend { display: block; font-size: 0.9rem; font-weight: 600; }
#form input:not([type="radio"]) { display: block; width: 100%; margin-top: 0.45rem; font: inherit; color: var(--paper); background: rgba(255, 255, 255, 0.06); border: 1.5px solid rgba(255, 255, 255, 0.2); border-radius: 0.75rem; padding: 0.9rem 1rem; transition: border-color 0.2s; }
#form input:focus-visible { outline: none; border-color: var(--signal); }
#form fieldset { border: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; }
#form legend { width: 100%; margin-bottom: 0.2rem; }
.radio { cursor: pointer; }
.radio input { position: absolute; opacity: 0; }
.radio span { display: inline-block; border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: 999px; padding: 0.6rem 1.1rem; font-weight: 500; transition: background 0.2s, color 0.2s; }
.radio input:checked + span { background: #fff; color: #0b0b0d; }
.radio input:focus-visible + span { outline: 2px solid var(--signal); outline-offset: 3px; }
#form .btn { justify-self: start; border: 0; font: inherit; font-weight: 600; cursor: pointer; }
.err { color: #ff7b88; font-size: 0.9rem; }
.ok { margin-top: 2rem; font-size: 1.2rem; font-weight: 600; }

.foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 2rem var(--pad) calc(2rem + env(safe-area-inset-bottom, 0px)); border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.85rem; color: var(--mute); }
.foot .brand { color: var(--paper); }

@media (max-width: 1000px) {
  .engine .grid, .cockpit .grid { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: repeat(2, 1fr); margin-top: 4rem; }
  .stats > div, .stats > div + div { padding: 1.5rem 1rem 1.5rem 0; }
  .stats > div:nth-child(even) { padding-left: 1.25rem; }
  .bay { aspect-ratio: 4 / 3; margin-top: 4rem; }
  .road, .night { height: 90vh; min-height: 520px; }
  .road .txt, .night .txt { bottom: 8vh; }
  .engine .pic { max-width: 640px; margin: 0 auto; }
  .cockpit { padding: 10vh 0; }
}
@media (prefers-reduced-motion: reduce) {
  [data-rise] { opacity: 1; transform: none; transition: none; }
  .marq > div, .hot::after { animation: none; }
}

[data-rise] { opacity: 0; transform: perspective(1200px) translateY(60px) rotateX(24deg) scale(0.96); transform-origin: 50% 100%; transition: opacity 0.9s, transform 1s var(--ease); }
[data-rise].in { opacity: 1; transform-origin: 50% 50%; transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
[data-tilt] { transition: opacity 0.9s, transform 0.25s ease-out; }
[data-tilt]:not([data-rise]) { transform: perspective(1000px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); }
.glare { position: relative; }
.glare::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3; opacity: 0; transition: opacity 0.3s; background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, 0.2), transparent 55%); }
.glare:hover::after { opacity: 1; }
.road > img, .night > img { transform: translate3d(calc(var(--mx, 0) * -16px), calc(var(--py, 0px) + var(--my, 0) * -10px), 0) scale(1.08); transition: transform 0.25s ease-out; }
.bay img { transform: translateY(var(--py, 0px)) scale(1.05); }
.frame { overflow: visible; transform-style: preserve-3d; }
.frame img { border-radius: 1.25rem; }
.hot { transform: translateZ(50px); }
.hot.on { transform: translateZ(50px) scale(1.15); }
.stage { transform-style: preserve-3d; }
.kanji { transform: translateZ(-150px) scale(1.14); }
.floor { transform: translate3d(-50%, 0, -30px); }
.car { transform: translate3d(-50%, 0, 90px); }
#carBlack:not(.on) { transform: translate3d(-62%, 0, 30px); }
#carWhite:not(.on) { transform: translate3d(-38%, 0, 30px); }
.panel { margin-top: 2.5rem; padding: 2rem; border-radius: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.14); background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)); }
#form { margin-top: 0; }
.ok { margin-top: 0; }

.tunnel { position: relative; height: 340vh; background: #000; }
.tstick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
#tcv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.tmsg span { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); opacity: 0; white-space: nowrap; font-weight: 900; font-stretch: 118%; font-size: clamp(2.4rem, 9vw, 8rem); letter-spacing: -0.04em; text-shadow: 0 0 40px rgba(255, 60, 90, 0.6); pointer-events: none; }
.thint { position: absolute; left: 50%; bottom: calc(2.2rem + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); font-size: 0.9rem; font-weight: 600; color: var(--mute); }
.thint::after { content: ""; display: block; width: 1.5px; height: 2.2rem; margin: 0.6rem auto 0; background: linear-gradient(#fff, transparent); animation: drip 1.6s ease-in infinite; transform-origin: top; }
@keyframes drip { from { transform: scaleY(0); } 60% { transform: scaleY(1); } to { transform: scaleY(1); opacity: 0; } }
.flash { position: absolute; inset: 0; background: #eceef2; opacity: 0; pointer-events: none; }

.build { position: relative; height: 440vh; background: #eceef2; color: #0b0b0d; }
.bstick { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; display: flex; flex-direction: column; gap: 1rem; padding: 5.2rem var(--pad) 1.6rem; background: radial-gradient(circle at 1px 1px, rgba(11, 11, 13, 0.16) 1px, transparent 0) 0 0 / 24px 24px, #eceef2; }
.hud { display: flex; align-items: center; gap: 0.8rem; flex-wrap: nowrap; min-width: 0; align-self: flex-start; max-width: 100%; background: #0b0b0d; color: #fff; border-radius: 999px; padding: 0.55rem 1rem; font-size: 0.85rem; font-weight: 600; }
.hud .dot { width: 0.55rem; height: 0.55rem; border-radius: 50%; background: var(--signal); animation: pulse 1.2s infinite; }
.hud.done .dot { background: #2bd576; animation: none; }
.hud b, .hud span { white-space: nowrap; }
.hudlog { color: rgba(255, 255, 255, 0.7); font-weight: 500; flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.hud .bar { width: clamp(70px, 12vw, 170px); height: 4px; background: rgba(255, 255, 255, 0.2); border-radius: 4px; overflow: hidden; }
.hud .bar u { display: block; height: 100%; width: 0; background: #fff; }
@keyframes pulse { 50% { opacity: 0.3; } }
.bwrap { position: relative; flex: 1; min-height: 0; }
.bento { display: grid; height: 100%; gap: 1rem; grid-template-columns: repeat(12, 1fr); grid-template-rows: auto 1fr 1fr 1fr; grid-template-areas: "t t t t t t t s s s s s" "e e e e c c c c r r r r" "e e e e c c c c r r r r" "k k k k n n n n n n n n"; }
.bento h2 { grid-area: t; font-size: clamp(1.6rem, 3.6vw, 3.4rem); align-self: end; }
.sbox { grid-area: s; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 1rem; }
.bento .sub { font-size: clamp(0.9rem, 1.15vw, 1.05rem); line-height: 1.5; font-weight: 400; color: rgba(11, 11, 13, 0.7); text-shadow: none; max-width: 38ch; }
.build .btn { background: #0b0b0d; color: #fff; }
.build .btn:hover { background: var(--signal); }
.e { grid-area: e; } .c { grid-area: c; } .r { grid-area: r; } .n { grid-area: n; } .k { grid-area: k; }
.card, .stat { position: relative; border-radius: 18px; overflow: hidden; margin: 0; box-shadow: 0 24px 50px -24px rgba(0, 0, 0, 0.55); background: #0b0b0d; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 55%); }
.card figcaption { position: absolute; z-index: 2; left: 1rem; bottom: 0.9rem; right: 1rem; color: #fff; font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.card small { font-weight: 500; font-size: 0.8rem; opacity: 0.8; }
.stat { color: #fff; padding: 1.2rem 1.4rem; display: flex; flex-direction: column; justify-content: center; gap: 0.3rem; }
.stat b { font-weight: 900; font-stretch: 112%; font-size: clamp(2.4rem, 5vw, 4.6rem); letter-spacing: -0.04em; line-height: 1; }
.stat span { color: rgba(255, 255, 255, 0.65); font-size: 0.9rem; }
.cur { position: absolute; left: 0; top: 0; z-index: 20; pointer-events: none; will-change: transform; opacity: 0; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.3)); }
.cur b { position: absolute; left: 16px; top: 20px; color: #fff; font: 600 11px/1 var(--font); padding: 4px 8px; border-radius: 99px; white-space: nowrap; }
.sel { position: absolute; z-index: 15; pointer-events: none; opacity: 0; border: 1.5px dashed var(--c); border-radius: 8px; }
.sel i { position: absolute; width: 8px; height: 8px; background: #fff; border: 1.5px solid var(--c); border-radius: 2px; }
.sel i:nth-child(1) { left: -5px; top: -5px; } .sel i:nth-child(2) { right: -5px; top: -5px; } .sel i:nth-child(3) { left: -5px; bottom: -5px; } .sel i:nth-child(4) { right: -5px; bottom: -5px; }
.sel u { position: absolute; right: 0; top: 100%; margin-top: 8px; background: var(--c); color: #fff; font: 600 11px/1 var(--font); padding: 4px 7px; border-radius: 5px; text-decoration: none; white-space: nowrap; }
.statement { background: var(--ink); max-width: none; }
.statement .words { max-width: 24em; margin: 0 auto; }

@media (max-width: 900px) {
  .bstick { padding-top: 4.6rem; gap: 0.7rem; }
  .bento { gap: 0.7rem; grid-template-columns: repeat(2, 1fr); grid-template-rows: auto auto 1fr 1fr auto; grid-template-areas: "t t" "s s" "e c" "r n" "k k"; }
  .bento h2 { font-size: clamp(1.5rem, 7vw, 2.2rem); }
  .sbox { flex-direction: row; align-items: center; justify-content: space-between; gap: 0.8rem; }
  .bento .sub { font-size: 0.8rem; }
  .build .btn { padding: 0.7rem 1rem; font-size: 0.8rem; white-space: nowrap; }
  .card figcaption { font-size: 0.85rem; left: 0.7rem; bottom: 0.6rem; } .card small { display: none; }
  .stat { flex-direction: row; align-items: baseline; gap: 0.8rem; padding: 0.7rem 1rem; }
  .stat b { font-size: 2rem; }
  .tunnel { height: 300vh; } .build { height: 400vh; }
}
@media (prefers-reduced-motion: reduce) { .thint::after { animation: none; } }

body { overflow-x: clip; }
.finish { overflow: hidden; }
.road > img, .night > img { object-position: var(--pos, 50% 50%); }
.road { --pos: 62% 55%; }
.night { --pos: 40% 55%; }
@media (max-width: 560px) {
  .statement { padding: 14vh var(--pad); }
  .stats b { font-size: 2.2rem; }
  .panel { padding: 1.25rem; }
  .finish { padding: 10vh 0; }
  .stage { height: clamp(220px, 56vw, 500px); }
  .pick { padding: 0.6rem 1rem; }
  .foot { flex-direction: column; align-items: flex-start; }
  .marq span { font-size: 2.2rem; }
  .hud .bar { display: none; }
  .hud { padding: 0.5rem 0.9rem; font-size: 0.78rem; }
  .thint { font-size: 0.8rem; }
}
@media (max-height: 560px) and (orientation: landscape) {
  .road, .night { height: 130vh; }
}
