:root {
  --night: #02090d;
  --ink: #061015;
  --gold: #c89a52;
  --bright-gold: #f0d090;
  --parchment: #f4e8d0;
  --muted: #b8ae9a;
  --page-max: 1320px;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--night);
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--parchment);
  background: var(--night);
  font-family: Georgia, "Times New Roman", serif;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.transition-curtain {
  position: fixed;
  z-index: 999;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 50%, rgba(221, 171, 83, .18), transparent 26%),
    #02080b;
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform .62s cubic-bezier(.75, 0, .2, 1);
}

body.is-leaving .transition-curtain {
  transform: scaleY(1);
}

.particle-field {
  position: fixed;
  z-index: 6;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: var(--size, 2px);
  height: var(--size, 2px);
  left: var(--left, 50%);
  top: 105%;
  border-radius: 50%;
  background: rgba(240, 205, 139, var(--alpha, .55));
  box-shadow: 0 0 10px rgba(236, 186, 95, .55);
  animation: particle-rise var(--duration, 14s) linear var(--delay, 0s) infinite;
}

.blossom-field .particle {
  width: calc(var(--size, 3px) * 2);
  height: var(--size, 3px);
  border-radius: 70% 0 70% 0;
  background: rgba(224, 139, 143, var(--alpha, .55));
  box-shadow: none;
  animation-name: blossom-fall;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .8s ease, transform .8s ease;
}

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

/* Landing page */
.portal-home {
  min-height: 100vh;
  overflow: clip;
  background:
    radial-gradient(circle at 50% 35%, rgba(23, 73, 86, .28), transparent 42%),
    linear-gradient(180deg, #02080b, #061014 50%, #020608);
}

.threshold-screen {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.portal-home::before,
.portal-home::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.portal-home::before {
  opacity: .35;
  background-image:
    radial-gradient(circle at 11% 23%, #e6bd72 0 1px, transparent 1.5px),
    radial-gradient(circle at 27% 67%, #e6bd72 0 1px, transparent 1.5px),
    radial-gradient(circle at 66% 18%, #e6bd72 0 1px, transparent 1.5px),
    radial-gradient(circle at 82% 73%, #e6bd72 0 1px, transparent 1.5px);
  background-size: 310px 270px;
  animation: stars-drift 28s linear infinite;
}

.portal-home::after {
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(213, 164, 76, .08), transparent 23%);
  transition: background .2s ease;
}

.portal-header,
.portal-footer {
  position: relative;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px clamp(22px, 4vw, 70px);
  color: #cdbf9f;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 11px;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.portal-header { border-bottom: 1px solid rgba(218, 178, 105, .16); }
.portal-header p { margin: 0; }
.portal-header p span { margin: 0 .42rem; color: var(--gold); }
.header-invitation { color: var(--bright-gold); }

.atlas-trigger,
.atlas-close {
  appearance: none;
  border: 0;
  color: inherit;
  cursor: pointer;
}

.atlas-trigger {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 5px 0 5px 10px;
  background: transparent;
  color: var(--bright-gold);
  text-align: left;
}

.atlas-trigger-copy {
  display: grid;
  gap: 3px;
}

.atlas-trigger-copy small {
  color: #8f8774;
  font-size: 7px;
  font-weight: 400;
  letter-spacing: .18em;
}

.atlas-trigger-copy strong {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .21em;
}

.atlas-trigger-compass {
  position: relative;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(235, 193, 116, .6);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(206, 155, 74, .04), inset 0 0 16px rgba(229, 174, 86, .12);
  transition: box-shadow .35s ease, transform .5s ease;
}

.atlas-trigger-compass::before,
.atlas-trigger-compass::after,
.atlas-trigger-compass i::before,
.atlas-trigger-compass i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  background: #e0b96f;
  transform: translate(-50%, -50%);
}

.atlas-trigger-compass::before { width: 20px; height: 1px; }
.atlas-trigger-compass::after { width: 1px; height: 20px; }
.atlas-trigger-compass i::before { width: 14px; height: 1px; transform: translate(-50%, -50%) rotate(45deg); }
.atlas-trigger-compass i::after { width: 1px; height: 14px; transform: translate(-50%, -50%) rotate(45deg); }

.atlas-trigger:hover .atlas-trigger-compass,
.atlas-trigger:focus-visible .atlas-trigger-compass {
  transform: rotate(45deg);
  box-shadow: 0 0 0 6px rgba(206, 155, 74, .07), 0 0 30px rgba(229, 174, 86, .32), inset 0 0 16px rgba(229, 174, 86, .16);
}

.atlas-trigger:focus-visible,
.atlas-close:focus-visible,
.atlas-link:focus-visible,
.atlas-compass:focus-visible,
.atlas-brand:focus-visible {
  outline: 1px solid var(--bright-gold);
  outline-offset: 5px;
}

.portal-stage {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1800px;
  margin: auto;
  aspect-ratio: 1400 / 534;
  overflow: hidden;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .55));
  animation: portal-breathe 14s ease-in-out infinite alternate;
}

.portal-canvas {
  position: absolute;
  inset: -1.3%;
  transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
  transition: transform .35s ease-out;
}

.portal-canvas::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 28%, rgba(255, 224, 163, .08) 48%, transparent 66%);
  transform: translateX(-80%);
  animation: light-sweep 11s ease-in-out infinite;
}

.portal-art {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
  animation: image-luminance 8s ease-in-out infinite alternate;
}

.desktop-portals { position: absolute; inset: 0; z-index: 3; }

.portal-hotspot {
  position: absolute;
  top: 34.5%;
  height: 55.5%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 0 8px 7%;
  isolation: isolate;
  outline: none;
}

.portal-hotspot::before,
.portal-hotspot::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity .42s ease, transform .42s ease;
}

.portal-hotspot::before {
  z-index: -1;
  border: 1px solid rgba(242, 203, 126, .86);
  border-radius: 46% 46% 5px 5px / 16% 16% 5px 5px;
  box-shadow: inset 0 0 55px rgba(244, 190, 86, .24), 0 0 38px rgba(235, 170, 67, .36);
  background: linear-gradient(180deg, rgba(255, 219, 151, .02), rgba(239, 178, 83, .14));
  transform: scale(.97);
}

.portal-hotspot::after {
  z-index: -2;
  inset: -6%;
  background: radial-gradient(ellipse, rgba(237, 181, 78, .26), transparent 68%);
  filter: blur(10px);
}

.portal-hotspot:hover,
.portal-hotspot:focus-visible { z-index: 4; }

.portal-hotspot:hover::before,
.portal-hotspot:hover::after,
.portal-hotspot:focus-visible::before,
.portal-hotspot:focus-visible::after {
  opacity: 1;
  transform: scale(1);
}

.portal-hotspot.wind-rose { left: 24%; width: 16.6%; }
.portal-hotspot.hypatia { left: 44.1%; width: 17.2%; }
.portal-hotspot.etsuko { left: 64%; width: 16.8%; }

.portal-invitation,
.portal-title {
  text-shadow: 0 2px 8px #000;
  transition: opacity .3s ease, transform .3s ease;
}

.portal-invitation {
  padding: 8px 12px;
  border: 1px solid rgba(244, 204, 128, .76);
  background: rgba(4, 12, 14, .84);
  color: var(--bright-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(7px, .62vw, 11px);
  letter-spacing: .18em;
  text-transform: uppercase;
  opacity: .84;
}

.portal-title {
  max-width: 200px;
  margin-top: 8px;
  color: #fff2d7;
  font-size: clamp(10px, .82vw, 15px);
  line-height: 1.2;
  text-align: center;
  transform: translateY(10px);
  opacity: 0;
}

.portal-hotspot:hover .portal-invitation,
.portal-hotspot:hover .portal-title,
.portal-hotspot:focus-visible .portal-invitation,
.portal-hotspot:focus-visible .portal-title {
  transform: translateY(0);
  opacity: 1;
}

.portal-footer {
  justify-content: center;
  gap: 1rem;
  border-top: 1px solid rgba(218, 178, 105, .16);
  color: #9e957f;
}

.portal-footer strong { color: var(--bright-gold); font-weight: 500; }
.mobile-worlds { display: none; }

/* The Reader's Observatory */
.reader-observatory {
  position: relative;
  z-index: 4;
  min-height: 100svh;
  padding: clamp(105px, 12vw, 180px) clamp(22px, 5vw, 78px) 120px;
  overflow: hidden;
  border-top: 1px solid rgba(226, 183, 103, .25);
  background:
    radial-gradient(circle at 21% 34%, rgba(25, 101, 119, .19), transparent 34rem),
    radial-gradient(circle at 82% 48%, rgba(122, 67, 40, .19), transparent 31rem),
    linear-gradient(145deg, #03080b, #08151a 47%, #080b0f);
}

.reader-observatory::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: .5;
  background-image:
    radial-gradient(circle at 15% 22%, #e4bd75 0 1px, transparent 1.4px),
    radial-gradient(circle at 73% 14%, #e4bd75 0 1px, transparent 1.4px),
    radial-gradient(circle at 36% 74%, #e4bd75 0 1px, transparent 1.4px),
    radial-gradient(circle at 86% 63%, #e4bd75 0 1px, transparent 1.4px);
  background-size: 330px 280px;
  animation: stars-drift 42s linear infinite reverse;
}

.golden-thread {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 104px;
  background: linear-gradient(var(--gold), transparent);
}

.golden-thread span,
.golden-thread i {
  position: absolute;
  left: 50%;
  width: 9px;
  height: 9px;
  border: 1px solid var(--bright-gold);
  background: #071014;
  transform: translateX(-50%) rotate(45deg);
  box-shadow: 0 0 17px rgba(240, 208, 144, .58);
}

.golden-thread span { top: 18px; }
.golden-thread i { bottom: 6px; width: 5px; height: 5px; }

.observatory-heading {
  position: relative;
  z-index: 2;
  max-width: 920px;
  margin: 0 auto clamp(65px, 8vw, 110px);
  text-align: center;
}

.observatory-heading > p,
.feature-number {
  color: #968b77;
  font: 600 9px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: .23em;
  text-transform: uppercase;
}

.observatory-heading > p span,
.feature-number { color: var(--gold); }

.observatory-heading h2 {
  margin: 20px 0 0;
  color: #eee2c9;
  font-size: clamp(49px, 7.3vw, 108px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.045em;
}

.observatory-heading h2 em,
.wind-feature-copy h3 em,
.hypatia-feature-copy h3 em {
  color: transparent;
  font-weight: 400;
  -webkit-text-stroke: 1px var(--bright-gold);
  text-shadow: 0 0 28px rgba(219, 171, 88, .13);
}

.observatory-stage {
  position: relative;
  z-index: 2;
  width: min(1500px, 100%);
  margin: auto;
  display: grid;
  gap: 34px;
}

.wind-rose-feature,
.hypatia-feature {
  position: relative;
  min-height: min(760px, 82svh);
  overflow: hidden;
  border: 1px solid rgba(224, 178, 93, .42);
  box-shadow: inset 0 0 0 8px rgba(2, 8, 11, .88), inset 0 0 0 9px rgba(224, 178, 93, .1), 0 36px 100px rgba(0, 0, 0, .46);
}

.wind-rose-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(310px, .72fr);
  align-items: end;
  isolation: isolate;
}

.wind-cosmos {
  position: absolute;
  z-index: -2;
  inset: 0;
}

.wind-cosmos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: observatory-drift 24s ease-in-out infinite alternate;
}

.cosmic-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(2, 7, 10, .93) 0%, rgba(2, 7, 10, .66) 43%, rgba(2, 7, 10, .18) 76%), linear-gradient(0deg, rgba(3, 7, 9, .86), transparent 55%);
}

.wind-feature-copy {
  position: relative;
  z-index: 3;
  max-width: 720px;
  padding: clamp(45px, 7vw, 105px);
}

.wind-feature-copy h3,
.hypatia-feature-copy h3 {
  margin: 16px 0 24px;
  color: #f3e6cc;
  font-size: clamp(54px, 7.2vw, 104px);
  font-weight: 400;
  line-height: .8;
  letter-spacing: -.045em;
}

.wind-feature-copy > p:not(.feature-number) {
  max-width: 620px;
  color: #c8bda8;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.65;
}

.wind-book {
  position: relative;
  z-index: 3;
  align-self: center;
  justify-self: center;
  width: min(260px, 68%);
  margin: 70px 40px 70px 0;
  filter: drop-shadow(24px 30px 32px rgba(0, 0, 0, .72));
  transform: perspective(900px) rotateY(-9deg) rotateZ(1deg);
  transition: transform .6s ease, filter .6s ease;
}

.wind-rose-feature:hover .wind-book {
  filter: drop-shadow(24px 34px 42px rgba(0, 0, 0, .82)) drop-shadow(0 0 26px rgba(222, 170, 76, .2));
  transform: perspective(900px) rotateY(0) rotateZ(0) translateY(-8px);
}

.wind-dial {
  position: absolute;
  z-index: 1;
  top: 50%;
  right: 5%;
  width: min(43vw, 620px);
  aspect-ratio: 1;
  border: 1px solid rgba(230, 187, 103, .28);
  border-radius: 50%;
  transform: translateY(-50%);
  animation: atlas-orbit 38s linear infinite;
}

.wind-dial::before,
.wind-dial::after,
.wind-dial i {
  content: "";
  position: absolute;
  border: 1px solid rgba(230, 187, 103, .2);
  border-radius: 50%;
}

.wind-dial::before { inset: 12%; border-style: dashed; }
.wind-dial::after { inset: 28%; }
.wind-dial i:nth-child(1) { inset: -5%; border-color: rgba(230, 187, 103, .09); }
.wind-dial i:nth-child(2) { left: 50%; top: -5px; width: 9px; height: 9px; background: var(--bright-gold); box-shadow: 0 0 18px var(--gold); }
.wind-dial i:nth-child(3) { right: 6%; bottom: 21%; width: 6px; height: 6px; background: var(--gold); }

.feature-actions { display: flex; align-items: center; gap: 28px; margin-top: 35px; }
.observatory-button {
  display: inline-flex;
  align-items: center;
  gap: 25px;
  padding: 15px 19px;
  border: 1px solid var(--gold);
  background: rgba(2, 8, 11, .75);
  color: var(--bright-gold);
  font: 600 9px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}
.observatory-button:hover,.observatory-button:focus-visible { background: var(--gold); color: #041013; box-shadow: 0 0 32px rgba(224, 175, 86, .3); }
.observatory-link { color: #c7b58f; font: 600 9px/1.4 Arial, Helvetica, sans-serif; letter-spacing: .16em; text-transform: uppercase; border-bottom: 1px solid rgba(224, 175, 86, .4); }

.hypatia-feature {
  min-height: 690px;
  display: grid;
  grid-template-columns: minmax(320px, .82fr) minmax(0, 1.18fr);
  align-items: center;
  background: radial-gradient(circle at 72% 50%, rgba(212, 160, 76, .12), transparent 28rem), linear-gradient(130deg, #071015, #130f10);
}
.hypatia-image { position: relative; align-self: stretch; min-height: 620px; overflow: hidden; }
.hypatia-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 55%, #0d1013), linear-gradient(0deg, #0d1013, transparent 35%); }
.hypatia-image > img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; filter: saturate(.82) contrast(1.04); animation: observatory-drift 22s ease-in-out infinite alternate-reverse; }
.hypatia-feature-copy { position: relative; z-index: 2; padding: clamp(45px, 7vw, 100px); }
.hypatia-feature-copy h3 { font-size: clamp(49px, 6vw, 88px); }
.question-orbit { display: flex; flex-wrap: wrap; gap: 10px; max-width: 700px; margin: 35px 0; }
.question-orbit span { padding: 10px 14px; border: 1px solid rgba(221, 173, 86, .25); color: #ad9f86; font-size: 14px; font-style: italic; background: rgba(2, 8, 11, .4); animation: question-glow 6s ease-in-out infinite; }
.question-orbit span:nth-child(2) { animation-delay: 1.4s; }.question-orbit span:nth-child(3) { animation-delay: 2.8s; }
.hypatia-orbits { position: absolute; z-index: 3; left: 66%; top: 48%; width: min(33vw, 460px); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.hypatia-orbits span { position: absolute; inset: 0; border: 1px solid rgba(238, 194, 111, .37); border-radius: 50%; animation: atlas-orbit 28s linear infinite; }
.hypatia-orbits span:nth-child(2) { inset: 18%; border-style: dashed; animation-direction: reverse; animation-duration: 19s; }
.hypatia-orbits i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--bright-gold); box-shadow: 0 0 17px var(--gold); animation: atlas-heartbeat 3s ease-in-out infinite; }
.hypatia-orbits i:nth-of-type(1) { left: 48%; top: -3px; }.hypatia-orbits i:nth-of-type(2) { right: 5%; bottom: 22%; animation-delay: .8s; }.hypatia-orbits i:nth-of-type(3) { left: 7%; bottom: 18%; animation-delay: 1.6s; }

.discovery-rail {
  position: relative;
  z-index: 2;
  width: min(1500px, 100%);
  margin: 34px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid rgba(222, 175, 89, .25);
}
.discovery-rail a { position: relative; min-height: 220px; display: grid; align-content: center; gap: 9px; padding: 35px; border-right: 1px solid rgba(222, 175, 89, .2); background: rgba(4, 10, 13, .72); transition: background .3s ease, padding .3s ease; }
.discovery-rail a:last-child { border-right: 0; }.discovery-rail a:hover,.discovery-rail a:focus-visible { padding-left: 43px; background: rgba(185, 129, 56, .11); }
.discovery-rail a > span { position: absolute; right: 22px; top: 19px; color: rgba(224, 178, 92, .34); font-size: 34px; }
.discovery-rail small { color: var(--gold); font: 600 8px/1 Arial, Helvetica, sans-serif; letter-spacing: .2em; text-transform: uppercase; }
.discovery-rail strong { max-width: 310px; color: #dfd2b8; font-size: clamp(20px, 2vw, 29px); font-weight: 400; line-height: 1.1; }
.discovery-rail i { margin-top: 12px; color: #8e836f; font: normal 8px/1 Arial, Helvetica, sans-serif; letter-spacing: .14em; text-transform: uppercase; }

.universe-footer {
  position: relative;
  z-index: 8;
  min-height: 170px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: clamp(30px, 5vw, 75px);
  padding: 35px clamp(22px, 5vw, 78px);
  border-top: 1px solid rgba(222, 175, 89, .27);
  background: #03070a;
}
.footer-brand { justify-self: start; }.footer-brand small { display: block; color: var(--gold); font: 600 7px/1 Arial, Helvetica, sans-serif; letter-spacing: .2em; text-transform: uppercase; }.footer-brand strong { display: block; margin-top: 6px; color: #e5d8bc; font-size: 28px; font-weight: 400; }
.footer-signoff { text-align: center; color: #746c5f; font: 500 7px/1.7 Arial, Helvetica, sans-serif; letter-spacing: .11em; text-transform: uppercase; }.footer-signoff p { margin: 4px 0; }.footer-signoff a { color: #ae9568; }
.social-worlds { justify-self: end; display: flex; gap: 25px; }.social-worlds a { display: flex; align-items: center; gap: 11px; color: #9f947f; transition: color .25s ease; }.social-worlds a:hover,.social-worlds a:focus-visible { color: var(--bright-gold); }.social-worlds a > span:last-child { display: grid; gap: 3px; }.social-worlds small { font: 500 6px/1 Arial, Helvetica, sans-serif; letter-spacing: .16em; text-transform: uppercase; }.social-worlds strong { color: inherit; font-size: 15px; font-weight: 400; }
.facebook-medallion { position: relative; width: 42px; height: 42px; display: grid; place-items:center; border: 1px solid rgba(224, 177, 88, .56); border-radius: 50%; color: var(--bright-gold); font: 700 22px/1 Arial, Helvetica, sans-serif; box-shadow: inset 0 0 0 4px #03070a, inset 0 0 0 5px rgba(224, 177, 88, .17); transition: transform .35s ease, box-shadow .35s ease; }.social-worlds a:hover .facebook-medallion { transform: rotate(8deg) scale(1.07); box-shadow: inset 0 0 0 4px #03070a, inset 0 0 0 5px rgba(224, 177, 88, .35), 0 0 25px rgba(224, 177, 88, .3); }.wind-medallion::after { content: ""; position: absolute; inset: -5px; border: 1px dashed rgba(224, 177, 88, .28); border-radius: 50%; animation: atlas-orbit 12s linear infinite; }

@keyframes observatory-drift { from { transform: scale(1.01) translate3d(-.5%, 0, 0); } to { transform: scale(1.07) translate3d(.8%, -.6%, 0); } }
@keyframes question-glow { 0%,100% { border-color: rgba(221, 173, 86, .2); color: #978c79; } 50% { border-color: rgba(240, 208, 144, .6); color: #dfcfad; box-shadow: 0 0 24px rgba(210, 158, 73, .08); } }

/* The Celestial Atlas — full-site navigation mockup */
body.atlas-open { overflow: hidden; }

.site-atlas {
  --atlas-accent: #d8aa5c;
  position: fixed;
  z-index: 500;
  inset: 0;
  min-width: 320px;
  overflow-x: hidden;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 46%, rgba(22, 82, 95, .27), transparent 29%),
    radial-gradient(circle at 18% 78%, rgba(167, 101, 38, .1), transparent 27%),
    linear-gradient(135deg, #010507, #071318 48%, #020608);
  transition: opacity .34s ease, visibility 0s linear .7s;
}

.site-atlas.is-opening,
.site-atlas.is-open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.site-atlas::before,
.site-atlas::after {
  content: "";
  position: fixed;
  z-index: 0;
  inset: 0;
  pointer-events: none;
}

.site-atlas::before {
  opacity: .57;
  background-image:
    radial-gradient(circle at 4% 11%, #e8c87e 0 1px, transparent 1.4px),
    radial-gradient(circle at 21% 48%, #e8c87e 0 .8px, transparent 1.2px),
    radial-gradient(circle at 35% 19%, #e8c87e 0 .8px, transparent 1.2px),
    radial-gradient(circle at 61% 78%, #e8c87e 0 1px, transparent 1.4px),
    radial-gradient(circle at 76% 14%, #e8c87e 0 .8px, transparent 1.2px),
    radial-gradient(circle at 93% 59%, #e8c87e 0 1px, transparent 1.4px);
  background-size: 370px 310px;
  animation: atlas-stars 38s linear infinite;
}

.site-atlas::after {
  background:
    linear-gradient(90deg, transparent 49.93%, rgba(220, 177, 99, .08) 50%, transparent 50.07%),
    linear-gradient(0deg, transparent 49.93%, rgba(220, 177, 99, .055) 50%, transparent 50.07%),
    radial-gradient(circle at 50% 50%, transparent 0 22%, rgba(221, 178, 99, .08) 22.1% 22.25%, transparent 22.4% 34%, rgba(221, 178, 99, .05) 34.1% 34.2%, transparent 34.35%);
  opacity: .75;
}

.atlas-vignette {
  position: fixed;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 160px 45px rgba(0, 0, 0, .82);
}

.atlas-gate {
  position: fixed;
  z-index: 80;
  top: 0;
  bottom: 0;
  width: 51%;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 9, 11, .98), rgba(8, 22, 26, .98)),
    url('../images/lukman-doorways.jpg') center / cover no-repeat;
  box-shadow: 0 0 50px rgba(0, 0, 0, .75);
  transition: transform .82s cubic-bezier(.74, 0, .2, 1) .08s;
}

.atlas-gate::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(transparent, #e0af5c 18%, #f1d79b 50%, #d79d45 82%, transparent);
  box-shadow: 0 0 22px rgba(229, 174, 84, .75);
}

.atlas-gate-left { left: 0; transform: translateX(0); }
.atlas-gate-right { right: 0; transform: translateX(0); }
.atlas-gate-left::after { right: 0; }
.atlas-gate-right::after { left: 0; }
.site-atlas.is-open .atlas-gate-left { transform: translateX(-103%); }
.site-atlas.is-open .atlas-gate-right { transform: translateX(103%); }

.atlas-header,
.atlas-layout,
.atlas-footer {
  position: relative;
  z-index: 5;
}

.atlas-header {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 12px clamp(22px, 3.8vw, 66px);
  border-bottom: 1px solid rgba(222, 181, 104, .18);
  background: rgba(2, 8, 10, .48);
  backdrop-filter: blur(15px);
}

.atlas-brand { justify-self: start; display: grid; gap: 2px; }
.atlas-brand small,
.atlas-header > p,
.atlas-close,
.realm-kicker,
.atlas-guidance,
.atlas-footer,
.atlas-toast {
  font-family: Arial, Helvetica, sans-serif;
  text-transform: uppercase;
}

.atlas-brand small { color: #857d6b; font-size: 7px; letter-spacing: .2em; }
.atlas-brand strong { color: #ecd5aa; font-size: clamp(18px, 1.6vw, 26px); font-weight: 400; letter-spacing: .1em; }
.atlas-header > p { margin: 0; color: #b59b70; font-size: 8px; letter-spacing: .32em; }
.atlas-header > p span { color: #e8bd70; }

.atlas-close {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: 10px 0 10px 12px;
  background: transparent;
  color: #bfb39c;
  font-size: 8px;
  letter-spacing: .22em;
}

.atlas-close i {
  position: relative;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(222, 181, 104, .37);
  border-radius: 50%;
  transition: border-color .25s ease, transform .35s ease;
}

.atlas-close i::before,
.atlas-close i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 13px;
  height: 1px;
  background: #d8b472;
}

.atlas-close i::before { transform: translate(-50%, -50%) rotate(45deg); }
.atlas-close i::after { transform: translate(-50%, -50%) rotate(-45deg); }
.atlas-close:hover i,
.atlas-close:focus-visible i { border-color: #e7bf75; transform: rotate(90deg); }

.atlas-layout {
  width: min(100%, 1580px);
  min-height: calc(100vh - 136px);
  display: grid;
  grid-template-columns: minmax(230px, .86fr) minmax(340px, 1.22fr) minmax(250px, .92fr);
  grid-template-rows: minmax(470px, 1fr) auto;
  gap: clamp(18px, 2.6vw, 44px);
  align-items: center;
  margin: 0 auto;
  padding: clamp(24px, 3vw, 48px) clamp(22px, 4vw, 66px) 24px;
}

.atlas-side {
  min-width: 0;
  display: grid;
  gap: clamp(32px, 5vh, 58px);
}

.atlas-realm {
  --realm-color: #d2a457;
  position: relative;
  min-width: 0;
  padding: 16px 0 0 22px;
  border-top: 1px solid color-mix(in srgb, var(--realm-color) 43%, transparent);
}

.atlas-realm::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 1px;
  height: 66%;
  background: linear-gradient(var(--realm-color), transparent);
  opacity: .55;
}

.atlas-realm::after {
  content: "";
  position: absolute;
  left: -3px;
  top: -4px;
  width: 7px;
  height: 7px;
  border: 1px solid var(--realm-color);
  border-radius: 50%;
  background: #071115;
  box-shadow: 0 0 14px var(--realm-color);
}

.author-realm { --realm-color: #d8a959; }
.hypatia-realm { --realm-color: #e9b970; }
.story-realm { --realm-color: #7fb8be; }
.contact-realm { --realm-color: #bd8f54; }
.lifetime-realm { --realm-color: #a6b9c2; }

.realm-kicker {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 7px;
  color: var(--realm-color);
  font-size: 7px;
  letter-spacing: .22em;
}

.realm-kicker span {
  color: rgba(232, 216, 185, .42);
  font-size: 6px;
}

.atlas-realm h2 {
  margin: 0 0 12px;
  color: #e6d9c0;
  font-size: clamp(18px, 1.65vw, 25px);
  font-weight: 400;
  line-height: 1.08;
}

.atlas-realm nav { display: grid; }

.atlas-link {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  padding: 6px 0;
  color: #aaa28f;
  font-size: clamp(11px, .83vw, 14px);
  line-height: 1.26;
  transition: color .25s ease, transform .25s ease, text-shadow .25s ease;
}

.atlas-link::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 50%;
  width: 0;
  height: 1px;
  background: var(--realm-color);
  opacity: .28;
  transition: width .32s ease;
}

.atlas-node {
  position: relative;
  z-index: 1;
  width: 7px;
  height: 7px;
  display: block;
  border: 1px solid color-mix(in srgb, var(--realm-color) 72%, transparent);
  border-radius: 50%;
  background: #061014;
  box-shadow: 0 0 0 3px rgba(217, 171, 89, .025);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}

.atlas-link em {
  padding: 3px 5px;
  border: 1px solid color-mix(in srgb, var(--realm-color) 26%, transparent);
  color: color-mix(in srgb, var(--realm-color) 72%, #bfb49f);
  font: normal 5px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.atlas-link:hover,
.atlas-link:focus-visible,
.atlas-link.is-active {
  color: #f1dfbc;
  text-shadow: 0 0 18px rgba(226, 179, 93, .36);
  transform: translateX(5px);
}

.atlas-link:hover::after,
.atlas-link:focus-visible::after,
.atlas-link.is-active::after { width: 28px; }

.atlas-link:hover .atlas-node,
.atlas-link:focus-visible .atlas-node,
.atlas-link.is-active .atlas-node {
  background: var(--realm-color);
  box-shadow: 0 0 13px var(--realm-color), 0 0 0 4px color-mix(in srgb, var(--realm-color) 10%, transparent);
  transform: scale(1.18);
}

.atlas-heart {
  position: relative;
  width: min(35vw, 520px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
}

.atlas-heart::before {
  content: "";
  position: absolute;
  inset: -17%;
  border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--atlas-accent) 14%, transparent), transparent 57%);
  filter: blur(9px);
  animation: atlas-heartbeat 7s ease-in-out infinite;
}

.atlas-orbit {
  position: absolute;
  border: 1px solid rgba(223, 181, 102, .25);
  border-radius: 50%;
  pointer-events: none;
}

.atlas-orbit-outer {
  inset: 0;
  border-style: solid dashed solid dashed;
  box-shadow: 0 0 80px rgba(205, 153, 70, .08), inset 0 0 80px rgba(205, 153, 70, .05);
  animation: atlas-orbit 54s linear infinite;
}

.atlas-orbit-outer::before,
.atlas-orbit-outer::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 114%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 181, 97, .14), transparent);
  transform: translate(-50%, -50%);
}

.atlas-orbit-outer::after { transform: translate(-50%, -50%) rotate(90deg); }

.atlas-orbit-outer i {
  position: absolute;
  width: 6px;
  height: 6px;
  border: 1px solid #dbb266;
  border-radius: 50%;
  background: #081419;
  box-shadow: 0 0 12px #d4a350;
}

.atlas-orbit-outer i:nth-child(1) { left: 13%; top: 14%; }
.atlas-orbit-outer i:nth-child(2) { right: 9%; top: 28%; }
.atlas-orbit-outer i:nth-child(3) { left: 24%; bottom: 6%; }
.atlas-orbit-outer i:nth-child(4) { right: 15%; bottom: 16%; }

.atlas-orbit-middle {
  inset: 11%;
  border-color: rgba(223, 181, 102, .18);
  animation: atlas-orbit-reverse 37s linear infinite;
}

.atlas-orbit-middle::before,
.atlas-orbit-middle::after {
  content: "";
  position: absolute;
  inset: 8%;
  border: 1px solid rgba(223, 181, 102, .1);
  transform: rotate(45deg);
}

.atlas-orbit-middle::after { transform: rotate(22.5deg); }
.atlas-orbit-inner { inset: 21%; border-style: dotted; animation: atlas-orbit 23s linear infinite; }

.atlas-compass {
  position: relative;
  z-index: 3;
  width: 52%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12%;
  border: 1px solid color-mix(in srgb, var(--atlas-accent) 72%, transparent);
  border-radius: 50%;
  background:
    radial-gradient(circle, rgba(10, 31, 36, .94), rgba(3, 12, 15, .97) 65%),
    #061015;
  box-shadow: 0 0 0 7px color-mix(in srgb, var(--atlas-accent) 4%, transparent), 0 0 55px color-mix(in srgb, var(--atlas-accent) 18%, transparent), inset 0 0 55px rgba(224, 176, 87, .08);
  text-align: center;
  transition: border-color .3s ease, box-shadow .3s ease, transform .35s ease;
}

.atlas-compass:hover,
.atlas-compass:focus-visible {
  border-color: #eccd91;
  box-shadow: 0 0 0 9px rgba(220, 172, 84, .045), 0 0 70px rgba(212, 159, 73, .28), inset 0 0 55px rgba(224, 176, 87, .12);
  transform: scale(1.025);
}

.compass-points {
  position: absolute;
  inset: 7%;
  opacity: .32;
  background:
    linear-gradient(45deg, transparent 48.6%, #e5b863 49% 51%, transparent 51.4%),
    linear-gradient(-45deg, transparent 48.6%, #e5b863 49% 51%, transparent 51.4%);
  clip-path: polygon(50% 0, 57% 43%, 100% 50%, 57% 57%, 50% 100%, 43% 57%, 0 50%, 43% 43%);
  animation: compass-glint 6s ease-in-out infinite;
}

.atlas-focus-kind {
  position: relative;
  color: var(--atlas-accent);
  font: 6px/1.2 Arial, Helvetica, sans-serif;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.atlas-focus-name {
  position: relative;
  display: block;
  margin: 8px -23% 7px;
  color: #efdbb6;
  font-size: clamp(17px, 1.7vw, 26px);
  font-weight: 400;
  line-height: 1.03;
  text-wrap: balance;
}

.atlas-focus-description {
  position: relative;
  display: -webkit-box;
  overflow: hidden;
  color: #9d9583;
  font-size: clamp(8px, .66vw, 11px);
  line-height: 1.45;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.atlas-compass > em {
  position: absolute;
  bottom: -30px;
  color: #c9ae79;
  font: normal 6px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.atlas-guidance {
  position: absolute;
  bottom: 3%;
  margin: 0;
  color: #676457;
  font-size: 6px;
  letter-spacing: .18em;
}

.atlas-toast {
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: max-content;
  max-width: 90%;
  padding: 9px 12px;
  border: 1px solid rgba(223, 181, 102, .32);
  background: rgba(3, 11, 13, .92);
  color: #d7ba84;
  font-size: 6px;
  letter-spacing: .17em;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity .25s ease, transform .25s ease;
}

.atlas-toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

.lifetime-realm {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(220px, .68fr) minmax(0, 2.32fr);
  gap: clamp(24px, 4vw, 68px);
  align-items: end;
  padding-bottom: 16px;
}

.lifetime-realm::before { height: 100%; }
.lifetime-realm h2 { margin-bottom: 0; font-size: clamp(18px, 1.55vw, 24px); }
.lifetime-realm nav { grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(14px, 2vw, 36px); }
.lifetime-realm .atlas-link { font-size: clamp(9px, .72vw, 12px); }

.atlas-footer {
  min-height: 58px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(22px, 3.8vw, 66px);
  border-top: 1px solid rgba(222, 181, 104, .14);
  background: rgba(2, 8, 10, .5);
  color: #6f6b5d;
  font-size: 6px;
  letter-spacing: .18em;
}

.atlas-footer span { display: flex; align-items: center; gap: 9px; }
.atlas-footer i { width: 3px; height: 3px; border-radius: 50%; background: #b78c49; }
.atlas-footer strong { color: #bca77e; font-weight: 400; }

/* Shared world pages */
.world-page { background: #061014; }

.world-nav {
  position: relative;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(22px, 5vw, 84px);
  border-bottom: 1px solid rgba(228, 194, 127, .18);
  background: rgba(2, 9, 12, .62);
  backdrop-filter: blur(12px);
  gap: 24px;
}

.world-nav .brand {
  color: var(--bright-gold);
  font-size: clamp(19px, 2vw, 28px);
  letter-spacing: .08em;
}

.world-nav-links {
  display: flex;
  gap: 26px;
  margin-left: auto;
  font-family: Arial, Helvetica, sans-serif;
  color: #d7ccb4;
  font-size: 10px;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.world-atlas-trigger {
  flex: 0 0 auto;
  padding-left: 0;
}

.world-atlas-trigger .atlas-trigger-copy small { color: #817968; }

.world-nav-links a {
  padding: 10px 0;
  transition: color .2s ease;
}

.world-nav-links a:hover,
.world-nav-links a:focus-visible,
.world-nav-links a[aria-current="page"] { color: var(--bright-gold); }
.world-back { display: inline-flex; align-items: center; gap: 8px; }

.world-hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 80px clamp(26px, 7vw, 110px) 110px;
}

.world-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
}

.world-copy {
  position: relative;
  z-index: 4;
  max-width: 720px;
}

.world-eyebrow,
.section-heading > p,
.author-strip > div > p,
.ask-hypatia-panel > p {
  margin: 0 0 18px;
  color: var(--bright-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.world-copy h1 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(58px, 7.5vw, 118px);
  font-weight: 400;
  line-height: .88;
  letter-spacing: -.045em;
  text-wrap: balance;
}

.world-deck {
  max-width: 660px;
  margin: 30px 0 0;
  color: #d7cdb9;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.75;
}

.world-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, #d2a35b, #8b602c);
  color: #081014;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .28);
  transition: transform .2s ease, filter .2s ease;
}

.button.secondary { background: rgba(4, 11, 13, .5); color: #f3e7ce; }
.button:hover,
.button:focus-visible { transform: translateY(-2px); filter: brightness(1.12); }

.reader-section {
  position: relative;
  z-index: 8;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 120px clamp(24px, 6vw, 90px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(220px, .8fr);
  column-gap: 60px;
  align-items: end;
  margin-bottom: 55px;
}

.section-heading > p { grid-column: 1 / -1; }
.section-heading h2 {
  margin: 0;
  font-size: clamp(39px, 5.3vw, 74px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.section-heading > span {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.reader-accordions {
  border-top: 1px solid rgba(229, 191, 116, .26);
}

.reader-accordions details {
  border-bottom: 1px solid rgba(229, 191, 116, .2);
  background: rgba(4, 12, 15, .22);
  transition: background .3s ease;
}

.reader-accordions details[open] { background: rgba(197, 146, 67, .07); }

.reader-accordions summary {
  position: relative;
  min-height: 98px;
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: 20px;
  align-items: center;
  padding: 22px 26px;
  cursor: pointer;
  list-style: none;
}

.reader-accordions summary::-webkit-details-marker { display: none; }
.reader-accordions summary span {
  color: var(--gold);
  font: 10px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .16em;
}

.reader-accordions summary strong {
  font-size: clamp(21px, 2.2vw, 30px);
  font-weight: 400;
}

.reader-accordions summary::after {
  content: "+";
  color: var(--bright-gold);
  font: 28px/1 Arial, Helvetica, sans-serif;
}

.reader-accordions details[open] summary::after { content: "–"; }

.reader-accordions details > p {
  max-width: 900px;
  margin: 0;
  padding: 0 90px 36px 106px;
  color: #c7bdab;
  font-size: 17px;
  line-height: 1.75;
}

.visual-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, .8fr) minmax(0, 1.2fr);
  gap: clamp(48px, 8vw, 110px);
  align-items: center;
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 60px clamp(24px, 7vw, 105px) 130px;
}

.feature-image {
  position: relative;
  max-width: 520px;
  margin: auto;
  filter: drop-shadow(0 36px 45px rgba(0, 0, 0, .55));
}

.feature-image::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(229, 183, 96, .34);
  pointer-events: none;
}

.feature-image img { display: block; width: 100%; height: auto; }

.feature-copy h2,
.feature-copy blockquote,
.ask-hypatia-panel h2,
.etsuko-threshold h2 {
  margin: 0;
  font-size: clamp(40px, 5.5vw, 76px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
  text-wrap: balance;
}

.feature-copy > p:not(.world-eyebrow) {
  max-width: 650px;
  margin: 28px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.text-link {
  display: inline-block;
  margin-top: 30px;
  padding-bottom: 5px;
  border-bottom: 1px solid rgba(240, 208, 144, .5);
  color: var(--bright-gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.text-link:hover,
.text-link:focus-visible { border-color: var(--bright-gold); }

.author-strip {
  position: relative;
  z-index: 8;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 30px;
  align-items: center;
  max-width: 980px;
  margin: 40px auto 110px;
  padding: 26px 30px;
  border: 1px solid rgba(226, 187, 112, .2);
  background: rgba(3, 10, 12, .55);
}

.author-strip img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  object-position: center 28%;
  border-radius: 50%;
  filter: saturate(.72) contrast(1.05);
}

.author-strip > div > p { margin-bottom: 6px; }
.author-strip h2 { margin: 0 0 8px; font-size: 30px; font-weight: 400; }
.author-strip span { color: var(--muted); font-size: 15px; line-height: 1.65; }

.site-footer {
  position: relative;
  z-index: 8;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  padding: 26px clamp(24px, 5vw, 80px);
  border-top: 1px solid rgba(226, 187, 112, .15);
  color: #8f8777;
  font: 9px/1.5 Arial, Helvetica, sans-serif;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.site-footer a { color: #c8b68f; }

/* Wind Rose movement sample */
.wind-world {
  background: linear-gradient(145deg, #041014, #071c22 54%, #02080b);
}

.wind-hero { grid-template-columns: minmax(0, 1fr) minmax(310px, .6fr); }

.wind-hero .world-art-layer {
  position: absolute;
  z-index: -3;
  inset: -5%;
  background: url('../images/wind-rose-journey.png') center center / cover no-repeat;
  animation: hero-zoom 18s ease-in-out infinite alternate;
}

.wind-hero::after {
  background:
    linear-gradient(90deg, rgba(2, 10, 13, .96) 0%, rgba(2, 10, 13, .78) 38%, rgba(2, 10, 13, .26) 73%, rgba(2, 10, 13, .42) 100%),
    linear-gradient(0deg, #041014 0%, transparent 30%, transparent 76%, rgba(2, 9, 12, .5) 100%);
}

.constellation-flow {
  position: absolute;
  z-index: -1;
  inset: 0;
  opacity: .38;
  background:
    repeating-linear-gradient(12deg, transparent 0 58px, rgba(234, 185, 94, .12) 59px, transparent 61px),
    radial-gradient(ellipse at 66% 30%, rgba(245, 196, 103, .18), transparent 34%);
  mask-image: linear-gradient(90deg, transparent 24%, black 70%, transparent);
  animation: constellation-shift 14s linear infinite;
}

.compass-orbit {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: min(32vw, 430px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(235, 191, 109, .38);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(184, 129, 47, .2), inset 0 0 70px rgba(209, 160, 75, .08);
  animation: compass-turn 32s linear infinite;
}

.compass-orbit::before,
.compass-orbit::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(239, 204, 137, .16);
  border-radius: 50%;
}

.compass-orbit::before { width: 72%; aspect-ratio: 1; }
.compass-orbit::after { width: 44%; aspect-ratio: 1; }
.compass-orbit span { color: #e6b968; font-size: clamp(80px, 10vw, 150px); text-shadow: 0 0 35px rgba(236, 184, 89, .45); }

.wind-feature { padding-top: 40px; }
.cover-float { animation: cover-float 7s ease-in-out infinite; transform-origin: center; }

/* Hypatia movement sample */
.hypatia-world {
  background:
    radial-gradient(circle at 78% 12%, rgba(233, 166, 79, .16), transparent 30%),
    linear-gradient(140deg, #170d08, #2a190f 54%, #080604);
}

.hypatia-hero {
  grid-template-columns: minmax(0, 1.05fr) minmax(350px, .75fr);
  gap: clamp(40px, 7vw, 110px);
  max-width: 1500px;
  margin: auto;
}

.hypatia-hero::after {
  background:
    radial-gradient(circle at 74% 46%, rgba(242, 177, 84, .2), transparent 27%),
    linear-gradient(90deg, rgba(24, 13, 8, .2), transparent 55%);
}

.sun-disc {
  position: absolute;
  z-index: -2;
  right: 10%;
  top: 15%;
  width: min(44vw, 640px);
  aspect-ratio: 1;
  border: 1px solid rgba(238, 190, 105, .16);
  border-radius: 50%;
  box-shadow: 0 0 110px rgba(236, 154, 59, .14), inset 0 0 100px rgba(235, 154, 58, .08);
  animation: sun-pulse 8s ease-in-out infinite;
}

.motion-portrait {
  position: relative;
  z-index: 3;
  max-width: 590px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(234, 194, 121, .44);
  box-shadow: 0 38px 80px rgba(0, 0, 0, .48);
  animation: portrait-float 9s ease-in-out infinite;
}

.motion-portrait img { display: block; width: 100%; height: auto; transform: scale(1.035); }

.portrait-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 28%, rgba(255, 237, 199, .12) 48%, transparent 67%);
  transform: translateX(-120%);
  animation: portrait-sheen 9s ease-in-out infinite;
}

.experience-note {
  max-width: 620px;
  margin: 17px 0 0;
  color: #a69b88;
  font: 9px/1.6 Arial, Helvetica, sans-serif;
  letter-spacing: .04em;
}

.hypatia-feature { grid-template-columns: minmax(300px, .92fr) minmax(0, 1.08fr); }
.excerpt-drift { animation: excerpt-drift 10s ease-in-out infinite; }
.feature-copy blockquote { color: #f0dbb5; }

.ask-hypatia-panel {
  position: relative;
  z-index: 8;
  max-width: 1050px;
  margin: 10px auto 120px;
  padding: 80px clamp(30px, 8vw, 110px);
  overflow: hidden;
  border: 1px solid rgba(226, 187, 112, .26);
  background:
    radial-gradient(circle at 88% 30%, rgba(236, 175, 87, .18), transparent 31%),
    linear-gradient(135deg, rgba(8, 24, 29, .94), rgba(23, 13, 8, .97));
  text-align: center;
}

.ask-hypatia-panel::before {
  content: "Φ";
  position: absolute;
  right: 5%;
  top: 50%;
  color: rgba(226, 181, 98, .08);
  font-size: 250px;
  transform: translateY(-50%);
}

.ask-hypatia-panel > span {
  position: relative;
  display: block;
  max-width: 650px;
  margin: 24px auto 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.ask-hypatia-panel .button { position: relative; margin-top: 30px; }

/* Etsuko movement sample */
.etsuko-world {
  background: linear-gradient(140deg, #090a0f, #17131a 58%, #06070a);
}

.etsuko-hero { grid-template-columns: minmax(0, 1fr) minmax(280px, .55fr); }

.etsuko-art-layer {
  position: absolute;
  z-index: -3;
  inset: -8%;
  background: url('../images/lukman-doorways.jpg') 85% 67% / 340% auto no-repeat;
  filter: saturate(.82) brightness(.7);
  animation: etsuko-zoom 18s ease-in-out infinite alternate;
}

.etsuko-hero::after {
  background:
    linear-gradient(90deg, rgba(5, 7, 10, .97) 0%, rgba(8, 8, 12, .82) 43%, rgba(8, 7, 11, .26) 74%, rgba(6, 7, 10, .55) 100%),
    linear-gradient(0deg, #0b0a0e 0%, transparent 31%, transparent 78%, rgba(4, 5, 8, .6));
}

.mist-layer {
  position: absolute;
  z-index: -1;
  left: 35%;
  right: -20%;
  bottom: -12%;
  height: 48%;
  background: radial-gradient(ellipse, rgba(210, 207, 214, .15), transparent 63%);
  filter: blur(25px);
  animation: mist-drift 11s ease-in-out infinite alternate;
}

.torii-mark {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: min(31vw, 420px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(205, 103, 104, .36);
  border-radius: 50%;
  box-shadow: 0 0 90px rgba(170, 50, 55, .2), inset 0 0 80px rgba(212, 94, 81, .08);
  animation: torii-breathe 7s ease-in-out infinite;
}

.torii-mark span { color: #d98f7f; font-size: clamp(52px, 7vw, 92px); text-shadow: 0 0 40px rgba(193, 54, 58, .35); }

.coming-soon {
  display: inline-flex;
  margin-top: 25px;
  padding: 9px 12px;
  border: 1px solid rgba(217, 118, 106, .48);
  color: #dfa79a;
  font: 10px/1 Arial, Helvetica, sans-serif;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.etsuko-threshold {
  position: relative;
  z-index: 8;
  max-width: 1100px;
  margin: 10px auto 130px;
  padding: 100px clamp(28px, 8vw, 110px);
  overflow: hidden;
  border: 1px solid rgba(197, 99, 99, .2);
  background: linear-gradient(145deg, rgba(17, 14, 20, .95), rgba(5, 8, 11, .97));
  text-align: center;
}

.etsuko-threshold > p {
  color: #c88980;
  font-style: italic;
  font-size: 18px;
}

.threshold-moon {
  position: absolute;
  right: -80px;
  top: -110px;
  width: 330px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(239, 220, 207, .18), rgba(167, 80, 82, .06) 48%, transparent 70%);
  animation: moon-glow 8s ease-in-out infinite;
}

/* Motion */
@keyframes portal-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.012); }
}

@keyframes image-luminance {
  from { filter: brightness(.94) saturate(.94); }
  to { filter: brightness(1.04) saturate(1.06); }
}

@keyframes doorway-pulse {
  0%, 100% { opacity: .08; }
  50% { opacity: .38; }
}

@keyframes light-sweep {
  0%, 52% { transform: translateX(-100%); }
  75%, 100% { transform: translateX(100%); }
}

@keyframes stars-drift { to { background-position: 310px -270px; } }

@keyframes particle-rise {
  from { transform: translate3d(0, 0, 0); opacity: 0; }
  12% { opacity: 1; }
  82% { opacity: .55; }
  to { transform: translate3d(var(--drift, 30px), -115vh, 0); opacity: 0; }
}

@keyframes blossom-fall {
  from { transform: translate3d(0, -12vh, 0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  to { transform: translate3d(var(--drift, 80px), 115vh, 0) rotate(520deg); opacity: 0; }
}

@keyframes hero-zoom {
  from { transform: scale(1.03) translate3d(-1%, 0, 0); }
  to { transform: scale(1.11) translate3d(2%, -1%, 0); }
}

@keyframes constellation-shift { to { background-position: 320px 0, 0 0; } }
@keyframes compass-turn { to { transform: rotate(360deg); } }

@keyframes cover-float {
  0%, 100% { transform: translateY(0) rotate(-1deg); }
  50% { transform: translateY(-15px) rotate(1deg); }
}

@keyframes sun-pulse {
  0%, 100% { transform: scale(.97); opacity: .7; }
  50% { transform: scale(1.04); opacity: 1; }
}

@keyframes portrait-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes portrait-sheen {
  0%, 55% { transform: translateX(-120%); }
  78%, 100% { transform: translateX(120%); }
}

@keyframes excerpt-drift {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-10px) scale(1.015); }
}

@keyframes etsuko-zoom {
  from { transform: scale(1.04) translateX(-1%); }
  to { transform: scale(1.13) translateX(2%); }
}

@keyframes mist-drift {
  from { transform: translateX(-6%) scale(1); opacity: .5; }
  to { transform: translateX(8%) scale(1.12); opacity: .9; }
}

@keyframes torii-breathe {
  0%, 100% { transform: scale(.98); opacity: .8; }
  50% { transform: scale(1.035); opacity: 1; }
}

@keyframes moon-glow {
  0%, 100% { transform: scale(.95); opacity: .6; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes atlas-stars {
  to { background-position: 370px -310px; }
}

@keyframes atlas-orbit {
  to { transform: rotate(360deg); }
}

@keyframes atlas-orbit-reverse {
  to { transform: rotate(-360deg); }
}

@keyframes atlas-heartbeat {
  0%, 100% { opacity: .45; transform: scale(.96); }
  50% { opacity: 1; transform: scale(1.05); }
}

@keyframes compass-glint {
  0%, 100% { opacity: .2; filter: drop-shadow(0 0 0 rgba(229, 184, 99, 0)); }
  50% { opacity: .55; filter: drop-shadow(0 0 7px rgba(229, 184, 99, .4)); }
}

@media (max-width: 1180px) {
  .atlas-layout {
    grid-template-columns: minmax(205px, .88fr) minmax(310px, 1.18fr) minmax(220px, .94fr);
    gap: 22px;
    padding-inline: 30px;
  }

  .atlas-realm { padding-left: 17px; }
  .atlas-heart { width: min(36vw, 470px); }
  .lifetime-realm nav { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .atlas-link { font-size: 11px; }
}

@media (max-width: 1000px) {
  .wind-rose-feature { grid-template-columns: minmax(0, 1fr) minmax(250px, .55fr); }
  .hypatia-feature { grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr); }
  .universe-footer { grid-template-columns: 1fr 1fr; }
  .footer-signoff { grid-column: 1 / -1; grid-row: 2; }

  .world-hero,
  .wind-hero,
  .hypatia-hero,
  .etsuko-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 110px;
  }

  .compass-orbit,
  .torii-mark { width: min(62vw, 390px); margin: 70px auto 0; }
  .motion-portrait { max-width: 560px; margin: 70px auto 0; }
  .world-copy h1 { font-size: clamp(54px, 12vw, 96px); }
  .world-hero::after { background-color: rgba(2, 8, 11, .28); }
  .section-heading { grid-template-columns: 1fr; row-gap: 22px; }
  .visual-feature { grid-template-columns: 1fr; }
  .feature-copy { max-width: 720px; }
}

@media (max-width: 900px) {
  .portal-home { display: block; overflow: visible; }
  .threshold-screen { display: block; min-height: auto; }
  .portal-header { min-height: 68px; }
  .header-invitation { display: none; }
  .portal-stage,
  .portal-footer { display: none; }

  .atlas-trigger-copy small { display: none; }
  .atlas-trigger-copy strong { font-size: 8px; }

  .atlas-header {
    position: sticky;
    z-index: 20;
    top: 0;
    grid-template-columns: 1fr auto;
  }

  .atlas-header > p { display: none; }
  .atlas-layout {
    min-height: auto;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 34px 24px 55px;
  }

  .atlas-heart { order: -3; width: min(82vw, 510px); }
  .atlas-side-right { order: -2; }
  .atlas-side-left { order: -1; }
  .atlas-side,
  .atlas-realm { width: 100%; }
  .atlas-side { gap: 42px; }
  .atlas-realm { padding: 18px 0 0 22px; }
  .atlas-realm h2 { font-size: 25px; }
  .atlas-link { padding-block: 9px; font-size: 14px; }
  .atlas-link em { font-size: 6px; }
  .atlas-focus-name { font-size: clamp(21px, 5vw, 30px); }
  .atlas-focus-description { font-size: 11px; }
  .atlas-guidance { bottom: 1%; }
  .lifetime-realm { display: block; padding-bottom: 18px; }
  .lifetime-heading { margin-bottom: 18px; }
  .lifetime-realm nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 28px; }
  .lifetime-realm .atlas-link { font-size: 12px; }
  .atlas-footer { flex-direction: column; align-items: flex-start; }

  .mobile-worlds {
    position: relative;
    z-index: 4;
    display: grid;
    gap: 18px;
    padding: 46px 20px 60px;
    background:
      linear-gradient(rgba(2, 8, 11, .3), rgba(2, 8, 11, .95)),
      url('../images/lukman-doorways.jpg') center top / auto 390px no-repeat;
  }

  .reader-observatory { padding-inline: 20px; }
  .observatory-stage { gap: 22px; }
  .wind-rose-feature { min-height: 820px; grid-template-columns: 1fr; align-content: end; }
  .wind-feature-copy { align-self: end; padding-bottom: 58px; }
  .wind-book { position: absolute; right: 4%; top: 7%; width: min(190px, 30%); margin: 0; }
  .wind-dial { top: 22%; right: -6%; width: min(64vw, 500px); }
  .cosmic-shade { background: linear-gradient(0deg, rgba(2, 7, 10, .96) 0%, rgba(2, 7, 10, .54) 58%, rgba(2, 7, 10, .08)); }
  .hypatia-feature { grid-template-columns: 1fr; }
  .hypatia-image { min-height: 590px; }
  .hypatia-image::after { background: linear-gradient(0deg, #0d1013, transparent 45%); }
  .hypatia-orbits { left: 62%; width: min(72vw, 470px); }
  .discovery-rail { grid-template-columns: 1fr; }
  .discovery-rail a { min-height: 170px; border-right: 0; border-bottom: 1px solid rgba(222, 175, 89, .2); }
  .discovery-rail a:last-child { border-bottom: 0; }

  .mobile-intro { padding: 32px 6px 38px; }
  .mobile-intro > span { color: var(--bright-gold); font: 10px/1 Arial, Helvetica, sans-serif; letter-spacing: .24em; }
  .mobile-intro h1 { margin: 12px 0 5px; font-size: clamp(42px, 12vw, 70px); font-weight: 400; line-height: .95; }
  .mobile-intro p { color: #bdb39e; }

  .mobile-world-card {
    min-height: 280px;
    display: grid;
    grid-template-columns: 42% 58%;
    overflow: hidden;
    border: 1px solid rgba(225, 184, 106, .36);
    background: #071014;
    box-shadow: 0 18px 50px rgba(0, 0, 0, .4);
  }

  .mobile-world-card:focus-visible { outline: 2px solid var(--bright-gold); outline-offset: 3px; }
  .mobile-card-art { min-width: 0; background-image: url('../images/lukman-doorways.jpg'); background-size: auto 370px; background-repeat: no-repeat; }
  .mobile-world-card.wind-rose .mobile-card-art { background-position: 30% 68%; }
  .mobile-world-card.hypatia .mobile-card-art { background-position: 50% 68%; }
  .mobile-world-card.etsuko .mobile-card-art { background-position: 70% 68%; }
  .mobile-card-copy { display: flex; flex-direction: column; justify-content: center; min-width: 0; padding: 25px; }
  .mobile-card-copy small { color: #aa9e88; font: 9px/1.5 Arial, Helvetica, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
  .mobile-card-copy strong { margin: 13px 0 28px; color: #f0dfbd; font-size: clamp(23px, 6vw, 34px); font-weight: 400; line-height: 1.06; }
  .mobile-card-copy em { color: var(--bright-gold); font: normal 10px/1 Arial, Helvetica, sans-serif; letter-spacing: .14em; text-transform: uppercase; }

  .world-nav-links a:not(.world-back) { display: none; }
  .world-atlas-trigger .atlas-trigger-copy small { display: none; }
  .reader-accordions details > p { padding-left: 28px; padding-right: 66px; }
  .author-strip { margin-left: 24px; margin-right: 24px; }
}

@media (max-width: 600px) {
  .portal-header { justify-content: space-between; gap: 12px; padding-inline: 16px; font-size: 7px; line-height: 1.6; text-align: left; }
  .portal-header p span { margin: 0 .18rem; }
  .atlas-trigger { flex: 0 0 auto; gap: 8px; padding-left: 0; }
  .atlas-trigger-compass { width: 30px; height: 30px; }
  .atlas-trigger-copy strong { max-width: 54px; font-size: 7px; line-height: 1.35; }
  .atlas-header { min-height: 68px; padding-inline: 17px; }
  .atlas-brand small { font-size: 6px; }
  .atlas-brand strong { font-size: 18px; }
  .atlas-close span { display: none; }
  .atlas-close { padding-left: 4px; }
  .atlas-layout { padding-inline: 18px; }
  .atlas-heart { width: min(92vw, 430px); }
  .atlas-compass { width: 56%; }
  .atlas-focus-name { margin-inline: -30%; font-size: clamp(18px, 6vw, 27px); }
  .atlas-focus-description { font-size: 9px; }
  .atlas-guidance { width: 76%; text-align: center; line-height: 1.6; }
  .atlas-realm { padding-left: 18px; }
  .lifetime-realm nav { grid-template-columns: 1fr; }
  .atlas-footer span { flex-wrap: wrap; line-height: 1.6; }
  .mobile-world-card { grid-template-columns: 1fr; }
  .mobile-card-art { min-height: 220px; background-size: auto 430px; }
  .mobile-card-copy { min-height: 210px; }

  .reader-observatory { padding: 100px 12px 75px; }
  .observatory-heading { margin-bottom: 55px; padding-inline: 8px; }
  .observatory-heading h2 { font-size: clamp(44px, 13vw, 67px); }
  .wind-rose-feature,.hypatia-feature { box-shadow: inset 0 0 0 5px rgba(2,8,11,.88), inset 0 0 0 6px rgba(224,178,93,.1); }
  .wind-rose-feature { min-height: 750px; }
  .wind-feature-copy,.hypatia-feature-copy { padding: 38px 25px; }
  .wind-feature-copy h3,.hypatia-feature-copy h3 { font-size: clamp(47px, 14vw, 70px); }
  .wind-feature-copy > p:not(.feature-number) { font-size: 16px; }
  .wind-book { top: 8%; right: 5%; width: 35%; }
  .wind-dial { width: 95vw; right: -38%; top: 24%; }
  .feature-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hypatia-image { min-height: 460px; }
  .hypatia-feature-copy { margin-top: -55px; }
  .question-orbit { display: grid; }
  .discovery-rail a { padding: 30px 25px; }
  .universe-footer { grid-template-columns: 1fr; justify-items: center; text-align: center; padding-block: 48px; }
  .footer-brand,.social-worlds { justify-self: center; }
  .footer-signoff { grid-column: auto; grid-row: auto; }
  .social-worlds { flex-direction: column; align-items: flex-start; }

  .world-nav .brand { font-size: 18px; }
  .world-nav-links { gap: 0; }
  .world-atlas-trigger .atlas-trigger-copy strong { max-width: 52px; }
  .world-hero { padding: 90px 24px 90px; }
  .world-copy h1 { font-size: clamp(48px, 16vw, 75px); }
  .world-actions .button { width: 100%; }
  .reader-section { padding-top: 90px; padding-bottom: 90px; }
  .reader-accordions summary { grid-template-columns: 42px 1fr auto; gap: 10px; padding-inline: 15px; }
  .reader-accordions details > p { padding: 0 20px 30px 67px; font-size: 15px; }
  .visual-feature { padding-bottom: 100px; }
  .author-strip { grid-template-columns: 82px 1fr; gap: 18px; padding: 20px; }
  .author-strip img { width: 82px; height: 82px; }
  .author-strip h2 { font-size: 25px; }
  .author-strip span { font-size: 13px; }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
