:root {
  color-scheme: dark;
  --ink: #070504;
  --obsidian: #100b07;
  --gold: #efbd5b;
  --ochre: #b86732;
  --sand: #e5c47f;
  --papyrus: #f6e0ab;
  --teal: #0d7474;
  --lapis: #1e5799;
  --ivory: #fff2d1;
  --muted: rgba(255, 242, 209, 0.68);
  --hairline: rgba(239, 189, 91, 0.24);
  --hero-image: url("assets/menna-family-hunting-marshes-met.jpg");
  --parent-image: url("assets/amenhotep-mutemwia-kiosk-met.jpg");
  --offering-image: url("assets/menna-daughter-offering-met.jpg");
  --craft-image: url("assets/carpenter-chair-rekhmire-met.jpg");
  --counsel-image: url("assets/sculptors-rekhmire-met.jpg");
  --procession-image: url("assets/funeral-procession-pairy-met.jpg");
  --body-image: url("assets/barber-userhat-met.jpg");
  --return-image: url("assets/brickmakers-pool-rekhmire-met.jpg");
  --final-image: url("assets/gifts-keftiu-rekhmire-met.jpg");
  --scroll: 0;
  --hieroglyph-font: "Noto Sans Egyptian Hieroglyphs", "Segoe UI Historic", "Apple Symbols", serif;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--ink);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: clamp(5.75rem, 10vw, 7.25rem);
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}

html.lenis,
html.lenis body {
  height: auto;
}

html.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ivory);
  background:
    radial-gradient(circle at 16% 0%, rgba(184, 103, 50, 0.18), transparent 28rem),
    radial-gradient(circle at 80% 14%, rgba(13, 116, 116, 0.16), transparent 28rem),
    linear-gradient(180deg, #100904, #050403 52%, #080503);
  overflow-x: hidden;
}

a {
  color: inherit;
}

[data-scene] {
  --p: 0;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 7px),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 5px);
  mix-blend-mode: overlay;
}

.scroll-meter {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 50;
  width: calc(var(--scroll) * 100%);
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--teal), var(--lapis));
  transform-origin: left center;
}

.foreground-flourishes {
  position: fixed;
  inset: 0;
  z-index: 18;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
}

.flourish {
  position: absolute;
  display: block;
  color: rgba(255, 242, 209, 0.64);
  filter: drop-shadow(0 0 1.2rem rgba(239, 189, 91, 0.16));
  opacity: 0.18;
  animation: foreground-breathe 7s ease-in-out infinite alternate;
}

.flourish-winged-sun {
  top: 17vh;
  right: clamp(1rem, 5vw, 5rem);
  width: clamp(7rem, 14vw, 13rem);
  height: clamp(2rem, 4vw, 3.4rem);
  transform: translate3d(0, calc(var(--scroll) * -6rem), 0);
}

.flourish-winged-sun::before,
.flourish-winged-sun::after,
.flourish-lotus::before,
.flourish-lotus::after,
.flourish-thread::before,
.flourish-thread::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.flourish-winged-sun::before {
  inset: 46% 0 auto;
  height: 0.18rem;
  background:
    linear-gradient(90deg, transparent, rgba(255, 242, 209, 0.64) 12% 28%, transparent 29% 34%, rgba(239, 189, 91, 0.72) 35% 65%, transparent 66% 71%, rgba(255, 242, 209, 0.64) 72% 88%, transparent),
    repeating-linear-gradient(90deg, transparent 0 0.78rem, rgba(255, 242, 209, 0.36) 0.78rem 0.86rem);
}

.flourish-winged-sun::after {
  left: 50%;
  top: 50%;
  width: clamp(1.2rem, 2.5vw, 2rem);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 242, 209, 0.66);
  border-radius: 50%;
  background: rgba(239, 189, 91, 0.16);
  transform: translate(-50%, -50%);
}

.flourish-reeds {
  left: clamp(0.5rem, 3vw, 2rem);
  top: 42vh;
  width: clamp(4rem, 8vw, 7rem);
  height: clamp(12rem, 26vh, 18rem);
  background:
    radial-gradient(ellipse at 19% 6%, rgba(255, 242, 209, 0.64) 0 0.38rem, transparent 0.42rem),
    radial-gradient(ellipse at 51% 2%, rgba(239, 189, 91, 0.52) 0 0.5rem, transparent 0.55rem),
    radial-gradient(ellipse at 82% 10%, rgba(255, 242, 209, 0.5) 0 0.32rem, transparent 0.38rem),
    linear-gradient(86deg, transparent 18%, rgba(255, 242, 209, 0.42) 18.5% 20%, transparent 20.5%),
    linear-gradient(92deg, transparent 50%, rgba(255, 242, 209, 0.38) 50.5% 52%, transparent 52.5%),
    linear-gradient(84deg, transparent 79%, rgba(255, 242, 209, 0.34) 79.5% 81%, transparent 81.5%);
  transform: translate3d(0, calc(var(--scroll) * 5rem), 0);
  animation-delay: -2s;
}

.flourish-lotus {
  right: clamp(1rem, 6vw, 6rem);
  bottom: 17vh;
  width: clamp(5rem, 10vw, 9rem);
  height: clamp(4rem, 8vw, 7rem);
  transform: translate3d(0, calc(var(--scroll) * -4rem), 0);
  animation-delay: -4s;
}

.flourish-lotus::before {
  inset: 16% 10% 0;
  background:
    radial-gradient(ellipse at 50% 22%, rgba(255, 242, 209, 0.62) 0 22%, transparent 23%),
    radial-gradient(ellipse at 28% 56%, rgba(239, 189, 91, 0.46) 0 24%, transparent 25%),
    radial-gradient(ellipse at 72% 56%, rgba(239, 189, 91, 0.46) 0 24%, transparent 25%),
    radial-gradient(ellipse at 50% 80%, rgba(13, 116, 116, 0.34) 0 30%, transparent 31%);
}

.flourish-lotus::after {
  left: 18%;
  right: 18%;
  bottom: 0.55rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 242, 209, 0.62), transparent);
}

.flourish-cartouche {
  top: 66vh;
  right: clamp(0.7rem, 3vw, 2.2rem);
  width: clamp(3rem, 5vw, 4.6rem);
  height: clamp(7rem, 13vh, 10rem);
  border: 1px solid rgba(255, 242, 209, 0.48);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 242, 209, 0.1), transparent),
    repeating-linear-gradient(180deg, transparent 0 0.75rem, rgba(239, 189, 91, 0.18) 0.75rem 0.82rem);
  transform: translate3d(0, calc(var(--scroll) * -7rem), 0) rotate(3deg);
  animation-delay: -5s;
}

.flourish-thread {
  top: 30vh;
  left: clamp(1rem, 8vw, 8rem);
  width: clamp(8rem, 18vw, 17rem);
  height: 3rem;
  transform: translate3d(0, calc(var(--scroll) * 3rem), 0);
  animation-delay: -1s;
}

.flourish-thread::before {
  inset: 50% 0 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 242, 209, 0.58), transparent);
}

.flourish-thread::after {
  left: 50%;
  top: 50%;
  width: 0.42rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(255, 242, 209, 0.62);
  box-shadow:
    -3.2rem 0 0 rgba(239, 189, 91, 0.34),
    3.2rem 0 0 rgba(239, 189, 91, 0.34);
  transform: translate(-50%, -50%);
}

@keyframes foreground-breathe {
  from {
    opacity: 0.11;
  }

  to {
    opacity: 0.25;
  }
}

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1rem, 3vw, 2.5rem);
  color: rgba(255, 242, 209, 0.9);
  background: linear-gradient(180deg, rgba(8, 6, 4, 0.82), rgba(8, 6, 4, 0));
}

.brand,
.chapter-nav {
  display: flex;
  align-items: center;
  border: 1px solid rgba(239, 189, 91, 0.18);
  background: rgba(8, 6, 4, 0.4);
  backdrop-filter: blur(18px);
}

.brand {
  gap: 0.6rem;
  min-height: 2.55rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  color: var(--gold);
  font-family: var(--hieroglyph-font);
  font-synthesis: none;
  font-size: 1.2rem;
  line-height: 1;
}

.chapter-nav {
  gap: 0.2rem;
  max-width: min(72vw, 48rem);
  overflow-x: auto;
  padding: 0.25rem;
  border-radius: 999px;
  scrollbar-width: none;
}

.chapter-nav::-webkit-scrollbar {
  display: none;
}

.chapter-nav a {
  flex: 0 0 auto;
  border-radius: 999px;
  padding: 0.55rem 0.78rem;
  text-decoration: none;
  font-size: 0.78rem;
  color: rgba(255, 242, 209, 0.6);
  transition: color 180ms ease, background 180ms ease;
}

.chapter-nav a.is-active {
  color: var(--obsidian);
  background: var(--gold);
}

.scene {
  position: relative;
  min-height: 170vh;
}

.hero-scene {
  min-height: 132vh;
}

.scene-sticky {
  position: sticky;
  top: 0;
  min-height: 100svh;
  overflow: hidden;
  display: grid;
  place-items: center;
  isolation: isolate;
}

.mural {
  position: absolute;
  inset: -8vh -5vw;
  z-index: -4;
  background-image: var(--hero-image);
  background-size: cover;
  background-position: center;
  transform:
    translate3d(0, calc(var(--p) * -3.5vh), 0)
    scale(calc(1.02 + var(--p) * 0.06));
  filter: saturate(0.98) brightness(0.78);
  will-change: transform;
}

.mural::after,
.scene-sticky::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.mural::after {
  background:
    radial-gradient(circle at 50% 45%, rgba(8, 6, 4, 0.04) 0 18%, rgba(8, 6, 4, 0.4) 54%, rgba(8, 6, 4, 0.84) 100%),
    linear-gradient(180deg, rgba(8, 6, 4, 0.16), rgba(8, 6, 4, 0.9));
}

.scene-sticky::after {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 6, 4, 0.72), transparent 35%, transparent 65%, rgba(8, 6, 4, 0.76)),
    linear-gradient(180deg, rgba(8, 6, 4, 0.68), transparent 30%, rgba(8, 6, 4, 0.88));
}

.sun-disc {
  position: absolute;
  top: 8vh;
  left: 50%;
  z-index: -2;
  width: min(38vw, 26rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(239, 189, 91, 0.68), rgba(239, 189, 91, 0.18) 45%, transparent 70%);
  transform:
    translate3d(-50%, calc(var(--p) * -8vh), 0)
    scale(calc(0.88 + var(--p) * 0.2));
  opacity: calc(0.25 + var(--p) * 0.35);
}

.hero-vectors {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}

.hero-vectors::before {
  content: "";
  position: absolute;
  inset: 10vh 7vw auto;
  height: 22vh;
  background:
    radial-gradient(circle at 8% 22%, rgba(255, 242, 209, 0.55) 0 0.12rem, transparent 0.14rem),
    radial-gradient(circle at 19% 54%, rgba(255, 242, 209, 0.42) 0 0.1rem, transparent 0.12rem),
    radial-gradient(circle at 71% 28%, rgba(255, 242, 209, 0.5) 0 0.11rem, transparent 0.13rem),
    radial-gradient(circle at 86% 62%, rgba(255, 242, 209, 0.38) 0 0.09rem, transparent 0.11rem),
    radial-gradient(circle at 58% 12%, rgba(239, 189, 91, 0.42) 0 0.12rem, transparent 0.14rem);
  opacity: calc(0.42 - var(--p) * 0.18);
  transform: translate3d(0, calc(var(--p) * -5vh), 0);
}

.pylon {
  position: absolute;
  bottom: 8vh;
  width: clamp(7rem, 17vw, 17rem);
  height: clamp(13rem, 34vh, 25rem);
  background:
    linear-gradient(180deg, rgba(239, 189, 91, 0.22), rgba(184, 103, 50, 0.12)),
    linear-gradient(90deg, rgba(8, 6, 4, 0.1), rgba(8, 6, 4, 0.48));
  border: 1px solid rgba(239, 189, 91, 0.16);
  clip-path: polygon(12% 0, 88% 0, 100% 100%, 0 100%);
  opacity: calc(0.42 + var(--p) * 0.1);
  transform: translate3d(0, calc(var(--p) * 4vh), 0);
}

.pylon::before,
.pylon::after {
  content: "";
  position: absolute;
  left: 22%;
  right: 22%;
  border-block: 1px solid rgba(239, 189, 91, 0.24);
}

.pylon::before {
  top: 18%;
  height: 12%;
}

.pylon::after {
  bottom: 16%;
  height: 26%;
  background: rgba(8, 6, 4, 0.2);
}

.pylon-left {
  left: clamp(-3rem, -5vw, -1rem);
}

.pylon-right {
  right: clamp(-3rem, -5vw, -1rem);
  transform: translate3d(0, calc(var(--p) * 4vh), 0) scaleX(-1);
}

.solar-bark {
  position: absolute;
  left: 50%;
  bottom: clamp(11rem, 28vh, 18rem);
  width: clamp(12rem, 32vw, 28rem);
  height: clamp(2.8rem, 7vw, 5.2rem);
  border-bottom: 0.18rem solid rgba(239, 189, 91, 0.58);
  border-radius: 0 0 50% 50%;
  opacity: calc(0.52 - var(--p) * 0.14);
  transform:
    translate3d(-50%, calc(var(--p) * -3vh), 0)
    rotate(calc(-1deg + var(--p) * 2deg));
}

.solar-bark::before {
  content: "";
  position: absolute;
  left: 18%;
  right: 18%;
  bottom: 0.7rem;
  height: 0.8rem;
  border-radius: 999px 999px 0 0;
  background: rgba(239, 189, 91, 0.28);
}

.solar-bark::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 1.4rem;
  width: clamp(2.8rem, 7vw, 4.4rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(239, 189, 91, 0.48);
  transform: translateX(-50%);
  box-shadow: 0 0 2rem rgba(239, 189, 91, 0.22);
}

.papyrus-cluster {
  position: absolute;
  bottom: 2vh;
  width: clamp(6rem, 14vw, 13rem);
  height: clamp(12rem, 28vh, 20rem);
  opacity: calc(0.52 + var(--p) * 0.12);
  background:
    radial-gradient(ellipse at 20% 8%, rgba(13, 116, 116, 0.5) 0 0.55rem, transparent 0.6rem),
    radial-gradient(ellipse at 48% 3%, rgba(239, 189, 91, 0.45) 0 0.65rem, transparent 0.7rem),
    radial-gradient(ellipse at 76% 12%, rgba(13, 116, 116, 0.42) 0 0.5rem, transparent 0.56rem),
    linear-gradient(88deg, transparent 18%, rgba(239, 189, 91, 0.42) 18.5% 20%, transparent 20.5%),
    linear-gradient(92deg, transparent 47%, rgba(239, 189, 91, 0.42) 47.5% 49%, transparent 49.5%),
    linear-gradient(85deg, transparent 73%, rgba(239, 189, 91, 0.4) 73.5% 75%, transparent 75.5%);
  transform: translate3d(0, calc(var(--p) * 5vh), 0);
}

.papyrus-left {
  left: clamp(1rem, 6vw, 5rem);
}

.papyrus-right {
  right: clamp(1rem, 6vw, 5rem);
  transform: translate3d(0, calc(var(--p) * 5vh), 0) scaleX(-1);
}

.nile-ribbon {
  position: absolute;
  left: -8vw;
  right: -8vw;
  bottom: -1rem;
  height: clamp(5rem, 13vh, 9rem);
  background:
    radial-gradient(ellipse at 20% 0%, rgba(13, 116, 116, 0.38), transparent 42%),
    radial-gradient(ellipse at 70% 18%, rgba(30, 87, 153, 0.28), transparent 46%),
    linear-gradient(180deg, transparent, rgba(13, 116, 116, 0.3) 34%, rgba(8, 6, 4, 0.82));
  opacity: 0.82;
  transform: translate3d(0, calc(var(--p) * 3vh), 0);
}

.hero-copy {
  position: relative;
  width: min(90vw, 64rem);
  padding: 19vh 0 12vh;
  text-align: center;
  transform: translate3d(0, calc(var(--p) * -2vh), 0);
}

.eyebrow {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1,
h2 {
  margin: 0;
  text-wrap: balance;
  letter-spacing: 0;
}

h1 {
  max-width: 14ch;
  margin-inline: auto;
  color: #fff3d3;
  font-size: clamp(3.4rem, 7.4vw, 7.4rem);
  line-height: 0.92;
  font-weight: 900;
  text-shadow: 0 0.05em 0 rgba(8, 6, 4, 0.52), 0 0 3rem rgba(239, 189, 91, 0.18);
}

.using-splitting .hero-copy h1 .char,
.using-splitting .renewal-thread em .char {
  display: inline-block;
}

.using-splitting .hero-copy h1 .word {
  white-space: nowrap;
}

.using-splitting .hero-copy h1 .char {
  animation: title-unseal 780ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  animation-delay: calc(var(--char-index) * 16ms);
}

h2 {
  max-width: 12ch;
  color: #fff4d5;
  font-size: clamp(2.8rem, 6.8vw, 7rem);
  line-height: 0.92;
  font-weight: 900;
}

.cipher {
  position: relative;
  display: inline-block;
  max-width: min(13ch, 100%);
  font-family: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, var(--hieroglyph-font);
  font-kerning: normal;
  font-optical-sizing: auto;
  font-feature-settings: "kern" 1, "liga" 1, "calt" 1;
  font-weight: 700;
  line-height: 0.98;
  letter-spacing: 0;
  text-shadow: 0 0.06em 0 rgba(8, 6, 4, 0.42), 0 0 2.4rem rgba(239, 189, 91, 0.14);
  vertical-align: top;
}

.cipher-measure,
.cipher-visual {
  display: block;
  max-width: inherit;
  overflow-wrap: normal;
  white-space: normal;
  word-break: normal;
}

.cipher-measure {
  visibility: hidden;
  pointer-events: none;
  text-shadow: none;
  user-select: none;
}

.cipher-visual {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.verse {
  display: grid;
  gap: 1.1rem;
  margin-top: clamp(1.8rem, 4vw, 3rem);
  color: var(--muted);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.25vw, 1.22rem);
  line-height: 1.75;
}

.hero-verse {
  justify-content: center;
}

.verse p,
.dialogue-block p,
.interlude-copy p,
.site-footer p {
  margin: 0;
}

.renewal-thread {
  position: absolute;
  right: clamp(1rem, 5vw, 4rem);
  bottom: 7vh;
  left: clamp(1rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.8rem;
  color: rgba(255, 242, 209, 0.7);
  transform: translate3d(0, calc((0.5 - var(--p)) * 3vh), 0);
}

.renewal-thread span {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
}

.renewal-thread b {
  display: grid;
  place-items: center;
  width: 4rem;
  aspect-ratio: 1;
  border: 1px solid rgba(239, 189, 91, 0.3);
  border-radius: 999px;
  background: rgba(8, 6, 4, 0.42);
  color: rgba(239, 189, 91, 0.86);
  font-family: var(--hieroglyph-font);
  font-synthesis: none;
  font-size: 2rem;
  font-weight: 400;
}

.renewal-thread em {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.using-splitting .renewal-thread em .char {
  animation: label-glint 4.8s ease-in-out infinite;
  animation-delay: calc(var(--char-index) * 90ms);
}

@keyframes title-unseal {
  from {
    opacity: 0.16;
    transform: translateY(0.34em);
    filter: blur(0.08rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

@keyframes label-glint {
  0%,
  74%,
  100% {
    color: rgba(255, 242, 209, 0.66);
    text-shadow: none;
  }

  82% {
    color: rgba(255, 242, 209, 0.92);
    text-shadow: 0 0 0.9rem rgba(239, 189, 91, 0.42);
  }
}

.book-chapter {
  position: relative;
  min-height: 150vh;
  padding: clamp(5rem, 10vw, 9rem) clamp(1rem, 5vw, 5rem);
  overflow: clip;
  background:
    radial-gradient(circle at calc(18% + var(--p) * 14%) 24%, rgba(184, 103, 50, 0.2), transparent 24rem),
    radial-gradient(circle at calc(82% - var(--p) * 12%) 64%, rgba(13, 116, 116, 0.16), transparent 26rem),
    linear-gradient(180deg, #090604, #050302 70%, #080504);
}

.book-chapter::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.18;
  background:
    linear-gradient(90deg, transparent 0 47%, rgba(239, 189, 91, 0.12) 47.2% 47.4%, transparent 47.6%),
    repeating-linear-gradient(0deg, transparent 0 4.6rem, rgba(239, 189, 91, 0.05) 4.6rem 4.65rem, transparent 4.65rem 9.3rem);
}

.book-chapter::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  opacity: calc(0.26 + var(--p) * 0.12);
  transform: translate3d(0, calc((0.5 - var(--p)) * 5vh), 0);
}

.inheritance-chapter::after {
  top: 12vh;
  right: clamp(1rem, 6vw, 6rem);
  width: clamp(12rem, 28vw, 28rem);
  height: clamp(12rem, 28vw, 28rem);
  background:
    radial-gradient(circle at 38% 28%, rgba(239, 189, 91, 0.34) 0 1rem, transparent 1.05rem),
    radial-gradient(circle at 63% 28%, rgba(239, 189, 91, 0.24) 0 0.82rem, transparent 0.88rem),
    linear-gradient(90deg, transparent 31%, rgba(239, 189, 91, 0.24) 31.5% 33%, transparent 33.5%),
    linear-gradient(90deg, transparent 60%, rgba(239, 189, 91, 0.18) 60.5% 62%, transparent 62.5%),
    radial-gradient(ellipse at 50% 76%, rgba(239, 189, 91, 0.14), transparent 48%);
  border-bottom: 1px solid rgba(239, 189, 91, 0.28);
}

.offering-chapter::after {
  top: 18vh;
  left: clamp(1rem, 7vw, 7rem);
  width: clamp(13rem, 30vw, 30rem);
  height: clamp(10rem, 22vw, 20rem);
  background:
    radial-gradient(ellipse at 50% 74%, rgba(239, 189, 91, 0.24) 0 22%, transparent 23%),
    radial-gradient(circle at 34% 32%, rgba(13, 116, 116, 0.28) 0 0.8rem, transparent 0.86rem),
    radial-gradient(circle at 50% 20%, rgba(239, 189, 91, 0.34) 0 0.75rem, transparent 0.82rem),
    radial-gradient(circle at 66% 32%, rgba(13, 116, 116, 0.26) 0 0.8rem, transparent 0.86rem),
    linear-gradient(180deg, transparent 38%, rgba(239, 189, 91, 0.3) 39% 41%, transparent 42%);
  clip-path: polygon(0 35%, 50% 0, 100% 35%, 82% 100%, 18% 100%);
}

.craft-chapter::after {
  top: 16vh;
  right: clamp(1rem, 7vw, 7rem);
  width: clamp(13rem, 29vw, 29rem);
  height: clamp(12rem, 24vw, 23rem);
  background:
    linear-gradient(22deg, transparent 49%, rgba(239, 189, 91, 0.42) 49.5% 51%, transparent 51.5%),
    linear-gradient(90deg, transparent 18%, rgba(239, 189, 91, 0.24) 18.5% 20%, transparent 20.5%),
    linear-gradient(90deg, transparent 78%, rgba(239, 189, 91, 0.24) 78.5% 80%, transparent 80.5%),
    linear-gradient(0deg, transparent 28%, rgba(13, 116, 116, 0.28) 28.5% 31%, transparent 31.5%),
    radial-gradient(ellipse at 50% 72%, rgba(184, 103, 50, 0.16), transparent 44%);
  border-bottom: 1px solid rgba(239, 189, 91, 0.26);
}

.counsel-chapter::after {
  top: 14vh;
  left: clamp(1rem, 7vw, 7rem);
  width: clamp(13rem, 30vw, 30rem);
  height: clamp(12rem, 26vw, 25rem);
  background:
    radial-gradient(ellipse at 50% 14%, rgba(239, 189, 91, 0.34) 0 0.8rem, transparent 0.86rem),
    radial-gradient(ellipse at 36% 42%, rgba(13, 116, 116, 0.24) 0 1rem, transparent 1.06rem),
    radial-gradient(ellipse at 64% 42%, rgba(13, 116, 116, 0.22) 0 1rem, transparent 1.06rem),
    linear-gradient(70deg, transparent 39%, rgba(239, 189, 91, 0.28) 39.5% 41%, transparent 41.5%),
    linear-gradient(110deg, transparent 58%, rgba(239, 189, 91, 0.22) 58.5% 60%, transparent 60.5%),
    radial-gradient(ellipse at 50% 84%, rgba(184, 103, 50, 0.17), transparent 45%);
  border-bottom: 1px solid rgba(239, 189, 91, 0.24);
}

.marsh-chapter::after {
  top: 8vh;
  left: clamp(1rem, 6vw, 6rem);
  width: clamp(15rem, 34vw, 34rem);
  height: clamp(17rem, 38vw, 36rem);
  background:
    linear-gradient(82deg, transparent 13%, rgba(13, 116, 116, 0.34) 13.5% 14.6%, transparent 15%),
    linear-gradient(96deg, transparent 28%, rgba(239, 189, 91, 0.28) 28.5% 29.5%, transparent 30%),
    linear-gradient(84deg, transparent 46%, rgba(13, 116, 116, 0.32) 46.5% 47.6%, transparent 48%),
    linear-gradient(98deg, transparent 70%, rgba(239, 189, 91, 0.25) 70.5% 71.5%, transparent 72%),
    radial-gradient(ellipse at 30% 12%, rgba(13, 116, 116, 0.34) 0 0.8rem, transparent 0.86rem),
    radial-gradient(ellipse at 70% 18%, rgba(13, 116, 116, 0.3) 0 0.75rem, transparent 0.82rem),
    radial-gradient(ellipse at 50% 92%, rgba(13, 116, 116, 0.2), transparent 44%);
}

.body-chapter::after {
  top: 10vh;
  right: clamp(1rem, 7vw, 7rem);
  width: clamp(14rem, 31vw, 31rem);
  height: clamp(16rem, 34vw, 33rem);
  background:
    radial-gradient(circle at 50% 23%, rgba(239, 189, 91, 0.35) 0 0.9rem, transparent 0.96rem),
    radial-gradient(ellipse at 50% 46%, rgba(239, 189, 91, 0.2) 0 20%, transparent 21%),
    linear-gradient(90deg, transparent 47%, rgba(239, 189, 91, 0.26) 47.5% 52.5%, transparent 53%),
    linear-gradient(180deg, transparent 60%, rgba(13, 116, 116, 0.24) 60.5% 63%, transparent 63.5%),
    radial-gradient(ellipse at 50% 90%, rgba(13, 116, 116, 0.18), transparent 42%);
}

.final-saying-chapter::after {
  top: 12vh;
  right: clamp(1rem, 8vw, 8rem);
  width: clamp(15rem, 32vw, 32rem);
  height: clamp(15rem, 32vw, 32rem);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(239, 189, 91, 0.24) 0 3deg, transparent 3deg 11deg),
    radial-gradient(circle, rgba(239, 189, 91, 0.4) 0 16%, transparent 17%),
    radial-gradient(circle, rgba(13, 116, 116, 0.16), transparent 58%);
  mask-image: radial-gradient(circle, black 0 58%, transparent 73%);
}

.return-chapter::after {
  top: 12vh;
  right: clamp(1rem, 8vw, 8rem);
  width: clamp(14rem, 30vw, 30rem);
  height: clamp(14rem, 30vw, 30rem);
  border-radius: 50%;
  background:
    repeating-conic-gradient(from 0deg, rgba(239, 189, 91, 0.28) 0 4deg, transparent 4deg 12deg),
    radial-gradient(circle, rgba(239, 189, 91, 0.42) 0 18%, transparent 19%),
    radial-gradient(circle, rgba(239, 189, 91, 0.08), transparent 62%);
  mask-image: radial-gradient(circle, black 0 58%, transparent 72%);
}

.chapter-grid {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: grid;
  grid-template-columns: minmax(17rem, 0.8fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  width: min(100%, 78rem);
  margin-inline: auto;
}

.chapter-grid.reverse {
  grid-template-columns: minmax(0, 1.25fr) minmax(17rem, 0.8fr);
}

.chapter-grid.reverse .artifact-panel {
  order: 2;
}

.artifact-panel {
  position: sticky;
  top: 13vh;
  display: grid;
  gap: 0.85rem;
  margin: 0;
  transform:
    translate3d(0, calc((0.5 - var(--p)) * 5vh), 0)
    scale(calc(0.98 + var(--p) * 0.035));
  will-change: transform;
}

.artifact-image {
  display: block;
  width: 100%;
  min-height: clamp(24rem, 58vh, 38rem);
  border: 1px solid rgba(239, 189, 91, 0.26);
  border-radius: 8px;
  background-color: #180f08;
  background-size: cover;
  background-position: center;
  box-shadow: 0 2rem 6rem rgba(0, 0, 0, 0.4);
  overflow: hidden;
}

.dialogue-block:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

.artifact-parent .artifact-image {
  background-image:
    linear-gradient(180deg, transparent, rgba(8, 6, 4, 0.58)),
    var(--parent-image);
  background-position: center 28%;
}

.artifact-offering .artifact-image {
  background-image:
    linear-gradient(180deg, rgba(8, 6, 4, 0.04), rgba(8, 6, 4, 0.58)),
    var(--offering-image);
  background-position: center;
}

.artifact-craft .artifact-image {
  min-height: clamp(18rem, 44vh, 26rem);
  background-image:
    linear-gradient(180deg, rgba(8, 6, 4, 0.02), rgba(8, 6, 4, 0.52)),
    var(--craft-image);
  background-position: center;
}

.artifact-counsel .artifact-image {
  background-image:
    linear-gradient(180deg, rgba(8, 6, 4, 0.05), rgba(8, 6, 4, 0.58)),
    var(--counsel-image);
  background-position: center 42%;
}

.artifact-body .artifact-image {
  background-image:
    linear-gradient(180deg, rgba(8, 6, 4, 0.06), rgba(8, 6, 4, 0.62)),
    var(--body-image);
  background-position: center;
}

.artifact-final .artifact-image {
  background-image:
    linear-gradient(180deg, rgba(8, 6, 4, 0.06), rgba(8, 6, 4, 0.62)),
    var(--final-image);
  background-position: center;
}

.artifact-return .artifact-image {
  background-image:
    linear-gradient(180deg, rgba(8, 6, 4, 0.02), rgba(8, 6, 4, 0.58)),
    var(--return-image);
  background-position: center 45%;
}

.dialogue-copy {
  display: grid;
  gap: clamp(1.2rem, 2.2vw, 2rem);
  padding-top: 2vh;
}

.dialogue-copy h2 {
  margin-bottom: clamp(0.5rem, 1.5vw, 1rem);
}

[hidden] {
  display: none !important;
}

.dialogue-block {
  position: relative;
  width: min(100%, 43rem);
  border: 1px solid rgba(239, 189, 91, 0.18);
  border-radius: 8px;
  padding: clamp(1rem, 2.3vw, 1.45rem);
  color: rgba(255, 242, 209, 0.78);
  background:
    linear-gradient(135deg, rgba(255, 242, 209, 0.06), transparent),
    rgba(8, 6, 4, 0.42);
  backdrop-filter: blur(10px);
  cursor: pointer;
  transition: opacity 220ms ease, border-color 220ms ease, box-shadow 220ms ease, transform 220ms ease, background 220ms ease;
}

.dialogue-block::before {
  content: attr(data-mark);
  position: absolute;
  top: 0.9rem;
  color: rgba(239, 189, 91, 0.18);
  font-family: var(--hieroglyph-font);
  font-synthesis: none;
  font-size: 3.2rem;
  line-height: 1;
}

.dialogue-block.mentor {
  --voice-color: var(--gold);
  justify-self: start;
}

.dialogue-block.mentor::before {
  content: "𓇋";
  right: 1rem;
}

.dialogue-block.seeker {
  --voice-color: #8ac9c8;
  justify-self: end;
  border-color: rgba(13, 116, 116, 0.34);
  background:
    linear-gradient(135deg, rgba(13, 116, 116, 0.12), transparent),
    rgba(8, 6, 4, 0.42);
}

.dialogue-block.seeker::before {
  content: "𓂀";
  left: 1rem;
  color: rgba(13, 116, 116, 0.25);
}

.voice {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--voice-color);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.dialogue-block p {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.3vw, 1.18rem);
  line-height: 1.78;
}

.dialogue-block p + p {
  margin-top: 0.85rem;
}

.dialogue-copy.has-focused-voice .dialogue-block {
  opacity: 0.5;
}

.dialogue-copy.has-focused-voice .dialogue-block.is-focused {
  opacity: 1;
  border-color: color-mix(in srgb, var(--voice-color) 72%, transparent);
  box-shadow: 0 1.2rem 4rem rgba(0, 0, 0, 0.34), 0 0 0 1px color-mix(in srgb, var(--voice-color) 24%, transparent);
  transform: translateY(-0.2rem);
}

.dialogue-block.is-focused::before {
  color: color-mix(in srgb, var(--voice-color) 42%, transparent);
}

.tap-glyph {
  position: fixed;
  z-index: 60;
  pointer-events: none;
  color: rgba(239, 189, 91, 0.82);
  font-family: var(--hieroglyph-font);
  font-synthesis: none;
  font-size: 1.6rem;
  line-height: 1;
  text-shadow: 0 0 1.5rem rgba(239, 189, 91, 0.35);
  transform: translate(-50%, -50%);
  animation: glyph-bloom 760ms ease-out forwards;
}

@keyframes glyph-bloom {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.7) rotate(-10deg);
  }

  28% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    transform: translate(-50%, calc(-50% - 2.2rem)) scale(1.35) rotate(12deg);
  }
}

.image-interlude {
  position: relative;
  min-height: 135vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: clamp(5rem, 8vw, 8rem) clamp(1rem, 5vw, 5rem);
  background:
    radial-gradient(circle at 50% 30%, rgba(184, 103, 50, 0.2), transparent 26rem),
    linear-gradient(180deg, #050302, #0c0704 50%, #050302);
}

.procession-strip {
  position: absolute;
  inset: 14vh -12vw auto;
  height: min(34vh, 22rem);
  border-block: 1px solid rgba(239, 189, 91, 0.22);
  background-image:
    linear-gradient(90deg, rgba(8, 6, 4, 0.92), transparent 20%, transparent 80%, rgba(8, 6, 4, 0.92)),
    linear-gradient(180deg, rgba(8, 6, 4, 0.04), rgba(8, 6, 4, 0.5)),
    var(--procession-image);
  background-size: auto 100%;
  background-position:
    center,
    center,
    calc(50% + (var(--p) - 0.5) * 28vw) center;
  background-repeat: no-repeat;
  transform: translate3d(calc((0.5 - var(--p)) * 10vw), 0, 0);
}

.interlude-copy {
  position: relative;
  z-index: 1;
  width: min(90vw, 55rem);
  text-align: center;
}

.interlude-copy h2 {
  max-width: 11ch;
  margin-inline: auto;
}

.interlude-copy > p:last-child {
  max-width: 42rem;
  margin: 1.4rem auto 0;
  color: rgba(255, 242, 209, 0.75);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.04rem, 1.5vw, 1.32rem);
  line-height: 1.75;
}

.interlude-dialogue {
  width: min(100%, 56rem);
  margin: clamp(2rem, 5vw, 4rem) auto 0;
  text-align: left;
}

.interlude-dialogue .dialogue-block {
  background:
    linear-gradient(135deg, rgba(255, 242, 209, 0.07), transparent),
    rgba(8, 6, 4, 0.64);
}

.interlude-dialogue .dialogue-block.seeker {
  background:
    linear-gradient(135deg, rgba(13, 116, 116, 0.14), transparent),
    rgba(8, 6, 4, 0.64);
}

.restart-link {
  justify-self: start;
  margin-top: 0.35rem;
  border: 1px solid rgba(239, 189, 91, 0.36);
  border-radius: 999px;
  padding: 0.8rem 1rem;
  color: var(--obsidian);
  background: var(--gold);
  text-decoration: none;
  font-weight: 850;
}

.site-footer {
  padding: 1.3rem clamp(1rem, 4vw, 4rem) 1.5rem;
  border-top: 1px solid rgba(239, 189, 91, 0.22);
  color: rgba(255, 242, 209, 0.58);
  background: #020202;
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.analysis-section {
  position: relative;
  scroll-margin-top: 5.5rem;
  padding: clamp(5.5rem, 10vw, 9rem) clamp(1.1rem, 5vw, 5.5rem);
  border-top: 1px solid rgba(239, 189, 91, 0.28);
  background:
    linear-gradient(180deg, rgba(2, 2, 2, 0.98) 0%, rgba(8, 6, 4, 0.98) 12%, rgba(16, 12, 8, 0.98) 100%),
    radial-gradient(circle at 18% 8%, rgba(239, 189, 91, 0.13), transparent 24rem),
    radial-gradient(circle at 84% 16%, rgba(136, 69, 28, 0.16), transparent 28rem);
  color: rgba(255, 242, 209, 0.86);
}

.analysis-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, transparent calc(50% - 0.5px), rgba(239, 189, 91, 0.08) 50%, transparent calc(50% + 0.5px)),
    repeating-linear-gradient(180deg, rgba(255, 242, 209, 0.04) 0 1px, transparent 1px 2.4rem);
  mask-image: linear-gradient(180deg, transparent, black 9rem, black calc(100% - 6rem), transparent);
  opacity: 0.48;
}

.analysis-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(28rem, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  width: min(100%, 88rem);
  margin-inline: auto;
}

.analysis-header {
  position: sticky;
  top: 6rem;
  align-self: start;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(239, 189, 91, 0.28);
}

.analysis-kicker {
  margin-bottom: 1rem;
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.analysis-header h2 {
  max-width: 9ch;
  color: var(--ivory);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.9rem, 7vw, 6.7rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 0.95;
}

.analysis-deck {
  max-width: 30rem;
  margin-top: 1.35rem;
  color: rgba(255, 242, 209, 0.7);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.65;
}

.analysis-body {
  max-width: 75ch;
  color: rgba(255, 242, 209, 0.82);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.03rem, 1.18vw, 1.16rem);
  line-height: 1.86;
}

.analysis-body > p {
  margin: 0;
  text-indent: clamp(2.7rem, 5vw, 4.2rem);
}

.analysis-body > p:first-of-type {
  text-indent: 0;
}

.analysis-body > p + p {
  margin-top: 0.9rem;
}

.analysis-body a {
  color: #f5cc78;
  text-decoration-color: rgba(245, 204, 120, 0.46);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.analysis-body a:hover {
  color: var(--ivory);
  text-decoration-color: rgba(255, 242, 209, 0.8);
}

.dropcap {
  float: left;
  margin: 0.08em 0.16em 0.03em 0;
  border: 1px solid rgba(239, 189, 91, 0.48);
  border-radius: 0.16em;
  padding: 0.02em 0.13em 0.05em;
  color: #211307;
  background:
    radial-gradient(circle at 30% 22%, rgba(255, 242, 209, 0.78), transparent 32%),
    linear-gradient(145deg, #f4cf7a, #b86732);
  box-shadow:
    0 0.18em 0.7em rgba(0, 0, 0, 0.34),
    inset 0 0 0 1px rgba(255, 242, 209, 0.28);
  font-size: 3.95em;
  font-weight: 700;
  line-height: 0.78;
  text-shadow: 0 1px 0 rgba(255, 242, 209, 0.42);
}

.dialogue-block sup,
.analysis-body sup {
  font-size: 0.72em;
  line-height: 0;
}

.dialogue-block sup a,
.analysis-body sup a,
.footnote-back {
  text-decoration: none;
}

.dialogue-block p[id^="fnref-"],
.analysis-body p[id^="fnref-"],
.footnotes li {
  scroll-margin-top: clamp(6.25rem, 12vw, 8rem);
}

.analysis-notes,
.open-source-credit,
.works-cited {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: clamp(1.2rem, 2.5vw, 2rem);
  border-top: 1px solid rgba(239, 189, 91, 0.3);
}

.analysis-notes h3,
.open-source-credit h3,
.works-cited h3 {
  margin-bottom: 1rem;
  color: var(--ivory);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footnotes {
  padding-left: 1.4rem;
  color: rgba(255, 242, 209, 0.72);
  font-size: 0.95rem;
  line-height: 1.7;
}

.footnotes li + li {
  margin-top: 0.75rem;
}

.footnote-back {
  display: inline-flex;
  align-items: center;
  margin-left: 0.35rem;
  border: 1px solid rgba(239, 189, 91, 0.3);
  border-radius: 999px;
  padding: 0.14rem 0.46rem 0.12rem;
  color: var(--gold);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  line-height: 1.4;
  text-transform: uppercase;
  white-space: nowrap;
  vertical-align: 0.08em;
}

.footnote-back:hover {
  color: var(--obsidian);
  background: var(--gold);
  text-decoration: none;
}

.works-note {
  margin: 0 0 1rem;
  color: rgba(255, 242, 209, 0.64);
  font-size: 0.92rem;
  line-height: 1.65;
}

.works-cited ul {
  display: grid;
  gap: 0.9rem;
  padding: 0;
  list-style: none;
  color: rgba(255, 242, 209, 0.76);
  font-size: 0.96rem;
  line-height: 1.72;
}

.works-cited li {
  padding-left: 1.8rem;
  text-indent: -1.8rem;
}

.open-source-credit {
  color: rgba(255, 242, 209, 0.66);
}

.open-source-credit p {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  text-indent: 0;
}

.open-source-credit ul {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 0;
  padding-left: 1.1rem;
  font-size: 0.9rem;
  line-height: 1.65;
}

.open-source-credit li {
  padding-left: 0.2rem;
}

.open-source-credit a {
  color: rgba(255, 242, 209, 0.9);
  text-decoration-color: rgba(239, 189, 91, 0.5);
  text-underline-offset: 0.22em;
}

@media (max-width: 900px) {
  .foreground-flourishes {
    opacity: 0.72;
  }

  .flourish-winged-sun,
  .flourish-thread {
    display: none;
  }

  .flourish-reeds {
    left: -1rem;
  }

  .flourish-lotus {
    right: -0.5rem;
    bottom: 24vh;
  }

  .pylon {
    width: clamp(5.5rem, 22vw, 9rem);
    height: clamp(10rem, 32vh, 17rem);
    opacity: 0.34;
  }

  .solar-bark {
    bottom: 30vh;
    opacity: 0.36;
  }

  .papyrus-cluster {
    width: clamp(4.5rem, 16vw, 8rem);
    opacity: 0.4;
  }

  .book-chapter::after {
    opacity: 0.18;
  }

  .chapter-grid,
  .chapter-grid.reverse {
    grid-template-columns: 1fr;
  }

  .chapter-grid.reverse .artifact-panel {
    order: 0;
  }

  .artifact-panel {
    position: relative;
    top: auto;
  }

  .artifact-image {
    min-height: 22rem;
  }

  .analysis-shell {
    grid-template-columns: 1fr;
  }

  .analysis-header {
    position: relative;
    top: auto;
  }
}

@media (max-width: 760px) {
  .site-nav {
    align-items: stretch;
  }

  .brand span:last-child {
    display: none;
  }

  .chapter-nav {
    max-width: calc(100vw - 5.5rem);
  }

  .chapter-nav a {
    padding-inline: 0.65rem;
  }

  .hero-copy {
    padding-top: 24vh;
  }

  .hero-scene {
    min-height: 118vh;
  }

  .mural {
    transform:
      translate3d(0, calc(var(--p) * -2vh), 0)
      scale(calc(1.01 + var(--p) * 0.035));
  }

  .pylon {
    bottom: 17vh;
  }

  .pylon-left {
    left: -3.5rem;
  }

  .pylon-right {
    right: -3.5rem;
  }

  .papyrus-left {
    left: 0.4rem;
  }

  .papyrus-right {
    right: 0.4rem;
  }

  .solar-bark {
    display: none;
  }

  .nile-ribbon {
    height: 5.5rem;
  }

  h1 {
    font-size: clamp(2.55rem, 12.5vw, 3.8rem);
    line-height: 0.94;
  }

  h2 {
    max-width: 9.5ch;
    font-size: clamp(2.8rem, 14vw, 5rem);
  }

  .renewal-thread {
    bottom: 5vh;
  }

  .renewal-thread b {
    width: 3.3rem;
    font-size: 1.6rem;
  }

  .renewal-thread em {
    font-size: 0.64rem;
  }

  .book-chapter {
    padding-inline: 1rem;
  }

  .book-chapter::after {
    inset-inline: auto 0.4rem;
    top: 4rem;
    transform: none;
  }

  .dialogue-block {
    width: 100%;
  }

  .procession-strip {
    inset-inline: -60vw;
    height: 26vh;
  }

  .analysis-section {
    padding-inline: 1rem;
  }

  .analysis-header h2 {
    max-width: 10ch;
    font-size: clamp(2.7rem, 13vw, 4.7rem);
  }

  .analysis-body {
    font-size: 1rem;
    line-height: 1.78;
  }

  .analysis-body > p {
    text-indent: 2.7rem;
  }

  .dropcap {
    font-size: 3.3em;
  }

  .works-cited li {
    overflow-wrap: anywhere;
  }
}

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

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

  .mural,
  .sun-disc,
  .flourish,
  .hero-vectors::before,
  .pylon,
  .solar-bark,
  .papyrus-cluster,
  .nile-ribbon,
  .hero-copy,
  .renewal-thread,
  .book-chapter::after,
  .artifact-panel,
  .procession-strip {
    transform: none !important;
  }
}
