:root {
  --wine: #0a0608;
  --wine-deep: #050304;
  --parchment: #e8d9d0;
  --parchment-dim: #c4b0a4;
  --parchment-mute: #8f7d74;
  --blood: #8a1f2e;
  --blood-hover: #c45c6a;
  --gold: #c4a574;
  --font-display: "Cinzel", "Times New Roman", serif;
  --font-body: Georgia, "Times New Roman", Times, serif;
}

* { box-sizing: border-box; }

html {
  background: var(--wine);
  color: var(--parchment);
  -webkit-font-smoothing: antialiased;
}

body {
  margin: 0;
  min-height: 100dvh;
  background: var(--wine);
  color: var(--parchment);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
}

button:not(:disabled),
[role="button"]:not(:disabled) { cursor: pointer; }

a { color: inherit; text-decoration: none; }

::selection { background: var(--blood); color: var(--parchment); }

:focus-visible {
  outline: 1px solid var(--gold);
  outline-offset: 3px;
}

h1, h2, h3 {
  text-wrap: balance;
  font-family: var(--font-display);
}

p { text-wrap: pretty; }

.gold-line {
  display: block;
  height: 1px;
  width: min(12rem, 40vw);
  margin-inline: auto;
  background: linear-gradient(90deg, transparent, var(--gold) 22%, #e8d4b0 50%, var(--gold) 78%, transparent);
  opacity: 0.55;
}

.grain, .mist { pointer-events: none; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 40;
  opacity: 0.09;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.9  0 0 0 0 0.8  0 0 0 0 0.7  0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.mist {
  position: fixed;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(ellipse 90% 45% at 50% 115%, rgb(232 217 208 / 0.07), transparent 58%),
    radial-gradient(ellipse 50% 40% at 80% 10%, rgb(138 31 46 / 0.18), transparent 55%),
    radial-gradient(ellipse 40% 35% at 12% 30%, rgb(138 31 46 / 0.1), transparent 60%);
  animation: mist-drift 22s ease-in-out infinite alternate;
}

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
  gap: 0.15rem;
  padding: 1.1rem 1.25rem;
  padding-top: max(1.1rem, env(safe-area-inset-top));
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.22;
  transition: opacity 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

.site-nav:hover,
.site-nav:focus-within { opacity: 1; }

.nav-link {
  color: var(--parchment-dim);
  padding: 0.55rem 0.7rem;
  transition: color 250ms;
}

.nav-link:hover,
.nav-link.is-active { color: var(--parchment); }

.nav-link.is-active::after {
  content: "";
  display: block;
  height: 1px;
  margin: 0.28rem auto 0;
  width: 1.1rem;
  background: var(--gold);
  opacity: 0.7;
}

.cover {
  position: relative;
  min-height: 100dvh;
  overflow: hidden;
  background: var(--wine-deep);
}

.cover-still { position: absolute; inset: 0; }

.cover-still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  animation: still-awake 2.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cover-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 40%, transparent 20%, rgb(10 6 8 / 0.45) 70%, rgb(10 6 8 / 0.88) 100%),
    linear-gradient(to top, rgb(10 6 8 / 0.92) 0%, rgb(10 6 8 / 0.15) 38%, rgb(10 6 8 / 0.35) 100%);
}

.cover-red {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 50% 40% at 62% 18%, rgb(138 31 46 / 0.32), transparent 62%);
}

.cover-copy {
  position: relative;
  z-index: 3;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  text-align: center;
  padding: 6.5rem 1.5rem 5.5rem;
}

.cover-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(2.1rem, 7vw, 4.6rem);
  letter-spacing: 0.34em;
  line-height: 1.05;
  margin: 0 0 1.25rem;
  padding-left: 0.34em;
  animation: fade-rise 1.4s 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.cover-line {
  font-style: italic;
  font-size: clamp(1rem, 2.2vw, 1.2rem);
  color: var(--parchment-dim);
  max-width: 26rem;
  margin: 1.15rem 0 2.1rem;
  animation: fade-rise 1.4s 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.claim-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.85rem;
  padding: 0.75rem 1.6rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--parchment);
  border: 1px solid rgb(196 165 116 / 0.45);
  background: rgb(10 6 8 / 0.35);
  transition: color 250ms, border-color 250ms, background-color 250ms, box-shadow 250ms, transform 150ms;
  animation: fade-rise 1.4s 1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.claim-btn:hover {
  border-color: var(--blood-hover);
  background: rgb(138 31 46 / 0.28);
  box-shadow: 0 0 28px rgb(138 31 46 / 0.28);
}

.claim-btn:active { transform: scale(0.96); }

.cover-foot {
  position: absolute;
  left: 0; right: 0;
  bottom: max(1.1rem, env(safe-area-inset-bottom));
  z-index: 3;
  margin: 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--parchment-mute);
  animation: fade-rise 1.6s 1.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.page-shell {
  position: relative;
  z-index: 3;
  min-height: 100dvh;
  padding: 5.5rem 1.25rem 4.5rem;
}

.page-head { margin: 0 auto; max-width: 28rem; text-align: center; }
.page-head.wide { max-width: 36rem; }

.page-kicker {
  font-family: var(--font-display);
  font-size: 0.68rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--blood-hover);
  margin: 0 0 0.85rem;
}

.page-title {
  font-weight: 500;
  font-size: clamp(1.8rem, 5vw, 3rem);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin: 0 0 1.1rem;
  line-height: 1.15;
}

.page-note {
  margin: 1.25rem auto 0;
  max-width: 22rem;
  font-style: italic;
  color: var(--parchment-dim);
}

.filmstrip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.5rem;
  width: min(100%, 28rem);
  margin: 2.75rem auto 0;
}

.scene-card { width: 100%; animation: fade-rise 1.1s cubic-bezier(0.22, 1, 0.36, 1) both; }

.scene-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.7rem;
  font-family: var(--font-display);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-size: 0.62rem;
  color: var(--parchment-mute);
}

.scene-title {
  font-weight: 500;
  font-size: 1.15rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.35rem;
  line-height: 1.25;
}

.scene-tease {
  margin: 0 0 0.9rem;
  color: var(--parchment-dim);
  font-style: italic;
  font-size: 0.98rem;
}

.scene-frame {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--wine-deep);
  box-shadow: 0 0 0 1px rgb(196 165 116 / 0.18);
}

.scene-card.is-featured .scene-frame {
  aspect-ratio: 1 / 1;
  box-shadow: 0 0 0 1px rgb(196 165 116 / 0.28), 0 0 48px rgb(138 31 46 / 0.22);
}

.scene-frame img,
.scene-frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scene-frame video { opacity: 0; transition: opacity 400ms; }
.scene-frame.is-playing video { opacity: 1; }

.play-veil {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgb(10 6 8 / 0.28);
  transition: opacity 350ms;
}

.scene-frame.is-playing .play-veil { opacity: 0; pointer-events: none; }

.play-ring {
  width: 4.25rem;
  height: 4.25rem;
  border: 1px solid rgb(196 165 116 / 0.7);
  border-radius: 9999px;
  display: grid;
  place-items: center;
  background: rgb(10 6 8 / 0.35);
  box-shadow: 0 0 24px rgb(138 31 46 / 0.25);
  transition: border-color 250ms, box-shadow 250ms, transform 150ms;
}

.play-ring svg { margin-left: 2px; }

.scene-play:hover .play-ring {
  border-color: var(--blood-hover);
  box-shadow: 0 0 28px rgb(138 31 46 / 0.4);
}

.scene-play:active .play-ring { transform: scale(0.96); }

.scene-play {
  position: absolute;
  inset: 0;
  background: transparent;
  border: 0;
  padding: 0;
  color: var(--parchment);
}

.scene-label {
  margin: 0.75rem 0 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--parchment-mute);
}

.sequence-end {
  width: min(100%, 28rem);
  margin: 3.5rem auto 0;
  text-align: center;
  animation: fade-rise 1.2s 0.2s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.sequence-end p {
  font-style: italic;
  color: var(--parchment-dim);
  margin: 0.85rem 0 0;
}

.sequence-end .claim-btn { margin-top: 2rem; }

.prose-cinematic {
  width: min(100%, 38rem);
  margin: 2.4rem auto 0;
}

.prose-cinematic p {
  margin: 0 0 1.35rem;
  color: var(--parchment-dim);
  font-size: 1.08rem;
  line-height: 1.7;
}

.prose-cinematic p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.1rem;
  float: left;
  line-height: 0.8;
  padding: 0.12rem 0.45rem 0 0;
  color: var(--parchment);
}

.pull-quote {
  margin: 2.4rem 0;
  padding: 0.2rem 0 0.2rem 1.15rem;
  border-left: 1px solid rgb(196 165 116 / 0.45);
}

.pull-quote p {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.15rem, 2.6vw, 1.55rem);
  line-height: 1.45;
  color: var(--parchment);
  margin: 0;
}

.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  margin-top: 2.25rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.about-links a {
  color: var(--parchment-dim);
  border-bottom: 1px solid rgb(196 165 116 / 0.35);
  padding-bottom: 0.2rem;
}

.about-links a:hover { color: var(--blood-hover); }

.last-line { margin-top: 2rem; font-style: italic; color: var(--parchment); }

.claim-stage { width: min(100%, 38rem); margin: 2.4rem auto 0; }

.story-figure {
  margin: 2.2rem 0 2.4rem;
  box-shadow: 0 0 0 1px rgb(196 165 116 / 0.18);
}

.story-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: center 40%;
}

.story-figure.square img {
  aspect-ratio: 1 / 1;
  object-position: center 30%;
}

.center-btn { margin-top: 2.5rem; display: flex; justify-content: center; }

@keyframes fade-rise {
  from { opacity: 0; transform: translateY(14px); filter: blur(6px); }
  to { opacity: 1; transform: none; filter: none; }
}

@keyframes still-awake {
  from { opacity: 0; transform: scale(1.04); filter: brightness(0.55); }
  to { opacity: 1; transform: none; filter: brightness(1); }
}

@keyframes mist-drift {
  from { transform: translate3d(0, 0, 0); opacity: 0.85; }
  to { transform: translate3d(-2%, -1.5%, 0); opacity: 1; }
}

@media (hover: none) {
  .site-nav { opacity: 0.78; justify-content: center; padding-inline: 0.5rem; }
  .nav-link { padding-inline: 0.45rem; font-size: 0.6rem; }
}

@media (max-width: 700px) {
  .cover-still img { object-position: 78% 18%; }
}

@media (min-width: 768px) {
  .site-nav { justify-content: center; padding-top: 1.4rem; }
  .cover-copy { justify-content: center; padding-bottom: 2rem; }
  .cover-still img { object-position: center 38%; }
}

@media (prefers-reduced-motion: reduce) {
  .mist, .cover-still img, .cover-title, .cover-line, .claim-btn, .cover-foot, .scene-card, .sequence-end {
    animation: none !important;
  }
  .cover-still img { opacity: 1; transform: none; filter: none; }
}
