:root {
  --bg: #0b0b0b;
  --ink: #e8dcc8;
  --muted: rgba(232, 220, 200, 0.55);
  --line: rgba(232, 220, 200, 0.18);
  --gold: #c4a574;
  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Outfit", system-ui, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--sans);
  overflow: hidden;
  cursor: none;
}

body.touch,
body.reduced {
  cursor: auto;
}

.vignette {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 4;
  box-shadow: inset 0 0 180px 40px rgba(0, 0, 0, 0.55);
}

.grain {
  pointer-events: none;
  position: fixed;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  opacity: 0.12;
}

.cursor {
  pointer-events: none;
  position: fixed;
  z-index: 30;
  width: 10px;
  height: 10px;
  margin: -5px 0 0 -5px;
  border-radius: 50%;
  background: var(--gold);
  mix-blend-mode: difference;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.25s ease, height 0.25s ease, margin 0.25s ease;
}

.cursor.is-wide {
  width: 44px;
  height: 44px;
  margin: -22px 0 0 -22px;
  background: transparent;
  border: 1px solid var(--gold);
  mix-blend-mode: normal;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  background: var(--bg);
  animation: intro-out 1.1s 1.6s ease forwards;
}

.intro-kicker,
.intro-word {
  margin: 0;
  text-align: center;
}

.intro-kicker {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.46em;
  text-transform: uppercase;
  color: var(--gold);
  animation: rise 0.9s ease both;
}

.intro-word {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 14vw, 9rem);
  font-weight: 400;
  font-style: italic;
  line-height: 0.85;
  letter-spacing: 0.02em;
  animation: rise 1s 0.18s ease both;
}

.rail {
  position: fixed;
  top: 0;
  bottom: 0;
  z-index: 6;
  width: 42px;
  overflow: hidden;
  color: var(--muted);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.rail-left {
  left: 0;
  border-right: 1px solid var(--line);
}

.rail-right {
  right: 0;
  border-left: 1px solid var(--line);
}

.rail-track {
  display: flex;
  width: max-content;
  white-space: nowrap;
  transform-origin: 0 0;
  transform: rotate(-90deg) translateX(-100%);
  animation: marquee 28s linear infinite;
}

.rail-track.reverse {
  animation-direction: reverse;
}

.rail-track span {
  padding: 0 12px;
}

.top,
.foot {
  position: fixed;
  left: 64px;
  right: 64px;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.top {
  top: 28px;
}

.foot {
  bottom: 28px;
  justify-content: center;
  color: var(--muted);
}

.mark {
  font-family: var(--serif);
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: none;
  font-size: 1.05rem;
}

.year {
  color: var(--gold);
}

.stage {
  position: relative;
  z-index: 7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 96px 72px;
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  font-size: 0.68rem;
  letter-spacing: 0.48em;
  text-transform: uppercase;
  color: var(--gold);
  animation: rise 1s 1.9s ease both;
}

h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(4.2rem, 12vw, 8.4rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: -0.03em;
}

h1 span {
  display: block;
  animation: rise 1.05s 2.05s ease both;
}

h1 span:last-child {
  font-style: italic;
  animation-delay: 2.18s;
}

.rule {
  width: 72px;
  height: 1px;
  margin: 28px 0 22px;
  background: var(--gold);
  animation: rise 1s 2.3s ease both;
}

.lede {
  margin: 0;
  max-width: 28ch;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-style: italic;
  font-weight: 400;
  color: var(--muted);
  animation: rise 1s 2.4s ease both;
}

.monogram {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 42px;
  font-family: var(--serif);
  font-size: 1.15rem;
  letter-spacing: 0.28em;
  color: var(--ink);
  animation: rise 1s 2.55s ease both;
}

.monogram i {
  display: block;
  width: 28px;
  height: 1px;
  background: var(--line);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes intro-out {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes marquee {
  from {
    transform: rotate(-90deg) translateX(-100%);
  }
  to {
    transform: rotate(-90deg) translateX(0);
  }
}

@media (max-width: 720px) {
  body {
    overflow: auto;
  }

  .rail {
    display: none;
  }

  .top,
  .foot {
    left: 22px;
    right: 22px;
  }

  .stage {
    padding: 110px 24px 96px;
  }

  .lede {
    font-size: 1.15rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .intro,
  .intro-kicker,
  .intro-word,
  .eyebrow,
  h1 span,
  .rule,
  .lede,
  .monogram,
  .rail-track {
    animation: none;
  }

  .intro {
    display: none;
  }
}
