@font-face {
  font-family: Baskerville;
  src: url("/assets/baskerville.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
@font-face {
  font-family: Baskerville;
  src: url("/assets/baskerville-italic.ttf") format("truetype");
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
}
:root {
  --serif: Baskerville, Georgia, serif;
}
body {
  line-height: 1.65;
}
h1,
h2,
h3 {
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.13;
}
.brand-name {
  font-family: Baskerville, Georgia, serif;
  letter-spacing: 0.035em;
}
.sealed-intro h1 {
  font-size: clamp(54px, 7.8vw, 116px);
  letter-spacing: -0.055em;
}
.hero-copy h2 {
  font-size: clamp(40px, 5.8vw, 86px);
  line-height: 1.08;
}
.illuminated-text {
  font-size: clamp(43px, 6.4vw, 96px);
  letter-spacing: -0.055em;
}
.opening-copy p {
  font-size: 18px;
  line-height: 1.85;
}
.chapter-card h3 {
  font-size: clamp(27px, 2.7vw, 40px);
}
.chapter-card p {
  font-size: 16px;
  line-height: 1.8;
}
.archive-section {
  padding-top: 30px;
  padding-bottom: 110px;
}
.archive-heading {
  display: flex;
  justify-content: space-between;
  gap: 50px;
  align-items: end;
  border-top: 1px solid var(--line);
  padding-top: 40px;
  margin-bottom: 40px;
}
.archive-heading h2 {
  font-size: clamp(33px, 3.8vw, 56px);
  margin: 18px 0 0;
}
.archive-heading > p {
  max-width: 320px;
  font-size: 15px;
  line-height: 1.85;
  margin: 0;
}
.archive-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 30px;
  align-items: start;
}
.archive-item {
  margin: 0;
  min-width: 0;
}
.archive-item:nth-child(2) {
  padding-top: 55px;
}
.archive-item:nth-child(3) {
  padding-top: 110px;
}
.archive-open {
  padding: 0;
  border: 0;
  width: 100%;
  display: block;
  background: #dbd0b8;
  cursor: zoom-in;
  position: relative;
  overflow: hidden;
  text-align: left;
  color: var(--ink);
}
.archive-open img {
  width: 100%;
  height: 340px;
  object-fit: cover;
  display: block;
  filter: sepia(0.16);
  transition:
    transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1),
    filter 0.6s;
}
.archive-wide img {
  object-fit: contain;
  padding: 18px;
}
.archive-item:nth-child(2) img {
  object-position: top;
}
.archive-item:nth-child(3) img {
  object-position: 50% 25%;
}
.archive-open:hover img,
.archive-open:focus-visible img {
  transform: scale(1.035);
  filter: sepia(0);
}
.archive-open > span {
  display: flex;
  justify-content: space-between;
  padding: 14px 16px;
  background: #e5dac5;
  font: 11px var(--sans);
  letter-spacing: 0.015em;
}
.archive-open b {
  font-weight: 400;
}
.archive-item figcaption {
  padding-top: 20px;
}
.archive-item figcaption > span {
  font: 9px var(--sans);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
}
.archive-item h3 {
  font-size: 24px;
  margin: 12px 0;
}
.archive-item p {
  font-size: 13px;
  line-height: 1.85;
  margin: 0 0 10px;
}
.archive-item a,
.archive-source {
  font: 10px var(--sans);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.archive-dialog {
  width: min(1100px, 94vw);
  max-height: 92svh;
  padding: 28px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  overflow: auto;
}
.archive-dialog::backdrop {
  background: rgb(20 28 24/0.85);
  backdrop-filter: blur(5px);
}
.archive-dialog-top,
.archive-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.archive-dialog button {
  font: 12px var(--sans);
  background: transparent;
  border: 0;
  color: inherit;
  cursor: pointer;
  padding: 12px;
}
.archive-view {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 45px;
  align-items: center;
  padding: 25px 0;
}
.archive-view > img {
  width: 100%;
  height: 58svh;
  object-fit: contain;
  background: #ded4c0;
}
.archive-view h2 {
  font-size: 37px;
  margin: 20px 0;
}
.archive-description {
  font-size: 16px;
  line-height: 1.85;
}
.archive-note {
  font: 10px/1.6 var(--sans);
  color: var(--muted);
  margin-top: 40px;
}
.archive-controls {
  border-top: 1px solid var(--line);
  padding-top: 12px;
  font: 11px var(--sans);
}
html:has(.archive-dialog[open]) {
  overflow: hidden;
}
@media (max-width: 760px) {
  .archive-heading {
    display: block;
  }
  .archive-heading > p {
    margin-top: 24px;
    max-width: none;
  }
  .archive-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 18px;
  }
  .archive-wide {
    grid-column: 1/-1;
  }
  .archive-item:nth-child(n) {
    padding-top: 0;
  }
  .archive-open img {
    height: 240px;
  }
  .archive-wide img {
    height: auto;
    aspect-ratio: 1.5;
    object-fit: contain;
  }
  .archive-item h3 {
    font-size: 20px;
  }
  .archive-section {
    padding-bottom: 65px;
  }
  .archive-open > span {
    font-size: 9px;
    gap: 8px;
    padding: 12px 9px;
  }
  .archive-view {
    display: block;
    padding: 15px 0;
  }
  .archive-view > img {
    height: 40svh;
  }
  .archive-view h2 {
    font-size: 28px;
  }
  .archive-dialog {
    padding: 15px;
  }
  .archive-description {
    font-size: 14px;
  }
  .archive-note {
    margin-top: 20px;
  }
  .hero-copy h2 {
    font-size: 36px;
  }
  .opening-copy p {
    font-size: 16px;
  }
  .illuminated-text {
    font-size: clamp(35px, 7.8vw, 56px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .archive-open img {
    transition: none;
  }
  .archive-open:hover img {
    transform: none;
  }
}
@media print {
  .archive-dialog,
  .archive-open > span {
    display: none !important;
  }
  .archive-grid {
    break-inside: avoid;
  }
}
.pledge {
  min-width: 0;
}
.pledge h2 {
  overflow-wrap: break-word;
}
@media (max-width: 760px) {
  .pledge-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .pledge h2 {
    font-size: 42px;
  }
}
/* Candlelit air: broad, slow light movement and sparse floating dust. */
.scroll-stage,
.promise-stage {
  isolation: isolate;
}
.atmosphere {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  contain: strict;
}
.atmosphere::before,
.atmosphere::after {
  content: "";
  position: absolute;
  inset: -25%;
  will-change: transform;
  animation-play-state: paused;
}
.atmosphere::before {
  background:
    radial-gradient(ellipse at 24% 46%, rgb(199 167 97/0.16), transparent 44%),
    radial-gradient(ellipse at 82% 70%, rgb(122 155 125/0.11), transparent 39%);
  animation: lamplight-drift 28s ease-in-out infinite alternate paused;
}
.atmosphere::after {
  background: linear-gradient(
    118deg,
    transparent 28%,
    rgb(220 203 157/0.045) 39%,
    transparent 49%
  );
  animation: lamplight-sweep 36s ease-in-out infinite alternate paused;
}
.atmosphere i {
  position: absolute;
  left: var(--x);
  top: var(--y);
  width: var(--size);
  height: var(--size);
  border-radius: 50%;
  background: #daceab;
  opacity: 0;
  box-shadow: 0 0 7px rgb(222 202 143/0.25);
  animation: dust-drift var(--duration) linear var(--delay) infinite paused;
}
.atmosphere.is-running::before,
.atmosphere.is-running::after,
.atmosphere.is-running i {
  animation-play-state: running;
}
.atmosphere-control {
  position: absolute;
  left: 30px;
  bottom: 30px;
  z-index: 8;
  color: #babbaa;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #656959;
  padding: 8px 0;
  font: 9px var(--sans);
  letter-spacing: 0.04em;
  cursor: pointer;
}
.atmosphere-control:hover {
  color: #f0eadb;
}
.atmosphere-control:disabled {
  cursor: default;
  opacity: 0.65;
}
@keyframes lamplight-drift {
  from {
    transform: translate(-5%, -3%) scale(1);
  }
  to {
    transform: translate(8%, 5%) scale(1.12);
  }
}
@keyframes lamplight-sweep {
  from {
    transform: translateX(-10%) rotate(-5deg);
  }
  to {
    transform: translateX(14%) rotate(6deg);
  }
}
@keyframes dust-drift {
  0% {
    transform: translate3d(-12px, 65px, 0);
    opacity: 0;
  }
  20% {
    opacity: 0.28;
  }
  75% {
    opacity: 0.18;
  }
  100% {
    transform: translate3d(50px, -110px, 0);
    opacity: 0;
  }
}
@media (max-width: 760px) {
  .atmosphere i:nth-child(n + 8) {
    display: none;
  }
  .atmosphere-control {
    left: 18px;
    bottom: 20px;
    font-size: 8px;
  }
  .atmosphere::before {
    opacity: 0.8;
  }
}
@media (prefers-reduced-motion: reduce) {
  .atmosphere::before,
  .atmosphere::after,
  .atmosphere i {
    animation: none !important;
  }
  .atmosphere i {
    display: none;
  }
}
@media print {
  .atmosphere,
  .atmosphere-control {
    display: none !important;
  }
}
/* Keep the sheet's layout stable; only its visible crop and rollers move. */
.js .page-index .parchment {
  filter: none;
  will-change: transform;
}
.js .page-index .paper-window {
  clip-path: inset(50% 0 50% 0);
  will-change: clip-path;
  contain: paint;
}
.js .page-index .paper-roller {
  will-change: transform;
}
.js .sealed-intro {
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .js .page-index .paper-window {
    clip-path: none !important;
  }
  .js .page-index .paper-roller {
    transform: none !important;
  }
}
