@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;
  --ink-raised: #201a15;
  --line: #3a3027;
  --bone: #e8dcc2;
  --bone-dim: #a89a80;
  --ash: #7a7268;
  --brass: #e2b864;
  --brass-deep: #a07a3a;
  --ember: #f08a45;
  --verdigris: #6fc2ac;
  --blood: #c4473f;
  --display: "Eldritch Display", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Eldritch Sans", "Segoe UI", system-ui, sans-serif;
  --gutter: clamp(16px, 4vw, 56px);
  --measure: 62ch;
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
  --cut: 10px;
  color-scheme: dark;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden]:not(.view) {
  display: none !important;
}

html {
  background: var(--night);
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 88px;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--night);
  color: var(--bone);
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background: url("/eldritch-lands/assets/ui/grain.png");
  opacity: .55;
  mix-blend-mode: overlay;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: var(--brass);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

a:hover {
  color: #f3d18d;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.1;
  color: var(--bone);
  text-wrap: balance;
}

h2 {
  font-size: clamp(34px, 4.6vw, 58px);
  letter-spacing: -.01em;
}

h3 {
  font-size: 23px;
}

p {
  margin: 0;
  text-wrap: pretty;
}

:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}

::selection {
  background: rgba(240, 138, 69, .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;
}

.muted {
  color: var(--bone-dim);
}

/* Frames: the in-game Lampblack Ledger sprites, 9-sliced exactly like the Unity kit (authored at 2x). */

.frame {
  border: 24px solid transparent;
  border-image: url("/eldritch-lands/assets/ui/panel.png") 48 fill / 24px stretch;
}

.plate {
  border: 20px solid transparent;
  border-image: url("/eldritch-lands/assets/ui/card.png") 40 fill / 20px stretch;
}

.plate-lit {
  border-image-source: url("/eldritch-lands/assets/ui/card_selected.png");
}

.rule {
  height: 16px;
  background: url("/eldritch-lands/assets/ui/divider.png") center / contain no-repeat;
  opacity: .7;
}

.ornament {
  width: min(560px, 90%);
  aspect-ratio: 8 / 1;
  background: url("/eldritch-lands/assets/ui/area_ornament.png") center / contain no-repeat;
  opacity: .8;
}

/* Buttons: brass chamfer for the main action, iron tile for the rest. No pills, no circles. */

.btn {
  --h: 48px;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: var(--h);
  padding: 0 26px;
  border: 0;
  background: none;
  color: var(--bone);
  font: 700 16px/1 var(--sans);
  letter-spacing: .01em;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  isolation: isolate;
  transition: transform .25s var(--ease-out), color .2s, filter .25s;
  -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::before {
  border-image-source: url("/eldritch-lands/assets/ui/button_hover.png");
}

.btn:active::before {
  border-image-source: url("/eldritch-lands/assets/ui/button_pressed.png");
}

.btn:hover {
  color: #fff3dc;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(1px) scale(.99);
  transition-duration: .06s;
}

.btn-brass {
  color: #1a130c;
}

.btn-brass::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));
  box-shadow: inset 0 -2px 0 rgba(0, 0, 0, .25);
}

.btn-brass::after {
  content: "";
  position: absolute;
  inset: -10px;
  z-index: -2;
  background: radial-gradient(closest-side, rgba(240, 138, 69, .55), transparent);
  opacity: 0;
  transition: opacity .3s;
}

.btn-brass:hover {
  color: #120c07;
  filter: brightness(1.06);
}

.btn-brass:hover::before {
  border-image-source: none;
}

.btn-brass:hover::after {
  opacity: 1;
}

.btn-brass:active::before {
  border-image-source: none;
  filter: brightness(.92);
}

.btn-large {
  --h: 58px;
  padding: 0 34px;
  font-size: 17px;
}

.btn-small {
  --h: 40px;
  padding: 0 18px;
  font-size: 15px;
}

.btn-block {
  width: 100%;
}

.btn[disabled],
.btn[aria-disabled="true"] {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
  filter: none;
}

.btn .spinner {
  display: none;
}

.btn.busy .spinner {
  display: inline-block;
}

.spinner {
  width: 14px;
  height: 14px;
  border: 2px solid currentColor;
  border-right-color: transparent;
  animation: spin .7s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.text-link {
  color: var(--brass);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 184, 100, .4);
  transition: border-color .2s, color .2s;
}

.text-link:hover {
  border-color: var(--brass);
}

/* Navigation */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background .4s, backdrop-filter .4s, box-shadow .4s;
}

.nav.scrolled,
.nav.solid {
  background: rgba(14, 11, 9, .82);
  backdrop-filter: blur(10px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(226, 184, 100, .16);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  max-width: 1320px;
  height: 76px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.wordmark {
  font-family: var(--display);
  font-size: 23px;
  color: var(--bone);
  text-decoration: none;
  letter-spacing: .01em;
  white-space: nowrap;
}

.wordmark:hover {
  color: #fff4dd;
}

/* Brand lockup (Sleeping Bell + wordmark) in place of the text wordmark. */
.wordmark-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wordmark-brand img {
  width: auto;
  height: 38px;
}

.wordmark-brand img + img {
  height: 31px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-left: auto;
}

.nav-links a:not(.btn) {
  position: relative;
  color: var(--bone-dim);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: color .2s;
}

.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s var(--ease-out);
}

.nav-links a:not(.btn):hover,
.nav-links a[aria-current="page"] {
  color: var(--bone);
}

.nav-links a:not(.btn):hover::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-account {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: var(--ink);
  color: var(--bone);
  font: 600 15px var(--sans);
}

/* Server status */

.server-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bone-dim);
  font-size: 14px;
  font-weight: 600;
}

.server-status .sigil {
  width: 9px;
  height: 9px;
  transform: rotate(45deg);
  background: var(--ash);
  box-shadow: 0 0 0 3px rgba(122, 114, 104, .18);
}

.server-status[data-state="online"] .sigil {
  background: var(--verdigris);
  box-shadow: 0 0 0 3px rgba(111, 194, 172, .18), 0 0 14px rgba(111, 194, 172, .6);
  animation: breathe 2.8s ease-in-out infinite;
}

.server-status[data-state="updating"] .sigil {
  background: var(--ember);
  box-shadow: 0 0 0 3px rgba(240, 138, 69, .2), 0 0 14px rgba(240, 138, 69, .7);
  animation: breathe 1.2s ease-in-out infinite;
}

.server-status strong {
  color: var(--bone);
  font-weight: 700;
}

@keyframes breathe {
  50% {
    opacity: .55;
  }
}

/* Hero: a night in Vigil Hollow, seen only where your lantern falls. */

.hero {
  --lx: 62%;
  --ly: 56%;
  --lr: 300px;
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: #07090c;
  isolation: isolate;
}

.hero-scene,
.hero-fog,
.hero-embers,
.hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-scene {
  inset: -4%;
  will-change: transform;
}

.hero-scene img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%;
}

.hero-scene .lit {
  -webkit-mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 0%, rgba(0, 0, 0, .78) 32%, rgba(0, 0, 0, .25) 66%, transparent 100%);
  mask-image: radial-gradient(circle var(--lr) at var(--lx) var(--ly), #000 0%, rgba(0, 0, 0, .78) 32%, rgba(0, 0, 0, .25) 66%, transparent 100%);
  opacity: 0;
  transition: opacity 1.6s ease .4s;
}

.awake .hero-scene .lit {
  opacity: 1;
}

.hero-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle calc(var(--lr) * 1.25) at var(--lx) var(--ly), rgba(240, 138, 69, .2), rgba(240, 138, 69, .06) 45%, transparent 70%);
  mix-blend-mode: screen;
  opacity: 0;
  transition: opacity 1.6s ease .4s;
}

.awake .hero-glow {
  opacity: 1;
}

.hero-fog {
  overflow: hidden;
}

.fog-holder {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.fog-layer {
  position: absolute;
  left: -10%;
  width: 240%;
  height: 60%;
  background: url("/eldritch-lands/assets/ui/fog.webp") 0 0 / 50% 100% repeat-x;
  will-change: transform;
}

.fog-layer.far {
  top: 30%;
  opacity: .16;
  animation: drift 140s linear infinite;
}

.fog-layer.near {
  top: 48%;
  opacity: .24;
  animation: drift 80s linear infinite reverse;
}

@keyframes drift {
  to {
    translate: -50% 0;
  }
}

.hero-embers {
  width: 100%;
  height: 100%;
}

.hero-shade {
  background:
    radial-gradient(ellipse 120% 90% at 50% 40%, transparent 40%, rgba(5, 4, 3, .75) 100%),
    linear-gradient(180deg, rgba(11, 9, 7, .55) 0%, transparent 22%, transparent 48%, rgba(11, 9, 7, .9) 86%, var(--night) 100%);
}

.hero-content {
  position: absolute;
  inset: auto 0 clamp(56px, 12vh, 128px);
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  will-change: transform, opacity;
}

.hero-title {
  font-size: clamp(64px, 12.5vw, 196px);
  line-height: .86;
  letter-spacing: -.025em;
  color: #efe4cb;
  text-shadow: 0 2px 40px rgba(0, 0, 0, .6);
}

.hero-title .word {
  display: inline-block;
  white-space: nowrap;
}

.hero-title .glyph {
  display: inline-block;
  opacity: 0;
  filter: blur(14px);
  transform: translateY(.18em);
  transition: opacity 1.1s ease, filter 1.3s ease, transform 1.4s var(--ease-out);
}

.hero.awake .hero-title .glyph {
  opacity: 1;
  filter: blur(0);
  transform: none;
}

.hero-pitch {
  max-width: 34ch;
  margin-top: 26px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.55;
  color: #d9ccb0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease 1.3s, transform 1.2s var(--ease-out) 1.3s;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 34px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 1s ease 1.6s, transform 1.2s var(--ease-out) 1.6s;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 26px;
  opacity: 0;
  transition: opacity 1s ease 2s;
}

.hero.awake .hero-pitch,
.hero.awake .hero-actions {
  opacity: 1;
  transform: none;
}

.hero.awake .hero-meta {
  opacity: 1;
}

.hero-hint {
  color: var(--bone-dim);
  font-size: 14px;
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(56px, 12vh, 128px);
  display: grid;
  justify-items: center;
  gap: 12px;
  color: var(--bone-dim);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  writing-mode: vertical-rl;
  opacity: 0;
  transition: opacity 1s ease 2.2s, color .2s;
}

.hero.awake .scroll-cue {
  opacity: 1;
}

.scroll-cue:hover {
  color: var(--bone);
}

.scroll-cue::after {
  content: "";
  width: 1px;
  height: 64px;
  background: linear-gradient(var(--brass), transparent);
  animation: cue 2.4s var(--ease-in-out) infinite;
  transform-origin: top;
}

@keyframes cue {
  0% {
    transform: scaleY(0);
  }

  50% {
    transform: scaleY(1);
  }

  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

/* A dim lantern glow that follows the pointer once the hero's own lantern is out of view. */

.cursor-light {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(560px circle at var(--mx, -999px) var(--my, -999px), rgba(240, 138, 69, .085), rgba(226, 184, 100, .03) 42%, transparent 72%);
  opacity: 0;
  transition: opacity .8s ease;
}

.cursor-light.on {
  opacity: 1;
}

.lands,
.footer {
  position: relative;
  z-index: 1;
}

/* Sections */

.section {
  z-index: 1;
  position: relative;
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(88px, 13vw, 168px) var(--gutter);
}

.section-head {
  max-width: 760px;
}

.section-head p {
  margin-top: 20px;
  max-width: var(--measure);
  color: var(--bone-dim);
  font-size: 19px;
}

.section-head .ornament {
  margin: 0 0 30px -6px;
  width: min(420px, 80%);
  opacity: .55;
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .9s ease, transform 1.1s var(--ease-out);
}

.reveal.seen {
  opacity: 1;
  transform: none;
}

/* The Lands: pinned, scroll-driven procession of places. */

.lands {
  position: relative;
  height: 520vh;
}

.lands-pin {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto 1fr auto;
  padding: 104px 0 36px;
}

.lands-intro {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
}

.lands-intro p {
  max-width: 44ch;
  color: var(--bone-dim);
}

.lands-track {
  width: max-content;
  display: flex;
  align-items: center;
  gap: clamp(28px, 4vw, 64px);
  padding: 0 calc(var(--gutter) + 4vw);
  will-change: transform;
}

.place {
  flex: 0 0 auto;
  width: clamp(300px, 46vw, 760px);
  margin: 0;
}

.place:nth-child(even) {
  translate: 0 4vh;
}

.place-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #0d0b09;
}

.place-image::after {
  content: "";
  position: absolute;
  inset: 0;
  box-shadow: inset 0 0 80px rgba(0, 0, 0, .55);
  background: linear-gradient(180deg, transparent 55%, rgba(8, 6, 5, .55));
}

.place-image img {
  position: absolute;
  inset: 0 -8%;
  width: 116%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  will-change: transform;
}

.place figcaption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 18px;
  margin-top: 18px;
  padding-left: 4px;
}

.place-name {
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  line-height: 1.1;
  color: var(--bone);
}

.place-kind {
  align-self: center;
  justify-self: start;
  padding: 3px 10px 4px;
  border: 1px solid rgba(226, 184, 100, .35);
  color: var(--brass);
  font-size: 13px;
  font-weight: 700;
}

.place-line {
  grid-column: 1 / -1;
  max-width: 52ch;
  color: var(--bone-dim);
}

.lands-progress {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.lands-progress ol {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0;
  padding: 18px 0 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.lands-progress ol::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--brass);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}

.lands-progress li {
  color: var(--ash);
  font-size: 13px;
  font-weight: 700;
  transition: color .3s;
}

.lands-progress li.here {
  color: var(--brass);
}

/* A life: steps beside a scene that changes as you read. */

.life {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  margin-top: 64px;
}

.life-stage {
  position: sticky;
  top: 112px;
  align-self: start;
  aspect-ratio: 4 / 3;
}

.life-stage .plate {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.life-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1s ease, transform 2.4s var(--ease-out);
}

.life-stage img.shown {
  opacity: 1;
  transform: scale(1);
}

.life-stage .toll {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 50% 45%, #2a2019, #0b0907 70%);
  opacity: 0;
  transition: opacity 1s ease;
}

.life-stage .toll.shown {
  opacity: 1;
}

.life-stage .toll img {
  position: static;
  width: 28%;
  height: auto;
  opacity: .85;
  transform: none;
  filter: drop-shadow(0 0 30px rgba(240, 138, 69, .35));
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.step {
  position: relative;
  min-height: 48vh;
  padding: 0 0 0 76px;
  counter-increment: step;
  opacity: .35;
  transition: opacity .6s ease;
}

.step.active {
  opacity: 1;
}

.step::before {
  content: counter(step, upper-roman);
  position: absolute;
  left: 0;
  top: 2px;
  width: 52px;
  font-family: var(--display);
  font-size: 30px;
  line-height: 1;
  color: var(--brass);
  text-align: right;
}

.step::after {
  content: "";
  position: absolute;
  left: 64px;
  top: 8px;
  bottom: 24px;
  width: 1px;
  background: linear-gradient(var(--line), transparent);
}

.step h3 {
  font-size: clamp(26px, 2.6vw, 34px);
}

.step p {
  margin-top: 14px;
  max-width: 44ch;
  color: var(--bone-dim);
  font-size: 18px;
}

/* Access */

.access {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
}

.access-path {
  margin: 0;
  padding: 8px 4px;
  list-style: none;
}

.access-path li {
  position: relative;
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 4px 18px;
  padding: 18px 0;
}

.access-path li + li {
  border-top: 1px solid rgba(58, 48, 39, .8);
}

.access-path img {
  grid-row: span 2;
  width: 42px;
  height: 48px;
  object-fit: contain;
  justify-self: center;
}

.access-path h3 {
  font-size: 21px;
}

.access-path p {
  color: var(--bone-dim);
}

.access-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

/* News */

.news-list {
  margin-top: 48px;
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: 8px 40px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.news-item time {
  color: var(--bone-dim);
  font-size: 15px;
  font-weight: 600;
}

.news-tag {
  display: block;
  margin-top: 4px;
  color: var(--brass);
  font-size: 13px;
  font-weight: 700;
}

.news-item h3 {
  font-size: 25px;
}

.news-item p {
  margin-top: 8px;
  max-width: var(--measure);
  color: var(--bone-dim);
}

/* Download */

.download {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: start;
}

.download-copy p {
  margin-top: 18px;
  max-width: 48ch;
  color: var(--bone-dim);
  font-size: 18px;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 30px;
}

.small {
  font-size: 14px;
}

.download-note {
  margin-top: 22px;
  max-width: 56ch;
}

.specs {
  margin: 0;
  padding: 10px 6px;
}

.specs div {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  padding: 12px 0;
}

.specs div + div {
  border-top: 1px solid rgba(58, 48, 39, .7);
}

.specs dt {
  color: var(--bone-dim);
  font-size: 15px;
}

.specs dd {
  margin: 0;
  font-weight: 600;
}

/* Footer */

.footer {
  border-top: 1px solid var(--line);
  background: #090706;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 40px var(--gutter) 48px;
  color: var(--ash);
  font-size: 14px;
}

.footer-inner nav {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-inner nav a {
  color: var(--bone-dim);
  text-decoration: none;
}

.footer-inner nav a:hover {
  color: var(--bone);
}

.footer-inner p {
  margin-left: auto;
}

/* Forms */

.field {
  display: grid;
  gap: 7px;
}

.field + .field {
  margin-top: 18px;
}

.field label,
.field .label {
  color: var(--bone);
  font-size: 15px;
  font-weight: 700;
}

.field small {
  color: var(--bone-dim);
  font-size: 13.5px;
  line-height: 1.45;
}

.input-wrap {
  position: relative;
  display: flex;
}

.input {
  width: 100%;
  min-height: 50px;
  padding: 12px 14px;
  border: 1px solid #4a3d31;
  background: rgba(8, 6, 5, .6);
  color: var(--bone);
  font: 500 16px var(--sans);
  clip-path: polygon(6px 0, calc(100% - 6px) 0, 100% 6px, 100% calc(100% - 6px), calc(100% - 6px) 100%, 6px 100%, 0 calc(100% - 6px), 0 6px);
  transition: border-color .2s, background .2s, box-shadow .2s;
}

.input::placeholder {
  color: #6f655a;
}

.input:hover {
  border-color: #6a5843;
}

.input:focus {
  outline: none;
  border-color: var(--brass);
  background: rgba(8, 6, 5, .85);
  box-shadow: inset 0 0 0 1px rgba(226, 184, 100, .5), inset 0 0 24px rgba(240, 138, 69, .08);
}

.input[aria-invalid="true"] {
  border-color: var(--blood);
  box-shadow: inset 0 0 0 1px rgba(196, 71, 63, .5);
}

textarea.input {
  min-height: 64px;
  resize: vertical;
  line-height: 1.5;
}

.input-wrap .input {
  padding-right: 72px;
}

.reveal-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  translate: 0 -50%;
  padding: 6px 10px;
  border: 1px solid transparent;
  background: none;
  color: var(--bone-dim);
  font: 700 13px var(--sans);
  cursor: pointer;
}

.reveal-toggle:hover {
  color: var(--bone);
  border-color: var(--line);
}

.hint-warn {
  color: var(--ember) !important;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--bone-dim);
  font-size: 15px;
  cursor: pointer;
  user-select: none;
}

.check input {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  border: 1px solid #6a5843;
  background: rgba(8, 6, 5, .6);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.check input::after {
  content: "";
  width: 8px;
  height: 8px;
  transform: rotate(45deg) scale(0);
  background: var(--brass);
  transition: transform .2s var(--ease-out);
}

.check input:checked::after {
  transform: rotate(45deg) scale(1);
}

.strength {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 5px;
  margin-top: 2px;
}

.strength span {
  height: 4px;
  background: #2c241d;
  transition: background .3s, box-shadow .3s;
}

.strength[data-level="1"] span:nth-child(-n+1),
.strength[data-level="2"] span:nth-child(-n+2) {
  background: var(--ember);
}

.strength[data-level="3"] span:nth-child(-n+3),
.strength[data-level="4"] span:nth-child(-n+4) {
  background: var(--verdigris);
  box-shadow: 0 0 8px rgba(111, 194, 172, .4);
}

.form-status {
  min-height: 1.5em;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
}

.form-status.error {
  color: #ef7b6f;
}

.form-status.ok {
  color: var(--verdigris);
}

.shake {
  animation: shake .42s var(--ease-out);
}

@keyframes shake {
  20% {
    transform: translateX(-7px);
  }

  40% {
    transform: translateX(6px);
  }

  60% {
    transform: translateX(-4px);
  }

  80% {
    transform: translateX(2px);
  }
}

/* Account page */

.page-account {
  min-height: 100vh;
  background: transparent;
}

.account-backdrop {
  --lx: 70%;
  --ly: 45%;
  --lr: 360px;
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: #07090c;
}

.account-backdrop .hero-scene img {
  object-position: 50% 60%;
}

.account-backdrop .hero-shade {
  background:
    linear-gradient(90deg, rgba(11, 9, 7, .94) 0%, rgba(11, 9, 7, .78) 38%, rgba(11, 9, 7, .2) 75%, rgba(11, 9, 7, .45) 100%),
    linear-gradient(180deg, rgba(11, 9, 7, .5), transparent 30%, transparent 70%, rgba(11, 9, 7, .85));
}

.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: center;
  max-width: 1320px;
  min-height: 100vh;
  margin: 0 auto;
  padding: 112px var(--gutter) 64px;
}

.account-panel {
  position: relative;
  padding: 18px 18px 22px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .8s ease .15s, transform 1s var(--ease-out) .15s;
}

.ready .account-panel {
  opacity: 1;
  transform: none;
}

.tabs {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: -4px -4px 26px;
  border-bottom: 1px solid var(--line);
}

.tab {
  padding: 12px 8px 14px;
  border: 0;
  background: none;
  color: var(--bone-dim);
  font: 700 16px var(--sans);
  cursor: pointer;
  transition: color .2s;
}

.tab[aria-selected="true"] {
  color: var(--bone);
}

.tab:hover {
  color: var(--bone);
}

.tab-ink {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 50%;
  height: 2px;
  background: var(--brass);
  box-shadow: 0 0 12px rgba(226, 184, 100, .6);
  transition: transform .45s var(--ease-out);
}

.tabs[data-active="signin"] .tab-ink {
  transform: translateX(100%);
}

.views {
  position: relative;
  display: grid;
}

.view {
  grid-area: 1 / 1;
  transition: opacity .35s ease, transform .5s var(--ease-out), visibility 0s linear .5s;
}

.view[hidden] {
  display: block;
  position: absolute;
  inset: 0 0 auto;
  visibility: hidden;
  opacity: 0;
  transform: translateX(var(--from, 24px));
  pointer-events: none;
}

.view:not([hidden]) {
  visibility: visible;
  transition-delay: 0s;
}

.view-lede {
  margin: 0 0 20px;
  color: var(--bone-dim);
}

.view .field + .field {
  margin-top: 15px;
}

.view .btn-block {
  margin-top: 22px;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.account-aside {
  max-width: 520px;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .9s ease .35s, transform 1.1s var(--ease-out) .35s;
}

.ready .account-aside {
  opacity: 1;
  transform: none;
}

.account-aside h2 {
  font-size: clamp(36px, 4.4vw, 60px);
}

.account-aside > p {
  margin-top: 18px;
  color: #cdbf9f;
  font-size: 19px;
}

.account-aside .access-path {
  margin-top: 28px;
}

/* Ledger: the signed-in account. */

.ledger-head {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 4px 18px;
  align-items: center;
}

.seal {
  grid-row: span 2;
  width: 56px;
  height: 64px;
  object-fit: contain;
  animation: seal-in .9s var(--ease-out) both;
}

@keyframes seal-in {
  from {
    opacity: 0;
    transform: scale(.6) rotate(-12deg);
    filter: blur(6px);
  }
}

.ledger-name {
  font-family: var(--display);
  font-size: 30px;
  line-height: 1.1;
  overflow-wrap: anywhere;
}

.ledger-state {
  font-weight: 700;
  font-size: 15px;
}

.ledger-state[data-access="allowed"] {
  color: var(--verdigris);
}

.ledger-state[data-access="pending"] {
  color: var(--ember);
}

.ledger-state[data-access="denied"] {
  color: #ef7b6f;
}

.ledger-body {
  margin-top: 22px;
  color: var(--bone-dim);
}

.ledger-body p + p {
  margin-top: 10px;
}

.ledger-body strong {
  color: var(--bone);
}

.ledger-actions {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.ledger-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 20px;
  font-size: 15px;
}

.link-button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--brass);
  font: 700 15px var(--sans);
  cursor: pointer;
  border-bottom: 1px solid rgba(226, 184, 100, .4);
}

.link-button:hover {
  border-color: var(--brass);
}

.ledger-server {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

/* Responsive */

@media (max-width: 1080px) {
  .life,
  .access,
  .download,
  .account-layout {
    grid-template-columns: 1fr;
  }

  .life-stage {
    position: relative;
    top: 0;
  }

  .step {
    min-height: 0;
    padding-bottom: 48px;
    opacity: 1;
  }

  .account-layout {
    align-items: start;
  }

  .account-aside {
    order: 2;
  }
}

@media (max-width: 860px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 14px var(--gutter) 22px;
    background: rgba(14, 11, 9, .97);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a:not(.btn) {
    padding: 10px 0;
  }

  .nav-account {
    flex-wrap: wrap;
    padding-top: 8px;
  }

  .lands {
    height: auto;
  }

  .lands-pin {
    position: relative;
    height: auto;
    padding: 88px 0 24px;
    overflow: visible;
  }

  .lands-intro {
    display: block;
  }

  .lands-intro p {
    margin-top: 16px;
  }

  .lands-track {
    flex-direction: column;
    gap: 44px;
    margin-top: 40px;
    padding: 0 var(--gutter);
    transform: none !important;
  }

  .place {
    width: 100%;
  }

  .place:nth-child(even) {
    translate: none;
  }

  .lands-progress {
    display: none;
  }

  .news-item {
    grid-template-columns: 1fr;
  }

  .footer-inner p {
    margin-left: 0;
  }

  .scroll-cue {
    display: none;
  }

  .hero-content {
    bottom: 48px;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 16px;
  }

  .frame {
    border-width: 18px;
    border-image-width: 18px;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .specs div {
    grid-template-columns: 1fr;
    gap: 2px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }

  .reveal,
  .hero-title .glyph {
    opacity: 1;
    transform: none;
    filter: none;
  }
}
