@font-face {
  font-family: Cinzel;
  src: url("/assets/fonts/cinzel.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Source Sans 3";
  src: url("/assets/fonts/source-sans-3.ttf") format("truetype");
  font-weight: 400;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --night: oklch(15% 0.017 293);
  --deep: oklch(12% 0.011 290);
  --panel: oklch(19% 0.017 292);
  --ink: oklch(93% 0.016 294);
  --muted: oklch(76% 0.019 292);
  --gold: oklch(78% 0.093 83);
  --gold-light: oklch(88% 0.06 83);
  --line: oklch(61% 0.059 83 / 0.42);
  --display: Cinzel, Georgia, serif;
  --body: "Source Sans 3", system-ui, sans-serif;
  --gutter: clamp(24px, 5vw, 80px);
  --section: clamp(80px, 9vw, 144px);
  --layer-header: 10;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font: 1.125rem/1.7 var(--body);
}
body:has(dialog[open]) {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}
img,
video {
  display: block;
  max-width: 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
button:focus-visible,
a:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 6px;
}
button[hidden],
[hidden] {
  display: none !important;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}
h2 {
  font-size: clamp(2rem, 3.8vw, 3.75rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
h3 {
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  line-height: 1.3;
}
::selection {
  background: var(--gold);
  color: var(--deep);
}
.section {
  padding: var(--section) var(--gutter);
  max-width: 1440px;
  margin: auto;
}
.skip-link {
  position: fixed;
  top: 12px;
  left: 16px;
  z-index: 20;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--deep);
  opacity: 0;
  pointer-events: none;
}
.skip-link:focus {
  opacity: 1;
  pointer-events: auto;
}
.site-header {
  position: absolute;
  z-index: var(--layer-header);
  left: 0;
  right: 0;
  top: 0;
  min-height: 100px;
  padding: 24px var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  background: linear-gradient(var(--deep), transparent);
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font: 1.25rem var(--display);
  white-space: nowrap;
  color: var(--gold-light);
}
.brand img {
  width: 40px;
  height: 40px;
}
.site-header nav {
  display: flex;
  gap: 32px;
  font-size: 1rem;
}
.site-header nav a {
  position: relative;
  padding: 10px 0;
}
.site-header nav a:after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}
.site-header nav a:hover:after {
  transform: scaleX(1);
}
.header-cta {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  border-bottom: 1px solid var(--gold);
  padding: 8px 0;
  color: var(--gold-light);
}
.header-cta span {
  margin-left: 16px;
}
.menu-toggle {
  display: none;
  border: 0;
  background: transparent;
  font-size: 1rem;
  min-height: 44px;
}
.hero {
  position: relative;
  min-height: 850px;
  height: min(1050px, 100svh);
  isolation: isolate;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: var(--deep);
}
.hero-art {
  position: absolute;
  z-index: -2;
  inset: 0;
  overflow: hidden;
}
.hero-art img {
  width: 100%;
  height: 122%;
  object-fit: cover;
  object-position: center 12%;
  animation: arrival 1.8s var(--ease) both;
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    180deg,
    oklch(10% 0.01 290 / 0.1) 10%,
    transparent 32%,
    oklch(10% 0.01 290 / 0.2) 43%,
    oklch(12% 0.01 290 / 0.93) 84%,
    var(--night) 100%
  );
}
.hero-content {
  text-align: center;
  padding: 260px 24px 112px;
  max-width: 1000px;
  animation: title-in 1.25s var(--ease) both;
}
.hero-motto {
  font: 0.8rem var(--display);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(3.3rem, 8vw, 6rem);
  letter-spacing: 0.035em;
  line-height: 1;
  color: var(--gold-light);
  text-shadow: 0 2px 18px var(--deep);
}
.hero-subtitle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  font: clamp(0.8rem, 1.5vw, 1.2rem) var(--display);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin: 20px 0 28px;
  color: var(--gold-light);
}
.hero-subtitle span {
  width: 58px;
  height: 1px;
  background: var(--line);
}
.hero-description {
  font-size: 1.25rem;
  letter-spacing: 0.025em;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 20px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 54px;
  padding: 14px 28px;
  background: var(--gold);
  color: var(--deep);
  border: 1px solid var(--gold);
  font-size: 0.875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    background 0.25s,
    color 0.25s,
    transform 0.25s;
}
.button:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}
.button-outline {
  background: oklch(12% 0.011 290 / 0.45);
  color: var(--gold-light);
  border-color: var(--line);
}
.button-outline:hover {
  background: var(--gold);
  color: var(--deep);
}
.play-small {
  font-size: 0.875rem;
}
.platforms {
  font-size: 0.875rem;
  color: var(--muted);
}
.platforms span {
  padding: 0 12px;
}
.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;
  color: var(--gold);
}
.scroll-cue span {
  width: 1px;
  height: 26px;
  background: var(--gold);
}
.mobile-break {
  display: none;
}
.introduction {
  text-align: center;
  max-width: 920px;
  padding-top: 96px;
  padding-bottom: 96px;
}
.ornament {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  color: var(--gold);
  margin-bottom: 36px;
}
.ornament span {
  height: 1px;
  width: 72px;
  background: var(--line);
}
.introduction h2 {
  margin-bottom: 32px;
}
.introduction p {
  color: var(--muted);
  max-width: 62ch;
  margin: 0 auto 16px;
}
.text-link {
  display: inline-flex;
  gap: 16px;
  align-items: center;
  min-height: 44px;
  color: var(--gold-light);
  font-size: 1rem;
}
.text-link span {
  transition: transform 0.2s;
}
.text-link:hover span {
  transform: translateX(4px);
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 6px;
}
.introduction .text-link {
  margin-top: 12px;
}
.trailer-section {
  max-width: 1440px;
  margin: auto;
  padding: 0 var(--gutter);
}
.trailer-frame {
  position: relative;
  aspect-ratio: 16/8;
  overflow: hidden;
  background: var(--deep);
  border: 1px solid var(--line);
}
.trailer-frame > img,
.trailer-frame > video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trailer-frame > video {
  opacity: 0;
  transition: opacity 0.4s;
}
.trailer-frame > video.is-playing {
  opacity: 1;
}
.trailer-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent, oklch(8% 0.01 290 / 0.75));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px;
  text-align: center;
}
.play-large {
  display: grid;
  place-items: center;
  border: 1px solid var(--gold-light);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: oklch(12% 0.011 290 / 0.6);
  margin-bottom: 28px;
  transition:
    background 0.25s,
    transform 0.25s;
}
.play-large:hover {
  background: var(--gold);
  color: var(--deep);
  transform: scale(1.06);
}
.play-large span {
  padding-left: 4px;
}
.trailer-overlay h2 {
  font-size: clamp(1.5rem, 3vw, 2.8rem);
}
.trailer-overlay p {
  font-size: 1rem;
  margin-top: 8px;
}
.motion-toggle {
  position: absolute;
  bottom: 16px;
  right: 16px;
  font-size: 0.875rem;
  background: var(--deep);
  border: 1px solid var(--line);
  padding: 10px 16px;
}
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 64px;
}
.section-heading p {
  color: var(--muted);
  font-size: 1.125rem;
  max-width: 42ch;
}
.gameplay-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  align-items: center;
}
.vessel-image {
  background: var(--deep);
  overflow: hidden;
  position: relative;
  height: 640px;
  border: 1px solid var(--line);
}
.vessel-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: top;
}
.vessel-image figcaption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  text-align: center;
  font-size: 0.875rem;
  background: linear-gradient(transparent, var(--deep));
}
.gameplay-copy {
  display: flex;
  flex-direction: column;
  gap: 64px;
}
.gameplay-copy h3 {
  margin: 8px 0 16px;
}
.gameplay-copy p {
  color: var(--muted);
  max-width: 48ch;
}
.chapter-symbol {
  font: 2rem var(--display);
  color: var(--gold);
}
.gameplay-copy .feature-line {
  margin-top: 20px;
  color: var(--gold-light);
  font-size: 1rem;
}
.gameplay-copy .text-link {
  margin-top: 16px;
}
.characters {
  padding-top: 48px;
}
.character-stage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--deep);
  min-height: 640px;
  overflow: hidden;
  position: relative;
}
.character-portrait {
  position: relative;
  height: 660px;
  overflow: hidden;
}
.character-portrait:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 70%, var(--deep)),
    linear-gradient(0deg, var(--deep), transparent 30%);
}
.character-portrait > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 5%;
}
.character-portrait > span {
  position: absolute;
  z-index: 1;
  left: 32px;
  bottom: 24px;
  font-size: 0.875rem;
  color: var(--muted);
}
.character-copy {
  align-self: center;
  padding: 56px clamp(24px, 4vw, 64px) 56px 40px;
}
.character-trade {
  color: var(--gold);
  font-size: 1rem;
  text-transform: capitalize;
}
.character-copy h3 {
  font-size: clamp(2.4rem, 4.1vw, 4rem);
  line-height: 1.15;
  margin: 20px 0 28px;
  overflow-wrap: normal;
}
.character-copy > p:not(.character-trade) {
  color: var(--muted);
}
.character-house {
  font-size: 1rem;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}
.character-actions {
  display: flex;
  flex-wrap: wrap;
  column-gap: 24px;
  margin-top: 20px;
}
.roster-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  margin-top: 32px;
  font-size: 1rem;
}
.character-roster {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 16px 6px 24px;
  scrollbar-color: var(--gold) var(--panel);
  scrollbar-width: thin;
}
.character-choice {
  flex: 0 0 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 132px;
  background: var(--panel);
  border: 1px solid transparent;
  color: var(--muted);
  font-size: 0.875rem;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.character-choice img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: center 18%;
}
.character-choice:hover {
  border-color: var(--line);
}
.character-choice[aria-current="true"] {
  border-color: var(--gold);
  background: oklch(25% 0.026 76);
  color: var(--gold-light);
}
.world {
  position: relative;
  isolation: isolate;
  min-height: 740px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--deep);
}
.world-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.world:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    oklch(12% 0.02 265 / 0.95),
    oklch(12% 0.02 265 / 0.75) 45%,
    oklch(12% 0.02 265 / 0.05)
  );
  z-index: -1;
}
.world-content {
  width: 100%;
  max-width: 1440px;
  margin: auto;
  padding: 96px var(--gutter);
}
.world h2 {
  margin-bottom: 32px;
}
.world p {
  max-width: 46ch;
  margin-bottom: 20px;
  color: var(--ink);
}
.world .button {
  margin-top: 16px;
}
.film-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.film-art {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--panel);
}
.film-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.film:hover img {
  transform: scale(1.035);
}
.film[data-video="ott"] .film-art img {
  object-position: center 15%;
}
@media (min-width: 761px) and (max-width: 1100px) {
  .film-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.film-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 50%, oklch(10% 0.01 290 / 0.7));
}
.film-play {
  position: absolute;
  z-index: 1;
  bottom: 24px;
  inset-inline-start: 24px;
  border: 1px solid var(--gold-light);
  height: 48px;
  width: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  font-size: 0.875rem;
  background: oklch(10% 0.01 290 / 0.55);
}
.film-duration {
  position: absolute;
  z-index: 1;
  bottom: 32px;
  right: 24px;
  font-size: 0.875rem;
}
.film-type {
  display: block;
  font-size: 1rem;
  color: var(--gold);
  margin-top: 24px;
}
.film h3 {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  margin: 8px 0;
}
.film p {
  font-size: 1rem;
  color: var(--muted);
}
.media-note {
  font-size: 0.875rem;
  color: var(--muted);
  text-align: center;
  margin-top: 40px;
}
.begin {
  text-align: center;
  border-top: 1px solid var(--line);
  padding-top: 80px;
  padding-bottom: 96px;
}
.begin > img {
  margin: 0 auto 28px;
}
.begin h2 {
  margin-bottom: 24px;
}
.begin > p {
  color: var(--muted);
}
.store-links {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 32px 0 20px;
}
.availability {
  margin: 32px auto 20px;
  border: 1px solid var(--line);
  padding: 16px 32px;
  width: fit-content;
  color: var(--gold-light);
  font-size: 1rem;
}
.availability span {
  display: block;
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 4px;
}
.begin-details {
  font-size: 0.875rem;
}
.site-footer {
  max-width: 1440px;
  margin: auto;
  border-top: 1px solid var(--line);
  padding: 48px var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
}
.footer-brand {
  font: 1.2rem var(--display);
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-brand span {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.21em;
  margin-top: 8px;
}
.site-footer p,
.site-footer nav {
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.site-footer a:hover {
  color: var(--gold-light);
}
dialog {
  width: min(1100px, calc(100% - 32px));
  max-height: 94svh;
  border: 1px solid var(--line);
  padding: 0;
  background: var(--deep);
  color: var(--ink);
}
dialog::backdrop {
  background: oklch(7% 0.01 290 / 0.94);
}
.dialog-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 16px 24px;
  border-bottom: 1px solid var(--line);
}
.dialog-bar h2 {
  font: 1rem var(--display);
}
.dialog-bar button {
  border: 0;
  background: transparent;
  min-height: 44px;
  font-size: 1rem;
}
.dialog-bar button span {
  font-size: 1.5rem;
  margin-left: 12px;
}
#media-content video {
  width: 100%;
  max-height: 74svh;
  background: #000;
}
#media-content img {
  width: auto;
  max-height: 74svh;
  margin: auto;
  object-fit: contain;
}
#media-status {
  font-size: 0.875rem;
  text-align: center;
  padding: 0 24px 16px;
}
#media-status:empty {
  display: none;
}
.archive {
  padding-top: 150px;
}
.archive-intro {
  max-width: 64ch;
  margin: 24px 0 48px;
  color: var(--muted);
}
.archive-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.archive-list details {
  border: 1px solid var(--line);
  padding: 24px;
  scroll-margin-top: 100px;
}
.archive-list summary {
  font: clamp(1.25rem, 3vw, 1.75rem) var(--display);
  cursor: pointer;
  min-height: 44px;
}
.archive-list summary span {
  color: var(--muted);
  font: 1rem var(--body);
  display: block;
  margin: 12px 0;
}
.archive-story {
  display: flex;
  gap: 32px;
  padding-top: 20px;
  align-items: flex-start;
}
.archive-story > img {
  width: 240px;
  height: auto;
  aspect-ratio: 1536 / 2752;
  flex-shrink: 0;
}
.archive-story p {
  max-width: 70ch;
  margin-bottom: 20px;
  color: var(--muted);
}
.archive-story h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--gold-light);
}
.not-found {
  min-height: 75svh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 32px;
  text-align: center;
  padding: 48px;
}
.not-found p {
  max-width: 40ch;
  color: var(--muted);
}
@keyframes arrival {
  from {
    transform: scale(1.035);
  }
  to {
    transform: scale(1);
  }
}
@keyframes title-in {
  from {
    opacity: 0.65;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (min-width: 1800px) {
  .hero-art img {
    object-position: center 28%;
  }
}
@media (max-width: 1100px) {
  .site-header {
    gap: 20px;
  }
  .site-header nav {
    gap: 20px;
  }
  .header-cta {
    display: none;
  }
  .gameplay-layout {
    gap: 48px;
  }
  .vessel-image {
    height: 580px;
  }
  .character-copy {
    padding: 32px;
  }
  .site-footer {
    flex-wrap: wrap;
  }
  .section-heading {
    gap: 32px;
  }
  .character-portrait {
    height: 640px;
  }
}
@media (max-width: 760px) {
  html {
    scroll-padding-top: 80px;
  }
  .site-header {
    min-height: 80px;
    padding: 20px 24px;
    flex-wrap: wrap;
  }
  .brand {
    font-size: 1.1rem;
  }
  .brand img {
    width: 32px;
    height: 32px;
  }
  .site-header nav {
    width: 100%;
    justify-content: center;
    gap: 20px;
    font-size: 0.875rem;
    flex-wrap: wrap;
  }
  .has-js .menu-toggle {
    display: block;
  }
  .has-js .site-header nav {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--deep);
    padding: 24px;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .has-js .site-header nav.is-open {
    display: flex;
  }
  .hero {
    height: 900px;
    min-height: 0;
    max-height: 1100px;
  }
  .hero-art img {
    height: 91%;
    max-width: none;
    width: 100%;
    object-position: center top;
  }
  .hero:after {
    background: linear-gradient(
      180deg,
      transparent 25%,
      oklch(12% 0.011 290 / 0.2) 42%,
      var(--night) 75%
    );
  }
  .hero-content {
    padding: 360px 24px 100px;
  }
  .hero h1 {
    font-size: clamp(2.8rem, 11vw, 5rem);
  }
  .hero-motto {
    font-size: 0.7rem;
    letter-spacing: 0.26em;
    margin-bottom: 20px;
  }
  .hero-subtitle {
    gap: 12px;
    letter-spacing: 0.2em;
    margin-top: 16px;
    margin-bottom: 24px;
  }
  .hero-subtitle span {
    width: 28px;
  }
  .hero-description {
    font-size: 1.125rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    margin-top: 24px;
    gap: 12px;
  }
  .hero-actions .button {
    width: min(100%, 290px);
    min-height: 50px;
  }
  .platforms {
    font-size: 0.875rem;
  }
  .platforms span {
    padding: 0 6px;
  }
  .scroll-cue {
    bottom: 24px;
  }
  .introduction {
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .introduction h2 {
    font-size: clamp(1.85rem, 6.7vw, 2.7rem);
  }
  .desktop-break {
    display: none;
  }
  .trailer-section {
    padding: 0;
  }
  .trailer-frame {
    aspect-ratio: 4/3;
    border-left: 0;
    border-right: 0;
  }
  .play-large {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
  }
  .trailer-overlay {
    padding: 24px 24px 64px;
  }
  .motion-toggle {
    font-size: 0.875rem;
    bottom: 12px;
    right: 12px;
    padding: 8px 12px;
  }
  .section-heading {
    display: block;
    margin-bottom: 40px;
  }
  .section-heading p {
    margin-top: 24px;
  }
  .gameplay-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .vessel-image {
    height: 520px;
    max-width: 460px;
    width: 100%;
    margin: auto;
  }
  .gameplay-copy {
    gap: 40px;
  }
  .gameplay-copy article {
    max-width: 58ch;
  }
  .characters {
    padding-top: 0;
  }
  .character-stage {
    grid-template-columns: 1fr;
  }
  .character-portrait {
    height: 440px;
  }
  .character-portrait:after {
    background: linear-gradient(0deg, var(--deep), transparent 45%);
  }
  .character-copy {
    padding: 20px 24px 40px;
  }
  .character-copy h3 {
    font-size: 2.7rem;
    margin: 16px 0 24px;
  }
  .character-portrait > span {
    bottom: 24px;
    left: 24px;
  }
  .character-copy h3 br {
    display: none;
  }
  .roster-heading {
    gap: 12px;
    align-items: flex-start;
  }
  .roster-heading p {
    font-size: 0.875rem;
  }
  .roster-heading .text-link {
    font-size: 0.875rem;
    min-height: unset;
  }
  .character-choice {
    flex-basis: 88px;
    min-height: 120px;
  }
  .character-choice img {
    width: 72px;
    height: 72px;
  }
  .world {
    min-height: 720px;
  }
  .world:after {
    background:
      linear-gradient(
        90deg,
        oklch(12% 0.02 265 / 0.92),
        oklch(12% 0.02 265 / 0.55)
      ),
      linear-gradient(0deg, var(--night), transparent 80%);
  }
  .world-content {
    padding: 80px 24px;
  }
  .world-background {
    object-position: 65% center;
  }
  .world .button {
    font-size: 0.875rem;
    padding: 14px 20px;
  }
  .film-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .film {
    max-width: 500px;
    width: 100%;
    margin: auto;
  }
  .film-art {
    aspect-ratio: 4/5;
  }
  .film h3 {
    font-size: 1.5rem;
  }
  .film-type {
    margin-top: 20px;
  }
  .media-note {
    text-align: left;
  }
  .begin {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .site-footer {
    flex-direction: column;
    text-align: center;
    padding: 40px 24px;
    gap: 24px;
  }
  .site-footer nav {
    justify-content: center;
  }
  .dialog-bar {
    padding: 12px 16px;
  }
  .dialog-bar h2 {
    font-size: 0.875rem;
  }
  .store-links {
    flex-direction: column;
    align-items: center;
  }
  .archive-story {
    flex-direction: column;
    gap: 16px;
  }
  .archive-story > img {
    width: min(100%, 280px);
    height: auto;
  }
  .archive-list details {
    padding: 20px;
  }
  .archive {
    padding-top: 170px;
  }
}
@media (max-width: 380px) {
  .hero {
    height: 860px;
  }
  .hero-content {
    padding-left: 16px;
    padding-right: 16px;
  }
  .platforms {
    max-width: 240px;
    margin: auto;
  }
  .mobile-break {
    display: block;
  }
  .character-copy h3 {
    font-size: 2.2rem;
  }
  .hero-subtitle {
    font-size: 0.875rem;
  }
  .hero-subtitle span {
    width: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *:before,
  *:after {
    animation: none !important;
    transition: none !important;
  }
  .hero-art img {
    transform: none;
  }
  .trailer-frame > video {
    display: none;
  }
}
/* Landscape gameplay stays uncropped; each frame has its own caption. */
.gameplay-images {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.vessel-image {
  height: auto;
  max-width: none;
  border: 0;
  background: transparent;
}
.vessel-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border: 1px solid var(--line);
}
.vessel-image figcaption {
  position: static;
  background: none;
  padding: 12px 0;
  text-align: left;
  color: var(--muted);
}
.archive h1 {
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  line-height: 1.15;
}
@media (max-width: 760px) {
  .gameplay-images {
    gap: 24px;
  }
  .character-copy h3 {
    font-size: clamp(1.9rem, 8vw, 2.7rem);
  }
}

/* Language selection uses ordinary links and remains usable without JavaScript. */
.language-picker {
  position: relative;
  flex-shrink: 0;
  margin-inline-start: auto;
  font: 1rem var(--body);
}
.language-picker summary {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 6px 10px;
  cursor: pointer;
  color: var(--gold-light);
  list-style: none;
  border: 1px solid var(--line);
}
.language-picker summary::-webkit-details-marker {
  display: none;
}
.language-picker summary bdi {
  font-size: 0.875rem;
}
.language-panel {
  position: absolute;
  inset-inline-end: 0;
  top: calc(100% + 12px);
  width: min(640px, calc(100vw - 48px));
  max-height: min(70svh, 560px);
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 24px;
  border: 1px solid var(--line);
  background: var(--deep);
  z-index: 1;
}
.language-panel > p {
  color: var(--gold-light);
  margin-bottom: 16px;
}
.language-panel ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 16px;
}
.language-panel a {
  display: block;
  padding: 10px 8px;
  min-height: 44px;
  font:
    1rem/1.5 system-ui,
    sans-serif;
}
.language-panel a:hover,
.language-panel a[aria-current] {
  background: var(--panel);
  color: var(--gold-light);
}
.site-header {
  gap: 24px;
}
.site-header > nav {
  min-width: 0;
  gap: clamp(12px, 2vw, 32px);
}
.site-header > nav a {
  text-align: center;
}
.hero {
  height: auto;
}
.hero-content {
  width: 100%;
  min-height: 850px;
}
.hero-subtitle {
  overflow-wrap: anywhere;
}
.hero-description br {
  display: initial;
}
.character-stage {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.character-copy,
.world-content,
.section-heading > *,
.gameplay-copy,
.film {
  min-width: 0;
}
.character-copy h3,
.film h3,
.archive h1,
.section-heading h2 {
  overflow-wrap: anywhere;
}
.archive-story > div {
  min-width: 0;
}
.archive-story p {
  overflow-wrap: break-word;
}
.archive-header {
  flex-wrap: wrap;
}
.archive-header .language-picker {
  margin-inline-start: 0;
}
.archive {
  padding-top: 180px;
}
.not-found {
  padding-top: 180px;
}
[dir="rtl"] .character-portrait:after {
  background:
    linear-gradient(270deg, transparent 70%, var(--deep)),
    linear-gradient(0deg, var(--deep), transparent 30%);
}
[dir="rtl"] .character-copy {
  padding: 56px 40px 56px clamp(24px, 4vw, 64px);
}
[dir="rtl"] .world-content {
  margin-left: auto;
  margin-right: 0;
}
[dir="rtl"] .film-duration {
  right: auto;
  left: 20px;
}
[dir="rtl"] .character-portrait > span {
  left: auto;
  right: 32px;
}
[dir="rtl"] .text-link > span {
  display: inline-block;
  transform: scaleX(-1);
}
:lang(ar),
:lang(he),
:lang(hi),
:lang(th) {
  letter-spacing: normal;
}
html:lang(ar) {
  --body: "Geeza Pro", "Noto Sans Arabic", Tahoma, sans-serif;
  --display: "Noto Naskh Arabic", "Geeza Pro", serif;
}
html:lang(he) {
  --body: "Arial Hebrew", "Noto Sans Hebrew", Arial, sans-serif;
  --display: "Noto Serif Hebrew", "Times New Roman", serif;
}
html:lang(hi) {
  --body: "Kohinoor Devanagari", "Noto Sans Devanagari", sans-serif;
  --display: "Noto Serif Devanagari", "Kohinoor Devanagari", serif;
}
html:lang(th) {
  --body: "Thonburi", "Noto Sans Thai", sans-serif;
  --display: "Noto Serif Thai", "Thonburi", serif;
}
html:lang(ja) {
  --body: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --display: "Hiragino Mincho ProN", "Yu Mincho", serif;
}
html:lang(ko) {
  --body: "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  --display: "Batang", "Noto Serif CJK KR", serif;
}
html:lang(zh) {
  --body: "PingFang SC", "Microsoft YaHei", sans-serif;
  --display: "Songti SC", "Noto Serif CJK SC", serif;
}
html:lang(zh-Hant) {
  --body: "PingFang TC", "Microsoft JhengHei", sans-serif;
  --display: "Songti TC", "Noto Serif CJK TC", serif;
}
html:lang(ru),
html:lang(uk),
html:lang(el) {
  --display: Georgia, "Times New Roman", serif;
}
html:lang(ar) body,
html:lang(he) body,
html:lang(hi) body,
html:lang(th) body {
  line-height: 1.9;
}
.brand,
.hero h1,
.hero-motto,
.footer-brand > bdi {
  font-family: Cinzel, Georgia, serif;
}
html:lang(ar) h2,
html:lang(ar) h3,
html:lang(hi) h2,
html:lang(hi) h3,
html:lang(th) h2,
html:lang(th) h3 {
  line-height: 1.55;
}
@media (max-width: 1350px) {
  .header-cta {
    display: none;
  }
}
@media (max-width: 1100px) {
  .site-header {
    gap: 16px;
  }
}
@media (max-width: 760px) {
  .site-header {
    column-gap: 12px;
  }
  .site-header > nav {
    order: 4;
  }
  .site-header > .language-picker {
    margin-inline-start: auto;
  }
  .language-panel {
    position: fixed;
    inset-inline: 24px;
    top: 84px;
    width: auto;
  }
  .language-panel ul {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .hero {
    height: auto;
    max-height: none;
  }
  .hero-content {
    min-height: 900px;
  }
  .character-stage {
    grid-template-columns: minmax(0, 1fr);
  }
  [dir="rtl"] .character-copy {
    padding: 20px 24px 40px;
  }
  [dir="rtl"] .character-portrait:after {
    background: linear-gradient(0deg, var(--deep), transparent 45%);
  }
  .archive-header > .text-link {
    order: 3;
    width: 100%;
  }
  .archive-header > .language-picker {
    margin-inline-start: auto;
  }
  .archive {
    padding-top: 200px;
  }
}
@media (max-width: 380px) {
  .language-panel {
    padding: 16px;
  }
  .language-panel ul {
    gap: 4px;
  }
  .language-panel a {
    font-size: 0.875rem;
  }
}
