/* The memorial site. One look, taken from the films: a black stage, one image and one sentence at a time, Spectral for
   the words, Old Standard for names, and the archive pages on dark sketchbook paper with grain (site/style-guide.md). */
:root {
  --stage: #070605; --ink-l: #ebe3d4; --dim-l: #a3998a; --faint-l: #6f665a; --gold: #c9a46a;
  --ink: #261b11; --ink-dim: #5e4e3c; --faint: #8a7860; --accent: #7d4f1d; --paper: #d8c6a4; --line: rgba(38, 27, 17, .26);
  --name: "Old Standard TT", Georgia, serif; --body: "Spectral", Georgia, serif; --mono: "Courier Prime", ui-monospace, monospace;
  --grain: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .2  0 0 0 0 .14  0 0 0 0 .08  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}
* { box-sizing: border-box; }
html { background: var(--stage); }
body { margin: 0; background: var(--stage); color: var(--ink-l); font-family: var(--body); font-weight: 300; font-size: 18px; line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; }
.sc { font-variant: small-caps; letter-spacing: .07em; }

/* the header, the same on every page */
.site-h { position: fixed; top: 0; left: 0; right: 0; z-index: 20; display: flex; align-items: baseline; gap: 22px; padding: 14px clamp(16px, 3vw, 34px) 26px;
  background: linear-gradient(to bottom, rgba(7,6,5,.92), rgba(7,6,5,.6) 60%, transparent); }
.site-h .mark { font-family: var(--name); font-style: italic; font-size: 19px; text-decoration: none; color: var(--ink-l); margin-right: auto; }
.site-h nav { display: flex; gap: clamp(12px, 2vw, 24px); }
.site-h nav a { font-size: 15px; text-decoration: none; color: var(--dim-l); padding: 4px 0; border-bottom: 1px solid transparent; }
.site-h nav a:hover, .site-h nav a[aria-current] { color: var(--ink-l); border-bottom-color: var(--faint-l); }
.site-h .menu-btn { display: none; }
/* phones: the name on the left, a menu button on the right, the links in a panel below */
@media (max-width: 700px) {
  .site-h { align-items: center; padding: 10px 16px; background: rgba(7,6,5,.96); border-bottom: 1px solid rgba(235,227,212,.08); }
  .site-h .menu-btn { display: flex; flex-direction: column; justify-content: center; gap: 5px; width: 44px; height: 40px; padding: 0 10px; margin-right: -10px;
    background: none; border: 0; cursor: pointer; }
  .site-h .menu-btn span { display: block; height: 2px; background: var(--ink-l); border-radius: 1px; transition: transform .25s, opacity .25s; }
  .site-h.open .menu-btn span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .site-h.open .menu-btn span:nth-child(2) { opacity: 0; }
  .site-h.open .menu-btn span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .js .site-h nav { display: none; }
  .site-h nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 0; padding: 6px 0 14px; background: rgba(7,6,5,.97); border-bottom: 1px solid rgba(235,227,212,.1); }
  .js .site-h.open nav { display: flex; }
  .site-h nav a { font-size: 19px; padding: 12px 16px; border-bottom: 0; border-left: 3px solid transparent; }
  .site-h nav a[aria-current] { border-left-color: var(--gold); border-bottom-color: transparent; }
}

.foot { max-width: 680px; margin: 60px auto 50px; padding: 0 16px; text-align: center; color: var(--faint-l); font-size: 15px; }
.foot a { color: var(--dim-l); }

/* reveal: one thing at a time, as the films do */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1.8s ease, transform 1.8s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------------------------------------------- home */
.h-open { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.h-open > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; filter: brightness(.42) sepia(.25); }
.h-open::after { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 40% 40%, transparent 30%, rgba(7,6,5,.55) 80%), linear-gradient(to bottom, transparent 40%, var(--stage)); }
.h-t { position: relative; z-index: 1; max-width: 760px; margin: 0 auto; padding: 84px 20px 9vh; text-align: center; }
.h-line { font-size: clamp(24px, 3.4vw, 38px); line-height: 1.3; margin: 0; color: #f2eadb; text-shadow: 0 2px 20px #000; }
.h-sub { font-size: clamp(17px, 1.8vw, 20px); color: #cfc4b2; margin: 18px auto 0; max-width: 600px; text-shadow: 0 1px 12px #000; }
.choices { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }
.choice { display: block; min-width: 250px; padding: 14px 22px; border: 1px solid rgba(201,164,106,.55); background: rgba(7,6,5,.5); text-decoration: none; color: #f2eadb; font-size: 19px; transition: border-color .6s, background .6s; }
.choice span { display: block; font-size: 14px; color: var(--dim-l); font-style: italic; margin-top: 2px; }
.choice:hover, .choice:focus-visible { border-color: var(--gold); background: rgba(40,30,20,.6); outline: none; }
.h-cue { margin-top: 30px; font-size: 14px; color: var(--faint-l); font-style: italic; }

.stones { max-width: 1060px; margin: 0 auto; padding: 8vh 20px 0; }
.stones > .intro { text-align: center; color: var(--dim-l); font-style: italic; margin: 0 auto 8vh; max-width: 560px; }
.srow { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(22px, 5vw, 70px); align-items: center; margin: 0 0 16vh; }
.srow:nth-child(odd of .srow) .st { order: 2; }
.srow .st-t { max-width: 470px; }
.srow .rel { color: var(--gold); font-style: italic; margin: 0 0 2px; font-size: 16px; }
.srow h2 { font-family: var(--name); font-weight: 400; font-size: clamp(28px, 3.4vw, 40px); line-height: 1.15; margin: 0 0 12px; }
.srow h2 a { text-decoration: none; }
.srow .en { margin: 0 0 10px; color: #ddd3c2; }
.srow .now { margin: 0 0 12px; color: var(--dim-l); font-size: 16.5px; }
.srow .life { font-style: italic; color: var(--dim-l); font-size: 16px; margin: 0 0 16px; }
.more { display: inline-block; text-decoration: none; color: var(--ink-l); border-bottom: 1px solid var(--gold); padding-bottom: 2px; font-size: 16.5px; }
.more + .more { margin-left: 22px; }
.filmlines { list-style: none; padding: 0; margin: 4px 0 18px; }
.filmlines li { margin: 4px 0; font-size: 16px; color: var(--dim-l); }
.filmlines a { color: var(--ink-l); text-decoration: none; border-bottom: 1px solid rgba(201,164,106,.5); }
@media (max-width: 720px) {
  .srow { grid-template-columns: 1fr; margin-bottom: 11vh; gap: 18px; }
  .srow:nth-child(odd of .srow) .st { order: 0; }
  .srow .st { width: min(78vw, 340px); margin: 0 auto; }
  .srow .st-t { text-align: center; margin: 0 auto; }
}

/* a stone: the drawn brass with the real inscription set as type */
.st { position: relative; margin: 0; aspect-ratio: 1; container-type: inline-size; }
.st > img { width: 100%; height: 100%; display: block; object-fit: cover; }
.st .plate { position: absolute; left: 18.2%; top: 17.7%; width: 62.6%; height: 61.5%; display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif; font-weight: 600; font-size: 4.6cqw; line-height: 1.16; letter-spacing: .05em; text-align: center;
  color: rgba(58, 38, 18, .86); text-shadow: 0 .12cqw 0 rgba(255, 236, 190, .45), 0 -.06cqw .1cqw rgba(30, 18, 6, .5); }
.st .plate .ln { display: block; text-decoration: none; padding: 0 1cqw; }
.st .plate a.ln { position: relative; }
.st .plate a.ln::after { content: ""; position: absolute; inset: -25% -6%; background: radial-gradient(closest-side, rgba(255,228,175,.55), rgba(255,228,175,0)); mix-blend-mode: screen; opacity: 0; transition: opacity .8s; pointer-events: none; }
.st .plate a.ln:hover::after, .st .plate a.ln:focus-visible::after { opacity: 1; }
.st .plate a.ln:focus-visible { outline: none; }
.st.v1 > img { transform: scaleX(-1) rotate(1deg); filter: brightness(.9); }
.st.v2 > img { transform: rotate(-1.4deg) scale(1.04); filter: brightness(.82) sepia(.15); }
.st.v3 > img { transform: scaleY(-1) rotate(.6deg); filter: brightness(.88) contrast(1.05); }
.st.v4 > img { transform: rotate(2deg) scale(1.05); filter: brightness(.78); }
.st { box-shadow: 0 0 0 1px rgba(0,0,0,.6), 0 20px 50px rgba(0,0,0,.6); overflow: hidden; }

/* ---------------------------------------------------------------- the archive pages: dark sketchbook paper */
.paper-page main { padding-top: 0; }
.banner { position: relative; height: 46vh; min-height: 260px; overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; display: block; filter: brightness(.5) sepia(.3); }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(7,6,5,.5), transparent 30%, transparent 55%, var(--stage)); }
.nobanner { height: 90px; }
.sheet { position: relative; max-width: 860px; margin: -16vh auto 0; padding: 50px clamp(20px, 6vw, 70px) 46px; color: var(--ink); z-index: 1;
  background: radial-gradient(ellipse at 30% 12%, rgba(255,246,226,.38), transparent 60%), radial-gradient(ellipse at 85% 100%, rgba(90,60,25,.25), transparent 60%), var(--paper);
  box-shadow: 0 0 0 1px rgba(0,0,0,.4), 0 40px 120px rgba(0,0,0,.85), inset 0 0 140px rgba(70,45,15,.45); }
.nobanner + .sheet { margin-top: 0; }
.sheet::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: var(--grain); opacity: .55; mix-blend-mode: multiply; }
.sheet > * { position: relative; }
.sheet a { color: var(--accent); text-decoration: none; border-bottom: 1px solid rgba(125,79,29,.4); }
.sheet a:hover { color: var(--ink); }
.sheet h1 { font-family: var(--name); font-weight: 400; font-size: clamp(32px, 5vw, 50px); line-height: 1.1; margin: 4px 0 10px; }
.sheet h2 { font-family: var(--name); font-weight: 400; font-size: 23px; margin: 38px 0 8px; }
.sheet h3 { font-weight: 400; font-style: italic; font-size: 19px; margin: 18px 0 4px; }
.sheet p, .sheet li { font-size: 18px; }
.sheet .rel { font-style: italic; color: var(--accent); margin: 0; font-size: 18px; }
.sheet .life { font-style: italic; color: var(--ink-dim); margin: 0; font-size: 18px; }
.sheet .age { margin: 4px 0 0; color: var(--ink-dim); font-size: 17px; }
.ph { overflow: hidden; padding-bottom: 18px; }
.lead p { font-size: 20px; line-height: 1.62; }
.lead p:first-child::first-letter { font-family: var(--name); font-size: 3.1em; float: left; line-height: .9; margin: .06em .08em 0 0; color: var(--accent); }
.period { border-left: 1.5px solid var(--line); padding-left: 18px; margin-left: 2px; }
.period h2 { margin-top: 28px; font-size: 20px; color: var(--ink-dim); }
.period p { margin: 4px 0 0; }

.print { float: right; margin: 4px 0 16px 22px; background: #f2ead9; padding: 7px 7px 22px; box-shadow: 0 6px 18px rgba(30,18,6,.45); transform: rotate(2deg); max-width: 46%; }
.print img { display: block; width: 190px; max-width: 100%; height: 240px; object-fit: cover; filter: grayscale(.2) sepia(.18); }
.print.doc img { object-fit: contain; background: #e8ddc8; filter: sepia(.15); }
.print figcaption { font-size: 13px; font-style: italic; color: var(--ink-dim); max-width: 190px; margin-top: 6px; line-height: 1.35; }
.print.empty span { width: 190px; max-width: 100%; height: 240px; display: flex; align-items: center; justify-content: center; text-align: center; padding: 16px;
  border: 1px dashed var(--faint); font-style: italic; font-size: 16px; color: var(--faint); }
@media (max-width: 560px) { .print { width: 42%; margin-left: 14px; } .print img, .print.empty span { width: 100%; height: auto; aspect-ratio: 19 / 24; } .print figcaption { font-size: 12px; } .lead p { font-size: 18.5px; } }

.pstone { display: grid; grid-template-columns: 200px 1fr; gap: 24px; align-items: center; margin: 34px 0 8px; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.pstone .en { margin: 0; font-style: italic; }
.pstone .note { margin: 8px 0 0; font-size: 15px; color: var(--ink-dim); }
@media (max-width: 560px) { .pstone { grid-template-columns: 1fr; } .pstone .st { width: 200px; } }

.kin { list-style: none; padding: 0; margin: 6px 0 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 10px 22px; }
.kin li { font-size: 17px; line-height: 1.35; }
.kin .k { display: block; font-size: 14.5px; font-style: italic; color: var(--ink-dim); }
.kin .d { color: var(--ink-dim); font-size: 15px; }
.kin .lv { color: var(--ink-dim); font-style: italic; }

.films-l { list-style: none; padding: 0; margin: 6px 0 0; }
.films-l li { margin: 8px 0; }
.films-l .why { display: block; font-size: 15.5px; color: var(--ink-dim); font-style: italic; }
.papers-l { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 18px; margin-top: 10px; }
.papers-l a { border: 0; color: var(--ink); font-size: 15px; line-height: 1.3; }
.papers-l img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: #e8ddc8; box-shadow: 0 4px 12px rgba(30,18,6,.35); margin-bottom: 8px; filter: sepia(.15); }
.dontknow p { font-style: italic; color: var(--ink-dim); }

details.records { margin-top: 44px; border-top: 1.5px solid var(--line); padding-top: 14px; }
details.records > summary { cursor: pointer; font-family: var(--name); font-size: 21px; list-style: none; }
details.records > summary::-webkit-details-marker { display: none; }
details.records > summary::before { content: "+"; display: inline-block; width: 1.1em; color: var(--accent); }
details.records[open] > summary::before { content: "–"; }
details.records > summary span { font-family: var(--body); font-style: italic; font-size: 15px; color: var(--ink-dim); margin-left: 10px; }
.records h2 { font-size: 19px; margin-top: 26px; }
.records p, .records li { font-size: 16px; }
.records table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 8px 0; }
.records th { text-align: left; font-weight: 400; font-style: italic; color: var(--ink-dim); border-bottom: 1px solid var(--line); padding: 6px 8px 6px 0; }
.records td { vertical-align: top; padding: 7px 10px 7px 0; border-bottom: 1px solid rgba(38,27,17,.12); }
.records td:first-child { white-space: nowrap; font-style: italic; color: var(--ink-dim); }
.records .src { font-family: var(--mono); font-size: 11px; color: var(--faint); }
.records blockquote { margin: 10px 0; padding-left: 14px; border-left: 2px solid var(--line); font-style: italic; }
.records code, .records pre { font-family: var(--mono); font-size: 13px; white-space: pre-wrap; }
@media (max-width: 560px) { .records td:first-child { white-space: normal; } .records table { font-size: 14px; } }
.sheet .src-note { font-size: 14.5px; font-style: italic; color: var(--ink-dim); margin-top: 26px; }
.pager { display: flex; justify-content: space-between; gap: 16px; max-width: 860px; margin: 26px auto 0; padding: 0 20px; font-size: 16px; }
.pager a { color: var(--dim-l); text-decoration: none; }
.pager a:hover { color: var(--ink-l); }

/* papers */
.plist { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 30px 24px; margin-top: 20px; }
.plist a { border: 0; color: var(--ink); }
.plist img { display: block; width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: top; background: #e8ddc8; box-shadow: 0 6px 16px rgba(30,18,6,.4); filter: sepia(.15); margin-bottom: 10px; }
.plist .t { display: block; font-size: 17px; line-height: 1.3; }
.plist .dt { display: block; font-size: 14.5px; font-style: italic; color: var(--ink-dim); }
.scan { margin: 20px 0; }
.scan img { display: block; width: 100%; background: #e8ddc8; box-shadow: 0 8px 24px rgba(30,18,6,.45); margin-bottom: 18px; }
.de-en { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 18px 0; }
.de-en p { margin: 0; } .de-en .de { font-style: italic; color: var(--ink-dim); }
@media (max-width: 600px) { .de-en { grid-template-columns: 1fr; gap: 10px; } }
.ref { font-family: var(--mono); font-size: 12.5px; color: var(--faint); }

/* plain prose pages (about, not found) */
.prose h2 { margin-top: 30px; }
.prose ul { padding-left: 20px; }

/* ---------------- the document room: every document, searchable, and a viewer */
.sheet.wide { max-width: 1060px; }
.finder { position: sticky; top: 0; z-index: 3; background: var(--paper); background-image: var(--grain); padding: 14px 0 10px; margin: 10px 0 6px; border-bottom: 1px solid var(--line); }
.finder input { width: 100%; font: 19px var(--body); padding: 12px 14px; border: 1px solid var(--line); background: #efe5d0; color: var(--ink); border-radius: 2px; }
.finder input:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.chips button { font: 14.5px var(--body); padding: 5px 11px; border: 1px solid var(--line); background: transparent; color: var(--ink-dim); border-radius: 2px; cursor: pointer; }
.chips button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.count { margin: 8px 0 0; font-size: 14.5px; font-style: italic; color: var(--ink-dim); }
.dlist { list-style: none; padding: 0; margin: 0; }
.dlist li { border-bottom: 1px solid var(--line); }
.dlist a { display: grid; grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; border: 0; color: var(--ink); align-items: start; }
.dlist a:hover .t, .dlist a:focus-visible .t { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.dlist img, .dlist .noimg { width: 96px; height: 120px; object-fit: cover; object-position: top; background: #e8ddc8; box-shadow: 0 4px 10px rgba(30,18,6,.35); filter: sepia(.15); display: block; }
.dlist .noimg { display: grid; place-items: center; font: italic 14px var(--body); color: var(--ink-dim); }
.dlist .b { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dlist .t { font-size: 18px; line-height: 1.3; }
.dlist .dt { font-size: 14.5px; font-style: italic; color: var(--ink-dim); }
.dlist .c { font: 12px var(--mono); letter-spacing: .04em; text-transform: uppercase; color: var(--faint); }
.dlist .s { font-size: 15.5px; line-height: 1.45; color: var(--ink-dim); margin-top: 3px; }
.dlist .none { padding: 30px 0; font-style: italic; color: var(--ink-dim); }
@media (max-width: 560px) { .dlist a { grid-template-columns: 64px 1fr; gap: 12px; } .dlist img, .dlist .noimg { width: 64px; height: 82px; } }

body.viewing { overflow: hidden; }
.viewer { position: fixed; inset: 0; z-index: 100; background: rgba(6,5,4,.96); display: grid; grid-template-columns: 1fr 380px; color: var(--ink-l); }
.viewer[hidden] { display: none; }
.v-img { overflow: hidden; display: grid; place-items: center; padding: 24px; cursor: zoom-in; touch-action: none; }
.v-img img { max-width: 100%; max-height: calc(100vh - 48px); object-fit: contain; box-shadow: 0 10px 40px rgba(0,0,0,.6); background: #e8ddc8; user-select: none; -webkit-user-drag: none; }
.v-img.zoom { overflow: auto; display: block; cursor: grab; padding: 0; }
.v-img.zoom img { max-width: none; max-height: none; width: auto; margin: 0 auto; display: block; }
.v-side { background: #12100d; border-left: 1px solid #2a251e; padding: 22px 26px 30px; overflow-y: auto; font: 16.5px/1.55 var(--body); }
.v-side h2 { font: 400 25px/1.25 var(--name); margin: 6px 0 4px; color: var(--ink-l); }
.v-side .rel { color: var(--gold); margin: 30px 0 0; font-style: italic; }
.v-coll { font: 12px var(--mono); letter-spacing: .05em; text-transform: uppercase; color: var(--dim-l); margin: 0 0 14px; }
.v-side p { color: #d8cfbf; } .v-side a { color: var(--gold); }
.v-side .ref { font: 13px/1.5 var(--mono); color: var(--dim-l); }
.v-text { white-space: pre-wrap; font: 14px/1.55 var(--mono); color: #cfc5b3; background: #1b1814; padding: 12px 14px; border-left: 2px solid #3a3228; max-height: 40vh; overflow: auto; }
.v-pages { display: flex; align-items: center; gap: 10px; font-size: 14.5px; color: var(--dim-l); margin: 10px 0; }
.v-pages input { flex: 1; accent-color: var(--gold); }
.v-x { position: absolute; top: 14px; right: 18px; font: 15px var(--body); background: transparent; color: var(--ink-l); border: 1px solid #4a4238; padding: 6px 12px; cursor: pointer; border-radius: 2px; }
.v-nav { position: absolute; top: 50%; transform: translateY(-50%); font: 40px/1 var(--name); width: 52px; height: 80px; background: rgba(20,17,13,.7); color: var(--ink-l); border: 0; cursor: pointer; }
.v-nav.prev { left: 0; } .v-nav.next { right: 380px; } .v-nav[hidden] { display: none; }
.v-hint { position: absolute; bottom: 8px; left: 24px; margin: 0; font-size: 13px; color: var(--faint-l); }
.viewer.textonly { grid-template-columns: 1fr; } .viewer.textonly .v-img, .viewer.textonly .v-nav, .viewer.textonly .v-hint { display: none; }
.viewer.textonly .v-side { max-width: 760px; margin: 0 auto; width: 100%; border: 0; } .viewer.textonly .v-text { max-height: none; }
@media (max-width: 820px) {
  .viewer { grid-template-columns: 1fr; grid-template-rows: 58vh auto; overflow-y: auto; }
  .v-img { padding: 10px; } .v-img img { max-height: calc(58vh - 20px); }
  .v-side { border: 0; overflow: visible; padding: 16px; } .v-nav.next { right: 0; } .v-nav { top: 29vh; }
  .v-x { position: fixed; z-index: 2; background: #12100d; } .v-hint { display: none; }
}

/* The films page: one card for each life. */
.films-h { max-width: 760px; margin: 0 auto; padding: 18vh 16px 4vh; text-align: center; }
.films-h h1 { font-weight: 300; font-size: clamp(34px, 5vw, 52px); margin: 0 0 .3em; }
.films-h p { color: var(--dim-l); font-style: italic; margin: 0; }
.films-g { max-width: 1100px; margin: 0 auto; padding: 0 16px 14vh; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 22px; }
.fcard { display: block; text-decoration: none; color: var(--ink-l); background: rgba(255,255,255,.02); border: 1px solid rgba(201,164,106,.25); transition: border-color .6s; }
.fcard:hover, .fcard:focus-visible { border-color: var(--gold); outline: none; }
.fcard img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: brightness(.75) sepia(.2); transition: filter .8s; }
.fcard:hover img { filter: brightness(.95) sepia(.1); }
.fcard .ft { display: block; padding: 14px 18px 18px; }
.fcard .fn { display: block; font-size: 22px; } .fcard .fd { display: block; font-family: var(--mono); font-size: 12px; letter-spacing: .1em; color: var(--gold); margin-top: 2px; }
.fcard .fl { display: block; color: var(--dim-l); font-size: 16px; margin-top: 8px; } .fcard .fc { display: block; color: var(--faint-l); font-style: italic; font-size: 14px; margin-top: 8px; }
