@font-face {
  font-family: "Six Caps";
  src: url("fonts/six-caps.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root, :host {
  color-scheme: light;
  --ink: #100e12;
  --serif: Georgia, "Palatino Linotype", "Book Antiqua", serif;
  --mono: Consolas, "SFMono-Regular", "Noto Sans Mono", monospace;
  scrollbar-color: var(--site-reel-edge) var(--site-night);
  scrollbar-width: thin;
}

:host { display: block; }

* { box-sizing: border-box; }
body { margin: 0; background: #000; }
button, a { color: inherit; }
button { font: inherit; cursor: pointer; }
a { text-decoration: none; }
:focus-visible { outline: 2px solid #9a6cb8; outline-offset: 3px; }

.reel { height: var(--reel-height, 100vh); }
.stage {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  overflow: clip;
  isolation: isolate;
  background: #000;
}
.paper, .viewport, .scripture-art { position: absolute; inset: 0; }
.paper {
  z-index: 0;
  background: var(--site-reel-field);
  overflow: hidden;
}
.lens-dots {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.verses {
  position: absolute;
  inset: 0;
  perspective: 850px;
  pointer-events: none;
}
.verses-front { z-index: 2; }
.verse {
  position: absolute;
  left: 50%;
  width: max-content;
  max-width: min(83vw, 25ch);
  margin: 0;
  font: 400 var(--verse-size)/1.02 Impact, Haettenschweiler, "Arial Narrow", sans-serif;
  letter-spacing: .035em;
  word-spacing: .09em;
  text-transform: uppercase;
  color: rgb(17 8 7 / 44%);
  transform-style: preserve-3d;
}
.verse span { display: inline-block; }
.verse:not(.monument) { font-family: var(--mono); font-weight: 700; line-height: 1.18; }
.verse.is-echo { color: rgb(17 8 7 / 39%); font-weight: 400; }
.verse.monument {
  max-width: none;
  font: 400 calc(clamp(76px, min(26vw, 39svh), 440px) * var(--type-scale, 1))/.92 "Six Caps", "Arial Narrow", sans-serif;
  letter-spacing: .014em;
  word-spacing: .055em;
  white-space: nowrap;
  color: #110e12;
}
.verses-front .verse:not(.monument) {
  color: rgb(17 8 7 / 66%);
  -webkit-text-stroke: .45px #f45c6d66;
}
@media (prefers-reduced-motion: reduce) {
  .verses-front .verse:not(.monument) { display: none; }
}
.viewport {
  inset-block: 76px 62px;
  display: grid;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.6svh, 32px);
}
.card-lane {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: clip;
  container-type: size;
}
.card-lane + .card-lane { z-index: 3; }
.card {
  --card-width: min(30vw, 405px);
  --card-limit: max(68px, (100cqh - 52px) * 1.60);
  grid-area: 1 / 1;
  width: min(calc(var(--card-width) * var(--card-scale, 1)), var(--card-limit));
  padding: 5px;
  border: 1px solid #110e12;
  background: #110e12;
  color: var(--site-ivory);
  box-shadow: 5px 5px 0 #110e1270;
  will-change: transform;
}
.card[aria-hidden="true"] { visibility: hidden; }
.film { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #1b1422; }
.film video { width: 100%; height: 100%; display: block; object-fit: cover; }
.film::before, .film::after {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  border: solid #f2e8dc80;
  pointer-events: none;
}
.film::before { top: 6px; left: 6px; border-width: 1px 0 0 1px; }
.film::after { bottom: 6px; right: 6px; border-width: 0 1px 1px 0; }
.scripture-art { z-index: 4; width: 100%; height: 100%; pointer-events: none; }
.scripture-cross {
  fill: #ac2027;
  stroke: #98252a;
  stroke-width: .075;
  paint-order: stroke fill;
  font-family: var(--serif);
  font-weight: 400;
  text-anchor: middle;
}
.scripture-shard-mono {
  font-family: var(--mono);
  font-weight: 600;
}
.ground-type {
  font-family: var(--serif);
}
.field-crosses {
  fill: #27201f;
  font: 650 5px var(--mono);
  text-anchor: middle;
}
.reel-epilogue {
  padding-bottom: clamp(170px, 48svh, 580px);
  background: #efede7;
  text-align: center;
}
.epilogue-words {
  display: block;
  width: 100%;
  height: clamp(380px, 88svh, 1120px);
}
.reel-read-more {
  margin-top: clamp(44px, 8svh, 110px);
  min-height: 44px;
  padding: 0 1.6rem;
  border: 1px solid #211b175c;
  color: #211b17;
  background: #efede7;
  font: 11px/1 var(--mono);
  letter-spacing: .16em;
  white-space: nowrap;
}
.reel-read-more:hover { border-color: currentColor; }
@media (max-width: 640px) {
  .card { --card-width: 54vw; --card-limit: min(64vw, max(68px, (100cqh - 52px) * 1.60)); }
}

@media (max-height: 470px) and (orientation: landscape) {
  .viewport { inset-block: 62px 48px; }
  .card { --card-width: 30vw; --card-limit: max(68px, (100cqh - 45px) * 1.55); }
}
