@import url("../fonts/fonts.css");

/* ---------- Tokens ---------- */
:root {
  --parchment: #ecdfc4;
  --vellum: #e2d1ae;
  --ink: #2a1c12;
  --ink-soft: #4d3a29;
  --rubric: #8a1c1c;
  --rubric-dark: #6a1414;
  --gold: #a9853f;
  --gold-soft: rgba(169, 133, 63, .5);

  --font-display: "IM Fell English", Georgia, serif;
  --font-caps: "IM Fell English SC", Georgia, serif;
  --font-body: "EB Garamond", Garamond, Georgia, serif;

  /* Content width is in rem (1720px at the normal 16px root). On screens wider than
     2040px the root font grows (below), so the whole page scales up to fill the width
     and the borders stay slim. Below 2040px nothing changes. */
  --content: 107.5rem;
  --border-w: clamp(56px, 8vw, 160px);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Wide screens: scale everything up proportionally instead of widening the borders.
   At exactly 2040px this gives 16px, so there is no jump at the breakpoint. */
@media (min-width: 2040px) {
  html { font-size: calc((100vw - 320px) / 107.5); }
}
body {
  margin: 0;
  color: var(--ink);
  background: var(--parchment) url("../img/parchment.jpg") 0 0 / 900px;
  font-family: var(--font-body);
  font-size: 1.19rem;
  line-height: 1.62;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--rubric); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--rubric-dark); }
:focus-visible { outline: 3px solid #26407a; outline-offset: 3px; }
p { margin: 0 0 1em; }
h1, h2, h3 { font-weight: 400; }

/* ---------- Page: vine borders run from the screen edges to the content ---------- */
.page {
  position: relative;
  min-height: 100vh;
  padding: 0 var(--border-w);
}
.page::before, .page::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: var(--border-w);
  background: url("../img/border-dance.webp") center top / calc(100% - 12px) auto repeat-y;
  pointer-events: none;
}
.page::before { left: 0; border-right: 4px double var(--gold); }
.page::after { right: 0; border-left: 4px double var(--gold); }
.inner {
  max-width: var(--content);
  margin: 0 auto;
  padding: 0 56px;
}

/* Red manuscript rule under the header; Vostre panel as a frieze above the footer */
.rule { height: 7px; border-top: 2px solid var(--rubric); border-bottom: 1px solid var(--rubric); }
.frieze {
  display: block;
  width: 100%;
  height: clamp(110px, 11vw, 180px);
  object-fit: contain;
  padding: 10px 0;
  border-top: 2px solid var(--rubric);
  border-bottom: 2px solid var(--rubric);
}

/* ---------- Header ---------- */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  padding: 24px 0 20px;
}
.home-link {
  font-family: var(--font-caps);
  font-size: 1.5rem;
  color: var(--rubric);
  text-decoration: none;
}
.site-nav { display: flex; align-items: center; gap: 32px; font-family: var(--font-display); font-size: 1.25rem; }
.site-nav a { color: var(--ink); text-decoration: none; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--rubric); }
.site-nav a[aria-current="page"] { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 6px; }
.site-header .header-donate { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 30px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.2;
  color: #f6ead0;
  text-decoration: none;
  background: var(--rubric);
  border: 1px solid #b8914a;
  box-shadow: inset 0 0 0 3px var(--rubric), inset 0 0 0 4px rgba(214, 178, 106, .8);
}
.btn:hover { color: #fff; background: var(--rubric-dark); box-shadow: inset 0 0 0 3px var(--rubric-dark), inset 0 0 0 4px rgba(214, 178, 106, .8); }
.btn-small { font-size: 1.12rem; padding: 8px 20px; }
.site-nav .btn, .site-nav .btn:hover { color: #f6ead0; }

/* ---------- Hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  padding: 52px 0 40px;
}
.title {
  margin: 0;
  display: flex;
  align-items: flex-start;
  font-family: var(--font-display);
  color: var(--rubric);
  font-size: clamp(3.1rem, 5.4vw, 6.4rem);
  line-height: .92;
}
.title .dropcap { flex: none; width: 2.4em; margin: -.12em .05em 0 -.4em; }
.title .title-rest { display: flex; flex-direction: column; padding-top: .26em; }
.title .title-rest span + span { margin-left: -.54em; }
.tagline {
  margin: 22px 0 34px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.25rem, 1.9vw, 1.56rem);
  color: var(--ink-soft);
}

/* ---------- Funding ---------- */
.funding {
  border-top: 3px double var(--gold);
  border-bottom: 3px double var(--gold);
  padding: 22px 0 26px;
}
.funding-amount { margin: 0 0 12px; font-family: var(--font-display); font-size: 1.62rem; }
.funding-amount .raised { color: var(--rubric); }
.funding-amount .of { font-size: 1.25rem; color: var(--ink-soft); }
.bar { height: 10px; background: rgba(255, 250, 238, .75); border: 1px solid var(--gold); }
.bar-fill { height: 100%; width: 0; background: var(--rubric); transition: width 1.2s ease-out; }
.funding-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 20px; }
.funding-meta { margin: 0; font-style: italic; color: var(--ink-soft); font-size: 1.06rem; }
.funding-wide { max-width: 640px; margin: 8px auto 52px; text-align: center; }
.funding-wide .funding-actions { justify-content: center; flex-direction: column; }

/* ---------- Sections ---------- */
.section { padding: 44px 0; border-top: 1px solid var(--gold-soft); }
main > .section:first-child { border-top: 0; }
.section-title {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3.6vw, 2.9rem);
  line-height: 1.1;
  color: var(--rubric);
}
.section-title .pilcrow { margin-right: .26em; }
.section-title.centered { text-align: center; }
.page-title { margin-top: 44px; }
.prose p { max-width: 34em; }
.lead {
  max-width: 32em;
  margin: 0 auto 34px;
  text-align: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  color: var(--ink-soft);
}
.more { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; }
.signature { margin: 0; font-family: var(--font-display); font-style: italic; color: var(--ink-soft); }

.split { display: grid; grid-template-columns: minmax(0, .78fr) minmax(0, 1.22fr); gap: 56px; align-items: center; }
.split.reverse { grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }

/* Framed pictures */
.arch {
  margin: 0;
  padding: 9px;
  border: 1px solid var(--gold);
  border-radius: 999px 999px 4px 4px;
  background: rgba(226, 209, 174, .6);
}
.arch img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 999px 999px 2px 2px; }
.plate { margin: 0; padding: 8px; border: 1px solid var(--gold); background: rgba(226, 209, 174, .6); }
.woodcut { margin: 0; }
figcaption { margin-top: 8px; font-size: .92rem; font-style: italic; text-align: center; color: var(--ink-soft); }

/* ---------- Support the film ---------- */
.support { text-align: center; }
.support-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 0 38px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--gold);
  border-bottom: 1px solid var(--gold);
}
.support-list li { display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 26px 14px 22px; line-height: 1.3; }
.support-list li + li { border-left: 1px solid rgba(169, 133, 63, .7); }
.support-list img { height: 96px; width: auto; }
.support .note { margin: 0 auto 26px; max-width: 34em; }

/* ---------- Updates ---------- */
.teasers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px; }
.teaser { display: grid; grid-template-columns: 150px minmax(0, 1fr); gap: 20px; align-items: center; color: var(--ink); text-decoration: none; }
.teaser img { width: 150px; height: 112px; object-fit: cover; border: 1px solid var(--gold); padding: 4px; background: rgba(226, 209, 174, .6); }
.teaser .photo { filter: sepia(.3) saturate(.8); }
.teaser h3 { margin: 0; font-family: var(--font-display); font-size: 1.62rem; line-height: 1.2; color: var(--rubric); }
.teaser:hover h3 { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.post-date { margin: 0 0 2px; font-style: italic; color: var(--ink-soft); font-size: 1.06rem; }
.post { padding: 40px 0; border-top: 1px solid var(--gold-soft); }
.post h2 { margin: 0 0 14px; font-family: var(--font-display); font-size: clamp(1.8rem, 3vw, 2.3rem); line-height: 1.15; color: var(--rubric); }
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 22px; }
.gallery a { display: block; padding: 4px; border: 1px solid var(--gold); background: rgba(226, 209, 174, .6); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: sepia(.28) saturate(.82); transition: filter .25s; }
.gallery a:hover img, .gallery a:focus-visible img { filter: none; }

/* ---------- Film page ---------- */
.questions { list-style: none; margin: 0 0 28px; padding: 0; }
.questions li {
  margin: 0 0 12px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.4rem, 2.6vw, 1.75rem);
  line-height: 1.35;
}
.questions li::before { content: "\00B6"; color: var(--rubric); font-style: normal; margin-right: .4em; }
.motifs { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 48px; }
.motifs li { margin-bottom: 8px; break-inside: avoid; }
.facts { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 8px 26px; margin: 0 0 24px; }
.facts dt { font-family: var(--font-display); font-style: italic; color: var(--rubric); }
.facts dd { margin: 0; }

/* ---------- Team page ---------- */
.credits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; margin: 0; }
.credit { padding: 12px 0; border-bottom: 1px solid rgba(169, 133, 63, .4); }
.credit dt { font-family: var(--font-display); font-style: italic; font-size: 1.12rem; color: var(--rubric); }
.credit dd { margin: 2px 0 0; font-size: 1.35rem; }
.aside { margin-top: 16px; font-style: italic; color: var(--ink-soft); }

/* ---------- Footer ---------- */
.site-footer { padding: 26px 0 36px; text-align: center; font-size: 1.06rem; }
.site-footer p { margin: 0 0 6px; }
.footer-title { font-family: var(--font-caps); font-size: 1.62rem; color: var(--rubric); }
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 14px !important; }
.art-credits { margin-top: 12px !important; font-size: .88rem; color: var(--ink-soft); }

/* ---------- Hook and funding note (hero) ---------- */
.hook {
  margin: 0 0 32px;
  padding-left: 22px;
  border-left: 2px solid var(--rubric);
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.55vw, 1.82rem);
  line-height: 1.36;
}
.funding-note { margin: 0; max-width: 16em; text-align: right; font-style: italic; font-size: 1rem; color: var(--ink-soft); }

/* ---------- Cinematic bands: real scouting photos, graded to the look book ---------- */
.film { position: relative; margin: 0 -56px; background: #12171c; color: #e9dfca; overflow: hidden; }
.film a { color: #e3c27e; }
.film a:hover { color: #f1d9a4; }
.film-band { min-height: 540px; display: flex; align-items: center; }
.film-band .bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-band .shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12, 16, 20, .9) 0%, rgba(12, 16, 20, .62) 42%, rgba(12, 16, 20, .12) 100%); }
.film-copy { position: relative; padding: 88px 96px; max-width: 640px; }
.film-kicker { margin: 0 0 6px; font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: #e3c27e; }
.film-title { margin: 0 0 20px; font-family: var(--font-display); font-size: clamp(2.2rem, 3.4vw, 3.1rem); line-height: 1.1; color: #f1e7d2; }
.film-copy p { margin: 0; font-size: 1.3rem; color: #d8cdb6; }
.film-copy .film-kicker { color: #e3c27e; font-size: 1.4rem; }
.film-cap { position: absolute; right: 28px; bottom: 18px; margin: 0; font-style: italic; font-size: .94rem; color: #b3a78f; }
.cap { font-style: italic; font-size: .94rem; color: #b3a78f; }

/* ---------- Story question ---------- */
.question { margin: 0 0 22px; padding: 18px 0; max-width: 30em; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.question p { margin: 0; }
.question .ask { font-family: var(--font-display); font-style: italic; font-size: clamp(1.6rem, 2.4vw, 1.9rem); line-height: 1.3; }
.question .gloss { margin-top: 8px; font-size: 1.06rem; color: var(--ink-soft); }

/* ---------- Production panel ---------- */
.split.top { align-items: start; }
.production { margin: 0; padding: 8px 0; border-top: 3px double var(--gold); border-bottom: 3px double var(--gold); }
.production div { display: grid; grid-template-columns: 9em minmax(0, 1fr); gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--gold-soft); }
.production div:last-child { border-bottom: 0; }
.production dt { font-family: var(--font-display); font-style: italic; color: var(--rubric); }
.production dd { margin: 0; }

/* ---------- Locations ---------- */
.locations { padding: 64px 96px 54px; }
.locations .film-title { margin-bottom: 10px; }
.locations .intro { margin: 0 0 34px; max-width: 36em; font-size: 1.25rem; color: #d8cdb6; }
.location-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.location-grid figure { margin: 0; }
.location-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border: 1px solid rgba(169, 133, 63, .7); }
.location-grid figcaption { margin-top: 10px; text-align: left; font-family: var(--font-display); font-style: normal; font-size: 1.3rem; color: #f1e7d2; }
.locations .cap { margin: 22px 0 0; }

/* ---------- Support items with what they build ---------- */
.support-list.detailed li { align-items: flex-start; gap: 0; padding: 28px 22px 26px; text-align: left; }
.support-list.detailed img { height: 84px; margin-bottom: 16px; }
.support-list.detailed h3 { margin: 0 0 8px; font-family: var(--font-display); font-size: 1.5rem; line-height: 1.2; color: var(--rubric); }
.support-list.detailed p { margin: 0; font-size: 1.12rem; line-height: 1.5; }
.funding-wide .encourage { margin: 16px 0 0; font-size: 1.06rem; color: var(--ink-soft); }

/* ---------- Team page ---------- */
.team-intro { margin: -6px 0 0; font-style: italic; font-size: 1.25rem; color: var(--ink-soft); }
.director-feature { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 56px; align-items: center; }
.director-name { margin: 0; font-family: var(--font-display); font-size: clamp(2.4rem, 3.6vw, 3rem); line-height: 1.08; color: var(--ink); }
.director-role { margin: 6px 0 26px; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--rubric); }
.director-quote { margin: 0; padding: 4px 0 4px 26px; max-width: 32em; border-left: 1px solid var(--gold); }
.director-quote p { margin: 0; font-size: 1.3rem; }
.director-quote .source { margin-top: 14px; font-style: italic; font-size: 1rem; color: var(--ink-soft); }
.cast-block { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 56px; align-items: start; }
.cast-ornament { margin: 0; padding: 5px; border: 1px solid var(--gold); background: rgba(226, 209, 174, .6); }
.cast-ornament img { width: 100%; height: 420px; object-fit: cover; object-position: top; }
.cast-list { margin: 0; max-width: 760px; display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); border-top: 1px solid rgba(169, 133, 63, .7); }
.cast-list dt { padding: 18px 0; border-bottom: 1px solid rgba(169, 133, 63, .7); font-family: var(--font-display); font-style: italic; font-size: 1.4rem; color: var(--rubric); }
.cast-list dd { margin: 0; padding: 14px 0; border-bottom: 1px solid rgba(169, 133, 63, .7); font-size: 1.75rem; line-height: 1.4; }
.departments { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px 48px; padding: 30px 0 36px; border-top: 1px solid var(--gold); }
.departments:last-of-type { border-bottom: 1px solid var(--gold); }
.departments h3 { margin: 0 0 16px; font-family: var(--font-display); font-style: italic; font-size: 1.62rem; line-height: 1.2; color: var(--rubric); }
.departments dl { margin: 0; }
.departments dt { font-style: italic; font-size: 1rem; line-height: 1.35; color: var(--ink-soft); }
.departments dd { margin: 0 0 14px; font-size: 1.44rem; line-height: 1.3; }
.departments dd:last-child { margin-bottom: 0; }

/* ---------- Updates: timeline, lead image, photo grid ---------- */
.timeline-title { margin: 0 0 30px; font-family: var(--font-display); font-style: italic; font-size: 1.62rem; color: var(--ink-soft); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 28px; }
.timeline li { position: relative; padding-top: 34px; }
.timeline li::before { content: ""; position: absolute; z-index: 1; top: 1px; left: 0; width: 14px; height: 14px; border-radius: 50%; background: var(--rubric); box-shadow: 0 0 0 3px var(--parchment); }
.timeline li::after { content: ""; position: absolute; top: 7px; left: 14px; right: -28px; height: 2px; background: var(--rubric); }
.timeline li.to-upcoming::after, .timeline li.upcoming::after { top: 8px; height: 1px; background: var(--gold); }
.timeline li.upcoming::before { box-sizing: border-box; border: 2px solid var(--gold); background: var(--parchment); box-shadow: none; }
.timeline li:last-child::after { display: none; }
.timeline .step { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.4rem; line-height: 1.2; }
.timeline .when { margin: 0 0 2px; font-size: 1.06rem; line-height: 1.45; color: var(--ink-soft); }
.timeline .status { margin: 0; font-style: italic; font-size: 1.06rem; color: var(--rubric); }
.timeline .upcoming .status { color: var(--ink-soft); }
.film.lead { height: 520px; margin: 0 -56px 40px; max-width: none; text-align: left; font-style: normal; font-size: inherit; }
.film.lead img { width: 100%; height: 100%; object-fit: cover; }
.film.lead figcaption { position: absolute; left: 56px; bottom: 22px; margin: 0; padding: 5px 12px; text-align: left; background: rgba(12, 16, 20, .72); color: #b3a78f; }
.photo-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; margin: 0 0 18px; }
.photo-grid figure { margin: 0; padding: 4px; border: 1px solid var(--gold); background: rgba(226, 209, 174, .6); }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.photo-grid figcaption { margin: 0; padding: 10px 6px 6px; text-align: left; font-size: 1.06rem; line-height: 1.4; }
.photo-credit { font-style: italic; color: var(--ink-soft); }

/* ---------- Production notice (beside the donation CTAs) ---------- */
[hidden] { display: none !important; }
.production-notice { margin: 0 0 12px; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; line-height: 1.35; color: var(--rubric-dark); }
.production-notice .pilcrow { margin-right: .3em; font-style: normal; color: var(--rubric); }
.funding-wide .production-notice { font-size: 1.32rem; }

/* ---------- Share the film ---------- */
.share { max-width: 640px; margin: 34px auto 0; text-align: center; }
.share-title { margin: 0 0 4px; font-family: var(--font-display); font-size: 1.62rem; line-height: 1.2; color: var(--rubric); }
.share-text { margin: 0 0 16px; font-size: 1.06rem; color: var(--ink-soft); }
.share-actions { display: flex; justify-content: center; align-items: center; gap: 12px 16px; flex-wrap: wrap; }
.btn-quiet {
  display: inline-block;
  padding: 9px 20px;
  font-family: var(--font-display);
  font-size: 1.12rem;
  line-height: 1.2;
  color: var(--rubric);
  background: transparent;
  border: 1px solid var(--rubric);
  cursor: pointer;
}
.btn-quiet:hover { color: #f6ead0; background: var(--rubric); }
.share-url { font-style: italic; color: var(--ink-soft); }
.share-status { min-height: 1.6em; margin: 10px 0 0; font-style: italic; color: var(--rubric-dark); }
.footer-share { display: flex; justify-content: center; align-items: baseline; gap: 6px 14px; flex-wrap: wrap; }
.link-btn { padding: 0; border: 0; background: none; font: inherit; color: var(--rubric); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; cursor: pointer; }
.link-btn:hover { color: var(--rubric-dark); }
.footer-share .share-status { min-height: 0; margin: 0; flex-basis: 100%; }
.footer-share .share-status:empty { display: none; }

/* ---------- Tablet ---------- */
@media (max-width: 1000px) {
  .inner { padding: 0 28px; }
  .support-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .support-list li + li { border-left: 0; }
  .support-list li:nth-child(even) { border-left: 1px solid rgba(169, 133, 63, .7); }
  .support-list li:nth-child(-n+2) { border-bottom: 1px solid rgba(169, 133, 63, .7); }
  .film, .film.lead { margin-left: -28px; margin-right: -28px; }
  .film-copy { padding: 64px 56px; }
  .locations { padding: 56px 48px 48px; }
  .location-grid, .departments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .timeline { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 32px; }
  .timeline li:nth-child(3)::after { display: none; }
}

/* ---------- Phone ---------- */
@media (max-width: 760px) {
  :root { --border-w: 26px; }
  body { font-size: 1.12rem; background-size: 700px; }
  .page::before, .page::after { background-size: 100% auto; }
  .page::before { border-right-width: 3px; }
  .page::after { border-left-width: 3px; }
  .inner { padding: 0 12px; }
  .rule { height: 6px; }
  .frieze { height: auto; padding: 6px 0; }

  .site-header { display: grid; grid-template-columns: 1fr auto; gap: 8px 12px; padding: 14px 0 10px; }
  .home-link { font-size: 1.3rem; }
  .site-header .header-donate { display: inline-flex; align-items: center; min-height: 44px; }
  .site-nav { grid-column: 1 / -1; justify-content: space-between; gap: 8px; font-size: 1.12rem; }
  .site-nav a { padding: 8px 0; }
  .site-nav .nav-donate { display: none; }

  .hero, .split, .split.reverse, .teasers, .credits { grid-template-columns: minmax(0, 1fr); }
  .hero { gap: 26px; padding: 26px 0 30px; }
  .title { font-size: 3.1rem; }
  .title .dropcap { margin-left: -.18em; }
  .tagline { margin: 16px 0 22px; }
  .funding-amount { font-size: 1.42rem; }
  .funding-actions .btn, .funding-wide .btn { display: block; width: 100%; text-align: center; }
  .funding-actions { flex-direction: column; align-items: stretch; text-align: center; }

  .section { padding: 30px 0; }
  .split .arch { width: 240px; margin: 0 auto; }
  .split.reverse .plate, .split.reverse .woodcut { order: 2; }
  .support-list img { height: 64px; }
  .support-list li { padding: 18px 8px; font-size: 1rem; }
  .support .btn { display: block; }
  .teaser { grid-template-columns: 96px minmax(0, 1fr); gap: 14px; }
  .teaser img { width: 96px; height: 76px; padding: 3px; }
  .teaser h3 { font-size: 1.36rem; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .motifs { columns: 1; }
  .facts { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .facts dd { margin-bottom: 10px; }
  .footer-links { flex-direction: column; gap: 4px; }

  .hook { margin-bottom: 22px; padding-left: 14px; font-size: 1.38rem; }
  .funding-note { max-width: none; text-align: center; font-size: .94rem; }
  .film, .film.lead { margin-left: -12px; margin-right: -12px; }
  .film-band { display: block; min-height: 0; }
  .film-band .bg { position: static; height: 210px; }
  .film-band .shade { display: none; }
  .film-copy { padding: 24px 22px 26px; max-width: none; }
  .film-title { font-size: 2rem; margin-bottom: 12px; }
  .film-copy p { font-size: 1.12rem; }
  .film-cap { position: static; padding: 0 22px 22px; }
  .question .ask { font-size: 1.5rem; }
  .production div { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 10px 0; }
  .locations { padding: 28px 22px 26px; }
  .locations .intro { font-size: 1.06rem; margin-bottom: 20px; }
  .location-grid { gap: 14px; }
  .location-grid figcaption { margin-top: 6px; font-size: 1.06rem; }
  .support-list.detailed { grid-template-columns: minmax(0, 1fr); }
  .support-list.detailed li { display: grid; grid-template-columns: 64px minmax(0, 1fr); column-gap: 14px; padding: 16px 0; border-left: 0 !important; border-bottom: 1px solid rgba(169, 133, 63, .7); }
  .support-list.detailed li:last-child { border-bottom: 0; }
  .support-list.detailed img { grid-row: span 2; width: 64px; height: auto; margin: 0; }
  .support-list.detailed h3 { font-size: 1.25rem; margin-bottom: 4px; }
  .support-list.detailed p { font-size: 1rem; }
  .director-feature, .cast-block { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .cast-ornament { display: none; }
  .cast-list dd { font-size: 1.45rem; }
  .departments { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .timeline { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .timeline li { padding: 0 0 22px 32px; }
  .timeline li::before { top: 5px; }
  .timeline li::after, .timeline li.to-upcoming::after, .timeline li.upcoming::after { top: 19px; bottom: 0; left: 6px; right: auto; width: 2px; height: auto; }
  .timeline li.to-upcoming::after, .timeline li.upcoming::after { width: 1px; left: 6.5px; }
  .timeline li:nth-child(3)::after { display: block; }
  .film.lead { height: 240px; margin-bottom: 28px; }
  .film.lead figcaption { left: 14px; bottom: 12px; }
  .photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bar-fill, .gallery img { transition: none; }
}

/* ============================================================
   Rewards page ("Join the Dance"): tiers, Death finale, donor wall
   ============================================================ */
.rw-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 64px; align-items: start; padding: 48px 0 52px; }
.rw-title { margin: 0 0 16px; font-size: clamp(2.6rem, 4.3vw, 3.9rem); line-height: 1.05; }
.rw-lede { margin: 0 0 30px; max-width: 31em; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; line-height: 1.45; color: var(--ink-soft); }
.rw-intro .funding { max-width: 600px; padding: 20px 0 22px; }
.rw-intro .production-notice { font-size: 1.25rem; }
.rw-intro .funding-amount { font-size: 1.56rem; margin-bottom: 10px; }
.rw-intro .funding-amount .of { font-size: 1.19rem; }
.rw-funding-actions { display: none; }

/* How it works */
.rw-how { padding: 30px 34px 26px; border: 1px solid var(--gold); background: rgba(226, 209, 174, .45); }
.rw-how-title { margin: 0 0 18px; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--rubric); }
.rw-how-pilcrow { display: none; margin-right: .26em; }
.rw-steps { list-style: none; margin: 0; padding: 0; counter-reset: rw-step; }
.rw-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 10px; padding: 16px 0; border-bottom: 1px solid rgba(169, 133, 63, .55); counter-increment: rw-step; }
.rw-steps li:first-child { padding-top: 0; }
.rw-steps li::before { content: counter(rw-step, lower-roman); font-family: var(--font-display); font-size: 2.12rem; line-height: 1; color: var(--rubric); }
.rw-step-title { margin: 0; font-family: var(--font-display); font-size: 1.44rem; line-height: 1.25; color: var(--ink); }
.rw-steps p { margin: 2px 0 0; font-size: 1.06rem; line-height: 1.5; color: var(--ink-soft); }
.rw-steps .btn { margin-top: 12px; }
.rw-how-note { margin: 16px 0 0; font-style: italic; font-size: 1.06rem; line-height: 1.5; color: var(--ink-soft); }

/* The procession of tiers: niches divided by gold hairlines */
.rw-places { padding: 52px 0 56px; }
.rw-places .section-title, .rw-procession .section-title { margin-bottom: 6px; }
.rw-sub { margin: 0 0 30px; font-style: italic; font-size: 1.25rem; color: var(--ink-soft); }
.rw-tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-bottom: 1px solid var(--gold); }
.rw-tier { padding: 26px 22px 28px; border-top: 1px solid var(--gold); }
.rw-tier:not(:nth-child(4n+1)) { border-left: 1px solid rgba(169, 133, 63, .7); }
.rw-woodcut { margin: 0 auto 18px; width: 76%; padding: 6px; border: 1px solid var(--gold); background: rgba(226, 209, 174, .55); }
.rw-woodcut img { width: 100%; height: auto; }
.rw-price { margin: 0; font-family: var(--font-display); font-size: 2.25rem; line-height: 1.1; color: var(--rubric); }
.rw-tier-name { margin: 2px 0 0; font-family: var(--font-display); font-size: 1.7rem; line-height: 1.2; color: var(--ink); }
.rw-fr { margin: 0 0 14px; font-style: italic; font-size: 1rem; color: var(--ink-soft); }
.rw-adds { list-style: none; margin: 0; padding: 0; }
.rw-adds li { position: relative; margin: 0 0 6px; padding-left: 22px; font-size: 1.06rem; line-height: 1.45; }
.rw-adds li::before { content: "\00B6"; position: absolute; left: 0; top: 0; color: var(--rubric); }
.rw-limit { margin: 2px 0 0 22px; font-style: italic; font-size: .94rem; line-height: 1.4; color: var(--ink-soft); }

/* Death: the finale, on a parchment plate inside a dark band */
.rw-death { padding: 64px 96px; }
.rw-death-inner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 64px; align-items: center; }
.rw-plate { margin: 0; padding: 12px; border: 1px solid var(--gold); background: var(--parchment) url("../img/parchment.jpg") 0 0 / 700px; }
.rw-plate img { width: 100%; height: auto; }
.rw-death-price { margin: 0 0 4px; font-family: var(--font-display); font-size: 2.12rem; line-height: 1.15; color: #e3c27e; }
.rw-death-name { margin: 0; font-family: var(--font-display); font-size: clamp(2.8rem, 4.4vw, 4rem); line-height: 1.05; color: #f1e7d2; }
.rw-death .rw-fr { margin: 0 0 22px; font-size: 1.12rem; color: #b3a78f; }
.rw-death-lead { margin: 0 0 12px; font-family: var(--font-display); font-style: italic; font-size: 1.88rem; line-height: 1.25; color: #f1e7d2; }
.rw-death-text { margin: 0 0 28px; max-width: 30em; font-size: 1.25rem; color: #d8cdb6; }
.rw-death .btn, .rw-death .btn:hover { color: #f6ead0; }

/* Donor wall: a register with a label column */
.rw-procession { padding: 60px 0 52px; border-top: 0; }
.rw-wall { margin: 0; border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); }
.rw-group { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 28px; padding: 18px 0; border-bottom: 1px solid rgba(169, 133, 63, .55); }
.rw-group:last-child { border-bottom: 0; }
.rw-group dt { line-height: 1.3; }
.rw-wall-tier { display: block; font-family: var(--font-display); font-style: italic; font-size: 1.5rem; color: var(--rubric); }
.rw-wall-fr { display: block; font-style: italic; font-size: .94rem; color: var(--ink-soft); }
.rw-group dd { margin: 0; }
.rw-group dd span { display: inline-block; margin: 0 26px 6px 0; font-size: 1.31rem; }
.rw-group dd .rw-empty { font-style: italic; color: var(--ink-soft); }
.rw-wall-note { margin: 18px 0 0; font-style: italic; font-size: 1.06rem; color: var(--ink-soft); }

/* Rewards: tablet */
@media (max-width: 1000px) {
  .rw-intro { gap: 36px; }
  .rw-how { padding: 24px 24px 22px; }
  .rw-tiers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rw-tier:not(:nth-child(4n+1)) { border-left: 0; }
  .rw-tier:nth-child(even) { border-left: 1px solid rgba(169, 133, 63, .7); }
  .rw-death { padding: 56px 48px; }
  .rw-death-inner { gap: 40px; }
  .rw-group { grid-template-columns: 200px minmax(0, 1fr); gap: 22px; }
}

/* Rewards: phone */
@media (max-width: 760px) {
  .rw-intro { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 26px 0 8px; }
  .rw-title { margin-bottom: 12px; font-size: 2.12rem; line-height: 1.1; }
  .rw-lede { margin-bottom: 22px; font-family: var(--font-body); font-size: 1.06rem; line-height: 1.6; }
  .rw-intro .funding { padding: 18px 0; }
  .rw-intro .production-notice { font-size: 1.06rem; }
  .rw-intro .funding-amount { font-size: 1.38rem; }
  .rw-intro .funding-amount .of { font-size: 1.06rem; }
  .rw-funding-actions { display: flex; margin-top: 16px; }

  .rw-how { padding: 30px 0 26px; border: 0; background: none; }
  .rw-how-title { margin-bottom: 14px; font-size: 1.75rem; }
  .rw-how-pilcrow { display: inline; }
  .rw-steps { border-top: 1px solid rgba(169, 133, 63, .6); }
  .rw-steps li, .rw-steps li:first-child { grid-template-columns: 30px minmax(0, 1fr); gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(169, 133, 63, .6); }
  .rw-steps li::before { content: counter(rw-step); font-size: 1.5rem; line-height: 1.1; }
  .rw-step-title { margin-bottom: 2px; font-size: 1.25rem; }
  .rw-steps p { margin: 0; font-size: 1rem; color: var(--ink); overflow-wrap: anywhere; }
  .rw-steps .btn { display: block; text-align: center; font-size: 1.12rem; padding: 10px 14px; }
  .rw-how-note { margin-top: 14px; font-size: 1rem; }

  .rw-places { padding: 8px 0 30px; border-top: 0; }
  .rw-places .section-title, .rw-procession .section-title { font-size: 1.75rem; }
  .rw-sub { margin-bottom: 16px; font-size: 1.06rem; }
  .rw-tiers { grid-template-columns: minmax(0, 1fr); border-top: 1px solid rgba(169, 133, 63, .6); border-bottom: 0; }
  .rw-tier, .rw-tier:nth-child(even), .rw-tier:not(:nth-child(4n+1)) { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-top: 0; border-left: 0; border-bottom: 1px solid rgba(169, 133, 63, .6); }
  .rw-woodcut { width: auto; margin: 0; padding: 3px; }
  .rw-price { font-size: 1.62rem; }
  .rw-tier-name { font-size: 1.31rem; }
  .rw-fr { margin-bottom: 6px; font-size: .94rem; }
  .rw-adds li { margin-bottom: 3px; padding-left: 18px; font-size: 1rem; }
  .rw-adds li::before { top: .15em; font-size: .82rem; }
  .rw-limit { margin-left: 18px; font-size: .88rem; }

  .rw-death { padding: 26px 22px 28px; }
  .rw-death-inner { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .rw-plate { padding: 8px; }
  .rw-death-price { margin-bottom: 2px; font-size: 1.75rem; }
  .rw-death-name { font-size: 2.12rem; line-height: 1.15; }
  .rw-death .rw-fr { margin-bottom: 12px; font-size: .88rem; }
  .rw-death-lead { margin-bottom: 8px; font-size: 1.25rem; }
  .rw-death-text { margin-bottom: 20px; font-size: 1.06rem; }
  .rw-death .btn { display: block; text-align: center; }

  .rw-procession { padding: 32px 0 30px; }
  .rw-wall { border-top-color: rgba(169, 133, 63, .6); border-bottom-color: rgba(169, 133, 63, .6); }
  .rw-group { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 12px 0; border-bottom-color: rgba(169, 133, 63, .6); }
  .rw-wall-tier, .rw-wall-fr { display: inline; }
  .rw-wall-tier { font-size: 1.19rem; }
  .rw-wall-fr { margin-left: .2em; font-size: .88rem; }
  .rw-group dd span { margin: 0 18px 4px 0; font-size: 1.06rem; }
  .rw-wall-note { margin-top: 16px; font-size: .94rem; }
}

/* ---------- Home: link to the rewards page ---------- */
.rewards-link { margin: -18px auto 30px; max-width: 40em; text-align: center; font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink-soft); }
.rewards-link .more { font-size: 1.2rem; }

