:root {
  --ink: #070806;
  --panel: #11130f;
  --lime: #c7ff38;
  --lime-soft: #e1ff91;
  --paper: #f4f7ea;
  --paper-warm: #e9eddd;
  --white: #ffffff;
  --muted: #9ca38e;
  --muted-dark: #5f6655;
  --line: #30352a;
  --line-light: #c9cfba;
  --danger: #ff6d73;
  --radius: 1.25rem;
  --max: 90rem;
  --header-height: 4.75rem;
  --display: "Arial Narrow", "Roboto Condensed", "Helvetica Neue", Arial, sans-serif;
  --body: Inter, "Segoe UI", Arial, sans-serif;
  --serif: Iowan Old Style, Baskerville, "Times New Roman", serif;
}

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

html {
  scroll-behavior: smooth;
  scrollbar-color: var(--lime) var(--ink);
}

body {
  margin: 0;
  min-width: 20rem;
  background: var(--ink);
  color: var(--ink);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  opacity: 0.045;
  content: "";
  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='.8'/%3E%3C/svg%3E");
}

button,
input {
  font: inherit;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
}

::selection {
  background: var(--lime);
  color: var(--ink);
}

:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 4px;
}

.visually-hidden {
  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 {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.75rem 1rem;
  background: var(--lime);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 50%;
  display: flex;
  width: min(100%, var(--max));
  height: var(--header-height);
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  color: var(--paper);
  border-bottom: 1px solid rgba(244, 247, 234, 0.2);
  transform: translateX(-50%);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--display);
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.brand-mark {
  position: relative;
  width: 1.5rem;
  aspect-ratio: 1;
  border: 1px solid currentColor;
  border-radius: 50%;
}

.brand-mark::after {
  position: absolute;
  inset: 0.3rem;
  content: "";
  background: var(--lime);
  border-radius: 50%;
}

.site-nav {
  display: none;
  gap: 1.75rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a {
  opacity: 0.68;
  transition: opacity 180ms ease, color 180ms ease;
}

.site-nav a:hover {
  color: var(--lime);
  opacity: 1;
}

.system-time {
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  color: var(--muted);
  font-size: 0.58rem;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  padding: calc(var(--header-height) + 4rem) 1rem 5.5rem;
  background:
    radial-gradient(circle at 80% 30%, rgba(199, 255, 56, 0.11), transparent 28rem),
    radial-gradient(circle at 20% 80%, rgba(199, 255, 56, 0.05), transparent 22rem),
    var(--ink);
  color: var(--paper);
  overflow: hidden;
}

.hero-grid,
.stage-grid {
  position: absolute;
  inset: 0;
  opacity: 0.22;
  background-image:
    linear-gradient(rgba(244, 247, 234, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244, 247, 234, 0.14) 1px, transparent 1px);
  background-size: 4rem 4rem;
  mask-image: radial-gradient(circle at center, #000, transparent 78%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: min(100%, var(--max));
  margin-inline: auto;
}

.eyebrow,
.eyebrow-small {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1.5rem;
  color: var(--lime);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.eyebrow span + span::before {
  content: "/";
  margin-right: 0.75rem;
  color: var(--muted);
}

.hero h1,
.section-intro h2,
.finale h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(3.25rem, 14vw, 9rem);
  font-weight: 900;
  letter-spacing: -0.075em;
  line-height: 0.82;
  text-transform: uppercase;
}

.hero h1 em,
.finale h2 em {
  color: var(--lime);
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.055em;
  text-transform: none;
}

.hero-lead {
  max-width: 33rem;
  margin: 2rem 0 0;
  color: #bec4af;
  font-size: clamp(1rem, 3vw, 1.25rem);
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 0.9rem 1.1rem;
  border: 1px solid transparent;
  border-radius: 0;
  background: transparent;
  cursor: pointer;
  font-family: var(--display);
  font-size: 0.75rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease, border-color 220ms ease;
}

.button:not(:disabled):hover {
  transform: translateY(-3px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.38;
}

.button-primary {
  min-width: 12.25rem;
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 0 0 rgba(199, 255, 56, 0);
}

.button-primary:not(:disabled):hover {
  background: var(--white);
  box-shadow: 0 0 2.5rem rgba(199, 255, 56, 0.22);
}

.microcopy {
  display: none;
  margin: 0;
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  line-height: 1.45;
  text-transform: uppercase;
}

.hero-stats {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(100%, var(--max));
  grid-template-columns: repeat(3, 1fr);
  margin: 3rem auto 0;
  border-top: 1px solid rgba(244, 247, 234, 0.18);
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  padding-top: 0.75rem;
}

.hero-stats strong {
  font-family: var(--display);
  font-size: clamp(1.5rem, 6vw, 3rem);
  line-height: 1;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-orbit,
.finale-orbit {
  position: absolute;
  border: 1px solid rgba(199, 255, 56, 0.35);
  border-radius: 50%;
  pointer-events: none;
}

.hero-orbit::after,
.finale-orbit::after {
  position: absolute;
  top: 50%;
  left: -0.3rem;
  width: 0.6rem;
  aspect-ratio: 1;
  content: "";
  background: var(--lime);
  border-radius: 50%;
  box-shadow: 0 0 1.5rem var(--lime);
}

.hero-orbit-a {
  top: 12%;
  right: -11rem;
  width: 25rem;
  aspect-ratio: 1;
  animation: orbit 18s linear infinite;
}

.hero-orbit-b {
  top: 26%;
  right: -2rem;
  width: 12rem;
  aspect-ratio: 1;
  border-color: rgba(244, 247, 234, 0.16);
  animation: orbit 13s linear infinite reverse;
}

.hero-symbol {
  position: absolute;
  z-index: 1;
  color: var(--lime);
  filter: drop-shadow(0 0 1.5rem rgba(199, 255, 56, 0.45));
  pointer-events: none;
  animation: drift 7s ease-in-out infinite;
}

.symbol-moon {
  top: 20%;
  right: 19%;
  font-family: var(--serif);
  font-size: 5rem;
}

.symbol-eye {
  top: 43%;
  right: 6%;
  color: rgba(244, 247, 234, 0.65);
  font-size: 2rem;
  animation-delay: -3s;
}

.ticker {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 0.75rem 0;
  background: var(--lime);
  color: var(--ink);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  overflow: hidden;
  white-space: nowrap;
}

.ticker div {
  width: max-content;
  animation: marquee 18s linear infinite;
}

.section-shell {
  padding: 5rem 1rem;
  background: var(--paper);
}

.section-intro,
.builder-layout,
.story-card,
.dream-stage {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.section-intro {
  display: grid;
  gap: 2rem;
  margin-bottom: 3rem;
}

.section-number {
  margin: 0;
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-intro h2 {
  font-size: clamp(2.8rem, 12vw, 7.25rem);
  line-height: 0.88;
}

.section-intro > div > p {
  max-width: 34rem;
  margin: 1.5rem 0 0;
  color: var(--muted-dark);
  font-size: 0.95rem;
  line-height: 1.6;
}

.builder-layout {
  display: grid;
  gap: 1.25rem;
}

.catalog-panel {
  min-width: 0;
}

.search-field {
  display: grid;
  min-height: 3.8rem;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.75rem;
  padding: 0 1rem;
  border: 1px solid var(--line-light);
  background: rgba(255, 255, 255, 0.4);
  transition: border-color 180ms ease, background 180ms ease;
}

.search-field:focus-within {
  border-color: var(--ink);
  background: var(--white);
}

.search-field > span:not(.visually-hidden) {
  font-size: 1.45rem;
  transform: rotate(-15deg);
}

.search-field input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1rem;
}

.search-field input::placeholder {
  color: #7d8473;
}

.search-field kbd {
  display: none;
  padding: 0.3rem 0.45rem;
  border: 1px solid var(--line-light);
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
}

.category-filters {
  display: flex;
  gap: 0.45rem;
  margin: 1rem -1rem 1.25rem;
  padding: 0 1rem 0.5rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.category-filters::-webkit-scrollbar {
  display: none;
}

.filter-button {
  flex: 0 0 auto;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line-light);
  border-radius: 999px;
  background: transparent;
  color: var(--muted-dark);
  cursor: pointer;
  font-size: 0.7rem;
  font-weight: 750;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.filter-button:hover,
.filter-button.is-active {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--paper);
}

.object-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-light);
  border-left: 1px solid var(--line-light);
}

.object-card {
  position: relative;
  display: flex;
  min-height: 8.75rem;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0.85rem;
  border: 0;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  background: transparent;
  cursor: pointer;
  overflow: hidden;
  text-align: left;
  transition: background 220ms ease, color 220ms ease;
}

.object-card::before {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 0.45rem;
  aspect-ratio: 1;
  content: "";
  border: 1px solid currentColor;
  border-radius: 50%;
  opacity: 0.55;
}

.object-card:hover {
  background: var(--white);
}

.object-card[aria-pressed="true"] {
  background: var(--lime);
  color: var(--ink);
}

.object-card[aria-pressed="true"]::before {
  background: var(--ink);
  box-shadow: 0 0 0 0.2rem rgba(7, 8, 6, 0.12);
  opacity: 1;
}

.object-emoji {
  display: block;
  font-size: 2.1rem;
  line-height: 1;
  filter: grayscale(0.25);
  transform-origin: center;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.object-card:hover .object-emoji,
.object-card[aria-pressed="true"] .object-emoji {
  filter: grayscale(0);
  transform: translateY(-0.2rem) rotate(-5deg) scale(1.12);
}

.object-name {
  font-family: var(--display);
  font-size: 0.78rem;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.object-index {
  position: absolute;
  right: 0.75rem;
  bottom: 0.75rem;
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.5rem;
}

.no-results {
  display: grid;
  grid-column: 1 / -1;
  min-height: 18rem;
  place-items: center;
  padding: 2rem;
  border-right: 1px solid var(--line-light);
  border-bottom: 1px solid var(--line-light);
  text-align: center;
}

.no-results p {
  margin: 0 0 1rem;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 850;
  text-transform: uppercase;
}

.selection-panel {
  align-self: start;
  padding: 1.25rem;
  background: var(--ink);
  color: var(--paper);
}

.selection-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line);
}

.selection-heading .eyebrow-small {
  margin: 0;
}

.selection-heading > span {
  color: var(--muted);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.65rem;
}

.selection-heading b {
  color: var(--lime);
}

.selected-list {
  display: flex;
  min-height: 10rem;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 0.5rem;
  padding: 1.25rem 0;
}

.selection-empty {
  margin: auto;
  color: #676d60;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-style: italic;
  line-height: 1.2;
  text-align: center;
}

.selected-chip {
  display: inline-flex;
  height: 2.4rem;
  align-items: center;
  gap: 0.45rem;
  padding: 0 0.65rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--panel);
  color: var(--paper);
  cursor: pointer;
  font-size: 0.66rem;
  transition: border-color 180ms ease, color 180ms ease;
  animation: reveal 250ms ease both;
}

.selected-chip:hover {
  border-color: var(--lime);
  color: var(--lime);
}

.selected-chip span:first-child {
  font-size: 1rem;
}

.selected-chip .chip-remove {
  color: var(--muted);
}

.status-message {
  min-height: 1.25rem;
  margin: 0 0 0.65rem;
  color: var(--danger);
  font-size: 0.68rem;
  line-height: 1.4;
}

.button-wide {
  width: 100%;
}

.selection-note {
  margin: 0.75rem 0 0;
  color: #72796a;
  font-size: 0.6rem;
  text-align: center;
}

.section-dark {
  background: var(--ink);
  color: var(--paper);
}

.section-intro-light .section-number,
.section-intro-light > div > p {
  color: var(--muted);
}

.dream-stage {
  position: relative;
  min-height: 32rem;
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at calc(50% + var(--pointer-x, 0) * 4rem) calc(45% + var(--pointer-y, 0) * 3rem), rgba(199, 255, 56, 0.17), transparent 18rem),
    #0a0c08;
  isolation: isolate;
  overflow: hidden;
}

.dream-stage::before,
.dream-stage::after {
  position: absolute;
  z-index: 1;
  width: 2rem;
  height: 2rem;
  content: "";
  pointer-events: none;
}

.dream-stage::before {
  top: 0.75rem;
  left: 0.75rem;
  border-top: 1px solid var(--lime);
  border-left: 1px solid var(--lime);
}

.dream-stage::after {
  right: 0.75rem;
  bottom: 0.75rem;
  border-right: 1px solid var(--lime);
  border-bottom: 1px solid var(--lime);
}

.stage-grid {
  opacity: 0.16;
  background-size: 3rem 3rem;
}

.stage-halo {
  position: absolute;
  z-index: -1;
  top: 50%;
  left: 50%;
  width: min(65vw, 35rem);
  aspect-ratio: 1;
  border: 1px solid rgba(199, 255, 56, 0.22);
  border-radius: 50%;
  box-shadow: inset 0 0 7rem rgba(199, 255, 56, 0.05), 0 0 7rem rgba(199, 255, 56, 0.05);
  transform: translate(-50%, -50%);
  animation: pulse 7s ease-in-out infinite;
}

.stage-halo::before,
.stage-halo::after {
  position: absolute;
  inset: 18%;
  content: "";
  border: 1px solid rgba(244, 247, 234, 0.1);
  border-radius: 50%;
}

.stage-halo::after {
  inset: 38%;
  background: var(--lime);
  box-shadow: 0 0 4rem rgba(199, 255, 56, 0.55);
  opacity: 0.18;
}

.stage-placeholder {
  position: absolute;
  top: 50%;
  left: 50%;
  display: grid;
  place-items: center;
  color: #707768;
  text-align: center;
  transform: translate(-50%, -50%);
  transition: opacity 300ms ease;
}

.stage-placeholder > span {
  color: var(--lime);
  font-size: 3rem;
  animation: orbit 10s linear infinite;
}

.stage-placeholder p {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-style: italic;
  line-height: 1.15;
}

.dream-stage:not(.is-empty) .stage-placeholder {
  opacity: 0;
}

.stage-coordinate,
.stage-label {
  position: absolute;
  z-index: 4;
  margin: 0;
  color: #68705f;
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.52rem;
  letter-spacing: 0.08em;
}

.stage-coordinate {
  top: 1rem;
  right: 1rem;
}

.stage-label {
  bottom: 1rem;
  left: 1rem;
}

.dream-node {
  position: absolute;
  z-index: 3;
  top: var(--y);
  left: var(--x);
  display: grid;
  place-items: center;
  width: clamp(4rem, 14vw, 8.5rem);
  aspect-ratio: 1;
  border: 1px solid rgba(244, 247, 234, 0.18);
  border-radius: 50%;
  background: rgba(7, 8, 6, 0.72);
  box-shadow: 0 0 3rem rgba(199, 255, 56, 0.08);
  backdrop-filter: blur(0.6rem);
  transform: translate(-50%, -50%) scale(var(--scale)) translate(calc(var(--pointer-x, 0) * var(--depth) * 1rem), calc(var(--pointer-y, 0) * var(--depth) * 1rem));
  animation: drift calc(6s + var(--delay)) ease-in-out var(--delay) infinite;
}

.dream-node::before {
  position: absolute;
  inset: -0.55rem;
  content: "";
  border: 1px dashed rgba(199, 255, 56, 0.26);
  border-radius: 50%;
  animation: orbit 14s linear infinite;
}

.dream-node-emoji {
  font-size: clamp(1.6rem, 6vw, 3.65rem);
  filter: drop-shadow(0 0 1rem rgba(199, 255, 56, 0.2));
}

.dream-node-name {
  position: absolute;
  top: calc(100% + 0.85rem);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.48rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}

.story {
  background: var(--paper-warm);
}

.story-card {
  border: 1px solid var(--line-light);
  background: var(--paper);
}

.story-meta {
  display: flex;
  justify-content: space-between;
  padding: 0.8rem 1rem;
  border-bottom: 1px solid var(--line-light);
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.53rem;
  letter-spacing: 0.08em;
}

.story-content {
  padding: 2rem 1rem;
}

.story-kicker {
  margin: 0 0 0.85rem;
  color: var(--muted-dark);
  font-family: ui-monospace, SFMono-Regular, Consolas, monospace;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.story-content h3 {
  max-width: 55rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 8vw, 5.75rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.96;
}

.dream-copy {
  max-width: 49rem;
  margin: 2rem 0 0;
  color: #33382f;
  font-family: var(--serif);
  font-size: clamp(1.05rem, 3vw, 1.35rem);
  line-height: 1.65;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button-ghost {
  border-color: var(--ink);
}

.button-ghost:not(:disabled):hover {
  background: var(--ink);
  color: var(--lime);
}

.button-text {
  padding-inline: 0;
  border-bottom-color: var(--ink);
}

.meaning-list {
  display: grid;
  border-top: 1px solid var(--line-light);
}

.meaning-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.25rem 1rem;
  border-bottom: 1px solid var(--line-light);
  animation: reveal 400ms ease both;
}

.meaning-card:last-child {
  border-bottom: 0;
}

.meaning-card-emoji {
  font-size: 1.65rem;
}

.meaning-card h4 {
  margin: 0 0 0.3rem;
  font-family: var(--display);
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.meaning-card p {
  margin: 0;
  color: var(--muted-dark);
  font-size: 0.78rem;
  line-height: 1.5;
}

.story-card.is-locked .story-content,
.story-card.is-locked .meaning-list {
  opacity: 0.42;
}

.finale {
  position: relative;
  display: grid;
  min-height: 85svh;
  place-content: center;
  padding: 6rem 1rem;
  background: var(--lime);
  color: var(--ink);
  text-align: center;
  overflow: hidden;
}

.finale > *:not(.finale-orbit) {
  position: relative;
  z-index: 2;
}

.finale .section-number {
  color: #44551a;
}

.finale h2 {
  margin-top: 1.5rem;
  font-size: clamp(3.2rem, 13vw, 8.5rem);
}

.finale h2 em {
  color: var(--ink);
}

.finale > p:not(.section-number) {
  max-width: 32rem;
  margin: 2rem auto 0;
  color: #354115;
  font-size: 0.95rem;
  line-height: 1.6;
}

.finale .button {
  margin: 2rem auto 0;
}

.button-inverse {
  min-width: 14rem;
  background: var(--ink);
  color: var(--paper);
}

.button-inverse:hover {
  background: var(--white);
  color: var(--ink);
}

.finale-symbol {
  margin-inline: auto;
  font-size: 2.5rem;
  animation: pulse 4s ease-in-out infinite;
}

.finale-orbit {
  top: 50%;
  left: 50%;
  width: min(130vw, 64rem);
  aspect-ratio: 1;
  border-color: rgba(7, 8, 6, 0.2);
  transform: translate(-50%, -50%);
  animation: orbit-centered 25s linear infinite;
}

.finale-orbit::after {
  background: var(--ink);
  box-shadow: none;
}

.site-footer {
  display: grid;
  gap: 1.25rem;
  padding: 2rem 1rem;
  background: var(--ink);
  color: var(--paper);
}

.site-footer p {
  max-width: 35rem;
  margin: 0;
  color: var(--muted);
  font-size: 0.62rem;
  line-height: 1.5;
}

@keyframes drift {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -0.8rem; }
}

@keyframes pulse {
  0%, 100% { opacity: 0.45; scale: 0.96; }
  50% { opacity: 1; scale: 1.03; }
}

@keyframes orbit {
  to { rotate: 360deg; }
}

@keyframes orbit-centered {
  from { transform: translate(-50%, -50%) rotate(0); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

@keyframes reveal {
  from { opacity: 0; transform: translateY(0.6rem); }
  to { opacity: 1; transform: translateY(0); }
}

@media (min-width: 36rem) {
  .site-header,
  .hero,
  .section-shell,
  .finale,
  .site-footer {
    padding-right: 1.5rem;
    padding-left: 1.5rem;
  }

  .microcopy,
  .search-field kbd {
    display: block;
  }

  .object-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .object-card {
    min-height: 10rem;
    padding: 1rem;
  }

  .meaning-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .meaning-card:nth-child(odd) {
    border-right: 1px solid var(--line-light);
  }
}

@media (min-width: 48rem) {
  .site-header,
  .hero,
  .section-shell,
  .finale,
  .site-footer {
    padding-right: 2.5rem;
    padding-left: 2.5rem;
  }

  .site-nav {
    display: flex;
  }

  .hero {
    padding-bottom: 6.5rem;
  }

  .hero-copy,
  .hero-stats {
    width: min(100%, var(--max));
  }

  .hero-lead {
    margin-left: 18%;
  }

  .hero-actions {
    margin-left: 18%;
  }

  .hero-stats {
    width: min(82%, 62rem);
    margin-right: 0;
  }

  .section-shell {
    padding-top: 7rem;
    padding-bottom: 7rem;
  }

  .section-intro {
    grid-template-columns: minmax(8rem, 0.35fr) 1fr;
    margin-bottom: 4.5rem;
  }

  .story-content {
    padding: 4rem;
  }

  .story-meta {
    padding-inline: 1.5rem;
  }

  .meaning-card {
    padding: 1.75rem;
  }

  .dream-stage {
    min-height: 42rem;
  }

  .site-footer {
    grid-template-columns: 1fr 2fr 1fr;
    align-items: end;
  }

  .site-footer p:last-child {
    text-align: right;
  }
}

@media (min-width: 64rem) {
  .builder-layout {
    grid-template-columns: minmax(0, 1fr) 22rem;
    align-items: start;
  }

  .selection-panel {
    position: sticky;
    top: 1.5rem;
    min-height: 32rem;
    padding: 1.5rem;
  }

  .selected-list {
    min-height: 18rem;
  }

  .object-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .object-card {
    min-height: 11rem;
  }

  .section-intro > div > p {
    margin-left: 30%;
  }

  .meaning-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .meaning-card,
  .meaning-card:nth-child(odd) {
    border-right: 1px solid var(--line-light);
  }

  .meaning-card:nth-child(3n) {
    border-right: 0;
  }
}

@media (min-width: 90rem) {
  .site-header,
  .hero,
  .section-shell,
  .finale,
  .site-footer {
    padding-right: max(3rem, calc((100vw - var(--max)) / 2));
    padding-left: max(3rem, calc((100vw - var(--max)) / 2));
  }

  .site-header {
    width: 100%;
  }
}

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

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

  .dream-node {
    transform: translate(-50%, -50%) scale(var(--scale));
  }
}
