:root {
  color-scheme: dark;
  --ground: #03080c;
  --surface: #071118;
  --ink: #f3efe7;
  --ink-soft: #b2c1c7;
  --ink-muted: #768b94;
  --water: #93ced7;
  --sand: #dbc08c;
  --rule: rgba(243, 239, 231, 0.11);
  --rule-strong: rgba(243, 239, 231, 0.22);
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, "Yu Gothic UI", "Malgun Gothic", "Microsoft JhengHei", "Microsoft YaHei", sans-serif;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --measure: 74rem;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
  scroll-behavior: smooth;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; background: var(--ground); }
body {
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video { max-width: 100%; }
img { height: auto; }
a { color: var(--water); text-underline-offset: 0.28em; }
a:focus-visible, button:focus-visible, select:focus-visible, summary:focus-visible {
  outline: 1.5px solid var(--water);
  outline-offset: 4px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 100;
  padding: 0.55rem 1rem;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--rule-strong);
  text-decoration: none;
}
.skip-link:focus { left: 1rem; }

.wrap {
  width: min(100% - var(--gutter) * 2, var(--measure));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  width: 100%;
  border-bottom: 1px solid var(--rule);
  background: var(--ground);
}
.site-header--overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  border-bottom: 0;
  background: linear-gradient(180deg, rgba(3, 8, 12, 0.74) 0%, rgba(3, 8, 12, 0.28) 65%, transparent 100%);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
  min-height: 5.25rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.96rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}
.brand img {
  display: block;
  width: 34px;
  height: 34px;
  border-radius: 8px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem 1.5rem;
  flex-wrap: wrap;
}
.nav-link {
  color: rgba(243, 239, 231, 0.78);
  text-decoration: none;
  font-size: 0.9rem;
  padding-block: 0.45rem;
  transition: color 0.18s ease;
}
.nav-link[aria-current="page"] { color: var(--ink); }

.lang-select {
  appearance: none;
  min-height: 2.35rem;
  padding: 0.32rem 1.65rem 0.32rem 0.65rem;
  border-radius: 4px;
  border: 1px solid rgba(243, 239, 231, 0.18);
  background: rgba(3, 8, 12, 0.45) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='%23b2c1c7' d='M5 6 0 0h10z'/%3E%3C/svg%3E") no-repeat right 0.6rem center;
  color: var(--ink);
  font: inherit;
  font-size: 0.84rem;
  cursor: pointer;
}
.lang-select option {
  background: #071118;
  color: var(--ink);
}

/* Full-bleed cinema hero */
.hero {
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(38rem, 92svh, 58rem);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--ground);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 48%;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(180deg, rgba(3, 8, 12, 0.34) 0%, rgba(3, 8, 12, 0.06) 34%, rgba(3, 8, 12, 0.56) 76%, var(--ground) 100%),
    linear-gradient(90deg, rgba(3, 8, 12, 0.72) 0%, rgba(3, 8, 12, 0.34) 44%, transparent 72%);
}

.hero-inner {
  width: min(100% - var(--gutter) * 2, var(--measure));
  margin-inline: auto;
  padding: 8.5rem 0 clamp(3rem, 7vw, 5.25rem);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.hero-copy {
  max-width: 36rem;
}

.hero h1 {
  margin: 0;
  font: 400 clamp(3rem, 6.4vw, 5.4rem) / 0.98 var(--serif);
  letter-spacing: -0.025em;
  color: var(--ink);
}

.hero-lead {
  margin: 1.35rem 0 2rem;
  max-width: 40ch;
  color: rgba(243, 239, 231, 0.84);
  font-size: clamp(1.02rem, 1.45vw, 1.16rem);
  font-weight: 400;
  line-height: 1.62;
}

.store-action {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}
.store-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.5rem;
}

.play-badge {
  display: inline-block;
  border-radius: 7px;
  transition: opacity 0.18s ease, transform 0.18s ease;
}
.play-badge img {
  display: block;
  width: 11.25rem;
  height: auto;
}

.text-cta {
  color: rgba(243, 239, 231, 0.86);
  text-decoration: none;
  font-size: 0.93rem;
  padding-bottom: 0.15rem;
  border-bottom: 1px solid rgba(243, 239, 231, 0.32);
  transition: color 0.18s ease, border-color 0.18s ease;
}

.release-note {
  margin: 0;
  max-width: 46ch;
  color: rgba(219, 192, 140, 0.9);
  font-size: 0.88rem;
  line-height: 1.55;
}

.hero-toggle {
  flex-shrink: 0;
  width: 2.85rem;
  height: 2.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(243, 239, 231, 0.24);
  background: rgba(3, 8, 12, 0.45);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: border-color 0.18s ease, background 0.18s ease;
}
.hero-toggle svg { width: 14px; height: 14px; fill: currentColor; }
.hero-toggle .icon-play { display: none; }
.hero-toggle[aria-pressed="true"] .icon-pause { display: none; }
.hero-toggle[aria-pressed="true"] .icon-play { display: block; }

/* Quiet manifesto & hairline facts */
.manifesto {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  border-bottom: 1px solid var(--rule);
}
.manifesto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
.manifesto h2 {
  margin: 0;
  font: 400 clamp(1.7rem, 3vw, 2.45rem) / 1.2 var(--serif);
  letter-spacing: -0.018em;
  color: var(--ink);
}
.manifesto-lead {
  margin: 1rem 0 0;
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: 1rem;
}

.facts {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 2.25rem;
}
.facts li {
  padding-top: 0.9rem;
  border-top: 1px solid var(--rule);
}
.facts strong {
  display: block;
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}
.facts span {
  display: block;
  color: var(--ink-muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

/* Interactive Scene Monograph */
.scenes-section {
  padding-block: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--rule);
}
.section-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 3rem;
  margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem);
}
.section-intro h2 {
  margin: 0;
  font: 400 clamp(1.85rem, 3.4vw, 2.75rem) / 1.12 var(--serif);
  letter-spacing: -0.02em;
}
.section-intro p {
  margin: 0;
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: 0.96rem;
}

.stage-wrap {
  position: relative;
}
.stage-btn {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--surface);
  border-radius: 6px;
  overflow: hidden;
  cursor: zoom-in;
}
.stage-img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  transition: opacity 0.24s ease;
}
.stage-img.is-fading { opacity: 0.35; }

.stage-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  padding: 1.15rem 0 1.4rem;
}
.stage-caption {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem 1.25rem;
}
.stage-caption strong {
  font: 400 1.25rem / 1.2 var(--serif);
  color: var(--ink);
}
.stage-caption span {
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.stage-nav {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink-muted);
  font-size: 0.85rem;
  font-variant-numeric: tabular-nums;
}
.stage-arrow {
  width: 2.35rem;
  height: 2.35rem;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, color 0.18s ease;
}

.filmstrip {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0.65rem;
}
.thumb-btn {
  position: relative;
  display: block;
  padding: 0 0 0.45rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.thumb-btn::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: transparent;
  transition: background-color 0.18s ease;
}
.thumb-btn img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 3px;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}
.thumb-btn[aria-pressed="true"] img { opacity: 1; }
.thumb-btn[aria-pressed="true"]::after { background: var(--sand); }

/* Editorial Visual Feature Spreads */
.stories {
  padding-block: clamp(4rem, 8vw, 7rem);
  display: grid;
  gap: clamp(4rem, 8vw, 7rem);
  border-bottom: 1px solid var(--rule);
}
.story {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.92fr);
  gap: clamp(2rem, 5vw, 4.75rem);
  align-items: center;
}
.story--reverse .story-media { order: 2; }
.story--reverse .story-copy { order: 1; }

.story-media {
  margin: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--surface);
}
.story-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.story-copy h3 {
  margin: 0 0 0.75rem;
  font: 400 clamp(1.55rem, 2.6vw, 2.15rem) / 1.18 var(--serif);
  letter-spacing: -0.018em;
  color: var(--ink);
}
.story-copy p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
  max-width: 46ch;
}
.story-sub {
  margin-top: 1.6rem;
  padding-top: 1.35rem;
  border-top: 1px solid var(--rule);
}
.story-sub h4 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
}
.story-sub p {
  font-size: 0.93rem;
  color: var(--ink-muted);
}

/* Hairline FAQ */
.faq-section {
  padding-block: clamp(4rem, 8vw, 6.5rem);
  border-bottom: 1px solid var(--rule);
}
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.65fr) minmax(0, 1.35fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.faq-layout h2 {
  margin: 0;
  font: 400 clamp(1.85rem, 3.2vw, 2.55rem) / 1.15 var(--serif);
  letter-spacing: -0.02em;
}
.faq-list {
  border-top: 1px solid var(--rule);
}
.faq-item {
  border-bottom: 1px solid var(--rule);
}
.faq-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--ink);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1;
  color: var(--ink-muted);
  transition: transform 0.2s ease, color 0.2s ease;
}
.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--ink);
}
.faq-answer {
  padding: 0 2.5rem 1.35rem 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
  max-width: 58ch;
}
.faq-answer p { margin: 0; }

/* Closing band (quiet, full-bleed, no box) */
.closing {
  padding-block: clamp(4.5rem, 9vw, 7.5rem);
  text-align: center;
  background: radial-gradient(ellipse 65% 75% at 50% 100%, rgba(16, 62, 82, 0.26), transparent 72%);
}
.closing-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.closing-icon {
  width: 60px;
  height: 60px;
  border-radius: 14px;
  margin-bottom: 1.5rem;
  box-shadow: 0 14px 38px rgba(0, 0, 0, 0.55);
}
.closing h2 {
  margin: 0;
  max-width: 22ch;
  font: 400 clamp(2rem, 4vw, 3.1rem) / 1.1 var(--serif);
  letter-spacing: -0.02em;
}
.closing-lead {
  margin: 0.9rem 0 2rem;
  max-width: 44ch;
  color: var(--ink-soft);
  font-size: 1rem;
}
.closing .store-action {
  align-items: center;
}
.closing .release-note {
  text-align: center;
}

/* Subpages (Privacy / Support) */
.doc-page {
  width: min(100% - var(--gutter) * 2, 46rem);
  margin: clamp(2.5rem, 6vw, 4.5rem) auto 0;
  padding-bottom: 4.5rem;
  overflow-wrap: anywhere;
}
.doc-page h1 {
  margin: 0 0 1rem;
  font: 400 clamp(2.4rem, 5.5vw, 3.8rem) / 1.06 var(--serif);
  letter-spacing: -0.025em;
}
.doc-meta {
  margin: 0 0 1.25rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
}
.doc-intro {
  font-size: 1.06rem;
  color: var(--ink-soft);
  margin: 0 0 2.5rem;
}
.doc-section {
  padding: 1.75rem 0;
  border-top: 1px solid var(--rule);
}
.doc-section h2 {
  margin: 0 0 0.6rem;
  font: 400 1.35rem / 1.25 var(--serif);
  color: var(--ink);
}
.doc-section p, .doc-section li {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.96rem;
}
.doc-section p + p { margin-top: 0.75rem; }
.doc-section ul {
  margin: 0.65rem 0 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.55rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--rule);
  padding: 2rem 0 2.75rem;
  color: var(--ink-muted);
  font-size: 0.86rem;
}
.footer-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 2rem;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}
.footer-links a {
  color: var(--ink-muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer-legal {
  margin-top: 1rem;
  color: rgba(118, 139, 148, 0.72);
  font-size: 0.78rem;
}

/* Fullscreen lightbox */
.lightbox {
  padding: 0;
  border: 0;
  background: rgba(3, 8, 12, 0.96);
  color: var(--ink);
  max-width: min(95vw, 76rem);
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 36px 96px rgba(0, 0, 0, 0.85);
}
.lightbox::backdrop {
  background: rgba(2, 6, 10, 0.88);
  backdrop-filter: blur(8px);
}
.lightbox-img {
  display: block;
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
  background: #02060a;
}
.lightbox-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.35rem;
  border-top: 1px solid var(--rule);
}
.lightbox-caption strong {
  display: block;
  font: 400 1.1rem / 1.25 var(--serif);
}
.lightbox-caption span {
  display: block;
  font-size: 0.88rem;
  color: var(--ink-soft);
}
.lightbox-controls { display: flex; gap: 0.5rem; }
.icon-btn {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--rule-strong);
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.15rem;
  cursor: pointer;
}

@media (hover: hover) {
  .nav-link:hover, .footer-links a:hover { color: var(--ink); }
  .play-badge:hover { opacity: 0.9; transform: translateY(-1px); }
  .text-cta:hover { color: var(--ink); border-color: var(--ink); }
  .hero-toggle:hover, .stage-arrow:hover, .icon-btn:hover { border-color: var(--ink); color: var(--ink); }
  .thumb-btn:hover img { opacity: 0.85; }
}

@media (max-width: 56rem) {
  .manifesto-grid,
  .story,
  .faq-layout {
    grid-template-columns: 1fr;
  }
  .story--reverse .story-media { order: 0; }
  .story--reverse .story-copy { order: 0; }
  .filmstrip {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 42rem) {
  .header-inner {
    flex-wrap: wrap;
    padding-block: 0.85rem;
    min-height: 0;
  }
  .header-nav { gap: 0.35rem 1rem; }
  .hero { min-height: 92svh; }
  .hero-inner {
    flex-direction: column;
    align-items: flex-start;
    padding-top: 9.5rem;
  }
  .hero-toggle {
    position: absolute;
    right: var(--gutter);
    bottom: 1.4rem;
  }
  .facts { grid-template-columns: 1fr; gap: 1.1rem; }
  .filmstrip {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x proximity;
    padding-bottom: 0.25rem;
  }
  .thumb-btn {
    flex: 0 0 28%;
    scroll-snap-align: start;
  }
}

@media (prefers-reduced-motion: reduce) {
  :root { scroll-behavior: auto; }
  .play-badge, .stage-img, .thumb-btn img, .faq-item summary::after { transition: none; }
}
