:root {
  --ink: #0b2231;
  --navy: #071d2c;
  --cream: #f6edda;
  --paper: #fffaf0;
  --orange: #ef6a3a;
  --yellow: #f7c65a;
  --cyan: #61d5df;
  --muted: #637079;
  --line: rgba(11, 34, 49, .15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "DM Sans", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .06;
  z-index: 20;
  background-image: url("assets/paper.png");
  background-size: 420px;
  mix-blend-mode: multiply;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.skip-link { position: fixed; left: 1rem; top: -5rem; z-index: 100; padding: .8rem 1rem; background: white; color: var(--ink); }
.skip-link:focus { top: 1rem; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  max-width: 1240px;
  height: 94px;
  margin: auto;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand { display: flex; align-items: center; gap: 11px; font: 800 21px/1 "Noto Sans JP", sans-serif; letter-spacing: -.04em; }
.brand > span:last-child > span { color: var(--orange); }
.brand-mark { display: grid; place-items: center; width: 39px; height: 39px; border: 1px solid rgba(255,255,255,.45); color: var(--yellow); font-size: 16px; border-radius: 50%; }
nav { display: flex; align-items: center; gap: 34px; font-size: 14px; font-weight: 600; }
nav a:not(.nav-download) { opacity: .8; transition: opacity .2s; }
nav a:hover { opacity: 1; }
.nav-download { padding: 11px 18px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; }

.hero {
  position: relative;
  min-height: 780px;
  height: min(920px, 100svh);
  overflow: hidden;
  color: white;
  background:
    linear-gradient(90deg, rgba(4,19,30,.98) 0%, rgba(4,20,31,.94) 40%, rgba(4,20,31,.5) 72%, rgba(4,20,31,.82) 100%),
    url("assets/alley.webp") center 43% / cover;
}
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 28%; background: linear-gradient(transparent, rgba(3,15,23,.88)); }
.hero-glow { position: absolute; width: 560px; height: 560px; border-radius: 50%; right: 4%; top: 12%; background: rgba(245,171,72,.19); filter: blur(60px); }
.hero-copy { position: relative; z-index: 3; width: min(620px, 48%); margin-left: max(7vw, calc((100vw - 1180px)/2)); padding-top: clamp(170px, 22vh, 225px); }
.eyebrow { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; color: #e9b56a; font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .19em; }
.eyebrow span { width: 34px; height: 1px; background: currentColor; }
h1, h2 { margin: 0; font-family: "Noto Sans JP", sans-serif; font-weight: 900; letter-spacing: -.055em; line-height: .98; }
h1 { font-size: clamp(64px, 7.1vw, 108px); }
h1 em, h2 em { color: var(--orange); font-style: normal; }
.hero-lead { max-width: 560px; margin: 30px 0; color: rgba(255,255,255,.72); font-size: clamp(16px, 1.35vw, 19px); line-height: 1.72; }
.store-row { display: flex; gap: 12px; flex-wrap: wrap; }
.store-button { min-width: 178px; min-height: 58px; padding: 9px 18px; display: flex; align-items: center; gap: 12px; border: 1px solid rgba(255,255,255,.22); border-radius: 10px; background: #050708; color: white; cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.2); transition: transform .2s, border-color .2s, background .2s; }
.store-button:hover, .store-button:focus-visible { transform: translateY(-3px); border-color: var(--yellow); background: #11181c; }
.store-button small, .store-button strong { display: block; text-align: left; }
.store-button small { font-size: 8px; letter-spacing: .08em; }
.store-button strong { margin-top: 1px; font-size: 18px; line-height: 1.1; }
.play-icon { width: 27px; height: 31px; clip-path: polygon(4% 0, 100% 50%, 4% 100%, 29% 50%); background: linear-gradient(145deg,#64d2dc 30%,#f7d054 31% 55%,#e95747 56%); }
.apple-icon { position: relative; width: 25px; height: 28px; overflow: hidden; color: transparent; border-radius: 43% 43% 48% 48%; background: white; }
.apple-icon::before { content: ""; position: absolute; width: 9px; height: 6px; right: 2px; top: -3px; background: white; border-radius: 100% 0; transform: rotate(-28deg); }
.available { margin: 19px 0 0; color: rgba(255,255,255,.53); font-size: 12px; text-transform: uppercase; letter-spacing: .13em; }
.available i { display: inline-block; width: 7px; height: 7px; margin-right: 8px; border-radius: 50%; background: #72c98c; box-shadow: 0 0 10px #72c98c; }
.hero-art { position: absolute; z-index: 2; right: max(1.5vw, calc((100vw - 1280px)/2)); bottom: -155px; width: clamp(390px, 43vw, 590px); height: 800px; }
.machine { position: absolute; z-index: 2; width: 100%; height: auto; filter: drop-shadow(0 35px 35px rgba(0,0,0,.5)); }
.moon { position: absolute; right: 12%; top: 10%; width: 290px; height: 290px; border-radius: 50%; background: rgba(255,218,148,.18); filter: blur(3px); box-shadow: 0 0 70px rgba(255,202,106,.24); }
.japanese-stamp { position: absolute; z-index: 3; right: 0; top: 18%; padding: 10px 8px; border: 1px solid rgba(255,255,255,.28); color: rgba(255,255,255,.58); font: 700 12px/1.5 "Noto Sans JP"; letter-spacing: .22em; writing-mode: vertical-rl; }
.float-can { position: absolute; z-index: 3; width: 58px; height: 24px; border-radius: 12px; border: 2px solid rgba(255,255,255,.55); box-shadow: inset 7px 0 rgba(0,0,0,.15), 0 12px 18px rgba(0,0,0,.25); }
.can-one { background: #e86343; left: 1%; top: 29%; transform: rotate(-16deg); }
.can-two { background: #61c7d5; right: 2%; top: 47%; transform: rotate(14deg); }
.can-three { background: #f4c24e; left: 6%; top: 63%; transform: rotate(9deg); }
.scroll-cue { position: absolute; z-index: 5; bottom: 34px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.5); font-size: 10px; text-transform: uppercase; letter-spacing: .22em; }
.scroll-cue span { display: block; width: 1px; height: 34px; margin: 0 auto 10px; background: linear-gradient(transparent, white); }

.intro { position: relative; max-width: 1180px; margin: auto; padding: 145px 30px; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
.section-number { position: absolute; top: 70px; right: 30px; color: rgba(11,34,49,.06); font: 900 140px/1 "Noto Sans JP"; }
.eyebrow.dark { color: #ad673d; }
h2 { font-size: clamp(43px, 5vw, 72px); }
.intro-copy { padding-top: 47px; }
.intro-copy p { margin: 0 0 22px; color: var(--muted); font-size: 17px; line-height: 1.8; }
.hot { color: #c65335; }.cold { color: #278b9b; }

.game-showcase { position: relative; height: min(780px, 80vw); min-height: 560px; max-width: 1360px; margin: 0 auto; overflow: hidden; background: var(--navy); }
.game-showcase > img { width: 100%; height: 100%; object-fit: cover; object-position: center 44%; filter: saturate(.85); }
.game-showcase::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,16,25,.72), transparent 60%), linear-gradient(0deg, rgba(3,16,25,.45), transparent 45%); }
.showcase-card { position: absolute; z-index: 2; left: 7%; bottom: 11%; width: min(390px, 80%); padding: 34px; color: white; background: rgba(6,26,39,.83); border-left: 3px solid var(--orange); backdrop-filter: blur(8px); }
.card-kicker { color: var(--yellow); font-size: 11px; text-transform: uppercase; letter-spacing: .18em; }
.showcase-card strong { display: block; margin-top: 12px; font: 800 clamp(30px, 3.2vw, 47px)/1.08 "Noto Sans JP"; letter-spacing: -.045em; }
.showcase-card p { margin: 18px 0 0; color: rgba(255,255,255,.68); line-height: 1.6; }
.vertical-note { position: absolute; z-index: 2; right: 3%; top: 8%; color: rgba(255,255,255,.5); font: 700 13px/1 "Noto Sans JP"; writing-mode: vertical-rl; letter-spacing: .38em; }

.features { max-width: 1180px; margin: auto; padding: 150px 30px 160px; }
.features header { display: flex; justify-content: space-between; align-items: end; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 75px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feature-grid article { position: relative; min-height: 345px; padding: 36px 34px; border-right: 1px solid var(--line); }
.feature-grid article:first-child { border-left: 1px solid var(--line); }
.feature-icon { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 48px; border: 1px solid var(--line); border-radius: 50%; color: var(--orange); font: 500 35px/1 serif; }
.feature-no { position: absolute; top: 32px; right: 30px; color: #a78163; font-size: 11px; letter-spacing: .15em; }
.feature-grid h3 { margin: 0 0 14px; font: 800 23px/1.2 "Noto Sans JP"; letter-spacing: -.035em; }
.feature-grid article > p:last-child { color: var(--muted); font-size: 15px; line-height: 1.7; }
.feature-icon.temperature { display: flex; overflow: hidden; border-radius: 8px; }
.temperature i { flex: 1; height: 100%; display: grid; place-items: center; color: white; font: 800 7px/1 sans-serif; writing-mode: vertical-rl; letter-spacing: .1em; background: #d2573d; }
.temperature i:last-child { background: #3195a8; }
.feature-icon.sound { font-family: sans-serif; font-weight: 700; }

.cta { position: relative; min-height: 610px; display: flex; align-items: center; overflow: hidden; color: white; background: var(--navy); }
.cta::before { content: ""; position: absolute; inset: 0; background: url("assets/map.webp") center / cover; opacity: .16; }
.cta-copy { position: relative; z-index: 2; width: min(1140px, calc(100% - 60px)); margin: auto; }
.cta-copy > p:not(.eyebrow) { color: rgba(255,255,255,.62); font-size: 17px; }
.cta .store-row { margin-top: 30px; }
.cta > img { position: absolute; z-index: 1; right: max(3%, calc((100vw - 1180px)/2)); bottom: -260px; width: clamp(360px, 39vw, 530px); filter: drop-shadow(0 25px 28px rgba(0,0,0,.5)); }

footer { position: relative; padding: 55px max(30px, calc((100vw - 1180px)/2)); display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 18px; color: rgba(255,255,255,.62); background: #04131d; font-size: 13px; }
.footer-brand { color: white; }.footer-brand .brand-mark { color: var(--yellow); }
footer > p { margin: 0; }.footer-links { grid-row: 1; grid-column: 2; display: flex; gap: 28px; }.footer-links a:hover { color: white; }
footer > small { grid-column: 2; text-align: right; font-size: 11px; }

dialog { width: min(440px, calc(100% - 32px)); padding: 40px; border: 0; border-radius: 3px; color: var(--ink); background: var(--paper); box-shadow: 0 30px 90px rgba(0,0,0,.45); }
dialog::backdrop { background: rgba(2,13,21,.8); backdrop-filter: blur(5px); }
dialog h2 { font-size: 42px; }
dialog > p:not(.eyebrow) { color: var(--muted); line-height: 1.7; }
.dialog-close { position: absolute; right: 15px; top: 10px; border: 0; background: transparent; color: var(--muted); font-size: 28px; cursor: pointer; }
.dialog-mark { float: right; display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid var(--line); border-radius: 50%; color: var(--orange); font: 700 14px "Noto Sans JP"; }
.dialog-ok { width: 100%; margin-top: 14px; padding: 14px; border: 0; border-radius: 4px; color: white; background: var(--ink); font-weight: 700; cursor: pointer; }

@media (max-width: 850px) {
  .site-header { height: 76px; padding: 0 20px; }
  nav a:not(.nav-download) { display: none; }
  .hero { min-height: 820px; height: 100svh; }
  .hero-copy { width: auto; margin: 0; padding: 135px 24px 0; }
  .hero-lead { max-width: 560px; }
  .hero-art { width: 420px; max-width: 78vw; height: 580px; right: -60px; bottom: -220px; opacity: .78; }
  .float-can, .japanese-stamp { display: none; }
  .hero-copy { z-index: 4; }
  .intro { padding: 100px 24px; grid-template-columns: 1fr; gap: 12px; }
  .intro-copy { padding-top: 20px; }
  .section-number { top: 35px; font-size: 100px; }
  .game-showcase { height: 720px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article, .feature-grid article:first-child { min-height: auto; border: 0; border-top: 1px solid var(--line); }
  .features { padding: 100px 24px; }
  .cta { min-height: 720px; align-items: start; padding-top: 90px; }
  .cta > img { width: 350px; right: -90px; bottom: -180px; opacity: .75; }
}

@media (max-width: 520px) {
  .nav-download { padding: 9px 13px; }
  .brand { font-size: 18px; }.brand-mark { width: 34px; height: 34px; }
  h1 { font-size: clamp(52px, 17vw, 74px); }
  .hero-lead { margin: 23px 0; line-height: 1.55; }
  .store-button { min-width: 0; width: calc(50% - 6px); padding: 8px 10px; gap: 8px; }
  .store-button strong { font-size: 15px; }.store-button small { font-size: 7px; }
  .play-icon { width: 23px; height: 26px; }.apple-icon { width: 21px; height: 24px; }
  .hero-art { width: 350px; max-width: 85vw; right: -85px; bottom: -150px; }
  .scroll-cue { display: none; }
  .showcase-card { left: 18px; bottom: 18px; width: calc(100% - 36px); padding: 26px; }
  .feature-grid { margin-top: 48px; }
  .feature-grid article { padding: 30px 10px; }
  .cta-copy { width: calc(100% - 48px); }
  footer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-links, footer > small { grid-column: 1; grid-row: auto; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
