:root {
  --ink: #09080b;
  --ink-soft: #151117;
  --paper: #f5f0e9;
  --paper-deep: #e9e0d5;
  --white: #fffdfa;
  --pink: #ff006e;
  --pink-hot: #ff2b91;
  --pink-dark: #a9004d;
  --violet: #27102f;
  --muted: #8d858d;
  --line-dark: rgba(255, 255, 255, 0.14);
  --line-light: rgba(9, 8, 11, 0.16);
  --max: 1440px;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink);
  color: var(--white);
  font-family: var(--sans);
  overflow-x: hidden;
}

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

a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
img { max-width: 100%; }
[hidden] { display: none !important; }
html.age-gate-open { overflow: hidden; }

:focus-visible {
  outline: 3px solid var(--pink-hot);
  outline-offset: 4px;
}

.site-shell { min-height: 100vh; background: var(--ink); }

.topline {
  min-height: 34px;
  padding: 0 38px;
  background: var(--pink);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.topline p { margin: 0; }
.topline__meta { display: flex; align-items: center; gap: 24px; }
.topline__meta span + span::before { content: "✦"; margin-right: 24px; font-size: 7px; }

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: 78px;
  padding: 0 38px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid var(--line-dark);
  background: rgba(9, 8, 11, 0.86);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; width: fit-content; }
.brand__official-logo { width: 158px; height: 66px; object-fit: contain; object-position: left center; }

.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  color: rgba(255,255,255,.72);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.nav-links a:hover { color: white; }

.nav-cta {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--pink-hot);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.button-arrow { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.7; transition: transform .25s ease; }
a:hover .button-arrow { transform: translateX(4px); }

.hero {
  position: relative;
  width: min(100%, var(--max));
  min-height: calc(100vh - 112px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  left: 5%;
  top: 9%;
  width: 46%;
  height: 64%;
  background: radial-gradient(circle, rgba(255,0,110,.12), transparent 68%);
  filter: blur(30px);
  pointer-events: none;
}

.hero__copy {
  position: relative;
  z-index: 2;
  padding: 70px 34px 56px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--line-dark);
}

.eyebrow {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--pink-hot);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.eyebrow > span { width: 26px; height: 2px; background: currentColor; }
.eyebrow--light { color: #ff8dbe; }
.eyebrow--center { justify-content: center; }

.hero__brand-art {
  position: relative;
  width: 230px;
  height: 130px;
  margin: 20px 0 -10px -18px;
}
.hero__brand-art img { object-fit: contain; width: 100%; height: 100%; }

.hero h1 {
  max-width: 660px;
  margin: 20px 0 24px;
  font-family: var(--serif);
  font-size: clamp(52px, 5.3vw, 82px);
  font-weight: 500;
  line-height: .92;
  letter-spacing: -.055em;
}

.hero h1 em, .studio h2 em { color: var(--pink-hot); font-weight: 500; }

.hero__lede {
  max-width: 610px;
  margin: 0;
  color: rgba(255,255,255,.66);
  font-family: var(--serif);
  font-size: 19px;
  line-height: 1.65;
}

.hero__actions { margin-top: 34px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }

.button {
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .11em;
  text-transform: uppercase;
  transition: transform .22s ease, background .22s ease, color .22s ease;
}
.button:hover { transform: translateY(-2px); }
.button--primary { background: var(--pink); color: white; box-shadow: 8px 8px 0 rgba(255,0,110,.16); }
.button--primary:hover { background: var(--pink-hot); }
.button--white { background: var(--white); color: var(--ink); }
.button--white:hover { background: var(--pink); color: white; }

.text-link {
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255,255,255,.3);
  color: rgba(255,255,255,.82);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.text-link span { color: var(--pink-hot); margin-left: 8px; }

.hero__proof { margin: 44px 0 0; display: flex; gap: 0; }
.hero__proof div { min-width: 124px; padding: 0 22px; border-left: 1px solid var(--line-dark); }
.hero__proof div:first-child { padding-left: 0; border-left: 0; }
.hero__proof dt { color: white; font-family: var(--serif); font-size: 18px; }
.hero__proof dd { margin: 5px 0 0; color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.hero__visual { position: relative; min-height: 720px; padding: 38px 38px 54px; }
.hero__frame { position: absolute; inset: 38px 38px 54px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); }
.hero__frame::before {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  border: 12px solid rgba(9,8,11,.55);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.12);
  pointer-events: none;
}
.hero__frame img { width: 100%; height: 100%; display: block; object-fit: cover; object-position: 63% center; filter: saturate(1.28) hue-rotate(-10deg) contrast(1.07); }
.hero__image-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(9,8,11,.56) 0%, transparent 34%, transparent 78%, rgba(9,8,11,.35) 100%), linear-gradient(0deg, rgba(9,8,11,.72), transparent 36%); }
.hero__stamp {
  position: absolute;
  z-index: 4;
  right: 18px;
  top: 50%;
  width: 114px;
  min-height: 114px;
  padding: 17px;
  background: var(--pink);
  color: white;
  transform: translateY(-50%) rotate(4deg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 10px 10px 0 rgba(0,0,0,.28);
}
.hero__stamp span { font-family: var(--serif); font-size: 34px; line-height: 1; }
.hero__stamp p { margin: 12px 0 0; font-size: 8px; font-weight: 900; letter-spacing: .08em; line-height: 1.5; text-transform: uppercase; }
.hero__caption { position: absolute; left: 38px; right: 38px; bottom: 25px; margin: 0; display: flex; justify-content: space-between; color: rgba(255,255,255,.44); font-size: 8px; font-weight: 800; letter-spacing: .15em; }

.ribbon { overflow: hidden; border-top: 1px solid rgba(0,0,0,.25); border-bottom: 1px solid rgba(0,0,0,.25); background: var(--pink); color: var(--ink); transform: rotate(-.8deg) scale(1.02); }
.ribbon__track { width: max-content; min-height: 52px; display: flex; align-items: center; gap: 28px; animation: marquee 26s linear infinite; }
.ribbon span { font-family: var(--serif); font-size: 19px; font-style: italic; font-weight: 700; }
.ribbon i { width: 8px; height: 8px; background: var(--ink); transform: rotate(45deg); }

@keyframes marquee { to { transform: translateX(-35%); } }

.section { position: relative; padding: 90px max(36px, calc((100vw - var(--max)) / 2 + 58px)); }
.section-label { margin-bottom: 76px; padding-bottom: 12px; border-bottom: 1px solid var(--line-light); display: flex; justify-content: space-between; color: rgba(9,8,11,.54); font-size: 9px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.section-label--light { border-color: var(--line-dark); color: rgba(255,255,255,.48); }

.game { overflow: hidden; background: #0c080e; color: var(--white); }
.game::before {
  content: "";
  position: absolute;
  width: 780px;
  height: 190px;
  right: -170px;
  top: 18%;
  background: var(--pink);
  opacity: .09;
  transform: rotate(-12deg);
  filter: blur(1px);
}
.game__layout { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 80px; align-items: center; }
.game__identity { position: relative; min-height: 470px; padding: 60px 30px; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.game__identity::before, .game__identity::after { content: ""; position: absolute; width: 84%; height: 1px; left: 8%; background: linear-gradient(90deg, transparent, rgba(255,255,255,.2), transparent); }
.game__identity::before { top: 6%; }
.game__identity::after { bottom: 6%; }
.game__moon { position: absolute; width: 390px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 45% 45%, #ff7cb5 0, var(--pink) 36%, #69002f 68%, transparent 70%); opacity: .35; filter: blur(4px); }
.game__identity > img { position: relative; z-index: 2; width: min(100%, 760px); height: auto; filter: drop-shadow(0 24px 34px rgba(0,0,0,.6)); }
.game__genre { position: relative; z-index: 2; margin: 26px 0 0; color: rgba(255,255,255,.7); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.game__genre span { color: var(--pink); margin: 0 9px; }
.game__pitch h2 { margin: 18px 0 22px; max-width: 540px; font-family: var(--serif); font-size: clamp(48px, 5vw, 74px); font-weight: 500; line-height: .98; letter-spacing: -.05em; }
.game__lead { max-width: 560px; margin: 0; color: rgba(255,255,255,.64); font-family: var(--serif); font-size: 19px; line-height: 1.7; }
.game__features { margin: 34px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line-dark); }
.game__features li { min-height: 58px; padding: 14px 0; border-bottom: 1px solid var(--line-dark); display: grid; grid-template-columns: 110px 1fr; align-items: center; gap: 18px; }
.game__features strong { color: var(--pink-hot); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; }
.game__features span { color: rgba(255,255,255,.7); font-size: 13px; }
.game__actions { margin-top: 30px; display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.game__actions p { margin: 0; color: rgba(255,255,255,.42); font-size: 9px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.storefronts { margin-top: 42px; padding-top: 20px; border-top: 1px solid var(--line-dark); }
.storefronts__heading { margin-bottom: 14px; display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.storefronts__heading p { margin: 0; color: white; font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.storefronts__heading > span { color: rgba(255,255,255,.38); font-size: 8px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.storefronts__grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
.storefront {
  min-height: 66px;
  padding: 9px 11px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.035);
  display: grid;
  grid-template-columns: 72px 1fr 18px;
  align-items: center;
  gap: 12px;
  transition: border-color .2s ease, background .2s ease, transform .2s ease;
}
.storefront:hover { border-color: var(--pink); background: rgba(255,0,110,.08); transform: translateY(-2px); }
.storefront__logo { height: 42px; padding: 7px; border: 1px solid rgba(255,255,255,.11); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.storefront__logo img { width: 100%; height: 100%; object-fit: contain; }
.storefront--fanza .storefront__logo, .storefront--nutaku .storefront__logo { background: white; }
.storefront--dlsite .storefront__logo { background: white; }
.storefront--dlsite .storefront__logo b { color: #25376c; font-size: 16px; letter-spacing: -.08em; }
.storefront--dlsite .storefront__logo b > span { color: #2465ae; }
.storefront__copy { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.storefront__copy strong { color: white; font-size: 11px; }
.storefront__copy small { color: rgba(255,255,255,.4); font-size: 7px; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.storefronts__note { margin: 12px 0 0; color: rgba(255,255,255,.32); font-size: 8px; line-height: 1.5; }

.manifesto { background: var(--paper); color: var(--ink); }
.manifesto__brand-logo { width: 220px; height: 120px; margin: -34px 0 22px -14px; }
.manifesto__brand-logo img { width: 100%; height: 100%; object-fit: contain; }
.manifesto__intro { max-width: 870px; display: grid; grid-template-columns: 1.35fr .65fr; column-gap: 70px; align-items: end; }
.manifesto__intro .eyebrow { grid-column: 1 / -1; margin-bottom: 18px; }
.manifesto__intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(52px, 5.7vw, 84px); font-weight: 500; line-height: .95; letter-spacing: -.055em; }
.manifesto__intro > p:last-child { margin: 0 0 6px; color: rgba(9,8,11,.64); font-family: var(--serif); font-size: 17px; line-height: 1.65; }
.pillar-grid { margin-top: 78px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); }
.pillar { min-height: 330px; padding: 25px 28px 32px; border-left: 1px solid var(--line-light); display: flex; flex-direction: column; }
.pillar:first-child { border-left: 0; }
.pillar__number { color: rgba(9,8,11,.42); font-size: 9px; font-weight: 900; letter-spacing: .13em; }
.pillar__glyph { margin: 38px 0 auto; color: var(--pink); font-size: 29px; }
.pillar h3 { margin: 0 0 14px; font-family: var(--serif); font-size: 25px; font-weight: 600; line-height: 1.08; }
.pillar p { margin: 0; color: rgba(9,8,11,.62); font-size: 13px; line-height: 1.7; }

.studio { background: #171019; color: var(--white); }
.studio .section-label { border-color: var(--line-dark); color: rgba(255,255,255,.46); }
.studio__layout { display: grid; grid-template-columns: 1fr 1fr; gap: 120px; }
.studio__headline h2 { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(52px, 5.4vw, 78px); font-weight: 500; line-height: .98; letter-spacing: -.055em; }
.studio__copy { padding-top: 26px; }
.studio__copy > p { max-width: 590px; color: rgba(255,255,255,.55); font-size: 14px; line-height: 1.85; }
.studio__copy .studio__lead { margin-top: 0; color: rgba(255,255,255,.88); font-family: var(--serif); font-size: 21px; line-height: 1.6; }
.studio__note { margin-top: 36px; padding: 22px; border: 1px solid rgba(255,0,110,.35); background: rgba(255,0,110,.05); display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: center; }
.studio__note img { border-radius: 8px; }
.studio__note p { margin: 0; color: rgba(255,255,255,.63); font-size: 12px; line-height: 1.65; }
.studio__note strong { color: var(--pink-hot); }

.faq { background: var(--paper); color: var(--ink); display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.faq__header h2 { margin: 18px 0 0; max-width: 480px; font-family: var(--serif); font-size: clamp(45px, 4.6vw, 67px); font-weight: 500; line-height: 1; letter-spacing: -.05em; }
.faq__list { border-top: 1px solid var(--line-light); }
.faq details { border-bottom: 1px solid var(--line-light); }
.faq summary { min-height: 82px; display: grid; grid-template-columns: 42px 1fr 24px; gap: 15px; align-items: center; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary > span { color: var(--pink-dark); font-size: 9px; font-weight: 900; }
.faq summary strong { font-family: var(--serif); font-size: 18px; font-weight: 600; }
.faq summary i { color: var(--pink); font-size: 23px; font-style: normal; font-weight: 300; transition: transform .2s ease; }
.faq details[open] summary i { transform: rotate(45deg); }
.faq details > p { margin: -4px 36px 24px 57px; color: rgba(9,8,11,.62); font-size: 13px; line-height: 1.7; }

.final-cta { position: relative; min-height: 500px; padding: 105px 24px; overflow: hidden; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: var(--ink); }
.final-cta::before { content: "M"; position: absolute; left: 50%; top: 50%; color: transparent; -webkit-text-stroke: 1px rgba(255,0,110,.16); font-family: var(--serif); font-size: 520px; line-height: .6; transform: translate(-50%,-50%) skew(-8deg); }
.final-cta__slash { position: absolute; width: 140%; height: 46px; background: var(--pink); opacity: .12; transform: rotate(-8deg); }
.final-cta > * { position: relative; z-index: 2; }
.final-cta h2 { margin: 20px 0 18px; font-family: var(--serif); font-size: clamp(54px, 7vw, 96px); font-weight: 500; line-height: .95; letter-spacing: -.06em; }
.final-cta > p:not(.eyebrow) { max-width: 580px; margin: 0 0 30px; color: rgba(255,255,255,.6); font-family: var(--serif); font-size: 18px; line-height: 1.6; }

.footer { padding: 70px max(36px, calc((100vw - var(--max)) / 2 + 58px)) 24px; border-top: 1px solid var(--line-dark); background: #050406; }
.footer { display: grid; grid-template-columns: .8fr 1.2fr; gap: 80px; }
.brand--footer { margin-bottom: 18px; }
.brand--footer .brand__official-logo { width: 220px; height: 124px; }
.footer__brand > p { max-width: 280px; margin: 0; color: rgba(255,255,255,.44); font-family: var(--serif); font-style: italic; }
.footer__links { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px; }
.footer__links div { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer__links span { margin-bottom: 6px; color: var(--pink); font-size: 9px; font-weight: 900; letter-spacing: .15em; text-transform: uppercase; }
.footer__links a { color: rgba(255,255,255,.61); font-size: 12px; }
.footer__links a:hover { color: white; }
.footer__bottom { grid-column: 1 / -1; margin-top: 38px; padding-top: 18px; border-top: 1px solid var(--line-dark); display: grid; grid-template-columns: auto auto 1fr; gap: 20px; color: rgba(255,255,255,.32); font-size: 8px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.footer__bottom p { margin: 0; }
.footer__trademarks { max-width: 540px; justify-self: end; text-align: right; line-height: 1.55; }
.footer__admin { grid-column: 1 / -1; margin: 22px 0 0; padding: 16px 18px; border: 1px solid rgba(255,0,110,.22); background: rgba(255,0,110,.045); color: rgba(255,255,255,.52); font-size: 10px; line-height: 1.65; }
.footer__admin a { color: var(--pink-hot); text-decoration: underline; text-underline-offset: 3px; }

.age-gate { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 20px; }
.age-gate__backdrop { position: absolute; inset: 0; background: rgba(4,3,5,.92); backdrop-filter: blur(22px); }
.age-gate__panel { position: relative; width: min(100%, 560px); padding: 45px 48px 38px; border: 1px solid rgba(255,255,255,.17); background: #0d0a0f; box-shadow: 0 30px 100px rgba(0,0,0,.7); text-align: center; }
.age-gate__panel::before { content: ""; position: absolute; inset: -1px; border-top: 4px solid var(--pink); pointer-events: none; }
.age-gate__panel > img.age-gate__logo { width: 270px; height: 152px; margin: -20px auto 4px; object-fit: contain; }
.age-gate__panel h2 { margin: 18px 0 16px; font-family: var(--serif); font-size: 42px; font-weight: 500; letter-spacing: -.04em; }
.age-gate__panel > p:not(.eyebrow) { margin: 0 auto; color: rgba(255,255,255,.61); font-size: 13px; line-height: 1.7; }
.age-gate__actions { margin-top: 28px; display: flex; align-items: center; justify-content: center; gap: 22px; flex-wrap: wrap; }
.age-gate__leave { padding-bottom: 5px; border-bottom: 1px solid rgba(255,255,255,.25); color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.age-gate__panel small { display: block; margin-top: 26px; color: rgba(255,255,255,.32); font-size: 9px; }

/* Misakihama Mystery — game detail */
.game-page { min-height: 100vh; background: #08070a; color: var(--white); }
.game-nav {
  position: sticky;
  z-index: 50;
  top: 0;
  min-height: 82px;
  padding: 0 max(28px, calc((100vw - var(--max)) / 2 + 42px));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255,255,255,.12);
  background: rgba(7,6,9,.9);
  backdrop-filter: blur(20px);
}
.game-nav nav { display: flex; align-items: center; gap: 30px; }
.game-nav nav a { color: rgba(255,255,255,.62); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.game-nav nav a:hover { color: white; }

.mm-hero { position: relative; min-height: min(930px, calc(100vh - 82px)); overflow: hidden; display: flex; align-items: center; }
.mm-hero__backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.mm-hero__veil { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,4,7,.98) 0%, rgba(5,4,7,.88) 36%, rgba(5,4,7,.24) 72%, rgba(5,4,7,.44) 100%), linear-gradient(0deg, rgba(5,4,7,.98) 0%, transparent 38%, rgba(5,4,7,.2) 100%); }
.mm-hero__content { position: relative; z-index: 2; width: min(760px, 60vw); margin-left: max(36px, calc((100vw - var(--max)) / 2 + 58px)); padding: 84px 0 150px; }
.mm-hero__logo { width: min(720px, 100%); height: auto; margin: 26px 0 22px; display: block; filter: drop-shadow(0 22px 30px rgba(0,0,0,.66)); }
.mm-hero h1 { max-width: 740px; margin: 0; font-family: var(--serif); font-size: clamp(49px, 5.2vw, 82px); font-weight: 500; line-height: .95; letter-spacing: -.055em; text-wrap: balance; }
.mm-hero__content > p:not(.eyebrow) { max-width: 650px; margin: 24px 0 0; color: rgba(255,255,255,.68); font-family: var(--serif); font-size: 19px; line-height: 1.65; }
.mm-hero__actions { margin-top: 34px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.mm-hero__facts { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; min-height: 112px; padding: 0 max(36px, calc((100vw - var(--max)) / 2 + 58px)); display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.16); background: rgba(5,4,7,.78); backdrop-filter: blur(14px); }
.mm-hero__facts div { padding: 19px 26px; border-left: 1px solid rgba(255,255,255,.12); display: flex; flex-direction: column; justify-content: center; }
.mm-hero__facts div:last-child { border-right: 1px solid rgba(255,255,255,.12); }
.mm-hero__facts strong { color: var(--pink-hot); font-family: var(--serif); font-size: 34px; font-weight: 500; line-height: 1; }
.mm-hero__facts span { margin-top: 8px; color: rgba(255,255,255,.5); font-size: 8px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.mm-section { position: relative; padding: 100px max(36px, calc((100vw - var(--max)) / 2 + 58px)); }
.mm-section__label { margin-bottom: 72px; padding-bottom: 12px; border-bottom: 1px solid currentColor; color: rgba(255,255,255,.38); display: flex; justify-content: space-between; font-size: 8px; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.mm-story { background: var(--paper); color: var(--ink); }
.mm-story .mm-section__label { color: rgba(9,8,11,.35); }
.mm-story__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: start; }
.mm-story h2, .mm-world h2, .mm-characters h2, .mm-features h2, .mm-buy h2 { margin: 18px 0 0; font-family: var(--serif); font-size: clamp(52px, 5.4vw, 82px); font-weight: 500; line-height: .96; letter-spacing: -.055em; text-wrap: balance; }
.mm-story__copy { padding-top: 4px; }
.mm-story__copy p { margin: 0 0 22px; color: rgba(9,8,11,.66); font-family: var(--serif); font-size: 17px; line-height: 1.75; }
.mm-story__copy strong { color: var(--pink-dark); }
.mm-story__quote { margin-top: 72px; padding: 34px 0 0 34%; border-top: 1px solid rgba(9,8,11,.16); color: var(--pink-dark); font-family: var(--serif); font-size: clamp(25px, 3vw, 42px); font-style: italic; line-height: 1.22; }

.mm-world { overflow: hidden; background: #0b080d; }
.mm-world::before { content: "ASTER"; position: absolute; right: -1vw; top: 80px; color: transparent; -webkit-text-stroke: 1px rgba(255,0,110,.12); font-family: var(--serif); font-size: min(24vw, 340px); line-height: .7; pointer-events: none; }
.mm-world__heading { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 110px; align-items: end; }
.mm-world__heading > p { max-width: 520px; margin: 0 0 7px; color: rgba(255,255,255,.55); font-family: var(--serif); font-size: 17px; line-height: 1.7; }
.mm-gallery { position: relative; margin-top: 70px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
.mm-gallery figure { position: relative; aspect-ratio: 16/9; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); background: #100b12; }
.mm-gallery figure.mm-gallery__wide { grid-column: 1 / -1; aspect-ratio: 21/8; }
.mm-gallery img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .7s ease, filter .7s ease; }
.mm-gallery figure:hover img { transform: scale(1.025); filter: saturate(1.12) contrast(1.03); }
.mm-gallery figcaption { position: absolute; z-index: 2; left: 14px; bottom: 13px; padding: 7px 10px; background: rgba(5,4,7,.82); color: white; font-size: 8px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.mm-gallery figcaption span { color: var(--pink-hot); margin-right: 10px; }

.mm-characters { background: #eee7de; color: var(--ink); overflow: hidden; }
.mm-characters .mm-section__label { color: rgba(9,8,11,.35); }
.mm-characters__heading { max-width: 860px; }
.mm-character-grid { margin-top: 66px; display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 12px; }
.mm-character { position: relative; min-height: 570px; margin: 0; overflow: hidden; border: 1px solid rgba(9,8,11,.16); background: linear-gradient(180deg, #fbf8f4 0%, #d8cdd4 100%); }
.mm-character::after { content: ""; position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(0deg, rgba(9,8,11,.96), transparent); pointer-events: none; }
.mm-character__number { position: absolute; z-index: 3; top: 14px; left: 15px; color: var(--pink-dark); font-size: 9px; font-weight: 900; }
.mm-character img { position: absolute; inset: 20px 0 0; width: 100%; height: 92%; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(9,8,11,.24)); transition: transform .45s ease; }
.mm-character:hover img { transform: scale(1.025); }
.mm-character > div { position: absolute; z-index: 4; left: 18px; right: 18px; bottom: 19px; }
.mm-character p { margin: 0 0 7px; color: rgba(255,255,255,.54); font-size: 8px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.mm-character h3 { margin: 0; color: white; font-family: var(--serif); font-size: 25px; font-weight: 500; }

.mm-features { background: #140e16; }
.mm-features__intro { display: grid; grid-template-columns: 1fr .72fr; gap: 100px; align-items: end; }
.mm-features__intro > p { margin: 0 0 8px; color: rgba(255,255,255,.55); font-family: var(--serif); font-size: 17px; line-height: 1.7; }
.mm-feature-grid { margin-top: 74px; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.mm-feature-grid article { min-height: 178px; padding: 26px 28px 30px; border-bottom: 1px solid rgba(255,255,255,.14); display: grid; grid-template-columns: 52px 1fr; column-gap: 16px; align-content: start; }
.mm-feature-grid article:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.14); }
.mm-feature-grid article > span { grid-row: 1 / span 2; color: var(--pink-hot); font-size: 9px; font-weight: 900; }
.mm-feature-grid h3 { margin: 0; font-family: var(--serif); font-size: 23px; font-weight: 500; }
.mm-feature-grid p { margin: 12px 0 0; color: rgba(255,255,255,.5); font-size: 12px; line-height: 1.65; }

.mm-buy { min-height: 660px; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; background: #08070a; }
.mm-buy::before { content: ""; position: absolute; width: 70vw; height: 105px; left: -12vw; top: 44%; background: var(--pink); opacity: .08; transform: rotate(-9deg); }
.mm-buy > * { position: relative; z-index: 2; }
.mm-buy__copy > p:not(.eyebrow) { max-width: 560px; color: rgba(255,255,255,.55); font-family: var(--serif); font-size: 17px; line-height: 1.7; }
.mm-buy .storefronts { margin: 0; padding: 0; border: 0; }
.game-footer { border-top-color: rgba(255,0,110,.28); }

/* Legal pages */
.legal-page { min-height: 100vh; background: var(--paper); color: var(--ink); }
.legal-nav { position: sticky; z-index: 30; top: 0; min-height: 82px; padding: 0 max(28px, calc((100vw - var(--max)) / 2 + 42px)); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid rgba(9,8,11,.12); background: rgba(245,240,233,.94); backdrop-filter: blur(18px); }
.legal-nav .brand__official-logo { content: url("/assets/images/megami-games-logo-dark.webp"); }
.legal-nav > a:last-child { color: var(--pink-dark); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.legal-hero { padding: 95px max(28px, calc((100vw - 980px) / 2)); border-bottom: 1px solid rgba(9,8,11,.14); }
.legal-hero h1 { max-width: 820px; margin: 22px 0 0; font-family: var(--serif); font-size: clamp(54px, 7vw, 92px); font-weight: 500; line-height: .94; letter-spacing: -.055em; }
.legal-hero > p:last-child { max-width: 700px; margin: 25px 0 0; color: rgba(9,8,11,.62); font-family: var(--serif); font-size: 18px; line-height: 1.7; }
.legal-content { padding: 78px max(28px, calc((100vw - 980px) / 2)) 110px; }
.legal-content section { padding: 0 0 38px; margin: 0 0 38px; border-bottom: 1px solid rgba(9,8,11,.13); }
.legal-content h2 { margin: 0 0 18px; font-family: var(--serif); font-size: 31px; font-weight: 600; letter-spacing: -.025em; }
.legal-content p, .legal-content li { color: rgba(9,8,11,.68); font-size: 14px; line-height: 1.8; }
.legal-content strong { color: var(--ink); }
.legal-content a { color: var(--pink-dark); text-decoration: underline; text-underline-offset: 3px; }
.legal-content ul { padding-left: 20px; }
.legal-admin-card { padding: 28px; border: 1px solid rgba(255,0,110,.28); background: rgba(255,0,110,.055); }
.legal-admin-card h2 { color: var(--pink-dark); }
.legal-updated { color: rgba(9,8,11,.42); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

@media (max-width: 1100px) {
  .nav-wrap { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
  .hero { min-height: auto; }
  .hero__copy { padding-left: 38px; }
  .hero__proof div { min-width: 105px; padding: 0 14px; }
  .game__layout { gap: 35px; }
  .studio__layout { gap: 60px; }
  .game-nav { grid-template-columns: 1fr auto; }
  .game-nav nav { display: none; }
  .mm-character-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .mm-story__grid, .mm-world__heading, .mm-features__intro, .mm-buy { gap: 55px; }
}

@media (max-width: 840px) {
  .topline { padding: 0 18px; }
  .topline__meta span:not(:first-child) { display: none; }
  .nav-wrap { min-height: 70px; padding: 0 18px; }
  .nav-cta { font-size: 0; }
  .nav-cta::before { content: "The game"; font-size: 10px; }
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding: 58px 24px 48px; border-right: 0; }
  .hero__brand-art { margin-left: -8px; }
  .hero__proof { overflow-x: auto; }
  .hero__visual { min-height: 620px; }
  .section { padding: 74px 24px; }
  .section-label { margin-bottom: 52px; }
  .game__layout, .studio__layout, .faq { grid-template-columns: 1fr; }
  .game__identity { min-height: 360px; padding: 35px 0; }
  .game__moon { width: 290px; }
  .manifesto__intro { grid-template-columns: 1fr; }
  .manifesto__intro > p:last-child { margin-top: 28px; }
  .pillar-grid { grid-template-columns: 1fr; }
  .pillar { min-height: 250px; border-left: 0; border-top: 1px solid var(--line-light); }
  .pillar:first-child { border-top: 0; }
  .studio__copy { padding-top: 0; }
  .faq { gap: 45px; }
  .footer { padding: 60px 24px 22px; grid-template-columns: 1fr; gap: 50px; }
  .game-nav { min-height: 70px; padding: 0 18px; }
  .legal-nav { min-height: 70px; padding: 0 18px; }
  .mm-hero { min-height: 820px; align-items: flex-start; }
  .mm-hero__veil { background: linear-gradient(0deg, rgba(5,4,7,.99) 0%, rgba(5,4,7,.72) 68%, rgba(5,4,7,.28) 100%); }
  .mm-hero__content { width: auto; margin: 0; padding: 190px 24px 170px; }
  .mm-hero__facts { padding: 0 24px; grid-template-columns: repeat(2, 1fr); }
  .mm-hero__facts div { min-height: 80px; padding: 13px 16px; border-bottom: 1px solid rgba(255,255,255,.12); }
  .mm-hero__facts strong { font-size: 27px; }
  .mm-section { padding: 76px 24px; }
  .mm-section__label { margin-bottom: 52px; }
  .mm-story__grid, .mm-world__heading, .mm-features__intro, .mm-buy { grid-template-columns: 1fr; }
  .mm-story__quote { padding-left: 0; }
  .mm-gallery { grid-template-columns: 1fr; }
  .mm-gallery figure.mm-gallery__wide { grid-column: auto; aspect-ratio: 16/9; }
  .mm-feature-grid { grid-template-columns: 1fr; }
  .mm-feature-grid article:nth-child(odd) { border-right: 0; }
  .mm-buy { min-height: auto; }
}

@media (max-width: 560px) {
  .topline__meta { display: none; }
  .brand__official-logo { width: 128px; height: 58px; }
  .hero h1 { font-size: 49px; }
  .hero__actions { align-items: flex-start; flex-direction: column; gap: 22px; }
  .hero__proof { gap: 0; width: calc(100vw - 48px); }
  .hero__proof div { min-width: 110px; }
  .hero__visual { min-height: 500px; padding: 20px 18px 48px; }
  .hero__frame { inset: 20px 18px 48px; }
  .hero__caption { left: 18px; right: 18px; bottom: 21px; }
  .hero__stamp { right: 8px; width: 96px; min-height: 98px; }
  .game__pitch h2 { font-size: 48px; }
  .game__features li { grid-template-columns: 82px 1fr; }
  .section-label span:last-child { display: none; }
  .manifesto__intro h2, .studio__headline h2 { font-size: 50px; }
  .final-cta h2 { font-size: 54px; }
  .footer__links { grid-template-columns: 1fr 1fr; }
  .footer__bottom { grid-template-columns: 1fr; }
  .footer__trademarks { justify-self: start; text-align: left; }
  .age-gate__panel { padding: 36px 22px 30px; }
  .age-gate__panel h2 { font-size: 36px; }
  .legal-hero { padding-top: 70px; }
  .mm-hero h1 { font-size: 48px; }
  .mm-hero__content { padding-top: 160px; }
  .mm-story h2, .mm-world h2, .mm-characters h2, .mm-features h2, .mm-buy h2 { font-size: 48px; }
  .mm-character-grid { grid-template-columns: 1fr; }
  .mm-character { min-height: 610px; }
  .storefronts__grid { grid-template-columns: 1fr; }
}

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