@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/fonts/CormorantGaramond-Italic.woff2") format("woff2");
  font-weight: 300 700;
  font-style: italic;
  font-display: swap;
}

:root {
  --ink: #0a121c;
  --deep: #0e1a27;
  --storm: #16263a;
  --line: rgba(220, 230, 240, 0.12);
  --text: #e7e2d8;
  --muted: #9aa6b2;
  --gold: #d6a756;
  --gold-hi: #ecc477;
  --red: #a3372a;
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--text);
  font: 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); }
a:hover { color: #fff; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; }
h2 { font-size: clamp(2rem, 4.5vw, 3.2rem); letter-spacing: 0.04em; text-align: center; }
.sub { text-align: center; color: var(--muted); margin: 0.6rem 0 2.2rem; }
.muted { color: var(--muted); }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 100; background: #fff; color: #000; padding: 6px 10px; }
section { padding: clamp(4rem, 9vw, 7rem) 16px; }

/* Header */
.top {
  position: fixed; inset: 0 0 auto 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 14px clamp(16px, 4vw, 40px);
  background: linear-gradient(to bottom, rgba(10, 18, 28, 0.85), rgba(10, 18, 28, 0));
  transition: background 0.3s;
}
.top.solid { background: rgba(10, 18, 28, 0.94); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.brand { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text); text-decoration: none; white-space: nowrap; }
.brand span { color: var(--gold); }
.nav { display: flex; align-items: center; gap: clamp(0.8rem, 2vw, 1.8rem); font-size: 0.92rem; }
.nav a { color: var(--text); text-decoration: none; opacity: 0.85; }
.nav a:hover { opacity: 1; color: var(--gold-hi); }
.nav .nav-cta { border: 1px solid var(--gold); color: var(--gold-hi); padding: 6px 14px; border-radius: 999px; opacity: 1; }
.nav .lang { font-weight: 600; letter-spacing: 0.08em; border-left: 1px solid var(--line); padding-left: clamp(0.8rem, 2vw, 1.8rem); }
@media (max-width: 760px) {
  .nav a:not(.lang):not(.nav-cta) { display: none; }
  .brand { font-size: 1.1rem; }
  .nav { font-size: 0.85rem; }
}
@media (max-width: 380px) { .brand span { display: none; } }

/* Hero */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: flex-end;
  padding: 120px 16px clamp(3rem, 8vh, 6rem); overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url("/img/hero.webp") 30% 30% / cover no-repeat;
  animation: drift 30s ease-in-out infinite alternate;
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, rgba(10, 18, 28, 0.7) 0%, rgba(10, 18, 28, 0.25) 45%, transparent 70%),
    linear-gradient(to top, var(--ink) 0%, rgba(10, 18, 28, 0.55) 40%, rgba(10, 18, 28, 0.15) 70%, rgba(10, 18, 28, 0.5) 100%),
    radial-gradient(ellipse at 70% 40%, transparent 30%, rgba(10, 18, 28, 0.5) 100%);
}
@keyframes drift { from { transform: scale(1.04); } to { transform: scale(1.12) translate(-1.5%, 1%); } }
@media (prefers-reduced-motion: reduce) { .hero-bg { animation: none; } html { scroll-behavior: auto; } }
.hero-inner { position: relative; max-width: var(--wrap); width: 100%; margin: 0 auto; }
.eyebrow { font-family: var(--serif); font-style: italic; font-size: 1.3rem; color: var(--gold-hi); margin: 0 0 0.4rem; }
.hero h1 { font-size: clamp(3rem, 10vw, 7.5rem); letter-spacing: 0.08em; text-transform: uppercase; font-weight: 500; text-shadow: 0 2px 30px rgba(0, 0, 0, 0.5); }
.hero h1 .deep { color: var(--gold); }
.hero h1 .colon { color: var(--muted); }
.tagline { font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2.1rem); line-height: 1.25; margin: 1.2rem 0 1.4rem; max-width: 30ch; }
.release { margin: 0 0 2rem; font-size: 0.98rem; letter-spacing: 0.02em; }
.release strong { font-family: var(--serif); font-size: 1.4rem; font-weight: 600; color: var(--gold-hi); letter-spacing: 0.05em; }
.ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin: 0; }
.btn {
  display: inline-block; padding: 0.8rem 1.6rem; border-radius: 999px; text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.45); color: var(--text); font-weight: 600; font-size: 0.95rem;
  background: rgba(10, 18, 28, 0.35); backdrop-filter: blur(4px);
}
.btn:hover { border-color: #fff; color: #fff; }
.btn-gold { background: var(--gold); border-color: var(--gold); color: #1a1206; }
.btn-gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #1a1206; }

/* Trailer */
.trailer { background: linear-gradient(var(--ink), var(--deep)); }
.video { max-width: var(--wrap); margin: 0 auto; }
.video video, .video iframe, .video-play {
  width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; border-radius: 10px;
  background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.video-play { position: relative; padding: 0; cursor: pointer; overflow: hidden; display: block; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.video-play:hover img { transform: scale(1.02); }
.play-icon {
  position: absolute; left: 50%; top: 50%; width: 88px; height: 88px; margin: -44px 0 0 -44px;
  border-radius: 50%; background: rgba(10, 18, 28, 0.6); border: 2px solid var(--gold-hi);
}
.play-icon::after {
  content: ""; position: absolute; left: 36px; top: 27px;
  border-style: solid; border-width: 17px 0 17px 28px; border-color: transparent transparent transparent var(--gold-hi);
}
.video-note { font-size: 0.8rem; color: var(--muted); text-align: center; margin: 0.8rem 0 0; }
.cuts { max-width: var(--wrap); margin: 2rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.cut { margin: 0; }
.cut figcaption { text-align: center; color: var(--muted); margin-top: 0.6rem; font-size: 0.9rem; }
.cut .video-note { display: none; }
.channel { text-align: center; margin: 2rem 0 0; }

/* Story */
.story { background: var(--deep); }
.quote { max-width: 860px; margin: 0 auto; text-align: center; }
.quote p { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3.6vw, 2.6rem); line-height: 1.3; margin: 0; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; color: var(--gold); letter-spacing: 0.15em; text-transform: uppercase; font-size: 0.85rem; }
.quote-after { text-align: center; font-family: var(--serif); font-size: clamp(1.4rem, 3vw, 2rem); color: var(--gold-hi); margin: 2.5rem 0 1rem; }
.story-intro { max-width: 680px; margin: 0 auto 4rem; text-align: center; color: var(--muted); font-size: 1.08rem; }
.chapters { max-width: var(--wrap); margin: 0 auto; display: grid; gap: clamp(2rem, 5vw, 4rem); }
.chapter { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(1.2rem, 4vw, 3.5rem); align-items: center; }
.chapter:nth-child(even) .chapter-img { order: 2; }
.chapter-img img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 8px; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45); }
.chapter-no { font-family: var(--serif); color: var(--gold); font-size: 1.1rem; letter-spacing: 0.2em; }
.chapter h3 { font-size: clamp(1.9rem, 3.5vw, 2.6rem); margin: 0.2rem 0 0.8rem; }
.chapter p { margin: 0; color: #cfd5da; }
@media (max-width: 760px) {
  .chapter { grid-template-columns: 1fr; }
  .chapter:nth-child(even) .chapter-img { order: 0; }
}

/* Features */
.features { background: linear-gradient(var(--deep), var(--storm)); }
.feature-grid { max-width: var(--wrap); margin: 2.5rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.5rem; }
.feature { border-top: 2px solid var(--gold); padding: 1.2rem 0 0; }
.feature h3 { font-size: 1.6rem; margin-bottom: 0.5rem; }
.feature p { margin: 0; color: #c9d0d6; font-size: 0.98rem; }

/* Gallery */
.screenshots { background: var(--storm); }
.gallery { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.shot { display: block; overflow: hidden; border-radius: 6px; background: #000; }
.shot img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.5s, opacity 0.3s; opacity: 0.92; }
.shot:hover img, .shot:focus-visible img { transform: scale(1.05); opacity: 1; }
.gallery .shot:first-child { grid-column: span 2; grid-row: span 2; }
@media (max-width: 600px) { .gallery .shot:first-child { grid-column: auto; grid-row: auto; } }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; }
.lightbox::backdrop { background: rgba(4, 8, 12, 0.94); }
.lightbox[open] { display: flex; align-items: center; justify-content: center; }
.lightbox figure { margin: 0; max-width: min(1600px, 92vw); }
.lightbox img { max-height: 82vh; width: auto; height: auto; margin: 0 auto; border-radius: 4px; }
.lightbox figcaption { text-align: center; color: var(--text); font-family: var(--serif); font-size: 1.3rem; margin-top: 0.8rem; }
.lightbox button { position: fixed; background: none; border: 0; color: #fff; font-size: 3rem; line-height: 1; cursor: pointer; padding: 12px 18px; opacity: 0.75; }
.lightbox button:hover { opacity: 1; color: var(--gold-hi); }
.lb-close { top: 8px; right: 8px; }
.lb-prev { left: 4px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 4px; top: 50%; transform: translateY(-50%); }

/* Signup */
.signup {
  position: relative; text-align: center;
  background: linear-gradient(rgba(10, 18, 28, 0.82), rgba(10, 18, 28, 0.92)), url("/img/aerial-sm.webp") center / cover;
}
.signup-inner { max-width: 640px; margin: 0 auto; }
.signup p { color: #cfd5da; }
.signup-form { margin-top: 2rem; text-align: left; }
.field-row { display: flex; gap: 10px; }
.field-row input {
  flex: 1; min-width: 0; font: inherit; color: var(--text); background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25); border-radius: 999px; padding: 0.8rem 1.2rem;
}
.field-row input:focus { outline: 2px solid var(--gold); outline-offset: 1px; border-color: transparent; }
.field-row button {
  font: inherit; font-weight: 700; border: 0; border-radius: 999px; padding: 0.8rem 1.6rem;
  background: var(--gold); color: #1a1206; cursor: pointer; white-space: nowrap;
}
.field-row button:hover { background: var(--gold-hi); }
.field-row button:disabled { opacity: 0.6; cursor: wait; }
@media (max-width: 520px) { .field-row { flex-direction: column; } }
.consent { display: flex; gap: 0.7rem; align-items: flex-start; margin-top: 1rem; font-size: 0.88rem; color: var(--muted); cursor: pointer; }
.consent input { margin-top: 0.3rem; accent-color: var(--gold); width: 1.05rem; height: 1.05rem; flex: none; }
.form-msg { min-height: 1.6em; margin: 1rem 0 0; font-weight: 600; text-align: center; }
.form-msg.ok { color: #9fd99b; }
.form-msg.err { color: #f0a08f; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.signup-form.done .field-row, .signup-form.done .consent { display: none; }
.signup-form.done .form-msg { font-family: var(--serif); font-size: 1.8rem; font-weight: 500; }

/* Footer */
.foot { padding: 3rem 16px; text-align: center; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.foot-brand { font-family: var(--serif); letter-spacing: 0.15em; text-transform: uppercase; color: var(--text); font-size: 1.2rem; }
.foot p { margin: 0.4rem 0; }
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 0.5rem 1.5rem; margin-top: 1rem !important; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--gold-hi); }

/* Legal pages */
.legal-page .top { background: rgba(10, 18, 28, 0.94); border-bottom: 1px solid var(--line); }
.legal { max-width: 760px; margin: 0 auto; padding: 120px 16px 4rem; }
.legal h1 { font-size: clamp(2.2rem, 5vw, 3.2rem); margin-bottom: 1.5rem; }
.legal h2 { font-size: 1.6rem; text-align: left; margin: 2.2rem 0 0.6rem; letter-spacing: 0.02em; }
.legal p { color: #cfd5da; }
