/* Lives Before Us — v3 "Front page"
   One system, applied everywhere:
   - Type: Newsreader (headlines + reading text) and Libre Franklin (labels, links, meta). Nothing else.
   - Colour: paper, ink, one brick-red accent. No tinted panels, no boxes: structure comes from rules (lines) and whitespace.
   - Photos: one treatment for every image (warm monochrome, 3:2), so stills from different films sit together. */

:root {
  --paper: #f7f3ec;
  --ink: #1c1b19;
  --ink-2: #47433d;
  --muted: #736c62;
  --rule: #cfc6b6;
  --rule-strong: #1c1b19;
  --accent: #a33a26;
  --photo-bg: #e7dfd1;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Libre Franklin", "Franklin Gothic Medium", "Segoe UI", Arial, sans-serif;

  --max: 1200px;
  --gutter: clamp(18px, 4vw, 44px);
  --col-gap: clamp(22px, 3vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--serif); font-size: 20px; line-height: 1.55;
  font-optical-sizing: auto; -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent); }
:focus-visible { outline: 3px solid #1f5fbf; outline-offset: 3px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- type scale (only these) ---------- */
.label {                         /* section & story labels */
  font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--accent); margin: 0;
}
.label--ink { color: var(--ink); }
.meta { font-family: var(--sans); font-size: 15px; color: var(--muted); margin: 0; }
.meta b { color: var(--ink); font-weight: 600; }
.h-xl { font-weight: 500; font-size: clamp(40px, 5.2vw, 68px); line-height: 1.04; letter-spacing: -0.02em; margin: 10px 0 0; }
.h-l  { font-weight: 500; font-size: clamp(28px, 2.8vw, 36px); line-height: 1.12; letter-spacing: -0.01em; margin: 8px 0 0; }
.h-m  { font-weight: 600; font-size: 22px; line-height: 1.22; letter-spacing: -0.005em; margin: 6px 0 0; }
.h-s  { font-weight: 600; font-size: 19px; line-height: 1.28; margin: 4px 0 0; }
.dek  { font-style: italic; font-size: clamp(21px, 1.9vw, 24px); line-height: 1.45; color: var(--ink-2); margin: 14px 0 0; }
.small { font-size: 17px; line-height: 1.5; color: var(--ink-2); margin: 6px 0 0; }
.more { font-family: var(--sans); font-size: 15px; font-weight: 600; color: var(--ink); border-bottom: 1px solid var(--ink); padding-bottom: 1px; }
.more:hover { border-color: var(--accent); }

/* ---------- photo treatment ---------- */
.photo { position: relative; aspect-ratio: 3 / 2; overflow: hidden; background: var(--photo-bg); }
.photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.06) brightness(1.02); mix-blend-mode: multiply; transition: filter .4s ease; }
a:hover .photo img { filter: grayscale(0.15) contrast(1.02); }
.photo--cut img { object-fit: contain; object-position: center bottom; height: 94%; margin-top: 6%; }
.portrait { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: var(--photo-bg); }
.portrait img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); height: 94%; width: auto; max-width: none; filter: grayscale(1) contrast(1.06); mix-blend-mode: multiply; }
.caption { font-family: var(--sans); font-size: 13px; line-height: 1.35; color: var(--muted); margin: 7px 0 0; }
.caption b { color: var(--ink); font-weight: 600; }

/* ---------- masthead ---------- */
.dateline { font-family: var(--sans); font-size: 14px; color: var(--ink-2); }
.dateline .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 6px; }
.dateline a { font-weight: 600; color: var(--accent); }
.masthead { text-align: center; padding: 6px 0 14px; }
.masthead a { display: inline-block; }
.masthead .title { font-family: var(--serif); font-weight: 600; font-size: clamp(42px, 7vw, 84px); letter-spacing: -0.025em; line-height: 1; }
.masthead .motto { font-style: italic; font-size: 18px; color: var(--ink-2); margin: 8px 0 0; }
.nav { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); box-shadow: 0 3px 0 -1px var(--paper), 0 4px 0 -1px var(--rule-strong); }
.nav ul { list-style: none; margin: 0 auto; padding: 0 var(--gutter); max-width: var(--max); display: flex; flex-wrap: wrap; justify-content: center; gap: 0 clamp(18px, 3vw, 38px); }
.nav a { display: block; padding: 11px 0; font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.02em; }
.nav a[aria-current] { color: var(--accent); }

/* ---------- front page (lead + rail) ---------- */
.front { padding: clamp(28px, 4vw, 44px) 0 clamp(32px, 4vw, 48px); }
.front .wrap { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: var(--col-gap); }
.lead { padding-right: var(--col-gap); border-right: 1px solid var(--rule); }
.lead .actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; margin-top: 22px; }
.faces { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px 14px; margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--rule); }
.faces a { display: block; }
.byline { margin-top: 18px; }

.rail .label { padding-bottom: 10px; border-bottom: 2px solid var(--rule-strong); color: var(--ink); }
.rail ol { list-style: none; margin: 0; padding: 0; counter-reset: n; }
.rail li { counter-increment: n; display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.rail li::before { content: counter(n); font-weight: 600; font-size: 26px; line-height: 1; color: var(--accent); }
.rail .label { font-size: 12px; }
.rail li .label { color: var(--accent); border: 0; padding: 0; }
.rail .watch { display: inline-block; margin-top: 8px; font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.rail .watch:hover { color: var(--accent); }
.rail .soon { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 14px 0 0; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px;
  background: var(--ink); color: var(--paper); border: 0; border-radius: 2px;
  font-family: var(--sans); font-size: 16px; font-weight: 600; letter-spacing: 0.01em; cursor: pointer;
}
.btn:hover { background: var(--accent); color: #fff; }

/* ---------- three-column band ---------- */
.band { border-top: 3px double var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.band .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.band .col { padding: 28px var(--col-gap) 32px; }
.band .col:first-child { padding-left: 0; }
.band .col:last-child { padding-right: 0; }
.band .col + .col { border-left: 1px solid var(--rule); }
.band h2 { font-weight: 600; font-size: 24px; line-height: 1.2; margin: 8px 0 0; }
.note-head { display: flex; align-items: center; gap: 14px; }
.note-head img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; filter: grayscale(1); }
.note p.text { font-size: 19px; line-height: 1.55; margin: 14px 0 0; }
.note .sig { font-style: italic; font-size: 17px; color: var(--ink-2); margin: 10px 0 0; }
.history ol { list-style: none; margin: 12px 0 0; padding: 0; }
.history li { padding: 12px 0; border-top: 1px solid var(--rule); }
.history li:first-child { border-top: 0; padding-top: 4px; }
.history .when { font-family: var(--sans); font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--accent); }
.history li p { margin: 3px 0 0; font-size: 18px; line-height: 1.45; }
.subscribe p.text { font-size: 19px; line-height: 1.5; color: var(--ink-2); margin: 12px 0 0; }
.subscribe form { margin-top: 16px; display: grid; gap: 10px; }
.subscribe label { font-family: var(--sans); font-size: 15px; font-weight: 600; }
.subscribe input[type=email] {
  width: 100%; min-height: 52px; padding: 0 14px; border: 1px solid var(--ink); border-radius: 2px; background: #fffdf8;
  font: 400 19px var(--serif); color: var(--ink);
}
.subscribe .fine { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.subscribe .fine a { text-decoration: underline; }

/* ---------- more lives ---------- */
.section { padding: clamp(36px, 5vw, 56px) 0; }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 10px 24px; border-bottom: 2px solid var(--rule-strong); padding-bottom: 10px; }
.section-head h2 { font-weight: 500; font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.01em; margin: 0; }
.filters { font-family: var(--sans); font-size: 15px; color: var(--muted); margin: 14px 0 26px; display: flex; flex-wrap: wrap; gap: 6px 4px; align-items: baseline; }
.filters button { background: none; border: 0; padding: 4px 8px; font: 600 15px var(--sans); color: var(--ink-2); cursor: pointer; border-bottom: 2px solid transparent; }
.filters button[aria-pressed="true"] { color: var(--ink); border-bottom-color: var(--accent); }
.grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 30px var(--col-gap); }
.story a { display: block; }
.story .label { margin-top: 12px; }
.story .len { display: block; font-family: var(--sans); font-size: 14px; color: var(--muted); margin-top: 8px; }
.story .small { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.center { text-align: center; margin-top: 34px; }
.btn--line { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--paper); }

/* ---------- standards line ---------- */
.standards { border-top: 1px solid var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.standards .wrap { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.standards p { margin: 0; padding: 20px var(--col-gap); font-size: 17px; line-height: 1.45; color: var(--ink-2); }
.standards p:first-child { padding-left: 0; }
.standards p + p { border-left: 1px solid var(--rule); }
.standards b { display: block; color: var(--ink); font-family: var(--sans); font-size: 13px; letter-spacing: 0.09em; text-transform: uppercase; margin-bottom: 4px; }

/* ---------- family films ---------- */
.family .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--col-gap); align-items: center; }
.family .h-l { max-width: 15em; }
.family ol { margin: 16px 0 0; padding-left: 22px; font-size: 19px; color: var(--ink-2); }
.family li { margin: 6px 0; }
.family .price { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 22px; font-family: var(--sans); font-size: 16px; color: var(--ink-2); }
.family .price strong { font-family: var(--serif); font-size: 26px; font-weight: 600; color: var(--ink); }
.family .photo { aspect-ratio: 16 / 10; }
.family .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 70px; height: 70px; border-radius: 50%; background: var(--paper); display: grid; place-items: center; font-size: 20px; padding-left: 4px; color: var(--ink); }

/* ---------- footer ---------- */
.footer { border-top: 3px double var(--rule-strong); padding: 30px 0 52px; }
.footer .wrap { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: var(--col-gap); }
.footer .title { font-weight: 600; font-size: 28px; letter-spacing: -0.02em; }
.footer p { font-size: 17px; color: var(--ink-2); margin: 8px 0 0; }
.footer p.label { font-size: 13px; margin: 0; }
.footer ul { list-style: none; margin: 8px 0 0; padding: 0; font-family: var(--sans); font-size: 15px; display: grid; gap: 6px; }
.footer a:hover { text-decoration: underline; }

/* ---------- article ---------- */
.article { padding: clamp(26px, 4vw, 44px) 0 clamp(34px, 5vw, 56px); }
.crumbs { font-family: var(--sans); font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.crumbs a { color: var(--ink-2); text-decoration: underline; }
.article-head { max-width: 900px; }
.article-byline { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 20px; padding: 12px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.article-grid { display: grid; grid-template-columns: minmax(260px, 360px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); margin-top: 30px; align-items: start; }
.player { position: sticky; top: 20px; aspect-ratio: 9 / 16; background: #111; overflow: hidden; }
.player iframe, .player button { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.player button { cursor: pointer; padding: 0; background: #111; }
.player button img { width: 100%; height: 100%; object-fit: cover; object-position: center 22%; filter: grayscale(1) contrast(1.05); opacity: .85; }
.player .go { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); display: grid; justify-items: center; gap: 10px; font: 600 16px var(--sans); color: #fff; text-shadow: 0 1px 6px rgba(0,0,0,.7); }
.player .go i { width: 78px; height: 78px; border-radius: 50%; background: var(--paper); color: var(--ink); display: grid; place-items: center; font-style: normal; font-size: 24px; padding-left: 5px; text-shadow: none; }
.player-note { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 8px 0 0; }
.body p { margin: 0 0 1.05em; font-size: 21px; line-height: 1.7; max-width: 33em; }
.body p:first-child::first-letter { float: left; font-weight: 600; font-size: 3.6em; line-height: .82; padding: 7px 10px 0 0; color: var(--ink); }
.made { margin: 26px 0 0; padding: 14px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: 17px; color: var(--ink-2); max-width: 37em; }
.made b { font-family: var(--sans); font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: var(--ink); margin-right: 6px; }
.share { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-family: var(--sans); font-size: 15px; font-weight: 600; }
.share a, .share button { background: none; border: 0; padding: 0; font: inherit; color: var(--ink); border-bottom: 1px solid var(--ink); cursor: pointer; }
.share a:hover, .share button:hover { color: var(--accent); border-color: var(--accent); }
.article .subscribe { margin-top: 32px; padding: 22px 0 0; border-top: 3px double var(--rule-strong); max-width: 37em; }

/* ---------- responsive ---------- */
@media (max-width: 1040px) {
  .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .front .wrap { grid-template-columns: 1fr; }
  .lead { padding-right: 0; border-right: 0; padding-bottom: 28px; border-bottom: 1px solid var(--rule); }
  .band .wrap, .standards .wrap { grid-template-columns: 1fr; }
  .band .col, .band .col:first-child, .band .col:last-child { padding: 24px 0; }
  .band .col + .col { border-left: 0; border-top: 1px solid var(--rule); }
  .standards p, .standards p:first-child { padding: 14px 0; }
  .standards p + p { border-left: 0; border-top: 1px solid var(--rule); }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .family .wrap, .article-grid { grid-template-columns: 1fr; }
  .player { position: relative; top: 0; max-width: 340px; width: 100%; margin: 0 auto; }
  .footer .wrap { grid-template-columns: 1fr 1fr; }
  .footer .wrap > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  body { font-size: 19px; }
  .dateline .wrap { font-size: 13px; }
  .dateline .long { display: none; }
  .nav a { padding: 8px 0; font-size: 14px; }
  .faces { gap: 14px 10px; }
  .faces .caption { font-size: 12px; }
  .grid { grid-template-columns: 1fr; gap: 28px; }
  .lead .actions .btn { width: 100%; }
  .body p { font-size: 20px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }

/* ---------- live-site additions ---------- */
.masthead .brand { display: inline-flex; align-items: center; gap: clamp(12px, 1.6vw, 20px); }
.masthead .brand img { width: clamp(52px, 6.4vw, 84px); height: auto; }
.footer .brand { display: flex; align-items: center; gap: 12px; }
.footer .brand img { width: 44px; height: 44px; }
.is-hidden { display: none !important; }
.about { padding: clamp(28px, 4vw, 52px) 0 clamp(36px, 5vw, 60px); }
.about .wrap { display: grid; grid-template-columns: minmax(220px, 320px) minmax(0, 1fr); gap: clamp(28px, 5vw, 64px); align-items: start; }
.about .portrait-photo img { width: 100%; height: auto; filter: grayscale(1) contrast(1.04); }
.about .body p { font-size: 20px; }
.about .facts { margin-top: 24px; padding-top: 14px; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; font-family: var(--sans); font-size: 15px; color: var(--ink-2); }
.about .facts b { display: block; color: var(--ink); font-size: 13px; letter-spacing: .09em; text-transform: uppercase; margin-bottom: 2px; }
@media (max-width: 900px) { .about .wrap { grid-template-columns: 1fr; } .about .portrait-photo { max-width: 260px; } }
.about .body p:first-child::first-letter { float: none; font-size: inherit; font-weight: inherit; line-height: inherit; padding: 0; color: inherit; }
.photo--face { aspect-ratio: 4 / 5; }
.family .how { border-left: 1px solid var(--rule); padding-left: var(--col-gap); }
.family .how .label { padding-bottom: 10px; border-bottom: 2px solid var(--rule-strong); }
.family .steps { list-style: none; margin: 0; padding: 0; counter-reset: s; font-size: inherit; }
.family .steps li { counter-increment: s; display: grid; grid-template-columns: 34px 1fr; gap: 4px 12px; padding: 16px 0; border-bottom: 1px solid var(--rule); margin: 0; }
.family .steps li::before { content: counter(s); grid-row: span 2; font-weight: 600; font-size: 26px; line-height: 1; color: var(--accent); }
.family .steps b { font-size: 20px; font-weight: 600; color: var(--ink); }
.family .steps span { font-size: 17px; color: var(--ink-2); }
@media (max-width: 900px) { .family .how { border-left: 0; padding-left: 0; } }
.signup-fallback { display: grid; gap: 10px; margin-top: 16px; justify-items: start; }
.signup-fallback .fine { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 2px 0 0; }
.signup-fallback .fine a { text-decoration: underline; }
.body p b { font-weight: 600; }
.body.plain p:first-child::first-letter { float: none; font-size: inherit; font-weight: inherit; line-height: inherit; padding: 0; color: inherit; }
.signup-embed { margin-top: 14px; }
.signup-embed .beehiiv-form { min-height: 56px; margin: 6px 0 4px; }
.signup-embed .beehiiv-form iframe { max-width: 100%; }
.signup-embed .fine { font-family: var(--sans); font-size: 13px; color: var(--muted); margin: 4px 0 0; }
.signup-embed .fine a { text-decoration: underline; }
