@charset "UTF-8";

:root {
  color-scheme: dark;
  --ink: #e9e3d7;
  --muted: #a09a8d;
  --soft-muted: #716c62;
  --night: #11100f;
  --surface: #181715;
  --surface-raised: #211f1b;
  --line: rgba(233, 227, 215, 0.13);
  --moss: #c9d09b;
  --rust: #c8583d;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
  --page-width: 1360px;
  font-family: var(--sans);
  background: var(--night);
  color: var(--ink);
  scroll-behavior: smooth;
  scroll-padding-top: 32px;
}

* {
  box-sizing: border-box;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(ellipse at 84% 10%, rgba(87, 63, 43, 0.16), transparent 32rem),
    radial-gradient(ellipse at 6% 42%, rgba(47, 57, 48, 0.13), transparent 37rem),
    var(--night);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  z-index: 70;
  pointer-events: none;
  inset: 0;
  content: "";
  opacity: 0.09;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
  font: inherit;
}

a {
  color: inherit;
}

button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--moss);
  outline-offset: 5px;
}

::selection {
  color: var(--night);
  background: var(--moss);
}

.screen-reader-only,
.skip-link:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  z-index: 120;
  top: 12px;
  left: 12px;
  padding: 12px 16px;
  color: var(--night);
  background: var(--moss);
  text-decoration: none;
}

.top-rule {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: rgba(233, 227, 215, 0.08);
}

.top-rule span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--moss);
  box-shadow: 0 0 12px rgba(201, 208, 155, 0.7);
}

.page-shell {
  position: relative;
  z-index: 2;
  width: min(100% - 80px, var(--page-width));
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 10;
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  text-decoration: none;
}

.wordmark-seal {
  display: grid;
  width: 37px;
  height: 37px;
  place-items: center;
  color: var(--moss);
}

.wordmark-seal svg {
  width: 100%;
  height: 100%;
}

.wordmark-type {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.19em;
}

.wordmark-type span {
  margin-left: 3px;
  color: var(--rust);
}

.main-nav {
  display: flex;
  gap: clamp(28px, 5vw, 76px);
  align-items: center;
  margin-left: auto;
  margin-right: clamp(30px, 5vw, 78px);
}

.main-nav a,
.motion-toggle {
  color: var(--muted);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--ink);
}

.main-nav a span {
  margin-left: 6px;
  color: var(--soft-muted);
  font-size: 8px;
}

.motion-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  gap: 9px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  white-space: nowrap;
}

.motion-toggle:hover {
  color: var(--ink);
}

.motion-dot,
.live-dot {
  width: 6px;
  height: 6px;
  flex: 0 0 6px;
  border-radius: 50%;
  background: var(--moss);
  box-shadow: 0 0 12px rgba(201, 208, 155, 0.68);
}

[data-motion="paused"] .motion-dot {
  background: var(--rust);
  box-shadow: 0 0 10px rgba(200, 88, 61, 0.55);
}

.hero {
  display: grid;
  min-height: min(780px, calc(100svh - 92px));
  grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
  align-items: center;
  gap: clamp(42px, 6.4vw, 94px);
  padding-block: clamp(72px, 8.6vw, 128px) clamp(76px, 8vw, 112px);
}

.hero-copy {
  padding-block: 10px 22px;
  transform: translate3d(0, var(--scroll-parallax, 0px), 0);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--moss);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.15em;
  line-height: 1.6;
  text-transform: uppercase;
}

.eyebrow-line {
  width: 22px;
  height: 1px;
  flex: 0 0 22px;
  background: var(--rust);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  font-weight: 400;
}

h1 {
  max-width: 670px;
  margin: 29px 0 25px -5px;
  font-family: var(--serif);
  font-size: clamp(70px, 8.45vw, 132px);
  letter-spacing: -0.075em;
  line-height: 0.86;
}

h1 em,
h2 em {
  color: var(--moss);
  font-weight: 400;
}

.hero-description {
  max-width: 375px;
  margin: 0 0 30px;
  color: #b0a99e;
  font-size: 15px;
  line-height: 1.8;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 0 18px;
  border: 1px solid transparent;
  border-radius: 1px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-decoration: none;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #171711;
  background: var(--moss);
}

.button-primary:hover {
  background: #dce3b0;
}

.button-mark {
  font-size: 14px;
}

.button-arrow {
  margin-left: 4px;
  font-size: 15px;
  transition: transform 180ms ease;
}

.button:hover .button-arrow {
  transform: translate(2px, -2px);
}

.hero-note {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: clamp(50px, 7vw, 102px);
}

.note-icon {
  margin-top: 1px;
  color: var(--rust);
  font-size: 20px;
  line-height: 1;
}

.hero-note p {
  margin: 0;
  color: #c5beb1;
  font-family: var(--serif);
  font-size: 13px;
  line-height: 1.5;
}

.hero-note p span {
  color: var(--soft-muted);
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.035em;
}

.hero-art-wrap {
  position: relative;
  width: 100%;
  max-width: 770px;
  justify-self: end;
  transform: translate3d(0, var(--scroll-parallax, 0px), 0);
}

.art-topline,
.art-bottomline {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--soft-muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.11em;
}

.art-topline {
  min-height: 31px;
  align-items: flex-start;
}

.art-topline > span:first-child {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
}

.live-dot {
  width: 5px;
  height: 5px;
  flex-basis: 5px;
  background: var(--rust);
  box-shadow: 0 0 8px rgba(200, 88, 61, 0.72);
  animation: signal-pulse 2.8s ease-in-out infinite;
}

.scene-card {
  position: relative;
  aspect-ratio: 1.29 / 1;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(233, 227, 215, 0.16);
  background: #242521;
  box-shadow: 0 28px 100px rgba(0, 0, 0, 0.34);
  isolation: isolate;
}

.scene-card::before,
.scene-card::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  inset: 0;
  content: "";
}

.scene-card::before {
  background: linear-gradient(180deg, rgba(11, 12, 12, 0.12), transparent 25%, transparent 56%, rgba(13, 13, 12, 0.53));
}

.scene-card::after {
  inset: 9px;
  border: 1px solid rgba(233, 227, 215, 0.17);
}

.scene-illustration,
.scene-illustration svg {
  display: block;
  width: 100%;
  height: 100%;
}

.scene-illustration svg {
  object-fit: cover;
}

.scene-illustration .fog-drift-a {
  animation: fog-drift 24s ease-in-out infinite alternate;
}

.scene-illustration .fog-drift-b {
  animation: fog-drift 31s ease-in-out -12s infinite alternate-reverse;
}

.scene-illustration .lit-window {
  animation: window-flicker 8s ease-in-out infinite;
}

.scene-stamp {
  position: absolute;
  z-index: 2;
  top: 25px;
  right: 25px;
  display: grid;
  width: 44px;
  height: 55px;
  place-content: center;
  border: 1px solid rgba(233, 227, 215, 0.38);
  color: rgba(233, 227, 215, 0.81);
  font-family: var(--serif);
  font-size: 13px;
  line-height: 0.92;
  text-align: center;
  transform: rotate(5deg);
}

.scene-caption {
  position: absolute;
  z-index: 2;
  right: 25px;
  bottom: 23px;
  left: 25px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
}

.caption-label {
  color: var(--moss);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.16em;
}

.caption-title {
  max-width: 300px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(15px, 1.7vw, 23px);
  line-height: 1.1;
  text-align: right;
}

.art-bottomline {
  padding-top: 12px;
  font-size: 7px;
}

.scene-card.is-changing .scene-illustration,
.scene-card.is-changing .scene-caption {
  opacity: 0.22;
  transform: translateY(5px);
}

.scene-illustration,
.scene-caption {
  transition: opacity 230ms ease, transform 230ms ease;
}

.ticker {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(233, 227, 215, 0.018);
}

.ticker-track {
  display: flex;
  width: max-content;
  min-height: 53px;
  align-items: center;
  gap: 34px;
  animation: ticker-roll 46s linear infinite;
  color: #b8b1a5;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.ticker-track i {
  color: var(--rust);
  font-size: 12px;
  font-style: normal;
}

.section-pad {
  padding-block: clamp(100px, 12vw, 170px);
}

.archive-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
  margin-bottom: 58px;
}

.archive-heading h2,
.about-copy h2,
.contribute-heading h2 {
  margin: 26px 0 0 -3px;
  font-family: var(--serif);
  font-size: clamp(46px, 6.5vw, 88px);
  letter-spacing: -0.065em;
  line-height: 0.94;
}

.archive-aside {
  max-width: 230px;
  margin: 0 5% 6px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.story-card {
  position: relative;
  display: grid;
  min-height: 330px;
  grid-template-columns: minmax(120px, 0.25fr) minmax(0, 1fr) minmax(70px, 0.18fr);
  overflow: hidden;
  border-top: 1px solid rgba(233, 227, 215, 0.24);
  border-bottom: 1px solid rgba(233, 227, 215, 0.24);
  background: linear-gradient(100deg, rgba(201, 208, 155, 0.035), transparent 35%);
  transition: background-color 180ms ease;
}

.story-index {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 38px 24px 26px 0;
  border-right: 1px solid var(--line);
}

.index-label,
.index-note,
.story-meta,
.story-corner-note,
.contribution-number,
.about-coordinates {
  color: var(--soft-muted);
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.index-number {
  margin: 20px 0 16px -4px;
  color: var(--moss);
  font-family: var(--serif);
  font-size: clamp(49px, 6vw, 72px);
  letter-spacing: -0.08em;
  line-height: 1;
}

.index-rule {
  width: 26px;
  height: 1px;
  margin: 0 0 14px;
  background: var(--rust);
}

.index-note {
  font-size: 7px;
  line-height: 1.7;
}

.index-seal {
  margin-top: auto;
  color: rgba(200, 88, 61, 0.64);
  font-size: 22px;
}

.story-content {
  align-self: center;
  padding: 42px clamp(26px, 5vw, 72px);
  transition: opacity 230ms ease, transform 230ms ease;
}

.story-card.is-changing .story-content {
  opacity: 0.2;
  transform: translateY(5px);
}

.story-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.meta-divider {
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: var(--rust);
}

.story-content h3 {
  margin: 21px 0 16px;
  font-family: var(--serif);
  font-size: clamp(32px, 4.5vw, 55px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 1;
}

.story-copy {
  max-width: 670px;
  margin-bottom: 24px;
  color: #b5aea1;
  font-family: var(--serif);
  font-size: clamp(15px, 1.5vw, 18px);
  line-height: 1.8;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 24px;
}

.story-actions .button {
  min-height: 47px;
}

.button-quiet {
  min-height: 43px;
  padding-inline: 4px;
  color: var(--muted);
  background: transparent;
}

.button-quiet:hover {
  color: var(--moss);
}

.story-corner-note {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 40px 0 34px;
  border-left: 1px solid var(--line);
  text-align: right;
}

.story-corner-note span:last-child {
  padding-right: 1px;
  color: rgba(200, 88, 61, 0.72);
  font-size: 7px;
  line-height: 1.6;
}

.about-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr);
  align-items: center;
  gap: clamp(70px, 11vw, 160px);
  border-top: 1px solid var(--line);
}

.about-art {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(233, 227, 215, 0.14);
  background:
    radial-gradient(circle at 58% 31%, rgba(201, 208, 155, 0.1), transparent 25%),
    linear-gradient(170deg, #1e211d 0%, #181b18 58%, #111312 100%);
  isolation: isolate;
}

.about-art::before,
.about-art::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.about-art::before {
  z-index: 4;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 5px, rgba(233, 227, 215, 0.017) 6px);
}

.about-art::after {
  z-index: 5;
  inset: 10px;
  border: 1px solid rgba(233, 227, 215, 0.16);
}

.about-moon {
  position: absolute;
  top: 15%;
  left: 48%;
  width: 112px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #b9bd9c;
  box-shadow: 0 0 65px rgba(201, 208, 155, 0.23), inset -16px -8px 0 rgba(64, 67, 54, 0.34);
}

.about-moon::after {
  position: absolute;
  top: 32%;
  left: 22%;
  width: 14px;
  height: 11px;
  border-radius: 50%;
  background: rgba(76, 78, 63, 0.2);
  box-shadow: 29px 35px 0 -2px rgba(76, 78, 63, 0.16), 50px -7px 0 -4px rgba(76, 78, 63, 0.15);
  content: "";
}

.about-tree {
  position: absolute;
  z-index: 2;
  bottom: 0;
  width: 66%;
  height: 94%;
  background: #0d100f;
  filter: drop-shadow(0 0 12px rgba(0, 0, 0, 0.3));
}

.about-tree-left {
  left: -26%;
  clip-path: polygon(41% 0, 48% 17%, 63% 18%, 49% 23%, 74% 37%, 52% 31%, 68% 52%, 47% 43%, 56% 65%, 43% 52%, 49% 100%, 24% 100%, 34% 51%, 20% 65%, 30% 42%, 4% 53%, 24% 34%, 0 37%, 30% 22%, 12% 21%, 32% 16%);
}

.about-tree-right {
  right: -26%;
  width: 74%;
  height: 100%;
  transform: scaleX(-1) rotate(2deg);
  clip-path: polygon(41% 0, 48% 17%, 63% 18%, 49% 23%, 74% 37%, 52% 31%, 68% 52%, 47% 43%, 56% 65%, 43% 52%, 49% 100%, 24% 100%, 34% 51%, 20% 65%, 30% 42%, 4% 53%, 24% 34%, 0 37%, 30% 22%, 12% 21%, 32% 16%);
}

.about-figure {
  position: absolute;
  z-index: 3;
  bottom: -4px;
  left: 53%;
  width: 52px;
  height: 149px;
  transform: translateX(-50%);
}

.about-figure span {
  position: absolute;
  top: 0;
  left: 13px;
  width: 25px;
  height: 32px;
  border-radius: 50% 50% 40% 40%;
  background: #0b0d0c;
}

.about-figure span::before,
.about-figure span::after {
  position: absolute;
  bottom: -5px;
  width: 10px;
  height: 15px;
  background: #0b0d0c;
  content: "";
}

.about-figure span::before {
  left: 0;
  transform: rotate(-26deg);
}

.about-figure span::after {
  right: 0;
  transform: rotate(26deg);
}

.about-figure i {
  position: absolute;
  top: 24px;
  left: 0;
  width: 52px;
  height: 112px;
  background: #0b0d0c;
  clip-path: polygon(27% 0, 73% 0, 100% 100%, 59% 88%, 50% 100%, 39% 88%, 0 100%);
}

.about-coordinates {
  position: absolute;
  z-index: 6;
  bottom: 27px;
  left: 28px;
  color: rgba(233, 227, 215, 0.7);
}

.about-art-stamp {
  position: absolute;
  z-index: 6;
  top: 25px;
  right: 25px;
  color: rgba(233, 227, 215, 0.64);
  font-family: var(--serif);
  font-size: 14px;
  line-height: 0.9;
  text-align: center;
}

.about-copy {
  max-width: 470px;
}

.about-copy h2 {
  margin-bottom: 28px;
}

.about-copy > p:not(.eyebrow) {
  color: #aaa397;
  font-size: 13px;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 17px;
  padding-bottom: 9px;
  border-bottom: 1px solid rgba(201, 208, 155, 0.48);
  color: var(--moss);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: gap 180ms ease;
}

.text-link:hover {
  gap: 24px;
}

.contribute-section {
  border-top: 1px solid var(--line);
}

.contribute-heading h2 {
  margin-top: 26px;
}

.contribute-title-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
}

.contribute-title-row > p {
  max-width: 260px;
  margin: 0 4% 9px 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.contribution-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
  margin-top: 55px;
}

.contribution-card {
  position: relative;
  min-height: 214px;
  overflow: hidden;
  padding: 25px 24px 27px;
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(233, 227, 215, 0.035), rgba(233, 227, 215, 0.006));
  transition: border-color 200ms ease, background 200ms ease, transform 200ms ease;
}

.contribution-card:hover {
  transform: translateY(-4px);
  border-color: rgba(201, 208, 155, 0.4);
  background: linear-gradient(145deg, rgba(201, 208, 155, 0.07), rgba(233, 227, 215, 0.008));
}

.contribution-number {
  color: var(--rust);
}

.contribution-card h3 {
  margin: 23px 0 9px;
  font-family: var(--serif);
  font-size: 27px;
  font-weight: 400;
  letter-spacing: -0.035em;
}

.contribution-card p {
  max-width: 245px;
  margin: 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.75;
}

.contribution-ghost {
  position: absolute;
  right: 19px;
  bottom: 3px;
  color: rgba(201, 208, 155, 0.11);
  font-family: var(--serif);
  font-size: 83px;
  line-height: 1;
  transition: color 200ms ease, transform 200ms ease;
}

.contribution-card:hover .contribution-ghost {
  color: rgba(201, 208, 155, 0.22);
  transform: rotate(-10deg) scale(1.08);
}

.contribute-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 25px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.contribute-foot p {
  margin: 0;
  color: var(--soft-muted);
  font-family: var(--serif);
  font-size: 14px;
  font-style: italic;
}

.button-outline {
  min-height: 44px;
  border-color: rgba(233, 227, 215, 0.25);
  color: var(--ink);
  background: transparent;
  font-size: 10px;
}

.button-outline:hover {
  border-color: var(--moss);
  color: var(--moss);
}

.site-footer {
  display: grid;
  min-height: 140px;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: center;
  gap: 16px;
  border-top: 1px solid var(--line);
}

.footer-wordmark .wordmark-seal {
  width: 33px;
  height: 33px;
  border: 1px solid rgba(201, 208, 155, 0.45);
  font-family: var(--serif);
  font-size: 18px;
}

.site-footer > p {
  justify-self: center;
  margin: 0;
  color: var(--soft-muted);
  font-family: var(--serif);
  font-size: 13px;
  font-style: italic;
}

.footer-top {
  justify-self: end;
  color: var(--muted);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.06em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 160ms ease;
}

.footer-top:hover {
  color: var(--moss);
}

.footer-top span {
  margin-left: 7px;
  color: var(--rust);
}

.footer-copyright {
  grid-column: 1 / -1;
  justify-self: center;
  align-self: start;
  margin-top: -24px;
  color: #615d55;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.13em;
}

.hauntings {
  position: fixed;
  z-index: 3;
  pointer-events: none;
  inset: 0;
  overflow: hidden;
}

.vampire-sightings {
  position: fixed;
  z-index: 8;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.vampire-sighting {
  position: absolute;
  margin: 0;
  padding: 7px;
  border: 1px solid rgba(224, 214, 190, 0.6);
  background: rgba(18, 16, 14, 0.88);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.56), 0 0 24px rgba(144, 46, 34, 0.16);
  opacity: 0;
  animation: vampire-sighting-emerge 3.2s cubic-bezier(0.18, 0.66, 0.26, 1) both;
}

.vampire-sighting img {
  display: block;
  width: 100%;
  max-height: min(34vh, 360px);
  object-fit: cover;
  border: 1px solid rgba(233, 227, 215, 0.2);
  filter: grayscale(0.92) sepia(0.16) contrast(1.14);
}

.vampire-sighting figcaption {
  padding: 7px 3px 1px;
  color: #c9d09b;
  font-family: var(--mono);
  font-size: 7px;
  letter-spacing: 0.12em;
  text-align: center;
}

.vampire-sighting--shadow {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.vampire-sighting--shadow img {
  max-height: min(38vh, 380px);
  object-fit: contain;
  border: 0;
  filter: invert(1) sepia(0.18) saturate(1.4) hue-rotate(320deg) drop-shadow(0 0 18px rgba(200, 88, 61, 0.55));
  mix-blend-mode: screen;
}

.vampire-sighting--shadow figcaption {
  text-shadow: 0 1px 6px #11100f;
}

.bat-crossing {
  position: absolute;
  top: 13vh;
  left: -110px;
  width: 48px;
  color: #191713;
  opacity: 0.78;
  animation: bat-cross 32s linear 5s infinite;
}

.bat-crossing svg {
  display: block;
  width: 100%;
  filter: drop-shadow(0 3px 2px rgba(0, 0, 0, 0.3));
}

.vampire-crossing {
  position: absolute;
  top: 28vh;
  right: -170px;
  width: 93px;
  color: #151310;
  opacity: 0.92;
  animation: vampire-glide 39s linear 13s infinite;
}

.vampire-crossing svg {
  display: block;
  width: 100%;
  overflow: visible;
  filter: drop-shadow(0 5px 7px rgba(0, 0, 0, 0.46));
  animation: vampire-hover 2.2s ease-in-out infinite;
}

.pumpkin-crossing {
  position: absolute;
  bottom: -2px;
  left: -102px;
  width: 65px;
  color: #bc5c37;
  opacity: 0.8;
  animation: pumpkin-roll 41s linear 3s infinite;
}

.pumpkin-crossing svg {
  display: block;
  width: 100%;
  filter: drop-shadow(0 -4px 10px rgba(160, 75, 45, 0.12));
}

.pumpkin-crossing-two {
  right: -100px;
  left: auto;
  width: 46px;
  color: #80694b;
  opacity: 0.63;
  animation-name: pumpkin-return;
  animation-duration: 52s;
  animation-delay: 20s;
}

.spider-drop {
  position: fixed;
  z-index: 90;
  top: 0;
  right: clamp(28px, 10vw, 150px);
  display: grid;
  width: 58px;
  justify-items: center;
  pointer-events: none;
  transform: translateY(-135px);
  animation: spider-descend 2.4s cubic-bezier(0.2, 0.72, 0.28, 1) 1.4s forwards;
}

.spider-thread {
  display: block;
  width: 1px;
  height: clamp(72px, 14vh, 132px);
  background: linear-gradient(rgba(221, 218, 205, 0.18), rgba(221, 218, 205, 0.65));
  box-shadow: 0 0 2px rgba(233, 227, 215, 0.2);
}

.spider {
  width: 50px;
  margin-top: -2px;
  transform-origin: 50% 18%;
  animation: spider-sway 5.2s ease-in-out 3.9s infinite;
  filter: drop-shadow(2px 4px 3px rgba(0, 0, 0, 0.45));
}

.js-ready .reveal-on-scroll {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 780ms ease, transform 780ms cubic-bezier(0.18, 0.64, 0.26, 1);
}

.js-ready .reveal-on-scroll.is-in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes ticker-roll {
  to { transform: translateX(-50%); }
}

@keyframes vampire-sighting-emerge {
  0% {
    opacity: 0;
    filter: blur(5px);
    transform: translate3d(0, 15px, 0) scale(0.84) rotate(var(--sighting-tilt));
  }

  13%, 74% {
    opacity: 1;
    filter: blur(0);
    transform: translate3d(0, 0, 0) scale(1) rotate(var(--sighting-tilt));
  }

  100% {
    opacity: 0;
    filter: blur(3px);
    transform: translate3d(0, -12px, 0) scale(1.06) rotate(var(--sighting-tilt));
  }
}

@keyframes signal-pulse {
  0%, 100% { opacity: 0.9; }
  50% { opacity: 0.42; }
}

@keyframes fog-drift {
  from { transform: translateX(-1.8%); opacity: 0.42; }
  to { transform: translateX(2.8%); opacity: 0.67; }
}

@keyframes window-flicker {
  0%, 17%, 22%, 61%, 65%, 100% { opacity: 1; }
  19%, 63% { opacity: 0.42; }
}

@keyframes bat-cross {
  0% { transform: translate(-4vw, 0) scale(0.7); }
  12% { transform: translate(14vw, 24px) scale(0.84); }
  46% { transform: translate(54vw, -10px) scale(1); }
  78% { transform: translate(95vw, 14px) scale(0.9); }
  100% { transform: translate(125vw, -8px) scale(0.72); }
}

@keyframes vampire-glide {
  0% { transform: translateX(0) translateY(0) rotate(1deg); }
  22% { transform: translateX(-22vw) translateY(-20px) rotate(-3deg); }
  53% { transform: translateX(-53vw) translateY(15px) rotate(2deg); }
  81% { transform: translateX(-84vw) translateY(-11px) rotate(-2deg); }
  100% { transform: translateX(calc(-100vw - 220px)) translateY(8px) rotate(1deg); }
}

@keyframes vampire-hover {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-5px) rotate(1.5deg); }
}

@keyframes pumpkin-roll {
  0% { transform: translateX(-3vw) rotate(0); }
  100% { transform: translateX(calc(100vw + 130px)) rotate(740deg); }
}

@keyframes pumpkin-return {
  0% { transform: translateX(4vw) rotate(0); }
  100% { transform: translateX(calc(-100vw - 130px)) rotate(-650deg); }
}

@keyframes spider-descend {
  0% { transform: translateY(-135px); }
  66% { transform: translateY(clamp(72px, 14vh, 132px)); }
  79% { transform: translateY(clamp(61px, 12vh, 116px)); }
  90% { transform: translateY(clamp(78px, 15vh, 142px)); }
  100% { transform: translateY(clamp(72px, 14vh, 132px)); }
}

@keyframes spider-sway {
  0%, 100% { transform: rotate(-3deg); }
  50% { transform: rotate(4deg); }
}

@media (max-width: 1050px) {
  .page-shell {
    width: min(100% - 54px, var(--page-width));
  }

  .hero {
    grid-template-columns: minmax(270px, 0.76fr) minmax(0, 1.24fr);
    gap: 36px;
  }

  h1 {
    font-size: clamp(66px, 8.5vw, 92px);
  }

  .story-card {
    grid-template-columns: 112px minmax(0, 1fr) 62px;
  }

  .about-section {
    gap: 65px;
  }
}

@media (max-width: 760px) {
  .page-shell {
    width: min(100% - 40px, var(--page-width));
  }

  .site-header {
    min-height: 76px;
  }

  .wordmark-seal {
    width: 32px;
    height: 32px;
  }

  .main-nav {
    gap: 0;
    margin-right: 20px;
  }

  .main-nav a {
    display: none;
  }

  .main-nav a[href="#archive"] {
    display: inline;
    font-size: 9px;
  }

  .main-nav a span {
    display: none;
  }

  .motion-toggle {
    font-size: 8px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 52px;
    padding-block: 82px 70px;
  }

  .hero-copy {
    padding: 0;
  }

  h1 {
    margin-top: 24px;
    margin-bottom: 22px;
    font-size: clamp(72px, 16vw, 118px);
  }

  .hero-description {
    max-width: 390px;
    font-size: 14px;
  }

  .hero-note {
    margin-top: 34px;
  }

  .hero-art-wrap {
    width: min(100%, 620px);
    justify-self: center;
  }

  .scene-card {
    aspect-ratio: 1.13 / 1;
  }

  .scene-caption {
    right: 20px;
    bottom: 19px;
    left: 20px;
  }

  .section-pad {
    padding-block: 100px;
  }

  .archive-heading {
    display: block;
    margin-bottom: 40px;
  }

  .archive-heading h2,
  .about-copy h2,
  .contribute-heading h2 {
    font-size: clamp(54px, 12vw, 78px);
  }

  .archive-aside {
    max-width: 300px;
    margin: 24px 0 0;
  }

  .story-card {
    grid-template-columns: 75px minmax(0, 1fr);
  }

  .story-index {
    padding: 30px 14px 24px 0;
  }

  .index-label {
    font-size: 7px;
    letter-spacing: 0.05em;
  }

  .index-number {
    font-size: 46px;
  }

  .story-content {
    padding: 34px 0 34px 23px;
  }

  .story-content h3 {
    font-size: clamp(31px, 7.5vw, 48px);
  }

  .story-copy {
    font-size: 15px;
  }

  .story-corner-note {
    display: none;
  }

  .about-section {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .about-art {
    min-height: clamp(340px, 88vw, 480px);
  }

  .about-copy {
    max-width: 570px;
  }

  .contribute-title-row {
    display: block;
  }

  .contribute-title-row > p {
    max-width: 330px;
    margin: 24px 0 0;
  }

  .contribution-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 39px;
  }

  .contribution-card {
    min-height: 170px;
  }

  .contribution-card h3 {
    margin-top: 17px;
  }

  .contribute-foot {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer {
    min-height: 174px;
    grid-template-columns: 1fr auto;
    padding-block: 20px 4px;
  }

  .site-footer > p {
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: start;
  }

  .footer-top {
    grid-column: 2;
    grid-row: 1;
  }

  .footer-copyright {
    grid-row: 3;
    justify-self: start;
    margin-top: 4px;
  }

  .bat-crossing {
    top: 9vh;
    width: 38px;
  }

  .pumpkin-crossing {
    width: 51px;
  }

  .pumpkin-crossing-two {
    width: 38px;
  }

  .spider-drop {
    right: 11vw;
  }
}

@media (max-width: 430px) {
  .page-shell {
    width: min(100% - 32px, var(--page-width));
  }

  .wordmark {
    gap: 8px;
  }

  .wordmark-type {
    font-size: 10px;
  }

  .main-nav {
    margin-right: 13px;
  }

  .main-nav a[href="#archive"] {
    font-size: 8px;
  }

  .motion-toggle {
    gap: 6px;
    font-size: 7px;
  }

  .hero {
    gap: 45px;
    padding-top: 64px;
  }

  h1 {
    font-size: clamp(64px, 16vw, 82px);
  }

  .art-topline,
  .art-bottomline {
    font-size: 6px;
  }

  .art-bottomline span:first-child {
    display: none;
  }

  .scene-stamp {
    top: 18px;
    right: 19px;
    width: 36px;
    height: 46px;
    font-size: 11px;
  }

  .caption-label {
    max-width: 78px;
    font-size: 6px;
  }

  .caption-title {
    max-width: 195px;
    font-size: 16px;
  }

  .story-card {
    grid-template-columns: 57px minmax(0, 1fr);
  }

  .story-index {
    padding-right: 9px;
  }

  .index-label {
    font-size: 6px;
  }

  .index-number {
    font-size: 36px;
  }

  .story-content {
    padding-left: 17px;
  }

  .story-meta {
    flex-wrap: wrap;
    gap: 8px;
    font-size: 7px;
  }

  .story-content h3 {
    font-size: 32px;
  }

  .story-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }

  .story-actions .button-primary {
    padding-inline: 12px;
    font-size: 9px;
  }

  .about-art {
    min-height: 320px;
  }

  .about-moon {
    width: 86px;
  }
}

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

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

  .hauntings,
  .spider-drop,
  .vampire-sightings {
    display: none;
  }

  .hero-copy,
  .hero-art-wrap {
    transform: none;
  }
}

[data-motion="paused"] *,
[data-motion="paused"] *::before,
[data-motion="paused"] *::after {
  animation-play-state: paused !important;
}
