/* Eldritch Lands teaser (eldritchlands.com). Brand vectors and graded flythrough media live in /teaser-assets
   (sources: ArtSource/Branding/Web); fonts and Lampblack Ledger sprites come from the main site. */

@font-face {
  font-family: "Eldritch Display";
  src: url("/eldritch-lands/assets/fonts/eldritch-display.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

@font-face {
  font-family: "Eldritch Sans";
  src: url("/eldritch-lands/assets/fonts/eldritch-sans.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --night: #0b0907;
  --ink: #16120f;
  --line: #3a3027;
  --bone: #e8dcc2;
  --bone-dim: #a89a80;
  --brass: #e2b864;
  --display: "Eldritch Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Eldritch Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-wake: cubic-bezier(.45, 0, .2, 1);
  --cut: 10px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--night);
  color: var(--bone);
  font: 400 17px/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: url("/eldritch-lands/assets/ui/grain.png");
  opacity: .45;
  mix-blend-mode: overlay;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.08;
  text-wrap: balance;
}

h2 {
  font-size: clamp(40px, 6vw, 84px);
  letter-spacing: -.012em;
}

h3 {
  font-size: clamp(32px, 3.4vw, 50px);
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: var(--brass);
  text-underline-offset: 3px;
}

:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 3px;
}

::selection {
  background: rgba(226, 184, 100, .35);
  color: #fff7e8;
}

.skip {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--brass);
  color: var(--ink);
  font-weight: 700;
}

.skip:focus {
  top: 16px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* Buttons: same brass chamfer and iron tile as the main site. */

.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--h);
  padding: 0 26px;
  color: var(--bone);
  font: 700 16px/1 var(--sans);
  text-decoration: none;
  white-space: nowrap;
  isolation: isolate;
  transition: transform .25s var(--ease-out), color .2s;
  -webkit-tap-highlight-color: transparent;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border: 14px solid transparent;
  border-image: url("/eldritch-lands/assets/ui/button_normal.png") 40 fill / 14px stretch;
}

.btn:hover {
  color: #fff3dc;
  transform: translateY(-2px);
}

.btn:hover::before {
  border-image-source: url("/eldritch-lands/assets/ui/button_hover.png");
}

.btn:active {
  transform: translateY(1px);
  transition-duration: .06s;
}

.btn-brass,
.btn-brass:hover {
  color: #1a130c;
}

.btn-brass::before,
.btn-brass:hover::before {
  border: 0;
  border-image: none;
  background:
    linear-gradient(180deg, rgba(255, 244, 214, .5), rgba(255, 244, 214, 0) 45%),
    linear-gradient(180deg, #ecc779, #c9963f 60%, #a77831);
  clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, var(--cut) 100%, 0 calc(100% - var(--cut)), 0 var(--cut));
}

.btn-brass::after {
  content: "";
  position: absolute;
  inset: -12px;
  z-index: -2;
  background: radial-gradient(closest-side, rgba(226, 184, 100, .45), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.btn-brass:hover::after {
  opacity: 1;
}

.btn-large {
  --h: 58px;
  padding: 0 34px;
  font-size: 17px;
}

.btn-small {
  --h: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Top bar */

.bar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px var(--gutter);
  background: linear-gradient(180deg, rgba(11, 9, 7, .8), rgba(11, 9, 7, 0));
  transition: background .4s, box-shadow .4s;
}

.past-wake .bar {
  background: rgba(11, 9, 7, .9);
  box-shadow: 0 1px 0 rgba(58, 48, 39, .8);
}

/* The bell always rings in the corner; the wordmark joins it once the hero title has gone. */
.bar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.bar-bell {
  width: 40px;
  height: 40px;
}

.bar-word {
  width: auto;
  height: 32px;
  opacity: 0;
  transform: translateX(-6px);
  transition: opacity .5s, transform .6s var(--ease-out);
}

.past-wake .bar-word {
  opacity: 1;
  transform: none;
}

.bar-links {
  display: flex;
  align-items: center;
  gap: 20px;
}

.bar-text {
  color: var(--bone);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
}

.bar-text:hover {
  color: var(--brass);
}

/* Wake: the hero. The page opens like eyes in the crypt; the stage stays pinned while you scroll into the dream. */

.wake {
  position: relative;
  height: 100vh;
  height: 100svh;
}

.js .wake {
  height: 175vh;
  height: 175svh;
}

.wake-stage {
  --mx: 0;
  --my: 0;
  --p: 0;
  --lx: 62vw;
  --ly: 52vh;
  --lr: 300px;
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #07090c;
}

.depth {
  --d: 0;
  --rise: 0;
  transform: translate3d(calc(var(--mx) * var(--d) * -1px), calc(var(--my) * var(--d) * -.6px + var(--p) * var(--rise) * 1px), 0);
}

.plate {
  position: absolute;
  inset: -5%;
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.plate.base {
  --d: 18;
  --rise: 140;
}

.plate.base img {
  object-position: 50% 45%;
}

.lantern .plate img {
  object-position: 50% 45%;
}

.lantern {
  position: absolute;
  top: 0;
  left: 0;
  width: calc(var(--lr) * 2);
  height: calc(var(--lr) * 2);
  overflow: hidden;
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .8) 45%, transparent 100%);
  mask-image: radial-gradient(closest-side, #000 0%, rgba(0, 0, 0, .8) 45%, transparent 100%);
  transform: translate3d(calc(var(--lx) - var(--lr)), calc(var(--ly) - var(--lr)), 0);
  opacity: 0;
  animation: fade-in 1.6s ease 1.9s forwards;
}

.lantern-room {
  position: absolute;
  top: 0;
  left: 0;
  width: var(--sw, 100vw);
  height: var(--sh, 100vh);
  transform: translate3d(calc(var(--lr) - var(--lx) + var(--mx) * -18px), calc(var(--lr) - var(--ly) + var(--my) * -10.8px + var(--p) * 140px), 0);
}

.fog {
  position: absolute;
  inset: auto -10% 0;
  height: 70%;
  overflow: hidden;
  pointer-events: none;
  mix-blend-mode: screen;
}

.fog.far {
  --d: 34;
  --rise: 60;
  bottom: 18%;
  opacity: .32;
}

.fog.near {
  --d: 70;
  --rise: -120;
  bottom: -14%;
  opacity: .5;
}

.fog-drift {
  width: 200%;
  height: 100%;
  background: url("/eldritch-lands/assets/ui/fog.webp") 0 100% / 50% 100% repeat-x;
  animation: drift 90s linear infinite;
}

.fog.near .fog-drift {
  animation-duration: 55s;
  animation-direction: reverse;
}

@keyframes drift {
  to {
    transform: translateX(-50%);
  }
}

.wake-shade {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 85% 75% at 50% 46%, transparent 40%, rgba(11, 9, 7, .55) 100%),
    linear-gradient(180deg, rgba(11, 9, 7, .45), transparent 24%, transparent 62%, rgba(11, 9, 7, .9));
}

.wake-center {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: safe center;
  justify-items: center;
  gap: clamp(28px, 5vh, 52px);
  padding: 96px var(--gutter) 120px;
  text-align: center;
}

.title-in {
  display: grid;
  justify-items: center;
  gap: clamp(8px, 1.6vh, 18px);
  width: min(86vw, 780px, 84svh);
  opacity: 0;
  animation: rise-in 1.4s var(--ease-out) 1.35s forwards;
}

.wake-bell {
  --d: -8;
  --rise: -70;
  width: clamp(64px, 11svh, 120px);
  height: auto;
  filter: drop-shadow(0 6px 18px rgba(0, 0, 0, .7));
  opacity: calc(1 - var(--p) * 2.2);
}

.title {
  --d: -14;
  --rise: -40;
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1272 / 400;
  transform: translate3d(calc(var(--mx) * var(--d) * -1px), calc(var(--my) * var(--d) * -.6px + var(--p) * var(--rise) * 1px), 0) scale(calc(1 + var(--p) * .9));
  opacity: calc(1.25 - var(--p) * 1.5);
}

/* The title is the brand wordmark used as a window: cast brass, with the lit town showing through the letters. */
.title-mask,
.title-shadow span {
  position: absolute;
  inset: 0;
  -webkit-mask: url("/teaser-assets/wordmark.svg") center / 100% 100% no-repeat;
  mask: url("/teaser-assets/wordmark.svg") center / 100% 100% no-repeat;
}

.title-mask {
  overflow: hidden;
  background: linear-gradient(180deg, #f6e2ae 0%, var(--brass) 38%, #b88c45 72%, #8a6630 100%);
}

.title-shadow {
  position: absolute;
  inset: 0;
  opacity: .9;
  filter: blur(16px);
  transform: translateY(8px);
}

.title-shadow span {
  background: #000;
}

.title-fill {
  position: absolute;
  inset: -50% -10%;
  width: 120%;
  height: 200%;
  max-width: none;
  object-fit: cover;
  object-position: 55% 40%;
  opacity: .3;
  mix-blend-mode: multiply;
  transform: translate3d(calc(var(--mx) * 46px), calc(var(--my) * 30px + var(--p) * -90px), 0);
}

.wake-copy {
  display: grid;
  justify-items: center;
  gap: 28px;
  transform: translate3d(0, calc(var(--p) * -90px), 0);
  opacity: calc(1 - var(--p) * 2.6);
}

.pitch {
  max-width: 56ch;
  color: #d9ccb0;
  font-size: clamp(17px, 1.5vw, 20px);
  opacity: 0;
  animation: rise-in 1.2s var(--ease-out) 1.75s forwards;
}

.wake-copy .actions {
  justify-content: center;
  opacity: 0;
  animation: rise-in 1.2s var(--ease-out) 2s forwards;
}

.cue {
  position: absolute;
  left: 50%;
  bottom: 22px;
  padding: 8px 4px 30px;
  color: var(--bone-dim);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  translate: -50% 0;
  opacity: 0;
  animation: rise-in 1s ease 2.6s forwards;
}

.cue::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 1px;
  height: 22px;
  background: linear-gradient(var(--brass), transparent);
  transform-origin: top;
  animation: cue 2.4s var(--ease-out) 3s infinite;
}

@keyframes cue {
  0% {
    transform: scaleY(0);
  }

  50% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(1) translateY(22px);
    opacity: 0;
  }
}

@keyframes fade-in {
  to {
    opacity: 1;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: none;
  }
}

.sent {
  position: absolute;
  top: 78px;
  left: 50%;
  z-index: 4;
  width: max-content;
  max-width: calc(100% - 32px);
  padding: 12px 22px 14px;
  border: 14px solid transparent;
  border-image: url("/eldritch-lands/assets/ui/card_selected.png") 40 fill / 14px stretch;
  text-align: center;
  translate: -50% 0;
  opacity: 0;
  animation: rise-in 1s var(--ease-out) 2.2s forwards;
}

.sent p {
  font: 600 22px/1.2 var(--display);
}

.sent strong {
  color: var(--brass);
  font-weight: 600;
}

.sent .sent-note {
  margin-top: 4px;
  color: var(--bone-dim);
  font: 500 14px/1.4 var(--sans);
}

.sent:not([hidden]) + .wake-center {
  padding-top: 196px;
  padding-bottom: 84px;
}

@media (max-height: 820px) {
  .sent:not([hidden]) + .wake-center .wake-bell {
    display: none;
  }
}

.wake-veil {
  position: absolute;
  inset: 0;
  background: var(--night);
  opacity: calc((var(--p) - .35) * 1.6);
  pointer-events: none;
}

/* Eyelids: two shapes of night with a soft concave edge that part, blink, then open. CSS only, so they never stick. */
.lid {
  position: absolute;
  left: -6%;
  right: -6%;
  height: 64%;
  z-index: 5;
  pointer-events: none;
}

.lid-top {
  top: 0;
  background: radial-gradient(ellipse 58% 18% at 50% 100%, transparent 82%, var(--night) 100%);
  animation: lid-top 2.4s var(--ease-wake) .25s forwards;
}

.lid-bottom {
  bottom: 0;
  background: radial-gradient(ellipse 58% 18% at 50% 0%, transparent 82%, var(--night) 100%);
  animation: lid-bottom 2.4s var(--ease-wake) .25s forwards;
}

@keyframes lid-top {
  0% {
    transform: translateY(0);
  }

  28% {
    transform: translateY(-24%);
  }

  40% {
    transform: translateY(-15%);
  }

  100% {
    transform: translateY(-104%);
  }
}

@keyframes lid-bottom {
  0% {
    transform: translateY(0);
  }

  28% {
    transform: translateY(24%);
  }

  40% {
    transform: translateY(15%);
  }

  100% {
    transform: translateY(104%);
  }
}

/* Glimpses: each place is seen only through a shape cut from the Sleeping Bell. Shapes stay fixed; only transform and opacity move. */

.lands {
  position: relative;
  padding: clamp(96px, 14vh, 160px) var(--gutter) clamp(60px, 10vh, 120px);
  max-width: 1360px;
  margin: 0 auto;
}

.lands-head {
  max-width: 760px;
}

.lands-head p {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--bone-dim);
  font-size: 18px;
}

.glimpse {
  --p: .5;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: clamp(16px, 2.4vw, 36px);
  align-items: center;
  margin: clamp(80px, 14vh, 180px) 0 0;
}

.caption {
  padding-bottom: 8px;
}

.caption .line {
  max-width: 34ch;
  margin-top: 16px;
  color: var(--bone-dim);
  font-size: 18px;
}

/* A name that exists but is not given yet: each hidden letter is a dim diamond, like the sleeping ones on the dial. */
.sealed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .16em .5em;
  color: var(--bone-dim);
  font: 600 clamp(30px, 3.2vw, 46px)/1.1 var(--display);
}

.sealed-word {
  display: flex;
  gap: .12em;
}

.sealed-word i {
  width: .42em;
  height: .62em;
  background: rgba(232, 220, 194, .2);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
}

.js .caption > * {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform 1s var(--ease-out);
}

.js .caption .line {
  transition-delay: .15s;
}

.js .glimpse.seen .caption > * {
  opacity: 1;
  transform: none;
}

video.loop {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.eye-window video {
  filter: brightness(1.15);
}

.bell-window video {
  filter: brightness(1.35) contrast(1.05);
}

/* The eye: lids part as you scroll and the place shows between them. */
.eye {
  --open: clamp(0, calc((var(--p) - .16) * 3.4), 1);
  position: relative;
  grid-column: 1 / 9;
  aspect-ratio: 1000 / 640;
}

.eye-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: var(--ink);
  -webkit-mask: url("/teaser-assets/window-eye.svg") center / 100% 100% no-repeat;
  mask: url("/teaser-assets/window-eye.svg") center / 100% 100% no-repeat;
}

.eye-window video {
  transform: translate3d(calc((var(--p) - .5) * -4%), 0, 0) scale(1.08);
}

.eye-lid {
  position: absolute;
  left: 0;
  right: 0;
  height: 62%;
  display: none;
}

.js .eye-lid {
  display: block;
}

.eye-lid-top {
  top: 0;
  background: radial-gradient(ellipse 60% 18% at 50% 100%, transparent 80%, var(--night) 100%);
  transform: translateY(calc(var(--open) * -100%));
}

.eye-lid-bottom {
  bottom: 0;
  background: radial-gradient(ellipse 60% 18% at 50% 0%, transparent 80%, var(--night) 100%);
  transform: translateY(calc(var(--open) * 100%));
}

.eye-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.glimpse-eye .caption {
  grid-column: 9 / 13;
}

/* The bell: the mark itself, cast in brass, whose body turns into a window once it is seen. */
.bell {
  position: relative;
  grid-column: 6 / 12;
  grid-row: 1;
  width: 100%;
  max-width: 620px;
  justify-self: center;
  aspect-ratio: 1;
  transform-origin: 50% 12%;
  transform: rotate(calc((var(--p) - .5) * -5deg));
}

.bell-cast {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.bell-window {
  position: absolute;
  inset: 0;
  overflow: hidden;
  -webkit-mask: url("/teaser-assets/window-bell.svg") center / 100% 100% no-repeat;
  mask: url("/teaser-assets/window-bell.svg") center / 100% 100% no-repeat;
  transition: opacity 1.8s ease .35s;
}

.bell-window::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(226, 184, 100, .28), rgba(226, 184, 100, 0) 45%, rgba(156, 122, 58, .35));
  mix-blend-mode: soft-light;
}

.js .glimpse:not(.seen) .bell-window {
  opacity: 0;
}

.glimpse-bell .caption {
  grid-column: 2 / 6;
  grid-row: 1;
}

/* The register: one diamond for each place, three lit. */
.register {
  display: grid;
  justify-items: center;
  gap: 28px;
  margin: clamp(96px, 16vh, 200px) auto 0;
  text-align: center;
}

.dial {
  width: min(72vw, 440px);
  height: auto;
  filter: drop-shadow(0 0 22px rgba(226, 184, 100, .18));
}

.register figcaption {
  display: grid;
  justify-items: center;
  gap: 12px;
}

.register-count {
  color: var(--brass);
  font: 600 clamp(30px, 3vw, 40px)/1 var(--display);
}

.register figcaption p:last-child {
  max-width: 46ch;
  color: var(--bone-dim);
}

/* Bring five: five gems light as the section passes. */

.five {
  --p: 1;
  position: relative;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(96px, 16vh, 180px) var(--gutter);
}

.js .five {
  --p: 0;
}

.five-head {
  max-width: 720px;
}

.five-head p {
  max-width: 52ch;
  margin-top: 20px;
  color: #d9ccb0;
  font-size: clamp(18px, 1.6vw, 21px);
}

.gems {
  display: flex;
  gap: clamp(10px, 3vw, 40px);
  margin: clamp(44px, 7vh, 72px) 0 clamp(40px, 6vh, 64px);
}

.gem {
  --lit: clamp(0, (var(--p) - var(--at)) * 14, 1);
  position: relative;
  width: clamp(48px, 7vw, 84px);
  aspect-ratio: 84 / 96;
  transform: translateY(calc((1 - var(--lit)) * 8px));
}

.gem:nth-child(1) {
  --at: .2;
}

.gem:nth-child(2) {
  --at: .26;
}

.gem:nth-child(3) {
  --at: .32;
}

.gem:nth-child(4) {
  --at: .38;
}

.gem:nth-child(5) {
  --at: .44;
}

.gem::before {
  content: "";
  position: absolute;
  inset: -60%;
  background: radial-gradient(closest-side, rgba(111, 194, 172, .4), transparent);
  opacity: var(--lit);
}

.gem img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.gem .on {
  opacity: var(--lit);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 clamp(16px, 2.4vw, 36px);
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.steps li {
  padding-top: 18px;
  border-top: 1px solid var(--line);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: block;
  margin-bottom: 8px;
  color: var(--brass);
  font: 600 26px/1 var(--display);
}

.steps h3 {
  font-size: 24px;
}

.steps p {
  margin-top: 8px;
  color: var(--bone-dim);
}

.js .rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .9s ease, transform 1.1s var(--ease-out);
}

.js .rv.seen {
  opacity: 1;
  transform: none;
}

.steps li:nth-child(2) {
  transition-delay: .1s;
}

.steps li:nth-child(3) {
  transition-delay: .2s;
}

.steps li:nth-child(4) {
  transition-delay: .3s;
}

/* Join */

.join {
  position: relative;
  padding: clamp(80px, 14vh, 160px) var(--gutter) clamp(96px, 16vh, 180px);
  text-align: center;
  background: radial-gradient(ellipse 50% 60% at 50% 60%, rgba(226, 184, 100, .1), transparent 70%);
}

.join-inner {
  display: grid;
  justify-items: center;
  gap: 22px;
  max-width: 820px;
  margin: 0 auto;
}

.join .rule {
  width: min(70vw, 360px);
  height: auto;
  margin-bottom: 6px;
}

.join p {
  max-width: 46ch;
  color: #d9ccb0;
  font-size: 19px;
}

.join .actions {
  justify-content: center;
  margin-top: 10px;
}

.footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 28px var(--gutter) 40px;
  border-top: 1px solid var(--line);
  color: var(--bone-dim);
  font-size: 14px;
}

.footer-brand img {
  width: auto;
  height: 72px;
}

.footer nav {
  display: flex;
  gap: 22px;
}

.footer nav a {
  color: var(--bone-dim);
  text-decoration: none;
}

.footer nav a:hover {
  color: var(--bone);
}

/* Narrow screens */

@media (max-width: 900px) {
  .glimpse {
    grid-template-columns: 1fr;
    row-gap: 26px;
  }

  .eye,
  .bell,
  .glimpse .caption {
    grid-column: 1;
    grid-row: auto;
  }

  .eye {
    width: calc(100% + 2 * var(--gutter) - 8px);
    margin-left: calc(4px - var(--gutter));
  }

  .bell {
    width: min(100%, 460px);
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }
}

@media (max-width: 720px) {
  .wake-stage {
    --lr: 170px;
  }

  .wake-center {
    padding-top: 120px;
  }

  .bar-text {
    display: none;
  }

  .bar-word {
    height: 28px;
  }

  .wake-copy .actions,
  .join .actions {
    display: grid;
    width: 100%;
    max-width: 340px;
  }

  .sent {
    top: 66px;
  }

  .sent p {
    font-size: 19px;
  }
}

@media (max-width: 480px) {
  .steps {
    grid-template-columns: 1fr;
  }

  .pitch {
    font-size: 16px;
  }

  .footer-brand img {
    height: 60px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .wake {
    height: 100vh;
    height: 100svh;
  }

  .lid,
  .cue::after,
  .js .eye-lid {
    display: none;
  }

  .title-in,
  .pitch,
  .wake-copy .actions,
  .cue,
  .sent,
  .lantern {
    opacity: 1;
    animation: none;
  }

  .fog-drift {
    animation: none;
  }

  .js .five {
    --p: 1;
  }

  .bell {
    transform: none;
  }

  .js .rv,
  .js .caption > *,
  .js .glimpse:not(.seen) .bell-window {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .bar-word {
    transition: none;
  }

  .btn,
  .btn:hover {
    transition: none;
    transform: none;
  }
}
