:root {
  --bg: #070706;
  --bg-elev: #141210;
  --ink: #f4e9d2;
  --muted: #b9a88a;
  --gold: #d4b15a;
  --gold-bright: #f0d48a;
  --gold-deep: #9a7428;
  --line: rgba(212, 177, 90, 0.38);
  --danger: #e07a6a;
  --ok: #9dce8a;
  --sans: "Source Sans 3", "Segoe UI", sans-serif;
  --serif: "Cinzel", "Times New Roman", serif;
  --display: "Cinzel Decorative", "Cinzel", serif;
  --radius-pill: 999px;
  --shadow: 0 18px 50px rgba(0, 0, 0, 0.55);
  --pad: 20px;
}

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

html, body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100dvh;
  overflow-x: hidden;
}

body.is-trailer-open {
  overflow: hidden;
}

.bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #0a0908;
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 55% at 50% 18%, rgba(160, 110, 40, 0.09), transparent 70%),
    radial-gradient(ellipse at 50% 100%, rgba(0, 0, 0, 0.45), transparent 62%);
}

#embers {
  position: fixed;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.page {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  margin: 0 auto;
  padding: calc(18px + env(safe-area-inset-top)) var(--pad) calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: 6px 0 8px;
}

.logo {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  background: transparent;
  filter: drop-shadow(0 0 28px rgba(180, 120, 40, 0.16));
}

.tagline {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.02rem, 4.2vw, 1.22rem);
  line-height: 1.35;
  text-align: center;
  letter-spacing: 0.01em;
  color: var(--ink);
  margin: 0 0 22px;
  max-width: 22em;
  text-wrap: balance;
}

.cta-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  appearance: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  min-height: 54px;
  padding: 12px 18px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(36, 30, 20, 0.92), rgba(16, 13, 10, 0.92));
  color: var(--ink);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(240, 212, 138, 0.12);
  transition: transform 0.15s ease, border-color 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}

.btn:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(212, 177, 90, 0.2);
}

.btn:active { transform: translateY(0); }

.btn:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

.btn[aria-disabled="true"],
.btn:disabled {
  cursor: default;
  opacity: 0.72;
  transform: none;
  box-shadow: none;
}

.btn--gold {
  background: linear-gradient(180deg, #e8c878 0%, #c9a227 48%, #8f6a1c 100%);
  color: #1a1408;
  border-color: #f3dd9a;
  text-shadow: 0 1px 0 rgba(255, 240, 200, 0.25);
  box-shadow: 0 10px 28px rgba(160, 110, 20, 0.28), inset 0 1px 0 rgba(255, 245, 210, 0.5);
}

.btn--gold:hover:not(:disabled) {
  border-color: #fff1c2;
  box-shadow: 0 12px 32px rgba(160, 110, 20, 0.38);
}

.btn--gold:disabled,
.btn--gold[aria-disabled="true"] {
  background: linear-gradient(180deg, #8a7340, #5c4a24);
  color: #ead9a8;
  border-color: rgba(212, 177, 90, 0.35);
  text-shadow: none;
}

.btn__icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: block;
}

.btn__play {
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  width: auto;
}

.section-kicker {
  margin: 26px 0 4px;
  font-family: var(--serif);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  text-align: center;
  color: var(--gold);
}

.premiere {
  margin: 18px 0 4px;
  text-align: center;
  font-family: var(--serif);
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold-bright);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.35;
}

.premiere__kicker,
.premiere__date {
  display: block;
  letter-spacing: 0.14em;
  font-size: 0.8rem;
  white-space: nowrap;
}

.follow-label {
  margin: 10px 0 12px;
  text-align: center;
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
}

.trailer-modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: max(16px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

.trailer-modal[hidden] { display: none; }

.trailer-modal__backdrop {
  position: absolute;
  inset: 0;
  background: #080807;
}

.trailer-modal__frame {
  position: relative;
  z-index: 1;
  width: min(100%, 22.5rem, calc((100dvh - 6rem) * 9 / 16));
}

.trailer-modal__frame video {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 9 / 16;
  max-height: calc(100dvh - 6rem);
  object-fit: contain;
  background: #000;
  border-radius: 12px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(212, 177, 90, 0.28);
}

.trailer-modal__close {
  appearance: none;
  position: absolute;
  top: -6px;
  right: -6px;
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(16, 13, 10, 0.92);
  color: var(--ink);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
}

.trailer-modal__close:hover { border-color: var(--gold); }

.trailer-modal__close:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: no-preference) {
  .trailer-modal:not([hidden]) .trailer-modal__backdrop {
    animation: trailer-fade 0.22s ease;
  }
  .trailer-modal:not([hidden]) .trailer-modal__frame {
    animation: trailer-rise 0.22s ease;
  }
}

@keyframes trailer-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes trailer-rise {
  from { opacity: 0; transform: translateY(8px) scale(0.98); }
  to { opacity: 1; transform: none; }
}

.rule {
  width: 72px;
  height: 1px;
  margin: 32px auto 8px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  border: 0;
  opacity: 0.7;
}

.novel {
  width: 100%;
  text-align: center;
  padding: 4px 0 8px;
}

.novel h2 {
  margin: 0 0 8px;
  font-family: var(--serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  color: var(--ink);
}

.novel p {
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 1.02rem;
}

.notify {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notify__row {
  display: flex;
  gap: 8px;
}

.notify input[type="email"] {
  flex: 1;
  min-width: 0;
  min-height: 52px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line);
  background: rgba(12, 10, 8, 0.75);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
}

.notify input[type="email"]::placeholder { color: #8d7d63; }

.notify input[type="email"]:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.notify .btn { width: auto; flex: 0 0 auto; padding-inline: 16px; white-space: nowrap; font-size: 0.86rem; letter-spacing: 0.03em; }

.notify__status {
  margin: 0;
  min-height: 1.3em;
  font-size: 0.9rem;
  color: var(--muted);
}

.notify__status[data-kind="error"] { color: var(--danger); }
.notify__status[data-kind="ok"] { color: var(--ok); }
.notify__status[data-kind="soon"] { color: var(--gold-bright); }

.footer {
  margin-top: 28px;
  text-align: center;
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.toast {
  position: fixed;
  left: 50%;
  bottom: calc(20px + env(safe-area-inset-bottom));
  z-index: 20;
  transform: translate(-50%, 8px);
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  background: rgba(20, 16, 10, 0.94);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 0.9rem;
  opacity: 0;
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
}

.toast.is-on {
  opacity: 1;
  transform: translate(-50%, 0);
}

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

@media (min-width: 480px) {
  .logo { max-width: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  .btn { transition: none; }
  #embers { display: none; }
}
