@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/newsreader-latin-400.woff2') format('woff2');
}

:root {
  color-scheme: light;
  --paper: #f5f3ed;
  --ink: #2d302b;
  --muted: #62665e;
  --line: #d4d6cc;
  --accent: #8d5f29;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
p, h1, h2 { margin: 0; }
a { color: inherit; text-underline-offset: .25em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
main:focus { outline: none; }
::selection { background: #dbe0d2; color: var(--ink); }
.site-shell { width: min(calc(100% - 5rem), 60rem); margin-inline: auto; }
.skip-link { position: fixed; left: 1rem; top: -5rem; padding: .6rem 1rem; background: var(--ink); color: var(--paper); z-index: 1; }
.skip-link:focus { top: 1rem; color: var(--paper); }

.site-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-top: 1.5rem; }
.header-caption { font-size: .875rem; color: var(--muted); }
.site-header nav { display: flex; gap: 1.75rem; }
.site-header nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: .875rem; text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }

.introduction { padding-block: 3.75rem 4rem; }
h1 { font-family: var(--serif); font-size: 2.5rem; font-weight: 400; font-optical-sizing: auto; letter-spacing: -.025em; line-height: 1.2; }
.introduction p { margin-top: .85rem; color: var(--muted); font-size: 1rem; }
.label-period { color: var(--accent); }

.editorial-row { display: grid; grid-template-columns: 10.5rem minmax(0, 1fr); gap: 2rem; border-top: 1px solid var(--line); }
.section-label { padding-top: .35rem; color: var(--muted); font-family: var(--sans); font-size: .875rem; font-weight: 400; line-height: 1.6; }
.section-content { max-width: 36rem; }
.film-section { padding-block: 2.5rem 3rem; }
.film-section h2 { font-family: var(--serif); font-size: 1.875rem; font-weight: 400; font-optical-sizing: auto; line-height: 1.2; letter-spacing: -.015em; }
.film-section h2 { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: .22em; }
.film-reference { margin: 0 0 1.75rem; }
.film-reference img { display: block; width: 100%; height: auto; }
.film-reference figcaption { margin-top: .55rem; font-size: .75rem; color: var(--muted); }
.film-meta { margin-top: .55rem; font-size: .875rem; color: var(--muted); }
.film-meta span { margin-inline: .3rem; }
.synopsis { margin-top: 1.5rem; max-width: 51ch; }
.synopsis p + p { margin-top: .8rem; }
.release-note { margin-top: 1.75rem; font-size: .875rem; color: var(--muted); }
.about-section { padding-block: 2.25rem 2.75rem; }
.about-copy { max-width: 53ch; }
.about-copy p + p { margin-top: 1rem; font-size: .875rem; color: var(--muted); }
.about-copy a { display: inline-block; padding-block: .25rem; }

.social-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; margin-top: 1rem; font-size: .875rem; }
.social-links a { display: inline-flex; align-items: center; min-height: 44px; }
.social-links a:hover { color: var(--accent); }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1rem 1.75rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.site-footer a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }

@media (max-width: 680px) {
  .site-shell { width: calc(100% - 2.5rem); }
  .site-header { padding-top: .8rem; }
  .site-header nav { gap: 1.25rem; }
  .introduction { padding-block: 2.75rem 2.5rem; }
  h1 { font-size: 2rem; }
  .introduction p { max-width: 30ch; }
  .editorial-row { grid-template-columns: 1fr; gap: 1.1rem; }
  .film-section { padding-block: 1.5rem 2rem; }
  .section-label { padding-top: 0; }
  .film-section h2 { font-size: 1.75rem; }
  .synopsis { margin-top: 1.25rem; }
  .release-note { margin-top: 1.5rem; }
  .about-section { padding-block: 1.5rem 2rem; }
  .site-footer { align-items: flex-start; flex-wrap: wrap; gap: .25rem 1rem; padding-block: .75rem 1rem; }
  .site-footer p { padding-block: .7rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
@media (forced-colors: active) {
  .editorial-row, .site-footer { border-color: CanvasText; }
}
