:root {
  color-scheme: dark;
  --midnight: #050713;
  --deep: #0b1028;
  --indigo: #17123d;
  --violet: #30205f;
  --moon: #f6f0df;
  --mist: #c9d3e7;
  --silver: #aebbd4;
  --gold: #d9ad52;
  --ember: #f1c35f;
  --aqua: #86d6d1;
  --ink: #161723;
  --paper: #f4ead8;
  --paper-soft: #fff7e9;
  --line-dark: rgba(255, 255, 255, 0.16);
  --line-paper: rgba(37, 28, 61, 0.16);
  --shadow: 0 30px 90px rgba(0, 0, 0, 0.38);
  --section-overlap: clamp(56px, 6vw, 92px);
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Trebuchet MS", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 20% 0%, rgba(134, 214, 209, 0.16), transparent 26rem),
    radial-gradient(circle at 80% 14%, rgba(217, 173, 82, 0.14), transparent 24rem),
    linear-gradient(180deg, var(--midnight), #10132f 45rem, var(--paper) 45rem);
  color: var(--moon);
  font-family: var(--serif);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.38;
  background-image:
    radial-gradient(circle, rgba(255,255,255,0.66) 0 1px, transparent 1.4px),
    radial-gradient(circle, rgba(217,173,82,0.5) 0 1px, transparent 1.3px);
  background-position: 0 0, 42px 64px;
  background-size: 112px 112px, 170px 170px;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.16;
  background:
    radial-gradient(circle at 12% 34%, rgba(134,214,209,0.12), transparent 22rem),
    radial-gradient(circle at 88% 66%, rgba(217,173,82,0.1), transparent 24rem),
    linear-gradient(180deg, transparent, rgba(246,240,223,0.04) 42%, transparent 76%);
  mix-blend-mode: screen;
}

main {
  overflow: clip;
  background:
    linear-gradient(180deg, #050713 0%, #17123d 18%, #f4ead8 34%, #0b1028 52%, #f4ead8 68%, #080a1d 84%, #050713 100%);
}

main > section {
  position: relative;
  isolation: isolate;
}

main > section > * {
  position: relative;
  z-index: 2;
}

.dream-veil {
  --veil-size: clamp(140px, 14vw, 220px);
  position: relative;
  z-index: 4;
  height: var(--veil-size);
  margin: calc(var(--veil-size) * -0.5) 0;
  pointer-events: none;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 22%, #000 50%, rgba(0,0,0,0.7) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.7) 22%, #000 50%, rgba(0,0,0,0.7) 78%, transparent 100%);
}

.dream-veil::before,
.dream-veil::after {
  content: "";
  position: absolute;
  inset: -12%;
  pointer-events: none;
}

.dream-veil::before {
  opacity: 0.72;
  background:
    radial-gradient(circle at 22% 45%, rgba(241,195,95,0.28) 0 1.5px, transparent 2.4px),
    radial-gradient(circle at 72% 56%, rgba(134,214,209,0.22) 0 1.4px, transparent 2.2px),
    radial-gradient(ellipse at 50% 52%, rgba(246,240,223,0.2), transparent 34rem);
}

.dream-veil::after {
  opacity: 0.9;
  filter: blur(14px);
}

.veil-night-to-paper::after {
  background:
    radial-gradient(ellipse at 50% 52%, rgba(244,234,216,0.5), transparent 34rem),
    linear-gradient(180deg, rgba(23,18,61,0), rgba(116,105,126,0.5) 42%, rgba(244,234,216,0));
}

.veil-paper-to-night::after {
  background:
    radial-gradient(ellipse at 50% 52%, rgba(134,214,209,0.13), transparent 30rem),
    linear-gradient(180deg, rgba(244,234,216,0), rgba(92,82,105,0.46) 42%, rgba(8,10,29,0));
}

.veil-night-to-deep::after {
  background:
    radial-gradient(ellipse at 68% 48%, rgba(217,173,82,0.14), transparent 30rem),
    linear-gradient(180deg, rgba(20,24,58,0), rgba(30,22,72,0.38) 48%, rgba(5,7,19,0));
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a,
input,
select,
textarea {
  outline-color: var(--ember);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--moon);
  color: var(--ink);
  padding: 10px 16px;
  font-family: var(--sans);
  font-weight: 800;
}

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

.site-header {
  position: fixed;
  top: 18px;
  left: 0;
  right: 0;
  z-index: 50;
  padding: 0 clamp(18px, 4vw, 58px);
  pointer-events: none;
  animation: navArrival 900ms cubic-bezier(.2,.8,.2,1) both;
}

.nav-shell {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(18px, 3vw, 34px);
  width: min(100%, 1320px);
  min-height: 76px;
  margin: 0 auto;
  padding: 10px 12px 10px 18px;
  border: 1px solid rgba(246, 240, 223, 0.16);
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255,247,233,0.07), transparent 16%, rgba(217,173,82,0.08)),
    rgba(5, 7, 19, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 20px 70px rgba(0,0,0,0.24);
  backdrop-filter: blur(20px) saturate(1.2);
  pointer-events: auto;
  transition: min-height 260ms ease, padding 260ms ease, background 260ms ease, border-color 260ms ease, box-shadow 260ms ease, transform 260ms ease;
}

.nav-shell::before {
  content: "";
  position: absolute;
  inset: -6px 22px auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(241,195,95,0.75), rgba(134,214,209,0.42), transparent);
  opacity: 0.72;
}

.nav-shell::after {
  content: "";
  position: absolute;
  left: 32px;
  right: 32px;
  bottom: 10px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(246,240,223,0.18), transparent);
  pointer-events: none;
}

.site-header.is-scrolled .nav-shell {
  min-height: 64px;
  padding-top: 7px;
  padding-bottom: 7px;
  border-color: rgba(217, 173, 82, 0.28);
  background:
    linear-gradient(90deg, rgba(255,247,233,0.09), transparent 16%, rgba(217,173,82,0.1)),
    rgba(5, 7, 19, 0.84);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.08),
    0 14px 52px rgba(0,0,0,0.36);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
  color: var(--moon);
  text-decoration: none;
}

.brand-mark {
  width: 48px;
  height: 48px;
  fill: none;
  stroke: var(--gold);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  filter: drop-shadow(0 0 16px rgba(217, 173, 82, 0.42));
  transition: transform 240ms ease, filter 240ms ease;
}

.brand:hover .brand-mark,
.brand:focus-visible .brand-mark {
  transform: rotate(-8deg) translateY(-1px);
  filter: drop-shadow(0 0 20px rgba(241, 195, 95, 0.68));
}

.brand-text {
  display: grid;
  gap: 1px;
}

.brand-text span {
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.brand-text em {
  color: rgba(246,240,223,0.54);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-style: normal;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(8px, 1.2vw, 18px);
  font-family: var(--sans);
  font-size: 0.82rem;
}

.site-footer {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  font-family: var(--sans);
  font-size: 0.9rem;
}

.site-footer a {
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: var(--ember);
}

.main-nav a {
  --trace: rgba(241,195,95,0.66);
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 8px 10px;
  color: rgba(246,240,223,0.76);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 190ms ease, transform 190ms ease;
}

.main-nav a:not(.nav-cta)::before {
  content: var(--nav-index);
  margin-right: 7px;
  color: rgba(217,173,82,0.72);
  font-size: 0.62rem;
  letter-spacing: 0;
  transform: translateY(-1px);
}

.main-nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 6px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--trace), rgba(134,214,209,0.48), transparent);
  opacity: 0;
  transform: scaleX(0.35);
  transform-origin: center;
  transition: opacity 200ms ease, transform 240ms ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--moon);
  transform: translateY(-1px);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

.nav-cta {
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(217, 173, 82, 0.42);
  border-radius: 999px 999px 999px 16px;
  background:
    radial-gradient(circle at 22% 50%, rgba(241,195,95,0.18), transparent 4rem),
    rgba(246,240,223,0.06);
  color: var(--ember);
  box-shadow: inset 0 0 22px rgba(217,173,82,0.08);
  overflow: hidden;
}

.nav-cta::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 16px rgba(241,195,95,0.9);
}

.nav-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.22), transparent 62%);
  transform: translateX(-120%);
  transition: transform 500ms ease;
}

.nav-cta:hover::after,
.nav-cta:focus-visible::after {
  transform: translateX(120%);
}

.nav-cta span {
  position: relative;
  z-index: 1;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  border: 1px solid rgba(217,173,82,0.34);
  border-radius: 999px;
  background: rgba(246,240,223,0.07);
  color: var(--moon);
  padding: 8px 12px 8px 15px;
  font-family: var(--sans);
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
}

.nav-toggle i {
  position: relative;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(241,195,95,0.62);
  border-radius: 50%;
}

.nav-toggle i::before,
.nav-toggle i::after {
  content: "";
  position: absolute;
  left: 6px;
  right: 6px;
  top: 10px;
  height: 1px;
  background: var(--ember);
  transition: transform 200ms ease;
}

.nav-toggle i::after {
  transform: translateY(4px);
}

.site-header.menu-open .nav-toggle i::before {
  transform: translateY(2px) rotate(45deg);
}

.site-header.menu-open .nav-toggle i::after {
  transform: translateY(2px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100svh - 75px);
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(360px, 0.78fr);
  align-items: center;
  gap: clamp(28px, 5vw, 80px);
  overflow: hidden;
  padding: clamp(132px, 13vw, 172px) clamp(20px, 5vw, 76px) clamp(74px, 8vw, 110px);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: clamp(140px, 18vw, 260px);
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 72% 28%, rgba(134,214,209,0.16), transparent 32rem),
    linear-gradient(180deg, transparent 0%, rgba(5,7,19,0.74) 46%, rgba(5,7,19,0.96) 100%);
}

.nightfall,
.nightfall::after,
.constellation-field,
.dream-fragments {
  position: absolute;
  inset: 0;
}

.nightfall {
  z-index: -3;
}

.nightfall::after {
  content: "";
  background:
    radial-gradient(circle at var(--cursor-x, 70%) var(--cursor-y, 42%), rgba(217,173,82,0.2), transparent 16rem),
    radial-gradient(circle at 70% 48%, rgba(134,214,209,0.16), transparent 20rem),
    linear-gradient(100deg, rgba(5,7,19,0.98), rgba(12,16,40,0.88) 48%, rgba(5,7,19,0.44));
}

.nightfall img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.12);
}

.constellation-field {
  pointer-events: none;
  z-index: -1;
}

.constellation-field span {
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--ember);
  box-shadow: 0 0 20px rgba(241, 195, 95, 0.9);
  animation: drift 14s ease-in-out infinite;
}

.constellation-field span:nth-child(1) { left: 8%; top: 24%; }
.constellation-field span:nth-child(2) { left: 24%; top: 76%; width: 4px; height: 4px; background: var(--aqua); animation-delay: -2s; }
.constellation-field span:nth-child(3) { left: 51%; top: 18%; width: 5px; height: 5px; animation-delay: -5s; }
.constellation-field span:nth-child(4) { left: 73%; top: 68%; background: white; animation-delay: -8s; }
.constellation-field span:nth-child(5) { left: 88%; top: 26%; width: 4px; height: 4px; background: var(--mist); animation-delay: -10s; }
.constellation-field span:nth-child(6) { left: 41%; top: 58%; width: 3px; height: 3px; animation-delay: -3s; }

.dream-fragments {
  pointer-events: none;
  z-index: 1;
  font-family: var(--sans);
  font-size: 0.76rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.dream-fragments span {
  position: absolute;
  color: rgba(246, 240, 223, 0.42);
  transform: rotate(-8deg);
  animation: breathe 9s ease-in-out infinite;
}

.dream-fragments span:nth-child(1) { left: 17%; top: 18%; }
.dream-fragments span:nth-child(2) { left: 42%; top: 78%; animation-delay: -2s; }
.dream-fragments span:nth-child(3) { right: 11%; top: 21%; animation-delay: -4s; }
.dream-fragments span:nth-child(4) { right: 18%; bottom: 13%; animation-delay: -6s; }

.hero-copy,
.portal-stage {
  position: relative;
  z-index: 2;
}

.hero-copy {
  z-index: 4;
}

.quiet-label,
.folio,
.world-number {
  margin: 0 0 18px;
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(4rem, 8vw, 8.8rem);
  line-height: 0.86;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(2.4rem, 5vw, 5.8rem);
  line-height: 0.92;
  letter-spacing: -0.01em;
  text-wrap: balance;
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(1.55rem, 2.2vw, 2.4rem);
  line-height: 1;
}

.hero-copy > p:not(.quiet-label),
.archive-note p,
.consult-copy > p,
.manuscript > p,
.path-copy p,
.closing-copy p {
  max-width: 680px;
  color: rgba(246, 240, 223, 0.78);
  font-size: clamp(1.08rem, 1.45vw, 1.32rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 22px;
  font-family: var(--sans);
  font-weight: 900;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

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

.primary {
  background: var(--ember);
  color: #201400;
  box-shadow: 0 16px 44px rgba(241, 195, 95, 0.28);
}

.ghost {
  border-color: rgba(246, 240, 223, 0.34);
  background: rgba(246, 240, 223, 0.07);
  color: var(--moon);
}

.portal-stage {
  min-height: 650px;
  isolation: isolate;
  transform: translate3d(calc(var(--mx, 0) * 14px), calc(var(--my, 0) * 10px), 0);
  transition: transform 240ms ease;
}

.portal-ring {
  position: absolute;
  inset: 7% 0 9%;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(246,240,223,0.16), transparent 16%),
    radial-gradient(circle at 50% 50%, rgba(134,214,209,0.22), transparent 35%),
    radial-gradient(circle at 50% 52%, rgba(217,173,82,0.22), transparent 58%);
  filter: blur(1px);
  opacity: 0.96;
  animation: pulsePortal 7s ease-in-out infinite;
}

.portal-ring::before {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(246, 240, 223, 0.24);
  border-radius: 50%;
  box-shadow: inset 0 0 55px rgba(134,214,209,0.12), 0 0 75px rgba(217,173,82,0.14);
}

.hero-book {
  position: absolute;
  bottom: 76px;
  filter: drop-shadow(0 34px 42px rgba(0,0,0,0.56));
  transition: transform 260ms ease, filter 260ms ease;
}

.hero-book-center {
  left: 46%;
  z-index: 4;
  width: min(68%, 405px);
  transform: translateX(-50%) rotate(-2deg);
}

.hero-book-left {
  left: 20%;
  z-index: 3;
  width: min(55%, 330px);
  transform: translateX(-50%) rotate(-10deg) translateY(26px);
}

.hero-book-right {
  left: 75%;
  z-index: 2;
  width: min(52%, 315px);
  transform: translateX(-50%) rotate(8deg) translateY(24px);
}

.portal-stage:hover .hero-book-center {
  transform: translateX(-50%) rotate(-1deg) translateY(-10px);
}

.portal-stage:hover .hero-book-left {
  transform: translateX(-50%) rotate(-8deg) translateY(14px);
}

.portal-stage:hover .hero-book-right {
  transform: translateX(-50%) rotate(6deg) translateY(16px);
}

.scroll-cue {
  position: absolute;
  left: clamp(20px, 5vw, 76px);
  bottom: 28px;
  z-index: 3;
  color: rgba(246, 240, 223, 0.72);
  font-family: var(--sans);
  text-decoration: none;
}

.scroll-cue::after {
  content: "";
  display: inline-block;
  width: 42px;
  height: 1px;
  margin-left: 12px;
  vertical-align: middle;
  background: currentColor;
}

.archive {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.72fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: end;
  padding: clamp(84px, 11vw, 160px) clamp(20px, 5vw, 76px);
  background:
    radial-gradient(circle at 72% -8%, rgba(134,214,209,0.13), transparent 26rem),
    linear-gradient(180deg, rgba(5,7,19,0.98), rgba(13,14,42,0.96) 52%, rgba(23,18,61,0.92)),
    var(--deep);
}

.archive,
.book-worlds,
.consultations,
.about,
.experiences,
.closing {
  isolation: isolate;
}

.archive::after,
.book-worlds::after,
.consultations::after,
.about::after,
.experiences::after,
.closing::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.62) 18%, #000 42%, rgba(0,0,0,0.58) 76%, transparent 100%);
  mask-image: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.62) 18%, #000 42%, rgba(0,0,0,0.58) 76%, transparent 100%);
}

.archive::after,
.book-worlds::after,
.consultations::after,
.about::after,
.experiences::after,
.closing::before {
  display: none;
}

.book-worlds,
.consultations,
.about,
.experiences,
.closing {
  margin-top: calc(var(--section-overlap) * -1);
}

.book-worlds,
.consultations,
.about,
.experiences,
.closing {
  padding-top: calc(clamp(84px, 9vw, 132px) + var(--section-overlap));
}

.archive::after {
  bottom: -126px;
  height: 300px;
  background:
    radial-gradient(circle at 25% 42%, rgba(241,195,95,0.28) 0 2px, transparent 2.6px),
    radial-gradient(circle at 72% 54%, rgba(134,214,209,0.22) 0 1.5px, transparent 2.2px),
    radial-gradient(ellipse at 50% 54%, rgba(217,173,82,0.12), transparent 24rem),
    linear-gradient(180deg, rgba(23,18,61,0), rgba(244,234,216,0.3) 48%, rgba(244,234,216,0.12) 72%, rgba(244,234,216,0));
  background-size: auto, auto, auto, auto;
}

.archive-note {
  max-width: 880px;
}

.archive-map {
  position: relative;
  display: grid;
  gap: 18px;
  padding-left: 28px;
}

.archive-map::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: linear-gradient(var(--gold), rgba(134,214,209,0.1));
}

.archive-map article {
  position: relative;
  padding: 20px 20px 20px 24px;
  border: 1px solid var(--line-dark);
  border-radius: 2px 28px 2px 2px;
  background: rgba(255, 255, 255, 0.06);
}

.archive-map article::before {
  content: "";
  position: absolute;
  left: -28px;
  top: 24px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--ember);
  box-shadow: 0 0 22px rgba(241, 195, 95, 0.72);
}

.archive-map span,
.offering-path span {
  color: var(--moon);
  font-family: var(--sans);
  font-weight: 900;
}

.archive-map p,
.offering-path p {
  margin: 8px 0 0;
  color: rgba(246, 240, 223, 0.68);
  font-family: var(--sans);
}

.book-worlds {
  position: relative;
  overflow: hidden;
  padding: clamp(104px, 10vw, 150px) clamp(20px, 5vw, 76px) clamp(62px, 7vw, 110px);
  background:
    linear-gradient(180deg, #17123d 0%, rgba(23,18,61,0.9) 14%, rgba(95,86,113,0.62) 31%, rgba(219,207,190,0.88) 48%, rgba(244,234,216,0.98) 64%, rgba(244,234,216,0) 86%),
    radial-gradient(circle at 16% 24%, rgba(134,214,209,0.14), transparent 24rem),
    radial-gradient(circle at 86% 22%, rgba(217,173,82,0.14), transparent 24rem),
    linear-gradient(180deg, var(--paper), #eadfcc);
  color: var(--ink);
}

.book-worlds::before,
.consultations::before,
.about::before,
.experiences::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: clamp(300px, 30vw, 460px);
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.9) 44%, rgba(0,0,0,0.34) 78%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0,0,0,0.9) 44%, rgba(0,0,0,0.34) 78%, transparent 100%);
}

.book-worlds::before,
.consultations::before,
.about::before,
.experiences::before {
  display: none;
}

.book-worlds::before {
  background:
    radial-gradient(ellipse at 26% 30%, rgba(217,173,82,0.14), transparent 24rem),
    linear-gradient(180deg, rgba(23,18,61,0.94), rgba(70,61,94,0.58) 48%, rgba(244,234,216,0.06));
}

.book-worlds::after {
  bottom: -126px;
  height: 300px;
  background:
    radial-gradient(circle at 68% 42%, rgba(241,195,95,0.22) 0 2px, transparent 2.6px),
    radial-gradient(ellipse at 72% 28%, rgba(217,173,82,0.11), transparent 24rem),
    linear-gradient(180deg, rgba(234,223,204,0), rgba(11,16,40,0.32) 48%, rgba(11,16,40,0.14) 74%, rgba(11,16,40,0));
}

.books-intro {
  position: relative;
  z-index: 2;
  max-width: 960px;
  margin-bottom: clamp(34px, 5vw, 66px);
}

.book-worlds .books-intro .folio,
.book-worlds .books-intro h2 {
  color: var(--moon);
  text-shadow: 0 3px 26px rgba(5, 7, 19, 0.45);
}

.book-worlds .folio,
.book-worlds .world-number {
  color: #755720;
}

.world-stack {
  position: relative;
  z-index: 2;
  display: grid;
  gap: clamp(18px, 3vw, 28px);
  width: min(100%, 1120px);
  margin: 0 auto;
}

.book-world {
  --world-glow: rgba(217, 173, 82, 0.26);
  --glow-x: 50%;
  --glow-y: 50%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.52fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(18px, 4vw, 58px);
  min-height: 430px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid var(--line-paper);
  border-radius: 10px;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(255,255,255,0.34), transparent 12rem),
    radial-gradient(circle at 28% 48%, var(--world-glow), transparent 19rem),
    linear-gradient(135deg, rgba(255,255,255,0.62), rgba(255,255,255,0.2));
  box-shadow: 0 18px 58px rgba(37, 28, 61, 0.1);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease, background 220ms ease;
}

.book-world::before {
  content: "";
  position: absolute;
  inset: -28%;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(circle at var(--glow-x) var(--glow-y), rgba(241,195,95,0.46), transparent 12rem),
    radial-gradient(circle at calc(var(--glow-x) + 12%) calc(var(--glow-y) - 10%), rgba(134,214,209,0.28), transparent 16rem);
  filter: blur(16px);
  transition: opacity 220ms ease;
}

.book-world > * {
  position: relative;
  z-index: 1;
}

.book-world:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.52fr);
}

.book-world:nth-child(even) .world-image {
  order: 2;
}

.world-escape {
  --world-glow: rgba(92, 142, 100, 0.28);
}

.world-pirate {
  --world-glow: rgba(41, 86, 126, 0.28);
}

.book-world:hover,
.book-world.is-active {
  border-color: rgba(241, 195, 95, 0.44);
  box-shadow: 0 24px 70px rgba(37, 28, 61, 0.16), 0 0 34px rgba(241,195,95,0.18);
  transform: translateY(-3px);
}

.book-world:hover::before,
.book-world.is-active::before {
  opacity: 1;
}

.world-image {
  position: relative;
  min-height: 360px;
  display: grid;
  place-items: center;
}

.world-image::before {
  content: "";
  position: absolute;
  width: min(92%, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(255,255,255,0.26), transparent 28%),
    radial-gradient(circle, var(--world-glow), transparent 64%);
  filter: blur(2px);
  transition: transform 240ms ease, opacity 240ms ease;
}

.world-image img {
  position: relative;
  max-height: 390px;
  width: auto;
  filter: drop-shadow(0 22px 26px rgba(22,23,35,0.32));
  transition: transform 240ms ease, filter 240ms ease;
}

.book-world:hover img {
  filter: drop-shadow(0 26px 28px rgba(22,23,35,0.36)) drop-shadow(0 0 22px rgba(241,195,95,0.34));
  transform: rotate(-1deg) translateY(-6px) scale(1.025);
}

.book-world:hover .world-image::before,
.book-world.is-active .world-image::before {
  opacity: 1;
  transform: scale(1.08);
}

.world-copy {
  max-width: 560px;
}

.world-copy p:not(.world-number) {
  color: #4e4a54;
  font-family: var(--sans);
  font-size: 1.08rem;
}

.world-copy a {
  display: inline-flex;
  margin-top: 18px;
  color: #695013;
  font-family: var(--sans);
  font-weight: 900;
}

.consultations {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 92px);
  align-items: center;
  padding: clamp(104px, 10vw, 150px) clamp(20px, 5vw, 76px) clamp(64px, 7vw, 112px);
  background:
    linear-gradient(180deg, #eadfcc 0%, rgba(234,223,204,0.9) 14%, rgba(102,91,108,0.58) 33%, rgba(31,31,67,0.86) 53%, rgba(11,16,40,0.98) 70%, rgba(11,16,40,0) 92%),
    radial-gradient(circle at 76% 20%, rgba(217,173,82,0.14), transparent 24rem),
    linear-gradient(145deg, #0b1028, #211747);
}

.consultations::before {
  background:
    radial-gradient(ellipse at 72% 30%, rgba(217,173,82,0.14), transparent 24rem),
    linear-gradient(180deg, rgba(234,223,204,0.82), rgba(79,70,94,0.48) 44%, rgba(11,16,40,0.05));
}

.consultations::after {
  bottom: -126px;
  height: 300px;
  background:
    radial-gradient(circle at 34% 48%, rgba(134,214,209,0.24) 0 1.8px, transparent 2.4px),
    radial-gradient(ellipse at 70% 55%, rgba(134,214,209,0.1), transparent 26rem),
    linear-gradient(180deg, rgba(33,23,71,0), rgba(244,234,216,0.3) 48%, rgba(244,234,216,0.12) 74%, rgba(244,234,216,0));
}

.consult-scene {
  position: relative;
  z-index: 2;
}

.consult-scene.compact {
  width: min(100%, 440px);
  margin-top: 28px;
}

.consult-scene img {
  width: 100%;
  max-height: 720px;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  border-radius: 52% 52% 6px 6px;
  box-shadow: var(--shadow);
}

.consult-scene.compact img {
  max-height: 390px;
  border-radius: 46% 46% 8px 8px;
  opacity: 0.84;
}

.consult-orbit span {
  position: absolute;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: var(--ember);
  font-family: var(--sans);
  font-weight: 900;
}

.consult-orbit span:nth-child(1) { width: 54px; height: 54px; right: 6%; top: 10%; }
.consult-orbit span:nth-child(2) { width: 40px; height: 40px; left: 4%; top: 38%; }
.consult-orbit span:nth-child(3) { width: 86px; height: 86px; right: -2%; bottom: 16%; }

.dream-router {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0 18px;
}

.dream-router button {
  border: 1px solid rgba(246,240,223,0.24);
  border-radius: 999px;
  background: rgba(246,240,223,0.07);
  color: var(--moon);
  padding: 11px 15px;
  cursor: pointer;
}

.dream-router button:hover,
.dream-router button.is-selected {
  border-color: rgba(241,195,95,0.78);
  background: rgba(241,195,95,0.16);
}

.dream-response {
  position: relative;
  z-index: 2;
  max-width: 660px;
  margin-bottom: 28px;
  padding: 22px;
  border: 1px solid rgba(241,195,95,0.24);
  border-radius: 6px 34px 6px 6px;
  background: rgba(255,255,255,0.08);
}

.consult-copy {
  position: relative;
  z-index: 2;
}

.response-title {
  margin-bottom: 8px;
  color: var(--ember);
  font-family: var(--sans);
  font-weight: 900;
}

.response-copy {
  margin: 0;
  color: rgba(246,240,223,0.76);
  font-family: var(--sans);
}

.dream-intake {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  min-height: 720px;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(246,240,223,0.16);
  border-radius: 8px 44px 8px 8px;
  background:
    radial-gradient(circle at var(--intake-x, 72%) var(--intake-y, 24%), rgba(241,195,95,0.15), transparent 18rem),
    radial-gradient(circle at 18% 82%, rgba(134,214,209,0.1), transparent 18rem),
    linear-gradient(150deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

.dream-intake::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.26;
  background-image:
    radial-gradient(circle, rgba(246,240,223,0.5) 0 1px, transparent 1.5px),
    linear-gradient(120deg, transparent 0 42%, rgba(241,195,95,0.12) 42.2%, transparent 43%);
  background-size: 120px 120px, 100% 100%;
}

.dream-thread {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
  align-items: center;
}

.dream-thread::before {
  content: "";
  position: absolute;
  left: 4%;
  right: 4%;
  top: 50%;
  height: 1px;
  background: linear-gradient(90deg, rgba(241,195,95,0.16), rgba(134,214,209,0.4), rgba(241,195,95,0.16));
}

.dream-thread span {
  position: relative;
  z-index: 1;
  justify-self: center;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(246,240,223,0.34);
  border-radius: 999px;
  background: rgba(5,7,19,0.74);
  box-shadow: inset -5px 0 0 rgba(246,240,223,0.12);
  transition: transform 220ms ease, background 220ms ease, box-shadow 220ms ease;
}

.dream-thread span.is-active,
.dream-thread span.is-complete {
  background: var(--ember);
  box-shadow: 0 0 22px rgba(241,195,95,0.62);
}

.dream-thread span.is-active {
  transform: scale(1.22);
}

.dream-form-stage {
  position: relative;
  z-index: 2;
  min-height: 610px;
}

.dream-step {
  display: none;
  min-height: 610px;
  margin: 0;
  padding: clamp(18px, 3vw, 34px);
  border: 1px solid rgba(246,240,223,0.14);
  border-radius: 6px 34px 6px 6px;
  background:
    linear-gradient(90deg, rgba(246,240,223,0.055) 0 1px, transparent 1px) 18px 0 / 30px 100%,
    rgba(5,7,19,0.28);
}

.dream-step.is-active {
  display: grid;
  align-content: start;
  gap: 18px;
  animation: dreamStepIn 360ms ease both;
}

.dream-step h3,
.dream-confirmation h3 {
  max-width: 760px;
  margin: 0;
  color: var(--moon);
  font-size: clamp(2rem, 4.2vw, 4.1rem);
  line-height: 0.98;
}

.dream-step p,
.dream-confirmation p {
  max-width: 720px;
  margin: 0;
  color: rgba(246,240,223,0.76);
  font-family: var(--sans);
  font-size: 1.02rem;
}

.journal-field,
.branch-prompt,
.contact-fields label {
  display: grid;
  gap: 8px;
  color: rgba(246,240,223,0.78);
  font-family: var(--sans);
  font-weight: 900;
}

.journal-field textarea,
.journal-field input,
.branch-prompt input,
.contact-fields input {
  border-color: rgba(241,195,95,0.24);
  background:
    linear-gradient(90deg, rgba(117,87,32,0.08) 0 1px, transparent 1px) 22px 0 / 30px 100%,
    rgba(255,247,233,0.96);
  box-shadow: inset 0 0 24px rgba(217,173,82,0.1);
}

.journal-field textarea {
  min-height: 190px;
}

.compact-field textarea {
  min-height: 112px;
}

.symbol-grid,
.feeling-trail,
.resonance-map,
.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.symbol-grid label,
.feeling-trail label,
.resonance-map label,
.choice-row label,
.color-memory label {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  border: 1px solid rgba(246,240,223,0.16);
  border-radius: 999px;
  background: rgba(255,255,255,0.065);
  color: rgba(246,240,223,0.82);
  padding: 11px 15px;
  font-family: var(--sans);
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.symbol-grid label:hover,
.feeling-trail label:hover,
.resonance-map label:hover,
.choice-row label:hover,
.color-memory label:hover {
  border-color: rgba(241,195,95,0.58);
  transform: translateY(-1px);
}

.symbol-grid label:has(input:checked),
.feeling-trail label:has(input:checked),
.resonance-map label:has(input:checked),
.choice-row label:has(input:checked),
.color-memory label:has(input:checked) {
  border-color: rgba(241,195,95,0.82);
  background: rgba(241,195,95,0.16);
  box-shadow: 0 0 22px rgba(241,195,95,0.14);
}

.symbol-grid input,
.feeling-trail input,
.resonance-map input,
.choice-row input,
.color-memory input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.color-memory {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.color-memory label {
  justify-content: center;
  border-radius: 8px 28px 8px 8px;
  padding-left: 42px;
}

.color-memory label::before {
  content: "";
  position: absolute;
  left: 14px;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(246,240,223,0.42);
  border-radius: 999px;
  background: var(--swatch);
  box-shadow: 0 0 18px color-mix(in srgb, var(--swatch), transparent 38%);
}

.branch-prompt {
  display: none;
  padding: 16px;
  border: 1px solid rgba(134,214,209,0.22);
  border-radius: 6px 26px 6px 6px;
  background: rgba(134,214,209,0.075);
}

.branch-prompt.is-visible {
  display: grid;
}

.preview-card {
  display: grid;
  gap: 12px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid rgba(241,195,95,0.28);
  border-radius: 8px 38px 8px 8px;
  background:
    radial-gradient(circle at 14% 20%, rgba(241,195,95,0.16), transparent 14rem),
    rgba(255,255,255,0.08);
}

.preview-card .preview-copy {
  color: var(--moon);
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2.1vw, 1.8rem);
  line-height: 1.24;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.contact-fields span {
  color: rgba(246,240,223,0.48);
  font-weight: 400;
}

.contact-fields .field-label {
  display: inline-flex;
  gap: 0.42em;
  align-items: baseline;
  color: inherit;
  font-weight: inherit;
  white-space: nowrap;
}

.contact-fields .field-label em {
  color: rgba(246,240,223,0.5);
  font-style: normal;
  font-weight: 400;
}

.step-actions,
.closing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 6px;
}

.dream-confirmation {
  min-height: 610px;
  padding: clamp(22px, 4vw, 44px);
  border: 1px solid rgba(241,195,95,0.22);
  border-radius: 8px 42px 8px 8px;
  background:
    radial-gradient(circle at 70% 30%, rgba(241,195,95,0.18), transparent 18rem),
    rgba(255,255,255,0.08);
}

.dream-confirmation:not([hidden]) {
  display: grid;
  align-content: center;
  gap: 18px;
  animation: dreamStepIn 360ms ease both;
}

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

.about {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.72fr);
  gap: clamp(34px, 7vw, 100px);
  align-items: center;
  padding: clamp(104px, 10vw, 150px) clamp(20px, 5vw, 76px) clamp(64px, 7vw, 112px);
  background:
    linear-gradient(180deg, #211747 0%, rgba(33,23,71,0.88) 14%, rgba(112,100,124,0.58) 33%, rgba(220,209,194,0.9) 54%, rgba(244,234,216,0.98) 72%, rgba(244,234,216,0) 92%),
    radial-gradient(circle at 20% -8%, rgba(134,214,209,0.08), transparent 22rem),
    linear-gradient(90deg, rgba(244,234,216,0.94), rgba(244,234,216,0.76)),
    var(--paper);
  color: var(--ink);
}

.about::before {
  background:
    radial-gradient(ellipse at 22% 30%, rgba(134,214,209,0.11), transparent 23rem),
    linear-gradient(180deg, rgba(33,23,71,0.86), rgba(95,82,112,0.5) 44%, rgba(244,234,216,0.05));
}

.about::after {
  bottom: -126px;
  height: 300px;
  background:
    radial-gradient(circle at 22% 42%, rgba(217,173,82,0.24) 0 1.8px, transparent 2.5px),
    radial-gradient(ellipse at 20% 46%, rgba(134,214,209,0.09), transparent 24rem),
    linear-gradient(180deg, rgba(244,234,216,0), rgba(8,10,29,0.32) 48%, rgba(8,10,29,0.14) 74%, rgba(8,10,29,0));
}

.about .folio {
  color: #755720;
}

.manuscript {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: clamp(24px, 4vw, 48px);
  border-left: 1px solid rgba(117,87,32,0.42);
  background:
    linear-gradient(90deg, rgba(117,87,32,0.08) 0 1px, transparent 1px) 28px 0 / 34px 100%,
    rgba(255, 247, 233, 0.62);
}

.manuscript > p {
  color: #5c5360;
}

blockquote {
  margin: 30px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(117,87,32,0.32);
  color: #2d2541;
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  line-height: 1.22;
}

.author-panel {
  position: relative;
  z-index: 2;
  display: grid;
  justify-self: end;
  width: min(100%, 560px);
  gap: 16px;
}

.portrait-card {
  position: relative;
  padding: 12px;
  border: 1px solid rgba(117,87,32,0.18);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 18%, rgba(217,173,82,0.12), transparent 16rem),
    rgba(255, 247, 233, 0.72);
  box-shadow: 0 24px 80px rgba(37, 28, 61, 0.16);
}

.portrait-card::after {
  content: "";
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: -16px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(37,28,61,0.22), transparent 70%);
  z-index: -1;
}

.portrait-card img {
  width: 100%;
  height: clamp(480px, 40vw, 580px);
  object-fit: cover;
  object-position: center 16%;
  border-radius: 7px;
  filter: contrast(1.03) saturate(0.96);
}

.credential-ribbon {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
  position: relative;
  z-index: 2;
}

.credential-ribbon span {
  display: grid;
  gap: 3px;
  min-height: 88px;
  padding: 14px 15px;
  border: 1px solid rgba(117,87,32,0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255,247,233,0.94), rgba(244,234,216,0.78));
  color: #5a5160;
  font-family: var(--sans);
  font-size: 0.84rem;
  line-height: 1.25;
  box-shadow: 0 12px 34px rgba(37,28,61,0.08);
}

.credential-ribbon strong {
  display: block;
  color: #2d2541;
  font-size: 0.92rem;
  line-height: 1.15;
}

.about [data-reveal] {
  opacity: 1;
  transform: none;
}

.experiences {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.62fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: start;
  padding: clamp(104px, 10vw, 150px) clamp(20px, 5vw, 76px) clamp(64px, 7vw, 112px);
  background:
    linear-gradient(180deg, #f4ead8 0%, rgba(244,234,216,0.9) 14%, rgba(98,88,105,0.58) 33%, rgba(24,25,56,0.88) 54%, rgba(8,10,29,0.98) 72%, rgba(8,10,29,0) 92%),
    radial-gradient(circle at 18% 16%, rgba(134,214,209,0.12), transparent 24rem),
    linear-gradient(180deg, #080a1d, #14183a);
}

.experiences::before {
  background:
    radial-gradient(ellipse at 22% 28%, rgba(217,173,82,0.12), transparent 25rem),
    linear-gradient(180deg, rgba(244,234,216,0.84), rgba(76,68,91,0.5) 44%, rgba(8,10,29,0.05));
}

.experiences::after {
  bottom: -126px;
  height: 300px;
  background:
    radial-gradient(circle at 74% 34%, rgba(241,195,95,0.22) 0 2px, transparent 2.7px),
    radial-gradient(ellipse at 74% 34%, rgba(217,173,82,0.1), transparent 26rem),
    linear-gradient(180deg, rgba(20,24,58,0), rgba(30,22,72,0.32) 48%, rgba(30,22,72,0.14) 74%, rgba(30,22,72,0));
}

.path-copy {
  position: sticky;
  z-index: 2;
  top: 110px;
}

.offering-path {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 28px;
  padding: 24px 0 24px 40px;
}

.offering-path::before {
  content: "";
  position: absolute;
  left: 10px;
  top: 50px;
  bottom: 50px;
  width: 1px;
  background:
    linear-gradient(var(--gold), var(--aqua), rgba(246,240,223,0.1));
}

.offering-path article {
  position: relative;
  max-width: 740px;
  padding: 24px;
  border: 1px solid var(--line-dark);
  border-radius: 36px 6px 36px 6px;
  background:
    radial-gradient(circle at 6% 16%, rgba(217,173,82,0.13), transparent 12rem),
    rgba(255,255,255,0.07);
}

.offering-path article:nth-child(even) {
  margin-left: clamp(0px, 8vw, 120px);
  border-radius: 6px 36px 6px 36px;
}

.offering-path article::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 30px;
  width: 13px;
  height: 13px;
  border-radius: 999px;
  background: var(--ember);
  box-shadow: 0 0 22px rgba(241,195,95,0.72);
}

.closing {
  position: relative;
  display: grid;
  grid-template-columns: minmax(220px, 0.46fr) minmax(0, 0.86fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: center;
  overflow: hidden;
  padding: clamp(104px, 10vw, 150px) clamp(20px, 5vw, 76px) clamp(64px, 7vw, 112px);
  background:
    linear-gradient(180deg, #14183a 0%, rgba(20,24,58,0.9) 18%, rgba(26,23,67,0.84) 44%, rgba(30,22,72,0.52) 68%, rgba(30,22,72,0) 92%),
    radial-gradient(circle at 70% 45%, rgba(217,173,82,0.2), transparent 22rem),
    linear-gradient(130deg, #1e1648, #050713);
}

.closing::before {
  top: -122px;
  height: 280px;
  background:
    radial-gradient(ellipse at 34% 48%, rgba(134,214,209,0.1), transparent 28rem),
    linear-gradient(180deg, rgba(20,24,58,0), rgba(30,22,72,0.36) 36%, rgba(30,22,72,0.18) 70%, rgba(30,22,72,0));
}

.closing > * {
  position: relative;
  z-index: 2;
}

.book-worlds,
.consultations,
.about,
.experiences,
.closing {
  margin-top: calc(var(--section-overlap) * -1);
  padding-top: calc(clamp(84px, 9vw, 132px) + var(--section-overlap));
}

.closing-art img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--line-dark);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(134,214,209,0.18);
}

.booking-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  padding: clamp(20px, 3vw, 34px);
  border: 1px solid var(--line-dark);
  border-radius: 8px;
  background: rgba(246,240,223,0.08);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.booking-form label {
  display: grid;
  gap: 8px;
  color: rgba(246,240,223,0.78);
  font-family: var(--sans);
  font-size: 0.9rem;
  font-weight: 900;
}

.booking-form .full,
.booking-form button {
  grid-column: 1 / -1;
}

input,
select,
textarea {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(246,240,223,0.18);
  border-radius: 6px;
  background: rgba(255, 247, 233, 0.95);
  color: var(--ink);
  padding: 12px 13px;
}

textarea {
  resize: vertical;
}

.dream-step .contact-fields {
  align-items: end;
  margin-top: 2px;
  padding: 16px;
  border: 1px solid rgba(246,240,223,0.12);
  border-radius: 8px 28px 8px 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(241,195,95,0.1), transparent 12rem),
    rgba(5,7,19,0.22);
}

.dream-step .contact-fields label {
  gap: 9px;
  min-width: 0;
  color: rgba(246,240,223,0.84);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  line-height: 1.1;
  text-transform: uppercase;
}

.dream-step .contact-fields input {
  min-height: 54px;
  border: 1px solid rgba(241,195,95,0.28);
  border-radius: 7px 18px 7px 7px;
  background:
    linear-gradient(90deg, rgba(117,87,32,0.08) 0 1px, transparent 1px) 20px 0 / 28px 100%,
    linear-gradient(180deg, rgba(255,247,233,0.98), rgba(244,234,216,0.9));
  box-shadow:
    inset 0 0 22px rgba(217,173,82,0.12),
    0 10px 26px rgba(0,0,0,0.14);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.2;
  padding: 13px 14px;
}

.dream-step .contact-fields input:focus {
  border-color: rgba(241,195,95,0.76);
  box-shadow:
    inset 0 0 22px rgba(217,173,82,0.16),
    0 0 0 3px rgba(241,195,95,0.14),
    0 12px 28px rgba(0,0,0,0.16);
}

.site-footer {
  justify-content: space-between;
  padding: 28px clamp(20px, 5vw, 76px);
  background: var(--midnight);
  color: rgba(246,240,223,0.78);
}

[data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.site-header[data-reveal],
.hero-copy[data-reveal] {
  opacity: 1;
  transform: none;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes drift {
  0%, 100% { transform: translateY(0); opacity: 0.45; }
  50% { transform: translateY(-10px); opacity: 0.95; }
}

@keyframes breathe {
  0%, 100% { opacity: 0.25; transform: translateY(0) rotate(-8deg); }
  50% { opacity: 0.62; transform: translateY(-8px) rotate(-4deg); }
}

@keyframes pulsePortal {
  0%, 100% { transform: scale(1); opacity: 0.88; }
  50% { transform: scale(1.035); opacity: 1; }
}

@keyframes navArrival {
  from {
    opacity: 0;
    transform: translateY(-16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .site-header {
    animation: none;
  }
}

@media (max-width: 1120px) {
  .site-header {
    padding-inline: 14px;
  }

  .nav-shell {
    border-radius: 34px;
  }

  .main-nav {
    gap: 4px;
  }

  .main-nav a {
    padding-inline: 7px;
    font-size: 0.78rem;
  }

  .hero,
  .archive,
  .consultations,
  .about,
  .experiences,
  .closing {
    grid-template-columns: 1fr;
  }

  .portal-stage {
    min-height: 540px;
  }

  .path-copy {
    position: static;
  }

  .closing-art {
    max-width: 340px;
  }

  .dream-intake,
  .dream-form-stage,
  .dream-step,
  .dream-confirmation {
    min-height: auto;
  }

  .color-memory,
  .contact-fields {
    grid-template-columns: 1fr;
  }

  .author-panel {
    justify-self: start;
  }
}

@media (max-width: 900px) {
  .site-header {
    top: 12px;
    padding-inline: 12px;
  }

  .nav-shell {
    min-height: 66px;
    padding: 9px 10px 9px 14px;
    border-radius: 28px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .brand-text em {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 8px;
    right: 8px;
    display: grid;
    gap: 8px;
    padding: 18px;
    border: 1px solid rgba(246, 240, 223, 0.16);
    border-radius: 28px 28px 8px 28px;
    background:
      radial-gradient(circle at 80% 4%, rgba(217,173,82,0.18), transparent 10rem),
      rgba(5, 7, 19, 0.94);
    box-shadow: 0 24px 70px rgba(0,0,0,0.38);
    backdrop-filter: blur(18px);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px) scale(0.98);
    transform-origin: top right;
    transition: opacity 220ms ease, transform 240ms ease;
  }

  .site-header.menu-open .main-nav {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .main-nav a {
    justify-content: space-between;
    min-height: 50px;
    border-bottom: 1px solid rgba(246,240,223,0.08);
    padding: 9px 6px;
    font-size: 0.94rem;
  }

  .main-nav a:not(.nav-cta)::before {
    order: 2;
    margin: 0 0 0 12px;
  }

  .nav-cta {
    justify-content: center;
    margin-top: 6px;
    border-radius: 999px 999px 999px 18px;
  }

  .site-footer {
    flex-wrap: wrap;
  }

  .book-world,
  .book-world:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .book-world:nth-child(even) .world-image {
    order: 0;
  }

  .book-world {
    min-height: 0;
  }

  .world-image {
    min-height: 330px;
  }

  .world-image img {
    max-height: 340px;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-inline: 10px;
  }

  .nav-shell {
    min-height: 62px;
    padding: 8px 9px 8px 12px;
  }

  .brand-text span {
    font-size: 1rem;
  }

  .nav-toggle span {
    width: 0;
    overflow: hidden;
    white-space: nowrap;
  }

  h1 {
    font-size: 3.4rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero {
    gap: 0;
    padding-top: 136px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .portal-stage {
    min-height: 350px;
    margin-top: 8px;
  }

  .hero-book-center {
    left: 47%;
    bottom: 32px;
    width: min(68%, 250px);
  }

  .hero-book-left {
    left: 21%;
    bottom: 28px;
    width: min(56%, 210px);
  }

  .hero-book-right {
    left: 76%;
    bottom: 30px;
    width: min(53%, 200px);
  }

  .archive-map,
  .offering-path {
    padding-left: 22px;
  }

  .world-image {
    min-height: 300px;
  }

  .world-image img {
    max-height: 310px;
  }

  .portrait-card img {
    height: 460px;
  }

  .credential-ribbon {
    grid-template-columns: 1fr;
  }

  .offering-path article:nth-child(even) {
    margin-left: 0;
  }

  .booking-form {
    grid-template-columns: 1fr;
  }

  .dream-step {
    padding: 18px;
  }

  .dream-step h3,
  .dream-confirmation h3 {
    font-size: clamp(1.85rem, 10vw, 3rem);
  }

  .dream-thread {
    gap: 3px;
  }

  .dream-thread span {
    width: 14px;
    height: 14px;
  }

  .symbol-grid label,
  .feeling-trail label,
  .resonance-map label,
  .choice-row label,
  .color-memory label {
    width: 100%;
    justify-content: flex-start;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}
