:root {
  color-scheme: light;
  --paper: #f6f3ed;
  --ink: #151e20;
  --muted: #505b59;
  --line: #cbc9bd;
  --night: #132023;
  --glow: #f0c791;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--paper);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; }
img { display: block; max-width: 100%; }
h1, h2, h3, p { margin: 0; }
h2, h3 { font-family: Georgia, "Times New Roman", serif; }
a { color: inherit; }
a:focus-visible { outline: 2px solid #bc6828; outline-offset: 5px; }

.container { width: min(100% - 6rem, 70rem); margin-inline: auto; }
.skip-link {
  position: absolute; inset: .5rem auto auto .5rem; z-index: 2;
  padding: .7rem 1rem; color: var(--ink); background: var(--glow);
  transform: translateY(-200%);
}
.skip-link:focus { transform: none; }

.masthead { background: var(--night); color: #f4eee3; }
.masthead-inner {
  min-height: 4.5rem; display: flex; align-items: center;
  justify-content: space-between; gap: 1.25rem;
}
.brand { font-size: 1.17rem; font-weight: 700; font-family: Georgia, "Times New Roman", serif; }
nav { display: flex; flex-wrap: wrap; gap: .5rem 1.4rem; }
nav a { text-decoration: none; font-size: .94rem; white-space: nowrap; }
nav a:hover { color: var(--glow); }

.hero { position: relative; isolation: isolate; background: #22343a; color: #f8f4ec; }
.hero-photo {
  position: absolute; inset: 0; width: 100%; height: 100%;
  z-index: -2; object-fit: cover; object-position: center;
}
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(9, 20, 25, .93), rgba(10, 22, 28, .79) 32%,
                              rgba(10, 22, 28, .29) 66%, rgba(8, 18, 24, .1));
}
.hero-inner { display: grid; align-content: center; min-height: 27rem; padding-block: 3rem; }
.hero h2 {
  max-width: 12ch; margin-bottom: 1rem; font-size: clamp(2.65rem, 6.25vw, 5rem);
  line-height: .98; letter-spacing: -.035em;
}
.hero-copy { max-width: 25rem; font-size: 1rem; line-height: 1.7; }
.hero-link {
  width: fit-content; margin-top: 1.55rem; padding: .62rem 1.1rem;
  border: 1px solid #f0c791; border-radius: 3px; font-size: .94rem;
  font-weight: 700; text-decoration: none; background: var(--glow); color: #172124;
}
.hero-link:hover { background: #ffe0b3; }

.editorial { padding-block: 2.75rem 3.25rem; }
.section-heading { margin-bottom: 1.35rem; }
.section-heading h2 { font-size: clamp(1.85rem, 4vw, 2.7rem); letter-spacing: -.025em; }
.section-heading p { max-width: 37rem; margin-top: .45rem; color: var(--muted); line-height: 1.6; }
.review-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.review img {
  width: 100%; height: auto; aspect-ratio: 1.58;
  object-fit: cover; border-radius: 3px; background: #d6d1c6;
}
.film-meta { color: var(--muted); font-size: .875rem; line-height: 1.5; }
.review .film-meta { margin-top: 1rem; }
.review h3, .short-note h3 { margin-block: .35rem .5rem; font-size: 1.6rem; line-height: 1.14; }
.review p:last-child, .short-note > p { max-width: 38rem; font-size: 1rem; line-height: 1.72; }
.review, .short-note { scroll-margin-top: 1rem; }
.review:target h3, .short-note:target h3 { color: #8a461e; }
.short-note {
  display: grid; grid-template-columns: minmax(11rem, .6fr) 1.4fr; gap: 1.25rem;
  margin-top: 1.9rem; padding-block: 1.45rem; border-block: 1px solid var(--line);
}
.short-note h3 { margin-bottom: 0; }

.world-notes, .watchlist { margin-top: 3.25rem; }
.world-grid, .pairings {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem;
}
.world-grid article { border-top: 1px solid var(--line); padding-top: .85rem; }
.pairings { margin: 0; padding: 0; list-style: none; }
.pairings li { border-top: 2px solid #926038; padding: 1rem 1rem 1.15rem; background: #eee9de; }
.pairings h3 { font-size: 1.4rem; line-height: 1.15; }
.pairings p { margin-top: .6rem; line-height: 1.6; }
.pair-films { font-weight: 650; }
.pair-films a { text-decoration-color: #926038; text-underline-offset: .19em; }
.pair-films a:hover { color: #8a461e; }
.pairings p:last-child { color: var(--muted); }

.footer {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  min-height: 4.2rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .875rem;
}
.footer span:first-child { font-weight: 700; }

@media (max-width: 60rem) {
  .world-grid, .pairings { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 44rem) {
  .container { width: calc(100% - 2rem); }
  .masthead-inner { min-height: 4rem; flex-wrap: wrap; gap: .5rem 1.1rem; padding-block: .7rem; }
  nav { gap: .65rem 1.05rem; }
  .hero-inner { min-height: 23.5rem; }
  .hero-photo { object-position: 59% center; }
  .hero::before { background: linear-gradient(90deg, rgba(9, 20, 25, .91), rgba(10, 22, 28, .55) 80%); }
  .hero-copy { max-width: 18rem; }
  .editorial { padding-block: 2rem 2.5rem; }
  .review-grid, .world-grid, .pairings { grid-template-columns: 1fr; gap: 1.4rem; }
  .short-note { grid-template-columns: 1fr; gap: .55rem; }
}
