:root {
  color-scheme: light dark;
  --bg: #f7f2e8; --ink: #0d0c13; --muted: #625c60; --line: #d8d0ca; --coral: #ff695d;
  --sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --serif: Georgia, Cambria, "Times New Roman", serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #0d0c13; --ink: #f7f2e8; --muted: #b9b4ae; --line: #393641; }
}
* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; background: var(--bg); color: var(--ink); font-family: var(--sans); }
a { color: inherit; text-underline-offset: .25em; }
a:focus-visible { outline: 3px solid var(--ink); outline-offset: 6px; }
::selection { background: var(--coral); color: #0d0c13; }
.skip-link { position: absolute; z-index: 2; top: .75rem; left: .75rem; padding: .75rem 1rem; background: var(--ink); color: var(--bg); transform: translateY(-200%); }
.skip-link:focus { transform: none; }
.masthead, .footer { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: 1.5rem 5vw; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -.04em; text-decoration: none; }
.mark { width: 34px; height: 22px; display: inline-block; position: relative; flex: 0 0 34px; }
.mark i, .mark b { position: absolute; width: 17px; height: 17px; border-radius: 7px; top: 2px; }
.mark i { background: var(--ink); left: 0; }
.mark b { background: var(--coral); right: 0; }
.mark em { height: 2px; width: 12px; background: var(--coral); position: absolute; top: 10px; left: 11px; z-index: 2; }
.languages { display: flex; gap: 1rem; font-size: .875rem; }
.languages a { padding: .65rem 0; color: var(--muted); text-decoration: none; }
.languages a[aria-current="page"] { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }
.hero { flex: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(16rem, .8fr); align-items: center; gap: clamp(2rem, 7vw, 7rem); width: 100%; padding: 2rem 8vw 3rem; }
.copy { max-width: 42rem; }
.edition { margin: 0 0 1.25rem; font-size: .75rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; }
h1 { margin: 0; font: normal clamp(4.75rem, 9.5vw, 9rem)/.88 var(--serif); letter-spacing: -.065em; }
.accent { color: var(--coral); }
h2 { margin: 2rem 0 1rem; font-size: clamp(1.5rem, 2.7vw, 2.25rem); line-height: 1.15; font-weight: 500; letter-spacing: -.045em; }
.lede { max-width: 36ch; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.4vw, 1.2rem); line-height: 1.6; }
.artwork { width: min(100%, 21rem); margin: 0; justify-self: center; }
.film { display: block; text-decoration: none; }
.film img { display: block; width: 100%; height: auto; transition: transform .2s ease; }
.film-caption { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem 0 .5rem; font-size: 1rem; font-weight: 650; }
.film-caption small { display: block; margin-top: .25rem; color: var(--muted); font-size: .75rem; font-weight: 400; }
.arrow { font-size: 1.75rem; transition: transform .2s ease; }
.film:hover img { transform: translateY(-3px); }
.film:hover .arrow { transform: translate(3px, -3px); }
.footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .8125rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer a { display: inline-block; padding: .6rem 0; }
.age { color: var(--ink); font-weight: 650; white-space: nowrap; }
.copy > * { animation: arrive .55s ease both; }
.copy > :nth-child(2) { animation-delay: .06s; }
.copy > :nth-child(3) { animation-delay: .12s; }
.copy > :nth-child(4) { animation-delay: .18s; }
.artwork { animation: arrive .65s .1s ease both; }
@keyframes arrive { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (min-width: 701px) and (max-height: 850px) {
  .artwork { width: min(100%, 17rem); }
  h1 { font-size: clamp(4.75rem, 8.5vw, 7rem); }
}
@media (max-width: 700px) {
  .masthead { flex-wrap: wrap; padding: 1rem 6vw; gap: .5rem 1.25rem; }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; padding: 2rem 6vw 2.5rem; }
  h1 { font-size: clamp(4.25rem, 20vw, 7.5rem); }
  h2 { margin-top: 1.5rem; }
  .artwork { width: min(100%, 20rem); }
  .footer { flex-wrap: wrap; padding: 1rem 6vw; gap: .25rem 1.5rem; }
  .footer nav { order: 3; flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .film:hover img, .film:hover .arrow { transform: none; }
}
