:root {
  --bg: #0a0b0d;
  --surface: #111316;
  --surface-2: #17191c;
  --text: #f0ece3;
  --muted: #aaa69d;
  --paper: #e8e2d6;
  --paper-ink: #191a1b;
  --paper-muted: #5f5d57;
  --gold: #c99a4b;
  --gold-light: #e0bd7a;
  --line: rgba(240, 236, 227, 0.16);
  --paper-line: rgba(25, 26, 27, 0.22);
  --gutter: clamp(20px, 4vw, 56px);
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-color: #795e31 var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: #121212;
  background: var(--gold-light);
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
}

a:focus-visible,
button:focus-visible,
video:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

section[id] {
  scroll-margin-top: 76px;
}

img,
video {
  display: block;
  max-width: 100%;
}

figure,
p,
h1,
h2,
h3,
h4,
blockquote,
dl,
dd,
ol {
  margin: 0;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  color: #111;
  background: var(--gold-light);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 72px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  padding: 0 var(--gutter);
  border-bottom: 1px solid transparent;
  background: linear-gradient(to bottom, rgba(10, 11, 13, 0.95), rgba(10, 11, 13, 0));
  transition: height 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  height: 60px;
  border-color: var(--line);
  background: rgba(10, 11, 13, 0.93);
  backdrop-filter: blur(16px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 12px;
  justify-self: start;
}

.brand strong {
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: 18px;
  font-weight: 600;
}

.brand span,
.header-meta {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.desktop-nav {
  display: flex;
  gap: 34px;
}

.desktop-nav a {
  position: relative;
  padding: 8px 0;
  color: #d2cec5;
  font-size: 13px;
}

.desktop-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 1px;
  left: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-meta {
  justify-self: end;
}

.menu-button {
  display: none;
  align-items: center;
  gap: 9px;
  justify-self: end;
  padding: 8px 0;
  cursor: pointer;
  border: 0;
  background: transparent;
  font-size: 13px;
}

.menu-button b {
  color: var(--gold-light);
  font-size: 20px;
  font-weight: 400;
  transition: transform 0.25s ease;
}

.menu-open .menu-button b {
  transform: rotate(45deg);
}

.menu-panel {
  position: fixed;
  z-index: 40;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 105px var(--gutter) 36px;
  background: #0d0f12;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.menu-open .menu-panel {
  opacity: 1;
  visibility: visible;
}

.menu-panel nav {
  border-top: 1px solid var(--line);
}

.menu-panel nav a {
  display: grid;
  grid-template-columns: 44px 1fr;
  align-items: center;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
}

.menu-panel nav small {
  color: var(--gold-light);
  font-size: 12px;
}

.menu-panel nav span {
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: clamp(28px, 8vw, 42px);
}

.menu-panel > p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.project-hero,
.making-section {
  width: min(100%, calc(var(--max) + var(--gutter) * 2));
  margin: 0 auto;
  padding-right: var(--gutter);
  padding-left: var(--gutter);
}

.project-hero {
  padding-top: clamp(124px, 11vw, 166px);
  padding-bottom: clamp(92px, 9vw, 128px);
}

.hero-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
  gap: clamp(48px, 6vw, 82px);
  align-items: end;
  margin-bottom: 48px;
}

.eyebrow,
.subsection-heading > span,
.final-copy > span,
.color-intro > span {
  color: var(--gold-light);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-title-block h1 {
  margin-top: 18px;
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: clamp(52px, 5.8vw, 80px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.05em;
  text-wrap: balance;
}

.hero-summary > p {
  max-width: 32em;
  color: #d0cbc1;
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: 18px;
  line-height: 1.85;
}

.hero-summary dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-summary dl > div {
  padding: 14px 10px 15px 0;
}

.hero-summary dl > div + div {
  padding-left: 14px;
  border-left: 1px solid var(--line);
}

.hero-summary dt {
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
}

.hero-summary dd {
  font-size: 13px;
  line-height: 1.45;
  white-space: nowrap;
}

.hero-film {
  padding: 12px;
  border: 1px solid var(--line);
  background: #050607;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.35);
}

.hero-film video {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #030405;
}

.hero-film figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 3px 1px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.hero-film figcaption > span {
  color: var(--gold-light);
}

.story-section {
  padding: clamp(100px, 9vw, 132px) max(var(--gutter), calc((100vw - var(--max)) / 2));
  color: var(--paper-ink);
  background: var(--paper);
}

.section-heading {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) minmax(280px, 340px);
  gap: clamp(24px, 3.5vw, 48px);
  align-items: start;
}

.section-number {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.4;
}

.section-heading h2 {
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: clamp(38px, 4.1vw, 58px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.section-heading > p {
  max-width: 29em;
  color: var(--paper-muted);
  font-size: 15px;
  line-height: 1.95;
}

.story-note {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.62fr);
  gap: clamp(42px, 7vw, 92px);
  margin: 68px 0 86px 48px;
  padding-top: 26px;
  border-top: 1px solid var(--paper-line);
}

.story-note blockquote {
  max-width: 790px;
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: clamp(25px, 2.6vw, 38px);
  line-height: 1.55;
  letter-spacing: -0.025em;
}

.story-note > p {
  max-width: 34em;
  color: var(--paper-muted);
  font-size: 15px;
  line-height: 1.95;
}

.chapter-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(64px, 7vw, 88px) clamp(28px, 3vw, 40px);
}

.chapter {
  min-width: 0;
  align-self: start;
}

.chapter-one {
  grid-column: auto;
}

.chapter-two {
  grid-column: auto;
}

.chapter-three {
  grid-column: auto;
}

.chapter-four {
  grid-column: auto;
}

.chapter-five {
  grid-column: 1 / -1;
  width: min(100%, 1020px);
  margin-inline: auto;
}

.chapter img {
  width: 100%;
  height: auto;
  background: #111;
  transition: filter 0.35s ease, transform 0.5s ease;
}

.chapter:hover img {
  filter: saturate(1.06) contrast(1.03);
  transform: translateY(-3px);
}

.chapter-caption {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 8px 18px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--paper-line);
}

.chapter-caption > span {
  grid-row: 1 / span 2;
  color: #896526;
  font-size: 12px;
  line-height: 1.5;
}

.chapter-caption h3 {
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: clamp(21px, 1.8vw, 26px);
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.025em;
}

.chapter-caption p {
  max-width: 46em;
  color: var(--paper-muted);
  font-size: 14px;
  line-height: 1.85;
}

.making-section {
  padding-top: clamp(104px, 10vw, 142px);
  padding-bottom: clamp(104px, 10vw, 142px);
}

.making-section .section-heading > p {
  color: var(--muted);
}

.bible-section,
.process-section,
.color-section,
.final-section {
  margin-top: clamp(84px, 8vw, 112px);
}

.bible-section {
  display: grid;
  grid-template-columns: minmax(290px, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(44px, 6vw, 78px);
  align-items: center;
}

.subsection-heading h3,
.final-copy h3,
.color-intro h3 {
  margin-top: 18px;
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: clamp(30px, 3.5vw, 49px);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.subsection-heading > p,
.final-copy > p {
  max-width: 46em;
  margin-top: 24px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.95;
}

.bible-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.bible-images figure {
  position: relative;
  min-width: 0;
  overflow: hidden;
  background: var(--surface);
}

.bible-images img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: contain;
}

.bible-images figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 54px 17px 17px;
  color: #ded8cd;
  background: linear-gradient(transparent, rgba(4, 5, 6, 0.88));
  font-size: 12px;
}

.process-section {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(340px, 0.72fr);
  gap: 0;
  border: 1px solid var(--line);
  background: var(--surface);
}

.process-visual {
  min-width: 0;
  padding: clamp(12px, 1.4vw, 20px);
  border-right: 1px solid var(--line);
  background: #050607;
}

.intro-sequence {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(12px, 1.2vw, 18px);
}

.intro-shot {
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(201, 151, 76, 0.38);
  background: #090a0a;
}

.intro-shot > img,
.time-card-art {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.intro-shot > img {
  object-fit: contain;
}

.time-card-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #d8c3a0;
  background:
    radial-gradient(circle at 57% 48%, rgba(154, 96, 36, 0.11), transparent 34%),
    radial-gradient(circle at 22% 27%, rgba(214, 151, 67, 0.07) 0 1px, transparent 2px),
    radial-gradient(circle at 81% 74%, rgba(214, 151, 67, 0.08) 0 1px, transparent 2px),
    #030404;
}

.time-card-art::before {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(214, 166, 90, 0.16) 0.6px, transparent 0.8px);
  background-size: 29px 29px;
  opacity: 0.18;
  content: "";
}

.time-card-art span {
  position: relative;
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: clamp(18px, 2vw, 30px);
  letter-spacing: 0.22em;
  text-indent: 0.22em;
}

.intro-shot > figcaption {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: baseline;
  min-height: 54px;
  padding: 14px 14px 15px;
  color: #e0d9cd;
}

.shot-index,
.intro-shot time {
  color: #a47c43;
  font-family: Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.intro-shot strong {
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.04em;
}

.process-caption {
  display: block;
  padding: 14px 2px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.process-copy {
  padding: clamp(34px, 3.5vw, 48px);
}

.subsection-heading.compact h3 {
  font-size: clamp(29px, 3vw, 42px);
}

.process-copy ol {
  margin-top: 36px;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.process-copy li {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 18px;
  padding: 21px 0;
  border-bottom: 1px solid var(--line);
}

.process-copy li > b {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: 13px;
  font-weight: 400;
}

.process-copy h4 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
}

.process-copy li p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.color-section {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, 1fr);
  min-height: 225px;
  border: 1px solid var(--line);
}

.color-section > * + * {
  border-left: 1px solid var(--line);
}

.color-intro,
.swatch {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 27px;
}

.color-intro h3 {
  font-size: 27px;
}

.swatch span,
.swatch p {
  font-size: 12px;
  line-height: 1.5;
}

.swatch b {
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: 28px;
  font-weight: 500;
}

.swatch.market {
  color: #24180c;
  background: #cf8b3c;
}

.swatch.alley {
  color: #edf1f4;
  background: #385268;
}

.swatch.rescue {
  color: #f4dfb2;
  background: linear-gradient(135deg, #243b4d 0 54%, #9c7132 54% 100%);
}

.final-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.6fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.final-sheet {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #050607;
}

.final-sheet img {
  width: auto;
  height: min(760px, 62vw);
  object-fit: contain;
}

.final-copy {
  align-self: center;
  padding: clamp(38px, 4.5vw, 62px);
}

.final-copy dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: 52px;
  border-top: 1px solid var(--line);
}

.final-copy dl > div {
  padding-top: 18px;
}

.final-copy dl > div + div {
  padding-left: 15px;
  border-left: 1px solid var(--line);
}

.final-copy dt {
  color: var(--gold-light);
  font-family: Georgia, serif;
  font-size: clamp(27px, 3vw, 42px);
}

.final-copy dd {
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.end-card {
  min-height: 620px;
  height: 72svh;
  display: grid;
  place-items: center;
  padding: var(--gutter);
  text-align: center;
  background:
    linear-gradient(rgba(5, 7, 9, 0.34), rgba(5, 7, 9, 0.76)),
    url("assets/qiongqi/frame-fj64.jpg") center / cover no-repeat;
}

.end-card > div {
  width: min(100%, 760px);
  padding: 55px 35px;
  border-top: 1px solid rgba(240, 236, 227, 0.42);
  border-bottom: 1px solid rgba(240, 236, 227, 0.42);
  background: rgba(6, 8, 10, 0.35);
  backdrop-filter: blur(5px);
}

.end-card p {
  color: #d4cec1;
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: 16px;
  line-height: 1.7;
}

.end-card h2 {
  margin: 22px 0 29px;
  font-family: "Songti SC", "STSong", SimSun, serif;
  font-size: clamp(42px, 5.3vw, 72px);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.055em;
}

.end-card span {
  color: var(--gold-light);
  font-size: 12px;
}

.site-footer {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--gutter);
  color: var(--muted);
  font-size: 12px;
}

.site-footer a {
  color: var(--text);
}

@media (max-width: 1050px) {
  .hero-heading {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .hero-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px;
    align-items: end;
  }

  .hero-summary dl {
    margin-top: 0;
  }

  .section-heading {
    grid-template-columns: 50px 1fr;
  }

  .section-heading > p {
    grid-column: 2;
  }

  .story-note {
    grid-template-columns: 1fr;
    gap: 30px;
    margin-left: 50px;
  }

  .chapter-grid {
    grid-template-columns: 1fr;
    width: min(100%, 820px);
    margin-inline: auto;
  }

  .chapter-five {
    grid-column: auto;
    width: 100%;
  }

  .bible-section {
    grid-template-columns: 1fr;
  }

  .subsection-heading {
    max-width: 720px;
  }

  .process-section {
    grid-template-columns: 1fr;
  }

  .process-visual {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .color-section {
    grid-template-columns: 1fr 1fr;
  }

  .color-section > :nth-child(3) {
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .color-section > :nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .final-section {
    grid-template-columns: 1fr;
  }

  .final-sheet {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .final-sheet img {
    height: min(820px, 110vw);
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: clamp(18px, 5vw, 28px);
  }

  .site-header {
    height: 60px;
    grid-template-columns: 1fr auto;
  }

  .site-header.scrolled {
    height: 56px;
  }

  .brand span,
  .desktop-nav,
  .header-meta {
    display: none;
  }

  .menu-button,
  .menu-panel {
    display: flex;
  }

  .menu-button {
    min-width: 64px;
    min-height: 44px;
    justify-content: flex-end;
  }

  .project-hero {
    padding-top: 96px;
    padding-bottom: 78px;
  }

  .hero-title-block h1 {
    font-size: clamp(42px, 12vw, 58px);
    line-height: 1.12;
    letter-spacing: -0.04em;
  }

  .hero-summary {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .hero-summary > p {
    font-size: 16px;
    line-height: 1.8;
  }

  .hero-summary dl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-summary dl > div:nth-child(3) {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .hero-summary dl > div:nth-child(4) {
    border-top: 1px solid var(--line);
  }

  .hero-film {
    padding: 6px;
  }

  .hero-film figcaption {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3px;
    padding: 11px 4px 4px;
  }

  .story-section {
    padding-top: 78px;
    padding-bottom: 90px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .section-heading > p {
    grid-column: auto;
  }

  .section-heading h2 {
    font-size: clamp(33px, 9.5vw, 43px);
    line-height: 1.25;
    letter-spacing: -0.035em;
  }

  .story-note {
    gap: 20px;
    margin: 44px 0 56px;
    padding-top: 20px;
  }

  .story-note blockquote {
    font-size: clamp(22px, 6.5vw, 28px);
    line-height: 1.55;
  }

  .chapter-grid {
    grid-template-columns: 1fr;
    gap: 54px;
  }

  .chapter-one,
  .chapter-two,
  .chapter-three,
  .chapter-four,
  .chapter-five {
    grid-column: auto;
  }

  .chapter-caption {
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: 14px;
    padding-top: 13px;
  }

  .chapter-caption > span {
    grid-row: auto;
  }

  .chapter-caption h3 {
    font-size: clamp(21px, 6.2vw, 24px);
    line-height: 1.45;
  }

  .making-section {
    padding-top: 84px;
    padding-bottom: 92px;
  }

  .bible-section,
  .process-section,
  .color-section,
  .final-section {
    margin-top: 64px;
  }

  .bible-images {
    gap: 8px;
  }

  .bible-images figcaption {
    font-size: 11px;
  }

  .process-copy {
    padding: 30px 22px;
  }

  .process-copy ol {
    margin-top: 30px;
  }

  .process-copy li {
    grid-template-columns: 34px 1fr;
    gap: 12px;
    padding: 18px 0;
  }

  .process-visual {
    padding: 10px;
  }

  .intro-sequence {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .intro-shot > figcaption {
    min-height: 48px;
  }

  .color-section {
    grid-template-columns: 1fr;
  }

  .color-section > * + *,
  .color-section > :nth-child(3),
  .color-section > :nth-child(4) {
    min-height: 155px;
    border-top: 1px solid var(--line);
    border-left: 0;
  }

  .color-intro {
    min-height: 175px;
  }

  .final-sheet {
    padding: 12px;
  }

  .final-sheet img {
    width: min(100%, 560px);
    height: auto;
  }

  .final-copy {
    padding: 38px 22px 48px;
  }

  .final-copy dl {
    grid-template-columns: 1fr;
  }

  .final-copy dl > div {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
  }

  .final-copy dl > div + div {
    padding-left: 0;
    border-left: 0;
  }

  .end-card {
    min-height: 500px;
    height: 64svh;
  }

  .end-card > div {
    padding: 42px 18px;
  }

  .site-footer {
    min-height: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
  }
}

@media (max-width: 520px) {
  .bible-images {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bible-images figcaption {
    position: static;
    padding: 11px 2px 0;
    color: var(--muted);
    background: none;
    font-size: 12px;
  }

  .intro-shot > figcaption {
    gap: 8px;
    padding: 12px;
  }

  .shot-index,
  .intro-shot time {
    font-size: 10px;
  }

  .color-intro,
  .swatch {
    padding: 23px;
  }

  .end-card h2 {
    font-size: clamp(38px, 11vw, 48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
