@charset "UTF-8";

:root {
  --ink: #17140f;
  --ink-soft: #26211a;
  --paper: #eee3c9;
  --paper-light: #f7f0df;
  --paper-deep: #d9c9a8;
  --gold: #c4a15d;
  --gold-bright: #efd58e;
  --vermilion: #a5402e;
  --vermilion-bright: #d15b3f;
  --indigo: #243a59;
  --indigo-bright: #4c6e99;
  --muted: #756b5d;
  --white: #fffaf0;
  --shell: min(1180px, calc(100% - 48px));
  --font-serif: "Yu Mincho", "Hiragino Mincho ProN", "BIZ UDPMincho", "Noto Serif JP", serif;
  --font-sans: "Avenir Next", "Century Gothic", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  --shadow: 0 24px 70px rgb(20 15 8 / 22%);
}

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

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper-light);
  color: var(--ink);
  font-family: var(--font-serif);
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--vermilion);
  color: var(--white);
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

[data-lang] {
  display: none !important;
}

html[lang="ja"] [data-lang="ja"],
html[lang="en"] [data-lang="en"] {
  display: revert !important;
}

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

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  left: 10px;
  padding: 10px 16px;
  transform: translateY(-160%);
  border: 1px solid var(--gold);
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.8rem;
}

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

.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.site-header {
  z-index: 50;
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr auto;
  align-items: center;
  gap: 34px;
  width: 100%;
  min-height: 96px;
  padding: 18px max(24px, calc((100vw - 1380px) / 2));
  color: var(--white);
  font-family: var(--font-sans);
}

.site-header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  border-bottom: 1px solid rgb(239 213 142 / 24%);
  background: linear-gradient(180deg, rgb(8 8 6 / 78%), transparent);
}

.site-header-solid {
  position: relative;
  border-bottom: 1px solid rgb(239 213 142 / 25%);
  background: var(--ink);
}

.brand {
  width: min(240px, 22vw);
}

.brand img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 5px 12px rgb(0 0 0 / 28%));
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(18px, 2.4vw, 38px);
  min-width: 0;
}

.site-nav a {
  position: relative;
  padding-block: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 2px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right;
  background: var(--gold-bright);
  content: "";
  transition: transform 220ms ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-current::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  color: rgb(255 250 240 / 58%);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

.language-button {
  min-width: 29px;
  padding: 5px 4px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: inherit;
  font-weight: inherit;
  line-height: 1;
}

.language-button:hover,
.language-button:focus-visible,
.language-button.is-active {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.language-button:focus-visible,
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 4px;
}

.awai-hero {
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  overflow: hidden;
  isolation: isolate;
  background: #0d0d0a;
  color: var(--white);
}

.hero-art {
  position: absolute;
  z-index: -3;
  top: 0;
  right: 0;
  width: min(58vw, 900px);
  height: 100%;
}

.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 53%;
  filter: saturate(0.9) contrast(1.03);
}

.hero-art::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #0d0d0a 0%, transparent 26%, transparent 76%, rgb(13 13 10 / 25%) 100%);
  content: "";
}

.hero-ink {
  position: absolute;
  z-index: -2;
  inset: 0;
  background:
    radial-gradient(circle at 13% 65%, rgb(37 58 90 / 28%), transparent 31%),
    linear-gradient(105deg, #0d0d0a 0%, #12110d 43%, rgb(13 13 10 / 15%) 65%, transparent 100%);
}

.hero-ink::before {
  position: absolute;
  top: 0;
  left: 44%;
  width: 13vw;
  height: 100%;
  transform: skewX(-5deg);
  background: linear-gradient(90deg, #0d0d0a, transparent);
  content: "";
  filter: blur(12px);
}

.hero-content {
  align-self: center;
  width: min(700px, 52vw);
  margin-top: 70px;
  margin-left: max(28px, calc((100vw - 1260px) / 2));
  padding: 76px 40px 70px 0;
}

.development-seal {
  display: inline-flex;
  align-items: center;
  margin: 0 0 24px;
  padding: 7px 13px;
  border: 1px solid var(--vermilion-bright);
  color: #f08a72;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.hero-kicker {
  margin: 0 0 18px;
  color: var(--gold-bright);
  font-family: var(--font-sans);
  font-size: clamp(0.66rem, 1vw, 0.82rem);
  font-weight: 600;
  letter-spacing: 0.2em;
}

.title-calligraphy {
  width: min(100%, 690px);
  height: auto;
  margin-left: -2.5%;
  filter: drop-shadow(0 8px 25px rgb(0 0 0 / 55%));
}

.hero-tagline {
  margin: 28px 0 0;
  font-size: clamp(1.35rem, 2.5vw, 2.2rem);
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.65;
  text-shadow: 0 4px 18px rgb(0 0 0 / 65%);
}

html[lang="en"] .hero-tagline {
  max-width: 620px;
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  letter-spacing: 0.02em;
  line-height: 1.25;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 40px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid currentColor;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button-gold {
  border-color: var(--gold);
  background: linear-gradient(135deg, #d0ad69, #a67d38);
  box-shadow: 0 10px 28px rgb(0 0 0 / 28%);
  color: #15110b;
}

.button-gold:hover {
  box-shadow: 0 15px 35px rgb(0 0 0 / 38%);
}

.button-ink {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

.button-coral {
  border-color: var(--vermilion);
  background: var(--vermilion);
  color: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border-bottom: 1px solid currentColor;
  font-family: var(--font-sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.text-link-light {
  color: var(--gold-bright);
}

.scroll-cue {
  position: absolute;
  right: max(26px, calc((100vw - 1380px) / 2));
  bottom: 34px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgb(255 250 240 / 68%);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.scroll-cue i {
  position: relative;
  width: 1px;
  height: 48px;
  overflow: hidden;
  background: rgb(255 255 255 / 22%);
}

.scroll-cue i::after {
  position: absolute;
  top: -100%;
  left: 0;
  width: 1px;
  height: 100%;
  background: var(--gold-bright);
  content: "";
  animation: scroll-line 2s ease-in-out infinite;
}

@keyframes scroll-line {
  0% { transform: translateY(0); }
  60%, 100% { transform: translateY(200%); }
}

.paper-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 15% 22%, rgb(255 255 255 / 38%), transparent 28%),
    linear-gradient(115deg, var(--paper-light), var(--paper));
}

.paper-section::before {
  position: absolute;
  inset: 0;
  background-image: url("../images/awai-kochi/parchment-bg.webp");
  background-size: 650px auto;
  content: "";
  opacity: 0.12;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.section-index {
  margin: 0 0 18px;
  color: var(--vermilion);
  font-family: var(--font-sans);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.story-section {
  padding: clamp(100px, 12vw, 180px) 0;
}

.story-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.section-copy h2,
.section-heading h2,
.lineup-heading h2,
.development-content h2,
.contact-copy h2,
.games-hero h1 {
  margin: 0;
  font-size: clamp(2.4rem, 5.4vw, 5.2rem);
  font-weight: 500;
  letter-spacing: 0.05em;
  line-height: 1.32;
}

html[lang="en"] .section-copy h2,
html[lang="en"] .section-heading h2,
html[lang="en"] .lineup-heading h2,
html[lang="en"] .development-content h2,
html[lang="en"] .contact-copy h2 {
  letter-spacing: -0.02em;
  line-height: 1.06;
}

.story-prose {
  max-width: 590px;
  margin-top: 38px;
  color: #423a30;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 2.15;
}

.story-prose p + p {
  margin-top: 1.2em;
}

.section-copy blockquote {
  margin: 38px 0 0;
  padding: 22px 0 22px 26px;
  border-left: 3px solid var(--vermilion);
  color: var(--indigo);
  font-size: clamp(1.08rem, 1.7vw, 1.42rem);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.story-art {
  position: relative;
  margin: 0;
  padding: 15px;
  transform: rotate(1.2deg);
  border: 1px solid rgb(102 79 42 / 45%);
  background: #e8dcc2;
  box-shadow: var(--shadow);
}

.story-art::before,
.story-art::after {
  position: absolute;
  z-index: 2;
  width: 90px;
  height: 18px;
  transform: rotate(-5deg);
  background: rgb(190 157 97 / 48%);
  content: "";
}

.story-art::before { top: -8px; left: 15%; }
.story-art::after { right: 13%; bottom: -7px; transform: rotate(4deg); }

.story-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.story-art figcaption {
  padding: 12px 4px 2px;
  color: var(--muted);
  font-size: 0.73rem;
  letter-spacing: 0.08em;
  text-align: right;
}

.trailer-section {
  position: relative;
  overflow: hidden;
  padding: clamp(100px, 12vw, 170px) 0;
  isolation: isolate;
  background:
    radial-gradient(circle at 78% 42%, rgb(49 69 96 / 32%), transparent 34%),
    linear-gradient(135deg, #0b0b09, #18150f 62%, #100e0b);
  color: var(--white);
}

.trailer-section::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background-image:
    linear-gradient(rgb(239 213 142 / 3%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(239 213 142 / 3%) 1px, transparent 1px);
  background-size: 72px 72px;
  content: "";
  mask-image: linear-gradient(90deg, transparent, #000 35%, #000 80%, transparent);
}

.trailer-glow {
  position: absolute;
  z-index: -1;
  top: 12%;
  left: -12%;
  width: 48vw;
  height: 76%;
  transform: rotate(-9deg);
  border-radius: 50%;
  background: rgb(125 48 35 / 20%);
  filter: blur(70px);
}

.trailer-layout {
  display: grid;
  grid-template-columns: minmax(250px, 0.62fr) minmax(0, 1.38fr);
  align-items: center;
  gap: clamp(46px, 7vw, 100px);
}

.trailer-copy .section-index {
  color: var(--gold);
}

.trailer-label {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 6px 11px;
  border: 1px solid var(--vermilion-bright);
  color: #ef8a73;
  font-family: var(--font-sans);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.trailer-copy h2 {
  margin: 0;
  font-size: clamp(2.8rem, 5.7vw, 5.5rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.25;
}

html[lang="en"] .trailer-copy h2 {
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.trailer-copy > p:not(.section-index, .trailer-label) {
  margin: 30px 0 28px;
  color: rgb(255 250 240 / 68%);
  font-size: 0.96rem;
  line-height: 2;
}

.trailer-frame-wrap {
  min-width: 0;
}

.trailer-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgb(239 213 142 / 50%);
  background: #000;
  box-shadow:
    16px 18px 0 rgb(196 161 93 / 12%),
    0 30px 80px rgb(0 0 0 / 45%);
}

.trailer-frame::after {
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(239 213 142 / 18%);
  content: "";
  pointer-events: none;
}

.trailer-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.trailer-caption {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 16px 0 0;
  color: rgb(255 250 240 / 42%);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.ink-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 20%, rgb(50 64 83 / 34%), transparent 36%),
    #11110e;
  color: var(--white);
}

.characters-section {
  padding: clamp(100px, 12vw, 170px) 0;
}

.ink-flow {
  position: absolute;
  top: 48%;
  left: 50%;
  width: 120vw;
  height: 220px;
  transform: translate(-50%, -50%) rotate(-5deg);
  border-radius: 50%;
  background: linear-gradient(90deg, transparent, rgb(34 54 82 / 38%), rgb(117 42 31 / 24%), transparent);
  filter: blur(38px);
}

.section-heading {
  position: relative;
}

.section-heading.centered {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.section-heading.centered .section-index {
  color: var(--gold);
}

.section-heading > p:last-child {
  max-width: 680px;
  margin: 26px auto 0;
  color: rgb(255 250 240 / 70%);
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.character-pair {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 7vw, 90px);
  margin-top: 80px;
}

.character-card {
  position: relative;
  min-width: 0;
  padding: 44px 38px 38px;
  border: 1px solid rgb(239 213 142 / 25%);
  background: rgb(255 255 255 / 3%);
}

.character-card::before {
  position: absolute;
  inset: 8px;
  border: 1px solid rgb(239 213 142 / 10%);
  content: "";
  pointer-events: none;
}

.character-art {
  aspect-ratio: 1;
  margin: -44px -38px 0;
  overflow: hidden;
  border-bottom: 1px solid rgb(239 213 142 / 25%);
  background: var(--paper-deep);
}

.character-art picture,
.character-art img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
}

.character-kochi .character-art img {
  width: 100%;
}

.character-copy {
  position: relative;
  margin-top: 26px;
}

.character-number {
  margin: 0;
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.character-copy h3 {
  margin: 4px 0 14px;
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 500;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.character-copy > p:last-child {
  margin: 0;
  color: rgb(255 250 240 / 68%);
  line-height: 2;
}

.pair-mark {
  position: absolute;
  z-index: 3;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  transform: translate(-50%, -50%);
  border: 1px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-bright);
  font-size: 1.4rem;
  box-shadow: 0 0 0 9px var(--ink);
}

.play-section {
  padding: clamp(100px, 12vw, 180px) 0;
}

.play-section .section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: end;
}

.play-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: stretch;
  gap: clamp(45px, 8vw, 110px);
  margin-top: 70px;
}

.play-steps {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.play-steps article {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  padding: 30px 0;
  border-bottom: 1px solid rgb(62 49 33 / 22%);
}

.play-steps article:first-child {
  border-top: 1px solid rgb(62 49 33 / 22%);
}

.step-number {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid var(--vermilion);
  border-radius: 50%;
  color: var(--vermilion);
  font-size: 1.2rem;
}

.play-steps h3 {
  margin: 0 0 7px;
  font-size: 1.32rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.play-steps p {
  margin: 0;
  color: #5b5144;
  font-size: 0.93rem;
  line-height: 1.9;
}

.play-canvas {
  position: relative;
  min-height: 0;
  margin: 0;
  padding: 10px;
  overflow: hidden;
  border: 10px solid #b6955e;
  outline: 1px solid #6b5330;
  background: url("../images/awai-kochi/parchment-bg.webp") center / cover;
  box-shadow: var(--shadow);
}

.play-canvas::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 1px solid rgb(107 83 48 / 45%);
  content: "";
  pointer-events: none;
}

.play-canvas picture,
.play-canvas img {
  display: block;
  width: 100%;
  height: auto;
}

.play-canvas figcaption {
  padding: 15px 8px 6px;
  color: #5b5144;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-align: center;
}

.brush-line {
  position: absolute;
  top: 14%;
  left: 43%;
  width: 15%;
  height: 72%;
  border: 9px solid var(--ink);
  border-right: 0;
  border-bottom-color: transparent;
  border-radius: 55% 10% 40% 50%;
  transform: rotate(10deg);
  opacity: 0.88;
  filter: url("#none");
}

.brush-line::after {
  position: absolute;
  right: -30px;
  bottom: -5px;
  width: 70px;
  height: 12px;
  transform: rotate(-18deg);
  border-radius: 50%;
  background: var(--ink);
  content: "";
}

.play-awai,
.play-kochi {
  position: absolute;
  z-index: 2;
  width: 35%;
  filter: drop-shadow(0 12px 14px rgb(35 25 12 / 20%));
}

.play-awai { right: 3%; bottom: 12%; }
.play-kochi { top: 8%; left: 4%; }

.return-light {
  position: absolute;
  width: 76px;
  height: 76px;
  border: 2px solid currentColor;
  border-radius: 50%;
  box-shadow: 0 0 36px currentColor, inset 0 0 24px currentColor;
  opacity: 0.7;
}

.light-indigo { right: 12%; top: 16%; color: var(--indigo-bright); }
.light-vermilion { left: 14%; bottom: 15%; color: var(--vermilion-bright); }

.development-section {
  position: relative;
  display: grid;
  min-height: 900px;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  color: var(--white);
}

.development-art,
.development-shade {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.development-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.65;
}

.development-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgb(13 13 10 / 95%) 0%, rgb(13 13 10 / 82%) 43%, rgb(13 13 10 / 22%) 78%),
    linear-gradient(0deg, rgb(13 13 10 / 78%), transparent 40%);
}

.development-content {
  align-self: center;
  padding-block: 120px;
}

.development-content .section-index {
  color: var(--gold);
}

.chapter-stamp {
  display: inline-flex;
  margin: 0 0 24px;
  padding: 7px 13px;
  border: 1px solid var(--vermilion-bright);
  color: #f18a73;
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.development-content h2 {
  max-width: 700px;
}

.development-copy {
  max-width: 650px;
  margin-top: 36px;
  color: rgb(255 250 240 / 75%);
  font-size: 1.02rem;
  line-height: 2.05;
}

.development-copy p + p {
  margin-top: 1.2em;
}

.development-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  max-width: 760px;
  margin: 50px 0 0;
  border-top: 1px solid rgb(239 213 142 / 28%);
  border-bottom: 1px solid rgb(239 213 142 / 28%);
}

.development-facts div {
  padding: 18px 22px;
  border-right: 1px solid rgb(239 213 142 / 20%);
}

.development-facts div:last-child { border-right: 0; }

.development-facts dt {
  color: var(--gold);
  font-family: var(--font-sans);
  font-size: 0.63rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.development-facts dd {
  margin: 5px 0 0;
  color: var(--white);
  font-size: 0.85rem;
}

.lineup-preview {
  padding: clamp(100px, 11vw, 160px) 0;
}

.lineup-heading {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.lineup-heading h2 {
  font-size: clamp(2.2rem, 4.4vw, 4.2rem);
}

.mini-lineup {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 64px;
}

.mini-game {
  position: relative;
  display: grid;
  grid-template-columns: minmax(180px, 42%) 1fr;
  min-height: 350px;
  overflow: hidden;
  border: 1px solid rgb(67 53 34 / 28%);
  background: rgb(255 250 240 / 52%);
  box-shadow: 0 18px 50px rgb(66 49 25 / 10%);
}

.mini-game > img,
.mini-game > picture,
.mini-game > picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mini-game > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 32px 26px;
}

.mini-game h3 {
  margin: 16px 0 0;
  font-size: clamp(1.5rem, 2.4vw, 2.3rem);
  font-weight: 600;
  line-height: 1.45;
}

.status-tag {
  display: inline-flex;
  padding: 5px 10px;
  border: 1px solid var(--vermilion);
  color: var(--vermilion);
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.status-live {
  border-color: #21786f;
  color: #17665f;
}

.contact-section {
  padding: clamp(90px, 10vw, 150px) 0;
  background:
    radial-gradient(circle at 12% 20%, rgb(55 75 101 / 40%), transparent 32%),
    var(--ink);
  color: var(--white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  align-items: start;
  gap: clamp(45px, 8vw, 110px);
}

.contact-copy {
  position: sticky;
  top: 40px;
}

.contact-copy .section-index { color: var(--gold); }
.contact-copy h2 { font-size: clamp(2.2rem, 4.5vw, 4.3rem); }
.contact-copy > p { color: rgb(255 250 240 / 68%); }

.form-frame {
  overflow: hidden;
  border: 1px solid rgb(239 213 142 / 32%);
  background: var(--paper-light);
  box-shadow: 12px 12px 0 rgb(196 161 93 / 18%);
}

.form-frame iframe {
  display: block;
  width: 100%;
  min-height: 1050px;
  border: 0;
  background: var(--paper-light);
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr auto;
  align-items: center;
  gap: 36px;
  padding: 34px max(24px, calc((100vw - 1380px) / 2));
  border-top: 1px solid rgb(239 213 142 / 17%);
  background: #0d0d0a;
  color: rgb(255 250 240 / 62%);
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
}

.footer-brand img {
  width: 100%;
  height: auto;
  opacity: 0.88;
}

.footer-nav {
  display: flex;
  justify-content: flex-end;
  gap: 26px;
}

.footer-nav a:hover { color: var(--gold-bright); }
.site-footer > p { margin: 0; white-space: nowrap; }

/* Games catalog */
.games-page {
  background: var(--paper-light);
}

.games-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(90px, 12vw, 170px) 0 clamp(80px, 10vw, 135px);
  background:
    linear-gradient(90deg, rgb(13 13 10 / 94%), rgb(13 13 10 / 68%)),
    url("../images/awai-kochi/prologue-scroll.webp") center 52% / cover;
  color: var(--white);
}

.games-hero::after {
  position: absolute;
  right: -8vw;
  bottom: -14vw;
  width: 48vw;
  height: 20vw;
  transform: rotate(-10deg);
  border-radius: 50%;
  background: rgb(35 57 88 / 34%);
  content: "";
  filter: blur(50px);
}

.games-hero-inner { position: relative; z-index: 1; }
.games-hero .section-index { color: var(--gold); }
.games-hero h1 { font-size: clamp(3.6rem, 9vw, 8rem); }
.games-hero p:last-child { margin: 20px 0 0; color: rgb(255 250 240 / 70%); font-size: 1.05rem; }

.catalog-section {
  padding: clamp(90px, 11vw, 160px) 0;
}

.catalog-list {
  position: relative;
  display: grid;
  gap: clamp(70px, 10vw, 130px);
}

.catalog-card {
  display: grid;
  grid-template-columns: minmax(300px, 0.86fr) minmax(0, 1.14fr);
  align-items: stretch;
  min-height: 650px;
  border: 1px solid rgb(63 48 29 / 26%);
  background: rgb(255 250 240 / 60%);
  box-shadow: var(--shadow);
}

.catalog-card:nth-child(even) {
  grid-template-columns: minmax(0, 1.14fr) minmax(300px, 0.86fr);
}

.catalog-card:nth-child(even) .catalog-media { order: 2; }

.catalog-media {
  position: relative;
  min-height: 620px;
  overflow: hidden;
  background: var(--ink);
}

.catalog-media::after {
  position: absolute;
  inset: 0;
  border: 1px solid rgb(239 213 142 / 25%);
  content: "";
  pointer-events: none;
}

.catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.catalog-media:hover img { transform: scale(1.035); }
.catalog-imori .catalog-media img { object-position: center; }

.catalog-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  padding: clamp(38px, 6vw, 82px);
}

.catalog-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 0.7rem;
  font-weight: 800;
}

.catalog-kicker {
  margin: 0 0 12px;
  color: var(--indigo);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.17em;
}

.catalog-copy h2 {
  margin: 0;
  font-size: clamp(2.4rem, 4.7vw, 4.6rem);
  font-weight: 500;
  letter-spacing: 0.04em;
  line-height: 1.28;
}

html[lang="en"] .catalog-copy h2 { letter-spacing: -0.02em; line-height: 1.03; }

.catalog-copy > p:not(.catalog-kicker) {
  margin: 28px 0 0;
  color: #564c3f;
  line-height: 2;
}

.catalog-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 28px 0 34px;
  padding: 0;
  list-style: none;
}

.catalog-features li {
  padding: 6px 10px;
  border: 1px solid rgb(36 58 89 / 32%);
  color: var(--indigo);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
}

.catalog-contact {
  padding: 70px 0;
  background: var(--ink);
  color: var(--white);
}

.catalog-contact .section-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.catalog-contact p { margin: 0; font-size: clamp(1.2rem, 2.2vw, 1.8rem); }

/* Reveal motion */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 700ms ease, transform 800ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1024px) {
  :root { --shell: min(100% - 40px, 920px); }

  .site-header { grid-template-columns: 190px 1fr auto; gap: 20px; }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: 0.7rem; }

  .hero-art { width: 64vw; }
  .hero-content { width: 56vw; margin-left: 32px; }

  .story-grid { grid-template-columns: 0.9fr 1.1fr; gap: 50px; }
  .trailer-layout { grid-template-columns: 0.7fr 1.3fr; gap: 42px; }
  .play-layout { gap: 50px; }
  .play-canvas { min-height: 560px; }

  .mini-lineup { grid-template-columns: 1fr; }
  .mini-game { min-height: 320px; }

  .contact-grid { grid-template-columns: 1fr; }
  .contact-copy { position: static; max-width: 720px; }

  .catalog-card,
  .catalog-card:nth-child(even) { grid-template-columns: 0.84fr 1.16fr; }
  .catalog-card:nth-child(even) .catalog-media { order: 0; }
  .catalog-copy { padding: 46px; }
}

@media (max-width: 780px) {
  :root { --shell: calc(100% - 30px); }

  .site-header {
    grid-template-columns: minmax(120px, 170px) 1fr auto;
    min-height: 76px;
    padding: 14px 16px;
  }

  .brand { width: 160px; }
  .site-nav { display: none; }
  .language-switcher { grid-column: 3; }

  .awai-hero { min-height: 780px; }
  .hero-art { width: 100%; opacity: 0.72; }
  .hero-art img { object-position: 52% 50%; }
  .hero-art::after {
    background: linear-gradient(180deg, rgb(13 13 10 / 44%) 0%, rgb(13 13 10 / 18%) 35%, rgb(13 13 10 / 88%) 78%, #0d0d0a 100%);
  }
  .hero-ink { background: linear-gradient(90deg, rgb(13 13 10 / 48%), transparent 70%); }
  .hero-content {
    align-self: end;
    width: auto;
    margin: 0;
    padding: 120px 22px 92px;
  }
  .development-seal { margin-bottom: 14px; }
  .hero-kicker { font-size: 0.58rem; letter-spacing: 0.13em; }
  .title-calligraphy { width: min(100%, 580px); }
  .hero-tagline { margin-top: 16px; font-size: clamp(1.25rem, 6vw, 1.8rem); }
  html[lang="en"] .hero-tagline { font-size: clamp(1.45rem, 7vw, 2.1rem); }
  .hero-actions { flex-wrap: wrap; gap: 20px; margin-top: 26px; }
  .scroll-cue { display: none; }

  .story-grid,
  .trailer-layout,
  .character-pair,
  .play-layout,
  .play-section .section-heading,
  .development-facts,
  .catalog-card,
  .catalog-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .story-grid { gap: 54px; }
  .trailer-layout { gap: 46px; }
  .trailer-copy { max-width: 680px; }
  .story-art { width: min(100%, 590px); margin-inline: auto; transform: rotate(0.5deg); }
  .section-copy h2,
  .section-heading h2,
  .development-content h2,
  .contact-copy h2 { font-size: clamp(2.2rem, 10vw, 3.8rem); }

  .character-pair { gap: 36px; margin-top: 54px; }
  .pair-mark { top: 50%; width: 54px; height: 54px; }
  .character-card { padding: 32px 24px; }
  .character-art { margin: -32px -24px 0; }

  .play-layout { margin-top: 45px; }
  .play-canvas { min-height: 0; order: -1; }

  .development-section { min-height: 980px; }
  .development-art img { object-position: 45% center; }
  .development-shade {
    background: linear-gradient(180deg, rgb(13 13 10 / 55%), rgb(13 13 10 / 94%) 58%, #0d0d0a 100%);
  }
  .development-content { align-self: end; padding-block: 300px 90px; }
  .development-facts { display: grid; }
  .development-facts div { border-right: 0; border-bottom: 1px solid rgb(239 213 142 / 20%); }
  .development-facts div:last-child { border-bottom: 0; }

  .lineup-heading { align-items: flex-start; flex-direction: column; }
  .mini-game { grid-template-columns: 42% 1fr; min-height: 300px; }

  .form-frame iframe { min-height: 1100px; }

  .site-footer { grid-template-columns: 170px 1fr; gap: 24px; }
  .footer-nav { grid-column: 1 / -1; grid-row: 2; justify-content: flex-start; flex-wrap: wrap; }
  .site-footer > p { justify-self: end; }

  .catalog-card { min-height: 0; }
  .catalog-media { min-height: 620px; }
  .catalog-copy { padding: 42px 28px 50px; }
  .catalog-card:nth-child(even) .catalog-media { order: 0; }

  .catalog-contact .section-shell { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 480px) {
  .site-header { grid-template-columns: minmax(110px, 145px) 1fr auto; }
  .brand { width: 142px; }
  .language-button { min-width: 26px; padding-inline: 2px; }

  .awai-hero { min-height: 720px; }
  .hero-content { padding-inline: 17px; padding-bottom: 56px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .button { width: 100%; }

  .story-section,
  .trailer-section,
  .characters-section,
  .play-section,
  .lineup-preview { padding-block: 84px; }

  .section-copy h2,
  .section-heading h2,
  .lineup-heading h2,
  .development-content h2,
  .contact-copy h2 { font-size: clamp(2rem, 11vw, 3rem); }

  .story-prose { line-height: 1.95; }
  .section-copy blockquote { padding-left: 18px; }

  .character-art { margin-bottom: 0; }
  .character-copy h3 { font-size: 2.4rem; }
  .pair-mark { display: none; }

  .play-steps article { grid-template-columns: 48px 1fr; gap: 14px; }
  .step-number { width: 42px; height: 42px; }
  .play-canvas { min-height: 0; border-width: 7px; }
  .return-light { width: 55px; height: 55px; }

  .development-content { padding-top: 260px; }
  .development-copy { font-size: 0.94rem; line-height: 1.95; }

  .mini-game { grid-template-columns: 1fr; }
  .mini-game > img,
  .mini-game > picture { height: 280px; }
  .mini-game > div { padding: 24px 20px; }

  .contact-section { padding-block: 80px; }
  .form-frame { margin-inline: -7px; }

  .site-footer { grid-template-columns: 1fr; }
  .footer-brand { width: 170px; }
  .footer-nav { grid-column: 1; grid-row: auto; flex-direction: column; gap: 10px; }
  .site-footer > p { justify-self: start; }

  .games-hero { padding-block: 84px 74px; }
  .games-hero h1 { font-size: 3.6rem; }
  .catalog-section { padding-block: 70px; }
  .catalog-list { gap: 58px; }
  .catalog-media { min-height: 520px; }
  .catalog-copy h2 { font-size: 2.5rem; }
}

/* Keep intentional Japanese line breaks intact in desktop two-column layouts. */
@media (min-width: 769px) {
  .story-section .section-copy h2,
  .trailer-copy h2 {
    font-size: clamp(2.4rem, 3.5vw, 3.35rem);
    letter-spacing: 0.035em;
  }

  .story-section .section-copy h2 > [data-lang="ja"],
  .trailer-copy h2 > [data-lang="ja"] {
    white-space: nowrap;
  }
}

/* The Imori vs Yamori key art is landscape; show the complete artwork. */
.catalog-card.catalog-imori .catalog-media {
  background: #0b1012;
}

.catalog-card.catalog-imori .catalog-media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.catalog-card.catalog-imori .catalog-media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* The same landscape artwork also appears in the home-page lineup. */
.lineup-preview img[src*="imori-vs-yamori-cover"] {
  object-fit: contain;
  object-position: center;
  background: #0b1012;
}

@media (min-width: 769px) {
  .contact-copy h2 {
    font-size: clamp(2.25rem, 3vw, 2.8rem);
    letter-spacing: 0.02em;
  }

  .contact-copy h2 > [data-lang="ja"] {
    white-space: nowrap;
  }
}

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