@font-face {
  font-family: "Cormorant Nexus";
  src: url("/misterio/CormorantGaramond-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "EB Nexus";
  src: url("/misterio/EBGaramond-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --void: #050609;
  --void-soft: #090c12;
  --ink: #111620;
  --paper: #e9e4d9;
  --paper-muted: #aaa79f;
  --gold: #ddb15b;
  --gold-bright: #ffd983;
  --cyan: #69d6ee;
  --magenta: #ba3e9e;
  --line: rgba(221, 177, 91, 0.28);
  --line-cool: rgba(105, 214, 238, 0.22);
  --serif: "Cormorant Nexus", "Iowan Old Style", "Baskerville", serif;
  --body: "EB Nexus", "Iowan Old Style", "Baskerville", serif;
  --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--void);
}

body {
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 11% 20%, rgba(105, 214, 238, 0.07), transparent 34rem),
    radial-gradient(circle at 91% 62%, rgba(186, 62, 158, 0.06), transparent 38rem),
    var(--void);
  color: var(--paper);
  font-family: var(--body);
  font-size: clamp(1.08rem, 1.32vw, 1.3rem);
  line-height: 1.65;
}

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

a {
  color: inherit;
}

::selection {
  background: var(--gold);
  color: var(--void);
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 1rem;
  left: 1rem;
  padding: 0.7rem 1rem;
  transform: translateY(-180%);
  background: var(--paper);
  color: var(--void);
  font-family: var(--sans);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

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

.reading-progress {
  position: fixed;
  z-index: 900;
  inset: 0 auto auto 0;
  width: 100%;
  height: 2px;
  background: rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.reading-progress i {
  display: block;
  width: 100%;
  height: 100%;
  transform: scaleX(0);
  transform-origin: left center;
  background: linear-gradient(90deg, var(--gold), var(--cyan), var(--magenta));
  box-shadow: 0 0 1rem rgba(105, 214, 238, 0.8);
}

.hero {
  position: relative;
  min-height: 118svh;
  display: grid;
  align-items: end;
  isolation: isolate;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: auto 0 0;
  height: 36%;
  background: linear-gradient(0deg, var(--void) 0%, transparent 100%);
}

.hero-art,
.hero-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-art {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.9) contrast(1.06) brightness(0.74);
  background: #080b10;
  animation: hero-breath 20s ease-in-out infinite alternate;
}

.hero-veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.96) 0%, rgba(5, 6, 9, 0.78) 36%, rgba(5, 6, 9, 0.22) 70%, rgba(5, 6, 9, 0.46) 100%),
    linear-gradient(180deg, rgba(5, 6, 9, 0.6) 0%, transparent 36%, rgba(5, 6, 9, 0.96) 100%);
}

@keyframes hero-breath {
  to {
    transform: scale(1.035);
    filter: saturate(1.03) contrast(1.08) brightness(0.82);
  }
}

.topbar {
  position: absolute;
  z-index: 8;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.45rem clamp(1.25rem, 4vw, 5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: linear-gradient(180deg, rgba(5, 6, 9, 0.74), transparent);
  font-family: var(--sans);
}

.topbar > a:last-child,
footer > a:last-child {
  color: #d2ccc1;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.topbar > a:last-child:hover,
.topbar > a:last-child:focus-visible,
footer > a:last-child:hover,
footer > a:last-child:focus-visible {
  color: var(--gold-bright);
}

.brand {
  display: inline-flex;
  align-items: baseline;
  color: #eee8db;
  font-family: var(--sans);
  font-size: 0.86rem;
  font-weight: 400;
  letter-spacing: 0.5em;
  text-decoration: none;
}

.brand span {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 1.25em;
  text-shadow: 0 0 1rem rgba(255, 217, 131, 0.62);
}

.hero-copy {
  width: min(950px, calc(100% - 2.5rem));
  margin: 0 auto 11vh clamp(1.25rem, 7.8vw, 9rem);
  padding-top: 9rem;
}

.verse-source,
.kicker,
.art-label {
  margin: 0 0 1rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: clamp(0.64rem, 0.9vw, 0.76rem);
  font-weight: 800;
  letter-spacing: 0.23em;
  text-transform: uppercase;
}

.hero blockquote {
  max-width: 780px;
  margin: 0;
  color: #ded8ce;
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.7vw, 2.55rem);
  font-weight: 400;
  line-height: 1.25;
  text-wrap: balance;
}

.hero blockquote strong {
  color: var(--gold-bright);
  font-weight: 500;
  text-shadow: 0 0 2rem rgba(221, 177, 91, 0.34);
}

.verse-note {
  max-width: 660px;
  margin: 1rem 0 clamp(3.5rem, 8vh, 6.5rem);
  color: #aaa79f;
  font-family: var(--sans);
  font-size: clamp(0.72rem, 1vw, 0.86rem);
  line-height: 1.6;
}

.hero h1 {
  position: relative;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(5rem, 16vw, 14.8rem);
  font-weight: 380;
  line-height: 0.68;
  letter-spacing: -0.085em;
}

.hero h1::before {
  content: "μυστήριον";
  position: absolute;
  left: 0.4rem;
  top: -2.5rem;
  color: var(--cyan);
  font-family: var(--serif);
  font-size: clamp(0.9rem, 1.6vw, 1.4rem);
  font-weight: 500;
  letter-spacing: 0.16em;
  opacity: 0.76;
}

.hero h1 span {
  color: var(--gold-bright);
  text-shadow:
    0 0 2.5rem rgba(221, 177, 91, 0.28),
    0 0 7rem rgba(186, 62, 158, 0.16);
}

.hero-confession {
  max-width: 650px;
  margin: 3.5rem 0 2rem;
  color: #cdc6ba;
  font-size: clamp(1.12rem, 1.65vw, 1.45rem);
  line-height: 1.55;
}

.descida {
  display: inline-flex;
  align-items: center;
  gap: 1.2rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--gold);
  color: var(--gold-bright);
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-decoration: none;
}

.descida b {
  font-size: 1.2rem;
  font-weight: 400;
  animation: descend 1.9s ease-in-out infinite;
}

@keyframes descend {
  50% {
    transform: translateY(0.45rem);
  }
}

.art-stamp {
  position: absolute;
  right: clamp(1.2rem, 4vw, 4.5rem);
  bottom: 10vh;
  display: grid;
  width: 8.4rem;
  padding: 1rem;
  border: 1px solid var(--line);
  background: rgba(5, 6, 9, 0.52);
  font-family: var(--sans);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.art-stamp b,
.art-stamp small {
  color: var(--paper-muted);
  font-size: 0.55rem;
  letter-spacing: 0.14em;
}

.art-stamp span {
  margin: 0.35rem 0;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 1.55rem;
}

main {
  overflow: clip;
}

.prologo {
  position: relative;
  width: min(1260px, calc(100% - 2.5rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.38fr);
  gap: clamp(3rem, 8vw, 8rem);
  padding: clamp(7rem, 14vw, 13rem) 0;
}

.prologo-mark {
  position: absolute;
  z-index: -1;
  left: -0.08em;
  top: 0.02em;
  color: rgba(105, 214, 238, 0.055);
  font-family: var(--serif);
  font-size: clamp(16rem, 38vw, 40rem);
  line-height: 1;
  pointer-events: none;
}

.prologo h2,
.chapter h2,
.interlude h2,
.threshold h2,
.grammar h2,
.finale h2,
.sources h2 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 410;
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.prologo h2 {
  max-width: 980px;
  font-size: clamp(3.1rem, 6.3vw, 7rem);
}

.columns {
  max-width: 970px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(2rem, 5vw, 5rem);
  margin-top: 3rem;
  color: #c0bbb1;
}

.columns p {
  margin: 0;
}

.lexema {
  align-self: end;
  border-top: 1px solid var(--line);
}

.lexema p {
  display: grid;
  margin: 0;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.lexema span {
  color: var(--paper-muted);
  font-family: var(--sans);
  font-size: 0.57rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.lexema b {
  margin: 0.2rem 0;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 2.15rem;
  font-weight: 450;
}

.lexema small {
  color: #a7a299;
  font-family: var(--sans);
  font-size: 0.72rem;
}

.questions {
  width: min(1380px, calc(100% - 2.5rem));
  margin: 0 auto clamp(7rem, 14vw, 13rem);
  padding: 2.2rem 0 0;
  border-top: 1px solid var(--line);
}

.questions > p {
  margin: 0 0 1.2rem;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.questions ol {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 0;
  padding: 0;
  list-style: none;
  background: rgba(255, 255, 255, 0.1);
}

.questions a {
  min-height: 9rem;
  display: flex;
  align-items: end;
  padding: 1.4rem;
  background: var(--void);
  color: #d9d3c8;
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.1vw, 2.1rem);
  line-height: 1;
  text-decoration: none;
  transition: color 240ms ease, background 240ms ease;
}

.questions a:hover,
.questions a:focus-visible {
  background: rgba(221, 177, 91, 0.08);
  color: var(--gold-bright);
  outline: none;
}

.chapter {
  width: min(1480px, 100%);
  margin: 0 auto;
  padding: clamp(5rem, 10vw, 10rem) clamp(1.25rem, 4vw, 4.5rem);
}

.chapter-seed,
.chapter-leaven,
.chapter-pearl {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(330px, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 8rem);
}

.chapter-leaven,
.chapter-pearl {
  grid-template-columns: minmax(330px, 0.85fr) minmax(0, 1.05fr);
}

.chapter-copy {
  max-width: 700px;
}

.chapter h2 {
  font-size: clamp(3.2rem, 5.8vw, 6.8rem);
}

.chapter h2 em {
  color: var(--gold-bright);
  font-weight: 420;
}

.chapter-copy > p:not(.kicker):not(.lead) {
  color: #aaa69e;
}

.chapter-copy .lead {
  margin: 2rem 0;
  color: #ddd7cc;
  font-size: clamp(1.24rem, 1.8vw, 1.6rem);
  line-height: 1.5;
}

.chapter-copy strong {
  color: #e9e3d7;
  font-weight: 650;
}

.arte {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #090b0f;
  box-shadow: 0 2.4rem 8rem rgba(0, 0, 0, 0.36);
}

.arte::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: inset 0 0 5rem rgba(0, 0, 0, 0.2);
  pointer-events: none;
}

.arte img {
  width: 100%;
  min-height: 35rem;
  object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), filter 1.2s ease;
}

.arte:hover img {
  transform: scale(1.025);
  filter: saturate(1.08) brightness(1.03);
}

.arte figcaption {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem;
  background: linear-gradient(0deg, rgba(5, 6, 9, 0.94), transparent);
  font-family: var(--sans);
}

.arte figcaption b,
.arte figcaption span {
  font-size: 0.56rem;
  letter-spacing: 0.14em;
}

.arte figcaption b {
  color: var(--gold-bright);
}

.arte figcaption span {
  color: #c8c3b9;
  text-align: right;
}

.confession-line {
  position: relative;
  margin: 2.6rem 0 0;
  padding: 1.6rem 0 0 2rem;
  border-top: 1px solid var(--line);
  color: #d4cec3;
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.65rem);
  font-style: italic;
  line-height: 1.42;
}

.confession-line::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--gold);
}

.interlude {
  width: min(1120px, calc(100% - 2.5rem));
  margin: clamp(5rem, 10vw, 9rem) auto;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  padding: clamp(3rem, 7vw, 6rem) 0;
  border-top: 1px solid var(--line-cool);
  border-bottom: 1px solid var(--line-cool);
}

.interlude-number {
  margin: 0;
  color: rgba(105, 214, 238, 0.72);
  font-family: var(--serif);
  font-size: clamp(7rem, 18vw, 15rem);
  font-weight: 300;
  line-height: 0.7;
  text-shadow: 0 0 4rem rgba(105, 214, 238, 0.2);
}

.interlude h2 {
  max-width: 850px;
  font-size: clamp(2.5rem, 4.8vw, 5rem);
}

.chapter-treasure {
  position: relative;
  width: 100%;
  min-height: 110svh;
  display: grid;
  align-items: end;
  padding: 0;
  isolation: isolate;
}

.chapter-treasure .arte-full {
  position: absolute;
  z-index: -3;
  inset: 0;
  height: 100%;
}

.chapter-treasure .arte-full img {
  width: 100%;
  height: 100%;
  min-height: 0;
  filter: brightness(0.68) saturate(0.88);
}

.chapter-treasure .arte-full::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.94) 0%, rgba(5, 6, 9, 0.72) 42%, rgba(5, 6, 9, 0.12) 76%),
    linear-gradient(0deg, rgba(5, 6, 9, 0.98), transparent 54%);
}

.chapter-treasure .arte-full figcaption {
  right: clamp(1rem, 4vw, 4rem);
  bottom: 1rem;
  left: auto;
  display: grid;
  background: transparent;
}

.overlay-copy {
  width: min(720px, calc(100% - 2.5rem));
  max-width: none;
  margin: 0 0 8vh clamp(1.25rem, 7vw, 8rem);
  padding-top: 8rem;
}

.threshold {
  position: relative;
  width: min(1200px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(8rem, 16vw, 16rem) 0;
  text-align: center;
}

.threshold::before,
.threshold::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  height: clamp(3rem, 7vw, 7rem);
  background: linear-gradient(var(--gold), transparent);
}

.threshold::before {
  top: 0;
}

.threshold::after {
  bottom: 0;
  transform: rotate(180deg);
}

.threshold > p {
  color: var(--cyan);
  font-family: var(--sans);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
}

.threshold h2 {
  font-size: clamp(3.2rem, 7vw, 7.7rem);
}

.chapter-net {
  padding-right: 0;
  padding-left: 0;
}

.chapter-net .arte-wide {
  width: 100%;
}

.chapter-net .arte-wide img {
  min-height: min(70svh, 48rem);
}

.chapter-net .chapter-copy {
  width: min(780px, calc(100% - 2.5rem));
  max-width: none;
  margin: clamp(4rem, 8vw, 8rem) auto 0;
}

.grammar {
  width: min(1320px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(8rem, 15vw, 14rem) 0;
}

.grammar h2 {
  max-width: 950px;
  font-size: clamp(3.2rem, 6.8vw, 7.4rem);
}

.grammar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: clamp(3rem, 7vw, 6rem);
  background: rgba(255, 255, 255, 0.12);
}

.grammar article {
  min-height: 18rem;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background:
    linear-gradient(145deg, rgba(105, 214, 238, 0.04), transparent 45%),
    var(--void);
}

.grammar article span {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.62rem;
}

.grammar article b {
  margin-top: auto;
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 440;
}

.grammar article p {
  margin: 0.7rem 0 0;
  color: #aaa69e;
  font-size: 1rem;
  line-height: 1.45;
}

.finale {
  position: relative;
  min-height: 190svh;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
}

.finale-art,
.finale-veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.finale-art {
  z-index: -3;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.66) saturate(0.82);
}

.finale-veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 6, 9, 0.96) 0%, rgba(5, 6, 9, 0.78) 46%, rgba(5, 6, 9, 0.12) 84%),
    linear-gradient(0deg, var(--void) 0%, rgba(5, 6, 9, 0.42) 48%, var(--void) 100%);
}

.finale-copy {
  width: min(840px, calc(100% - 2.5rem));
  margin: 0 0 10vh clamp(1.25rem, 8vw, 9rem);
  padding: 16vh 0 5vh;
}

.art-label {
  margin-bottom: clamp(8rem, 23vh, 17rem);
  color: #bbb5aa;
}

.finale h2 {
  font-size: clamp(3.6rem, 7vw, 8rem);
}

.finale-text {
  max-width: 690px;
  margin: 3rem 0 clamp(7rem, 16vh, 12rem);
  color: #c2bcb2;
}

.finale-text p {
  margin: 0 0 1.1rem;
}

.final-word {
  margin: 0;
  color: #bcb5aa;
  font-family: var(--serif);
  font-size: clamp(4rem, 10vw, 11rem);
  font-weight: 350;
  line-height: 0.72;
  letter-spacing: -0.06em;
}

.final-word strong {
  color: var(--gold-bright);
  font-weight: 420;
  text-shadow:
    0 0 3rem rgba(221, 177, 91, 0.3),
    0 0 9rem rgba(105, 214, 238, 0.16);
}

.afterword {
  max-width: 660px;
  margin: 4rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: #b5afa5;
}

.sources {
  width: min(1180px, calc(100% - 2.5rem));
  margin: 0 auto;
  padding: clamp(7rem, 13vw, 12rem) 0;
}

.sources h2 {
  max-width: 820px;
  font-size: clamp(3rem, 5.8vw, 6rem);
}

.sources ol {
  margin: 4rem 0;
  padding: 0;
  border-top: 1px solid var(--line);
  list-style: none;
}

.sources li {
  border-bottom: 1px solid var(--line);
}

.sources li a {
  display: grid;
  grid-template-columns: minmax(180px, 0.35fr) 1fr;
  gap: 2rem;
  padding: 1.45rem 0;
  text-decoration: none;
}

.sources li b {
  color: var(--gold-bright);
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.sources li span {
  color: #aaa69d;
}

.sources li a:hover span,
.sources li a:focus-visible span {
  color: var(--paper);
}

.sources aside {
  max-width: 820px;
  display: grid;
  grid-template-columns: minmax(160px, 0.3fr) 1fr;
  gap: 2rem;
  padding: 1.5rem;
  border: 1px solid var(--line-cool);
  background: rgba(105, 214, 238, 0.035);
}

.sources aside b {
  color: var(--cyan);
  font-family: var(--sans);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
}

.sources aside p {
  margin: 0;
  color: #aaa69d;
  font-size: 1rem;
}

footer {
  min-height: 12rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  padding: 2rem clamp(1.25rem, 4vw, 4.5rem);
  border-top: 1px solid var(--line);
  font-family: var(--sans);
}

footer p {
  margin: 0;
  color: #77756f;
  font-size: 0.58rem;
  letter-spacing: 0.16em;
  text-align: center;
}

html.js .reveal {
  opacity: 0.001;
  transform: translateY(2.5rem);
  transition: opacity 1s ease, transform 1.1s cubic-bezier(0.2, 0.8, 0.2, 1);
}

html.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .hero {
    min-height: 108svh;
  }

  .hero-copy {
    margin-bottom: 10vh;
  }

  .hero h1 {
    font-size: clamp(4.5rem, 18vw, 10rem);
  }

  .art-stamp {
    right: 1.25rem;
    bottom: 1.25rem;
  }

  .prologo,
  .chapter-seed,
  .chapter-leaven,
  .chapter-pearl {
    grid-template-columns: 1fr;
  }

  .chapter-leaven .chapter-copy,
  .chapter-pearl .chapter-copy {
    order: 2;
  }

  .chapter-leaven .arte,
  .chapter-pearl .arte {
    order: 1;
  }

  .lexema {
    width: min(560px, 100%);
  }

  .questions ol,
  .grammar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .arte img {
    min-height: 28rem;
  }

  .chapter-treasure .arte-full img {
    min-height: 0;
  }
}

@media (max-width: 680px) {
  body {
    font-size: 1.05rem;
  }

  .topbar {
    padding: 1.1rem 1.2rem;
  }

  .topbar > a:last-child {
    font-size: 0.54rem;
    letter-spacing: 0.12em;
  }

  .hero {
    min-height: 116svh;
  }

  .hero-art {
    object-position: 60% center;
  }

  .hero-veil {
    background:
      linear-gradient(0deg, rgba(5, 6, 9, 0.98) 0%, rgba(5, 6, 9, 0.6) 50%, rgba(5, 6, 9, 0.38) 100%),
      rgba(5, 6, 9, 0.2);
  }

  .hero-copy {
    width: calc(100% - 2.4rem);
    margin: 0 auto 11vh;
  }

  .verse-note {
    margin-bottom: 4.5rem;
  }

  .hero h1 {
    font-size: clamp(4.1rem, 20.5vw, 7rem);
    line-height: 0.76;
  }

  .hero h1::before {
    top: -2rem;
  }

  .art-stamp {
    display: none;
  }

  .prologo {
    width: calc(100% - 2.4rem);
    gap: 3rem;
  }

  .columns {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .questions {
    width: calc(100% - 2.4rem);
  }

  .questions ol,
  .grammar-grid {
    grid-template-columns: 1fr;
  }

  .questions a {
    min-height: 6rem;
  }

  .chapter {
    padding-right: 1.2rem;
    padding-left: 1.2rem;
  }

  .chapter h2 {
    font-size: clamp(2.9rem, 14vw, 4.8rem);
  }

  .arte img {
    min-height: 22rem;
  }

  .arte figcaption {
    display: grid;
  }

  .arte figcaption span {
    text-align: left;
  }

  .interlude {
    width: calc(100% - 2.4rem);
    grid-template-columns: 1fr;
  }

  .interlude-number {
    font-size: 8rem;
  }

  .chapter-treasure {
    min-height: 145svh;
  }

  .chapter-treasure .arte-full img {
    object-position: 58% center;
  }

  .chapter-treasure .arte-full::before {
    background:
      linear-gradient(0deg, var(--void) 0%, rgba(5, 6, 9, 0.88) 54%, rgba(5, 6, 9, 0.28) 100%);
  }

  .chapter-treasure .arte-full figcaption {
    top: 5.5rem;
    right: 1.2rem;
    bottom: auto;
    left: 1.2rem;
  }

  .overlay-copy {
    width: calc(100% - 2.4rem);
    margin: 0 auto 7vh;
  }

  .threshold h2 {
    font-size: clamp(2.8rem, 13vw, 5rem);
  }

  .chapter-net .chapter-copy {
    width: calc(100% - 2.4rem);
  }

  .grammar {
    width: calc(100% - 2.4rem);
  }

  .grammar article {
    min-height: 12rem;
  }

  .finale {
    min-height: 210svh;
  }

  .finale-art {
    object-position: 62% center;
  }

  .finale-veil {
    background:
      linear-gradient(0deg, var(--void) 0%, rgba(5, 6, 9, 0.64) 60%, rgba(5, 6, 9, 0.84) 100%);
  }

  .finale-copy {
    width: calc(100% - 2.4rem);
    margin: 0 auto 8vh;
  }

  .art-label {
    margin-bottom: 45vh;
  }

  .final-word {
    font-size: clamp(4.2rem, 21vw, 7.5rem);
  }

  .sources {
    width: calc(100% - 2.4rem);
  }

  .sources li a,
  .sources aside {
    grid-template-columns: 1fr;
    gap: 0.6rem;
  }

  footer {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  footer p {
    text-align: left;
  }
}

@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;
  }

  html.js .reveal {
    opacity: 1;
    transform: none;
  }
}
