:root {
  --cream: #f4efe6;
  --paper: #fffaf3;
  --ink: #1c1c1c;
  --blue: #3c3b6e;
  --red: #b22234;
  --muted: #5c584f;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: Georgia, "Palatino Linotype", Palatino, serif;
  line-height: 1.45;
}
a { color: var(--blue); }
img { max-width: 100%; height: auto; display: block; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: #fff;
  padding: 8px 12px;
}
.skip:focus { top: 12px; }
.bar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  padding: 16px 28px;
  background: var(--blue);
  color: var(--cream);
}
.bar a { color: var(--cream); text-decoration: none; }
.mark { font-size: 20px; letter-spacing: 0.01em; }
.bar nav { display: flex; gap: 18px; font-family: "Segoe UI", sans-serif; font-size: 15px; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 36px 22px 72px; }
.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
}
.kicker {
  font-family: "Segoe UI", sans-serif;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 8px;
}
h1 { font-weight: normal; font-size: clamp(36px, 5vw, 54px); line-height: 1.08; margin: 0 0 14px; }
.lede { font-size: 20px; margin: 0 0 22px; }
.button {
  display: inline-block;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-family: "Segoe UI", sans-serif;
}
.hero figure { margin: 0; }
.hero img, .card img, .spread img {
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(60, 59, 110, 0.14);
}
.books { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 42px; }
.card {
  background: var(--paper);
  color: inherit;
  text-decoration: none;
  border-radius: 8px;
  overflow: hidden;
  border-top: 7px solid var(--red);
  box-shadow: 0 10px 24px rgba(60, 59, 110, 0.1);
}
.card.soon { border-top-color: var(--blue); }
.card.later { border-top-color: #c45c26; }
.cover {
  min-height: 168px;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  background: var(--blue);
  color: var(--cream);
  font-size: 28px;
}
.card.later .cover { background: #8a4b2a; }
.card div { padding: 16px 16px 18px; }
.card h2 { font-weight: normal; font-size: 26px; margin: 8px 0; }
.card p { margin: 0; }
.num {
  font-family: "Segoe UI", sans-serif;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.note { margin-top: 28px; color: #3d3a34; font-family: "Segoe UI", sans-serif; font-size: 15px; }
.foot {
  padding: 18px 28px 28px;
  font-family: "Segoe UI", sans-serif;
  font-size: 14px;
  color: var(--muted);
}
.story h1 { font-size: clamp(34px, 4vw, 48px); }
.story p { font-size: 20px; }
.spreads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.spread { color: inherit; text-decoration: none; }
.spread span { display: block; margin-top: 6px; font-family: "Segoe UI", sans-serif; font-size: 14px; }
.stage { max-width: 1100px; margin: 0 auto; padding: 16px 16px 40px; }
.frame {
  position: relative;
  background: #111;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.frame img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.words {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 94%;
  margin: 0;
  padding: 0.16em 0.45em 0.22em;
  color: var(--ink);
  font-size: clamp(15px, 2vw, 22px);
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
  background: rgba(244, 239, 230, 0.82);
  clip-path: polygon(0 8%, 8% 0, 22% 10%, 40% 0, 58% 9%, 76% 0, 92% 8%, 100% 2%, 100% 90%, 88% 100%, 70% 92%, 52% 100%, 34% 90%, 16% 100%, 0 92%);
}
.words.top { top: 2.2%; }
.words.bottom { bottom: 2.2%; }
.controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 12px;
  font-family: "Segoe UI", sans-serif;
}
button {
  font: inherit;
  background: var(--blue);
  color: var(--cream);
  border: 0;
  border-radius: 999px;
  padding: 10px 18px;
  cursor: pointer;
}
button:disabled { opacity: 0.35; cursor: default; }
.warn {
  background: #fff;
  border-left: 6px solid var(--red);
  padding: 12px 16px;
  font-family: "Segoe UI", sans-serif;
}
@media (max-width: 800px) {
  .hero, .books, .spreads { grid-template-columns: 1fr; }
  .bar { align-items: flex-start; flex-direction: column; }
  .words { white-space: normal; }
}
