:root {
  --bg: #fbf7f1;
  --paper: #ffffff;
  --ink: #221c17;
  --muted: #6b625a;
  --line: #e7dfd4;
  --accent: #c8541d;
  --accent-dark: #8f3a11;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
}

a { color: var(--accent-dark); }

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* header */
.site-header {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  font-size: 22px;
  font-weight: bold;
  letter-spacing: .02em;
  text-decoration: none;
  color: var(--ink);
}
.brand span { color: var(--accent); }
.site-header nav a {
  margin-left: 22px;
  text-decoration: none;
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
}
.site-header nav a:hover,
.site-header nav a.active { color: var(--ink); }

/* hero */
.hero {
  background: linear-gradient(135deg, #f4e6d6 0%, #fbf7f1 60%);
  border-bottom: 1px solid var(--line);
  padding: 56px 0 48px;
}
.kicker {
  margin: 0 0 10px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
}
.hero h1 {
  margin: 0 0 14px;
  font-size: clamp(30px, 5vw, 46px);
  line-height: 1.12;
  font-weight: normal;
}
.lede {
  max-width: 720px;
  margin: 0;
  font-size: 19px;
  color: var(--muted);
}

/* sections */
.section-head {
  margin: 48px 0 20px;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}
.section-head h2 {
  margin: 0;
  font-size: 26px;
  font-weight: normal;
}
.section-head p {
  margin: 0;
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 15px;
}

/* cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.poster {
  aspect-ratio: 2 / 3;
  display: flex;
  align-items: flex-end;
  padding: 16px;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  text-shadow: 0 1px 2px rgba(0,0,0,.35);
}
.p1  { background: linear-gradient(160deg, #3b3a2c, #8a8562); }
.p2  { background: linear-gradient(160deg, #6b1f14, #d9893a); }
.p3  { background: linear-gradient(160deg, #1d2a4a, #a0763b); }
.p4  { background: linear-gradient(160deg, #4a2a10, #c7792a); }
.p5  { background: linear-gradient(160deg, #1f1f1f, #6e3a2a); }
.p6  { background: linear-gradient(160deg, #7a1437, #f0a24b); }
.p7  { background: linear-gradient(160deg, #2f4a1f, #c9b35a); }
.p8  { background: linear-gradient(160deg, #111, #5a4a3a); }
.p9  { background: linear-gradient(160deg, #3a1a0a, #b8862a); }
.p10 { background: linear-gradient(160deg, #1a2a3a, #4a7a9a); }
.p11 { background: linear-gradient(160deg, #0f2a1a, #b24a1a); }
.p12 { background: linear-gradient(160deg, #2a2a3a, #8a7a5a); }

.meta { padding: 14px 16px 18px; }
.meta h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: normal;
}
.facts {
  margin: 0 0 8px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.meta p:last-child {
  margin: 0;
  font-size: 15px;
}

/* tags */
.tags {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.tags li {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 14px;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
  color: var(--muted);
}

/* notes */
.notes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 22px;
}
.note {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 18px 20px;
}
.note time {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.note h3 {
  margin: 6px 0 8px;
  font-size: 19px;
  font-weight: normal;
}
.note p { margin: 0; font-size: 15px; }

/* inner page */
.page { max-width: 740px; padding-top: 40px; padding-bottom: 20px; }
.page h1 { font-weight: normal; font-size: 36px; margin: 0 0 18px; }
.page h2 { font-weight: normal; font-size: 24px; margin: 30px 0 10px; }
.small { color: var(--muted); font-size: 14px; }

/* footer */
.site-footer {
  margin-top: 56px;
  padding: 26px 0 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px;
}
.site-footer p { margin: 0 0 6px; }

@media (max-width: 640px) {
  .site-header nav a { margin-left: 14px; font-size: 14px; }
  .hero { padding: 40px 0 34px; }
}
