:root {
  --maroon-950: #1c0a0f;
  --maroon-900: #2a0f16;
  --maroon-800: #3d1620;
  --wood-800: #3a241a;
  --wood-700: #5a3a24;
  --amber-400: #e3ac52;
  --amber-300: #f0c878;
  --teal-400: #3f9a94;
  --cream-100: #f4e9d6;
  --cream-200: #e6d5b8;

  --font-display: 'Cinzel Decorative', serif;
  --font-body: 'Alegreya', serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--maroon-950);
  color: var(--cream-100);
  font-family: var(--font-body);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

h1, h2 { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.02em; }

.wordmark-small {
  font-family: var(--font-display);
  color: var(--amber-300);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, var(--maroon-950) 5%, rgba(28,10,15,0.35) 45%, rgba(28,10,15,0.15) 70%),
    radial-gradient(ellipse at center, rgba(0,0,0,0) 40%, rgba(0,0,0,0.55) 100%);
}

.hero__nav {
  position: relative;
  z-index: 2;
  padding: 1.5rem 2rem;
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 2rem 2rem 4rem;
  max-width: 900px;
}

.hero__title {
  margin: 0 0 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  text-shadow: 0 4px 24px rgba(0,0,0,0.6);
}

.wordmark-line1 {
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: var(--amber-300);
  background: linear-gradient(180deg, var(--amber-300), var(--amber-400) 60%, #b9832e);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.wordmark-line2 {
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1rem, 2.4vw, 1.4rem);
  color: var(--cream-200);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__logline {
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  max-width: 640px;
  color: var(--cream-100);
  text-shadow: 0 2px 12px rgba(0,0,0,0.7);
}

.hero__scroll {
  position: relative;
  z-index: 2;
  align-self: center;
  margin-bottom: 1.5rem;
  width: 24px;
  height: 40px;
  border: 2px solid var(--amber-300);
  border-radius: 12px;
  opacity: 0.8;
}

.hero__scroll span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 6px auto;
  background: var(--amber-300);
  border-radius: 2px;
  animation: scroll-hint 1.8s ease-in-out infinite;
}

@keyframes scroll-hint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* ---------- Shared section styles ---------- */

main section {
  padding: 5rem 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

main section h2 {
  color: var(--amber-300);
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Synopsis ---------- */

.synopsis {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  align-items: center;
  background: linear-gradient(160deg, var(--wood-800), var(--maroon-900));
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.synopsis__art img {
  border-radius: 10px;
  background: var(--cream-100);
  padding: 0.5rem;
}

.synopsis__text p { color: var(--cream-200); }

/* ---------- Gift ---------- */

.gift {
  position: relative;
  text-align: center;
  padding: 6rem 1.5rem;
}

.gift__glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(63,154,148,0.35), transparent 45%),
    radial-gradient(circle at 70% 60%, rgba(227,172,82,0.35), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(122,58,163,0.25), transparent 50%);
  filter: blur(10px);
}

.gift__inner {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.gift__inner p { color: var(--cream-200); font-size: 1.15rem; }

/* ---------- Trailer ---------- */

.trailer { text-align: center; }

.trailer__frame {
  border: 3px solid var(--amber-400);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.trailer__frame video {
  width: 100%;
  display: block;
  background: #000;
}

.trailer__note {
  color: var(--cream-200);
  font-style: italic;
  margin-top: 1rem;
}

/* ---------- World ---------- */

.world__gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.world__gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.world__gallery img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.world__gallery figure:hover img {
  transform: scale(1.06);
}

.world__family {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: var(--wood-800);
  border-radius: 14px;
  padding: 1.5rem;
}

.world__family img {
  border-radius: 8px;
  background: var(--cream-100);
  padding: 0.5rem;
}

.world__family p { color: var(--cream-200); margin: 0; }

/* ---------- Protagonist ---------- */

.protagonist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.protagonist__art img {
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.protagonist__text p { color: var(--cream-200); }

/* ---------- Footer ---------- */

.site-footer {
  text-align: center;
  padding: 3rem 1.5rem 2.5rem;
  background: var(--maroon-900);
  color: var(--cream-200);
}

.site-footer p { margin: 0.4rem 0 0; font-size: 0.9rem; }

.site-footer__copy { opacity: 0.6; font-size: 0.8rem; margin-top: 1rem; }

/* ---------- Responsive ---------- */

@media (max-width: 800px) {
  .synopsis, .protagonist, .world__family {
    grid-template-columns: 1fr;
  }

  .world__gallery {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .world__gallery {
    grid-template-columns: 1fr;
  }
}
