:root {
  --ink: #241f1a;
  --paper: #f7f2e9;
  --gold: #b07805;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-width: 320px;
  min-height: 100%;
  margin: 0;
}

body {
  min-height: 100svh;
}

.landing-page {
  isolation: isolate;
  position: relative;
  display: grid;
  min-height: 100svh;
  overflow: hidden;
  place-items: center;
  padding: clamp(1.5rem, 5vw, 5rem);
  background: var(--paper);
}

.poster-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(8rem, 1fr));
  gap: clamp(0.8rem, 2vw, 2rem);
  overflow: hidden;
  padding: 0 clamp(0.75rem, 4vw, 5rem);
}

.poster-field::before,
.poster-field::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  pointer-events: none;
}

.poster-field::before {
  background: linear-gradient(
    90deg,
    rgba(247, 242, 233, 0.38),
    transparent 24%,
    transparent 76%,
    rgba(247, 242, 233, 0.38)
  );
}

.poster-field::after {
  background: radial-gradient(
    ellipse 36% 52% at center,
    rgba(247, 242, 233, 0.1) 0,
    rgba(247, 242, 233, 0.72) 62%,
    var(--paper) 100%
  );
}

.poster-rail {
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(1rem, 3vw, 3rem) 0;
  animation: scroll-up 34s linear infinite;
}

.rail-2,
.rail-4 {
  animation-name: scroll-down;
  animation-duration: 42s;
}

.rail-3 {
  animation-duration: 38s;
}

.poster {
  position: relative;
  flex: 0 0 auto;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: clamp(0.75rem, 1.2vw, 1.2rem);
  background: #d8d0c3;
  box-shadow: 0 1rem 2.5rem rgba(59, 42, 18, 0.18);
  margin-bottom: clamp(0.8rem, 2vw, 1.6rem);
}

.poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: scale 300ms ease;
}

.poster:hover img {
  scale: 1.04;
}

.poster::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(20, 14, 8, 0.78));
  content: "";
}

.poster-meta {
  position: absolute;
  z-index: 1;
  right: 0.7rem;
  bottom: 0.7rem;
  left: 0.7rem;
  display: grid;
  gap: 0.15rem;
  color: #fff;
  text-shadow: 0 1px 0.4rem rgba(0, 0, 0, 0.8);
}

.poster-meta span {
  font-size: clamp(0.46rem, 0.58vw, 0.65rem);
  font-weight: 700;
  letter-spacing: 0.12em;
  opacity: 0.7;
  text-transform: uppercase;
}

.poster-meta strong {
  font-size: clamp(0.7rem, 1vw, 1.05rem);
  letter-spacing: -0.035em;
  line-height: 1;
}

.hero {
  z-index: 2;
  display: flex;
  width: min(100%, 38rem);
  align-items: center;
  flex-direction: column;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 1.5rem;
  background: rgba(247, 242, 233, 0.68);
  box-shadow: 0 1.5rem 5rem rgba(68, 46, 15, 0.1);
  text-align: center;
  backdrop-filter: blur(14px);
}

.eyebrow {
  margin-bottom: clamp(1.25rem, 2vw, 2rem);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.brand-mark {
  width: 2.6rem;
  aspect-ratio: 0.86;
  background: var(--gold);
  border-radius: 0 50% 50% 0;
  box-shadow: 0 0 2rem rgba(176, 120, 5, 0.3);
}

h1 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(2.25rem, 6vw, 4.75rem);
  font-weight: 650;
  letter-spacing: -0.075em;
  line-height: 0.88;
}

.lede {
  max-width: 27rem;
  margin: clamp(1.6rem, 3vw, 2.3rem) 0 0;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  letter-spacing: -0.025em;
  line-height: 1.45;
}

.launch-note {
  margin: 1rem 0 0;
  color: rgba(36, 31, 26, 0.58);
  font-size: clamp(0.8rem, 1.2vw, 0.93rem);
}

.credit {
  position: absolute;
  z-index: 2;
  right: clamp(1rem, 2vw, 2rem);
  bottom: clamp(0.8rem, 2vw, 1.5rem);
  margin: 0;
  color: rgba(36, 31, 26, 0.45);
  font-size: 0.62rem;
}

@keyframes scroll-up {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(-50%);
  }
}

@keyframes scroll-down {
  from {
    transform: translateY(-50%);
  }

  to {
    transform: translateY(0);
  }
}

@media (max-width: 700px) {
  .landing-page {
    padding: 1.25rem;
  }

  .poster-field {
    inset: 0;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
    padding: 0 0.7rem;
  }

  .poster-field::before {
    background: linear-gradient(
      180deg,
      var(--paper) 0,
      rgba(247, 242, 233, 0.62) 18%,
      transparent 34%,
      transparent 66%,
      rgba(247, 242, 233, 0.62) 82%,
      var(--paper) 100%
    );
  }

  .poster-field::after {
    background: linear-gradient(180deg, rgba(247, 242, 233, 0.03), rgba(247, 242, 233, 0.38));
  }

  .poster-rail {
    padding: 0.7rem 0;
    animation-duration: 28s;
  }

  .rail-2,
  .rail-4 {
    animation-duration: 34s;
  }

  .poster {
    margin-bottom: 0.7rem;
  }

  .rail-4 {
    display: none;
  }

  .hero {
    width: 100%;
    padding: 1.8rem 1.3rem;
    border-radius: 1.2rem;
  }

  .credit {
    display: none;
  }
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f5eee5;
    --paper: #171515;
    --gold: #f0b43c;
  }

  .poster-field::before {
    background: linear-gradient(
      90deg,
      rgba(23, 21, 21, 0.34),
      transparent 24%,
      transparent 76%,
      rgba(23, 21, 21, 0.34)
    );
  }

  .poster-field::after {
    background: radial-gradient(
      ellipse 36% 52% at center,
      rgba(23, 21, 21, 0.1) 0,
      rgba(23, 21, 21, 0.72) 62%,
      var(--paper) 100%
    );
  }

  .hero {
    border-color: rgba(255, 255, 255, 0.1);
    background: rgba(31, 28, 26, 0.7);
    box-shadow: 0 1.5rem 5rem rgba(0, 0, 0, 0.35);
  }

  .launch-note,
  .credit {
    color: rgba(245, 238, 229, 0.56);
  }

  @media (max-width: 700px) {
    .poster-field::before {
      background: linear-gradient(
        180deg,
        var(--paper) 0,
        rgba(23, 21, 21, 0.62) 18%,
        transparent 34%,
        transparent 66%,
        rgba(23, 21, 21, 0.62) 82%,
        var(--paper) 100%
      );
    }

    .poster-field::after {
      background: linear-gradient(180deg, rgba(23, 21, 21, 0.03), rgba(23, 21, 21, 0.38));
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  .poster-rail {
    animation: none;
  }
}
