:root {
  --bg: #060611;
  --paper: #f5f2eb;
  --muted: #bbb6c4;
  --violet: #9f72ff;
  --ember: #ff6c4a;
  --line: rgba(245, 242, 235, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
  color: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 68% 22%, rgba(255, 108, 74, 0.2), transparent 28%),
    radial-gradient(circle at 20% 30%, rgba(159, 114, 255, 0.24), transparent 30%),
    linear-gradient(135deg, #060611 0%, #151024 54%, #080915 100%);
}

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

.topbar {
  align-items: center;
  background: rgba(6, 6, 17, 0.88);
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  justify-content: space-between;
  padding: 16px clamp(18px, 4vw, 56px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.topbar a,
.actions a {
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

nav {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero,
.trailer-strip,
.archive-grid,
.editions {
  margin: 0 auto;
  max-width: 1240px;
  padding: clamp(42px, 8vw, 92px) clamp(18px, 4vw, 56px);
  scroll-margin-top: 76px;
}

.hero {
  align-items: center;
  display: grid;
  gap: clamp(30px, 5vw, 68px);
  grid-template-columns: minmax(260px, 0.72fr) minmax(0, 1.28fr);
  min-height: calc(100vh - 65px);
}

.hero-art {
  background:
    radial-gradient(circle at 50% 45%, rgba(255, 108, 74, 0.24), transparent 52%),
    rgba(245, 242, 235, 0.06);
  border: 1px solid var(--line);
  display: grid;
  gap: 14px;
  padding: 18px;
}

.hero-art img {
  display: block;
  width: 100%;
}

.cover {
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.eyebrow {
  color: var(--ember);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  letter-spacing: 0;
}

h1 {
  font-size: clamp(3.6rem, 8vw, 8rem);
  line-height: 0.82;
  max-width: 9ch;
}

h2 {
  font-size: clamp(3rem, 7.8vw, 7rem);
  line-height: 0.84;
}

h3 {
  font-size: clamp(1.35rem, 2.3vw, 2.3rem);
  line-height: 0.95;
}

.hero-copy p:not(.eyebrow),
.section-copy p,
.chapter-grid p,
.archive-grid p,
.edition-copy {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.16rem);
  line-height: 1.55;
}

.pen-note {
  border-left: 3px solid var(--violet);
  padding-left: 16px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.actions a {
  border: 1px solid var(--line);
  padding: 12px 14px;
}

.actions a:first-child {
  background: var(--ember);
  border-color: var(--ember);
  color: #130709;
}

.trailer-strip,
.editions {
  border-top: 1px solid var(--line);
  display: grid;
  gap: 34px;
  grid-template-columns: minmax(260px, 0.88fr) minmax(0, 1.12fr);
}

.chapter-grid {
  display: grid;
  gap: 14px;
}

.trailer-card {
  background: rgba(245, 242, 235, 0.06);
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: minmax(150px, 0.42fr) minmax(0, 0.58fr);
  overflow: hidden;
}

.trailer-card.text-card {
  grid-template-columns: 1fr;
}

.trailer-thumb {
  display: block;
  min-height: 190px;
  overflow: hidden;
  position: relative;
}

.trailer-thumb img {
  display: block;
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.28s ease;
  width: 100%;
}

.trailer-thumb:hover img {
  transform: scale(1.04);
}

.play-mark {
  background: var(--ember);
  bottom: 14px;
  color: #14070a;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 9px 11px;
  position: absolute;
  right: 14px;
  text-transform: uppercase;
}

.trailer-copy {
  display: grid;
  gap: 8px;
  padding: 18px;
}

.trailer-copy span {
  color: var(--ember);
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: 3.2rem;
  line-height: 0.9;
}

.trailer-copy strong {
  display: block;
  font-size: clamp(1.25rem, 2.4vw, 2rem);
  font-weight: 900;
  text-transform: uppercase;
}

.trailer-copy p {
  margin: 0;
}

.trailer-copy a {
  border: 1px solid var(--line);
  color: var(--paper);
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 900;
  justify-self: start;
  letter-spacing: 0.1em;
  margin-top: 8px;
  padding: 10px 12px;
  text-transform: uppercase;
}

.archive-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.archive-grid article {
  background: rgba(245, 242, 235, 0.06);
  border: 1px solid var(--line);
  overflow: hidden;
}

.archive-grid .wide {
  grid-column: span 2;
}

.archive-grid img {
  display: block;
  height: 320px;
  object-fit: cover;
  width: 100%;
}

.archive-grid span {
  color: var(--ember);
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  padding: 16px 16px 8px;
  text-transform: uppercase;
}

.archive-grid h3 {
  padding: 0 16px 18px;
}

footer {
  align-items: center;
  border-top: 1px solid var(--line);
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  padding: 24px clamp(18px, 4vw, 56px);
}

footer a {
  color: var(--ember);
  font-weight: 900;
  text-transform: uppercase;
}

@media (max-width: 880px) {
  .hero,
  .trailer-strip,
  .editions {
    grid-template-columns: 1fr;
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  nav {
    gap: 10px;
  }

  .archive-grid,
  .archive-grid .wide {
    grid-column: auto;
    grid-template-columns: 1fr;
  }

  .trailer-card {
    grid-template-columns: 1fr;
  }
}
