@font-face {
  font-family:"Barlow Condensed";
  src:url("assets/barlow-condensed-bold.woff2") format("woff2");
  font-style:normal;
  font-weight:700;
  font-display:swap;
}

/* Neutral surfaces keep the original character art and the warm signal color distinct. */
:root,.header[data-mode=day] {
  --paper:#ffffff;
  --ink:#171717;
  --muted:#585858;
  --line:#22222236;
  --accent:#ae3a22;
  --signal:#f47d58;
  --stage-ink:var(--paper);
}
:root {
  --chapter-gutter:clamp(22px,5.2vw,128px);
  --section-accent:#b8170c;
  --display:"Barlow Condensed","Arial Narrow",sans-serif;
  --data:"Cascadia Mono","SFMono-Regular",Consolas,monospace;
}
:root[data-mode=night],.header[data-mode=night] {
  --paper:#111619;
  --ink:#e9eeeb;
  --muted:#a6b1b3;
  --line:#b7c8c83d;
  --accent:#ff946e;
  --signal:#ed916f;
  --stage-ink:#101518;
  --section-accent:#ff9875;
}
html:lang(zh-CN) {--ui:"Rethink Sans","Noto Sans SC","PingFang SC","Microsoft YaHei",sans-serif}
::selection {color:#181b1c; background:#ff9d7d}
.header {padding-inline:var(--chapter-gutter); color:var(--ink); background:var(--paper)}
.header .wordmark {letter-spacing:.025em}
.header .brand-mark {color:var(--accent)}
.header nav a,.header nav button {font-weight:650; letter-spacing:.035em}
.header .site-nav-link[aria-current=location]::after {height:2px}
.header .language-switch {border-radius:4px; background:transparent; border-color:var(--line)}
.header .language-indicator {transition-duration:.1s; border-radius:2px; background:var(--ink); box-shadow:none}
.header .language-switch button[aria-pressed=true] {color:var(--paper)}
html[data-section=overview] .header[data-mode=night] {
  --paper:var(--stage-ink); --ink:#edf0ea; --muted:#b4bdb8; --line:#d5dfd42d; --accent:var(--signal);
}
/* Color the interlude from its destination before the scene changes behind it. */
.art-transition[data-target=day] .transition-dim {background:#fff}
.art-transition[data-target=day] .art-card-surface {background:#fff; box-shadow:0 12px 34px #0002}
:root[data-mode=day] .glass-fin {background:linear-gradient(90deg,#00000005,#ffffff48)}
:root[data-mode=day] .light-filament {background:#fff; box-shadow:none}
:root[data-mode=day] #overview {
  --archive-light:var(--ink); --archive-fine:var(--line); --stock:#f2f2f2; --ink-stock:#171717;
}
:root[data-mode=day] #overview::before {background:none}
:root[data-mode=day] #overview::after {
  background:repeating-radial-gradient(circle at center,transparent 0 9px,#27272714 10px,transparent 11px 17px);
}
:root[data-mode=day] .archive-display em {color:#5c5c5c}
:root[data-mode=day] .film-meta {color:var(--accent)}
:root[data-mode=day] .archive-profile {--ink:#171717; --muted:#585858}
:root[data-mode=day] .site-media-content:has(img) {background:var(--paper)}
.header a:focus-visible,.header button:focus-visible,#overview :focus-visible {outline-color:var(--signal)}
.hero .title-stop,:root[data-mode=night] .hero .title-stop {color:var(--accent)}
.hero .atmosphere {background:linear-gradient(95deg,color-mix(in srgb,var(--paper) 86%,transparent),transparent 62%)}
:root[data-mode=night] .hero .atmosphere {background:linear-gradient(95deg,#111619c4,transparent 68%)}
.hero .space[data-space=day] {filter:saturate(.52)}
.hero .primary {
  color:var(--paper); background:var(--ink); border-color:var(--ink); border-radius:2px;
  font-weight:650; letter-spacing:.055em;
}
.hero .primary svg {border-radius:0; border:0; color:var(--signal)}
.hero .slogan,.hero .eyebrow {font-family:var(--ui); font-weight:550}
.hero .ground-fade {background:linear-gradient(0deg,var(--paper),transparent 14%)}
.hero .preview-controls,.edition,.side-index,.profile-name small {font-family:var(--data); font-variant-numeric:tabular-nums}
.chapter-heading {display:grid;justify-items:start;gap:clamp(12px,1.8svh,20px)}
.section-label {
  display:flex;
  align-items:center;
  gap:clamp(8px,1vw,17px);
  margin:0;
  color:var(--ink);
  font:800 clamp(.85rem,1.33vw,1.45rem)/1.2 var(--ui);
}
.section-label::before {
  content:"";
  flex:none;
  inline-size:clamp(18px,2vw,35px);
  block-size:clamp(2px,.16vw,3px);
  background:var(--section-accent);
}
#overview .archive-display,.objects-display,.giving-display {
  font-family:var(--display); font-weight:700; text-transform:uppercase;
  letter-spacing:-.034em; line-height:.82;
}
#overview .archive-display {font-size:clamp(5.5rem,min(10.8vw,18svh),14.8rem)}
.archive-display em {display:inline-block; font-style:normal}
.archive-display em span,.objects-display em {color:var(--signal)}
#merch .objects-display em {color:var(--accent)}
.film-info {margin:clamp(20px,3.2svh,40px) 0 20px}
.current-title,.shelf-title strong {font-family:var(--ui); font-weight:650; letter-spacing:.005em}
.film-meta,.film-counter,.ticket-head small,.ticket-stub time,.shelf-title small,.spine-name,.object-code,.giving-details dd {
  font-family:var(--data); font-variant-numeric:tabular-nums;
}
.film-play {
  display:inline-flex; align-items:center; justify-content:center; gap:11px;
  min-height:42px; padding:9px 19px; border-radius:2px; background:var(--signal);
  color:#1b1e1d; font-weight:700; font-size:.85rem; transition:background .22s,transform .22s;
}
.film-play span:first-child {font:12px/1 Arial}
.film-play:hover {background:#ffa584; transform:translateY(-2px)}
.film-play:active {transform:translateY(0)}
.ticket-head b,.shelf-no {font-family:var(--display); font-weight:700; letter-spacing:-.035em}
.ticket-title {font-weight:750}
.archive-bottom {padding-block:10px}
.archive-profile {
  margin-inline:var(--chapter-gutter); padding:14px 0; border-top:1px solid var(--archive-fine);
  --ink:var(--archive-light); --muted:#bbc3be; --line:var(--archive-fine);
}
.archive-profile .profile-description {max-width:55ch}
.archive-profile .text-action {border-bottom:0}
.archive-profile a:hover {text-decoration:underline; text-underline-offset:5px}
#merch,#donations {
  width:100%; max-width:none; padding-inline:var(--chapter-gutter);
  scroll-margin-top:var(--header);
}
#merch {display:flex; flex-direction:column; justify-content:center; min-height:calc(100svh - var(--header))}
#merch .object-shelf {height:clamp(310px,min(39vw,52svh),620px)}
.objects-display {font-size:clamp(4.5rem,7.8vw,10rem)}
.object-panel,.site-media-dialog {border-radius:2px}
.page-heading h2,.dialog-top h2,.site-media-header h2,.ai-dialog-content h2 {font-family:var(--ui); font-weight:700; letter-spacing:-.025em}
.site-page-footer,.site-media-header {border-color:var(--line)}
@media (min-width:851px) {
  .archive-body {grid-template-columns:minmax(0,.82fr) minmax(0,1.48fr); gap:3vw}
  .ticket-deck {
    --ticket-width:min(17vw,27.5svh,365px); --step:46%;
    height:min(43vw,62svh,795px);
  }
  .film-ticket {top:3.5%; left:4%; padding:clamp(12px,1.4vw,27px)}
  .ticket-head b {font-size:clamp(2.5rem,4.3vw,6.6rem)}
}
@media (max-width:850px) {
  #overview .archive-display {font-size:clamp(3.6rem,9.2vw,5.4rem)}
}
@media (max-width:650px) {
  .film-archive {padding:14px var(--chapter-gutter) 0}
  .archive-body {justify-content:center; gap:8px}
  #overview .archive-display {font-size:clamp(3.3rem,12vw,4.8rem); line-height:.9}
  .film-info {margin:0}
  .film-intro {padding:12px 0 0}
  .film-play {min-height:38px; padding:8px 12px; gap:7px; font-size:.75rem}
  .archive-profile {gap:5px 15px; padding:10px 0}
  .archive-profile .profile-name h3 {font-size:.97rem}
  .archive-profile .profile-name small {font-size:.65rem}
  .archive-profile .profile-description {font-size:.76rem}
  .archive-profile .profile-socials a {min-height:32px}
  .archive-bottom {padding-block:6px}
  #merch {padding-block:36px}
  #merch .object-shelf {height:clamp(300px,44svh,495px)}
  .objects-display {font-size:clamp(3.65rem,15vw,5.8rem)}
}
@media (min-width:1500px) {
  .ticket-deck {--step:60%}
  .film-ticket {left:7%}
}
@media (max-width:700px) {
  .hero .ground-fade,:root[data-mode=night] .hero .ground-fade {
    background:linear-gradient(180deg,transparent 42%,var(--paper) 89%);
  }
}
/* One frosted surface per toolbar. Text and symbols sit directly on it. */
:root, .header[data-mode=day] {
  --frost-tint: rgb(247 246 242 / 68%);
  --control-ink: #353533;
  --control-muted: #60605b;
}
:root[data-mode=night], .header[data-mode=night] {
  --frost-tint: rgb(33 34 36 / 66%);
  --control-ink: #f6f5f1;
  --control-muted: #c1c0bc;
}
:root[data-mode] .reference-rail, .hero .mode-switch, .header[data-mode] {
  background: var(--frost-tint);
  -webkit-backdrop-filter: blur(22px) saturate(.92);
  backdrop-filter: blur(22px) saturate(.92);
  box-shadow: none;
}
:root[data-mode] .reference-rail, .hero .mode-switch {
  border: 0;
  color: var(--control-ink);
  border-radius: 15px;
}
.header[data-mode] {border-bottom:1px solid var(--line)}
.header[data-mode] .language-switch {
  border:0;
  background:transparent;
  box-shadow:none;
  -webkit-backdrop-filter:none;
  backdrop-filter:none;
}
.header .language-indicator {display:none}
.hero .reference-rail {
  z-index:19;
  width:60px;
  height:clamp(336px,45svh,380px);
  padding:15px 6px 6px;
}
.reference-rail .rail-words {
  position:absolute;
  inset:17px 0 auto;
  gap:clamp(10px,1.85svh,18px);
  font-family:var(--ui);
  font-weight:600;
}
:root[data-mode=night] .reference-rail .rail-words {gap:clamp(5px,.75svh,8px)}
.reference-rail .rail-words i {opacity:.7}
.reference-rail .rail-buttons {
  position:absolute;
  inset:auto 8px 7px;
  gap:6px;
}
.hero .reference-rail .rail-buttons button, .hero .mode-switch button,
.preview-controls button, dialog .icon-button, .gallery-view .icon-button {
  background:transparent;
  color:var(--control-ink);
  border:0;
  box-shadow:none;
  transition:color .18s, opacity .18s;
}
.hero .reference-rail .rail-buttons button {width:100%;height:44px}
.reference-rail .rail-nightlife {order:-1}
.hero .reference-rail .rail-buttons svg, .hero-footer .scene-symbol,
.preview-controls svg, dialog .icon-button svg {
  width:21px;
  height:21px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.4;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.hero #favorite[aria-pressed=true] {color:var(--accent)}
.hero #favorite[aria-pressed=true] svg {fill:none;stroke:currentColor}
.hero .mode-switch {
  display:inline-flex;
  gap:0;
  min-width:0;
  padding:2px 6px;
}
.hero-footer .scene-symbol {box-sizing:content-box;flex:none;padding:0 8px}
.hero .mode-divider {display:none}
.hero .mode-switch button {min-width:56px;min-height:44px;padding-inline:9px}
.header .language-switch button, .hero .mode-switch button {color:var(--control-muted)}
.header .language-switch button[aria-pressed=true], .hero .mode-switch button[aria-pressed=true] {
  color:var(--control-ink);
  font-weight:700;
  text-decoration:underline;
  text-decoration-thickness:1px;
  text-underline-offset:5px;
}
.hero .mode-switch button::after {display:none}
.preview-controls button:not([hidden]) {display:inline-grid;place-items:center}
.preview-controls svg,dialog .icon-button svg {width:17px;height:17px}
.hero .reference-rail button:focus-visible, .hero .mode-switch button:focus-visible,
.header .language-switch button:focus-visible {outline:2px solid var(--accent);outline-offset:-2px}
@media (hover:hover) {
  .hero .reference-rail .rail-buttons button:hover, .hero .mode-switch button:hover,
  .header .language-switch button:hover, .header .language-switch button[aria-pressed=true]:hover,
  .preview-controls button:hover, dialog .icon-button:hover {
    color:var(--accent);
    background:transparent;
  }
}
.hero .rail-buttons button:active, .hero .mode-switch button:active,
.preview-controls button:active, dialog .icon-button:active {opacity:.6}
@media (prefers-reduced-motion:reduce) {
  .hero .reference-rail .rail-buttons button, .hero .mode-switch button,
  .preview-controls button, dialog .icon-button {transition:none}
}

/* The hero flows into the archive. The ticket navigation belongs to the deck. */
.hero .hero-footer, .archive-top, .archive-bottom {border:0}
.hero-footer::after, .hero .preview-controls::before, .hero-footer .ai-credit-rule, #overview::after {display:none}
.hero-footer .ai-credit-link {border:0}
.archive-copy {display:grid;justify-items:start;align-content:center;gap:clamp(24px,4svh,48px)}
.archive-copy .film-intro {padding:0}
.archive-player {min-width:0}
#overview .archive-bottom {padding:8px 0 0;justify-content:flex-end}
.archive-profile {
  flex-flow:column nowrap;
  align-items:flex-start;
  justify-content:center;
  gap:14px;
  margin:0;
  padding:0;
  border:0;
  min-width:0;
}
.archive-profile .profile-description {flex:none;min-width:0;max-width:30ch;line-height:1.75}
.archive-profile .profile-socials {gap:0 16px}
.archive-profile .text-action {gap:.45em;min-height:40px}
@media (min-width:651px) {
  #overview {
    --archive-height:calc(100svh - var(--header));
    --archive-inset:clamp(12px,2.2svh,32px);
    min-height:var(--archive-height);
  }
  .film-archive {padding-block:var(--archive-inset)}
  .archive-top {min-height:40px;padding:0}
  .archive-body {
    grid-template-columns:minmax(0,.94fr) minmax(0,1.74fr);
    gap:clamp(22px,3vw,78px);
    padding-block:var(--archive-inset) 0;
  }
  #overview .archive-display {font-size:clamp(3.3rem,min(8.6vw,16.6svh),14rem)}
  .archive-player {
    container-type:inline-size;
    /* Reserve space for the section heading, paging controls and outer padding. */
    --fan-height:calc(var(--archive-height) - 96px - 3 * var(--archive-inset));
    --archive-ticket-size:min(37.5cqi, calc(var(--fan-height) / 2.1));
    --fan-width:calc(var(--archive-ticket-size) * 2.65);
  }
  .archive-player .ticket-deck {
    --ticket-width:var(--archive-ticket-size);
    --step:39%;
    width:var(--fan-width);
    height:calc(var(--ticket-width) * 2.1);
    margin-inline:auto;
  }
  .archive-player .film-ticket {
    left:0;
    top:2%;
    padding:clamp(10px,2.3cqi,30px);
  }
  .archive-player .ticket-head b {font-size:clamp(2.2rem,7cqi,6rem)}
  #overview .archive-bottom {
    width:var(--fan-width);
    margin-inline:auto;
    padding-top:14px;
  }
}
@media (min-width:651px) and (max-height:760px) {
  .archive-copy {gap:clamp(14px,2.6svh,20px)}
  #overview .archive-display {font-size:min(8.4vw,14svh)}
  .archive-copy .film-info {margin:14px 0}
  .archive-profile {gap:7px}
}
@media (max-width:650px) {
  .film-archive {padding-block:12px}
  .archive-copy {display:contents}
  .archive-profile {
    order:1;
    align-self:flex-start;
    width:min(100%,32ch);
    margin-top:8px;
    gap:6px;
  }
}

/* Giving uses the warm paper and red accents of the reference. */
:root {
  --giving-background:#f8f5f2;
  --giving-surface:#faf7f4;
  --giving-on-accent:#fff;
}
:root[data-mode=night] {
  --giving-background:#14191b;
  --giving-surface:#1a2023;
  --giving-on-accent:#14191b;
}
#donations {
  --accent:var(--section-accent);
  --giving-inset:clamp(10px,.98vw,16px);
  --giving-columns:minmax(0,1.255fr) minmax(0,1fr);
  --giving-gap:clamp(18px,2.2vw,32px);
  --giving-line:color-mix(in srgb,var(--ink) 34%,transparent);
  --giving-edge:color-mix(in srgb,var(--ink) 17%,transparent);
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:calc(100svh - var(--header));
  min-height:calc(100dvh - var(--header));
  padding-block:clamp(30px,5.3svh,60px) clamp(30px,5.1svh,58px);
}
.giving-display {margin:0;font-size:clamp(3.25rem,min(6.5vw,14.2svh),8rem);white-space:nowrap}
.giving-display .type-stop {color:var(--accent)}
.giving-tools {
  --filter-gap:clamp(16px,2.65vw,44px);
  display:flex;
  justify-content:space-between;
  gap:12px 22px;
  min-block-size:clamp(46px,6.4svh,62px);
  margin-block:clamp(16px,2.6svh,27px) clamp(24px,3.6svh,38px);
  border-bottom:1px solid var(--giving-line);
}
.giving-tools .page-filters {align-items:stretch;gap:0 var(--filter-gap);margin:0}
.giving-tools .page-filters button {
  min-inline-size:44px;
  padding:0 0 .2em;
  color:var(--muted);
  font-size:clamp(.79rem,.93vw,1rem);
  white-space:nowrap;
}
.giving-tools .page-filters button + button::before {
  content:"";
  position:absolute;
  inset-inline-start:calc(var(--filter-gap) / -2);
  top:50%;
  inline-size:1px;
  block-size:clamp(10px,1.6svh,15px);
  transform:translateY(-55%);
  background:var(--giving-line);
}
.giving-tools .page-filters button[aria-pressed=true] {color:var(--ink);font-weight:750}
.giving-tools .page-filters button[aria-pressed=true]::after {bottom:-1px;height:2px}
.giving-tools-info {
  display:flex;
  flex:none;
  align-items:center;
  gap:clamp(10px,1.45vw,24px);
  font-size:clamp(.76rem,.85vw,.92rem);
}
.giving-count {margin:0;padding-inline-end:clamp(10px,1.45vw,24px);border-inline-end:1px solid var(--giving-line);white-space:nowrap}
.giving-count strong {color:var(--accent);font-size:1.14em;font-variant-numeric:tabular-nums}
.giving-status {
  display:inline-flex;
  align-items:center;
  gap:.65em;
  margin:0;
  padding:.4em .75em;
  border:1px solid var(--giving-edge);
  color:var(--muted);
  font-size:.94em;
  white-space:nowrap;
}
.giving-status svg,.giving-meta svg {
  flex:none;
  inline-size:1.35em;
  block-size:1.35em;
  fill:none;
  stroke:currentColor;
  stroke-width:1.65;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.giving-records {
  flex:1 0 0px;
  display:grid;
  grid-template-columns:var(--giving-columns);
  grid-template-rows:repeat(2,minmax(0,1fr));
  gap:clamp(18px,2.8svh,30px) var(--giving-gap);
  min-block-size:clamp(346px,43svh,435px);
  max-block-size:clamp(460px,38vw,720px);
}
.giving-record:first-child {grid-row:1 / -1}
.giving-record {min-inline-size:0;min-block-size:0}
.giving-record h3 {height:100%;margin:0}
.giving-entry {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:clamp(12px,1.7vw,28px);
  width:100%;
  height:100%;
  padding:var(--giving-inset);
  border:1px solid var(--giving-edge);
  border-radius:3px;
  background:var(--giving-surface);
  color:var(--ink);
  text-align:start;
}
.giving-print {
  position:relative;
  display:block;
  inline-size:100%;
  min-height:0;
  overflow:hidden;
  border-radius:2px;
  background:color-mix(in srgb,var(--giving-surface) 92%,var(--ink));
}
.giving-print img {position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
[data-record-kind="education"] .giving-print img {object-position:center 49%}
.giving-record:first-child .giving-print::after {
  content:"";
  position:absolute;
  inset:0;
  background:radial-gradient(ellipse 48% 90% at 0 0,rgb(0 0 0 / 57%),transparent);
  pointer-events:none;
}
.giving-category,.giving-image-index {
  display:grid;
  justify-items:start;
  gap:5px;
  font:550 clamp(.65rem,.74vw,.81rem)/1.3 var(--ui);
  letter-spacing:.125em;
  text-transform:uppercase;
}
.giving-number {
  display:flex;
  align-items:center;
  gap:.46em;
  color:var(--accent);
  font:700 clamp(1.35rem,min(1.87vw,3.7svh),2.12rem)/.86 var(--display);
  letter-spacing:-.02em;
  font-variant-numeric:tabular-nums;
}
.giving-number::after {content:"";inline-size:.68em;block-size:1px;background:var(--giving-line)}
.giving-image-index {
  position:absolute;
  z-index:1;
  inset:clamp(16px,1.55vw,29px) auto auto clamp(16px,1.9vw,35px);
  max-inline-size:13ch;
  gap:clamp(8px,1.05vw,16px);
  color:#fff;
  line-height:1.45;
  text-shadow:0 1px 4px #0006;
}
.giving-image-index .giving-number {display:grid;gap:.24em;color:inherit;font-size:clamp(2.15rem,3.2vw,3.8rem)}
.giving-image-index .giving-number::after {inline-size:.45em;background:currentColor}
.giving-caption {
  align-self:center;
  display:grid;
  justify-items:start;
  min-width:0;
  gap:clamp(6px,1svh,11px) 16px;
}
.giving-name {font:750 clamp(1rem,min(1.32vw,2.65svh),1.5rem)/1.24 var(--ui);letter-spacing:-.02em;text-wrap:balance}
.giving-meta {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:6px clamp(8px,1.05vw,18px);
  font:550 clamp(.73rem,.83vw,.875rem)/1.45 var(--ui);
  font-variant-numeric:tabular-nums;
}
.giving-meta-item {display:inline-flex;align-items:center;gap:.6em}
.giving-meta-item + .giving-meta-item {border-inline-start:1px solid var(--giving-line);padding-inline-start:clamp(8px,1.05vw,18px)}
.giving-action {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.65em;
  min-block-size:clamp(27px,3.7svh,34px);
  padding:.3em 1em;
  border:1px solid var(--accent);
  color:var(--accent);
  font:700 clamp(.75rem,.82vw,.875rem)/1.2 var(--ui);
  white-space:nowrap;
}
.giving-action > :last-child {display:inline-block;font-size:1.25em;line-height:1}
.giving-record:first-child .giving-entry {grid-template-columns:minmax(0,1fr);grid-template-rows:minmax(0,1fr) auto;gap:0}
.giving-record:first-child .giving-caption {
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  padding:clamp(15px,2.6svh,24px) clamp(6px,.82vw,14px) clamp(6px,1.1svh,12px);
}
.giving-record:first-child .giving-caption > :not(.giving-action) {grid-column:1}
.giving-record:first-child .giving-category {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:.72em;
}
.giving-record:not(:first-child) .giving-category-local {display:none}
.giving-category-local {display:flex;align-items:center;gap:.7em;font-weight:750;letter-spacing:.04em}
.giving-category-local::before {content:"";inline-size:2px;block-size:1.15em;background:var(--accent)}
.giving-category-local::after {content:"/" / "";margin-inline:.4em;font-weight:500}
.giving-record:first-child .giving-name {font-size:clamp(1.22rem,1.85vw,2.05rem)}
.giving-record:first-child .giving-action {
  grid-area:2 / 2 / span 2;
  align-self:end;
  min-block-size:clamp(30px,4.2svh,38px);
  background:var(--accent);
  color:var(--giving-on-accent);
}
.giving-records:has(> [hidden]) > .giving-record:not([hidden]) {grid-area:1 / 1 / -1 / -1}
.giving-entry:is(:hover,:focus-visible) .giving-action {box-shadow:inset 0 0 0 1px currentColor}
#donations :focus-visible,.site-page-footer :focus-visible {outline:2px solid var(--accent);outline-offset:3px}
.giving-details {
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(min(100%,8rem),1fr));
  gap:12px;
  margin:0;
  padding:18px 24px 0;
  background:var(--paper);
  color:var(--ink);
}
.giving-details dt {color:var(--muted);font-size:.78rem}
.giving-details dd {margin:4px 0 0;font-size:.9rem}
@media (min-width:851px) {
  .giving-record:first-child .giving-name,.giving-record:first-child .giving-meta {margin-inline-start:clamp(9px,.65vw,13px)}
  .giving-records:has(> [hidden]) .giving-entry {
    grid-template-columns:var(--giving-columns);
    grid-template-rows:minmax(0,1fr);
    gap:clamp(22px,3.4vw,62px);
    padding:var(--giving-inset);
  }
  .giving-records:has(> [hidden]) .giving-caption {
    grid-template-columns:minmax(0,1fr);
    padding:0 clamp(12px,3vw,46px) 0 0;
  }
  .giving-records:has(> [hidden]) .giving-name {max-width:24ch;font-size:clamp(1.3rem,2.1vw,2.25rem)}
  .giving-records:has(> [hidden]) :is(.giving-name,.giving-meta) {margin-inline-start:0}
  .giving-records:has(> [hidden]) .giving-action {grid-area:auto}
}
@media (min-width:851px) and (max-width:1150px) {
  .giving-records:not(:has(> [hidden])) > .giving-record:not(:first-child) .giving-entry {grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr)}
}
@media (min-width:851px) and (max-height:780px) {
  .objects-display {font-size:clamp(4.5rem,min(7.8vw,15.6svh),10rem)}
  #donations {padding-block:clamp(22px,3.75svh,30px) clamp(22px,3.6svh,28px)}
  .giving-tools {min-block-size:clamp(44px,6.8svh,53px);margin-block:clamp(12px,2.2svh,16px) clamp(18px,3.3svh,24px)}
  .giving-records {min-block-size:clamp(296px,45svh,348px);row-gap:clamp(13px,2.1svh,18px)}
  .giving-caption {row-gap:clamp(4px,.74svh,6px)}
  .giving-category {font-size:clamp(.61rem,1.45svh,.8rem);gap:4px}
  .giving-caption .giving-number {font-size:clamp(1.23rem,3.45svh,1.85rem)}
  .giving-name {font-size:clamp(1rem,min(1.44vw,2.88svh),1.35rem)}
  .giving-records:not(:has(> [hidden])) > .giving-record:not(:first-child) .giving-entry {
    padding-block:clamp(7px,1.32svh,10px);
  }
  .giving-record:first-child .giving-name {font-size:clamp(1.22rem,min(1.9vw,4.25svh),1.98rem)}
  .giving-record:first-child .giving-caption {padding-block:clamp(12px,2svh,16px) clamp(5px,.9svh,8px)}
  .giving-meta {font-size:clamp(.7rem,1.78svh,.82rem)}
}
@media (max-width:1050px) {
  .giving-tools {--filter-gap:clamp(12px,2.8vw,30px)}
  .giving-meta-item + .giving-meta-item {border:0;padding-inline-start:0}
}
@media (max-width:850px) {
  #donations {justify-content:flex-start;padding-block:30px}
  .giving-records {
    flex:none;
    grid-template-columns:minmax(0,1fr);
    grid-template-rows:none;
    min-block-size:0;
    max-block-size:none;
  }
  .giving-record:first-child,.giving-records:has(> [hidden]) > .giving-record:not([hidden]) {grid-area:auto}
  .giving-entry {grid-template-columns:clamp(104px,33vw,270px) minmax(0,1fr)}
  .giving-print {align-self:stretch;aspect-ratio:1.25}
  .giving-record:first-child .giving-entry,.giving-records:has(> [hidden]) .giving-entry {grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto}
  .giving-record:first-child .giving-print,.giving-records:has(> [hidden]) .giving-print {aspect-ratio:1.84}
  .giving-records:has(> [hidden]) .giving-caption {padding:5px}
}
@media (max-width:700px) {
  .giving-tools {--filter-gap:clamp(6px,3vw,18px);flex-direction:column;gap:5px}
  .giving-tools-info {order:-1;justify-content:space-between}
  .giving-count {border:0;padding:0}
  .giving-tools .page-filters button + button::before {display:none}
  .giving-caption {row-gap:6px}
  .giving-record:first-child .giving-caption {
    grid-template-columns:minmax(0,1fr);
    padding:12px 9px;
  }
  .giving-record:first-child .giving-action {grid-area:auto;margin-top:3px}
  .giving-action {padding-inline:.8em}
  .giving-category {letter-spacing:.1em}
}
@media (max-width:360px) {
  .giving-tools {--filter-gap:6px}
  .giving-tools .page-filters button {font-size:.76rem}
}

/* Light comes from the upper left. Shadows belong to the artwork. */
:root {
  --ambient-warm:rgb(213 185 148 / 26%);
  --ambient-cool:rgb(154 175 179 / 13%);
  --print-shadow:0 14px 27px -17px rgb(72 51 34 / 37%), 0 2px 5px -3px rgb(59 45 33 / 22%);
  --depth-ease:cubic-bezier(.22,.74,.22,1);
}
:root[data-mode=night] {
  --ambient-warm:rgb(177 122 88 / 15%);
  --ambient-cool:rgb(117 149 175 / 18%);
  --print-shadow:0 16px 32px -14px rgb(0 0 0 / 66%), 0 2px 6px rgb(0 0 0 / 22%);
}
#overview, #merch {
  background-color:var(--stage-ink);
  background-image:radial-gradient(ellipse at 78% 52%,var(--ambient-warm),transparent 62%),
    radial-gradient(ellipse at 12% 82%,var(--ambient-cool),transparent 53%);
}
#merch {background-position:center;background-image:radial-gradient(ellipse at 42% 58%,var(--ambient-warm),transparent 68%)}
#donations,.site-page-footer {background:var(--giving-background)}
.hero .atmosphere::before {
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(ellipse at 60% 22%,var(--ambient-warm),transparent 46%);
}
.ticket-deck {filter:drop-shadow(2px 12px 9px rgb(57 40 31 / 14%))}
:root[data-mode=night] .ticket-deck {filter:drop-shadow(3px 16px 11px rgb(0 0 0 / 36%))}
.film-ticket {
  background-image:linear-gradient(132deg,rgb(255 255 255 / 20%),transparent 44%,rgb(83 56 35 / 7%));
}
.object-cover::before {display:none}
.object-panel[data-active=true] {box-shadow:var(--print-shadow)}
@media (prefers-reduced-motion:no-preference) {
  .object-panel {
    transition:flex-grow .62s var(--depth-ease), scale .5s var(--depth-ease);
  }
  .object-panel[data-active=false] {scale:1 .965}
  .giving-print img,.giving-action > :last-child,.ticket-image img {
    transition:transform .48s var(--depth-ease);
  }
  .giving-entry:focus-visible .giving-print img, .film-ticket:focus-visible .ticket-image img {transform:scale(1.035)}
  .giving-records.in-view .giving-record, .object-shelf.in-view {
    animation:artwork-arrive .65s var(--depth-ease) backwards;
  }
  .giving-records.in-view .giving-record:nth-child(2) {animation-delay:65ms}
  .giving-records.in-view .giving-record:nth-child(3) {animation-delay:120ms}
  @keyframes artwork-arrive {
    from {opacity:.72;transform:translateY(12px)}
    to {opacity:1;transform:none}
  }
}
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) {
  .giving-entry:hover .giving-print img,.film-ticket:hover .ticket-image img {transform:scale(1.035)}
  .giving-entry:hover .giving-action > :last-child {transform:translateX(3px)}
}

/* The extrusion scales with the type. Its light edge faces the same light as the prints. */
.relief-title {
  --type-edge:#a49a8c;
  --type-side:#7d776f;
  --type-shadow:rgb(55 42 29 / 19%);
  --type-depth:.033em;
  width:fit-content;
  max-width:100%;
  perspective:900px;
  pointer-events:auto;
}
:root[data-mode=night] .relief-title {
  --type-edge:#959f9c;
  --type-side:#586767;
  --type-shadow:rgb(0 0 0 / 47%);
}
.archive-display.relief-title {--type-depth:.046em}
.type-face {
  --slant:0deg;
  --turn:-3deg;
  display:inline-block;
  transform-origin:left 75%;
  transform:rotateY(var(--turn)) skewX(var(--slant));
  text-shadow:
    .008em .008em var(--type-edge),
    .016em .016em var(--type-edge),
    .024em .024em var(--type-side),
    .032em .032em var(--type-side),
    var(--type-depth) var(--type-depth) var(--type-side),
    .045em .064em .045em var(--type-shadow);
}
.type-italic {--slant:-8deg;--turn:4deg}
.type-stop {text-shadow:.025em .025em color-mix(in srgb,var(--accent) 75%,var(--ink))}

@media (prefers-reduced-motion:no-preference) and (forced-colors:none) {
  .relief-title .type-face {position:relative}
  .relief-title .type-face::after {
    content:attr(data-highlight) / "";
    position:absolute;
    inset:0;
    pointer-events:none;
    color:transparent;
    text-shadow:none;
    opacity:0;
    background:linear-gradient(110deg,transparent 38%,var(--signal) 54%,transparent 65%) 100% 50% / 280% 100%;
    -webkit-background-clip:text;
    background-clip:text;
    animation:var(--title-animation,none) .95s ease-out;
  }

  .film-intro:focus-within .relief-title {--title-animation:title-sheen}
  @media (hover:hover) and (pointer:fine) {
    .relief-title:hover {--title-animation:title-sheen}
  }
  @media (hover:none), (pointer:coarse) {
    .relief-title.in-view {--title-animation:title-sheen}
  }
  @keyframes title-sheen {
    0% {background-position:100% 50%}
    24%, 68% {opacity:.9}
    100% {background-position:0% 50%}
  }
}
@media (max-width:650px) {
  .archive-display.relief-title {--type-depth:.033em}
  .type-italic {--slant:-5deg}
}

/* Keep the section links beside the wordmark and the language picker at the far edge. */
.header-controls {display:contents}
.mobile-menu-toggle,.menu-language-label,.mobile-scene-transition {display:none}
@media (min-width:701px) {
  .header {grid-template-columns:auto minmax(0,1fr) auto;column-gap:clamp(22px,3vw,56px)}
}
.header nav {display:flex;justify-self:start;justify-content:flex-start;align-items:center;gap:clamp(14px,1.65vw,32px)}
.header nav .site-nav-link {display:inline-flex;align-items:center;gap:7px}
.header nav svg {
  width:18px;height:18px;flex:none;fill:none;stroke:currentColor;
  stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;color:var(--muted);
}
.header nav :is([aria-current=location],:hover,:focus-visible) > svg {color:var(--accent)}
.header nav [aria-current=location] {color:var(--accent)}
.header nav .site-nav-link::after {display:none}
@media (min-width:701px) and (max-width:1040px) {
  .header {padding-inline:clamp(16px,2.5vw,30px);column-gap:16px}
  .header nav {gap:clamp(9px,1.3vw,16px)}
  .header nav .site-nav-link {gap:5px}
}
@media (max-width:700px), (pointer:coarse) and (max-width:1000px) and (max-height:500px) {
  :root {--header:calc(60px + env(safe-area-inset-top,0px))}
  .film-info .current-title {max-inline-size:min(90%,13.2em)}
  .header {
    position:relative;
    --header-start:max(var(--chapter-gutter),env(safe-area-inset-left,0px));
    --header-end:max(var(--chapter-gutter),env(safe-area-inset-right,0px));
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:minmax(0,1fr);
    height:var(--header);
    gap:12px;
    padding-top:env(safe-area-inset-top,0px);
    padding-inline:var(--header-start) var(--header-end);
  }
  .mobile-menu-toggle {
    display:inline-flex;
    align-items:center;
    justify-content:flex-end;
    gap:9px;
    min-inline-size:44px;
    min-block-size:44px;
    color:var(--ink);
    font:650 .84rem/1 var(--ui);
  }
  .mobile-menu-icon {position:relative;inline-size:19px;block-size:16px;flex:none}
  .mobile-menu-icon::before,.mobile-menu-icon::after {
    content:"";
    position:absolute;
    inset:calc(50% - 1px) 0 auto;
    block-size:1.5px;
    background:currentColor;
    transition:transform .18s ease;
  }
  .mobile-menu-icon::before {transform:translateY(-3px)}
  .mobile-menu-icon::after {transform:translateY(3px)}
  .mobile-menu-toggle[aria-expanded=true] .mobile-menu-icon::before {transform:rotate(45deg)}
  .mobile-menu-toggle[aria-expanded=true] .mobile-menu-icon::after {transform:rotate(-45deg)}

  .header-controls {
    position:absolute;
    inset:100% 0 auto;
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:10px 12px;
    padding-block:8px max(12px,env(safe-area-inset-bottom,0px));
    padding-inline:var(--header-start) var(--header-end);
    max-block-size:calc(100vh - var(--header));
    max-block-size:calc(100dvh - var(--header));
    overflow-y:auto;
    overscroll-behavior:contain;
    border-bottom:1px solid var(--line);
    background:var(--paper);
    box-shadow:0 18px 32px -20px rgb(10 15 18 / 38%);
    visibility:hidden;
    opacity:0;
    pointer-events:none;
    transform:translateY(-6px);
    transition:opacity .16s ease,transform .18s ease,visibility 0s .18s;
  }
  .mobile-menu-toggle[aria-expanded=true] + .header-controls {
    visibility:visible;
    opacity:1;
    pointer-events:auto;
    transform:none;
    transition-delay:0s;
  }
  .header .header-controls nav {grid-column:1/-1;display:grid;justify-self:stretch;gap:2px}
  .header .header-controls .site-nav-link {
    min-block-size:46px;
    gap:11px;
    padding-inline:10px;
    border-radius:3px;
    font-size:.9rem;
    line-height:1.2;
  }
  .header .header-controls .site-nav-link[aria-current=location] {
    background:color-mix(in srgb,var(--accent) 8%,transparent);
  }
  .menu-language-label {display:block;padding-inline:10px;color:var(--muted);font-size:.78rem}
  .header .header-controls .language-switch {
    grid-template-columns:repeat(4,44px);
    gap:0;
    padding:0;
  }
  .header .header-controls .language-switch button {min-block-size:44px}

  .mobile-scene-transition:not([hidden]) {
    --scene-background:#f5eee7;
    --scene-light:#fff9f1;
    --scene-frame:#fffaf4;
    position:fixed;
    inset:0;
    z-index:50;
    display:block;
    overflow:hidden;
    touch-action:none;
    pointer-events:auto;
  }
  .mobile-scene-transition[data-target=night] {
    --scene-background:#101518;
    --scene-light:#28323a;
    --scene-frame:#32383a;
  }
  .mobile-scene-transition[data-target] .transition-dim {
    background:radial-gradient(ellipse at center,var(--scene-light),var(--scene-background) 75%);
  }
  .header[data-mode],.hero .mode-switch {
    -webkit-backdrop-filter:none;
    backdrop-filter:none;
    background-color:color-mix(in srgb,var(--paper) 96%,transparent);
  }
  #site-pages > [data-site-page] {
    content-visibility:auto;
    contain-intrinsic-block-size:auto 100svh;
  }
  :root[data-mode] .hero.is-changing .character-interaction {visibility:hidden}
  :root[data-mode] .hero.is-changing .character.active {visibility:visible}
  :root[data-mode=day] .hero .signature img {
    filter:brightness(0) saturate(100%) invert(19%) sepia(42%) saturate(1505%) hue-rotate(335deg)
      drop-shadow(.35px .25px 0 #622f20) drop-shadow(0 0 .5px #fff8eb);
  }
  .mobile-scene-transition .accordion-deck {
    --deck-zoom:1.12;
  }
  @media (orientation:portrait) {
    .mobile-scene-transition .accordion-deck {--deck-zoom:2.1}
  }
  .mobile-scene-transition .art-card {
    --card-height:calc(min(60vw,76vh) * var(--deck-zoom));
    top:calc((100% - var(--card-height)) / 2);
    left:0;
    width:calc(32vw * var(--deck-zoom));
    height:var(--card-height);
  }
  .mobile-scene-transition .art-card-surface {
    padding:3px;
    border-radius:3px;
    background:var(--scene-frame);
    box-shadow:0 6px 12px -5px rgb(10 15 18 / 38%);
  }
  .mobile-scene-transition .art-card img {filter:none}
  .mobile-scene-transition .art-card-number {
    right:calc(13px * var(--deck-zoom));bottom:calc(13px * var(--deck-zoom));
    font-size:calc(clamp(14px,3.7vw,24px) * var(--deck-zoom));
  }
  .hero-content > .hero-footer {
    align-self:flex-start;
    align-items:flex-start;
    justify-content:flex-start;
    flex:0 0 auto;
    width:auto;
    height:auto;
    min-height:0;
    margin:0;
    padding:0;
    pointer-events:auto;
  }
  .hero-content .mode-switch {position:relative;inset:auto;transform:none}
}
@media (orientation:landscape) and (max-height:500px) and (max-width:1000px) and (pointer:coarse) {
  .hero {min-height:calc(100dvh - var(--header));overflow:clip}
  .hero .stage {inset:0;height:100%}
  .hero .character-parallax {inset:0 2% 0 auto;width:min(49vw,96dvh)}
  .hero .eyebrow {inset:12px 16px auto auto}
  .hero-content {
    width:min(50vw,400px);
    flex:1 0 auto;
    margin:0;
    padding:8px 18px max(8px,env(safe-area-inset-bottom));
    justify-content:center;
    gap:4px;
  }
  .hero .copy {--name-size:clamp(36px,10dvh,52px);width:100%;margin:0;padding:0}
  .hero .name-composition {margin:0 0 4px}
  .hero .copy h1 {display:block;line-height:1.08;transform:skewY(-2.5deg)}
  .hero .title-first,.hero .title-second {display:inline}
  .hero .title-dash {display:none}
  .hero .copy .signature {
    display:block;
    top:0;
    left:calc(100% + 6px);
    width:calc(var(--name-size) * 1.6);
    height:100%;
  }
  .hero .slogan {font-size:.8125rem;line-height:1.45}
  .hero .hero-actions {margin-top:5px}
  .hero .hero-preview {width:100%}
  .hero .preview-images button {height:clamp(32px,10dvh,46px)}
  .hero .preview-controls {margin-top:2px}
}
@media (prefers-reduced-motion:reduce) {
  .header-controls,.mobile-menu-icon::before,.mobile-menu-icon::after {transition:none}
  .mobile-scene-transition:not([hidden]) {display:none}
}

html[data-section=donations] .header[data-mode] {
  --accent:var(--section-accent);
  border-bottom:0;
  background:color-mix(in srgb,var(--giving-background) 94%,transparent);
}
html[data-section=donations] .header::after {
  content:"";
  position:absolute;
  inset:auto var(--chapter-gutter) 0;
  block-size:1px;
  background:var(--line);
  pointer-events:none;
}
html[data-section=donations] .header .language-switch button[aria-pressed=true] {
  text-decoration-color:var(--accent);
  text-decoration-thickness:2px;
}


@media (max-width:700px) {
  #site-pages {
    --page-height:100dvh;
    --page-pad:clamp(16px,3dvh,32px);
    --section-gap:clamp(10px,1.9dvh,20px);
  }
  #overview,#merch,#donations {
    min-height:var(--page-height);
    scroll-margin-top:0;
  }
  .film-archive,#merch,#donations {padding:var(--page-pad) var(--chapter-gutter)}
  #site-pages .chapter-heading {gap:8px}
  #site-pages .section-label {min-height:32px}
  html:is([data-section=overview],[data-section=merch]) .header {background:var(--paper)}
  html[data-section=donations] .header[data-mode] {background:var(--giving-background)}
  #site-pages .chapter-heading .relief-title {
    font-size:clamp(2.55rem,11.6vw,4.2rem);line-height:.98;
  }

  .archive-top {display:none}
  .archive-body {display:flex;flex-flow:column;align-items:stretch;gap:var(--section-gap);padding:0}
  .archive-copy {display:contents}
  .archive-copy .film-intro {
    display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;
    width:100%;gap:var(--section-gap) 12px;
  }
  .film-intro .chapter-heading {
    grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;width:100%;align-items:center;
  }
  .film-intro .chapter-heading a {
    display:inline-flex;align-items:center;gap:4px;min-height:32px;
    color:var(--muted);font-size:.75rem;pointer-events:auto;
  }
  .film-intro .archive-display {grid-column:1/-1}
  .film-intro .archive-profile {
    grid-column:1/-1;order:0;width:100%;margin:0;padding:0;
    display:flex;flex-direction:column;align-items:flex-start;gap:4px;pointer-events:auto;
  }
  .archive-profile .profile-description {max-width:30ch;line-height:1.65}
  .archive-profile .profile-socials {justify-content:flex-start;gap:0 16px}
  .archive-profile .text-action {min-height:36px;font-size:.74rem}
  .film-intro .film-info {margin:0}
  .archive-player {
    flex:1 0 auto;display:flex;flex-direction:column;justify-content:center;
    width:100%;container-type:inline-size;
  }
  .archive-player .ticket-deck {
    --ticket-width:min(43cqi,24.5dvh);
    --step:30%;
    width:calc(var(--ticket-width) * 2.35);max-width:100%;height:calc(var(--ticket-width) * 2.02);
    min-height:0;max-height:none;aspect-ratio:auto;margin:auto;
  }
  .archive-player .film-ticket {left:2%;top:3%}
  #overview .archive-bottom {width:100%;padding:4px 0 0;justify-content:flex-end}

  #merch {justify-content:flex-start;gap:var(--section-gap)}
  #merch .objects-heading {padding:0;margin:0}
  #merch .collection-note {display:none}
  #merch .page-filters,#merch .shelf-caption {padding:0;margin:0}
  #merch .object-shelf {flex:1 0 auto;height:auto;min-height:clamp(205px,39dvh,370px)}
  .shelf-caption .text-action {min-height:40px}

  #donations {justify-content:flex-start;gap:var(--section-gap)}
  .giving-tools {margin:0;min-height:0;gap:2px}
  .giving-records {
    flex:1 0 auto;max-block-size:none;gap:clamp(8px,1.4dvh,16px);
    grid-template-rows:repeat(3,minmax(max-content,1fr));
  }
  .giving-records:not(:has(> [hidden])) .giving-entry {
    grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
    grid-template-rows:auto;gap:clamp(10px,3vw,18px);padding:8px;
  }
  .giving-records:not(:has(> [hidden])) .giving-print {aspect-ratio:auto;min-height:85px}
  .giving-records:not(:has(> [hidden])) .giving-caption {
    align-self:stretch;display:flex;flex-direction:column;align-items:flex-start;
    justify-content:space-between;gap:5px;padding:3px 0;
  }

  .giving-records:not(:has(> [hidden])) .giving-category {
    display:flex;flex-wrap:wrap;align-items:center;gap:5px;
  }
  .giving-image-index {inset:10px auto auto 10px}
  .giving-image-index .giving-number {font-size:1.8rem}
  .giving-category,.giving-image-index {font-size:.6rem}
  .giving-caption .giving-number {font-size:1.25rem}

  .giving-caption .giving-meta {gap:3px 8px;font-size:.69rem}
  .giving-records:has(> [hidden]) {grid-template-rows:1fr}
  .giving-records:has(> [hidden]) .giving-entry {grid-template-rows:minmax(145px,1fr) auto}
  .giving-records:has(> [hidden]) .giving-print {aspect-ratio:auto}
}

@media (min-width:600px) and (max-width:700px) and (orientation:portrait) {
  .archive-player .ticket-deck {--ticket-width:min(43cqi,20.5dvh)}
}
@media (max-width:700px) and (max-height:740px) {
  #site-pages {--page-pad:12px;--section-gap:8px}
  .film-intro .archive-profile {gap:2px 6px}
  .archive-profile .profile-name {gap:5px}
  .archive-profile .profile-socials {gap:0 6px}
  .archive-profile .profile-description {font-size:.74rem}
  .archive-player .ticket-deck {--ticket-width:min(41cqi,17.6dvh)}
  .giving-records {gap:6px}
  .giving-records:not(:has(> [hidden])) .giving-entry {
    grid-template-columns:minmax(76px,.62fr) minmax(0,1.38fr);padding:6px;gap:9px;
  }
  .giving-records:not(:has(> [hidden])) .giving-caption {row-gap:4px;padding:0}
  .giving-records:not(:has(> [hidden])) .giving-category {display:flex;flex-wrap:wrap;align-items:center;gap:4px}
  .giving-caption .giving-number::after {display:none}
  .giving-records:not(:has(> [hidden])) .giving-caption .giving-category-local ~ [lang=en] {display:none}
  .giving-category-local::after {display:none}
  .giving-tools .page-filters button {min-height:34px}
  .giving-image-index > [lang=en] {display:none}
}
@media (min-width:701px) and (min-height:501px) {
  #merch {min-height:calc(100dvh - var(--header));padding-block:clamp(24px,4dvh,64px)}
  #merch .object-shelf {height:clamp(245px,48dvh,620px)}
}

@media (pointer:coarse) and (orientation:landscape) and (max-width:1000px) and (max-height:500px) {
  #overview,#merch,#donations {min-height:100dvh;scroll-margin-top:0}
  .film-archive,#merch,#donations {padding:12px var(--chapter-gutter)}
  #site-pages .chapter-heading {gap:4px}
  #site-pages .chapter-heading .relief-title {font-size:clamp(2rem,5vw,3.1rem);line-height:1}
  .archive-top {display:none}
  .archive-body {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:center;gap:16px;padding:0}
  .archive-copy {display:contents}
  .archive-copy .film-intro {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px 10px}
  .film-intro .chapter-heading {width:100%;grid-column:1/-1;grid-template-columns:1fr auto;align-items:center}
  .film-intro .chapter-heading a {display:inline-flex;align-items:center;min-height:32px;font-size:.72rem;pointer-events:auto}
  .archive-display {grid-column:1/-1}
  .film-intro .archive-profile {display:flex;flex-flow:column;align-items:flex-start;grid-column:1/-1;order:0;width:100%;gap:4px;pointer-events:auto}
  .archive-profile .profile-description {max-width:none;font-size:.75rem}
  .archive-profile .profile-socials a {min-height:28px}
  .archive-copy .film-intro .film-info {margin:0}
  .archive-player {container-type:inline-size}
  .archive-player .ticket-deck {
    --ticket-width:min(40cqi,calc((100dvh - var(--header) - 72px) / 2.1));
    --step:30%;width:calc(var(--ticket-width)*2.45);height:calc(var(--ticket-width)*2.05);
    min-height:0;aspect-ratio:auto;margin:auto;
  }
  #overview .archive-bottom {padding:3px 0 0;margin:0;width:auto}
  #merch,#donations {display:grid;grid-template-columns:minmax(0,1fr) minmax(0,2.1fr);gap:8px 22px}
  #merch {grid-template-rows:1fr auto 1fr;align-items:center}
  #merch .objects-heading {align-self:end;display:grid;justify-content:start;gap:8px;margin:0;padding:0}
  #merch .collection-note {display:none}
  #merch .page-filters {margin:0}
  #merch .object-shelf {grid-area:1/2/4/3;align-self:stretch;height:auto;min-height:175px}
  #merch .shelf-caption {align-self:start;justify-content:flex-start;padding:0}
  #donations {grid-template-rows:1fr 1fr;padding-block:8px}
  #donations > .chapter-heading {align-self:end}
  .giving-tools {align-self:start;display:grid;gap:5px;margin:0}
  .giving-tools-info {order:-1;flex-wrap:wrap;gap:4px}
  .giving-tools .page-filters {flex-wrap:wrap;gap:0 12px}
  .giving-tools .page-filters button {min-height:32px}
  .giving-tools .page-filters button + button::before {display:none}
  .giving-records {grid-area:1/2/3/3;grid-template-columns:1fr;grid-template-rows:repeat(3,minmax(min-content,1fr));gap:5px;min-block-size:0;max-block-size:none}
  .giving-records:not(:has(> [hidden])) .giving-record {grid-area:auto}
  .giving-records:not(:has(> [hidden])) .giving-entry {grid-template-columns:26% minmax(0,1fr);grid-template-rows:auto;gap:10px;padding:5px}
  .giving-records:not(:has(> [hidden])) .giving-print {aspect-ratio:auto;min-height:70px}
  .giving-records:not(:has(> [hidden])) .giving-caption {
    align-self:stretch;display:grid;grid-template-columns:minmax(0,1fr) auto;
    align-content:space-between;align-items:end;gap:4px 8px;padding:2px 0;
  }
  .giving-records:not(:has(> [hidden])) .giving-caption > :is(.giving-category,.giving-name) {grid-column:1/-1}
  .giving-records:not(:has(> [hidden])) .giving-action {grid-area:auto;align-self:end;margin:0}
  .giving-records:not(:has(> [hidden])) .giving-name {width:100%}
  .giving-records:not(:has(> [hidden])) .giving-category {display:flex;align-items:center;gap:5px;font-size:.59rem}
  .giving-records .giving-category .giving-number {font-size:1rem}
  .giving-records .giving-meta {font-size:.65rem}
  .giving-records .giving-action {min-height:24px;font-size:.68rem}
  .giving-records:has(> [hidden]) {grid-template-rows:1fr}
  .giving-records:has(> [hidden]) .giving-entry {grid-template-columns:1fr 1fr;grid-template-rows:auto}
  .giving-records:has(> [hidden]) .giving-print {aspect-ratio:auto}
}

@media (max-width:700px), (pointer:coarse) and (orientation:landscape) and (max-width:1000px) and (max-height:500px) {
  #donations .giving-record .giving-name {
    font-size:.875rem;
    line-height:1.45;
    font-weight:650;
    text-wrap:pretty;
  }
  #donations .giving-record .giving-action {
    align-self:flex-end;
    justify-self:end;
    margin:0;
    margin-inline-start:auto;
    min-block-size:26px;
    padding:4px 9px;
    font-size:.7rem;
    line-height:1.2;
  }
}

/* Mobile donation records share a photo, localized caption and amount/action row. */
@media (max-width:700px), (pointer:coarse) and (orientation:landscape) and (max-width:1000px) and (max-height:500px) {
  #donations .giving-record {
    --record-paper:#fffdf8;
    --record-ink:#332d26;
    --record-secondary:#675f54;
    --record-accent:#8e4433;
    --record-edge:#ddd6c9;
  }
  :root[data-mode=night] #donations .giving-record {
    --record-paper:#252521;
    --record-ink:#f3eee5;
    --record-secondary:#c2baad;
    --record-accent:#edb29c;
    --record-edge:#46463f;
  }
  #donations .giving-record .giving-entry {
    grid-template-columns:minmax(0,.39fr) minmax(0,.61fr);
    grid-template-rows:auto;
    gap:0;
    padding:0;
    overflow:hidden;
    border-color:var(--record-edge);
    background:var(--record-paper);
    color:var(--record-ink);
  }
  #donations .giving-record .giving-print {
    min-height:105px;aspect-ratio:auto;border-radius:0;
  }
  #donations .giving-record .giving-print::after,
  #donations .giving-record .giving-image-index,
  #donations .giving-record .giving-category > .giving-number,
  #donations .giving-record .giving-category > [lang=en],
  #donations .giving-record .giving-category-local::after {display:none}
  #donations .giving-record .giving-caption {
    align-self:stretch;display:grid;align-content:stretch;align-items:center;
    grid-template-columns:minmax(0,1fr) auto;
    grid-template-rows:auto auto minmax(4px,1fr) auto auto minmax(4px,1fr) auto;
    gap:3px 6px;padding:clamp(9px,1.5dvh,16px) clamp(10px,3.3vw,18px);
  }
  #donations .giving-record .giving-category {
    grid-area:1/1/2/-1;color:var(--record-accent);font-size:.66rem;
  }
  #donations .giving-record .giving-category-local {display:flex}
  #donations .giving-record .giving-category-local::before {
    width:13px;height:1px;background:currentColor;
  }
  #donations .giving-record .giving-name {
    grid-area:2/1/3/-1;max-width:none;margin:0;font-size:.875rem;
  }
  #donations .giving-record .giving-meta {display:contents}
  #donations .giving-record .giving-meta-item {
    grid-area:4/1/5/-1;gap:5px;border:0;padding:0;color:var(--record-secondary);
    font:450 .7rem/1.4 var(--ui);letter-spacing:0;
  }
  #donations .giving-record .giving-project {grid-area:5/1/6/-1}
  #donations .giving-record .giving-meta-item:nth-child(2) {
    grid-area:7/1;align-self:center;color:var(--record-ink);
    font:650 .93rem/1.25 var(--ui);font-variant-numeric:tabular-nums;
  }
  #donations .giving-record .giving-meta-item:nth-child(2) svg {display:none}
  #donations .giving-record .giving-action {
    grid-area:7/2;align-self:center;justify-self:end;gap:5px;
    min-height:24px;margin:0;padding:0;border:0;background:transparent;
    box-shadow:none;color:var(--record-accent);font-weight:650;
  }
}
